1 2012-06-03 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el (authors-aliases): Addition.
5 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8 2012-06-03 Stefan Merten <smerten@oekonux.de>
10 * textmodes/rst.el: Add comments.
11 (rst-transition, rst-adornment): New faces.
12 (rst-adornment-faces-alist): Make default safe to reevaluate.
14 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
15 Improve customization tags.
16 (rst-define-level-faces): Clarify meaning.
18 2012-06-03 Chong Yidong <cyd@gnu.org>
20 * progmodes/compile.el (compilation-mode-line-fail)
21 (compilation-mode-line-run, compilation-mode-line-exit): New
23 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
25 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
27 * progmodes/which-func.el (which-func-update-ediff-windows): New
28 function. Use it in ediff-select-hook (Bug#11478).
30 2012-06-03 Chong Yidong <cyd@gnu.org>
32 * bindings.el: Remove explicit help text from format-mode-line.
33 It is now supplied by mode-line-default-help-echo.
34 (mode-line-front-space, mode-line-end-spaces)
35 (mode-line-misc-info): New variables.
36 (mode-line-modes, mode-line-position): Move the default value to
37 the variable definition.
38 (mode-line-default-help-echo): New defcustom.
39 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
40 (mode-line-modified-help-echo): New functions.
41 (mode-line-mule-info, mode-line-modified): Use them.
42 (mode-line-eol-desc, propertized-buffer-identification):
43 Consistency fixes for help text.
44 (mode-line-coding-system-map): Allow using mouse-3 to invoke
45 set-buffer-file-coding-system (Bug#289).
46 (mode-line-mule-info-help-echo): Update help text.
48 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
50 * simple.el (execute-extended-command): Set real-this-command
53 2012-06-02 Chong Yidong <cyd@gnu.org>
55 Remove incorrect uses of "modeline" in comments, docstrings, and
56 function/variable names (Bug#10329).
58 * cus-edit.el (mode-line):
59 * dframe.el (dframe-mouse-hscroll):
60 * emacs-lisp/re-builder.el:
61 * emacs-lisp/easy-mmode.el (define-minor-mode):
62 * frame.el (set-frame-name):
63 * help.el (lookup-minor-mode-from-indicator):
64 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
65 * progmodes/cc-cmds.el (c-toggle-auto-newline)
66 (c-toggle-hungry-state):
67 * progmodes/antlr-mode.el (antlr-language-alist):
68 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
69 * progmodes/vhdl-mode.el (vhdl-mode):
70 * progmodes/which-func.el (which-func, which-func-cleanup-function):
71 * term/ns-win.el (ns-face-at-pos):
72 * term/sup-mouse.el (sup-mouse-report):
73 * textmodes/flyspell.el (flyspell-mode-line-string):
74 * textmodes/ispell.el (ispell-highlight-face):
75 * textmodes/reftex-global.el:
76 * vc/vc-arch.el (vc-arch-mode-line-string):
77 * vc/vc-cvs.el (vc-cvs-mode-line-string):
78 * vc/vc-git.el (vc-git-mode-line-string):
79 * vc/vc-hooks.el (vc-display-status)
80 (vc-default-mode-line-string):
81 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
83 * ansi-color.el (ansi-color-faces-vector): Change default faces.
85 * dired.el (dired-sort-set-mode-line): Rename from
86 dired-sort-set-modeline. All callers changed.
88 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
89 eshell-status-in-modeline.
91 * foldout.el (foldout-mode-line-string): Rename from
92 foldout-modeline-string. All callers changed.
93 (foldout-update-mode-line): Rename from foldout-update-modeline.
95 * subr.el (redraw-modeline): Make into obsolete alias.
97 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
98 timeclock-modeline-display. Make old name an alias.
99 (timeclock-update-mode-line): Likewise. All callers changed.
100 (timeclock-mode-line-display): No need to check before using
102 (timeclock-relative, timeclock-day-over-hook)
103 (timeclock-use-elapsed, timeclock-mode-string)
104 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
106 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
107 crisp-mode-modeline-string.
109 * play/solitaire.el (solitaire-build-mode-line): Rename from
110 solitaire-build-modeline. All callers changed.
112 * play/zone.el (zone-hiding-mode-line): Rename from
113 zone-hiding-modeline. All callers changed.
114 (zone): Remove unusued `modeline-hidden-level' property.
116 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
117 xscheme-modeline-initialize. All callers changed.
119 * strokes.el (strokes-lighter): Rename from
120 strokes-modeline-string.
122 * textmodes/sgml-mode.el (html-face-tag-alist)
123 (html-tag-face-alist): Use mode-line face instead of obsolete
126 2012-06-02 Stefan Merten <smerten@oekonux.de>
128 * textmodes/rst.el: Always require `cl'.
129 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
131 2012-06-02 Chong Yidong <cyd@gnu.org>
133 * image.el (imagemagick-enabled-types): Rename from
134 imagemagick-types-enable. Add many more types.
135 (imagemagick-types-inhibit): Change default to nil.
136 (imagemagick-filter-types): Caller changed.
138 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
140 * emacs-lisp/cl-macs.el: Use backquotes.
141 (cl-transform-function-property): Use eval-and-compile rather than
143 (defstruct): Use declare-function instead of with-no-warnings.
145 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
146 (byte-compile-output-docform): Re-add the print-circle bindings.
147 (byte-compile-fix-header): Use #$ just because it's shorter.
148 (byte-compile-output-file-form): Remove defun/defmacro.
150 2012-06-01 Martin Rudalics <rudalics@gmx.at>
152 * simple.el (choose-completion): Remove now obsolete binding for
155 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
157 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
158 in order to avoid "Stack overflow in regexp matcher".
160 2012-05-31 Glenn Morris <rgm@gnu.org>
162 * image.el: For clarity, call imagemagick-register-types at
163 top-level, rather than relying on a custom :initialize.
164 (imagemagick-types-enable): New option. (Bug#11557)
165 (imagemagick-filter-types): New function. (Bug#7406)
166 (imagemagick-register-types): Use imagemagick-filter-types.
167 If disabling support, remove elements altogether rather
168 than using an impossible regexp.
169 (imagemagick-types-inhibit): Give it the default init function.
171 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
173 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
174 Handle arbitrary file name lengths (Bug#11585).
176 2012-05-31 Martin Rudalics <rudalics@gmx.at>
178 * desktop.el (desktop-read): Clear previous and next buffers for
179 all windows and bury *Messages* buffer (bug#11556).
181 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
183 Add `declare' for `defun'. Align `defmacro's with it.
184 * emacs-lisp/easy-mmode.el (define-minor-mode)
185 (define-globalized-minor-mode): Don't autoload the var definitions.
186 * emacs-lisp/byte-run.el: Use lexical-binding.
187 (defun-declarations-alist, macro-declarations-alist): New vars.
188 (defmacro, defun): Use them.
189 (make-obsolete, define-obsolete-function-alias)
190 (make-obsolete-variable, define-obsolete-variable-alias):
192 (macro-declaration-function): Mark obsolete.
193 * emacs-lisp/autoload.el: Use lexical-binding.
194 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
196 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
198 * textmodes/ispell.el (ispell-with-no-warnings):
200 (ispell-kill-ispell, ispell-change-dictionary):
201 Use `called-interactively-p' for Emacs instead of obsolete
204 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
206 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
207 (macro-declaration-function): Move var from C code.
208 (macro-declaration-function): Define function with defalias.
209 * emacs-lisp/macroexp.el (macroexpand-all-1):
210 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
211 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
212 defun/defmacro any more.
213 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
214 Provide fallback for unknown arglist.
215 (byte-compile-arglist-warn): Change calling convention.
216 (byte-compile-output-file-form): Move print-vars binding.
217 (byte-compile-output-docform): Simplify accordingly.
218 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
219 (byte-compile-defmacro-declaration): Remove.
220 (byte-compile-file-form-defmumble): Generalize to defalias.
221 (byte-compile-output-as-comment): Return byte-positions.
222 Simplify callers accordingly.
223 (byte-compile-lambda): Use `assert'.
224 (byte-compile-defun, byte-compile-defmacro): Remove.
225 (byte-compile-file-form-defalias):
226 Use byte-compile-file-form-defmumble.
227 (byte-compile-defalias-warn): Remove.
229 2012-05-29 Stefan Merten <smerten@oekonux.de>
231 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
232 possible. Fix authors. Improve comments. Improve loading of `cl'.
234 (rst-mode-abbrev-table): Merge definition.
235 (rst-mode): Make sure `font-lock-defaults' is buffer local.
236 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
238 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
240 * calendar/icalendar.el
241 (icalendar-export-region): Export UID properly.
243 2012-05-29 Leo <sdl.web@gmail.com>
244 * calendar/icalendar.el (icalendar-import-format):
245 Add `icalendar-import-format-uid' (Bug#11525).
246 (icalendar-import-format-uid): New.
247 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
250 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
252 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
253 different alternative patterns.
254 (pcase-codegen): Be more careful to preserve identity.
255 (pcase--u1): Don't forget to mark vars as used.
257 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
258 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
259 (byte-compile-from-buffer): ...rather than here.
261 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
262 functions from byte-compile-function-environment.
264 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
266 * window.el (window-deletable-p): Avoid deleting the root window
267 of a frame with an active minibuffer.
269 2012-05-29 Martin Rudalics <rudalics@gmx.at>
271 * simple.el (choose-completion): Use quit-window (Bug#11567).
273 2012-05-29 Chong Yidong <cyd@gnu.org>
275 * whitespace.el (whitespace-cleanup): Fix usage of
276 whitespace-empty-at-bob-regexp (Bug#11492).
278 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
280 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
283 2012-05-29 Juri Linkov <juri@jurta.org>
285 * isearch.el (isearch-mode-map): Bind `M-s _' to
286 `isearch-toggle-symbol'. Bind `M-s c' to
287 `isearch-toggle-case-fold'.
288 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
289 (isearch-forward): Add `M-s _' to the docstring.
290 (isearch-forward-symbol, isearch-toggle-case-fold)
291 (isearch-symbol-regexp): New functions. (Bug#11381)
293 2012-05-29 Juri Linkov <juri@jurta.org>
295 * isearch.el (isearch-word): Add docstring. (Bug#11381)
296 (isearch-occur, isearch-search-and-update): If `isearch-word' is
297 a function, call it to get the regexp.
298 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
299 property `isearch-message-prefix' instead of the string "word ".
300 (isearch-search-fun-default): For the case of `isearch-word',
301 return a lambda that calls re-search-forward/re-search-backward
302 with a regexp returned by `word-search-regexp' or by the function
305 2012-05-29 Juri Linkov <juri@jurta.org>
307 * isearch.el (isearch-search-fun-default): New function.
308 (isearch-search-fun): Move default part to the new function
309 `isearch-search-fun-default'.
310 (isearch-search-fun-function): Set the default value to
311 `isearch-search-fun-default'. (Bug#11381)
313 * comint.el (comint-history-isearch-end):
314 Use `isearch-search-fun-default'.
315 (comint-history-isearch-search): Use `isearch-search-fun-default'
316 and remove spacial case for `isearch-word'.
317 (comint-history-isearch-wrap): Remove spacial case for
320 * hexl.el (hexl-isearch-search-function):
321 Use `isearch-search-fun-default'.
323 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
324 Use `word-search-regexp' for `isearch-word'.
326 * misearch.el (multi-isearch-search-fun):
327 Use `isearch-search-fun-default'.
329 * simple.el (minibuffer-history-isearch-search):
330 Use `isearch-search-fun-default' and remove spacial case for
332 (minibuffer-history-isearch-wrap): Remove spacial case for
335 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
336 Remove spacial case for `isearch-word'.
337 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
339 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
341 Decrease XEmacs incompatibilities.
342 * textmodes/flyspell.el (flyspell-check-pre-word-p):
344 (flyspell-delete-region-overlays): Use alternative definition for
346 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
347 (flyspell-word): Use `process-kill-without-query' if XEmacs.
348 (flyspell-mode-on): Use `interactive-p' if XEmacs.
349 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
350 `define-obsolete-face-alias' under XEmacs, but old method.
352 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
353 `with-no-warnings' definition or Emacs alias.
354 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
355 (ispell-word): Do not use `region-p' if XEmacs.
357 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
359 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
360 Check for `ispell-dictionary-base-alist' instead of full
361 `ispell-dictionary-alist'.
362 (ispell-init-process): Show spellchecker when starting new Ispell
365 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
367 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
368 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
370 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
372 * version.el (motif-version-string, gtk-version-string)
373 (ns-version-string): Declare.
375 2012-05-27 Juri Linkov <juri@jurta.org>
377 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
378 after the `eval-defun-1' specialcaseing
379 like in `edebug-eval-defun' (bug#10181).
381 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
382 like in `eval-defun-1'.
384 2012-05-27 Eli Zaretskii <eliz@gnu.org>
386 * mail/sendmail.el (mail-yank-region):
387 Recognize rmail-yank-current-message in addition to insert-buffer.
388 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
389 a *mail* buffer created through rmail-start-mail with sendmail as
392 2012-05-27 Chong Yidong <cyd@gnu.org>
394 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
395 Default to 256 (Bug#11267).
397 * help.el (describe-mode): Doc fix.
399 2012-05-26 Glenn Morris <rgm@gnu.org>
401 * w32-fns.el (w32-init-info): Remove.
402 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
404 * info.el (info-initialize): For self-contained NS builds, put the
405 included info/ directory at the front. (Bug#2791)
407 * paths.el (Info-default-directory-list): Make it a defcustom,
408 mainly so that we can use custom-initialize-delay.
410 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
412 * subr.el (buffer-has-markers-at): Mark obsolete.
414 * subr.el (lambda): Use declare.
416 * emacs-lisp/lisp-mode.el (lambda):
417 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
419 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
421 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
423 2012-05-26 Glenn Morris <rgm@gnu.org>
425 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
427 2012-05-25 Glenn Morris <rgm@gnu.org>
429 * paths.el: Remove no-byte-compile.
430 * loadup.el: No need to load paths.el uncompiled.
432 * image.el (imagemagick-types-inhibit): Doc fix.
434 * version.el: Remove no-byte-compile and associated formatting.
435 * loadup.el: No need to load version.el uncompiled. AFAICS, this
436 is ancient code from when there was an "inc-vers.el".
438 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
440 * progmodes/gdb-mi.el: Minor style changes.
441 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
442 Turn into minor modes.
443 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
444 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
445 (gdb-shell): Remove unneeded let-binding.
446 (gdb-get-many-fields): Eliminate O(n²) behavior.
448 2012-05-25 Eli Zaretskii <eliz@gnu.org>
450 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
451 platforms that don't link in fontset.c.
453 2012-05-25 Juri Linkov <juri@jurta.org>
455 Use the same diff color scheme as in modern VCSes (bug#10181).
457 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
458 to avoid confusion with `diff-added' that now uses green colors.
459 (diff-removed): Use shades of red.
460 (diff-added): Use shades of green.
461 (diff-changed): Leave just the yellow color.
462 (diff-use-changed-face): New variable.
463 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
464 how to highlight context diff changes.
465 (diff-refine-change): Use shades of yellow.
466 (diff-refine-removed): New face that uses shades of red.
467 (diff-refine-added): New face that uses shades of green.
468 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
469 `diff-refine-removed' in the call to `smerge-refine-subst'
470 depending on the value of `diff-use-changed-face'.
472 * vc/smerge-mode.el (smerge-mine): Use shades of red.
473 (smerge-other): Use shades of green.
474 (smerge-base): Use shades of yellow.
475 (smerge-refined-change): Empty face.
476 (smerge-refined-removed): New face that uses shades of red.
477 (smerge-refined-added): New face that uses shades of green.
478 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
479 args `props-r' and `props-a', and use them. Doc fix.
480 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
481 on its value use different faces `smerge-refined-change',
482 `smerge-refined-removed', `smerge-refined-added' in the call to
483 `smerge-refine-subst'.
485 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
486 Add face condition `min-colors 88' with shades of red.
487 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
488 `min-colors 88' with shades of green.
489 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
490 `min-colors 88' with shades of yellow.
492 2012-05-24 Glenn Morris <rgm@gnu.org>
494 * paths.el (prune-directory-list, remote-shell-program): Move to...
495 * files.el (prune-directory-list, remote-shell-program): ...here.
496 For the latter, delay initialization, prefer ssh, just search PATH.
498 * paths.el (term-file-prefix): Move to faces.el (the only user).
499 * faces.el (term-file-prefix): Move here, make it a defcustom.
501 * paths.el (news-directory, news-path, news-inews-program):
502 Move to gnus/nnspool.el.
504 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
506 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
507 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
508 Make the latter a defcustom, with a delayed initialization.
510 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
511 These were deleted from Gnus itself late 2010.
513 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
515 * progmodes/which-func.el (which-func-ff-hook):
516 Check against user-error, not error.
518 * emacs-lisp/edebug.el (top): Do not load or set up loading of
519 cl-specs.el, which no longer exists.
521 2012-05-22 Glenn Morris <rgm@gnu.org>
523 * info.el (info-emacs-bug): New command.
524 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
525 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
527 2012-05-21 Glenn Morris <rgm@gnu.org>
529 * makefile.w32-in (update-subdirs-SH):
530 * Makefile.in (update-subdirs): Update for moved update-subdirs.
532 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
534 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
536 * progmodes/compile.el (compilation-error-regexp-alist-alist):
537 Simplify Maven regexp, and make sure the file can't start with a space
540 2012-05-21 Glenn Morris <rgm@gnu.org>
542 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
543 Scrap superfluous subshells.
545 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
547 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
548 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
550 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
552 * calc/calc.el (calc-ensure-consistent-units): New variable.
554 * calc/calc-units.el (math-consistent-units-p)
555 (math-check-unit-consistency): New functions.
556 (calc-quick-units, calc-convert-units):
557 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
559 (calc-extract-units): Fix typo.
561 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
563 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
565 * textmodes/flyspell.el: Commenting style, plus code simplifications.
566 (flyspell-default-deplacement-commands): Don't spell check after
567 repeated window/frame switches (e.g. triggered by mouse-movement).
568 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
569 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
570 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
571 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
573 (flyspell-get-casechars, flyspell-get-not-casechars):
574 Simplify; Don't bother removing a ] just to add it back.
575 * textmodes/ispell.el (ispell-program-name): Use executable-find.
577 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
579 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
581 (math-function-table): Add support for more C functions.
583 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
585 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
586 (flyspell-debug-signal-word-checked): Protect delay handling for
587 otherchars against empty otherchars.
589 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
591 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
592 their respective macro declarations.
593 * skeleton.el (define-skeleton):
594 * progmodes/compile.el (define-compilation-mode):
595 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
596 (define-ibuffer-filter):
597 * emacs-lisp/generic.el (define-generic-mode):
598 * emacs-lisp/easy-mmode.el (define-minor-mode)
599 (define-globalized-minor-mode):
600 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
601 * emacs-lisp/byte-run.el (defsubst):
602 * custom.el (deftheme): Add doc-string metadata.
604 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
606 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
608 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
610 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
612 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
613 * emacs-lisp/cl-macs.el: Idem.
614 * emacs-lisp/cl-specs.el: Remove.
616 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
618 Minor renaming of internal CL functions and variables.
619 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
620 (cl--position): Rename from cl-position.
621 (cl--delete-duplicates): Rename from cl-delete-duplicates.
622 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
623 (cl--random-state): Rename from *random-state*.
625 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
627 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
628 parens around the arg list (bug#11499).
630 2012-05-17 Juri Linkov <juri@jurta.org>
632 * isearch.el (word-search-regexp, word-search-backward)
633 (word-search-forward, word-search-backward-lax)
634 (word-search-forward-lax): Move functions from search.c
635 (bug#10145, bug#11381).
637 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
639 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
640 (flyspell-debug-signal-word-checked): Delay for otherchars as for
641 normal word components.
643 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
645 * minibuffer.el (completion--sifn-requote): Fix last change.
646 (minibuffer-local-must-match-filename-map):
647 Move define-obsolete-variable-alias before its var.
649 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
653 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
655 (completion--string-equal-p): New function.
656 (completion--twq-all): Use it to get better assertion failure data.
658 Only handle ".." and '..' quoting in shell-mode (bug#11466).
659 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
660 (shell--requote-argument): New functions.
661 (shell-completion-vars): Use them.
662 (shell--parse-pcomplete-arguments): Rename from
663 shell-parse-pcomplete-arguments.
664 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
665 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
666 Obey comint-file-name-quote-list.
668 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
669 (smie-indent-keyword): Use it.
671 2012-05-14 Stefan Merten <smerten@oekonux.de>
673 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
675 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
677 * net/rlogin.el (rlogin-mode-map): Fix last change.
679 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
681 * mail/smtpmail.el (smtpmail-send-command): Send the command and
682 the following \r\n using a single `process-send-string', since the
683 Lotus SMTP server refuses to accept any commands if they are sent
684 with two `process-send-string's (Bug#11444).
686 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
688 * shell.el (shell-parse-pcomplete-arguments):
689 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
691 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
693 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
694 (image-transform-scale, image-transform-right-angle-fudge): New vars.
695 (image-transform-width, image-transform-fit-width): New functions.
696 (image-transform-properties): Use them.
697 (image-transform-check-size): New function.
698 (image-toggle-display-image): Use it (for testing).
699 (image-transform-set-rotation): Reduce angle mod 360.
700 Delete obsolete comment.
702 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
704 * image-mode.el: Fix scaling (bug#11399).
705 (image-transform-resize): Doc fix.
706 (image-transform-properties): Default scale is 1 and height should
709 2012-05-13 Johan Bockgård <bojohan@gnu.org>
711 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
712 than hard-coding `car', to fix misbehavior when moving forward.
714 2012-05-13 Chong Yidong <cyd@gnu.org>
716 * emacs-lisp/tabulated-list.el (tabulated-list-format)
717 (tabulated-list-entries, tabulated-list-padding)
718 (tabulated-list-sort-key): Make permanent-local.
720 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
721 (electric-buffer-list): Put electric buffer menu
722 command descriptions in this docstring, instead of the docstring
723 of electric-buffer-menu-mode. Code cleanups.
724 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
725 Electric-buffer-menu-mode.
726 (electric-buffer-update-highlight): Minor code cleanup.
728 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
730 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
733 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
735 Move define-obsolete-variable-alias before the var's definition.
736 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
737 * tooltip.el (tooltip-hook):
738 * textmodes/reftex-toc.el (reftex-toc-map):
739 * textmodes/reftex-sel.el (reftex-select-label-map)
740 (reftex-select-bib-map):
741 * textmodes/reftex-index.el (reftex-index-map)
742 (reftex-index-phrases-map):
743 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
744 * progmodes/meta-mode.el (meta-mode-map):
745 * novice.el (disabled-command-hook):
746 * loadhist.el (unload-hook-features-list):
747 * frame.el (blink-cursor):
748 * files.el (find-file-not-found-hooks, write-file-hooks)
749 (write-contents-hooks):
750 * emulation/tpu-edt.el (GOLD-map):
751 * emacs-lock.el (emacs-lock-from-exiting):
752 * emacs-lisp/generic.el (generic-font-lock-defaults):
753 * emacs-lisp/chart.el (chart-map):
754 * dos-fns.el (register-name-alist):
755 * dired-x.el (dired-omit-files-p):
756 * desktop.el (desktop-enable):
757 * cus-edit.el (custom-mode-hook):
758 * buff-menu.el (buffer-menu-mode-hook):
759 * bookmark.el (bookmark-read-annotation-text-func)
760 (bookmark-exit-hooks):
761 * allout.el (allout-mode-deactivate-hook)
762 (allout-exposure-change-hook, allout-structure-added-hook)
763 (allout-structure-deleted-hook, allout-structure-shifted-hook):
764 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
765 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
766 comes before the corresponding variable's definition.
768 2012-05-12 Chong Yidong <cyd@gnu.org>
770 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
771 (Buffer-menu-mouse-select): Restore function (Bug#11459).
772 (Buffer-menu-mode-map): Bind it.
773 (Buffer-menu--pretty-name): Add a mouse-face property.
775 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
777 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
778 (prolog-upper-case-string, prolog-lower-case-string)
779 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
780 (prolog-use-smie, prolog-smie-grammar): New vars.
781 (prolog-smie-forward-token, prolog-smie-backward-token)
782 (prolog-smie-rules): New funs.
783 (prolog-comment-indent): Remove.
784 (prolog-mode-variables): Use default comment indentation instead.
786 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
787 (prolog-mode): Don't call them any more.
788 (prolog-electric-colon, prolog-electric-dash)
789 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
791 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
793 * minibuffer.el (completion--twq-all): Again, allow case differences.
795 * term.el: Move keymap initialization code to be more idiomatic.
796 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
797 (term-terminal-menu): Move initialization into declaration.
798 (term-escape-char): Let the user set it in her .emacs.
800 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
801 Provide SMIE-based indentation (not enabled by default yet).
802 (sh-mode-map): Don't bind electric keys.
803 Use electric-pair-mode instead of skeleton-pair.
804 (sh-assignment-regexp): Fit within 80 columns.
805 (sh-indent-supported): Specify actual shell name instead of boolean.
806 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
807 (sh-maybe-here-document): Use it. Make obsolete.
808 (sh-electric-here-document-mode) New minor mode.
809 (sh-mode): Use it. Don't set sh-indent-supported-here here.
810 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
811 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
812 (sh-smie-rc-grammar, sh-use-smie): New vars.
813 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
814 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
815 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
816 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
817 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
818 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
819 (sh-set-shell): Use smie-setup if requested.
821 * term.el (term-set-escape-char): Properly set term-escape-char.
822 See http://stackoverflow.com/questions/10524656.
824 2012-05-10 Chong Yidong <cyd@gnu.org>
826 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
827 Use url-generic-parse-url, and handle host names and Windows
829 (ffap-url-unwrap-remote): Use url-generic-parse-url.
830 (ffap-url-unwrap-remote): Accept list values, specifying a list of
831 URL schemes to work on.
832 (ffap--toggle-read-only): New function.
833 (ffap-read-only, ffap-read-only-other-window)
834 (ffap-read-only-other-frame): Use it.
835 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
836 necessary for ffap-url-unwrap-remote.
838 2012-05-10 Dave Abrahams <dave@boostpro.com>
840 * cus-start.el (create-lockfiles): Add it.
842 2012-05-09 Chong Yidong <cyd@gnu.org>
844 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
845 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
847 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
849 * shell.el (shell-completion-vars): Fix last change (bug#11348).
851 2012-05-09 Chong Yidong <cyd@gnu.org>
853 * ansi-color.el (ansi-color-process-output): Check for validity of
854 comint-last-output-start before using it. This avoids a bad
855 interaction with gdb-mi's input/output buffer.
857 2012-05-09 Glenn Morris <rgm@gnu.org>
859 * files.el (dir-locals-read-from-file):
860 Mention dir-locals in any error message.
862 2012-05-09 Chong Yidong <cyd@gnu.org>
864 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
867 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
868 variables into description.
870 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
872 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
873 shell-delimiter-argument-list (bug#11348).
874 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
876 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
878 * textmodes/rst.el: Silence byte-compiler warnings.
879 (rst-re-alist, rst-reset-section-caches): Move around.
880 (rst-re): Use `characterp', not `char-valid-p'.
881 (font-lock-beg, font-lock-end): Declare.
883 * progmodes/idlw-shell.el (specs): Remove reference to deleted
884 variable `idlwave-shell-activate-alt-keybindings' and simplify.
886 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
888 2012-05-08 Glenn Morris <rgm@gnu.org>
890 * files.el (auto-mode-alist): Treat ".make" like ".mk".
892 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
894 * vc/log-edit.el: Add GNU coding standards highlighting.
895 (log-edit-font-lock-gnu-style)
896 (log-edit-font-lock-gnu-keywords): New vars.
897 (log-edit-font-lock-keywords): New fun.
898 (log-edit-mode): Don't fold case in font-lock.
899 (log-edit-font-lock-keywords): Do not assume case-folding.
901 * imenu.el: Misc cleanup. Make docstrings out of comments.
903 (imenu--index-alist, imenu--last-menubar-index-alist)
904 (imenu-menubar-modified-tick): Use defvar-local.
905 (imenu--split-menu): Remove unused var.
906 (imenu--cleanup-seen): Declare as global.
907 (imenu--cleanup): Use dolist.
909 * subr.el (defvar-local): Add debug spec and doc-string position.
911 2012-05-08 Glenn Morris <rgm@gnu.org>
913 * lisp/language/burmese.el, language/cham.el, language/czech.el:
914 * language/english.el, language/georgian.el, language/greek.el:
915 * language/japanese.el, language/khmer.el, language/korean.el:
916 * language/lao.el, language/misc-lang.el, language/romanian.el:
917 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
918 * language/thai.el, language/utf-8-lang.el:
919 Remove no-byte-compile setting.
921 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
923 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
925 * progmodes/make-mode.el (makefile-browse):
926 Remove unnecessary interactive. (Bug#11324)
928 2012-05-07 Glenn Morris <rgm@gnu.org>
930 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
932 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
934 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
936 * loadup.el: Preload newcomment.el.
937 * newcomment.el: Move autoload-only code to toplevel.
939 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
940 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
941 Handle new :right-align column property.
942 (tabulated-list-print-col): Idem, plus use `display' text-property to
943 try and preserve alignment for variable pitch fonts.
945 2012-05-07 Chong Yidong <cyd@gnu.org>
947 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
948 (tabulated-list-use-header-line): New var.
949 (tabulated-list-init-header): Use it.
950 (tabulated-list-print-fake-header): New function.
951 (tabulated-list-print): Use it.
952 (tabulated-list-sort-button-map): Add non-header-line commands.
953 (tabulated-list-init-header): Add column name property to basic
955 (tabulated-list-col-sort): Handle non-header-line button case.
956 (tabulated-list--sort-by-column-name): Fix a corner case.
958 * buff-menu.el (list-buffers--refresh):
959 Handle Buffer-menu-use-header-line.
961 2012-05-06 Chong Yidong <cyd@gnu.org>
963 * buff-menu.el: Convert to Tabulated List mode.
964 (Buffer-menu-buffer+size-width): Make obsolete.
965 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
966 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
967 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
968 documentation into docstring of buffer-menu.
969 (Buffer-menu-toggle-files-only): Add an informative message.
970 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
971 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
972 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
973 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
974 (Buffer-menu-execute, Buffer-menu-select)
975 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
976 (Buffer-menu-bury): Use Tabulated List machinery.
977 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
978 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
980 (list-buffers--refresh): New function.
981 (list-buffers-noselect): Use it.
982 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
983 (Buffer-menu--pretty-file-name): New helper functions.
985 * loadup.el: Preload tabulated-list.
987 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
988 tabulated-list-sort-column.
989 (tabulated-list-init-header): Add the initial aligning space even
990 if tabulated-list-padding is zero.
992 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
994 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
995 whose cdr is not a cons cell correctly (bug#11038).
997 2012-05-06 Chong Yidong <cyd@gnu.org>
999 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1000 Accept additional plist in column descriptors.
1001 (tabulated-list-init-header): Obey it.
1002 (tabulated-list-get-entry): New function.
1003 (tabulated-list-put-tag): Use it. Use string-width instead of
1005 (tabulated-list--column-number): New function.
1006 (tabulated-list-print): Use it.
1007 (tabulated-list-print-col): New function.
1008 Set `tabulated-list-column-name' property on each column's text.
1009 (tabulated-list-print-entry): Use it.
1010 (tabulated-list-delete-entry, tabulated-list-set-col):
1012 (tabulated-list-sort-column): New command (Bug#11337).
1014 * buff-menu.el (list-buffers): Move C-x C-b binding from
1015 buff-menu.el to bindings.el.
1017 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1018 :advertised-binding feature.
1020 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1022 * progmodes/compile.el (compilation-internal-error-properties):
1023 Calculate start position correctly when end-col is set but
1024 end-line is not (Bug#11382).
1026 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1028 * man.el (Man-unindent): Use text-property-default-nonsticky to
1029 prevent untabify from inheriting face properties (Bug#11408).
1031 2012-05-05 Stefan Merten <smerten@oekonux.de>
1033 * textmodes/rst.el: Major merge with upstream development up to
1034 Docutils SVN r7399 / rst.el V1.2.1.
1036 Clarify maintainership and authors.
1038 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1039 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1040 (rst-official-version, rst-official-cvs-rev, rst-version)
1041 (rst-package-emacs-version-alist): New functions and variables
1042 for version information.
1044 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1045 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1046 (rst-mode-syntax-table, rst-mode): New and corrected functions
1047 and variables representing reStructuredText features.
1049 (rst-re): New function for reStructuredText regexes. Use in
1052 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1053 (rst-mode-map): Rebind keys.
1055 (rst-mode-lazy, rst-font-lock-keywords)
1056 (rst-font-lock-extend-region)
1057 (rst-font-lock-extend-region-internal)
1058 (rst-font-lock-extend-region-extend)
1059 (rst-font-lock-find-unindented-line-limit)
1060 (rst-font-lock-find-unindented-line-match)
1061 (rst-adornment-level, rst-font-lock-adornment-level)
1062 (rst-font-lock-adornment-match)
1063 (rst-font-lock-handle-adornment-pre-match-form)
1064 (rst-font-lock-handle-adornment-matcher): Major revision of
1065 font-locking. Integrate with other code. Use `jit-lock-mode'.
1067 (rst-preferred-adornments, rst-adjust-hook)
1068 (rst-new-adornment-down, rst-preferred-bullets)
1069 (rst-preferred-bullets, rst-indent, rst-indent-width)
1070 (rst-indent-field, rst-indent-literal-normal)
1071 (rst-indent-literal-minimized, rst-indent-comment): Change,
1072 extend and improve customization.
1074 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1075 (rst-normalize-cursor-position, rst-get-decoration)
1076 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1077 (rst-rstrip, rst-toc-insert-find-delete-contents)
1078 (rst-shift-fill-region, rst-compute-bullet-tabs)
1079 (rst-debug-print-tabs, rst-debug-mark-found)
1080 (rst-shift-region-guts, rst-shift-region-right)
1081 (rst-shift-region-left, rst-use-char-classes)
1082 (rst-font-lock-keywords-function)
1083 (rst-font-lock-indentation-point)
1084 (rst-font-lock-find-unindented-line-begin)
1085 (rst-font-lock-find-unindented-line-end)
1086 (rst-font-lock-find-unindented-line)
1087 (rst-font-lock-adornment-point, rst-font-lock-level)
1088 (rst-adornment-level-alist): Remove functions and variables.
1090 (rst-compare-adornments, rst-get-adornment-match)
1091 (rst-suggest-new-adornment, rst-get-adornments-around)
1092 (rst-adornment-complete-p, rst-get-next-adornment)
1093 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1094 (rst-straighten-adornments): Standardize function names to
1095 use "adornment" instead of "decoration". Correct callers.
1096 Similar standardizing in many places.
1098 (rst-update-section, rst-adjust, rst-promote-region)
1099 (rst-enumerate-region, rst-bullet-list-region)
1100 (rst-repeat-last-character): Correct use of `interactive'.
1102 (rst-classify-adornment, rst-find-all-adornments)
1103 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1104 (rst-find-leftmost-column, rst-repeat-last-character):
1107 (rst-find-title-line, rst-reset-section-caches)
1108 (rst-get-adornments-around, rst-adjust-adornment-work)
1109 (rst-arabic-to-roman, rst-roman-to-arabic)
1110 (rst-insert-list-pos, rst-insert-list-new-item)
1111 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1114 (rst-all-sections, rst-section-hierarchy)
1115 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1118 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1119 configuration instead of only buffer. Change where necessary.
1121 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1122 (rst-shift-region, rst-adaptive-fill): New functions for
1123 indentation and filling.
1125 (rst-comment-line-break, rst-comment-indent)
1126 (rst-comment-insert-comment, rst-comment-region)
1127 (rst-uncomment-region): New functions for handling comments.
1129 (rst-compile): Quote shell arguments.
1131 (rst-compile-pdf-preview, rst-compile-slides-preview):
1132 Delete temporary files after use.
1134 2012-05-05 Glenn Morris <rgm@gnu.org>
1136 * calendar/cal-html.el: Optionally include holidays in the output.
1137 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1138 (cal-html-holidays): New option.
1139 (cal-html-css-default): Add holiday entry.
1140 (holiday-in-range): Autoload it.
1141 (cal-html-htmlify-entry): Add optional class argument.
1142 (cal-html-htmlify-list): Add optional holidays argument.
1143 (cal-html-insert-agenda-days): Include holidays in the output.
1144 (cal-html-one-month): Maybe include holidays.
1146 * calendar/holidays.el (holiday-in-range):
1147 Move here from cal-tex-list-holidays.
1148 * calendar/cal-tex.el (cal-tex-list-holidays):
1149 Make it an obsolete alias for holiday-in-range. Update all callers.
1151 2012-05-05 Chong Yidong <cyd@gnu.org>
1153 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1156 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1158 * files.el (file-auto-mode-skip): New var.
1159 (set-auto-mode-1): Use it.
1161 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * repeat.el: Use lexical-binding.
1164 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1165 (repeat-undo-count): Remove.
1167 * progmodes/octave-mod.el (octave-abbrev-start):
1168 * progmodes/f90.el (f90-abbrev-start):
1169 * face-remap.el (text-scale-adjust):
1170 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1172 * emacs-lisp/pcase.el (pcase--let*): New function.
1173 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1175 (pcase--split-pred): Be more clever about ruling out overlap between
1176 a predicate and some constant pattern.
1177 (pcase--q1): Use `null' instead of (eq foo nil).
1179 * subr.el (setq-local, defvar-local): New macros.
1180 (kbd): Redefine as an alias.
1181 (with-selected-window): Leave unrelated frames alone.
1182 (set-temporary-overlay-map): New function.
1184 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * subr.el (user-error): New function.
1187 * window.el (switch-to-buffer):
1188 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1189 (smerge-match-conflict):
1190 * simple.el (previous-matching-history-element)
1191 (next-matching-history-element, goto-history-element, undo-more)
1193 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1194 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1195 (next-file, tags-loop-scan, list-tags, complete-tag):
1196 * progmodes/compile.el (compilation-loop):
1197 * mouse.el (mouse-minibuffer-check):
1198 * man.el (Man-bgproc-sentinel, Man-goto-page):
1199 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1200 (Info-history-forward, Info-follow-reference, Info-menu)
1201 (Info-extract-menu-item, Info-extract-menu-counting)
1202 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1203 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1204 (Info-next-reference, Info-prev-reference, Info-index)
1205 (Info-index-next, Info-follow-nearest-node)
1206 (Info-copy-current-node-name):
1207 * imenu.el (imenu--make-index-alist)
1208 (imenu-default-create-index-function, imenu-add-to-menubar):
1209 * files.el (basic-save-buffer, recover-file):
1210 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1211 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1212 (checkdoc-message-text, checkdoc-defun):
1213 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1214 * cus-edit.el (customize-changed-options, customize-rogue)
1215 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1216 (custom-variable-mark-to-reset-standard)
1217 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1219 * completion.el (check-completion-length):
1220 * comint.el (comint-search-arg)
1221 (comint-previous-matching-input-string-position)
1222 (comint-previous-matching-input)
1223 (comint-replace-by-expanded-history-before-point, comint-send-input)
1224 (comint-copy-old-input, comint-backward-matching-input)
1225 (comint-goto-process-mark, comint-set-process-mark):
1226 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1227 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1229 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * dabbrev.el (dabbrev--ignore-case-p): New function.
1232 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1235 * files.el (automount-dir-prefix): Mark as obsolete.
1237 2012-05-04 Glenn Morris <rgm@gnu.org>
1239 * patcomp.el, play/bruce.el: Move to obsolete/.
1241 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1243 Fix minor Y10k bugs.
1244 * arc-mode.el (archive-unixdate):
1245 * autoinsert.el (auto-insert-alist):
1246 * calc/calc-forms.el (math-this-year):
1247 * emacs-lisp/copyright.el (copyright-current-year)
1248 (copyright-update-year, copyright):
1249 * tar-mode.el (tar-clip-time-string):
1250 * time.el (display-time-update):
1251 Don't assume years have 4 digits.
1253 2012-05-04 Chong Yidong <cyd@gnu.org>
1255 * dos-w32.el (file-name-buffer-file-type-alist)
1256 (direct-print-region-use-command-dot-com):
1257 * ffap.el (ffap-menu-regexp):
1258 * find-file.el (ff-special-constructs):
1259 * follow.el (follow-debug):
1260 * forms.el (forms--debug):
1261 * iswitchb.el (iswitchb-all-frames):
1262 * ido.el (ido-all-frames):
1263 * emacs-lisp/timer.el (timer-max-repeats):
1264 * mail/feedmail.el (feedmail-mail-send-hook)
1265 (feedmail-mail-send-hook-queued):
1266 * mail/footnote.el (footnote-signature-separator):
1267 * mail/mailabbrev.el (mail-alias-separator-string)
1268 (mail-abbrev-mode-regexp):
1269 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1270 * progmodes/idlwave.el (idlwave-libinfo-file)
1271 (idlwave-default-completion-case-is-down)
1272 (idlwave-library-routines): Convert defvars to defcustoms.
1274 * mail/rmail.el (rmail-decode-mime-charset):
1275 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1276 (idlwave-shell-fix-inserted-breaks)
1277 (idlwave-shell-activate-alt-keybindings)
1278 (idlwave-shell-use-breakpoint-glyph):
1279 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1281 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1285 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1287 * progmodes/verilog-mode.el (font-lock-keywords):
1288 Fix mis-highligting auto. Reported by Craig Barner.
1289 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1290 defines from global name space. Reported by Dan Dever.
1291 (verilog-auto-reset, verilog-auto-reset-widths)
1292 (verilog-auto-tieoff): Support using unbased numbers for
1293 AUTORESET and AUTOTIEOFF.
1294 (verilog-submit-bug-report): Update variable list.
1295 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1296 parenthesis from not matching. Reported by Michael Rytting.
1297 (verilog-auto-template-lint): Fix hash error when linting modules
1298 with no used templates.
1299 (verilog-warn, verilog-warn-error)
1300 (verilog-warn-fatal): When non-interactive report multiple
1301 warnings before exiting. Suggested by Brad Dobbie.
1302 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1303 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1304 to report unused template errors. Reported by Brad Dobbie.
1305 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1306 nets, bug438. Reported by Vns Blore.
1307 (verilog-auto-inout-module, verilog-auto-reg)
1308 (verilog-read-decls, verilog-read-sub-decls-sig)
1309 (verilog-signals-edit-wire-reg, verilog-signals-with):
1310 Fix passing of Verilog data types in ANSI input/output ports
1311 such as "output logic" into the AUTOs. Special case "wire" and
1312 "reg" for backwards compatibility presuming Verilog 2001.
1313 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1314 (verilog-preprocess): Fix replication of preprocess output.
1315 Reported by Brad Dobbie.
1316 (verilog-auto-inst-interfaced-ports):
1317 Create verilog-auto-inst-interfaced-ports, bug429.
1318 Reported by Julian Gorfajn.
1319 (verilog-after-save-font-hook)
1320 (verilog-before-save-font-hook): New variable.
1321 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1322 (verilog-save-font-mods): Wrap disabling fontification, reported
1324 (verilog-do-indent, verilog-pretty-declarations-auto)
1325 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1326 Reported by Pierre-David Pfister.
1327 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1328 of class declarations, bug292. Reported by Kevin Heilman.
1329 (verilog-read-decls): Fix 'parameter type' not appearing in
1330 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1331 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1332 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1333 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1334 Reported by David Kravitz.
1336 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1338 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1339 assignment with tests in ifs and for loops.
1340 (verilog-extended-complete-re, verilog-complete-reg): Change so
1341 that DPI inport functions don't look like fuction declarations.
1342 (verilog-pretty-expr): Don't line up assignment
1343 operations to the test and increment in if and for loops
1344 (verilog-extended-complete-re, verilog-complete-reg): Change so
1345 that DPI inport functions don't look like fuction declarations
1347 2012-05-03 Kenichi Handa <handa@m17n.org>
1349 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1350 decoding, and show a warning message without signaling an error
1353 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * emacs-lisp/bytecomp.el
1356 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1357 since cconv.el might have introduced :fun-body, internal-make-closure,
1358 and friends for bytecomp to handle (bug#11391).
1359 * custom.el (defcustom): Avoid ((λ ..) ..).
1361 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1365 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1367 * notifications.el (dbus-debug):
1368 * term/linux.el (gpm-mouse-enable):
1369 * term/screen.el (xterm-register-default-colors): Declare.
1371 2012-05-02 Chong Yidong <cyd@gnu.org>
1373 * cus-start.el (gc-cons-percentage, exec-suffixes)
1374 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1375 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1376 (make-cursor-line-fully-visible, void-text-area-pointer)
1377 (font-list-limit): Add customization data.
1379 * allout.el (allout-exposure-change-functions)
1380 (allout-structure-added-functions)
1381 (allout-structure-deleted-functions)
1382 (allout-structure-shifted-functions): Rename abnormal hooks from
1383 *-hook, and convert to defcustoms.
1384 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1385 Convert to defcustoms.
1386 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1388 * allout-widgets.el: Hook callers changed.
1390 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1392 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1393 the yanked message in preference to the default value of
1394 buffer-file-coding-system.
1396 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1398 * window.el (display-buffer--action-function-custom-type):
1401 2012-05-02 Alan Mackenzie <acm@muc.de>
1403 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1405 2012-05-01 Glenn Morris <rgm@gnu.org>
1407 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1409 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1411 * cus-edit.el (custom-variable-documentation): Simplify with format.
1413 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1414 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * simple.el (suggest-key-bindings, execute-extended-command):
1417 Move from keyboard.c.
1419 2012-05-01 Chong Yidong <cyd@gnu.org>
1421 * follow.el: Eliminate advice.
1422 (set-process-filter, process-filter, sit-for): Advice deleted.
1423 (follow-mode-off-hook): Obsolete hook removed.
1424 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1426 (follow-auto): Use a :set function.
1427 (follow-mode): Rewritten. Don't advise process filters.
1428 (follow-switch-to-current-buffer-all, follow-scroll-up)
1429 (follow-scroll-down): Assume follow-mode is bound.
1430 (follow-comint-scroll-to-bottom)
1431 (follow-align-compilation-windows): New functions.
1432 (follow--window-sorter): New function.
1433 (follow-all-followers): Use it to explicitly sort windows by their
1434 positions; don't make assumptions about next-window order.
1435 (follow-windows-start-end, follow-delete-other-windows-and-split)
1436 (follow-calc-win-start): Doc fix.
1437 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1438 vertical-motion unnecessarily.
1439 (follow-adjust-window): New function.
1440 (follow-post-command-hook): Use it.
1441 (follow-call-set-process-filter, follow-call-process-filter)
1442 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1443 (follow-stop-intercept-process-output, follow-generic-filter):
1445 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1446 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1447 New functions, replacing advice on scroll-bar-* commands.
1448 (follow-mwheel-scroll): New function (Bug#4112).
1450 * comint.el (comint-adjust-point): New function.
1451 (comint-postoutput-scroll-to-bottom): Use it.
1452 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1454 2012-05-01 Glenn Morris <rgm@gnu.org>
1456 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1457 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1458 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1459 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1460 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1461 Remove no-byte-compile setting.
1463 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1466 all-completions code to not return a number in the last cdr.
1468 2012-04-30 Leo Liu <sdl.web@gmail.com>
1470 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1473 2012-04-29 Chong Yidong <cyd@gnu.org>
1475 * follow.el (follow-calc-win-end): Rewrite to handle partial
1476 screen lines correctly (Bug#8390).
1477 (follow-avoid-tail-recenter): Minor cleanup.
1479 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1481 Avoid the obsolete `assoc' package.
1482 * speedbar.el (speedbar-refresh): Avoid adelete.
1483 (speedbar-file-lists): Simplify and avoid aput.
1484 * man.el (Man--sections, Man--refpages): New vars, replacing
1485 Man-sections-alist and Man-refpages-alist.
1486 (Man-build-section-alist, Man-build-references-alist):
1487 Use them; avoid aput.
1488 (Man--last-section, Man--last-refpage): New vars.
1489 (Man-follow-manual-reference): Use them.
1490 Use the `default' arg of completing-read.
1491 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1493 2012-04-27 Chong Yidong <cyd@gnu.org>
1495 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1497 * startup.el (x-apply-session-resources): New function.
1499 * term/ns-win.el (ns-initialize-window-system):
1500 * term/w32-win.el (w32-initialize-window-system):
1501 * term/x-win.el (x-initialize-window-system): Use it to properly
1502 set menu-bar-mode and other vars from X resources, even if the
1503 initial frame is not a window-system frame (Bug#2299).
1505 * subr.el (read-key): Avoid running filter function when setting
1506 up temporary tool bar entries (Bug#9922).
1508 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1510 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1513 2012-04-27 Chong Yidong <cyd@gnu.org>
1515 * select.el (xselect--encode-string): New function, split from
1516 xselect-convert-to-string.
1517 (xselect-convert-to-string): Use it.
1518 (xselect-convert-to-filename, xselect-convert-to-os)
1519 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1520 returned strings are properly encoded (Bug#11315).
1522 2012-04-27 Chong Yidong <cyd@gnu.org>
1524 * simple.el (delete-active-region): Move to killing custom group.
1526 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1528 * progmodes/which-func.el (which-func-current): Quote %
1529 characters for mode-line processing.
1531 2012-04-27 Chong Yidong <cyd@gnu.org>
1533 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1534 reaching eob (Bug#11286).
1536 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1538 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1539 (gdb): Make it buffer-local and init to zero.
1540 (gdb-control-commands-regexp): New variable.
1541 (gdb-send): Don't wrap in "-interpreter-exec console" if
1542 gdb-control-level is positive. Increment gdb-control-level
1543 whenever the command matches gdb-control-commands-regexp, and
1544 decrement it each time the command is "end". (Bug#11279)
1546 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1548 * window.el (adjust-window-trailing-edge, enlarge-window)
1549 (shrink-window, window-resize):
1550 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1551 windows (Bug#11276).
1553 2012-04-27 Chong Yidong <cyd@gnu.org>
1555 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1556 fix "missing prefix" warning. All callers changed.
1558 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * emacs-lisp/assoc.el: Move to obsolete/.
1562 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1564 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1566 * term/ns-win.el (ns-define-service):
1567 * progmodes/pascal.el (pascal-goto-defun):
1568 * progmodes/js.el (js--read-tab):
1569 * progmodes/etags.el (tags-lazy-completion-table):
1570 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1571 * emacs-lisp/ewoc.el (ewoc--wrap):
1572 * emacs-lisp/assoc.el (aput, adelete, amake):
1573 * doc-view.el (doc-view-convert-current-doc):
1574 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1576 2012-04-26 Chong Yidong <cyd@gnu.org>
1578 * image.el (image-type-from-buffer): Only return supported image
1581 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1582 value, for symmetry with diff-end-of-hunk.
1583 (diff-split-hunk, diff-find-source-location)
1584 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1585 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1586 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1587 compute the relevant hunk or file properly (Bug#6005).
1588 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1590 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * vc/vc.el: Replace lexical-let by lexical-binding.
1600 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1601 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1602 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1604 2012-04-26 Chong Yidong <cyd@gnu.org>
1606 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1607 (diff-mode-shared-map): Bind it to / and [remap undo].
1609 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1610 (ediff-window-setup-function): Use it as the default, to set up
1611 windows based on whether the current frame is graphical (Bug#2138).
1612 (ediff-choose-window-setup-function-automatically): Make obsolete.
1614 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1616 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * ffap.el: Remove old code for obsolete package.
1619 (ffap-complete-as-file-p): Remove.
1621 Use completion-table-with-quoting for comint and pcomplete.
1622 * comint.el (comint--unquote&requote-argument)
1623 (comint--unquote-argument, comint--requote-argument): New functions.
1624 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1625 (comint-quote-filename): Use regexp-opt-charset.
1626 (comint--common-suffix, comint--common-quoted-suffix)
1627 (comint--table-subvert): Remove.
1628 (comint-unquote-function, comint-requote-function): New vars.
1629 (comint--complete-file-name-data): Use them with
1630 completion-table-with-quoting.
1631 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1632 * pcomplete.el (pcomplete-arg-quote-list)
1633 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1634 (pcomplete-unquote-argument-function): Default to non-nil.
1635 (pcomplete-unquote-argument): Simplify.
1636 (pcomplete--common-quoted-suffix): Remove.
1637 (pcomplete-requote-argument-function): New var.
1638 (pcomplete--common-suffix): New function.
1639 (pcomplete-completions-at-point): Use completion-table-with-quoting
1640 and completion-table-subvert.
1642 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1643 (minibuffer--double-dollars): Preserve properties.
1644 (completion--sifn-requote): New function.
1645 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1647 * minibuffer.el: Add support for completion of quoted/escaped data.
1648 (completion-table-with-quoting, completion-table-subvert): New funs.
1649 (completion--twq-try, completion--twq-all): New functions.
1650 (completion--nth-completion): New function.
1651 (completion-try-completion, completion-all-completions): Use it.
1653 2012-04-25 Leo Liu <sdl.web@gmail.com>
1655 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1656 Use compilation-message if available to find real filename.
1658 2012-04-25 Chong Yidong <cyd@gnu.org>
1660 * vc/diff-mode.el (diff-setup-whitespace): New function.
1661 (diff-mode): Use it.
1663 * vc/diff.el (diff-sentinel):
1664 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1665 Whitespace mode variables based on diff style (Bug#8612).
1667 2012-04-25 Leo Liu <sdl.web@gmail.com>
1669 * progmodes/python.el (python-send-region): Add suffix .py to the
1672 * files.el (auto-mode-alist): Use javascript-mode instead.
1674 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1676 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1678 * soap-client.el (soap-resolve-references-for-sequence-type)
1679 (soap-resolve-references-for-array-type): Hack to prevent self
1680 references, see Bug#9.
1681 (soap-parse-envelope): Report the contents of the 'detail' node
1682 when receiving a fault reply.
1683 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1685 * soap-inspect.el (soap-sample-value-for-simple-type)
1686 (soap-inspect-simple-type): New function.
1688 * soap-client.el (soap-simple-type): New struct.
1689 (soap-default-xsd-types, soap-default-soapenc-types)
1690 (soap-decode-basic-type, soap-encode-basic-type):
1691 support unsignedInt and double basic types.
1692 (soap-resolve-references-for-simple-type)
1693 (soap-parse-simple-type, soap-encode-simple-type): New function.
1694 (soap-parse-schema): Parse xsd:simpleType declarations.
1696 * soap-client.el (soap-default-xsd-types)
1697 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1698 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1699 the local name of "soapenc:Array".
1700 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1701 decoding integer, byte and anyURI xsd types.
1703 2012-04-25 Chong Yidong <cyd@gnu.org>
1705 * cus-edit.el (custom-buffer-create-internal): Update header text.
1707 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1709 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1710 settings on 'system-type', not on 'window-system'. On MS-Windows,
1711 set interactive-mode on in GDB.
1713 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1716 (ruby-syntax-propertize-regexp): Remove.
1717 (ruby-syntax-propertize-function): Split regexp into chunks.
1718 Match following code directly.
1720 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1722 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1723 (ruby-syntax-propertize-regexp): New function.
1724 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1725 by a special keyword.
1727 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1728 (ruby-syntax-general-delimiters-goto-beg)
1729 (ruby-syntax-propertize-general-delimiters): New functions.
1730 (ruby-syntax-propertize-function): Use them to handle GDL.
1731 (ruby-font-lock-keywords): Move old handling of GDL...
1732 (ruby-font-lock-syntactic-keywords): .. to here.
1733 (ruby-calculate-indent): Adjust indentation for GDL.
1735 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1737 * notifications.el (top): Remove unneeded declarations.
1738 (notifications-specification-version): Change to "1.2".
1739 (notifications-interface, notifications-notify-method)
1740 (notifications-close-notification-method): Fix docstring.
1741 (notifications-get-capabilities-method): New defconst.
1742 (notifications-notify): Add :action-items, :resident and
1743 :transient hints. Change "image_data" to "image-data" and
1744 "image_path" to "image-path".
1745 (notifications-get-capabilities): New defun.
1747 2012-04-24 Leo Liu <sdl.web@gmail.com>
1749 * progmodes/python.el: Move hideshow setup to the end.
1751 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1753 * window.el (handle-select-window): Clear echo area since this is
1754 no more done by read_char (Bug#11304).
1756 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1759 and `/ M' to filter-derived-mode.
1760 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1761 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1762 (ibuffer-mark-by-mode): Use default rather than initial-input.
1763 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1765 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1767 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1768 (ibuffer-filter-by-derived-mode): New filter.
1769 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1771 2012-04-23 Andreas Politz <politza@fh-trier.de>
1773 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1775 2012-04-23 Chong Yidong <cyd@gnu.org>
1777 * cus-edit.el (customize-apropos, customize-apropos-options):
1778 Disable matching of non-option variables (Bug#11176).
1779 (customize-option, customize-option-other-window)
1780 (customize-changed-options): Doc fix.
1781 (customize-apropos-options, customize-apropos-faces)
1782 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1784 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1785 Fix word list splitting (Bug#11132).
1786 (apropos-symbol, apropos-keybinding, apropos-label)
1787 (apropos-property, apropos-function-button)
1788 (apropos-variable-button, apropos-misc-button): New faces.
1789 (apropos-symbol-face, apropos-keybinding-face)
1790 (apropos-label-face, apropos-property-face, apropos-match-face):
1791 Variables removed (Bug#8396).
1792 (apropos-library-button, apropos-format-plist, apropos-print)
1793 (apropos-print-doc, apropos-describe-plist): Callers changed.
1795 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1797 * net/xesam.el (xesam-mode-map): Use let-bound map in
1798 initialization. (Bug#11292)
1800 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1802 Preserve ispell session localwords when switching back to
1805 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1806 variable to hold buffer session localwords.
1807 (ispell-kill-ispell): add option 'clear to delete session
1809 (ispell-command-loop, ispell-change-dictionary)
1810 (ispell-buffer-local-words): Preserve session localwords when
1813 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1814 Preserve session localwords when needed.
1816 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1818 * ispell.el (ispell-insert-word) Remove unneeded function using
1819 obsolete `translation-table-for-input'.
1820 (ispell-word, ispell-process-line, ispell-complete-word):
1821 Use plain `insert' instead of removed `ispell-insert-word'.
1823 2012-04-22 Chong Yidong <cyd@gnu.org>
1825 * cus-edit.el (custom-variable-menu)
1826 (custom-variable-reset-saved, custom-face-menu)
1827 (custom-face-reset-saved): If there is no saved value, make the
1828 "reset-saved" operation bring back the default (Bug#9509).
1829 (custom-face-state): Properly detect themed faces.
1831 * faces.el (face-spec-set): Stop supporting deprecated form of
1834 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1836 Move functions from C to Lisp. Make non-blocking method calls
1837 the default. Implement further D-Bus standard interfaces.
1839 * net/dbus.el (dbus-message-internal): Declare function.
1840 Remove unneeded function declarations.
1841 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1842 (dbus-message-type-method-return, dbus-message-type-error)
1843 (dbus-message-type-signal): Declare variables. Remove local
1845 (dbus-interface-dbus, dbus-interface-peer)
1846 (dbus-interface-introspectable, dbus-interface-properties)
1847 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1849 (dbus-interface-objectmanager): New defconst.
1850 (dbus-call-method, dbus-call-method-asynchronously)
1851 (dbus-send-signal, dbus-method-return-internal)
1852 (dbus-method-error-internal, dbus-register-service)
1853 (dbus-register-signal, dbus-register-method): New defuns, moved
1855 (dbus-call-method-handler, dbus-setenv)
1856 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1858 (dbus-call-method-non-blocking): Make it an obsolete function.
1859 (dbus-unregister-object, dbus-unregister-service)
1860 (dbus-handle-event, dbus-register-property)
1861 (dbus-property-handler): Obey the new structure of
1862 `bus-registered-objects'.
1863 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1864 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1865 Use `dbus-call-method'.
1867 2012-04-22 Chong Yidong <cyd@gnu.org>
1869 * cus-edit.el (custom-commands, custom-reset-menu)
1870 (Custom-reset-standard): Tweak labels.
1871 (custom-reset-button-menu): Change default to t.
1872 (custom-buffer-create-internal): For the custom-reset-button-menu
1873 case, put the revert button first.
1874 (custom-group-subtitle): New face.
1875 (custom-group-value-create): Align docstring to a specific column.
1877 * wid-edit.el (widget-documentation-link-add): Don't handle
1878 indentation in this function.
1879 (widget-documentation-string-indent-to): New function.
1880 (widget-documentation-string-value-create): Use it.
1882 * autorevert.el (auto-revert):
1883 * epg-config.el (epg):
1884 * ibuffer.el (ibuffer):
1887 * eshell/eshell.el (eshell):
1888 * net/ange-ftp.el (ange-ftp):
1889 * progmodes/ebnf2ps.el (postscript):
1890 * progmodes/flymake.el (flymake):
1891 * progmodes/prolog.el (prolog):
1892 * progmodes/verilog-mode.el (verilog-mode):
1893 * progmodes/which-func.el (which-func):
1894 * term/xterm.el (xterm):
1895 * textmodes/picture.el (picture):
1896 * textmodes/tildify.el (tildify):
1897 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1898 customization buffers.
1900 2012-04-22 Alan Mackenzie <acm@muc.de>
1902 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1903 Adding a ) can hide the resulting (..) from searches. Fix it.
1904 Bound the backward search to the position of the existing (.
1906 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1908 * progmodes/verilog-mode.el (verilog-mode): Check whether
1909 which-func-modes is t before adding verilog-mode.
1910 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1912 2012-04-21 Leo Liu <sdl.web@gmail.com>
1914 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1916 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1918 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1919 filling of the last column of a table (Bug#5635).
1920 (woman-find-next-control-line): New arg, specifying an additional
1921 regexp component for the control line.
1922 (woman2-roff-buffer): Use it.
1923 (woman-break-table): New function.
1924 (woman2-TS): Use it.
1926 2012-04-21 Chong Yidong <cyd@gnu.org>
1928 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1929 (woman-horizontal-escapes, woman-negative-vertical-space)
1930 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1931 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1933 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * minibuffer.el (completion-file-name-table): Complete user names.
1937 2012-04-20 Leo Liu <sdl.web@gmail.com>
1939 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1942 2012-04-20 Chong Yidong <cyd@gnu.org>
1944 * server.el (server-execute): Respect initial-buffer-choice if it
1945 is a string and there are no files to open (Bug#2825).
1946 (server-create-window-system-frame, server-create-tty-frame):
1947 Don't switch buffers here.
1948 (server-process-filter): Only try to open a window system frame if
1949 compiled with graphical support (Bug#8314).
1951 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1953 * battery.el (battery-echo-area-format): Display remaining time
1954 for sysfs backend too (Bug#11269).
1955 (battery-linux-sysfs): Fix conditional for the charge.
1957 2012-04-20 Chong Yidong <cyd@gnu.org>
1959 * progmodes/gdb-mi.el (gdb): Revert previous change.
1960 (gdb-inferior-io--init-proc): New function.
1961 (gdb-init-1): Use it.
1962 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1963 responsible for allocating a new pty and hooking it to gdb when
1964 the old pty gets an EIO due to process exit.
1965 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1966 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1967 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1969 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1971 * window.el (window-min-size, window-sizable, window-min-delta)
1972 (window-max-delta, window--resizable, window-resizable)
1973 (window-total-size, window-full-height-p, window-full-width-p)
1974 (window-in-direction, window--resize-mini-window, window-resize)
1975 (window--resize-child-windows-normal)
1976 (window--resize-child-windows, window--resize-siblings)
1977 (window--resize-this-window, adjust-window-trailing-edge)
1978 (enlarge-window, shrink-window): Doc fixes.
1980 2012-04-20 Chong Yidong <cyd@gnu.org>
1982 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1983 New function to call delete-process on the gdb-inferior buffer's pty.
1984 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1985 pty process (Bug#11273).
1986 (gdb-update): New arg to suppress talking to the gdb process.
1987 (gdb-done-or-error): Use it.
1988 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1989 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1990 sentinel not being called.
1992 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1994 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1996 2012-04-20 Glenn Morris <rgm@gnu.org>
1998 * net/network-stream.el (open-network-stream): Doc fix.
2000 2012-04-20 Chong Yidong <cyd@gnu.org>
2002 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2004 2012-04-20 Alan Mackenzie <acm@muc.de>
2006 Ensure searching for keywords is case sensitive.
2008 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2009 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2010 (c-defun-name, c-mark-function, c-cpp-define-name)
2011 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2012 (c-context-line-break): Bind case-fold-search to nil.
2014 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2015 Bind case-fold-search to nil.
2017 2012-04-20 Chong Yidong <cyd@gnu.org>
2019 * mail/sendmail.el (mail-bury): Call return action with the right
2020 Rmail buffer (Bug#11242).
2022 * server.el (server-process-filter): Handle corner case where both
2023 tty and nowait options are present (Bug#11102).
2025 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2027 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2028 (top level): Put into the executable the ident-style '$Id:' tag on
2031 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * electric.el (electric-indent-post-self-insert-function): Check that
2034 electric-indent-mode is enabled in current buffer.
2036 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2038 * imenu.el (imenu-progress-message): Restore; it is "used" in
2039 erc/erc-imenu.el and net/snmp-mode.el.
2041 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2043 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2044 (mouse-avoidance-nudge-mouse): Remove unused binding.
2046 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2048 * descr-text.el (describe-char):
2049 * progmodes/python.el (python-describe-symbol):
2050 Don't call `toggle-read-only', set `buffer-read-only'.
2052 * imenu.el (imenu-default-goto-function): Mark unused args.
2053 (imenu-progress-message): Remove obsolete macro; all callers changed.
2055 * subr.el (keymap-canonicalize): Remove unused binding.
2056 (read-passwd): Mark unused arg.
2058 * tutorial.el (tutorial--display-changes): Remove unused binding.
2059 (tutorial--save-tutorial-to): Remove unused variable.
2061 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2062 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2063 (package-generate-autoloads, package-menu--generate)
2064 (package-menu--find-upgrades): Remove unused bindings.
2066 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2067 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2068 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2069 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2070 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2071 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2072 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2073 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2074 (cua-delete-char-rectangle): Mark unused args.
2075 (cua-align-rectangle): Remove unused binding.
2077 * mail/rmail.el (compilation--message->loc)
2078 (epa--find-coding-system-for-mime-charset): Declare.
2080 * net/dbus.el (dbus-register-service): Declare.
2081 (dbus-name-owner-changed-handler): Remove unused binding.
2083 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2084 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2085 (nxml-scan-backward-within): Mark unused arg.
2086 (nxml-dynamic-markup-word): Remove unused binding.
2088 * mouse.el (mouse-menu-major-mode-map):
2089 * emacs-lisp/authors.el (authors-scan-change-log)
2090 (authors-add-to-author-list):
2091 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2092 * emacs-lisp/smie.el (smie-auto-fill):
2093 * mail/sendmail.el (mail-bury):
2094 * mail/unrmail.el (unrmail):
2095 * net/tls.el (open-tls-stream):
2096 * textmodes/picture.el (picture-mouse-set-point):
2097 Remove unused bindings.
2099 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2101 * net/tramp.el (tramp-action-password): Let-bind
2102 `enable-recursive-minibuffers' to t.
2104 2012-04-18 Sam Steingold <sds@gnu.org>
2106 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2107 instead of 'string to accommodate values like [f11].
2108 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2109 * progmodes/gdb-mi.el: Likewise.
2111 2012-04-18 Leo Liu <sdl.web@gmail.com>
2113 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2115 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2118 2012-04-18 Chong Yidong <cyd@gnu.org>
2120 * simple.el (line-move): Use forward-line if in batch mode
2123 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2125 * files.el (after-find-file): Do not try to add a final newline if
2126 the buffer is read-only (Bug#11156).
2128 2012-04-17 Richard Stallman <rms@gnu.org>
2130 * mail/rmail.el (rmail-start-mail):
2131 Pass (rmail-mail-return...) for the return-action.
2132 Pass (rmail-yank-current-message...) for the yank-action.
2133 (rmail-yank-current-message): New function.
2134 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2135 (rmail-reply): Likewise.
2136 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2138 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2139 buffer, not the last. Reject temp buffers. Use the rmail-mode
2142 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2144 * server.el (server-ensure-safe-dir): Simplify.
2146 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * emacs-lisp/smie.el: Provide smarter auto-filling.
2149 (smie-auto-fill): New function.
2150 (smie-setup): Use it.
2152 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2154 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2156 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2157 (comment-indent): Use it.
2159 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
2161 * ses.el: The overall change is to add cell renaming, that is
2162 setting fancy names for cell symbols other than name matching
2163 "\\`[A-Z]+[0-9]+\\'" regexp .
2164 (ses-localvars): Add ses--renamed-cell-symb-list.
2165 (ses-create-cell-variable): New defun.
2166 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2167 (ses-relocate-formula): Relocate formulas only for cells the
2168 symbols of which are not renamed, i.e. symbols whose names do not
2169 match regexp "\\`[A-Z]+[0-9]+\\'".
2170 (ses-relocate-all): Relocate values only for cells the symbols of
2171 which are not renamed.
2172 (ses-load): Create cells variables as the (ses-cell ...) are read,
2173 in order to check row col consistency with cell symbol name only
2174 for cells that are not renamed.
2175 (ses-replace-name-in-formula): New defun.
2176 (ses-rename-cell): New defun.
2178 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2180 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2181 New option (bug#11118).
2182 (perl-calculate-indent): Respect it.
2184 2012-04-17 Glenn Morris <rgm@gnu.org>
2186 * dired-aux.el (dired-mark-read-string): Doc fix.
2188 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2190 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2191 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2193 2012-04-17 Glenn Morris <rgm@gnu.org>
2195 * mouse.el (mouse-drag-track):
2196 * speedbar.el (speedbar-frame-mode):
2197 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2199 2012-04-16 Leo Liu <sdl.web@gmail.com>
2201 * progmodes/python.el: Trivial cleanup.
2203 2012-04-16 Glenn Morris <rgm@gnu.org>
2205 * vc/vc.el (vc-string-prefix-p):
2206 * vc/pcvs-util.el (cvs-string-prefix-p):
2207 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2208 * mpc.el (mpc-string-prefix-p):
2209 Make all of these into obsolete aliases for string-prefix-p.
2211 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2213 * textmodes/two-column.el: Move custom options to the start.
2214 (frame-width): Remove compat definition.
2215 (2C-associate-buffer, 2C-dissociate):
2216 Use with-current-buffer rather than save-excursion.
2217 (2C-dissociate): Force a mode-line update.
2218 (2C-autoscroll): Use ignore-errors.
2220 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2223 * emacs-lisp/cl-extra.el (*random-state*):
2224 Remove unnecessary declaration.
2226 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2228 * play/cookie1.el (cookie-snarf):
2229 Give an explicit error if input file cannot be read.
2231 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2233 * progmodes/perl-mode.el (c-macro-expand):
2234 Remove unnecessary autoload (it is in loaddefs.el).
2236 * textmodes/picture.el (picture-desired-column)
2237 (picture-update-desired-column): Convert comments to doc-strings.
2238 (picture-substitute): Remove function.
2239 (picture-mode-map): Initialize in the defvar.
2241 * woman.el: Remove eval-after-load for tar-mode.
2242 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2243 (woman-tar-extract-file): Autoload it.
2245 * frame.el (automatic-hscrolling): Make this alias obsolete.
2247 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2249 * ispell.el (ispell-set-spellchecker-params): Post-process
2250 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2251 (ispell-dictionary-base-alist): Revert to original XEmacs
2252 friendly version for default. [:alpha:] will be added in
2253 `ispell-set-spellchecker-params' if needed
2255 2012-04-16 Chong Yidong <cyd@gnu.org>
2257 * image.el (imagemagick--extension-regexp): New variable.
2258 (imagemagick-register-types): Use it.
2259 (imagemagick-types-inhibit): Add :set function. Allow new value
2260 of t to inhibit all types.
2262 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2263 so we can preload it.
2265 * loadup.el (fboundp): Preload regexp-opt, needed by
2266 imagemagick-register-types.
2268 2012-04-15 Chong Yidong <cyd@gnu.org>
2270 * frame.el (scrolling): Remove nearly unused customization group.
2272 * scroll-all.el (scroll-all-mode): Move to windows group.
2274 2012-04-15 Chong Yidong <cyd@gnu.org>
2276 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2278 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2280 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2281 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2283 2012-04-15 Glenn Morris <rgm@gnu.org>
2285 * simple.el (process-file-side-effects): Doc fix.
2287 2012-04-15 Glenn Morris <rgm@gnu.org>
2289 * international/mule-cmds.el (set-language-environment): Doc fix.
2291 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2293 * server.el (server-auth-key, server-generate-key): Doc fixes.
2294 (server-get-auth-key): Doc fix. Use `string-match-p'.
2295 (server-start): Reflow docstring.
2297 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2299 * server.el (server-generate-key): `called-interactively-p'
2300 requires a parameter.
2302 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2304 * server.el (server-auth-key): New variable.
2305 (server-generate-key, server-get-auth-key): New function.
2306 (server-start): Use the new variable and functions to allow
2307 setting a permanent server key (bug#9423).
2309 2012-04-14 Leo Liu <sdl.web@gmail.com>
2311 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2313 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2316 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2317 Emacs uses American spelling.
2319 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2321 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2322 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2323 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2324 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2326 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * progmodes/which-func.el (which-func-modes): Change default.
2330 2012-04-14 Kim F. Storm <storm@cua.dk>
2332 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2333 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2335 2012-04-14 Chong Yidong <cyd@gnu.org>
2337 * custom.el (custom-theme-set-variables): Doc fix.
2339 2012-04-14 Glenn Morris <rgm@gnu.org>
2341 * international/mule.el (set-auto-coding-for-load): Doc fix.
2343 2012-04-14 Alan Mackenzie <acm@muc.de>
2345 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2346 imenu work again for Objective C Mode. Correct the *-index values,
2347 these having been disturbed by a previous change in 2011-08.
2349 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2350 Correct two search limits.
2352 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2354 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2356 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2358 * international/characters.el: Fix sorting.
2360 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2362 * international/characters.el: Add more missing Latin case pairs.
2364 2012-04-14 Glenn Morris <rgm@gnu.org>
2366 * files.el (dir-locals-set-class-variables): Doc fix.
2368 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2370 * international/characters.el: Add set-case-syntax-pair call for
2371 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2372 counterpart. (Bug#11209)
2374 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2376 2012-04-14 Glenn Morris <rgm@gnu.org>
2378 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2380 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2382 * textmodes/ispell.el (ispell-dictionary-base-alist):
2383 Add data for Hebrew.
2385 2012-04-14 Chong Yidong <cyd@gnu.org>
2387 * net/rcirc.el (rcirc-cmd-quit):
2388 Revert 2012-03-18 change (Bug#11192).
2390 2012-04-14 Glenn Morris <rgm@gnu.org>
2392 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2394 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2396 * minibuffer.el (completion-in-region-mode-map):
2397 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2399 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2401 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2403 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2405 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2406 to allow `C-M-f' and `C-M-b' to move to the nearest path
2407 separator (bug#9511).
2409 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2411 * avoid.el: Require cl when compiling. And also move the
2412 `provide' to the end.
2414 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2416 * avoid.el (mouse-avoidance-banish-position): New variable.
2417 (mouse-avoidance-banish-destination): Use it (bug#10165).
2419 2012-04-13 Leo Liu <sdl.web@gmail.com>
2421 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2423 2012-04-13 Ken Brown <kbrown@cornell.edu>
2425 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2426 this is no longer needed now that cygstart understands file:// URLs.
2427 (browse-url-filename-alist): For the same reason, don't modify
2428 file:// URLs on Cygwin.
2430 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2432 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2433 the region on shift if the binding is already shifted (bug#11221).
2435 2012-04-12 Glenn Morris <rgm@gnu.org>
2437 * mail/mailpost.el: Move to obsolete/.
2439 2012-04-12 Drew Adams <drew.adams@oracle.com>
2441 * imenu.el (imenu--generic-function): Ignore invisible definitions
2444 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2446 * hexl.el (hexl-bits): New variable.
2447 (hexl-options): Mention the variable in the doc string.
2448 (hexl-rulerise, hexl-line-displen): New functions.
2449 (hexl-mode): Mention the new variable.
2450 (hexl-mode, hexl-current-address, hexl-current-address):
2452 (hexl-ascii-start-column): New function.
2453 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2454 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2456 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2458 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2459 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2460 the encoding, as expected by hunspell.
2462 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2464 * battery.el (battery--linux-sysfs-regexp): New const.
2465 (battery-status-function): Use it. Remove yeeloong special case.
2466 (battery-yeeloong-sysfs): Remove.
2467 (battery-echo-area-format): Remove yeeloong special case.
2469 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2471 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2472 Reported by Noah Friedman.
2474 * subr.el (read-passwd): Use read-string.
2476 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2478 * vcursor.el (vcursor-move): Increase the priority of the overlay
2481 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2483 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2484 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2486 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2488 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2489 define-minor-mode (bug#10760).
2491 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2493 * progmodes/grep.el (rgrep): Tweak the find command line so
2494 that directories matching `grep-find-ignored-files' won't be
2497 2012-04-11 Chong Yidong <cyd@gnu.org>
2499 * startup.el (command-line): Remove support for long-obsolete
2500 variable font-lock-face-attributes.
2502 2012-04-11 Glenn Morris <rgm@gnu.org>
2504 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2506 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * window.el (window--state-get-1): Obey window-point-insertion-type.
2510 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2512 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2513 to previous function when point is on the first character of a
2514 function. Take care of that in `narrow-to-defun' (bug#6157).
2516 2012-04-11 Glenn Morris <rgm@gnu.org>
2518 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2519 not just file-errors.
2521 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2522 (vc-bzr-sha1): Use internal sha1.
2524 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2528 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2530 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2531 that start in the middle of the line (bug#10496).
2533 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2535 * battery.el (battery-linux-proc-acpi): Only one battery is
2536 discharged at a time, but that seems to confuse battery.el when
2537 computing `rate-type' for the battery not being discharged
2540 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2544 * international/quail.el: Use dolist and simplify.
2545 (quail-define-package, quail-update-keyboard-layout)
2546 (quail-define-rules): Use dolist.
2547 (quail-insert-kbd-layout, quail-get-translation): CSE.
2549 * tmm.el: Use dolist, remove left over hook.
2550 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2552 (calendar-load-hook): Don't mess with it.
2554 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2555 Use derived-mode-p. Run the diff asynchronously.
2557 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2559 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2561 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2563 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2564 (list-dynamic-libraries--loaded): New function.
2565 (list-dynamic-libraries--refresh): Use it.
2567 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2569 * progmodes/python.el (python-fill-paragraph):
2570 Make python-fill-region in a multiline string work when font-lock is
2571 disabled (bug#7018).
2573 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2575 * language/european.el (cp775): Add oem/legacy (en)coding on
2576 DOS/MS Windows for the Baltic languages. There are still plenty
2577 of texts written in this encoding/codepage (bug#6519).
2579 2012-04-10 Glenn Morris <rgm@gnu.org>
2581 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2582 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2584 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2586 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2587 next-line "n" and previous-line "p" in order to make recentf more
2588 consistent with ibuffer, dired or org-mode (bug#9387).
2590 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2592 * image.el (put-image): Return the overlay created instead of the
2593 optional input string (bug#7834). Note that this may break code
2594 that is (for some reason or other) depending on `put-image'
2595 returning the string.
2597 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2599 * simple.el (zap-to-char): Allow zapping using input methods
2602 * textmodes/fill.el (fill-region): Leave point and mark where they
2603 were before filling (bug#5399).
2605 2012-04-09 Glenn Morris <rgm@gnu.org>
2607 * version.el (emacs-bzr-get-version):
2608 Handle lightweight checkouts of local branches.
2610 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2612 * international/characters.el: Recover lost case pairs. (Bug#11209)
2614 2012-04-09 Chong Yidong <cyd@gnu.org>
2616 * custom.el (custom-variable-p): Return nil for non-symbol
2617 arguments instead of signaling an error.
2618 (user-variable-p): Obsolete alias for custom-variable-p.
2620 * apropos.el (apropos-variable):
2621 * files-x.el (read-file-local-variable):
2622 * simple.el (set-variable):
2623 * woman.el (woman-mini-help):
2624 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2626 2012-04-09 Glenn Morris <rgm@gnu.org>
2628 * startup.el (normal-top-level): Don't look for leim-list.el
2629 in places where it will not be found. (Bug#910)
2631 * international/mule-cmds.el (set-default-coding-systems):
2632 * files.el (normal-mode):
2633 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2634 This function was removed with ucs-tables.el in 2008.
2636 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2638 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2639 ispell-encoding8-command to "-i", without a trailing space.
2640 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2641 separate command-line arguments, to specify the encoding, since
2642 that's how hunspell expects it.
2644 2012-04-08 Glenn Morris <rgm@gnu.org>
2646 * loadup.el: Load bindings before cus-start.
2647 This reduces somewhat the number of "rogue" settings in emacs -Q.
2649 2012-04-07 Glenn Morris <rgm@gnu.org>
2651 * version.el (emacs-bzr-get-version): New function.
2652 (emacs-bzr-version): New variable.
2653 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2654 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2656 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2658 * international/uni-bidi.el, international/uni-category.el:
2659 * international/uni-combining.el, international/uni-decimal.el:
2660 * international/uni-decomposition.el, international/uni-digit.el:
2661 * international/uni-lowercase.el, international/uni-mirrored.el:
2662 * international/uni-name.el, international/uni-numeric.el:
2663 * international/uni-titlecase.el, international/uni-uppercase.el:
2664 Update for Unicode 6.1.
2666 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2668 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2670 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2672 * window.el (shrink-window): Mention the `window-min-height'
2673 variable in the doc string.
2675 2012-04-05 Bastien Guerry <bzg@altern.org>
2677 * color.el (color-lighten-name): Fix typo.
2679 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * server.el (server--on-display-p): New function.
2682 (server--on-display-p): Use it.
2684 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2686 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2689 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * comint.el (comint--common-quoted-suffix): Check string boundary
2692 before comparing (bug#11158).
2693 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2695 2012-04-04 Chong Yidong <cyd@gnu.org>
2697 * minibuffer.el (completion-extra-properties): Doc fix.
2699 * subr.el (delayed-warnings-hook): Doc fix.
2701 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2703 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2704 selection (Bug#11159).
2705 (epa-insert-keys): Inform that the default public key will be
2706 exported if no key is selected.
2708 2012-04-04 Richard Stallman <rms@gnu.org>
2710 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2712 2012-04-03 Chong Yidong <cyd@gnu.org>
2714 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2715 mail-insert-file, not its obsolete alias mail-attach-file.
2717 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2719 * notifications.el (notifications-notify): Fix docstring.
2721 2012-04-02 Glenn Morris <rgm@gnu.org>
2723 * emacs-lisp/authors.el (authors-aliases): Another addition.
2725 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2727 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2728 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2729 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2731 2012-04-01 Chong Yidong <cyd@gnu.org>
2733 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2734 Handle root directory properly.
2735 (copy-directory): Caller changed.
2737 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2738 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2740 2012-03-31 Glenn Morris <rgm@gnu.org>
2742 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2744 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2746 * calendar/calendar.el (calendar-window-list)
2747 (calendar-hide-window): Restore. (Bug#11140)
2748 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2750 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2752 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2754 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2755 Check if file is a symlink (Bug#10489).
2757 * files.el (copy-directory): Likewise.
2759 2012-03-30 Chong Yidong <cyd@gnu.org>
2761 * image.el (imagemagick-types-inhibit)
2762 (imagemagick-register-types): Doc fix.
2764 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2766 * ispell.el (ispell-get-extended-character-mode):
2767 Disable extended-char-mode for hunspell. hunspell does not support it
2768 and treats ~word as ordinary words in pipe mode.
2770 2012-03-30 Glenn Morris <rgm@gnu.org>
2772 * tutorial.el (help-with-tutorial): Ensure local variables don't
2773 happen to make the buffer read-only. (Bug#11127)
2775 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2778 (perl-calculate-indent): Return `noindent' in strings.
2780 2012-03-28 Sam Steingold <sds@gnu.org>
2782 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2783 instead of the broken adhockery which does not prevent calendar
2784 buffers from being displayed at random after exit.
2785 (calendar-window-list, calendar-hide-window): Remove the broken
2788 2012-03-28 Glenn Morris <rgm@gnu.org>
2790 * replace.el (query-replace-map): Doc fix.
2792 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2794 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2795 contents. (Bug#11109)
2797 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2801 (avl-tree--check, avl-tree--check-node): New funs.
2803 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2805 * window.el (switch-to-visible-buffer): New option.
2806 (switch-to-prev-buffer, switch-to-next-buffer):
2807 Observe switch-to-visible-buffer. Make sure that checking for a window
2808 showing a buffer already is done on the same frame.
2810 2012-03-27 Glenn Morris <rgm@gnu.org>
2812 * startup.el (mail-host-address): Doc fix.
2814 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2819 2012-03-26 Ami Fischman <ami@fischman.org>
2821 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2823 2012-03-26 Glenn Morris <rgm@gnu.org>
2825 * files.el (save-buffers-kill-emacs): Doc fix.
2827 * startup.el (normal-top-level, command-line, command-line-1):
2828 Give them doc strings.
2830 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2832 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2833 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2835 2012-03-25 Chong Yidong <cyd@gnu.org>
2837 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2838 theme if it was previously enabled before (Bug#11031).
2840 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2841 spec with custom-face-get-current-spec if its :shown-value is not
2842 determined yet (Bug#9337).
2843 (customize-create-theme, custom-theme-revert): Doc fixes.
2845 * button.el (button-at): Minor addition to docstring.
2847 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2849 * vc/vc.el (vc-merge): Fix a prompt.
2851 2012-03-24 Chong Yidong <cyd@gnu.org>
2853 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2856 * button.el (button-at): Minor addition to docstring.
2858 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2860 * newcomment.el (comment-choose-indent): No space after BOL.
2862 2012-03-22 Sam Steingold <sds@gnu.org>
2864 * window.el (switch-to-prev-buffer): Revert last patch because the
2865 bug turned out to be an advertised feature (Elisp manual 28.14).
2867 2012-03-22 Glenn Morris <rgm@gnu.org>
2869 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2870 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2872 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2874 * net/network-stream.el (network-stream-open-starttls): Make error
2875 message under Windows be less misleading.
2877 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2879 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2880 understands (bug#9942).
2882 2012-03-22 Chong Yidong <cyd@gnu.org>
2884 * simple.el (end-of-visible-line): Handle return value of
2885 next-single-property-change properly (Bug#9371).
2887 2012-03-22 Kenichi Handa <handa@m17n.org>
2889 * international/quail.el (quail-insert-kbd-layout): Fix previous
2890 change. To avoid unwanted bidi reordering, use
2891 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2893 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2895 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2896 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2897 (ruby-beginning-of-indent): Be more careful with the difference
2898 between word-boundary and symbol boundary.
2899 (ruby-mode-syntax-table): Make : a symbol constituent.
2901 2012-03-21 Andreas Politz <politza@fh-trier.de>
2903 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2905 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * progmodes/etags.el (tags-completion-at-point-function):
2910 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2912 2012-03-21 Sam Steingold <sds@gnu.org>
2914 * progmodes/etags.el (tags-completion-at-point-function):
2915 Avoid the error when point is inside the pattern.
2917 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2919 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2922 2012-03-21 Drew Adams <drew.adams@oracle.com>
2924 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2926 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2928 * ido.el (ido-set-current-directory, ido-read-internal)
2929 (ido-choose-completion-string, ido-completion-help): Handle nil
2930 value of ido-completion-buffer (Bug#11008).
2932 2012-03-21 Sam Steingold <sds@gnu.org>
2934 * window.el (switch-to-prev-buffer): Do not switch to a visible
2935 window previous buffer, just like with the frame previous buffers.
2937 2012-03-21 Chong Yidong <cyd@gnu.org>
2939 * faces.el (make-face, make-empty-face, copy-face):
2940 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2943 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2946 (widget-complete): Remove broken use of it.
2948 2012-03-20 Chong Yidong <cyd@gnu.org>
2950 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2951 Use string-width and truncate-string-width to handle arbitrary
2954 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2956 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2957 to draw rectangles, not squares. (Regression introduced by revno
2958 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2960 2012-03-18 Chong Yidong <cyd@gnu.org>
2962 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2963 it is not yet defined (for temacs).
2965 2012-03-18 Leo Liu <sdl.web@gmail.com>
2967 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2969 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2971 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2972 (ispell-choices-win-default-height, ispell-silently-savep)
2973 (ispell-dictionary-alist, ispell-encoding8-command)
2974 (ispell-check-version, ispell-aspell-find-dictionary)
2975 (ispell-valid-dictionary-list, ispell-words-keyword)
2976 (ispell-get-word, ispell-internal-change-dictionary)
2977 (ispell-region, ispell-skip-region-list)
2978 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2979 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2980 (ispell-message-text-end, ispell-message)
2981 (ispell-buffer-local-parsing): Doc fix.
2983 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2985 * htmlfontify.el: Add support for code block fontification for ODT
2987 (hfy-optimisations): Define new option
2989 (hfy-fontify-buffer): Honor above setting.
2990 (hfy-begin-span, hfy-end-span): New routines factored out form
2991 `hfy-fontify-buffer'.
2992 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2993 that permit insertion of custom tags.
2994 (hfy-fontify-buffer): Use above handlers.
2995 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2996 (hfy-face-to-css): Re-defined to be a variable.
2997 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2998 over multiple runs. This is made possible by having the caller let
2999 bind a special variable `hfy-user-sheet-assoc'.
3000 (htmlfontify-string): New defun.
3001 (hfy-compile-face-map): Make sure that the last char in the
3002 buffer is correctly fontified.
3003 (hfy-face-resolve-face): Whitespace only change.
3005 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3007 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3010 2012-03-16 Leo Liu <sdl.web@gmail.com>
3012 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3014 2012-03-16 Alan Mackenzie <acm@muc.de>
3016 Further optimise the handling of large macros.
3018 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3019 limit to a call of `c-literal-limits'.
3020 (c-determine-+ve-limit): New function.
3021 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3022 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3023 In CASE 5B, restrict a search limit to 500.
3024 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3026 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3027 Restrict macro bounds to +-500 from after-change's BEG END.
3029 2012-03-16 Leo Liu <sdl.web@gmail.com>
3031 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3033 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3035 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3036 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3038 2012-03-16 Glenn Morris <rgm@gnu.org>
3040 * view.el (view-buffer, view-buffer-other-window)
3041 (view-buffer-other-frame): Doc fixes re special mode-class.
3043 * subr.el (eval-after-load): If named feature is provided not from
3044 a file, run after-load forms. (Bug#10946)
3046 * calendar/calendar.el (calendar-insert-at-column):
3047 Handle non-unit-width characters a bit better. (Bug#10978)
3049 2012-03-15 Chong Yidong <cyd@gnu.org>
3051 * emacs-lisp/ring.el (ring-extend): New function.
3052 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3054 * comint.el (comint-read-input-ring)
3055 (comint-add-to-input-history): Grow comint-input-ring lazily.
3057 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3059 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3060 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3062 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3063 (imenu-add-to-menubar): Don't add a redundant index.
3064 (imenu-update-menubar): Handle a dynamically composed keymap.
3066 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3068 * mail/sendmail.el (mail-encode-header):
3069 Bind rfc2047-encode-encoded-words to nil.
3071 2012-03-13 Glenn Morris <rgm@gnu.org>
3073 * calendar/calendar.el (calendar-string-spread):
3074 Handle non-unit-width characters a bit better. (Bug#10978)
3076 2012-03-13 Leo Liu <sdl.web@gmail.com>
3078 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3079 directory and file as argument (Bug#10822).
3081 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3083 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3084 For dynamically generated code, follow $PC.
3085 (gdb-disassembly-handler-custom): Handle no function name case.
3087 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3089 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3090 * emulation/ws-mode.el (ws-query-replace):
3091 * sort.el (sort-regexp-fields):
3092 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3094 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3096 * dabbrev.el: Fix cycle completion order (bug#10963).
3097 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3098 (dabbrev-completion): Don't use an obarray; provide
3099 a cycle-sort-function.
3101 2012-03-12 Leo Liu <sdl.web@gmail.com>
3103 * simple.el (kill-new): Use equal-including-properties for comparison.
3104 (kill-do-not-save-duplicates): Doc fix.
3106 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * dabbrev.el: Fix cycle completion (bug#10963).
3109 Use lexical binding and wrap to 80 columns.
3110 (dabbrev-completion): Delay computing the list of completions.
3112 2012-03-12 Kenichi Handa <handa@m17n.org>
3114 * international/quail.el (quail-insert-kbd-layout): Surround each
3115 row by LRO and PDF instead of inserting many LRMs. Pad the left
3116 and right of each non-spacing marks. Insert invisible space
3117 between lower and upper characters to prevent composition.
3119 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3121 * minibuffer.el (minibuffer-complete): Don't get confused when the
3122 function is run twice via different commands (bug#10958).
3123 (complete-with-action): Fix docstring.
3125 2012-03-12 Chong Yidong <cyd@gnu.org>
3127 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3128 (nxml-completion-at-point-function): New function.
3129 (nxml-mode): Use it.
3130 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3132 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3133 Load generated autoloads file before byte compiling (Bug#10970).
3134 (package--make-autoloads-and-compile): New helper fun.
3136 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3138 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3140 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3142 * autorevert.el (auto-revert-handler): Ensure, that
3143 file-readable-p is applied only for local files or in
3144 auto-revert-tail-mode.
3146 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3148 * server.el (server-eval-at): Handle non-tcp connections.
3149 Decode result string.
3151 * server.el (server-msg-size): New constant.
3152 (server-reply-print): New function.
3153 (server-eval-and-print): Use it.
3154 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3157 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3159 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3162 2012-03-11 Chong Yidong <cyd@gnu.org>
3164 * simple.el (goto-line): Doc fix (Bug#9938).
3166 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3168 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3169 when finished (Bug#10963).
3171 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3173 * window.el (split-window-below): Fix bug in case where
3174 split-window-keep-point is nil (Bug#10971).
3176 2012-03-11 Juri Linkov <juri@jurta.org>
3178 * replace.el (replace-highlight): Set isearch-word to nil
3179 unconditionally. (Bug#10887)
3181 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3183 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3184 mairix-replace-illegal-chars; all callers changed. Don't remove
3185 ^, ~, and = characters: they are meaningful in mairix search specs.
3186 (mairix-widget-create-query): Add usage information about mairix
3187 search forms: negating words, searching for substrings, etc.
3189 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3191 * international/fontset.el (font-encoding-alist): Add an entry for
3194 2012-03-10 Richard Stallman <rms@gnu.org>
3196 * mail/sendmail.el (mail-encode-header):
3197 Set rfc2047-encode-encoded-words.
3199 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3201 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3202 view buffer means not swapped.
3203 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3204 (rmail-write-region-annotate): Error if real text has disappeared.
3206 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3208 2012-03-10 Chong Yidong <cyd@gnu.org>
3210 * emulation/cua-rect.el (cua--init-rectangles):
3211 * emulation/cua-base.el (cua--init-keymaps):
3212 Add delete-forward-char to remappings (Bug#9666).
3214 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3216 * speedbar.el (speedbar-unhighlight-one-tag-line):
3217 Avoid unhighlighting due to frame switching (Bug#10275).
3219 2012-03-10 Chong Yidong <cyd@gnu.org>
3221 * minibuffer.el (completion-in-region, completion-help-at-point):
3222 Give the completion field overlay a high priority (Bug#6830).
3224 * dired.el (dired-goto-file): Recognize absolute file name
3225 listings (Bug#7126).
3226 (dired-goto-file-1): New helper function.
3227 (dired-toggle-read-only): Inhibit warnings.
3229 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3231 * net/dbus.el (dbus-property-handler): Return empty array if
3232 there are no properties.
3234 2012-03-09 Leo Liu <sdl.web@gmail.com>
3236 * savehist.el (savehist-printable): Stricter check for string
3239 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3241 * mail/smtpmail.el (smtpmail-send-it):
3242 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3245 2012-03-09 Glenn Morris <rgm@gnu.org>
3247 * files.el (dir-locals-find-file):
3248 Don't check result is regular, readable.
3249 (dir-locals-read-from-file): Demote errors.
3251 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3253 * international/quail.el (quail-insert-kbd-layout):
3254 Insert invisible LRM characters before each character in a keyboard
3255 layout cell, to prevent their reordering by bidi display engine.
3256 For details, see the discussion in
3257 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3259 2012-03-08 Alan Mackenzie <acm@muc.de>
3261 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3262 the starting position; make it extend the marked region when
3263 invoked repeatedly - all under appropriate circumstances.
3264 Fixes bugs #5525, #10906.
3266 2012-03-08 Glenn Morris <rgm@gnu.org>
3268 * files.el (locate-dominating-file, dir-locals-find-file):
3269 Undo 2012-03-06 change.
3271 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3273 * international/quail.el (quail-help):
3274 Force bidi-paragraph-direction be left-to-right. See discussion in
3275 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3278 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3280 Avoid superfluous registering of signals. (Bug#10807)
3282 * notifications.el (notifications-on-action-object)
3283 (notifications-on-close-object): New defvars.
3284 (notifications-on-action-signal, notifications-on-closed-signal):
3285 Unregister the signal if not needed any longer.
3286 (notifications-notify): Register `notifications-action-signal' or
3287 `notifications-closed-signal', if :on-action or :on-close has been
3290 2012-03-07 Chong Yidong <cyd@gnu.org>
3292 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3295 2012-03-06 Glenn Morris <rgm@gnu.org>
3297 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3298 (x-disown-selection-internal, x-get-selection-internal):
3299 Doc fix (add arglist signatures). (Bug#10783)
3301 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3303 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3304 Handle breakpoints with no "type".
3306 2012-03-06 Glenn Morris <rgm@gnu.org>
3308 * files.el (locate-dominating-file): Add optional predicate argument.
3309 (dir-locals-find-file): Make use of above change.
3311 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3313 * info.el (Info-insert-dir): Also try "dir.gz".
3315 2012-03-06 Glenn Morris <rgm@gnu.org>
3317 * files.el (dir-locals-find-file):
3318 Ignore non-readable or non-regular files. (Bug#10928)
3320 * files.el (locate-dominating-file): Doc fix.
3322 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3324 * calendar/calendar.el (calendar-set-mode-line):
3325 `getenv' returns a string. (Bug#10951)
3327 2012-03-05 Leo Liu <sdl.web@gmail.com>
3329 * simple.el (backward-delete-char-untabify): Constrain point to
3332 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3334 2012-03-05 Chong Yidong <cyd@gnu.org>
3336 * simple.el (count-words): If called from Lisp, return the word
3337 count, for symmetry with `count-lines'. Arglist changed.
3338 (count-words--message): Args changed. Consolidate counting code
3339 from count-words and count-words-region.
3340 (count-words-region): Caller changed.
3341 (count-lines-region): Make it an obsolete alias.
3343 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3345 * saveplace.el (save-place-to-alist)
3346 (save-place-ignore-files-regexp): Allow value nil to disable this
3349 2012-03-04 Chong Yidong <cyd@gnu.org>
3351 * faces.el (face-spec-reset-face): For the default face, reset the
3352 attributes to default values (Bug#10748).
3354 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3356 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3357 previous patch: Check `message-send-mail-function', and not the
3358 default function (bug#10897).
3360 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3362 * notifications.el (notifications-on-action-signal)
3363 (notifications-on-closed-signal): Check for unique service name of
3364 incoming event. Fix error in removing entry.
3365 (top): Register for signals with wildcard service name.
3366 (notifications-notify): Use daemon unique service name for map entries.
3368 2012-03-04 Chong Yidong <cyd@gnu.org>
3370 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3372 2012-03-04 Glenn Morris <rgm@gnu.org>
3374 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3375 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3376 (expand-abbrev, define-abbrev-table): Doc fixes.
3378 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3380 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3381 `message-default-send-mail-function' and not `send-mail-function'
3382 when doing the prompting for `sendmail-query-once' before sending
3383 in Message buffers (bug#10897).
3385 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3386 This is inconsistent with all the other stream functions, which leave
3387 the setting up to the higher levels (if so wanted) (bug#10931).
3389 2012-03-02 Alan Mackenzie <acm@muc.de>
3391 Depessimize the handling of very large macros.
3393 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3394 (c-macro-cache-syntactic): New variables to implement a one
3395 element macro cache.
3396 (c-invalidate-macro-cache): New function.
3397 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3398 Adapt to use the new cache.
3399 (c-state-safe-place): Use better the cache of safe positions.
3400 (c-state-semi-nonlit-pos-cache)
3401 (c-state-semi-nonlit-pos-cache-limit):
3402 New variables for...
3403 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3404 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3405 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3406 Use c-state-semi-safe-place.
3408 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3409 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3411 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3413 * jka-compr.el (jka-compr-call-process):
3414 Apply `file-accessible-directory-p' only when the default directory is
3417 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3419 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3420 access of FILE2, if FILE1 does not exist.
3422 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3423 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3425 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3426 Add "PAGER=" to `process-environment'.
3428 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3430 * progmodes/sql.el: Bug fix
3431 (sql-get-login-ext): Save login values in globals.
3432 (sql-get-login): Use new version of `sql-get-login-ext'.
3433 (sql-interactive-mode): Set global `sql-connection' to nil.
3434 (sql-connect): Set global values for connection.
3435 (sql-product-interactive): Save global values as buffer local.
3437 2012-02-29 Leo Liu <sdl.web@gmail.com>
3439 * abbrev.el (define-abbrevs): Reset sys to nil.
3441 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3443 * files.el (file-equal-p): Rename from `files-equal-p'.
3444 Return nil when one or both files don't exist.
3445 (file-subdir-of-p): Now only top directory must exists,
3446 return nil if it doesn't.
3447 (copy-directory): No need to test with `file-subdir-of-p' after
3449 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3452 2012-02-28 Glenn Morris <rgm@gnu.org>
3454 * shell.el (shell-mode):
3455 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3456 * play/landmark.el (landmark-font-lock-face-O):
3457 * play/handwrite.el (handwrite):
3458 * play/gomoku.el (gomoku-O):
3459 * net/browse-url.el (browse-url-browser-display):
3460 * international/mule.el (define-charset):
3461 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3462 * filesets.el (filesets-find-file-delay):
3463 * eshell/em-xtra.el (eshell-xtra):
3464 * eshell/em-unix.el (eshell-grep):
3465 * emulation/viper.el (viper-mode):
3466 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3467 * emacs-lisp/easymenu.el (easy-menu-define):
3468 * calendar/timeclock.el (timeclock-use-display-time):
3470 * bookmark.el (bookmark-save-flag):
3471 Doc fix (standardize possessive apostrophe usage).
3473 2012-02-27 Chong Yidong <cyd@gnu.org>
3475 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3476 Fix key-binding lookup for ESC key (Bug#9146).
3478 * font-lock.el (font-lock-specified-p): Rename from
3479 font-lock-spec-present. Callers changed.
3481 2012-02-27 Daniel Hackney <dan@haxney.org>
3483 * emacs-lisp/package.el (package-compute-transaction):
3484 Handle holding a package version to t in package-load-list.
3486 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3488 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3489 (tramp-get-inode, tramp-get-device): Use cached values.
3491 2012-02-26 Alan Mackenzie <acm@muc.de>
3493 Check there is a font-lock specification before doing initial
3496 * font-core.el (font-lock-mode): Move the conditional from
3497 :after-hook to font-lock-initial-fontify.
3498 (font-lock-default-function): Move the check for a specification
3499 to font-lock-spec-present.
3501 * font-lock.el (font-lock-initial-fontify): Call ...
3502 (font-lock-spec-present): New function.
3504 2012-02-26 Jim Blandy <jimb@red-bean.com>
3506 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3507 (gdb-send): Apply it to the operand of the '-interpreter-exec
3508 console' command, so that we can pass arguments with (say) quotes
3509 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3511 2012-02-26 Chong Yidong <cyd@gnu.org>
3513 * help-fns.el (describe-function-1): Clarify description of
3514 remapping (Bug#10844).
3516 * files.el (files-equal-p): Doc fix.
3517 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3518 and quit the loop once a mismatch is found.
3520 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3522 * bs.el (bs--show-with-configuration): Don't throw an error
3523 if the window cannot be split; otherwise, subsequent calls to
3524 bs-show fail, restoring a stale window config. (Bug#10882)
3526 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3528 * term/ns-win.el (global-map): Bind ns-drag-file to
3529 ns-find-file (Bug#5855, Bug#10050).
3531 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3533 * calendar/parse-time.el (parse-time-string): Allow extractor to
3536 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3538 * net/tramp.el (tramp-file-name-for-operation):
3539 Add `files-equal-p' and `file-subdir-of-p'.
3541 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3542 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3543 Add COPY-CONTENTS argument.
3545 2012-02-25 Chong Yidong <cyd@gnu.org>
3547 Add custom groups for VC backends, for consistency with vc-bzr.
3549 * vc/vc-arch.el (vc-arch):
3550 * vc/vc-cvs.el (vc-cvs):
3551 * vc/vc-git.el (vc-git):
3552 * vc/vc-hg.el (vc-hg):
3553 * vc/vc-mtn.el (vc-mtn):
3554 * vc/vc-rcs.el (vc-rcs):
3555 * vc/vc-sccs.el (vc-sccs):
3556 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3557 All relevant defcustoms reassigned.
3559 2012-02-25 Chong Yidong <cyd@gnu.org>
3561 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3563 * term/x-win.el (x-initialize-window-system): Reduce default for
3564 x-selection-timeout to 5 seconds (Bug#8869).
3566 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3568 * files.el (files-equal-p, file-subdir-of-p): New functions.
3569 (copy-directory): Error when trying to copy a directory on itself.
3570 Add missing copy-contents arg to tramp handler.
3571 * dired-aux.el (dired-copy-file-recursive): Same.
3572 (dired-create-files): Modify destination when source is equal to
3573 dest when copying files.
3574 Return also when dest is a subdir of source. (Bug#10489)
3576 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3578 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3581 2012-02-23 Alan Mackenzie <acm@muc.de>
3583 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3584 parameter "after-hook:" to allow the expansion to run code after
3585 the execution of the mode hooks.
3587 * font-lock.el (font-lock-initial-fontify): New function extracted
3588 from font-lock-mode-internal.
3590 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3593 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3596 (completion--cache-all-sorted-completions): New function.
3597 (completion-all-sorted-completions): Use it.
3598 (completion--do-completion, minibuffer-force-complete):
3599 Use it to re-instate the flush hook.
3601 * icomplete.el (icomplete-completions): Replace last fix with a better
3604 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3606 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3607 when it might call us back infinitely (bug#10797).
3609 2012-02-23 Glenn Morris <rgm@gnu.org>
3611 * minibuffer.el (completion-category-overrides): Doc fix.
3613 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3616 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3618 2012-02-23 Glenn Morris <rgm@gnu.org>
3620 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3621 (authors-obsolete-files-regexps, authors-ignored-files)
3622 (authors-ambiguous-files, authors-renamed-files-alist):
3625 2012-02-23 Juri Linkov <juri@jurta.org>
3627 * isearch.el (isearch-occur): Sync interactive spec with occur's
3628 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3630 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3632 2012-02-22 Juri Linkov <juri@jurta.org>
3634 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3635 (ucs-insert): Doc fix. Check for hex digits in the string.
3636 Don't display `nil' in the error message. (Bug#10857)
3638 2012-02-22 Alan Mackenzie <acm@muc.de>
3640 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3642 2012-02-22 Glenn Morris <rgm@gnu.org>
3644 * ffap.el (ffap-c-path):
3645 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3647 2012-02-22 Chong Yidong <cyd@gnu.org>
3649 * custom.el (load-theme): Doc fix.
3651 2012-02-22 Glenn Morris <rgm@gnu.org>
3653 * dired-x.el (dired-guess-shell-alist-default):
3654 Remove escape sequences from nroff output. (Bug#172)
3656 2012-02-21 Glenn Morris <rgm@gnu.org>
3658 * vc/emerge.el (emerge-defvar-local):
3659 Set `permanent-local' property rather than unused `preserved'.
3661 * textmodes/picture.el (picture-delete-char): New alias.
3662 (picture-mode-map): Use it. (Bug#10860)
3663 (picture-mode): Doc fix.
3665 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3667 * newcomment.el (uncomment-region-default): Remove unused binding.
3669 2012-02-21 Glenn Morris <rgm@gnu.org>
3671 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3672 (picture-self-insert, picture-tab-chars): Doc fix.
3673 (picture-mode-map): Fix C-a, C-e.
3675 2012-02-20 Glenn Morris <rgm@gnu.org>
3677 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3679 2012-02-20 Leo Liu <sdl.web@gmail.com>
3681 * icomplete.el (icomplete-completions): Check FROM arg before
3682 passing to substring (Bug#10850).
3684 2012-02-19 Chong Yidong <cyd@gnu.org>
3686 * comint.el: Require ansi-color.
3687 (comint-output-filter-functions): Add ansi-color-process-output.
3689 * ansi-color.el: Don't set comint-output-filter-functions; it is
3690 now in the initial value defined in comint.el.
3691 (ansi-color-apply-face-function): New variable.
3692 (ansi-color-apply-on-region): Use it.
3693 (ansi-color-apply-overlay-face): New function.
3695 * shell.el (shell): No need to require ansi-color.
3696 (shell-mode): Use ansi-color-apply-face-function to highlight
3697 color escapes using font-lock-face property (Bug#10835).
3699 2012-02-19 Chong Yidong <cyd@gnu.org>
3701 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3702 mode-line formats (Bug#10839).
3704 2012-02-18 Glenn Morris <rgm@gnu.org>
3706 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3708 * mail/undigest.el (unforward-rmail-message): Doc fix.
3710 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3712 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3714 * international/characters.el (script-list): Sync with the latest
3715 Unicode Character Database.
3717 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3719 * international/titdic-cnv.el: Remove duplicate coding tag.
3720 * language/cham.el: Likewise.
3721 * language/tai-viet.el: Likewise.
3723 2012-02-18 Glenn Morris <rgm@gnu.org>
3725 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3726 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3727 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3728 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3729 * calendar/holidays.el (holiday-bahai-holidays)
3730 (calendar-holidays, list-holidays):
3731 Use utf-8 Bahá'í in doc-strings, menus, etc.
3733 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3735 * saveplace.el (save-place-ignore-files-regexp): New variable
3736 allowing for excluding files from saving their location of point.
3737 The default value matches the temporary commit message editing
3738 files from Git, SVN, Bazaar, and Mercurial.
3739 (save-place-to-alist): Use it.
3741 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3742 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * newcomment.el (uncomment-region-default): Don't leave extra space
3745 when an arg is provided (bug#8150).
3747 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3749 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3751 2012-02-17 Glenn Morris <rgm@gnu.org>
3753 * net/socks.el: Require network-stream. (Bug#10599)
3755 2012-02-17 Kenichi Handa <handa@m17n.org>
3757 * international/charprop.el:
3758 * international/uni-name.el:
3759 * international/uni-old-name.el:
3760 * international/uni-comment.el: Regenerate.
3762 2012-02-16 Glenn Morris <rgm@gnu.org>
3764 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3765 Interactively in calendar buffer, give an error if not on a date.
3767 2012-02-15 Glenn Morris <rgm@gnu.org>
3769 * shell.el (shell-delimiter-argument-list):
3770 Revert 2011-02-17 change. (Bug#8027)
3772 2012-02-15 Chong Yidong <cyd@gnu.org>
3774 * minibuffer.el (completion-at-point-functions): Doc fix.
3776 * custom.el (defcustom): Doc fix; note use of defvar.
3778 2012-02-15 Glenn Morris <rgm@gnu.org>
3780 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3783 2012-02-14 Glenn Morris <rgm@gnu.org>
3785 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3787 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3789 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3790 way the ports list is computed.
3791 (smtpmail-query-smtp-server): Prompt the user for a port number if
3792 we can't connect to any of the standard ports (bug#10810).
3794 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3796 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3798 2012-02-13 Glenn Morris <rgm@gnu.org>
3800 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3802 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3804 * net/gnutls.el (gnutls-trustfiles): New variable.
3805 (gnutls-negotiate): Use it.
3807 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3809 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3810 does its stuff if Gnus is running.
3812 2012-02-13 Alan Mackenzie <acm@muc.de>
3814 Fix a loop in c-set-fl-decl-start.
3816 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3817 c-backward-syntactic-ws actually moves backwards.
3819 2012-02-13 Leo Liu <sdl.web@gmail.com>
3821 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3822 beginning so that all \C-o chars are removed.
3824 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3826 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3828 2012-02-12 Alan Mackenzie <acm@muc.de>
3830 Fix infinite loop with long macros.
3831 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3833 2012-02-12 Chong Yidong <cyd@gnu.org>
3835 * window.el (display-buffer): Doc fix (Bug#10785).
3837 2012-02-12 Glenn Morris <rgm@gnu.org>
3839 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3840 (x-disown-selection-internal, x-get-selection-internal):
3841 Sync docs with the xselect.c versions.
3843 * allout-widgets.el: Add missing license notice.
3845 2012-02-11 Glenn Morris <rgm@gnu.org>
3847 * select.el (x-get-selection-internal, x-own-selection-internal)
3848 (x-disown-selection-internal):
3849 * x-dnd.el (x-get-selection-internal): Update declarations.
3851 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3853 * window.el (window-sides-slots):
3854 * tool-bar.el (tool-bar-position):
3855 * term/xterm.el (xterm-extra-capabilities):
3856 * ses.el (ses-self-reference-early-detection):
3857 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3858 (verilog-auto-wire-type)
3859 (verilog-auto-delete-trailing-whitespace)
3860 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3861 (verilog-auto-tieoff-declaration):
3862 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3863 (sql-oracle-statement-starters, sql-oracle-scan-on):
3864 * progmodes/prolog.el (prolog-align-comments-flag)
3865 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3866 (prolog-left-indent-regexp, prolog-paren-indent-p)
3867 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3868 (prolog-types, prolog-mode-specificators)
3869 (prolog-determinism-specificators, prolog-directives)
3870 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3871 (prolog-electric-dot-flag)
3872 (prolog-electric-dot-full-predicate-template)
3873 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3874 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3875 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3876 (prolog-program-switches, prolog-prompt-regexp)
3877 (prolog-debug-on-string, prolog-debug-off-string)
3878 (prolog-trace-on-string, prolog-trace-off-string)
3879 (prolog-zip-on-string, prolog-zip-off-string)
3880 (prolog-use-standard-consult-compile-method-flag)
3881 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3882 (prolog-imenu-max-lines, prolog-info-predicate-index)
3883 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3884 (prolog-char-quote-workaround):
3885 * progmodes/cc-vars.el (c-defun-tactic):
3886 * net/tramp.el (tramp-encoding-command-interactive)
3887 (tramp-local-end-of-line):
3888 * net/soap-client.el (soap-client):
3889 * net/netrc.el (netrc-file):
3890 * net/gnutls.el (gnutls):
3891 * minibuffer.el (completion-category-overrides)
3892 (completion-cycle-threshold)
3893 (completion-pcm-complete-word-inserts-delimiters):
3894 * man.el (Man-name-local-regexp):
3895 * mail/feedmail.el (feedmail-display-full-frame):
3896 * international/characters.el (glyphless-char-display-control):
3897 * eshell/em-ls.el (eshell-ls-date-format):
3898 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3899 (lisp-lambda-list-keyword-parameter-indentation)
3900 (lisp-lambda-list-keyword-parameter-alignment):
3901 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3902 * dired-x.el (dired-omit-verbose):
3903 * cus-theme.el (custom-theme-allow-multiple-selections):
3904 * calc/calc.el (calc-highlight-selections-with-faces)
3905 (calc-lu-field-reference, calc-lu-power-reference)
3906 (calc-note-threshold):
3907 * battery.el (battery-mode-line-limit):
3908 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3909 (archive-7z-update):
3910 * allout.el (allout-prefixed-keybindings)
3911 (allout-unprefixed-keybindings)
3912 (allout-inhibit-auto-fill-on-headline)
3913 (allout-flattened-numbering-abbreviation):
3914 * allout-widgets.el (allout-widgets-auto-activation)
3915 (allout-widgets-icons-dark-subdir)
3916 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3917 (allout-widgets-theme-dark-background)
3918 (allout-widgets-theme-light-background)
3919 (allout-widgets-item-image-properties-emacs)
3920 (allout-widgets-item-image-properties-xemacs)
3921 (allout-widgets-run-unit-tests-on-load)
3922 (allout-widgets-time-decoration-activity)
3923 (allout-widgets-hook-error-post-time)
3924 (allout-widgets-track-decoration):
3925 Add missing :version tags to new defcustoms and defgroups.
3927 * progmodes/sql.el (sql-ansi-statement-starters)
3928 (sql-oracle-statement-starters): Add custom type.
3930 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3931 (prolog-system-version): Give it a type.
3933 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3935 * term/pc-win.el (x-select-text, x-selection-owner-p)
3936 (x-own-selection-internal, x-disown-selection-internal)
3937 (x-get-selection-internal): Sync doc strings and argument lists
3938 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3940 2012-02-11 Leo Liu <sdl.web@gmail.com>
3942 * progmodes/python.el (python-end-of-statement): Fix infinite
3945 2012-02-10 Glenn Morris <rgm@gnu.org>
3947 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3948 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3950 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3952 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3953 about SMTP before checking the From header.
3955 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3956 into own function for reuse by emacsbug.el.
3958 2012-02-10 Leo Liu <sdl.web@gmail.com>
3960 * subr.el (condition-case-unless-debug): Rename from
3961 condition-case-no-debug. All callers changed.
3962 (with-demoted-errors): Fix caller.
3964 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3965 * nxml/rng-valid.el (rng-do-some-validation):
3966 * emacs-lisp/package.el (package-refresh-contents)
3967 (package-menu-execute):
3968 * desktop.el (desktop-create-buffer):
3969 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3971 2012-02-10 Glenn Morris <rgm@gnu.org>
3973 * textmodes/bibtex.el:
3974 Add missing :version tags for new/changed defcustoms.
3976 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3978 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3980 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3981 (smtpmail-via-smtp): Use it, or fall back on the From address.
3982 (smtpmail-send-it): Ditto.
3984 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3986 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3987 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3988 (byte-compile-tmp-var): New const.
3989 (byte-compile-defvar): Use it to minimize .elc size.
3990 Just use `defvar' rather than simulate it (bug#10761).
3992 2012-02-09 Glenn Morris <rgm@gnu.org>
3994 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3996 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3999 * progmodes/compile.el (compilation-error-screen-columns)
4000 (compilation-first-column, compilation-filter-start): Doc fixes.
4002 * vc/log-view.el (log-view-toggle-entry-display):
4003 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4005 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4006 (report-emacs-bug-can-use-xdg-email):
4007 (report-emacs-bug-insert-to-mailer): Doc fixes.
4008 (report-emacs-bug): Message fix.
4010 * net/browse-url.el (browse-url-can-use-xdg-open)
4011 (browse-url-xdg-open): Doc fixes.
4013 * electric.el (electric-indent-mode, electric-pair-mode)
4014 (electric-layout-rules, electric-layout-mode): Doc fixes.
4015 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4017 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4019 * server.el (server-unselect-display): Don't inadvertently kill
4020 the current buffer. (Bug#10729)
4022 2012-02-08 Glenn Morris <rgm@gnu.org>
4024 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4025 (sql-list-table): Doc fixes.
4027 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4028 Comment out (does nothing).
4030 * completion.el (dynamic-completion-mode):
4031 * dirtrack.el (dirtrack-debug-mode):
4032 * electric.el (electric-layout-mode):
4033 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4034 * face-remap.el (text-scale-mode, buffer-face-mode):
4035 * iimage.el (iimage-mode):
4036 * image-mode.el (image-transform-mode):
4037 * minibuffer.el (completion-in-region-mode):
4038 * scroll-lock.el (scroll-lock-mode):
4039 * simple.el (next-error-follow-minor-mode):
4040 * tar-mode.el (tar-subfile-mode):
4041 * tooltip.el (tooltip-mode):
4042 * vcursor.el (vcursor-use-vcursor-map):
4043 * wid-browse.el (widget-minor-mode):
4044 * emulation/tpu-edt.el (tpu-edt-mode):
4045 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4046 * international/iso-ascii.el (iso-ascii-mode):
4047 * language/thai-util.el (thai-word-mode):
4048 * mail/supercite.el (sc-minor-mode):
4049 * net/goto-addr.el (goto-address-mode):
4050 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4051 * progmodes/cwarn.el (cwarn-mode):
4052 * progmodes/flymake.el (flymake-mode):
4053 * progmodes/glasses.el (glasses-mode):
4054 * progmodes/hideshow.el (hs-minor-mode):
4055 * progmodes/pascal.el (pascal-outline-mode):
4056 * textmodes/enriched.el (enriched-mode):
4057 * vc/smerge-mode.el (smerge-mode):
4058 Doc fixes (minor mode argument).
4060 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4062 * ls-lisp.el (ls-lisp-sanitize): New function.
4063 (ls-lisp-insert-directory): Use it to fix or remove any elements
4064 in file-alist with missing attributes. (Bug#4673)
4066 2012-02-07 Alan Mackenzie <acm@muc.de>
4068 Fix spurious recognition of c-in-knr-argdecl.
4070 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4071 putative K&R region.
4073 2012-02-07 Alan Mackenzie <acm@muc.de>
4075 * progmodes/cc-engine.el (c-forward-objc-directive):
4076 Prevent looping in "#pragma mark @implementation".
4078 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4080 * notifications.el (notifications-on-closed-signal): Make `reason'
4081 optional. (Bug#10744)
4083 2012-02-07 Glenn Morris <rgm@gnu.org>
4085 * emacs-lisp/easy-mmode.el (define-minor-mode):
4086 Doc fixes for the macro and the mode it defines.
4088 * image.el (imagemagick-types-inhibit): Doc fix.
4090 * cus-start.el (imagemagick-render-type): Add it.
4092 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4094 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4095 Set the default at load time, too, so that `font-lock-fontify-buffer'
4096 can be called without setting up the entire mode first. This fixes
4097 a bug in `mm-inline-text' with C MIME parts.
4099 2012-02-06 Chong Yidong <cyd@gnu.org>
4101 * simple.el (list-processes--refresh): Delete exited processes
4104 * comint.el (comint-next-prompt): next-single-char-property-change
4105 and prev-single-char-property-change never return nil (Bug#8657).
4107 * custom.el (defcustom): Doc fix (Bug#9711).
4109 2012-02-05 Chong Yidong <cyd@gnu.org>
4111 * cus-edit.el (custom-variable-reset-backup): Quote the value
4112 before storing it in the customized-value property (Bug#6712).
4113 (custom-display): Add a customization type tag.
4114 (custom-buffer-create-internal): Improve tooltip message.
4116 * wid-edit.el (widget-field-value-get): New optional arg to
4117 suppress trailing whitespace truncation.
4118 (character): Use it (Bug#2689).
4120 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4122 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4123 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4125 2012-02-05 Chong Yidong <cyd@gnu.org>
4127 * cus-edit.el (custom-variable-value-create): For mismatched
4128 types, show the current value (Bug#7600).
4130 * custom.el (defcustom): Doc fix.
4132 2012-02-05 Glenn Morris <rgm@gnu.org>
4134 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4136 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4138 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4139 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4140 (pp-last-sexp): Use `looking-at-p'.
4142 2012-02-04 Glenn Morris <rgm@gnu.org>
4144 * files.el (revert-buffer):
4145 Doc fix (mention revert-buffer-in-progress-p).
4147 * emacs-lisp/ert-x.el (ert-simulate-command):
4148 Check deferred-action-list (which is obsolete) is bound.
4150 * subr.el (with-wrapper-hook): Doc fixes.
4152 * simple.el (filter-buffer-substring-functions)
4153 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4155 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4157 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4158 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4160 2012-02-04 Leo Liu <sdl.web@gmail.com>
4162 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4164 2012-02-04 Glenn Morris <rgm@gnu.org>
4166 * image.el (image-extension-data): Add obsolete alias.
4168 * isearch.el (isearch-update): Doc fix.
4170 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4172 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4174 2012-02-03 Glenn Morris <rgm@gnu.org>
4176 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4177 (image-animate-timeout): Doc fix.
4179 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4181 2012-02-02 Glenn Morris <rgm@gnu.org>
4183 * server.el (server-auth-dir): Doc fix.
4184 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4186 * subr.el (run-mode-hooks): Doc fix.
4188 2012-02-02 Juri Linkov <juri@jurta.org>
4190 * image-mode.el (image-toggle-display-image): Remove tautological
4191 `major-mode' from the `derived-mode-p' test.
4193 2012-02-02 Kenichi Handa <handa@m17n.org>
4195 * composite.el (compose-region): Cancel previous change.
4197 2012-02-02 Kenichi Handa <handa@m17n.org>
4199 * composite.el (compose-region, compose-string): Signal error for
4200 a null string component (Bug#6988).
4202 2012-02-01 Chong Yidong <cyd@gnu.org>
4204 * view.el (view-buffer-other-window, view-buffer-other-frame):
4205 Handle special modes like view-buffer (Bug#10650).
4206 (view-buffer): Simplify.
4208 * frame.el (set-frame-font): Tweak meaning of third argument.
4210 * dynamic-setting.el (font-setting-change-default-font):
4211 Use set-frame-font (Bug#9982).
4213 2012-02-01 Glenn Morris <rgm@gnu.org>
4215 * progmodes/compile.el (compilation-internal-error-properties):
4216 Respect compilation-first-column in the "*compilation*" buffer.
4218 * emacs-lisp/easy-mmode.el (define-minor-mode):
4219 Relax :variable's test for a named function.
4221 2012-01-31 Alan Mackenzie <acm@muc.de>
4223 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4226 2012-01-31 Chong Yidong <cyd@gnu.org>
4228 * frame.el (set-frame-font): New arg ALL-FRAMES.
4230 * menu-bar.el (menu-set-font): Use set-frame-font.
4232 * faces.el (face-spec-reset-face): Don't apply unspecified
4233 attribute values to the default face.
4235 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4237 * progmodes/cwarn.el (cwarn): Remove dead link.
4238 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4239 Remove * from defcustom docstrings.
4240 (turn-on-cwarn-mode): Make obsolete.
4241 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4242 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4244 2012-01-31 Glenn Morris <rgm@gnu.org>
4246 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4247 Fix :variable handling of mode a symbol not equal to modefun.
4248 Allow named functions to be used as the cdr of :variable.
4250 2012-01-30 Glenn Morris <rgm@gnu.org>
4252 * emacs-lisp/authors.el (authors-fixed-entries):
4253 Remove reference to deleted file rnewspost.el.
4255 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4257 * window.el (window-with-parameter): Remove unused variable `windows'.
4258 (window--side-check): Remove unused variable `code'.
4259 (window--resize-siblings): Remove unused variable `first'.
4260 (adjust-window-trailing-edge): Remove unused variable `failed'.
4261 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4262 Use `let', not `let*'.
4263 (balance-windows-2): Remove unused variable `found'.
4264 (window--state-put-2): Remove unused variable `splits'.
4265 (window-state-put): Remove unused variable `selected'.
4266 (same-window-p): Use `string-match-p'.
4267 (display-buffer-assq-regexp): Remove unused variable `value'.
4268 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4269 Mark argument ALIST as ignored.
4270 (pop-to-buffer): Remove unused variable `old-window'.
4272 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4274 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4275 and .lzma compressed files.
4277 2012-01-29 Chong Yidong <cyd@gnu.org>
4279 * frame.el (window-system-default-frame-alist): Doc fix.
4281 * dynamic-setting.el (font-setting-change-default-font): Don't
4282 change the default face if SET-FONT argument is non-nil (Bug#9982).
4284 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4286 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4288 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4290 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4291 breakpoints in files outside current directory (Bug#6098).
4293 2012-01-29 Chong Yidong <cyd@gnu.org>
4295 * progmodes/python.el: Require ansi-color at top-level.
4297 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4298 Define and use in Emacs Lisp mode (Bug#9360).
4299 (lisp-mode-abbrev-table): Add doc.
4300 (lisp-mode-variables): Don't set local-abbrev-table.
4301 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4303 2012-01-28 Roland Winkler <winkler@gnu.org>
4305 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4307 2012-01-28 Roland Winkler <winkler@gnu.org>
4309 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4310 (bibtex-set-dialect): Use it. Either set global values of
4311 dialect-dependent variables or bind these variables buffer-locally
4313 (bibtex-mode): Call bibtex-set-dialect via
4314 hack-local-variables-hook.
4315 (bibtex-dialect): Update docstring.
4316 Add safe-local-variable predicate.
4317 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4319 (bibtex-mode-map): Define menu for each dialect.
4320 (bibtex-entry): Fix docstring.
4322 2012-01-28 Chong Yidong <cyd@gnu.org>
4324 * eshell/esh-arg.el (eshell-quote-argument): New function.
4326 * eshell/esh-ext.el (eshell-invoke-batch-file):
4327 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4328 first arg to eshell-parse-command (Bug#10523).
4330 2012-01-28 Drew Adams <drew.adams@oracle.com>
4332 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4333 `default-directory' is non-nil.
4335 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4337 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4338 line that displays system-configuration-options. (Bug#9924)
4340 2012-01-28 Drew Adams <drew.adams@oracle.com>
4342 * descr-text.el (describe-char): Show information about POS, in
4343 addition to information about the character at POS. Improve and
4344 update the doc string. Change "code point" to "code point in
4345 charset", to avoid confusion with the character's Unicode code
4346 point shown above that. (Bug#10129)
4348 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4350 * descr-text.el (describe-char): Show the raw character, not only
4351 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4352 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4355 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4357 * emacs-lisp/package.el (package-install):
4358 Run package-refresh-contents if there is no archive yet (Bug#9798).
4360 2012-01-28 Chong Yidong <cyd@gnu.org>
4362 * emacs-lisp/package.el (package-maybe-load-descriptor):
4363 New function, split from package-maybe-load-descriptor.
4364 (package-maybe-load-descriptor): Use it.
4365 (package-download-transaction): Fully load required packages
4366 inside the loop, so that `require' calls work (Bug#10593).
4367 (package-install): No need to call package-initialize now.
4369 2012-01-28 Chong Yidong <cyd@gnu.org>
4371 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4373 * tooltip.el (tooltip-mode): Doc fix.
4374 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4376 * frame.el (set-cursor-color): Doc fix (Bug#352).
4378 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4379 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4381 * cus-edit.el (custom-buffer-create-internal): Fix search button
4383 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4385 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4387 * dired.el (dired-mark-files-regexp):
4388 Include any subdirectory components. (Bug#10445)
4390 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4392 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4393 Handle [host]:port syntax. (Bug#10533)
4395 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4397 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4399 2012-01-26 Glenn Morris <rgm@gnu.org>
4401 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4402 * term.el (term-raw-escape-map): Use Control-X-prefix.
4403 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4405 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4407 * window.el (window-state-get, window--state-get-1): Don't deal
4408 with fixed-sizeness of windows. Simplify code.
4410 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4412 * window.el (window--state-get-1, window--state-put-2):
4413 Don't save and restore the mark.
4415 2012-01-25 Chong Yidong <cyd@gnu.org>
4417 * custom.el (custom-variable-p): Doc fix.
4419 2012-01-25 Glenn Morris <rgm@gnu.org>
4421 * dired.el (dired-goto-file): Handle some of the more common
4422 characters that `ls -b' escapes. (Bug#10596)
4424 * progmodes/compile.el (compilation-next-error-function):
4425 Respect compilation-first-column in the "*compilation*" buffer.
4426 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4428 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4430 2012-01-24 Glenn Morris <rgm@gnu.org>
4432 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4434 2012-01-24 Julien Danjou <julien@danjou.info>
4436 * color.el (color-rgb-to-hsl): Fix value computing.
4437 (color-hue-to-rgb): New function.
4438 (color-hsl-to-rgb): New function.
4439 (color-clamp, color-saturate-hsl, color-saturate-name)
4440 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4441 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4443 2012-01-24 Glenn Morris <rgm@gnu.org>
4445 * vc/vc-rcs.el (vc-rcs-create-tag):
4446 * vc/vc-sccs.el (vc-sccs-create-tag):
4447 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4449 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4451 * eshell/esh-util.el (eshell-read-hosts-file):
4452 Skip comment lines. (Bug#10549)
4454 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4456 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4458 * subr.el (display-delayed-warnings): Doc fix.
4459 (collapse-delayed-warnings): New function to collapse identical
4461 (delayed-warnings-hook): Add it.
4463 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4465 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4467 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4468 properties, when "login-as" is set.
4470 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4471 (tramp-default-user-alist): Don't add "pscp".
4472 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4473 property "login-as", if set. (Bug#10530)
4475 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4477 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4478 "plink1" and "psftp". (Bug#10530)
4480 2012-01-21 Kenichi Handa <handa@m17n.org>
4482 * international/mule-cmds.el (prefer-coding-system): Show a
4483 warning message if the default value of file-name-coding-system
4486 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4488 * windmove.el (windmove-reference-loc):
4489 Fix windmove-reference-loc miscalculation.
4491 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4493 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4496 2012-01-21 Glenn Morris <rgm@gnu.org>
4498 * international/mule.el (auto-coding-alist): Add .tbz.
4500 * files.el (local-enable-local-variables): Doc fix.
4501 (inhibit-local-variables-regexps): Rename from
4502 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4503 Doc fix. Add some extensions from auto-coding-alist.
4504 (inhibit-local-variables-suffixes):
4505 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4506 (inhibit-local-variables-p):
4507 New function, extracted from set-auto-mode-1.
4508 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4509 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4510 (hack-local-variables): Doc fix. Make the mode-only case
4511 respect enable-local-variables and friends.
4512 Respect inhibit-local-variables-regexps for file-locals, but
4513 not for directory-locals.
4514 (set-visited-file-name):
4515 Take account of inhibit-local-variables-regexps.
4516 Whether it applies may change as the file name is changed.
4517 * jka-cmpr-hook.el (jka-compr-install):
4518 * jka-compr.el (jka-compr-uninstall):
4519 Update for inhibit-first-line-modes-suffixes name change.
4521 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4523 * help-macro.el (make-help-screen): Temporarily restore original
4524 binding for minor-mode-map-alist (Bug#10454).
4526 2012-01-19 Julien Danjou <julien@danjou.info>
4528 * color.el (color-name-to-rgb): Use the white color to find the max
4529 color component value and return correctly computed values.
4530 (color-name-to-rgb): Add missing float conversion for max value.
4532 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4534 * window.el (window--state-get-1, window-state-get): Do not use
4535 special state value for window-persistent-parameters.
4536 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4537 (window--state-put-2): Reset all window parameters to nil before
4538 assigning values of persistent parameters.
4540 2012-01-18 Alan Mackenzie <acm@muc.de>
4542 Eliminate sluggishness and hangs in fontification of "semicolon
4545 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4546 Change value 10000 -> 3000.
4547 (c-state-safe-place): Reformulate so it doesn't stack up an
4548 infinite number of wrong entries in c-state-nonlit-pos-cache.
4549 (c-determine-limit-get-base, c-determine-limit): New functions to
4550 determine backward search limits disregarding literals.
4551 (c-find-decl-spots): Amend commenting.
4552 (c-cheap-inside-bracelist-p): New function which detects "={".
4554 * progmodes/cc-fonts.el
4555 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4557 (c-font-lock-declarations): Fix an occurrence of point being
4558 undefined. Check additionally for point being in a bracelist or
4559 near a macro invocation without a semicolon so as to avoid a
4560 fruitless time consuming search for a declarator. Give a more
4561 precise search limit for declarators using the new
4564 2012-01-18 Glenn Morris <rgm@gnu.org>
4566 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4567 (set-auto-mode): Doc fixes.
4569 2012-01-17 Glenn Morris <rgm@gnu.org>
4571 * isearch.el (search-nonincremental-instead): Fix doc typo.
4573 * dired.el (dired-insert-directory): Handle newlines in directory name.
4574 (dired-build-subdir-alist): Unescape newlines in directory name.
4576 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4578 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4579 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4580 (tramp-action-terminal): Use it. (Bug#10530)
4582 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4586 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4588 * window.el (window-state-ignored-parameters): Remove variable.
4589 (window--state-get-1): Rename argument MARKERS to IGNORE.
4590 Handle persistent window parameters. Make copy of clone-of
4591 parameter only if requested. (Bug#10348)
4592 (window--state-put-2): Install a window parameter only if it has
4593 a non-nil value or an existing parameter shall be overwritten.
4595 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4597 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4599 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4601 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4602 don't pass the (nil) value of `upnode' to string-match.
4604 2012-01-14 Chong Yidong <cyd@gnu.org>
4606 * startup.el (command-line): Fix X resource class for cursorColor.
4607 Fix values recognized by the cursorBlink resource.
4609 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4611 * epg.el (epg--make-temp-file): Avoid permission race condition
4612 when running on old Emacs versions (bug#10403).
4614 2012-01-14 Glenn Morris <rgm@gnu.org>
4616 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4618 2012-01-13 Alan Mackenzie <acm@muc.de>
4620 Fix filling for when filladapt mode is enabled.
4622 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4623 c-mask-paragraph, pass in `fill-paragraph' rather than
4624 `fill-region-as-paragraph'. (This is a reversion of a previous
4626 * progmodes/cc-mode.el (c-basic-common-init):
4627 Make fill-paragraph-handle-comment buffer local and set it to nil.
4629 2012-01-13 Glenn Morris <rgm@gnu.org>
4631 * dired.el (dired-switches-escape-p): New function.
4632 (dired-insert-directory): Use dired-switches-escape-p.
4633 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4635 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4637 2012-01-12 Glenn Morris <rgm@gnu.org>
4639 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4640 changes in adaptive-fill-regexp. (Bug#10276)
4642 2012-01-11 Alan Mackenzie <acm@muc.de>
4644 Fix Emacs bug #10463 - put `widen's around the critical spots.
4646 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4647 widen around each invocation of c-state-pp-to-literal. Remove an
4648 unused let variable.
4650 2012-01-11 Glenn Morris <rgm@gnu.org>
4652 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4655 2012-01-10 Chong Yidong <cyd@gnu.org>
4657 * net/network-stream.el (network-stream-open-starttls):
4658 Avoid emitting a confusing error message when the server gives a bad
4659 response to the capability command.
4661 2012-01-10 Glenn Morris <rgm@gnu.org>
4663 * mail/unrmail.el (unrmail): Tweak previous change.
4665 2012-01-09 Chong Yidong <cyd@gnu.org>
4667 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4669 2012-01-08 Alan Mackenzie <acm@muc.de>
4671 Optimise font locking in long enum definitions.
4673 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4674 arm to a cond form to handle enums.
4675 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4676 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4678 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4680 * files.el (move-file-to-trash): Preserve default file modes on error.
4683 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685 * faces.el (set-face-attribute): Clarify the meaning of the nil
4688 * subr.el (with-selected-frame): Mention that the selected frame
4689 is restored (bug#9980).
4691 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4694 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4695 (password-read): Don't autoload unused function.
4697 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4699 * progmodes/which-func.el (which-func-mode): Turn into a
4700 non-interactive function and mark as obsolete (bug#10428).
4702 2012-01-06 Chong Yidong <cyd@gnu.org>
4704 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4705 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4706 functions, along with 1 and -1.
4708 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4710 * time.el (display-time-load-average)
4711 (display-time-default-load-average): Doc fixes. See the thread
4713 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4716 2012-01-06 Glenn Morris <rgm@gnu.org>
4718 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4719 has no messages. (Bug#10377)
4721 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4722 than Info-edit. (Bug#10385)
4724 * time.el (display-time-load-average, display-time-next-load-average):
4727 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4728 local setting of buffer-read-only to the input buffer. (Bug#10419)
4730 * calendar/calendar.el (calendar-mode):
4731 Locally set scroll-margin to 0. (Bug#10379)
4733 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4735 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4737 2012-01-05 Glenn Morris <rgm@gnu.org>
4739 * eshell/em-unix.el (diff-no-select): Autoload it.
4740 (eshell/diff): Use diff-no-select. (Bug#10420)
4742 2012-01-05 Chong Yidong <cyd@gnu.org>
4744 * shell.el (shell-dynamic-complete-functions): Revert last change.
4745 (shell-command-completion-function): New function.
4746 (shell-completion-vars): Use it to implement
4747 shell-completion-execonly (Bug#10417).
4749 * custom.el (enable-theme): Don't set custom-safe-themes.
4751 * cus-theme.el (custom-theme-merge-theme):
4752 Ignore custom-enabled-themes and custom-safe-themes.
4754 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4756 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4757 first prompt in `sql-interacive-mode'.
4758 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4760 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4761 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4762 context of original buffer. Invoke `sql-login-hook'.
4764 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4766 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4767 letters in cite-prefix.
4769 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4771 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4773 2012-01-03 Chong Yidong <cyd@gnu.org>
4775 * shell.el (shell-dynamic-complete-functions):
4776 Put pcomplete-completions-at-point, so as to try
4777 comint-filename-completion first (Bug#10417).
4779 2012-01-02 Richard Stallman <rms@gnu.org>
4781 * battery.el (battery-status-function):
4782 Detect when to use battery-yeeloong-sysfs.
4783 (battery-echo-area-format): Add string for Yeeloong.
4784 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4785 (battery-yeeloong-sysfs): New function.
4787 2012-01-02 Chong Yidong <cyd@gnu.org>
4789 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4790 (dirtrack): Merge code for handling relative filenames in prompt
4791 from shell-dir-cookie-watcher.
4792 (dirtrack-debug-message): New arg to avoid excess format calls.
4794 * shell.el (shell-dir-cookie-re): Variable deleted.
4795 (shell-dir-cookie-watcher): Function deleted.
4796 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4799 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4801 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4802 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4805 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4807 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4809 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4811 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4812 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4814 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4816 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4817 also for alternative shells.
4818 (tramp-open-connection-setup-interactive-shell): Check, whether
4819 the shell is a busybox.
4820 (tramp-send-command): Don't suppress multiple prompts for
4821 busyboxes, it hurts.
4823 2011-12-28 Chong Yidong <cyd@gnu.org>
4825 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4826 (gdb-get-source-file): Move mode line update to
4827 gdb-get-source-file (Bug#10087).
4829 2011-12-25 Chong Yidong <cyd@gnu.org>
4831 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4832 gud-gdb-marker-filter without taking it as an argument.
4833 (gud-gdb-run-command-fetch-lines): Caller changed.
4834 (gud-gdb-completion-function): New variable.
4835 (gud-gdb-completion-at-point): Use it.
4836 (gud-gdb-completions-1): Split from gud-gdb-completions.
4838 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4839 function as separate arguments.
4840 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4841 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4842 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4843 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4844 (gdb-stopped, def-gdb-auto-update-trigger)
4845 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4846 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4848 (gud-gdbmi-completions): New function.
4849 (gdb): Use it for generating the completion table.
4851 2011-12-24 Alan Mackenzie <acm@muc.de>
4853 Introduce a mechanism to widen the region used in context font
4854 locking. Use this to protect declarations from losing their contexts.
4856 * progmodes/cc-langs.el (c-before-font-lock-functions):
4857 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4858 (c-before-context-fontification-functions): New defvar, a list of
4859 functions to be run just before context (etc.) font locking.
4861 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4862 New, functionality extracted from
4863 c-neutralize-syntax-in-and-mark-CPP.
4864 (c-in-after-change-fontification): New variable.
4865 (c-after-change): Set c-in-after-change-fontification.
4866 (c-set-fl-decl-start): Rejig its interface, so it can be called
4867 from both after-change and context fontifying.
4868 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4870 (c-standard-font-lock-fontify-region-function): New variable.
4871 (c-font-lock-fontify-region): New function.
4873 2011-12-24 Juri Linkov <juri@jurta.org>
4875 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4878 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4880 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4881 existence of source file. (Bug#10325)
4883 2011-12-23 Alan Mackenzie <acm@muc.de>
4885 Fix unstable fontification inside templates.
4887 * progmodes/cc-langs.el (c-before-font-lock-functions):
4888 Newly created from the singular version. The (c c++ objc) entry now
4889 additionally has c-set-fl-decl-start. The other languages (apart
4890 from AWK) have that as a single entry.
4892 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4893 The functionality for "local" declarations has been extracted to
4894 c-set-fl-decl-start.
4896 * progmodes/cc-mode.el (c-common-init, c-after-change):
4897 Changes due to pluralisation of c-before-font-lock-functions.
4898 (c-set-fl-decl-start): New function, extracted from
4899 c-font-lock-enclosing-decls and enhanced.
4901 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4903 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4905 2011-12-22 Juri Linkov <juri@jurta.org>
4907 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4909 2011-12-22 Chong Yidong <cyd@gnu.org>
4911 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4913 2011-12-21 Drew Adams <drew.adams@oracle.com>
4915 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4917 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4919 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4921 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4923 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4924 highlighting and support. Fix up comments for capitalization.
4925 (cfengine-mode-debug): New var.
4926 (cfengine3-mode): Change the modeline indicator to "CFE3".
4927 (cfengine3-font-lock-keywords): Improve defun highlighting.
4928 (cfengine2-actions): Rename from `cfengine-actions'.
4929 (cfengine2-font-lock-keywords): Rename from
4930 `cfengine-font-lock-keywords'.
4931 (cfengine2-imenu-expression): Rename from
4932 `cfengine-imenu-expression'.
4933 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4934 (cfengine2-beginning-of-defun): Rename from
4935 `cfengine-beginning-of-defun'.
4936 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4937 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4938 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4939 modeline indicator to "CFE2".
4940 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4941 (cfengine-mode-abbrevs): Mark obsolete.
4943 2011-12-21 Chong Yidong <cyd@gnu.org>
4945 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4948 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4950 * window.el (window-normalize-buffer-to-display): Remove.
4951 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4953 2011-12-19 Chong Yidong <cyd@gnu.org>
4955 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4956 Don't signal an error in a predicate function; return non-nil.
4957 (vc-dir-mark-file): Move the error here.
4958 (vc-dir-mark-unmark): If acting on the region, keep going if one
4959 of the entries cannot be marked/unmarked.
4960 (vc-dir-mark-all-files): If current entry is a directory, mark
4961 only child files, as documented.
4963 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4965 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4966 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4969 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4971 * term/ns-win.el (ns-get-selection-internal)
4972 (ns-store-selection-internal): Declare.
4973 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4974 Declare as obsolete.
4975 (ns-get-pasteboard, ns-paste-secondary):
4976 Use ns-get-selection-internal.
4977 (ns-set-pasteboard, ns-copy-including-secondary):
4978 Use ns-store-selection-internal.
4980 2011-12-17 Chong Yidong <cyd@gnu.org>
4982 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4983 (vc-deduce-fileset): Doc fix.
4985 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4987 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4989 2011-12-13 Sam Steingold <sds@gnu.org>
4991 * man.el (Man-getpage-in-background): When running under a
4992 window-system, ignore $MANWIDTH and $COLUMNS.
4994 2011-12-15 Kenichi Handa <handa@m17n.org>
4996 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4997 (setup-ethiopic-environment-internal): Comment out key-binding for
4998 ethio-toggle-punctuation.
5000 2011-12-13 Alan Mackenzie <acm@muc.de>
5002 Add the switch statement to AWK Mode.
5004 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5005 "default" to the keywords regexp.
5007 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5008 expression as the rest.
5009 (c-nonlabel-token-key): Allow string literals for AWK.
5010 Refactor for the other modes.
5012 Large brace-block initialisation makes CC Mode slow: Fix.
5013 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5014 routines. Limit backward searching in c-font-lock-enclosing.decl.
5016 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5017 pp-state and literal type in addition to the limits.
5018 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5019 (c-state-literal-at): Use the above new defun.
5020 (c-slow-in-literal, c-fast-in-literal): Remove.
5021 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5023 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5024 being in a literal. Add a limit for backward searching.
5026 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5029 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5033 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5035 * window.el (delete-other-windows): Use correct frame in call to
5036 window-with-parameter.
5038 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5040 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5041 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5042 (makefile-gmake-statements, makefile-makepp-statements):
5043 Use it and add new makepp keywords.
5044 (makefile-makepp-font-lock-keywords): Add new patterns.
5045 (makefile-match-function-end): Match new [...] and [[...]].
5047 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5049 * ses.el (ses-call-printer-return, ses-cell-property-get)
5050 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5051 (ses-create-cell-variable, ses-reset-header-string)
5052 (ses-cell-set-formula, ses-repair-cell-reference-all)
5053 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5054 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5055 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5056 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5057 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5058 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5059 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5060 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5061 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5062 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5063 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5064 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5066 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5068 * ses.el: The overall change is to add cell renaming, that is
5069 setting fancy names for cell symbols other than name matching
5070 "\\`[A-Z]+[0-9]+\\'" regexp .
5071 (ses-create-cell-variable): New defun.
5072 (ses-relocate-formula): Relocate formulas only for cells the
5073 symbols of which are not renamed, i.e. symbols whose names do not
5074 match regexp "\\`[A-Z]+[0-9]+\\'".
5075 (ses-relocate-all): Relocate values only for cells the symbols of
5076 which are not renamed.
5077 (ses-load): Create cells variables as the (ses-cell ...) are read,
5078 in order to check row col consistency with cell symbol name only
5079 for cells that are not renamed.
5080 (ses-replace-name-in-formula): New defun.
5081 (ses-rename-cell): New defun.
5083 2011-12-11 Chong Yidong <cyd@gnu.org>
5085 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5086 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5088 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5090 * window.el (other-window): Fix docstring.
5092 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5094 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5095 `from' or `to' address before taking its substring.
5096 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5097 encoded name is chopped in the middle of the encoded string, and
5098 thus displayed encoded.
5100 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5102 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5104 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5106 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5107 to use texinfo-update-node and commands that call it if the
5108 Texinfo file uses @node lines without next/prev/up pointers.
5109 Correct outdated description about texinfo-master-menu.
5110 (texinfo-all-menus-update, texinfo-master-menu)
5111 (texinfo-update-node, texinfo-every-node-update)
5112 (texinfo-multiple-files-update): Doc fix. Warn against updating
5113 all the @node lines.
5114 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5115 argument is numeric. Explain better in the doc string what the
5116 function really does.
5117 (texinfo-insert-master-menu-list): Improve the error message
5118 displayed if there's no menu in the Top node.
5119 (Bug#2975) See also this thread:
5120 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5122 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5124 * speedbar.el (speedbar-supported-extension-expressions):
5125 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5127 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5129 * printing.el (pr-mode-alist):
5130 * simple.el (filter-buffer-substring-functions)
5131 (completion-list-insert-choice-function):
5132 * window.el (window-with-parameter, window-atom-root)
5133 (window-sides-slots, window-size-fixed, window-min-delta)
5134 (window-max-delta, window--resize-mini-window)
5135 (window--resize-child-windows-normal, window-tree)
5136 (delete-other-windows, quit-window, split-window)
5137 (display-buffer-record-window, special-display-buffer-names)
5138 (special-display-regexps, special-display-popup-frame)
5139 (same-window-p, split-window-sensibly)
5140 (display-buffer-overriding-action, display-buffer-alist)
5141 (display-buffer-base-action, display-buffer, switch-to-buffer)
5142 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5143 (fit-window-to-buffer, recenter-positions)
5144 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5145 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5146 and remove unneeded backslashes in docstrings.
5148 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5150 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5152 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5153 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5155 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5156 when reading the makefile (bug#10116).
5158 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5160 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5163 2011-12-06 Glenn Morris <rgm@gnu.org>
5165 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5167 2011-12-06 Chong Yidong <cyd@gnu.org>
5169 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5171 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5173 * textmodes/table.el (table-shorten-cell): Fix typo.
5175 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5177 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5179 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5181 * descr-text.el (describe-char): Fix display of strong
5182 right-to-left characters and directional embeddings and overrides.
5184 * simple.el (what-cursor-position): Fix display of codepoints of
5185 strong right-to-left characters.
5187 2011-12-05 Chong Yidong <cyd@gnu.org>
5189 * faces.el (read-color): Doc fix.
5191 2011-12-05 Glenn Morris <rgm@gnu.org>
5193 * align.el (align--set-marker): Add doc-string.
5194 Don't try to move something that is not a marker. (Bug#10216)
5196 2011-12-04 Glenn Morris <rgm@gnu.org>
5198 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5199 overly zealous deletion of trailing whitespace.
5201 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5203 * server.el (server-delete-client): On Windows, do not try to delete
5205 (server-process-filter): On Windows, treat requests for a tty frame as
5206 if they were for a GUI frame if the running server is in GUI mode.
5208 2011-12-03 Glenn Morris <rgm@gnu.org>
5210 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5212 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * electric.el: Streamline electric-indent's hook.
5215 (electric-indent-chars): Revert to simple list.
5216 (electric-indent-functions): New var.
5217 (electric-indent-post-self-insert-function): Use it.
5219 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5220 there's no inferior buffer (bug#10196).
5221 (prolog-consult-compile): Don't use toggle-read-only.
5223 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5225 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5226 interrupt. (Bug#10187)
5228 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5233 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5236 2011-12-02 Juri Linkov <juri@jurta.org>
5238 * info.el (Info-search): Display "end of manual" when Isearch
5239 reaches the end of single-file Info manual. (Bug#9918)
5241 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5243 * isearch.el (isearch-message-prefix): Run the input method part
5244 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5246 2011-12-02 Juri Linkov <juri@jurta.org>
5248 * isearch.el (isearch-occur): Use `word-search-regexp' for
5250 (isearch-search-and-update): Add condition for `isearch-word' and
5251 call `word-search-regexp'. (Bug#10145)
5253 2011-12-01 Glenn Morris <rgm@gnu.org>
5255 * eshell/em-hist.el (eshell-hist-initialize):
5256 Handle eshell-history-size nil and HISTSIZE set or unset.
5257 (eshell-history-file-name, eshell-history-size): Fix custom type.
5259 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5261 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5263 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5265 * progmodes/verilog-mode.el (verilog-pretty-expr):
5266 Rework verilog-pretty-expr to handle new assignment operators in system
5267 verilog, such as += *= and the like.
5268 (verilog-assignment-operator-re): Regular expression to find the
5269 assigment operator in a verilog assignment.
5270 (verilog-assignment-operation-re): Regular expression to find an
5271 assignment statement for pretty-expr.
5272 (verilog-in-attribute-p): Query returns true if point is in an
5273 attribute context; used to skip these for expression line up from
5275 (verilog-in-parameter-p): Query returns true if point is in an
5276 parameter definition context; used to skip these for expression
5277 line up from pretty-expr.
5278 (verilog-in-parenthesis-p): Query returns true if point is in a
5279 parenthetical expression, specifically ( ) but not [ ] or { };
5280 used by pretty-expr.
5281 (verilog-just-one-space): If there is no space, don't add one.
5282 (verilog-get-lineup-indent-2): Specifically skip just attribute
5283 contexts for expression lineup, rather than skipping all
5284 parenthetical expressions.
5285 (verilog-calculate-indent): Fix comment, and fix indent.
5286 (verilog-do-indent): Indent declarations in lists (suggested by
5288 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5290 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5293 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5295 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5296 parameters with embedded comments. Reported by Ray Stevens.
5297 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5298 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5299 Reported by Tim Holt.
5300 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5301 instantiated by upper module causing wrong expansion until AUTOed a
5302 second time. Reported by K C Buckenmaier.
5303 (verilog-diff-auto): Fix showing .* as a difference when
5304 `verilog-auto-star-save' off. Reported by Dan Dever.
5305 (verilog-auto-reset, verilog-read-always-signals)
5306 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5307 temporary signals in reset list if
5308 verilog-auto-reset-blocking-in-non is nil, and match assignment
5309 style to each signal's assignment type, bug381.
5310 Reported by Thomas Esposito.
5311 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5312 (verilog-uvm-statement-re): Support UVM indentation and
5313 highlighting, with old OVM keywords only.
5314 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5315 Support AUTOTIEOFF creating non-wire data types.
5316 Suggested by Jonathan Greenlaw.
5317 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5318 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5319 (verilog-inject-sense, verilog-read-inst-pins)
5320 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5321 Fix mismatching parenthesis inside commented out code when deleting
5322 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5323 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5324 non-numeric vector width. Reported by Alex Reed.
5325 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5326 detecting signals with parameter widths. Reported by Alex Reed.
5327 (verilog-auto-delete-trailing-whitespace):
5328 With `verilog-auto-delete-trailing-whitespace' remove trailing
5329 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5330 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5331 Fix verilog-scan-cache corruption when running user AUTO expansion
5332 hooks that call indentation routines.
5333 (verilog-simplify-range-expression): Fix typo ignoring lower case
5335 (verilog-delete-auto): Fix delete-autos to also remove user created
5336 automatics, as long as they start with AUTO.
5337 (verilog-batch-diff-auto, verilog-diff-auto)
5338 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5339 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5340 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5341 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5342 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5343 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5344 is disabled and its cache will get corrupt, causing AUTOS not to
5345 expand. Instead use only -quick functions.
5346 (verilog-scan-region): Fix scanning over escaped quotes.
5347 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5348 (verilog-re-search-backward-quick)
5349 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5350 related functions now ignore strings, to fix misparsing of strings
5351 with magic comments embedded in them.
5352 (verilog-read-auto-template):
5353 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5354 Reported by Brad Dobbie.
5355 (verilog-read-auto-template):
5356 Fix 'verilog-auto-inst-template-numbers' with comments.
5357 Reported by Brad Dobbie.
5358 (verilog-auto-inst, verilog-auto-inst-param)
5359 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5360 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5361 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5362 debugging templates without merge conflicts, bug357.
5363 Reported by Brad Dobbie.
5364 (verilog-read-auto-template):
5365 Fix verilog-auto-inst-template-numbers with multiple templates.
5366 Reported by Brad Dobbie.
5367 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5368 abbrevs so user won't be asked to save.
5369 (verilog-read-auto-lisp-present): Fix to start at beginning of
5370 buffer in case called outside of verilog-auto.
5371 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5372 to "X-2". Reported by Matthew Myers.
5373 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5374 all inputs from module templates. Reported by Leith Johnson.
5375 (verilog-module-inside-filename-p): Fix locating programs as with
5377 (verilog-auto-inst-port): Fix vl-width expressions when using
5378 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5379 (verilog-decls-get-regs, verilog-decls-get-signals,
5380 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5381 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5382 verilog-read-decls): Combine reg and wire structures into one var
5383 structure to represent SystemVerilog concepts.
5384 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5385 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5386 (verilog-auto-wire-type, verilog-insert-definition):
5387 Add verilog-auto-wire-type and AUTOLOGIC to support using
5388 SystemVerilog "logic" keyword instead of "wire"/"reg".
5389 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5390 to declares outputs that also have assignments (presumably in an
5391 ifdef or generate if so there's not a driver conflict).
5392 Reported by Matthew Myers.
5393 (verilog-auto-declare-nettype, verilog-insert-definition):
5394 Add verilog-auto-declare-nettype to fix declarations using
5395 `default_nettype none. Reported by Julian Gorfajn.
5396 (verilog-read-always-signals-recurse, verilog-read-decls)
5397 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5398 malformed end statement, bug325. Reported by Joshua Wise and
5400 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5401 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5402 when expanding .* in interfaces, bug320.
5403 Reported by Pierre-David Pfister.
5404 (verilog-read-module-name): Fix import statements between module
5405 name and open parenthesis, bug317.
5406 Reported by Pierre-David Pfister.
5407 (verilog-simplify-range-expression): Fix simplification of
5408 multiplications inside AUTOWIRE connections, bug303.
5409 (verilog-auto-inst-port): Support parameter expansion in
5410 multidimensional arrays.
5411 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5412 after "assert property". Reported by Julian Gorfajn.
5413 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5414 with multiplication, bug303.
5415 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5416 Reported by Jan Frode Lonnum.
5418 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5420 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5421 (hfy-shell-file-name, hfy-shell):
5422 * international/fontset.el (x-decompose-font-name): Fix typos.
5424 2011-11-29 Ken Brown <kbrown@cornell.edu>
5426 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5427 (gdb-version): Remove defvar.
5428 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5429 (gdb-gud-context-command, gdb-non-stop-handler)
5430 (gdb-current-context-command, gdb-stopped): Use it.
5431 (gdb-init-1): Enable pretty printing here.
5432 (gdb-non-stop-handler): Don't enable pretty-printing here.
5433 Check to see if the target supports non-stop mode; if not, turn off
5434 non-stop mode. Use the following.
5435 (gdb-check-target-async): New defun.
5436 (gud-watch, gdb-stopped): Fix whitespace.
5437 (gdb-get-source-file): Don't try to display the source file if
5438 `gdb-main-file' is nil.
5440 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * align.el: Try to generate fewer markers (bug#10047).
5443 (align--set-marker): New macro.
5444 (align-region): Use it.
5446 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5450 2011-11-29 Chong Yidong <cyd@gnu.org>
5452 * indent.el (indent-for-tab-command, indent-according-to-mode):
5454 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5456 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5458 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5459 aware of remote file names. (Bug#10124)
5461 2011-11-29 Chong Yidong <cyd@gnu.org>
5463 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5465 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * files.el (find-file): Don't use force-same-window (bug#10144).
5468 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5469 use pop-to-buffer if the selected window can't be used.
5470 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5472 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5474 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5477 2011-11-28 Chong Yidong <cyd@gnu.org>
5479 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5481 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5483 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5484 gdb-get-source-file-list on gdb-create-source-file-list.
5486 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5488 * whitespace.el (whitespace-newline): Use a different foreground
5489 color for 16-color light-background displays.
5491 2011-11-24 Chong Yidong <cyd@gnu.org>
5493 * window.el (display-buffer--special-action): Doc fix.
5495 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5497 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5498 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5499 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5500 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5501 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5502 (avl-tree-stack-first):
5503 * emacs-lisp/cconv.el (cconv--analyse-use):
5504 * net/gnutls.el (gnutls-negotiate): Fix typos.
5506 2011-11-24 Glenn Morris <rgm@gnu.org>
5508 * lpr.el (lpr-windows-system, lpr-lp-system):
5509 * mail/binhex.el (binhex-begin-line):
5510 * progmodes/grep.el (grep-history, grep-find-history):
5511 * textmodes/flyspell.el:
5512 * vc/pcvs-defs.el (cvs-global-menu):
5513 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5514 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5515 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5517 * net/tls.el: Fix case of "GnuTLS".
5519 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5521 * version.el (emacs-build-system): Give it a doc-string.
5523 2011-11-24 Juri Linkov <juri@jurta.org>
5525 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5527 2011-11-24 Glenn Morris <rgm@gnu.org>
5529 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5530 if called on a non-mime message just toggle the headers. (Bug#8006)
5532 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5534 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5535 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5536 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5537 (allout-rebullet-heading, allout-open-sibtopic)
5538 (allout-toggle-current-subtree-encryption)
5539 (allout-toggle-subtree-encryption, allout-encrypt-string)
5540 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5541 (allout-distinctive-bullets-string, allout-auto-activation):
5542 * window.el (window-normalize-buffer-to-display):
5543 * progmodes/verilog-mode.el (verilog-batch-indent):
5544 * textmodes/bibtex.el (bibtex-field-braces-opt)
5545 (bibtex-field-strings-opt):
5546 * vc/cvs-status.el (cvs-tree-merge):
5549 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5551 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5552 `non-essential' to t, in order to avoid remote connections.
5554 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5556 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5557 On MS-DOS and MS-Windows, compare with loaddefs.el
5560 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5562 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5564 2011-11-23 Glenn Morris <rgm@gnu.org>
5566 * paths.el (rmail-file-name): Reformat the doc-string so that it
5569 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5570 (rmail-auto-file): Ignore case in the "special" field names,
5571 as mail-fetch-field does for all others.
5573 * mail/rmail.el (rmail-forward):
5574 * mail/rmailkwd.el (rmail-set-label):
5575 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5576 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5578 * mail/rmail.el (rmail-current-message): Doc fix.
5580 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5582 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5586 2011-11-22 Glenn Morris <rgm@gnu.org>
5588 * mail/rmailmm.el (test-rmail-mime-handler)
5589 (test-rmail-mime-bulk-handler)
5590 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5592 2011-11-21 Juri Linkov <juri@jurta.org>
5594 * calc/calc.el (calc-read-key-sequence):
5595 Let-bind `input-method-function' to nil. (Bug#10018)
5597 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5600 Tell the caller that the next line needs recomputation, even
5601 though it doesn't start a sexp (bug#10094).
5603 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5607 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5610 Use force-same-window.
5612 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5614 * descr-text.el (describe-char-unicode-data):
5615 * json.el (json-string-escape):
5616 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5617 (Footnote-unicode, Footnote-style-p):
5618 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5620 2011-11-20 Chong Yidong <cyd@gnu.org>
5622 * window.el (replace-buffer-in-windows): Restore interactive spec.
5624 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5626 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5628 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5629 (byte-compile-global-not-obsolete-vars): New var.
5630 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5632 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5634 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5636 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5637 * progmodes/pascal.el (electric-pascal-equal):
5638 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5639 * xml.el (xml-substitute-special): Fix typos.
5641 2011-11-20 Glenn Morris <rgm@gnu.org>
5643 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5644 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5646 (rmail-decode-mime-charset): Mark as obsolete.
5648 * mail/rmailsum.el (rmail-message-regexp-p-1):
5649 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5650 Before using mime functions, check they are set. (Bug#10077)
5652 2011-11-19 Juri Linkov <juri@jurta.org>
5654 * info.el (Info-finder-find-node): Use `package--builtins' instead
5655 of `package-alist'. Use node names formed by the pattern "Keyword "
5656 and the keyword name.
5658 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5660 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5662 2011-11-19 Juri Linkov <juri@jurta.org>
5664 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5665 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5666 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5667 `old-history', `old-history-forward'. Add let-binding
5668 `window-selected'. Remove calls to `kill-buffer',
5669 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5670 before calling `Info-find-node', so `Info-find-node-2' will reread
5671 the Info file. Restore window positions only when `window-selected'
5674 2011-11-19 Juri Linkov <juri@jurta.org>
5676 * isearch.el (isearch-lazy-highlight-new-loop):
5677 Remove condition `(not isearch-error)'. (Bug#9918)
5679 * misearch.el (multi-isearch-search-fun): Add condition
5680 `(not bound)' to ignore lazy-highlighting search.
5681 Add the search-failed message "end of multi" when the end of
5682 multi-sequence is reached. Uncapitalize the search-failed
5683 message "Repeat for next buffer".
5685 * info.el (Info-search): Add the search-failed message
5686 "end of the manual" when the end of the manual is reached
5689 2011-11-19 Juri Linkov <juri@jurta.org>
5691 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5692 Use non-destructive `remove' instead of `delete' because
5693 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5694 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5696 2011-11-19 Juri Linkov <juri@jurta.org>
5698 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5699 to nil instead of binding `search-ring' and `regexp-search-ring'.
5702 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5704 * simple.el (line-move): Force movement by logical lines for any
5705 hscrolled window, not only when auto-hscroll-mode is on.
5706 (line-move-visual): Update doc string to that effect. (Bug#10076)
5708 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5710 * language/european.el (macintosh): Define as alias for mac-roman.
5712 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5714 * mail/rmailmm.el (rmail-mime-display-header)
5715 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5716 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5717 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5718 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5719 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5721 (rmail-mime-entity-segment): To get past the tagline, move forward
5722 2 more lines, to account for the 2 empty lines that precede and
5723 follow the line with the buttons.
5724 (rmail-mime-update-tagline): Move one more line, to get past the
5725 empty line that follows the buttons in the tagline. (Bug#9520)
5727 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5729 * window.el (window-max-delta-1, window-min-delta-1)
5730 (window-min-size-1, window-state-get-1, window-state-put-1)
5731 (window-state-put-2): Use "window--" prefix.
5733 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5736 (smie-warning-count): New var.
5737 (smie-set-prec2tab): Use it.
5738 (smie-bnf->prec2): Improve warnings. Add docstring.
5739 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5740 (smie-bnf--set-class): New function.
5741 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5744 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5745 (compilation-error-properties, compilation-move-to-column):
5746 Handle compilation-first-column while in the target buffer.
5748 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5749 Don't hardcode point-min==1.
5751 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5752 (eshell-rewrite-for-command): Remove workaround.
5753 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5754 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5755 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5757 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5759 2011-11-17 Glenn Morris <rgm@gnu.org>
5761 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5762 Ignore buffer-local generated-autoload-file if it is the same
5763 as the global value. (Bug#10049)
5765 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5767 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5768 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5769 (reftex-toc-previous-heading, reftex-toc-max-level)
5770 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5771 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5772 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5773 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5774 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5775 (reftex-toc-rename-label, reftex-toc-visit-location)
5776 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5777 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5778 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5779 leaving "*toc*" only for references to the buffer.
5781 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5783 * window.el (window-resize, delete-window, split-window):
5784 Replace window-splits by window-combination-resize.
5785 * cus-start.el (window-splits): Replace by window-combination-resize.
5787 2011-11-17 Glenn Morris <rgm@gnu.org>
5789 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5790 Make bash entry derive from sh entry, not shell entry.
5792 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5794 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5795 properties of linked files. (Bug#9879)
5797 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5800 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5802 * menu-bar.el (menu-bar-file-menu):
5803 * printing.el (pr-ps-utility):
5804 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5805 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5806 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5807 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5808 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5809 (icalendar--convert-cyclic-to-ical)
5810 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5811 (icalendar--convert-ical-to-diary)
5812 (icalendar--convert-recurring-to-diary)
5813 (icalendar--convert-non-recurring-all-day-to-diary)
5814 (icalendar-import-format-sample):
5815 * progmodes/idlw-shell.el (idlwave-shell-mode):
5816 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5817 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5818 (vhdl-ps-print-init): Fix typos.
5820 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5822 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5823 FSF and collapse date sequence, obscure author/maintainer email address
5824 better, remove extra version line, track relocation of author's webpage.
5826 * progmodes/python.el (python-pdbtrack-input-prompt)
5827 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5828 regular python pdb prompts. Adjustments shamelessly taken exactly as
5829 suggested in EmacsWiki page (tiny change):
5830 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5832 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5834 * expand.el (expand-pos, expand-index, expand-point):
5835 Remove redundant info from docstring.
5836 (expand-add-abbrevs): Doc fix.
5837 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5838 (expand-sample-perl-mode-expand-list): Fix typos.
5840 * net/dbus.el (dbus-event-member-name):
5841 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5842 * term/pc-win.el (msdos-create-frame-with-faces):
5843 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5845 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5847 * window.el (split-window, window-state-get-1)
5848 (window-state-put-1, window-state-put-2): Rename occurrences of
5849 window-nest to window-combination-limit.
5850 * cus-start.el (window-nest): Rename to window-combination-limit.
5852 2011-11-16 Chong Yidong <cyd@gnu.org>
5854 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5857 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5859 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5860 `completing-read' will remove *Completions* and will preserve
5861 current-buffer for us.
5862 (tmm-add-prompt): Users of *Completions* will always (re)set its
5864 (tmm-old-comp-map): Remove.
5866 2011-11-16 Glenn Morris <rgm@gnu.org>
5868 * mail/rmailedit.el: Require rmailmm when compiling.
5869 (rmail-old-mime-state): New declaration.
5870 (rmail-edit-current-message): If editing a mime message,
5871 edit the "raw" message from the mbox buffer.
5872 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5874 2011-11-15 Glenn Morris <rgm@gnu.org>
5876 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5877 which wasn't being used. Add optional arg to force given state.
5878 (rmail-mime): Add optional arg to force given state.
5880 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5882 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5883 * frame.el (display-mm-dimensions-alist):
5884 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5885 (outline-move-subtree-down):
5886 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5887 (newsticker--treeview-do-get-node):
5888 * net/quickurl.el (quickurl-list-buffer-name):
5889 * progmodes/dcl-mode.el (dcl-mode):
5890 * progmodes/gdb-mi.el (gdb-mapcar*):
5891 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5893 2011-11-15 Glenn Morris <rgm@gnu.org>
5895 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5896 in a boolean sense, so just make it a boolean, and fix the doc.
5897 (rmail-show-mime-function, rmail-mime-feature)
5898 (rmail-require-mime-maybe): Doc fixes.
5899 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5901 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5903 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5905 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5906 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5907 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5908 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5910 2011-11-15 Glenn Morris <rgm@gnu.org>
5912 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5913 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5914 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5915 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5916 (rmail-mime, rmail-show-mime): Doc fixes.
5918 * term/ns-win.el (mode-line-frame-identification):
5919 Leave it alone. (Bug#10051)
5921 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5923 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5924 Handle empty buffers. (Bug#9978)
5926 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5928 * international/mule.el (define-charset):
5929 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5930 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5931 * progmodes/verilog-mode.el (verilog-backward-token):
5932 * textmodes/ispell.el (lookup-words):
5933 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5935 2011-11-14 Glenn Morris <rgm@gnu.org>
5937 * progmodes/executable.el
5938 (executable-make-buffer-file-executable-if-script-p):
5939 Handle file-modes returning nil.
5941 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5942 message - not necessary, and causes problems. (Bug#9831)
5944 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5946 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5948 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5949 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5950 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5952 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5954 * window.el (window-resize, delete-window): Use window-splits
5955 variable instead of function.
5956 (window-state-get-1, window-state-put-2, window-state-put):
5957 Don't deal with windows' splits status.
5959 2011-11-12 Glenn Morris <rgm@gnu.org>
5961 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5962 (apropos-documentation): Doc fixes.
5964 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5966 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5967 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5969 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * electric.el (electric-indent-post-self-insert-function): Make it
5972 possible for a char to only indent in some circumstances.
5973 (electric-indent-mode): Simplify.
5975 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5977 * window.el (windows-with-parameter): Remove unused function.
5978 (windows-at-side): Rename to window-at-side-list.
5979 (window-check, window-atom-check, window-atom-check-1)
5980 (window-side-check, window-size-ignore, window-size-fixed-1)
5981 (window-in-direction-2): Prefix with "window--".
5982 (window-tree-1): Rename to window--subtree, fix doc-string.
5984 2011-11-11 Glenn Morris <rgm@gnu.org>
5986 * subr.el (eval-after-load): If FILE is already loaded,
5987 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5989 2011-11-10 Glenn Morris <rgm@gnu.org>
5991 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5992 Call svn via vc-svn-command rather than vc-do-command.
5993 (vc-svn-command): Add --non-interactive. (Bug#9993)
5994 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5996 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5997 Add toggle-read-only. (Bug#7292)
5998 * files.el (toggle-read-only): Mention that it should only
5999 be used interactively. (Bug#10006)
6001 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6004 Adjust regexp for OCaml warnings.
6006 * electric.el (electric-pair-post-self-insert-function): Let user
6007 turn it off buffer-locally (bug#9932).
6009 * progmodes/python.el (python-beginning-of-statement):
6012 * progmodes/compile.el: Better handle TABs (bug#9749).
6013 (compilation-internal-error-properties)
6014 (compilation-next-error-function): Obey the target buffer's
6015 compilation-error-screen-columns.
6017 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6019 * progmodes/meta-mode.el: Remove obsolete comments.
6020 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6021 Fix typos in docstrings.
6023 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6025 * window.el (window-size-fixed-p): Rewrite doc-string.
6026 (window-resizable-p): Rename to window--resizable-p. Update callers.
6027 (window--resizable): New function. Make all callers of
6028 window-resizable call window--resizable instead.
6029 (window-resizable): Rewrite in terms of window--resizable.
6031 2011-11-08 Glenn Morris <rgm@gnu.org>
6033 * progmodes/delphi.el (delphi-mode-syntax-table):
6034 Let define-derived-mode define a proper syntax table. (Bug#9994)
6036 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6038 * window.el: Stay away from defsubst.
6039 (window-list-no-nils): Remove.
6040 (window-state-get-1, window-state-get): Use backquote instead.
6042 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6044 * emacs-lisp/find-func.el (find-function-read):
6045 Fix incorrect use of default argument in `completing-read'.
6047 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6049 * window.el (display-buffer-function, special-display-function):
6050 Mention display-buffer-record-window but do not mention
6051 help-setup parameter in doc-strings.
6052 (window-min-delta): Fix doc-string typo.
6054 2011-11-08 Chong Yidong <cyd@gnu.org>
6056 * window.el (window-total-height, window-total-width): Doc fix.
6057 (window-body-size): Move from C.
6058 (window-body-height, window-body-width): Move to C.
6060 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6062 * window.el: Make special-display like display-buffer-alist (bug#9532).
6063 (display-buffer--special-action): New function, morphed
6064 from display-buffer--special.
6065 (display-buffer): Use it to handle special-display-buffers at higher
6066 priority (just after display-buffer-alist).
6067 (display-buffer-fallback-action, display-buffer--other-frame-action)
6068 (pop-to-buffer-same-window): Remove display-buffer--special.
6070 2011-11-07 Glenn Morris <rgm@gnu.org>
6072 * calendar/cal-menu.el (cal-menu-set-date-title):
6073 Do nothing if not in a calendar. (Bug#9976)
6075 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * files.el (find-file): Always use selected-window.
6079 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6081 * window.el (window-combinations): Make WINDOW argument
6082 mandatory. Rewrite doc-string.
6083 (walk-window-subtree, window-atom-check, window-min-delta)
6084 (window-max-delta, window--resize-this-window)
6085 (window--resize-root-window-vertically, window-tree)
6086 (balance-windows, window-state-put): Rewrite doc-strings as to
6087 not mention the term "subwindow".
6088 (window--resize-subwindows-skip-p): Rename to
6089 window--resize-child-windows-skip-p.
6090 (window--resize-subwindows-normal): Rename to
6091 window--resize-child-windows-normal.
6092 (window--resize-subwindows): Rename to
6093 window--resize-child-windows.
6094 (window-or-subwindow-p): Rename to window--in-subtree-p.
6096 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6098 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6099 Ensure that mbox format messages end in two newlines (Bug#9974).
6101 2011-11-06 Chong Yidong <cyd@gnu.org>
6103 * window.el (window-combination-p): Function deleted; its
6104 side-effect is not used in any existing code.
6105 (window-combinations, window-combined-p): Call window-*-child
6108 2011-11-05 Chong Yidong <cyd@gnu.org>
6110 * window.el (window-valid-p): Rename from window-any-p.
6111 (window-size-ignore, window-state-get): Callers changed.
6112 (window-normalize-window): Rename from window-normalize-any-window.
6113 New arg LIVE-ONLY, replacing window-normalize-live-window.
6114 (window-normalize-live-window): Delete.
6115 (window-combination-p, window-combined-p, window-combinations)
6116 (walk-window-subtree, window-atom-root, window-min-size)
6117 (window-sizable, window-sizable-p, window-size-fixed-p)
6118 (window-min-delta, window-max-delta, window-resizable)
6119 (window-resizable-p, window-full-height-p, window-full-width-p)
6120 (window-current-scroll-bars, window-point-1, set-window-point-1)
6121 (window-at-side-p, window-in-direction, window-resize)
6122 (adjust-window-trailing-edge, maximize-window, minimize-window)
6123 (window-deletable-p, delete-window, delete-other-windows)
6124 (record-window-buffer, unrecord-window-buffer)
6125 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6126 (quit-window, split-window, window-state-put)
6127 (set-window-text-height, fit-window-to-buffer)
6128 (shrink-window-if-larger-than-buffer): Callers changed.
6130 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6132 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6133 rfc2047-decode-string.
6134 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6137 * window.el (window-body-height, window-body-width): Mention in
6138 the doc string that the return values are in frame's canonical
6141 2011-11-03 Alan Mackenzie <acm@muc.de>
6143 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6144 change in cc-engine.el.
6146 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6150 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6152 * window.el (quit-window): Call unrecord-window-buffer after
6153 showing another buffer in the window. (Bug#9937)
6154 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6156 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6158 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6159 Accept status with more than 9 shelves. (Bug#9935)
6160 Reported by Colin D Bennett <colin@gibibit.com>.
6162 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6164 * help.el (with-help-window): Don't reference
6165 temp-buffer-show-specifiers in doc-string.
6167 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6169 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6172 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6174 * whitespace.el: New version 13.2.2.
6175 (whitespace-newline-mode): Disable properly. Reported by Sarah
6178 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6180 * net/newst-treeview.el: Remove "Time-stamp".
6181 (newsticker--group-manage-orphan-feeds): Do not call
6182 newsticker--treeview-tree-update.
6183 (newsticker-treeview-update, newsticker-treeview):
6184 Call newsticker--treeview-tree-update if necessary.
6186 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6188 * window.el (window-iso-combination-p, window-iso-combined-p)
6189 (window-iso-combinations): Remove "iso-" infix.
6190 Suggested by Chong Yidong.
6191 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6192 (window-max-delta-1, window-resize, window--resize-siblings)
6193 (window--resize-this-window, adjust-window-trailing-edge)
6194 (split-window, balance-windows-1)
6195 (shrink-window-if-larger-than-buffer):
6196 * calendar/calendar.el (calendar-generate-window):
6197 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6199 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6201 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6202 in place (bug#9907).
6203 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6204 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6205 (eshell-structure-basic-command, eshell-rewrite-while-command)
6206 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6207 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6208 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6209 (eshell-do-pipelines-synchronously, eshell-eval-command):
6210 Use backquotes and prefer setq to set.
6211 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6212 (eshell-macrop): Use functionp.
6213 (eshell-do-eval): Handle multiple expressions in `while' body.
6215 2011-10-30 Chong Yidong <cyd@gnu.org>
6217 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6218 instead of set-mark (Bug#9810).
6220 2011-10-30 Chong Yidong <cyd@gnu.org>
6222 * window.el (split-window-below, split-window-right): Rename from
6223 split-window-above-each-other and split-window-side-by-side
6224 respectively. All callers changed.
6225 (split-window-sensibly, split-window-sensibly): Use them.
6226 (split-window-keep-point): Doc fix.
6228 * isearch.el: Add isearch-scroll property to split-window-below
6229 and split-window-right.
6231 * follow.el (follow-mode):
6232 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6233 * progmodes/ada-xref.el (ada-gdb-application):
6234 * emulation/vip.el (vip-buffer-in-two-windows):
6235 * image-dired.el (image-dired-dired-with-window-configuration):
6236 * dired-x.el (dired-do-find-marked-files):
6237 * dired.el (dired-pop-to-buffer):
6238 * bs.el (bs--show-with-configuration):
6239 * vc/emerge.el (emerge-setup-windows):
6240 * textmodes/two-column.el (2C-two-columns):
6241 * textmodes/reftex-toc.el (reftex-toc):
6242 * progmodes/gdb-mi.el (gdb-setup-windows):
6243 * progmodes/fortran.el (fortran-window-create):
6244 * net/newst-treeview.el (newsticker--treeview-window-init):
6245 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6246 * emulation/tpu-edt.el (tpu-gold-map):
6247 * emulation/crisp.el (crisp-mode-map):
6248 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6250 2011-10-29 Chong Yidong <cyd@gnu.org>
6252 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6254 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6256 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6257 forged Ispell output (Bug#7904).
6259 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6261 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * doc-view.el: Avoid ugly errors about not finding nil.
6264 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6265 (doc-view-dvipdf-program, doc-view-unoconv-program)
6266 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6267 Avoid nil or absolute file name as default value.
6268 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6270 2011-10-28 Alan Mackenzie <acm@muc.de>
6272 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6274 2011-10-28 Alan Mackenzie <acm@muc.de>
6276 Amend the handling of c-beginning/end-of-defun in nested declaration
6279 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6280 cc-langs.el. Change it to a defcustom.
6282 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6285 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6286 Prevent "class foo : bar" being spuriously recognized as a label.
6288 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6289 Add parameter `inclusive' (to include enclosing braces in the region).
6290 (c-widen-to-enclosing-decl-scope): New function.
6291 (c-while-widening-to-decl-block): New macro.
6292 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6293 outward for defun boundaries, and correspondingly change symbol
6294 `respect-enclosure' to `go-outward'.
6295 (c-declaration-limits): Change algorithm to report only the "innermost"
6298 2011-10-28 Deniz Dogan <deniz@dogan.se>
6300 * net/rcirc.el (rcirc-mode): Use hard newlines.
6302 2011-10-28 Alan Mackenzie <acm@muc.de>
6304 Amend to indent and fontify macros "which include their own semicolon"
6305 correctly, using the "virtual semicolon" mechanism.
6307 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6309 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6310 Recode to scan one line at a time rather than having \n and \r
6311 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6312 (c-forward-label): Amend for virtual semicolons.
6313 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6315 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6316 of the new C macros.
6318 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6319 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6320 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6321 (c-opt-cpp-macro-define): Make into a full language variable.
6322 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6323 AWK Mode (including \n, \r) removed, no longer needed.
6325 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6326 Invoke c-make-macro-with-semi-re.
6328 * progmodes/cc-vars.el (c-macro-with-semi-re):
6329 (c-macro-names-with-semicolon): New variables.
6330 (c-make-macro-with-semi-re): New function.
6332 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6334 * vc/log-edit.el: Fill empty field rather than adding new one.
6335 (log-edit-add-field): New function.
6336 (log-edit-insert-changelog): Use it.
6338 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6340 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6342 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6345 (gdb--check-interpreter): New function.
6348 2011-10-27 Glenn Morris <rgm@gnu.org>
6350 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6351 (least-positive-float, least-negative-float)
6352 (least-positive-normalized-float, least-negative-normalized-float)
6353 (float-epsilon, float-negative-epsilon):
6354 Remove unnecessary declarations.
6356 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6357 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6358 (least-positive-float, least-negative-float)
6359 (least-positive-normalized-float, least-negative-normalized-float)
6360 (float-epsilon, float-negative-epsilon): Add doc-strings,
6361 based on those in cl.texi.
6363 * files.el (set-visited-file-name): If the major-mode changed,
6364 reload the local variables. (Bug#9796)
6366 2011-10-27 Chong Yidong <cyd@gnu.org>
6368 * subr.el (change-major-mode-after-body-hook): New hook.
6369 (run-mode-hooks): Run it.
6371 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6372 Use change-major-mode-before-body-hook.
6374 * simple.el (fundamental-mode):
6375 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6376 change introducing fundamental-mode-hook.
6378 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6380 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6382 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6384 * ido.el (ido-file-name-all-completions-1): Do not require
6385 tramp.el explicitly. (Bug#7583)
6387 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * progmodes/octave-mod.el:
6390 * progmodes/octave-inf.el: Update maintainer.
6392 2011-10-26 Chong Yidong <cyd@gnu.org>
6394 * subr.el (with-wrapper-hook): Rewrite doc.
6396 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6398 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6399 filenames "/method:foo:". (Bug#9793)
6401 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6403 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6406 2011-10-24 Glenn Morris <rgm@gnu.org>
6408 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6410 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6412 * notifications.el: Add the requirement of a running D-Bus session
6413 bus to the Commentary.
6415 2011-10-24 Juri Linkov <juri@jurta.org>
6417 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6418 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6421 2011-10-24 Juri Linkov <juri@jurta.org>
6423 * info.el (Info-following-node-name-re): Add newline to the list
6424 of allowed characters for leading space. (Bug#9824)
6426 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6428 * progmodes/octave-inf.el (inferior-octave-mode-map):
6429 Fix C-c C-h binding.
6430 * progmodes/octave-mod.el (octave-help): Remove.
6432 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6434 Sync with Tramp 2.2.3.
6436 * net/tramp-cache.el (top): Pacify byte-compiler using
6437 `init-file-user' and `site-run-file'.
6439 * net/trampver.el: Update release number.
6441 2011-10-23 Chong Yidong <cyd@gnu.org>
6443 * files.el (toggle-read-only): Remove obsolete comment about
6446 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6447 for toggle-read-only. Note that this hasn't called vc-next-action
6448 since 2008-05-02, though it wasn't documented at the time.
6450 * vc/ediff-init.el (ediff-toggle-read-only-function):
6451 Use toggle-read-only.
6453 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6455 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6458 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6459 correct faulty logical expression.
6460 (c-parse-state-state, c-record-parse-state-state):
6461 (c-replay-parse-state-state): New defvar/defuns.
6462 (c-debug-parse-state): Use new functions.
6464 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6466 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6467 last fix. Use window-in-direction correctly.
6469 2011-10-21 Chong Yidong <cyd@gnu.org>
6471 * progmodes/idlwave.el (idlwave-mode):
6472 * progmodes/vera-mode.el (vera-mode): No need to set
6473 require-final-newline; that's done in prog-mode.
6474 Suggested by Stefan Monnier.
6476 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6478 * mouse.el (mouse-drag-window-above)
6479 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6480 (mouse-drag-mode-line-1, mouse-drag-header-line)
6481 (mouse-drag-vertical-line-rightward-window): Remove.
6482 (mouse-drag-line): New function.
6483 (mouse-drag-mode-line, mouse-drag-header-line)
6484 (mouse-drag-vertical-line): Call mouse-drag-line.
6485 * window.el (window-at-side-p, windows-at-side): New functions.
6487 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6489 * tar-mode.el (tar-grind-file-mode):
6490 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6492 2011-10-21 Chong Yidong <cyd@gnu.org>
6494 * progmodes/idlwave.el (idlwave-mode):
6495 * progmodes/vera-mode.el (vera-mode):
6496 Use mode-require-final-newline.
6498 2011-10-20 Glenn Morris <rgm@gnu.org>
6500 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6502 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6504 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6506 2011-10-20 Chong Yidong <cyd@gnu.org>
6508 * emulation/cua-base.el (cua-mode):
6509 * mail/footnote.el (footnote-mode):
6510 * mail/mailabbrev.el (mail-abbrevs-mode):
6511 * net/xesam.el (xesam-minor-mode):
6512 * progmodes/bug-reference.el (bug-reference-mode):
6513 * progmodes/cap-words.el (capitalized-words-mode):
6514 * progmodes/compile.el (compilation-minor-mode)
6515 (compilation-shell-minor-mode):
6516 * progmodes/gud.el (gud-tooltip-mode):
6517 * progmodes/hideif.el (hide-ifdef-mode):
6518 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6519 * progmodes/subword.el (subword-mode):
6520 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6521 * progmodes/which-func.el (which-function-mode):
6522 * term/tvi970.el (tvi970-set-keypad-mode):
6523 * term/vt100.el (vt100-wide-mode):
6524 * textmodes/flyspell.el (flyspell-mode):
6525 * textmodes/ispell.el (ispell-minor-mode):
6526 * textmodes/nroff-mode.el (nroff-electric-mode):
6527 * textmodes/paragraphs.el (use-hard-newlines):
6528 * textmodes/refill.el (refill-mode):
6529 * textmodes/reftex.el (reftex-mode):
6530 * textmodes/rst.el (rst-minor-mode):
6531 * textmodes/sgml-mode.el (html-autoview-mode)
6532 (sgml-electric-tag-pair-mode):
6533 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6534 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6535 * emulation/crisp.el (crisp-mode):
6536 * emacs-lisp/eldoc.el (eldoc-mode):
6537 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6538 minor mode behavior.
6540 2011-10-19 Juri Linkov <juri@jurta.org>
6542 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6543 the list of hard-coded chars with escape-glyph face.
6545 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6547 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6549 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6551 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6554 2011-10-19 Glenn Morris <rgm@gnu.org>
6556 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6557 Ignore ignored files. (Bug#9726)
6559 2011-10-19 Chong Yidong <cyd@gnu.org>
6561 Doc fix for minor modes, stating that an omitted argument enables
6562 the mode unconditionally when called from Lisp.
6564 * abbrev.el (abbrev-mode):
6565 * allout.el (allout-mode):
6566 * autoinsert.el (auto-insert-mode):
6567 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6568 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6569 (global-auto-revert-mode):
6570 * battery.el (display-battery-mode):
6571 * composite.el (global-auto-composition-mode)
6572 (auto-composition-mode):
6573 * delsel.el (delete-selection-mode):
6574 * desktop.el (desktop-save-mode):
6575 * dired-x.el (dired-omit-mode):
6576 * dirtrack.el (dirtrack-mode):
6577 * doc-view.el (doc-view-minor-mode):
6578 * double.el (double-mode):
6579 * electric.el (electric-indent-mode, electric-pair-mode):
6580 * emacs-lock.el (emacs-lock-mode):
6581 * epa-hook.el (auto-encryption-mode):
6582 * follow.el (follow-mode):
6583 * font-core.el (font-lock-mode):
6584 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6585 * help.el (temp-buffer-resize-mode):
6586 * hilit-chg.el (highlight-changes-mode)
6587 (highlight-changes-visible-mode):
6588 * hi-lock.el (hi-lock-mode):
6589 * hl-line.el (hl-line-mode, global-hl-line-mode):
6590 * icomplete.el (icomplete-mode):
6591 * ido.el (ido-everywhere):
6592 * image-file.el (auto-image-file-mode):
6593 * image-mode.el (image-minor-mode):
6594 * iswitchb.el (iswitchb-mode):
6595 * jka-cmpr-hook.el (auto-compression-mode):
6596 * linum.el (linum-mode):
6597 * longlines.el (longlines-mode):
6598 * master.el (master-mode):
6599 * mb-depth.el (minibuffer-depth-indicate-mode):
6600 * menu-bar.el (menu-bar-mode):
6601 * minibuf-eldef.el (minibuffer-electric-default-mode):
6602 * mouse-sel.el (mouse-sel-mode):
6603 * msb.el (msb-mode):
6604 * mwheel.el (mouse-wheel-mode):
6605 * outline.el (outline-minor-mode):
6606 * paren.el (show-paren-mode):
6607 * recentf.el (recentf-mode):
6608 * reveal.el (reveal-mode, global-reveal-mode):
6609 * rfn-eshadow.el (file-name-shadow-mode):
6610 * ruler-mode.el (ruler-mode):
6611 * savehist.el (savehist-mode):
6612 * scroll-all.el (scroll-all-mode):
6613 * scroll-bar.el (scroll-bar-mode):
6614 * server.el (server-mode):
6615 * shell.el (shell-dirtrack-mode):
6616 * simple.el (auto-fill-mode, transient-mark-mode)
6617 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6618 (line-number-mode, column-number-mode, size-indication-mode)
6619 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6620 * strokes.el (strokes-mode):
6621 * time.el (display-time-mode):
6622 * t-mouse.el (gpm-mouse-mode):
6623 * tool-bar.el (tool-bar-mode):
6624 * tooltip.el (tooltip-mode):
6625 * type-break.el (type-break-mode-line-message-mode)
6626 (type-break-query-mode):
6627 * view.el (view-mode):
6628 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6629 (global-whitespace-mode, global-whitespace-newline-mode):
6630 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6632 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6633 Fix autogenerated docstring.
6635 2011-10-19 Juri Linkov <juri@jurta.org>
6637 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6638 by checking environment variables "DESKTOP_SESSION" and
6639 "XDG_CURRENT_DESKTOP". (Bug#9779)
6641 2011-10-19 Juri Linkov <juri@jurta.org>
6643 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6644 (browse-url-chromium-program, browse-url-chromium-arguments):
6646 (browse-url-default-browser): Check for `browse-url-chromium' and
6647 call `browse-url-chromium-program'.
6648 (browse-url-chromium): New command. (Bug#9779)
6650 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6652 * facemenu.el (list-colors-duplicates): On Windows, detect more
6653 duplicates by assuming that only colors matching "^System" are
6654 special "system colors". (Bug#9722)
6656 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6659 to distinguish the author from the committer.
6661 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6663 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6665 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6667 * international/mule.el (sgml-html-meta-auto-coding-function):
6668 Add support for detecting encoding in HTML5 specified only as
6669 <meta charset="UTF-8">. Implementation just makes http-equiv and
6670 content-type parts from HTML4 encoding string optional. (Bug#9716)
6672 2011-10-18 Glenn Morris <rgm@gnu.org>
6674 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6676 2011-10-18 Chong Yidong <cyd@gnu.org>
6678 * faces.el (cursor): Doc fix.
6680 2011-10-17 Chong Yidong <cyd@gnu.org>
6682 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6684 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6686 * dirtrack.el (dirtrack): Support shell buffers with path
6687 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6689 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6691 * json.el: Bump version to 1.3 and note change in History.
6692 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6694 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * comint.el (comint-insert-input, comint-send-input)
6697 (comint-get-old-input-default, comint-backward-matching-input)
6698 (comint-next-prompt): Use nil instead of `input' for field property of
6699 past user input (bug#114).
6701 * minibuffer.el (completion--replace): Inherit surrounding properties
6703 (minibuffer-complete-and-exit): Use it.
6705 * comint.el (comint--table-subvert): Quote the all-completions output
6708 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6710 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6712 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6713 window on right of selected. (Bug#9350) Reword other window
6714 entries and separate them from frame entries.
6716 2011-10-15 Glenn Morris <rgm@gnu.org>
6718 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6721 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6723 * net/network-stream.el (network-stream-open-starttls):
6724 Improve detection of failure due to lack of TLS support.
6726 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6727 putting the input text in front and in bold.
6729 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6733 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6736 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6737 unread-command-events rather than pushing yet-another event.
6739 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6741 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6742 the explanation of the possible choices. Make the options passed
6743 to completing-read shorter.
6745 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6747 * textmodes/flyspell.el (flyspell-large-region): Make sure
6748 extended character mode is used if defined (Bug#1339).
6750 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6752 * simple.el (what-cursor-position): Fix the display of the
6753 character info for LRE, LRO, RLE, and RLO characters by appending
6756 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6759 even in case of error; add debug spec; simplify data flow.
6760 (with-timeout-handler): Remove.
6762 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6764 Fix Bug#6019, Bug#9315.
6766 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6767 complete `buffer-file-name', the local file name part could look
6768 remotely (for example on VMS).
6770 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6771 `tramp-run-real-handler'.
6772 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6773 already quoted by '"'.
6775 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6776 Let `file-name-handler-alist' be nil, the local file name part
6777 could look remotely (for example on VMS).
6779 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6783 (flyspell-post-command-hook): ...to here.
6785 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6789 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6790 using completion. Protect against "slow" callers.
6791 Remove the "message hack".
6793 2011-10-11 Juri Linkov <juri@jurta.org>
6795 * isearch.el (isearch-lazy-highlight-word): New variable.
6796 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6799 2011-10-11 Glenn Morris <rgm@gnu.org>
6801 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6802 like f90-previous-statement does.
6804 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6806 * eshell/eshell.el (eshell-command): History should be saved
6807 only in interactive use, to avoid error.
6809 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * minibuffer.el (completion-file-name-table): Fix last change,
6812 i.e. ignore normal errors but not the other ones.
6814 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6816 * window.el (special-display-buffer-names)
6817 (special-display-regexps): Remove some remnants of earlier
6818 changes from doc-strings.
6819 (quit-windows-on): New function.
6821 * vc/vc.el (vc-revert, vc-rollback):
6822 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6823 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6824 (Bug#6183) (Bug#7074) (Bug#7447)
6826 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6828 * window.el (frame-auto-hide-function): Add version tag.
6831 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6833 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6836 2011-10-09 Leo Liu <sdl.web@gmail.com>
6838 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6841 2011-10-08 Glenn Morris <rgm@gnu.org>
6843 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6844 before the first code statement zero indent. (Bug#9690)
6846 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6848 * simple.el (count-words-region): Always count in the region.
6849 Report the number of lines and characters too.
6850 (count-words): New command, which counts in the buffer if the
6851 region is inactive, as count-words-region used to.
6852 (count-words--message): New function. Handle plurals.
6853 (count-lines-region): Make it an alias for count-words-region.
6855 * bindings.el (esc-map): Replace count-lines-region with
6858 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6860 * window.el (window--delete): Delete dedicated frame
6861 unconditionally when argument KILL is non-nil. (Bug#9699)
6862 (switch-to-buffer): Fix doc-string typo.
6864 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6866 * eshell/eshell.el (eshell-command): Avoid using hooks.
6868 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6870 * bindings.el ([M-left],[M-right]): Bind to left-word and
6871 right-word respectively.
6873 2011-10-07 Glenn Morris <rgm@gnu.org>
6875 * cus-start.el (debug-on-quit): Fix custom type.
6877 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879 * subr.el (define-key-after): Clarify that the function is not
6880 useful for non-menu keymaps.
6882 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6884 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6886 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6887 in current minibuffer (Fix bug with recursive minibuffers).
6889 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6891 * progmodes/gdb-mi.el (gdb): Doc fix.
6893 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6895 * window.el (frame-auto-hide-function): New option replacing
6896 frame-auto-delete. Suggested by Stefan Monnier.
6897 (window--delete): Call frame-auto-hide-function instead of
6898 investigating frame-auto-delete.
6899 (window-point-1, set-window-point-1): New functions.
6900 (window-in-direction, record-window-buffer, window-state-get-1)
6901 (display-buffer-record-window): Use window-point-1 instead of
6903 (set-window-buffer-start-and-point): Use set-window-point-1.
6905 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6907 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6909 2011-10-05 Glenn Morris <rgm@gnu.org>
6911 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6912 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6914 2011-10-05 Leo Liu <sdl.web@gmail.com>
6916 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6917 works with buffer object.
6919 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * mpc.el (mpc-tool-bar-map): Add labels.
6923 2011-10-04 Glenn Morris <rgm@gnu.org>
6925 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6927 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6929 * window.el (window--delete): New function.
6930 (frame-auto-delete): Resuscitate option.
6931 (bury-buffer, replace-buffer-in-windows)
6932 (quit-window): Rewrite using window--delete.
6933 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6934 Pass display-buffer-mark-dedicated to window--display-buffer-2
6937 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6940 returns a list (bug#9554). Add remote file name completion.
6941 * comint.el (comint--table-subvert): Curry and get quote&unquote
6942 functions as arguments.
6943 (comint--complete-file-name-data): Adjust call accordingly.
6944 * pcomplete.el (pcomplete--table-subvert): Remove.
6945 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6947 * minibuffer.el (completion-table-case-fold): Use currying.
6948 (completion--styles-type, completion--cycling-threshold-type):
6950 (completion-styles, completion-category-overrides)
6951 (completion-cycle-threshold): Use them.
6952 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6953 completion-table-case-fold.
6955 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6957 * minibuffer.el (completion-category-overrides): Fix type of styles
6958 and add more user friendly tags (bug#9660).
6960 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6963 (mule-input-method-string): New widget.
6964 (default-input-method, language-info-custom-alist): Use it.
6966 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * pcomplete.el: Require comint.
6969 (pcomplete--common-suffix): Remove.
6970 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6971 (pcomplete--table-subvert): Sync with comint--table-subvert.
6972 (pcomplete--entries): Use comint-completion-file-name-table.
6973 * comint.el (comint-unquote-filename): Simplify.
6974 (comint-completion-file-name-table): New function (bug#9616).
6975 (comint--complete-file-name-data): Use it.
6977 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6978 (pcmpl-gnu-tar-buffer): Remove.
6979 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6980 around. Make sure pcomplete-suffix-list is only changed temporarily.
6981 Don't look inside the tar's file if it's too large.
6983 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6985 * cus-edit.el (custom-mode-map):
6986 * epa.el (epa-key-list-mode-map):
6987 * man.el (Man-mode-map):
6988 * startup.el (splash-screen-keymap):
6989 * simple.el (special-mode-map): Use scroll-up-command and
6990 scroll-down-command.
6992 * progmodes/idlw-help.el (idlwave-help-mode-map):
6993 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6994 * net/newst-plainview.el (newsticker-mode-map):
6995 * emulation/ws-mode.el (wordstar-mode-map):
6996 * emulation/vi.el (vi-com-map):
6997 * calc/calc-graph.el (calc-graph-show-dumb):
6998 * term/sun.el (terminal-init-sun):
6999 * term/ns-win.el (global-map):
7000 * progmodes/grep.el (grep-mode-map):
7001 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7002 * mail/rmail.el (rmail-mode-map):
7003 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7005 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7006 custom-safe-themes as special.
7008 2011-10-01 Julien Danjou <julien@danjou.info>
7010 * notifications.el (notifications-notify): Fix docstring.
7012 2011-10-01 Per Starbäck <per@starback.se>
7014 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7016 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7018 * startup.el (command-line-1): Fix last fix by inserting
7019 initial-scratch-message into *scratch* before displaying it.
7020 (Bug#9605) and (Bug#9636)
7022 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7024 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7025 window is hscrolled, move by logical lines. (Bug#9607)
7026 (line-move-visual): Update the doc string to the above effect.
7028 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7030 * window.el (display-buffer-record-window): When WINDOW is the
7031 selected window use `point' instead of `window-point'. (Bug#9626)
7033 * startup.el (command-line-1): Use insert-before-markers when
7034 inserting initial-scratch-message. (Bug#9605)
7036 * help.el (help-window): Remove variable.
7038 2011-09-29 Glenn Morris <rgm@gnu.org>
7040 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7042 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7044 * descr-text.el (describe-char-categories): Accept category
7045 descriptions more than one line long.
7047 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * simple.el (delete-trailing-whitespace): Fix last change.
7051 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7052 Don't confuse "y => 3" as the beginning of a `y' operation.
7054 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7055 object has more than 4 slots (bug#9613).
7057 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7059 * subr.el (with-output-to-temp-buffer):
7060 * net/quickurl.el (quickurl, quickurl-browse-url):
7061 Fix typos in docstrings.
7063 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7065 * minibuffer.el (completion-styles)
7066 (completion-category-overrides): Cross reference each other in doc
7069 2011-09-27 Glenn Morris <rgm@gnu.org>
7071 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7072 to split-string. (Bug#9606)
7074 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7076 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7079 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7081 * emacs-lisp/package.el (list-packages): Fix echo area message.
7083 2011-09-27 Leo Liu <sdl.web@gmail.com>
7085 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7087 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7089 * net/dbus.el (dbus-unregister-object): Don't release services for
7090 registered signals. (Bug#9581)
7092 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7094 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7095 function that picks between cfengine 2 and 3 support
7096 automatically. Update docs accordingly.
7098 2011-09-22 Kenichi Handa <handa@m17n.org>
7100 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7102 (indian-itrans-v5-table-for-tamil): New variable.
7103 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7105 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7107 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7108 that's true if the current command involved collapsing of text.
7109 It's reset to false at the beginning of the next command.
7110 (allout-post-command-business): Move the cursor to the beginning
7111 of entry if the cursor is hidden and collapsing activity just
7114 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7116 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7117 tracking (Bug#9541).
7119 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7121 * net/newst-reader.el (newsticker-html-renderer)
7122 (newsticker-show-news): Automatically load html rendering package
7123 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7124 because w3m-fill-column is let-bound" and the error "Symbol's value
7125 as variable is void: w3m-fill-column".
7127 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7129 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7130 Release services only if they are defined. (Bug#9581)
7132 2011-09-23 Richard Stallman <rms@gnu.org>
7134 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7135 distinguish start of paragraph from start of its text.
7137 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7139 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7140 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7141 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7143 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7145 * international/mule-diag.el (mule-diag): Insert a newline after
7146 each fontset description.
7148 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7150 * simple.el (delete-trailing-whitespace):
7151 Document last change; simplify.
7153 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7155 * simple.el (delete-trailing-whitespace): Also delete
7156 extra newlines at the end of the buffer.
7158 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7159 (picture-newline): Use forward-line so as to ignore fields.
7161 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * subr.el (with-wrapper-hook): Fix edebug spec.
7165 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7170 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7172 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7173 Fix nasty bug using wrong cached values.
7175 2011-09-23 Alan Mackenzie <acm@muc.de>
7177 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7179 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7181 * window.el (pop-to-buffer): Ensure right window is selected if we
7182 chose another frame.
7184 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7186 * simple.el (what-cursor-position): Use get-char-property-change
7187 and next-single-char-property-change, to be able to show display
7188 properties that come from overlays as well as text properties.
7190 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7192 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7194 * cmuscheme.el (run-scheme, switch-to-scheme):
7195 * cus-edit.el (customize-group, custom-buffer-create)
7199 * mail/sendmail.el (mail):
7200 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7202 2011-09-22 Richard Stallman <rms@gnu.org>
7204 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7205 move back only to line beg, don't move back over blank lines.
7207 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7209 * files.el (copy-directory): Set directory attributes only in case
7210 they could be retrieved from the source directory. (Bug#9565)
7212 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7214 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7215 (hs-find-block-beginning, hs-hide-level-recursive):
7216 Ignore strings as well as comments. (Bug#9502)
7218 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7220 * progmodes/sql.el (sql-comint-postgres):
7221 Convert port number to a string. (Bug#9566)
7223 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7225 * window.el (quit-window): Undedicate window when switching to
7226 previous buffer. Reported by Thierry Volpiatto
7227 <thierry.volpiatto@gmail.com>.
7228 (special-display-popup-frame): When popping up a new frame reset
7229 its previous buffers to nil. Simplify code.
7231 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7233 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7234 and process filter, as done also in `shell-command'.
7236 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7238 * window.el (set-window-buffer-start-and-point):
7239 Call set-window-start with NOFORCE argument t.
7240 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7241 (quit-window): Reword doc-string. Handle new format of
7242 quit-restore parameter. Don't delete window if it has a
7243 previous buffer we can show instead of the present one.
7244 (display-buffer-record-window): Rewrite using a new format for
7245 the quit-restore window parameter
7246 (special-display-popup-frame, display-buffer-same-window)
7247 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7248 (display-buffer-pop-up-window, display-buffer-use-some-window):
7249 Adapt symbol passed to display-buffer-record-window.
7250 * help.el (help-window-setup): Handle new format of quit-restore
7253 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * faces.el (face-list): Fix docstring (bug#9564).
7257 * window.el (display-buffer--action-function-custom-type):
7258 Don't include internal functions in the Custom interface.
7260 2011-09-20 Juri Linkov <juri@jurta.org>
7262 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7263 (Info-forward-node, Info-backward-node, Info-next-preorder)
7264 (Info-last-preorder): Use it. (Bug#9528)
7266 2011-09-20 Juri Linkov <juri@jurta.org>
7268 * info.el (Info-last-preorder): Visit last menu item only when
7269 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7271 2011-09-20 Julien Danjou <julien@danjou.info>
7273 * password-cache.el (password-cache-remove): Remove entries even if the
7274 value is nil, so that password with a nil value (negative caching) is
7275 possible to invalidate.
7277 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7279 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7280 all whitespace around breakpoint. (Bug#9553)
7281 (f90-find-breakpoint): Only break at whitespace inside a comment.
7283 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * minibuffer.el (completion-file-name-table): Keep track of errors.
7286 (completion-table-with-predicate): Handle the case where pred1 is nil.
7287 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7289 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7292 (debugger-return-value): Signal an error if the debugging context does
7293 not await any return value.
7295 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7296 * image-mode.el (image-toggle-display-text)
7297 (image-toggle-display-image): Stay away from evil `intangible'.
7299 2011-09-19 Leo Liu <sdl.web@gmail.com>
7301 * replace.el (occur-revert-arguments): Make it permanent-local.
7302 (occur-mode): Don't call font-lock-defontify.
7304 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7306 * net/ldap.el (ldap-search-internal): Don't push empty search
7309 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7313 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7315 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7316 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7318 2011-09-18 Juri Linkov <juri@jurta.org>
7320 * buff-menu.el (Buffer-menu-mode-map):
7321 * dired.el (dired-mode-map):
7322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7323 (lisp-interaction-mode-map):
7324 * emacs-lisp/package.el (package-menu-mode-map):
7325 * epa.el (epa-key-list-mode-map):
7326 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7327 (menu-bar-options-menu):
7328 * outline.el (outline-mode-menu-bar-map):
7329 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7330 * vc/vc-dir.el (vc-dir-menu-map):
7331 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7332 Capitalize non-function content words in menu item strings.
7334 * dired.el (dired-mode-map): Add menu item for
7335 `image-dired-dired-toggle-marked-thumbs'.
7337 2011-09-18 Juri Linkov <juri@jurta.org>
7339 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7340 to `isearch-case-fold-search' and restore its original value
7341 after the `isearch-mode' call.
7343 2011-09-18 Juri Linkov <juri@jurta.org>
7345 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7346 because `zgrep' returns 1 for successful matches (bug#9226).
7348 2011-09-18 Juri Linkov <juri@jurta.org>
7350 * info.el (Info-extract-menu-node-name): Check the second match
7351 for empty string (second test-case of bug#9528).
7352 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7353 intermediate nodes to the history (first test-case of bug#9528).
7355 2011-09-18 Juri Linkov <juri@jurta.org>
7357 * info.el (Info-mode-syntax-table): New variable.
7358 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7360 2011-09-18 Juri Linkov <juri@jurta.org>
7362 * info.el (Info-file-supports-index-cookies):
7363 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7364 outputs one more line for long file names (bug#4142).
7366 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7368 * newcomment.el (comment-normalize-vars): If prompting for
7369 comment-start, set comment-start-skip too (Bug#8424).
7371 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7373 * icomplete.el: Fix previous fix of Bug#5849.
7374 (icomplete-mode): Don't set completion-show-inline-help.
7375 (icomplete-minibuffer-setup): Set completion-show-inline-help
7376 locally during icompletion.
7378 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7380 * woman.el (woman2-process-escapes): Don't delete unrecognized
7383 * files.el (inhibit-first-line-modes-regexps): Add image files.
7384 (hack-local-variables-prop-line): Return nil for malformed
7385 prop-lines (Bug#9044).
7387 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7389 * net/tramp.el (top): Don't require 'shell.
7390 (tramp-methods): Fix docstring.
7391 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7392 Return complete remote file name. Handle "smb" case.
7393 Use `tramp-tmpdir', if defined for the respective method.
7394 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7396 * net/tramp-compat.el (top): Require 'shell.
7398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7399 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7400 `tramp-current-host'.
7401 (tramp-get-remote-tmpdir): Remove.
7403 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7404 `tramp-tmpdir' entries.
7405 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7406 (tramp-smb-handle-file-attributes): Ignore errors.
7407 (tramp-smb-wait-for-output): Check also for process end.
7409 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7411 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7412 when sending QUIT (bug#9312).
7414 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7416 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7417 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7418 occur-mode-display-occurrence.
7419 (occur-edit-mode): Add usage message.
7420 (occur-cease-edit): New command.
7421 (occur-after-change-function): Use text properties to find the
7422 position of the prefix text.
7423 (occur-engine): Set stickiness of prefix text properties.
7425 2011-09-17 Glenn Morris <rgm@gnu.org>
7427 * progmodes/etags.el (complete-tag):
7428 Fix call to completion-in-region. (Bug#9526)
7430 2011-09-17 Juri Linkov <juri@jurta.org>
7432 * textmodes/ispell.el (ispell-word): Add to the error message
7433 the word, ispell program name and current dictionary (bug#9121).
7434 (ispell-tex-arg-end): Capitalize "error" in the error message.
7436 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7438 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7441 2011-09-17 Juri Linkov <juri@jurta.org>
7443 * window.el (window-safe-min-height, window-safe-min-width):
7444 Fix typos (followup to bug#9522).
7446 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7448 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7450 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7452 * simple.el (line-move): If goal-column is set, move by logical
7453 lines, not by display lines. (Bug#971)
7454 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7455 to reflect the above change.
7457 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7459 * image.el (imagemagick-register-types): Use regexp-opt.
7461 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7463 * window.el (display-buffer-base-action): Rename from
7464 display-buffer-default-action. Make default value empty.
7465 (display-buffer-overriding-action): Convert to defvar.
7466 (display-buffer-fallback-action): New var.
7468 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7470 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7472 (package--add-to-archive-contents): If there is a duplicate entry
7473 with an older version, remove it.
7474 (package-menu-mark-delete, package-menu-mark-install)
7475 (package-menu-mark-unmark): Make unused args optional.
7476 (package-menu-mark-obsolete-for-deletion):
7477 Use package-menu-get-status instead of a regexp search.
7478 (package-menu-get-status): Use tabulated-list-entry.
7479 (package-menu-mark-upgrades): New command.
7480 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7481 (package-menu-execute): Do installation before deletion.
7482 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7483 instead of checking major-mode.
7484 (package-menu--find-upgrades): New function.
7486 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7488 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7489 passwords in the log buffer.
7490 (smtpmail-process-filter): Update the process marker so that the
7491 "broken by peer" status message is inserted in the right place.
7493 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7496 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7497 bibtex-completion-at-point-function.
7498 (bibtex-completion-at-point-function): Use them.
7500 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7502 * mpc.el (mpc-constraints-tag-lookup): New function.
7503 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7504 also to browser "album|playlist".
7506 2011-09-14 Juri Linkov <juri@jurta.org>
7508 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7509 (isearch-edit-string): Use length of `isearch-string' when
7510 `isearch-fail-pos' returns nil.
7511 (isearch-message): Remove duplicate code and call
7512 `isearch-fail-pos' with arg `t'.
7514 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7516 * replace.el (occur-mode-goto-occurrence): Don't force using other
7519 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7521 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7523 * window.el (display-buffer-window): Remove.
7524 (display-buffer-record-window): Use help-setup window parameter
7525 instead of variable display-buffer-window.
7526 (display-buffer-function, special-display-buffer-names)
7527 (special-display-function): Mention help-setup parameter instead
7528 of display-buffer-window in doc-string.
7529 * help.el (help-window-setup): New argument help-window.
7530 Use help-window-setup parameter instead of display-buffer-window.
7531 Reword some messages.
7532 (with-help-window): Pass window used for displaying the buffer
7533 to help-window-setup. Don't set display-buffer-window.
7535 2011-09-13 Glenn Morris <rgm@gnu.org>
7537 * emacs-lisp/debug.el (debugger-make-xrefs):
7538 Preserve point. (Bug#9462)
7540 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7542 * window.el (window-deletable-p): Use next-frame.
7544 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7546 * window.el (window-auto-delete): Remove.
7547 (window-deletable-p): Remove argument FORCE. Don't deal with
7548 dedication and previous buffers.
7549 (switch-to-prev-buffer): Don't delete window.
7550 (delete-windows-on): Delete a window's frame if and only if the
7551 window is dedicated.
7552 (replace-buffer-in-windows): Delete buffer's window or frame if
7553 and only if window is dedicated.
7554 (quit-window): Handle quit-restore as before last change.
7555 (bury-buffer): Delete window only if window-deletable-p returns t.
7557 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7559 * window.el (window-deletable-p): Never delete the last frame on a
7562 2011-09-13 Glenn Morris <rgm@gnu.org>
7564 * help.el (describe-key-briefly): Copy previous standard-output change.
7566 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7568 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7570 2011-09-13 Glenn Morris <rgm@gnu.org>
7572 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7573 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7575 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7577 * dired-aux.el (dired-mark-read-string): Don't return default
7578 value on empty input (Bug#9361).
7579 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7580 Omit initial minibuffer contents.
7581 (dired-do-chmod): Signal an error on empty input.
7582 (dired-mark-read-string): Don't return default on empty input.
7584 * files.el (file-modes-symbolic-to-number): Doc fix.
7586 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * international/mule-cmds.el (ucs-completions): Remove.
7589 (read-char-by-name): Use complete-with-action instead; add metadata.
7591 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7593 * window.el (display-buffer--action-function-custom-type)
7594 (display-buffer--action-custom-type): New vars.
7595 (display-buffer-alist, display-buffer-default-action)
7596 (display-buffer-overriding-action): Add defcustom types.
7598 * frame.el (delete-other-frames): Doc fix (Bug#276).
7600 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7602 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7604 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7606 Change modes that used same-window-* vars to use switch-to-buffer.
7608 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7609 Use switch-to-buffer.
7611 * cus-edit.el (customize-group, custom-buffer-create)
7612 (customize-browse, custom-buffer-create-other-window):
7613 Use switch-to-buffer or switch-to-buffer-other-window.
7615 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7616 (Info-prev, Info-up, Info-speedbar-goto-node)
7617 (info-display-manual): Use switch-to-buffer.
7618 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7620 * mail/sendmail.el (mail): Use switch-to-buffer.
7621 (mail-recover): Use switch-to-buffer-other-window.
7623 * cmuscheme.el (run-scheme, switch-to-scheme):
7626 * net/rlogin.el (rlogin):
7627 * net/telnet.el (telnet, rsh):
7628 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7630 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7632 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7634 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7636 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7637 so don't mention it (bug#9301).
7638 (dired-sort-toggle-or-edit): Clarify string further.
7640 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7641 match `x', `w32' and `ns', like the manual says (bug#9029).
7643 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7644 (process-kill-buffer-query-function): Mention the buffer name in
7647 * image-mode.el (image-next-line): The line parameter is mandatory
7650 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7651 which can be useful (bug#9301).
7653 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7655 * subr.el (match-string): Mention that the current buffer should
7656 be the same as the search was done in (bug#9282).
7658 * facemenu.el: Disable the remove-* commands if the mark isn't
7661 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7663 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7665 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7667 * replace.el (occur-mode-goto-occurrence)
7668 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7671 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7674 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7675 special-display and same-window variables.
7676 (mail-other-window): Use switch-to-buffer-other-window.
7677 (mail-other-frame): USe switch-to-buffer-other-frame.
7679 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7680 Use display-buffer-other-frame.
7681 (gdb-display-gdb-buffer): Use pop-to-buffer.
7683 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7685 * progmodes/python.el: Don't set same-window-buffer-names.
7687 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7689 * window.el (display-buffer-alist): Add *Python*.
7691 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7693 * window.el (display-buffer-alist): Add entry for buffers
7694 previously handled same-window-*.
7695 (display-buffer-alist, display-buffer-default-action)
7696 (display-buffer-overriding-action): Mark as risky.
7697 (display-buffer-alist): Document action function changes.
7698 (display-buffer--same-window-action)
7699 (display-buffer--other-frame-action): New variables.
7700 (switch-to-buffer, display-buffer-other-frame): Use them.
7701 (display-buffer): Rename reuse-frame entry to reusable-frames.
7702 (display-buffer-reuse-selected-window): Function deleted.
7703 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7704 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7705 (display-buffer-special): New function.
7706 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7707 display-buffer-reuse-or-pop-window. Split off special-display
7708 part into display-buffer-special.
7709 (display-buffer-use-some-window): Don't perform any special
7710 pop-up-frames handling.
7711 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7712 (display-buffer--maybe-same-window): Rename from
7713 display-buffer-maybe-same-window.
7715 * info.el: Don't set same-window-regexps.
7716 (info-setup): New function.
7717 (info-other-window, info): Call it.
7719 * cus-edit.el: Don't set same-window-regexps.
7720 (customize-group): New argument.
7721 (customize-group-other-window): Use it.
7722 (customize-face, customize-face-other-window): Likewise.
7723 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7727 * progmodes/gud.el: Don't set same-window-regexps.
7733 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7735 2011-09-10 Juri Linkov <juri@jurta.org>
7737 * isearch.el (isearch-edit-string): Remove obsolete mention of
7738 `C-w' (`isearch-yank-word-or-char') from docstring.
7739 (isearch-query-replace): Fix typo in docstring (bug#9466).
7741 2011-09-10 Juri Linkov <juri@jurta.org>
7743 * paren.el (show-paren-function): Don't show escaped parens.
7744 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7746 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7748 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7749 (mm-default-file-encoding): Remove autoload forms, they are
7750 replaced with autoload cookies in mml.el and mm-encode.el.
7751 (mail-add-attachment): New command.
7752 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7753 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7755 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7757 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7759 * simple.el (count-words-region): Use buffer if there's no region
7762 2011-09-09 Juri Linkov <juri@jurta.org>
7764 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7765 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7766 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7768 2011-09-09 Alan Mackenzie <acm@muc.de>
7770 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7771 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7773 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7775 Fix for Savannah bug#9392.
7776 * simple.el (mail-encode-mml): New defvar.
7778 * mail/rmail.el (mail-encode-mml): Add a defvar.
7779 (rmail-enable-mime-composing): Default to t.
7780 (rmail-forward): Use MIME method of forwarding only if both
7781 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7782 Set mail-encode-mml non-nil if the MIME method was used.
7784 * mail/sendmail.el (mml-to-mime): Add autoload form.
7785 (mail-encode-mml): Add a defvar.
7786 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7788 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7789 message through mml-to-mime, and reset mail-encode-mml to nil.
7791 2011-09-09 Glenn Morris <rgm@gnu.org>
7793 * woman.el (woman-if-body): When processing an .el block,
7794 do not delete the next .el block as well. (Bug#9447)
7795 (woman-special-characters): Add oq, cq, and hy characters.
7797 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7799 * window.el (window-deletable-p): Make sure window is live before
7800 invoking window-prev-buffers.
7802 2011-09-08 Leo Liu <sdl.web@gmail.com>
7804 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7806 2011-09-08 Juri Linkov <juri@jurta.org>
7808 * progmodes/compile.el (compilation-environment): Make it
7809 a defcustom (bug#8340).
7811 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7813 * window.el (frame-auto-delete): Rename to window-auto-delete.
7814 Make it control auto-deletion of windows and/or frames.
7815 (window-deletable-p): New argument FORCE. Rewrite conditions
7816 for deleting window/frame. (Bug#9419)
7817 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7818 Rewrite handling of case when window/frame can be deleted.
7819 (delete-windows-on): Call window-deletable-p with new FORCE
7820 argument t. (Bug#9456)
7822 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7824 * help-mode.el (help-mode): Restore autoload.
7826 2011-09-07 Juri Linkov <juri@jurta.org>
7828 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7829 `compilation-environment'. Set buffer-local
7830 `compilation-environment' to `thisenv' later after (funcall mode).
7833 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7834 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7835 instead of replacing its value. (Bug#8340)
7837 2011-09-07 Juri Linkov <juri@jurta.org>
7839 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7840 based on text properties put by `grep-filter' instead of matching
7842 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7843 to the value of `grep-error-screen-columns' (bug#9438).
7845 2011-09-07 Juri Linkov <juri@jurta.org>
7847 * simple.el (next-error-highlight, next-error-highlight-no-select):
7850 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7852 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7853 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7855 2011-09-07 Leo Liu <sdl.web@gmail.com>
7857 * net/rcirc.el (rcirc-mode): Conditionally initialize
7860 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7862 * emacs-lisp/find-func.el (find-function-C-source): Only set
7863 find-function-C-source-directory after checking that we found a source
7864 file there (bug#9440).
7866 2011-09-06 Alan Mackenzie <acm@muc.de>
7868 * isearch.el (isearch-other-meta-char): Wherever a key list is
7869 unread, "unread" the prefix arg, too. This fixes bug #8901.
7871 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7873 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7875 2011-09-05 Juri Linkov <juri@jurta.org>
7877 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7879 2011-09-05 Juri Linkov <juri@jurta.org>
7881 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7882 keeping point where processing of grep matches begins, and
7883 continue to delete remaining escape sequences from the same point.
7884 (grep-filter): Make leading zero optional in "0?1;31m" because
7885 git-grep emits "\033[1;31m" escape sequences unlike expected
7886 "\033[01;31m" as GNU Grep does (bug#9408).
7887 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7889 2011-09-05 Juri Linkov <juri@jurta.org>
7891 * subr.el (y-or-n-p): Capitalize "yes".
7893 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7895 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7896 `tramp-cache-unload-hook' where appropriate.
7897 (tramp-methods): Rename `tramp-remote-sh' to
7898 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7899 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7901 * net/tramp-sh.el (top): Don't require 'shell.
7902 (tramp-methods): Add `tramp-remote-shell' and
7903 `tramp-remote-shell-args' entries.
7904 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7905 (tramp-sh-handle-shell-command): Remove.
7906 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7907 Use `tramp-remote-shell'.
7909 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7911 * mail/sendmail.el (sendmail-query-once-function): Delete.
7912 (sendmail-query-once): Save directly to send-mail-function.
7913 Update message-send-mail-function too.
7915 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7917 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7919 * progmodes/python.el (python-mode-map): Use correct function to
7920 start python interpreter from menu-bar (as reported by Geert
7922 (inferior-python-mode-map): Fix typo.
7923 (python-shell-map): Remove.
7925 2011-09-03 Deniz Dogan <deniz@dogan.se>
7927 * net/rcirc.el (rcirc-print): Simplify code for
7928 rcirc-scroll-show-maximum-output. There is no need to walk
7929 through all windows to find the right one.
7931 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7933 * help.el (help-return-method): Doc fix.
7935 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7937 * window.el (window-deletable-p): Don't return a non-nil value
7938 when there's a buffer that was shown in the window before.
7940 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7941 Set window's previous buffers to nil.
7943 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7945 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7946 newline before and after the tag line, so it doesn't interfere
7947 with determining the paragraph direction of bidirectional text.
7949 2011-09-03 Leo Liu <sdl.web@gmail.com>
7951 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7953 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7955 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7956 (pop-to-buffer): Change interactive spec. Pass second argument
7957 directly to display-buffer.
7958 (display-buffer): Fix interactive spec. Use functionp to
7959 distinguish between a function and a list of functions.
7961 * abbrev.el (edit-abbrevs):
7962 * arc-mode.el (archive-extract):
7963 * autoinsert.el (auto-insert):
7964 * bookmark.el (bookmark-bmenu-list):
7965 * files.el (find-file):
7966 * view.el (view-buffer):
7967 * progmodes/compile.el (compilation-goto-locus):
7968 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7970 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7972 * window.el (display-buffer-alist): Doc fix.
7973 (display-buffer): Add docstring. Don't treat
7974 display-buffer-default specially.
7975 (display-buffer-reuse-selected-window)
7976 (display-buffer-same-window, display-buffer-maybe-same-window)
7977 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7978 (display-buffer-pop-up-window)
7979 (display-buffer-reuse-or-pop-window)
7980 (display-buffer-use-some-window): New functions.
7981 (display-buffer-default-action): Use them.
7982 (display-buffer-default): Delete.
7983 (pop-to-buffer-1): Fix choice of actions.
7985 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * minibuffer.el (completion--insert-strings): Don't get confused by
7988 completion entries that end with an LF char.
7990 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7992 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7994 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7996 * window.el (display-buffer): Restore interactive spec.
7997 (display-buffer-same-window, display-buffer-other-window):
7999 (pop-to-buffer-1): New function. Use the above.
8000 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8001 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8003 * view.el (view-buffer-other-window, view-buffer-other-frame):
8004 Just use pop-to-buffer.
8006 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8008 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8010 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8012 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8014 2011-08-31 Richard Stallman <rms@gnu.org>
8016 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8017 of the separation of rmail-view-buffer from rmail-buffer.
8018 If you say no to "replace original", the decrypt is in the
8019 view buffer. If you say yes, the decrypt goes into the
8022 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8024 * window.el (display-buffer-window): Rewrite doc-string.
8025 (display-buffer-record-window): New function.
8026 (display-buffer-macro-specifiers)
8027 (display-buffer-even-window-sizes, display-buffer-set-height)
8028 (display-buffer-set-width, display-buffer-in-window)
8029 (display-buffer-reuse-window, display-buffer-split-specifiers)
8030 (display-buffer-side-specifiers, display-buffer-split-window-1)
8031 (display-buffer-split-window, display-buffer-split-atom-window)
8032 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8033 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8034 (display-buffer-other-window-means-other-frame)
8035 (display-buffer-normalize-special)
8036 (display-buffer-normalize-default)
8037 (display-buffer-normalize-argument)
8038 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8039 (display-buffer-normalize-specifiers, display-buffer-frame)
8040 (display-buffer-same-window, display-buffer-same-frame)
8041 (display-buffer-other-window)
8042 (display-buffer-same-frame-other-window)
8043 (display-buffer-other-frame, pop-to-buffer-same-window)
8044 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8045 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8046 (switch-to-buffer-same-frame)
8047 (switch-to-buffer-other-window-same-frame)
8048 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8049 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8050 (display-buffer-alist-set): Remove.
8051 (display-buffer-function, special-display-buffer-names)
8052 (special-display-regexps, special-display-function):
8053 In doc-string refer to display-buffer-window and quit-restore
8055 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8056 (special-display-frame-alist, special-display-popup-frame)
8057 (same-window-buffer-names, same-window-regexps, same-window-p)
8058 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8059 (split-window-preferred-function, split-height-threshold)
8060 (split-width-threshold, window-splittable-p)
8061 (split-window-sensibly, window--try-to-split-window)
8062 (window--frame-usable-p, even-window-heights)
8063 (window--even-window-heights, window--display-buffer-1)
8064 (window--display-buffer-2, display-buffer-other-frame):
8065 Restore old Emacs 23 code, order and doc-strings where applicable.
8066 (display-buffer-default, display-buffer-assq-regexp): New functions.
8067 (display-buffer-alist): Rewrite doc-string.
8068 (display-buffer-default-action)
8069 (display-buffer-overriding-action): New variables.
8070 (display-buffer, switch-to-buffer): Rewrite.
8071 (pop-to-buffer): Restore Emacs 23 behavior but use
8072 window-normalize-buffer-to-display.
8073 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8074 Restore Emacs 23 behavior but use
8075 window-normalize-buffer-to-switch-to.
8076 (pop-to-buffer-same-window): Rewrite.
8077 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8078 Rewrite using Emacs 23 options.
8080 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8082 * net/tramp.el (tramp-root-regexp): Remove.
8083 (tramp-completion-file-name-regexp-unified)
8084 (tramp-completion-file-name-regexp-separate)
8085 (tramp-completion-file-name-regexp-url): Don't use leading volume
8086 letter on win32 systems. (Bug#5303, Bug#9311)
8087 (tramp-drop-volume-letter): Simplify definition.
8088 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8090 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8092 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8095 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8097 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8099 2011-08-29 Juri Linkov <juri@jurta.org>
8101 * isearch.el (isearch-done): Don't display message "Mark saved"
8102 when arg `edit' is non-nil to prevent its flicker in the echo area.
8104 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8106 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8107 obsolete packages for deletion.
8109 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8111 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8112 (help-mode): Derive help-mode from special-mode. Don't invoke
8113 view-mode from help-mode.
8114 (help-xref-override-view-map): Remove.
8115 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8116 view-mode is not used anymore.
8118 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8120 * server.el (server-port): Doc fix.
8122 * cus-theme.el (custom-theme-choose-mode): Inherit from
8123 special-mode (Bug#9124).
8124 (custom-theme-choose-mode-map): Add special-mode to parent.
8126 2011-08-28 Alan Mackenzie <acm@muc.de>
8128 * progmodes/cc-fonts.el
8129 (c-make-font-lock-BO-decl-search-function): New function.
8130 (c-basic-matchers-after - "Fontify the clauses after various
8131 keywords"): Extract the three keyword lists for the 3 erroneous
8132 constructs from the list of four, and use the new function above
8133 in place of an old one.
8135 2011-08-28 Deniz Dogan <deniz@dogan.se>
8137 * net/rcirc.el (rcirc-insert-prev-input)
8138 (rcirc-insert-next-input): Remove unused argument.
8140 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8142 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8144 2011-08-27 Alan Mackenzie <acm@muc.de>
8146 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8147 handle function pointer parameters properly.
8149 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8151 * window.el (display-buffer-reuse-window): Fix case where
8152 selected window was reused with non-nil OTHER-WINDOW argument.
8155 2011-08-27 Deniz Dogan <deniz@dogan.se>
8157 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8158 oftc's NickServ messages.
8160 2011-08-27 Glenn Morris <rgm@gnu.org>
8162 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8164 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8166 * emacs-lisp/package.el (package-install): Call package-initialize
8167 if called interactively.
8169 2011-08-26 Leo Liu <sdl.web@gmail.com>
8171 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8173 2011-08-25 Juri Linkov <juri@jurta.org>
8175 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8176 `search-whitespace-regexp' (bug#9364).
8178 2011-08-25 Juri Linkov <juri@jurta.org>
8180 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8181 `regexp-search-ring' to their global values to protect from
8182 updating by `read-from-minibuffer' (bug#9185).
8184 2011-08-25 Juri Linkov <juri@jurta.org>
8186 * textmodes/ispell.el (ispell-command-loop): Add newline
8187 at the end of the "Use option `i'..." line.
8189 2011-08-25 Juri Linkov <juri@jurta.org>
8191 * battery.el (display-battery-mode): If `battery-status-function'
8192 or `battery-mode-line-format' is nil, display the message and set
8193 `display-battery-mode' to nil (bug#9363).
8195 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8197 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8198 bidi-string-mark-left-to-right; they are unnecessary now.
8200 2011-08-25 Deniz Dogan <deniz@dogan.se>
8202 * net/quickurl.el: Documentation typo fixes.
8204 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8206 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8208 2011-08-25 Glenn Morris <rgm@gnu.org>
8210 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8212 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8213 (smtpmail-via-smtp): Handle nil response from smtp.
8215 2011-08-24 Juri Linkov <juri@jurta.org>
8217 * proced.el (proced-marked): Inherit from `error' instead of
8218 `font-lock-warning-face'.
8220 * ibuffer.el (ibuffer-marked-face): Change default face from
8221 `font-lock-warning-face' to `warning'.
8222 (ibuffer-deletion-face): Change default face from
8223 `font-lock-type-face' to `error'.
8225 * battery.el (battery-update): Use the face `error' instead of
8226 `font-lock-warning-face' (bug#6117).
8228 2011-08-24 Juri Linkov <juri@jurta.org>
8230 * faces.el (success): Change face color from "Green3" to
8231 "ForestGreen" on light background (bug#9353).
8233 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8235 * window.el (quit-window): Rename from quit-restore-window.
8236 Use same arglist as old quit-window.
8237 (frame-auto-delete): Doc fix.
8239 * view.el (view-mode-exit): Use quit-window.
8241 2011-08-24 Juri Linkov <juri@jurta.org>
8243 * isearch.el (isearch-ring-adjust1): Start visiting previous
8244 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8245 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8246 for empty search string (when the last search string is reused
8247 automatically) to adjust the isearch ring to the last element and
8248 prepare the correct index for further M-p commands (bug#9185).
8250 2011-08-24 Kenichi Handa <handa@m17n.org>
8252 * international/ucs-normalize.el: If decomposition property of
8253 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8255 (nfd, nfkd): Likewise.
8257 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8259 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8260 from process filters aren't reliably transmitted to the surrounding
8261 accept-process-output.
8262 (mpc-proc-check): New function.
8263 (mpc-proc-sync): Use it (bug#8293)
8265 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8268 Add compatibility functions (bug#9313).
8270 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8272 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8274 * international/uni-bidi.el: Regenerate.
8276 2011-08-23 Kenichi Handa <handa@m17n.org>
8278 * international/charprop.el:
8279 * international/uni-bidi.el:
8280 * international/uni-category.el:
8281 * international/uni-combining.el:
8282 * international/uni-comment.el:
8283 * international/uni-decimal.el:
8284 * international/uni-decomposition.el:
8285 * international/uni-digit.el:
8286 * international/uni-lowercase.el:
8287 * international/uni-mirrored.el:
8288 * international/uni-name.el:
8289 * international/uni-numeric.el:
8290 * international/uni-old-name.el:
8291 * international/uni-titlecase.el:
8292 * international/uni-uppercase.el: Regenerate.
8294 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8296 * help.el (help-window-setup): Fix message displayed when other
8297 window is reused. (Bug#9341)
8299 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8302 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8304 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8306 * shell.el (shell-parse-pcomplete-arguments): New function.
8307 (shell-completion-vars): Use it instead (bug#9160).
8309 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8311 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8312 strings and comments (bug#9333).
8314 * emacs-lisp/debug.el (debug-arglist): New function.
8315 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8316 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8318 2011-08-22 Juri Linkov <juri@jurta.org>
8320 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8321 Revert regexp that highlights output switches to its old
8322 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8324 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8325 to check for empty output (bug#9226).
8327 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8329 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8330 symbol-constituent as the default, as that stops font-lock from
8331 working properly (Bug#8843).
8333 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8335 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8336 `coding-system-for-*' around the process open call to avoid
8337 auth-source side effects.
8338 (smtpmail-try-auth-methods): Expand the secret password.
8339 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8342 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8344 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8346 * emacs-lisp/find-func.el (find-function-noselect): New arg
8349 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8350 signal an error for built-in functions (Bug#6664).
8352 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8354 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8355 (smtpmail-try-auth-methods): Use it.
8357 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8359 * font-lock.el (font-lock-fontify-region)
8360 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8361 (font-lock-default-unfontify-buffer)
8362 (font-lock-default-fontify-region)
8363 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8365 * progmodes/compile.el (compilation-error-properties):
8366 Fix confusion between file struct and message struct (Bug#9319).
8367 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8370 * net/browse-url.el (browse-url-firefox): Don't call
8371 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8373 2011-08-20 Glenn Morris <rgm@gnu.org>
8375 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8377 * tutorial.el (tutorial--default-keys): Update some default bindings.
8379 * files.el (hack-local-variables): Fully ignore case for "mode:".
8381 2011-08-20 Alan Mackenzie <acm@muc.de>
8383 Resolve invalid use of a regexp in regexp-opt.
8385 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8386 detection for a java annotation.
8388 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8389 detection for a java annotation.
8391 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8393 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8395 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8397 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8400 2011-08-20 Alan Mackenzie <acm@muc.de>
8402 Fontify CPP expressions correctly when starting in the middle of
8403 such a construct. Mainly for when jit-lock etc. starts a chunk
8406 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8408 (c-make-font-lock-search-form): New function, extracted from
8409 c-make-font-lock-search-function.
8410 (c-make-font-lock-search-function): Use the above function.
8411 (c-make-font-lock-context-search-function): New function.
8412 (c-cpp-matchers): Enhance the preprocessor expression case with
8414 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8415 which takes an expression.
8417 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8419 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8421 * window.el (display-buffer-reuse-window)
8422 (display-buffer-pop-up-window): Don't reuse or split a side
8425 2011-08-19 Glenn Morris <rgm@gnu.org>
8427 * files.el (hack-local-variables-prop-line, hack-local-variables):
8428 Downcase "Mode:". (Bug#9331)
8430 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8432 * international/characters.el: Add L and R categories.
8434 * subr.el (bidi-string-mark-left-to-right): Rename from
8435 string-mark-left-to-right. Use category search.
8437 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8439 2011-08-18 Juri Linkov <juri@jurta.org>
8441 * faces.el (error, warning, success): New faces with definitions
8442 copied from old default values of `font-lock-warning-face',
8443 `compilation-warning', `compilation-info' (bug#6117).
8445 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8447 * progmodes/compile.el (compilation-error): Inherit from `error'.
8448 (compilation-warning): Inherit from `warning'.
8449 (compilation-info): Inherit from `success'.
8451 * dired.el (dired-marked): Inherit from `warning'.
8452 (dired-flagged): Inherit from `error'.
8454 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8456 * mail/smtpmail.el (auth-source): Require to avoid problems with
8457 binding variables (bug#9298). Also clean up some unused
8460 * net/network-stream.el (network-stream-open-starttls):
8461 Support using starttls.el without using gnutls-cli.
8463 2011-08-17 Juri Linkov <juri@jurta.org>
8465 * progmodes/grep.el (rgrep): Handle the case when
8466 `grep-find-command' is a cons cell (bug#9278).
8468 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8470 * window.el (display-buffer-pop-up-frame): Run frame creation
8471 function with BUFFER current (as special-display-popup-frame
8472 does). Reported by Drew Adams.
8474 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8476 * epa-mail.el: Simplify GnuPG group expansion using
8478 (epa-mail-group-alist, epa-mail-group-modtime)
8479 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8480 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8481 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8484 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8486 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8488 2011-08-16 Alan Mackenzie <acm@muc.de>
8490 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8491 Correct, to avoid the inside of macros.
8493 2011-08-16 Richard Stallman <rms@gnu.org>
8495 * epa-mail.el: Handle GnuPG group definitions.
8496 (epa-mail-group-alist, epa-mail-group-modtime)
8497 (epa-mail-gnupg-conf-file): New variables.
8498 (epa-mail-parse-groups, epa-mail-sync-groups)
8499 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8500 (epa-mail-expand-recipients): New functions.
8501 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8503 * mail/rmail.el (rmail-epa-decrypt): New command.
8505 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8506 Don't bind buffer-read-only, just inhibit-read-only.
8507 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8508 (epa-decrypt-armor-in-region): Make error message clearer.
8510 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8512 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8513 and "a2b" to "ab" for `prefix'.
8515 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8517 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8519 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8520 Fourquet (Bug#8804).
8522 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8524 * startup.el (argi): Declare as global variable (bug#9275).
8526 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8528 * subr.el (string-mark-left-to-right): Search the entire string
8529 for RTL script, not just the terminating character. Doc fix.
8531 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8533 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8535 (js--regexp-literal, js-syntax-propertize-function): Remove.
8536 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8537 (js-mode-map): Don't rebind electric keys.
8538 (js-insert-and-indent): Remove.
8539 (js-mode): Setup electric-layout and electric-indent instead.
8541 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8543 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8545 * epa.el (epa-progress-callback-function): Fix the logic of
8546 displaying progress.
8547 * epa-file.el (epa-file-insert-file-contents): Make progress
8548 display more user-friendly.
8549 (epa-file-write-region): Ditto.
8551 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8553 * subr.el (string-mark-left-to-right): New function.
8555 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8556 Use string-mark-left-to-right.
8557 (list-buffers-noselect): Caller changed.
8559 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8560 Use string-mark-left-to-right.
8561 (tabulated-list-print): Recenter after moving point.
8563 2011-08-10 Juri Linkov <juri@jurta.org>
8565 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8566 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8567 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8569 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8571 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8574 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8576 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8577 character. (Bug#6594)
8579 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8581 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8582 (image-dired--with-db-file): New macro.
8583 (image-dired-write-tags, image-dired-remove-tag)
8584 (image-dired-create-gallery-lists, image-dired-write-comments)
8585 (image-dired-get-comment, image-dired-mark-tagged-files)
8586 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8587 (image-dired-gallery-generate): Use insert-file-contents.
8589 * time.el (display-time-world-list, display-time-world-display):
8590 * time-stamp.el (time-stamp-string):
8591 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8592 set-time-zone-rule (Bug#7337).
8594 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8596 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8597 (epg-error-to-string, epg-errors-to-string): New function.
8598 (epg-wait-for-completion): Reverse errors list.
8599 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8600 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8601 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8602 (epg-sign-keys, epg-generate-key-from-file)
8603 (epg-generate-key-from-string): Format errors by using
8604 epg-errors-to-string (bug#9255).
8605 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8607 2011-08-07 Juri Linkov <juri@jurta.org>
8609 * faces.el (list-faces-display): Remove extra angle bracket
8610 from `help-mode-map'.
8612 * info.el (Info-history-toc-nodes): Doc fix.
8614 * longlines.el (longlines-mode): Doc fix.
8616 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8619 of statements and in a few more cases (bug#9183).
8621 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8623 (cl-transform-lambda): Use them (bug#9239).
8625 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8627 * window.el (display-buffer-same-window)
8628 (display-buffer-same-frame, display-buffer-other-window)
8629 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8630 (pop-to-buffer-other-window)
8631 (pop-to-buffer-same-frame-other-window)
8632 (pop-to-buffer-other-frame): Make them defuns.
8633 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8635 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * subr.el (make-composed-keymap): Move from C. Change calling
8638 convention, and improve docstring to bring attention to a subtle point.
8639 * minibuffer.el (completing-read-default): Adjust accordingly.
8641 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8643 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8644 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8646 * net/trampver.el: Update release number.
8648 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8650 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8653 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655 * mail/sendmail.el (sendmail-query-once): Restore the current
8656 buffer after querying (bug#9074).
8658 * dired.el (dired-flagged): Use different faces for marked and
8659 flagged files (bug#6117).
8661 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8664 * ido.el (ido-mode): Switch off the message if called
8667 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8668 before 587, since it appears that that's more likely to work for
8671 * cus-edit.el (custom-file): When running under emacs -q, always
8672 refuse to save the customizations, even if the .emacs file doesn't
8675 * info.el: Remove the `Info-beginning-of-buffer' function
8678 * net/network-stream.el (network-stream-open-starttls):
8679 Use `starttls-available-p' to see whether starttls.el can be used.
8681 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8683 * window.el (display-buffer-in-window): Don't set dedicated status
8684 of window here (Bug#9215).
8685 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8686 (display-buffer-pop-up-side-window)
8687 (display-buffer-in-side-window): Set dedicated status of window here.
8689 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8691 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8692 before binding generated-autoload-file.
8694 2011-08-01 Deniz Dogan <deniz@dogan.se>
8696 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8698 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8700 Sync with Tramp 2.2.2.
8702 * net/trampver.el: Update release number.
8704 2011-07-30 Juri Linkov <juri@jurta.org>
8706 * dired-aux.el (dired-touch-initial): Remove function.
8707 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8708 current time, and `default' to the last modification time of the
8709 current marked file (bug#6887).
8711 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8713 * simple.el (goto-line): Use string-to-number to provide a
8714 numeric argument to read-number (bug#9163).
8716 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8718 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8719 connection process, it could be nil.
8721 2011-07-27 Leo Liu <sdl.web@gmail.com>
8723 Simplify url handling in rcirc-mode.
8725 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8726 (rcirc-browse-url-at-mouse): Remove.
8727 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8729 2011-07-26 Alan Mackenzie <acm@muc.de>
8731 Fontify bitfield declarations properly.
8733 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8734 (c-symbol-chars): Now exported as a lang variable.
8735 (c-not-primitive-type-keywords): New lang variable.
8737 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8738 QT keyword "more" to prevent "more slots: ...." being spuriously
8739 parsed as a bitfield declaration.
8741 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8742 Refactor and enhance to handle bitfield declarations.
8743 (c-punctuation-in): New function.
8744 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8745 declarations properly.
8747 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8749 * calendar/icalendar.el (icalendar--all-events): Take care of
8750 multiple vcalendars in a single file.
8751 (icalendar--convert-float-to-ical): Checkdoc fixes.
8753 2011-07-25 Deniz Dogan <deniz@dogan.se>
8755 * image.el (insert-image): Clarifying docstring.
8757 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8759 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8760 `tramp-send-command-and-check' if there is no error.
8761 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8763 2011-07-22 Alan Mackenzie <acm@muc.de>
8765 Prevent cc-langs.elc being loaded at run time.
8767 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8770 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8771 "(require 'cc-langs)". Quote a form so it will evaluate at
8772 (cc-mode's) compilation time.
8774 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8776 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8779 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8781 * window.el (display-buffer-pop-up-window)
8782 (display-buffer-pop-up-side-window)
8783 (display-buffer-in-side-window): Call display-buffer-set-height
8784 and display-buffer-set-width after setting the new window's
8785 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8787 2011-07-20 Sam Steingold <sds@gnu.org>
8789 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8790 (etags-tags-included-tables): Call `convert-standard-filename' on
8791 the file names contained in TAGS so that windows Emacs can handle
8792 TAGS files created by cygwin ctags.
8794 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8796 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8797 which apparently didn't work.
8799 2011-07-19 Roland Winkler <winkler@gnu.org>
8801 * proced.el (proced-send-signal): For *Marked Processes* buffer
8802 put point at beginning of buffer.
8804 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8806 * proced.el (proced-format): Make header lines align with the text
8809 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811 * view.el (view-buffer): Allow running in `special' modes if we're
8812 visiting a file (bug#8615).
8814 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8816 * window.el (display-buffer-alist-of-strings-p)
8817 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8819 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8822 2011-07-18 Alan Mackenzie <acm@muc.de>
8824 Fontify declarators properly when, e.g., a jit-lock chunk begins
8825 inside a declaration.
8827 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8829 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8831 (c-complex-decl-matchers): Insert reference to
8832 c-font-lock-enclosing-decls.
8834 * progmodes/cc-engine.el (c-backward-single-comment):
8835 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8836 to nil around calls to (forward-comment -1).
8838 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8840 * image.el (put-image): Doc typo fix.
8842 * progmodes/etags.el (tags-search): Doc typo fix.
8844 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8845 password if we get errors 550 to 554.
8847 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8849 * net/gnutls.el (gnutls-log-level): Remove.
8851 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8852 indentation character (bug#6380).
8854 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8856 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8857 to clarify what the problem is (bug#4291).
8859 * simple.el (current-kill): Clarify what
8860 `interprogram-paste-function' does (bug#7500).
8861 (auto-fill-mode): Document `auto-fill-function' in relation to
8862 `auto-fill-mode' (bug#2470).
8864 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8866 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8867 method if slot is read-only (bug#9035).
8869 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8871 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8872 * window.el (pop-to-buffer): Select window used even if it was
8873 selected before, see discussion of (Bug#8615), (Bug#6954).
8874 Pass argument NORECORD on to select-frame-set-input-focus.
8876 2011-07-15 Glenn Morris <rgm@gnu.org>
8878 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8881 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8883 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8884 (gnutls-negotiate): Use it.
8886 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8888 * net/gnutls.el (gnutls-negotiate):
8889 Upcase `gnutls-algorithm-priority'.
8891 2011-07-15 Glenn Morris <rgm@gnu.org>
8893 * jka-compr.el (jka-compr-verbose): Move from here...
8894 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8895 Add missing :version tag.
8896 * info.el: No need to require jka-compr when compiling.
8898 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8900 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8901 (gnutls-negotiate): Use it.
8903 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8905 * info.el (Info-beginning-of-buffer): New command.
8906 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8907 announcing `b' as the key (bug#8325).
8908 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8910 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8912 * international/mule-cmds.el
8913 (describe-specified-language-support): Make the error message
8916 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8918 * isearch.el (isearch-barrier): Add a doc string, since it's
8919 mentioned in a function doc string (bug#8678).
8921 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8923 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8924 buffer argument (Bug#9083) and self-identifying label argument.
8926 2011-07-15 Glenn Morris <rgm@gnu.org>
8928 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8930 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8932 * man.el (Man-fontify-manpage): Fix message when formatting the
8933 man page (bug#7929).
8935 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8937 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8938 argument LRM; if non-nil, append an invisible LRM character to the
8940 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8941 last argument non-nil, when formatting buffer names.
8942 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8943 paragraph direction.
8945 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8947 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8948 the man page name (bug#7929).
8950 * image.el (put-image): Mention the `put-image' overlay property
8953 * scroll-bar.el (set-scroll-bar-mode): Mention that
8954 `scroll-bar-mode' lists the values (bug#7772).
8956 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8959 * rect.el (apply-on-rectangle): Return the point after the last
8961 (string-rectangle): Go to the point after the last operation
8964 * printing.el (pr-toggle-region): Clarify the documentation
8965 slightly (bug#7493).
8967 * time.el (display-time-update):
8968 Allow `display-time-mail-function' to return nil (bug#7158).
8969 Fix suggested by Detlev Zundel.
8971 * vc/diff.el (diff): Clarify the order the file names are read
8974 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8975 the doc string (bug#7015).
8977 * font-lock.el (font-lock-maximum-decoration): Mention what
8978 numeric levels mean (bug#6935).
8980 * startup.el (initial-buffer-choice): Don't mention the `none'
8981 selection, which is against policy.
8983 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8985 * window.el (display-buffer-normalize-special):
8986 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8988 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8990 * subr.el (version<, version<=, version=): Mention "-CVS" and
8991 "-12345" alpha version numbers.
8993 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8995 * bindings.el: Add advertised binding for set-mark-command
8998 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9000 * bindings.el (mode-line-other-buffer):
9001 * bookmark.el (bookmark-bmenu-2-window):
9002 * bs.el (bs-cycle-next, bs-cycle-previous):
9003 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9006 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9009 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9011 * follow.el (follow-debug-message, follow-redisplay):
9012 * jka-cmpr-hook.el (with-auto-compression-mode):
9013 Fix typos in docstrings.
9015 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017 * subr.el (with-silent-modifications): Clarify somewhat what the
9018 macro inhibits (bug#6525).
9020 * simple.el (eval-expression): Note what it does if called
9021 interactively (bug#6495).
9023 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9025 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9026 Use pop-to-buffer buffer-or-name if it is nil.
9028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9029 Remove switch-to-buffer.
9031 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9033 * files.el (make-directory): Clarify that an error will be raised
9034 if there's an error (bug#6397).
9036 * startup.el (initial-buffer-choice): Add `none' as a choice
9039 * subr.el (add-hook): Clarify section about buffer-local hooks
9042 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9044 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9046 * tabify.el (untabify): Preserve the current column so that point
9047 doesn't move (bug#6032).
9049 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9051 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9052 Rewrite to avoid awkward possessive "s" (bug#5986).
9054 2011-07-13 Glenn Morris <rgm@gnu.org>
9056 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9057 (dired-insert-directory): Give a message the first time
9058 if ls is found not to support --dired.
9060 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062 * simple.el (toggle-truncate-lines): Clarify what is toggled
9063 (bug#5580). Text by Drew Adams.
9065 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9067 * simple.el (blink-matching-open): Make the error message from the
9068 last change less verbose.
9070 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9072 * font-lock.el (font-lock-comment-face): Use the high contrast
9073 "yellow" color for font-lock-comment-face on low color terminals
9074 using a dark background color (bug#4221).
9076 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9078 * dired.el (dired-insert-set-properties): Make the doc string
9079 reflect what it does now (bug#5325).
9081 * simple.el (blink-matching-open): Say that we were unable to find
9082 the match within the limit, if we're limited (bug#5122).
9084 * international/mule-cmds.el (prefer-coding-system): Add an
9087 * progmodes/etags.el (tags-search): Document `file-list-form'
9090 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9092 * net/browse-url.el (browse-url-default-browser)
9093 (browse-url-browser-function): Make the default browser choice a
9094 bit more logical (bug#4300). Also clean up the doc string.
9096 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9098 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9099 binary endings (bug#4440).
9101 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9104 which can be pretty annoying (bug#8971).
9106 * jka-compr.el (jka-compr-verbose): New variable, and use
9107 throughout (bug#8971).
9109 * info.el (Info-find-file): Fall back on the installation
9110 directory if we can't find the info node anywhere else.
9112 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9114 * vc/vc.el (vc-revert-file):
9115 Don't set file time-stamp in the past. (Bug#5181)
9117 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119 * files.el (after-find-file): Give a better error message when
9120 trying to find a symlink that points to a file that doesn't exist
9123 * progmodes/cc-vars.el: Remove (probably) misleading comment
9126 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9128 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9130 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9132 * mouse-sel.el: Hack restoring functionality, while keeping
9133 compatibility with 2010-07-03 changes to mouse selection.
9134 (mouse-sel-primary-overlay): New var.
9135 (mouse-sel-selection-alist): Use it.
9136 (mouse-sel-mode): Doc fix; remove points that are default features
9139 2011-07-12 Johan Bockgård <bojohan@gnu.org>
9141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9142 Fix previous fix (bug#2490).
9144 2011-07-12 Roland Winkler <winkler@gnu.org>
9146 * textmodes/bibtex.el (bibtex-initialize):
9147 Use pop-to-buffer-same-window.
9148 (bibtex-search-entries): Fix interactive call.
9150 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9153 Fontise bytecomp Error lines more correctly (bug#2490).
9154 Fix suggested by Johan Bockgård.
9156 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9158 * dired-x.el (dired-guess-default): Use `delete-dups'.
9160 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9162 * dired.el (dired-mark-prompt):
9163 * dired-aux.el (dired-read-shell-command): Doc fix.
9165 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9167 * mail/sendmail.el (sendmail-query-once):
9168 Use `customize-save-variable' unconditionally, now that it works under
9171 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9173 * cus-edit.el (custom-file): Take an optional no-error variable.
9174 (customize-save-variable): Set the variable, and give a warning if
9175 running under "emacs -q".
9177 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9179 * loadhist.el (unload-feature-special-hooks):
9180 Add `auto-coding-functions', `fill-nobreak-predicate' and
9181 `find-directory-functions' (bug#5327).
9183 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9187 * cus-edit.el (custom-guess-name-alist): -alist variables should
9188 use the `alist' type (bug#3120). Suggested by Drew Adams.
9190 * printing.el: Add documentation to all the `pr-toggle-' commands.
9192 2011-07-11 Leo Liu <sdl.web@gmail.com>
9194 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9195 backends where it makes sense (bug#2623).
9197 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9199 * dired-x.el (dired-guess-default): Remove duplicate shell command
9201 (dired-guess-default): Fix grammar in doc string (bug#2028).
9202 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9204 * subr.el (remove-duplicates): New conveniency function.
9206 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9208 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9211 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9213 * window.el (display-buffer-normalize-default): Don't invert
9214 meaning of even-window-heights. Reported by Eli Zaretskii
9217 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9219 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9221 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9223 * window.el (display-buffer): Fix arguments to
9224 display-buffer-reuse-window in last change.
9226 * faces.el (link): Use a less saturated blue on light backgrounds.
9228 * startup.el (fancy-startup-text, fancy-about-text)
9229 (fancy-startup-tail): Use font-lock faces, for background safety.
9231 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9233 * emulation/viper-cmd.el (viper-change-state-to-vi):
9234 Limit triggering of abbrev expansion (Bug#9038).
9236 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9238 * window.el (display-buffer-default-specifiers): Remove.
9239 (display-buffer-macro-specifiers): Remove default specifiers.
9240 (display-buffer-alist): Default to nil.
9241 (display-buffer-reuse-window): New optional argument other-window.
9242 (display-buffer-pop-up-window): Allow splitting internal
9243 windows. Check whether a live window was created.
9244 (display-buffer-other-window-means-other-frame)
9245 (display-buffer-normalize-arguments): Rename to
9246 display-buffer-normalize-argument and rewrite. Set the
9247 other-window specifier.
9248 (display-buffer-normalize-special): New function.
9249 (display-buffer-normalize-options): Rename to
9250 display-buffer-normalize-default and rewrite.
9251 (display-buffer-normalize-options-inhibit): Remove.
9252 (display-buffer-normalize-specifiers): Rewrite.
9253 (display-buffer): Process other-window specifier and call
9254 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9256 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9257 (display-buffer-alist-set): Don't handle 'unset default values.
9258 (display-buffer-in-window, display-buffer-alist-set):
9259 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9260 <tassilo@member.fsf.org>.
9262 2011-07-09 Leo Liu <sdl.web@gmail.com>
9264 * register.el (insert-register): Restore accidental change on
9265 2011-06-26. (Bug#9028)
9267 2011-07-09 Glenn Morris <rgm@gnu.org>
9269 * subr.el (remq): Handle the empty list. (Bug#9024)
9271 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9273 * mail/sendmail.el (send-mail-function): No longer delay custom
9275 * custom.el (custom-initialize-delay): Doc fix.
9277 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9279 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9281 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9283 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9284 human-friendly prompt.
9286 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9289 provided by a particular plugin.
9291 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9294 save customizations (with "emacs -Q"), just set the variable
9295 instead of erroring out.
9297 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9299 2011-07-08 Juri Linkov <juri@jurta.org>
9301 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9302 (archive-zip-update-case): Use 7z if found by `executable-find'.
9303 The order of searching the available programs is the same as in
9304 `archive-zip-extract' (bug#8968).
9306 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9308 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9309 (menu-bar-options-menu): Tweak descriptions.
9311 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9313 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9314 menu items into verb phrases (bug#1421). Also refill to fit under
9317 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9319 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9320 (Info-read-node-name): Doc fix (Bug#1084).
9322 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9323 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9324 (end-of-sexp, beginning-of-sexp)
9325 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9326 (forward-symbol, forward-same-syntax, word-at-point)
9327 (sentence-at-point): Doc fix (Bug#1144).
9329 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9331 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9332 should cover it (bug#1281).
9334 * cus-edit.el (custom-show): Mark as obsolete.
9336 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9337 negotiation fails, then possibly try again with a non-encrypted
9338 connection (bug#9017).
9340 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9343 2011-07-07 Richard Stallman <rms@gnu.org>
9345 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9346 property, and handle its changed format.
9347 Look for the correct line number.
9348 Use file's line contents (but not past first =) to find
9349 correct line in message.
9351 2011-07-07 Kenichi Handa <handa@m17n.org>
9353 * international/characters.el (build-unicode-category-table):
9355 (unicode-category-table): Set it by unicode-property-table-internal.
9357 * international/mule-cmds.el (char-code-property-alist): Move to
9359 (get-char-code-property): Call unicode-property-table-internal to
9360 load a file. Call get-unicode-property-internal where necessary.
9361 (put-char-code-property): Call unicode-property-table-internal to
9362 load a file. Call put-unicode-property-internal where necessary.
9363 put-unicode-property-internal where necessary.
9364 (char-code-property-description):
9365 Call unicode-property-table-internal to load a file.
9367 * international/charprop.el:
9368 * international/uni-bidi.el:
9369 * international/uni-category.el:
9370 * international/uni-combining.el:
9371 * international/uni-comment.el:
9372 * international/uni-decimal.el:
9373 * international/uni-decomposition.el:
9374 * international/uni-digit.el:
9375 * international/uni-lowercase.el:
9376 * international/uni-mirrored.el:
9377 * international/uni-name.el:
9378 * international/uni-numeric.el:
9379 * international/uni-old-name.el:
9380 * international/uni-titlecase.el:
9381 * international/uni-uppercase.el: Regenerate.
9383 * loadup.el: Load international/charprop.el before
9384 international/characters.
9386 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9388 * window.el (next-buffer, previous-buffer): Signal an error if
9389 called from a minibuffer window.
9391 * bindings.el: Revert 2011-07-04 change.
9393 2011-07-06 Richard Stallman <rms@gnu.org>
9395 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9396 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9397 Treat markers like ints.
9398 (rmail-mime-entity): Doc fix.
9400 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9402 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9403 defcustom again for backwards compatibility.
9405 * simple.el (shell-command-on-region): Fill.
9407 * dired-aux.el (dired-kill-line): Add a doc string.
9409 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9410 to "\\sw\\|\\s_" (bug#358).
9412 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9413 (dired-unmark-backward): Ditto.
9414 (dired-flag-backup-files): Ditto.
9416 * dired-x.el (dired-mark-sexp): Ditto.
9418 2011-07-06 Richard Stallman <rms@gnu.org>
9420 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9421 (rmail-mime-entity): New arg TRUNCATED.
9422 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9424 (rmail-mime-save): Warn if entity is truncated.
9425 (rmail-mime-toggle-hidden): Likewise, for showing.
9426 (rmail-mime-process-multipart): Record when an entity is truncated.
9428 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9429 if ENTITY is a string.
9431 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9433 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9434 of faces when `M-C-x'-ing their definitions (bug#8378).
9435 Also clean up the code slightly.
9437 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9438 because that makes the colors go away.
9440 * mail/sendmail.el (send-mail-function): Change the default to
9441 `sendmail-query-once'.
9442 (sendmail-query-once): Add an autoload cookie.
9444 * net/network-stream.el (network-stream-open-starttls): Try using
9445 a plain connection even if the server offered STARTTLS, and we
9446 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9447 capability. This should make smtpmail.el work in slightly more
9450 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9452 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9454 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9456 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9458 * progmodes/sql.el: Version 3.0
9459 (sql-product-alist): Add product :completion-object,
9460 :completion-column, and :statement attributes.
9461 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9462 (sql-mode-syntax-table): Mark all punctuation.
9463 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9465 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9466 (sql-mode-oracle-font-lock-keywords): Improve.
9467 (sql-oracle-show-reserved-words): New function for development.
9468 (sql-product-font-lock): Simplify for source code buffers.
9469 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9471 (sql-highlight-product): Set product specific syntax table.
9472 (sql-mode-map): Add statement movement functions.
9473 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9475 (sql-statement-regexp, sql-beginning-of-statement)
9476 (sql-end-of-statement, sql-signum): New functions.
9477 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9478 (sql-show-sqli-buffer): Bug fix.
9479 (sql-interactive-mode): Store connection data as buffer local.
9480 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9481 with sql-interactive-mode.
9482 (sql-save-connection): Save buffer local settings.
9483 (sql-connection-menu-filter): Change menu entry name.
9484 (sql-product-interactive): Bug fix.
9485 (sql-preoutput-hold): New variable.
9486 (sql-interactive-remove-continuation-prompt): Bug fixes.
9487 (sql-debug-redirect): New variable.
9488 (sql-str-literal): New function.
9489 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9491 (sql-oracle-save-settings, sql-oracle-restore-settings)
9492 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9493 (sql-completion-object, sql-completion-column)
9494 (sql-completion-sqlbuf): New variables.
9495 (sql-build-completions-1, sql-build-completions)
9496 (sql-try-completion): New functions.
9497 (sql-read-table-name): Use them.
9498 (sql-contains-names): New buffer local variable.
9499 (sql-list-all, sql-list-table): Use it.
9500 (sql-oracle-completion-types): New variable.
9501 (sql-oracle-completion-object, sql-sqlite-completion-object)
9502 (sql-postgres-completion-object): New functions.
9504 2011-07-06 Glenn Morris <rgm@gnu.org>
9506 * window.el (pop-to-buffer): Doc fix.
9508 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9510 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9512 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9514 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9516 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9518 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9520 * button.el (button): Inherit from link face. Suggested by Dan
9523 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * progmodes/gdb-mi.el: Fit in 80 columns.
9526 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9529 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9530 if imenu is simply not configured (bug#8941).
9532 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9534 * allout.el (allout-post-undo-hook): New allout outline-change
9535 event hook to signal undo activity.
9536 (allout-post-command-business): Run allout-post-undo-hook if an
9538 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9539 * allout-widgets.el (allout-widgets-after-undo-function):
9540 Ensure the integrity of the current item's decoration after it has been
9541 in the vicinity of an undo.
9542 (allout-widgets-mode): Include allout-widgets-after-undo-function
9543 on the new allout-post-undo-hook.
9545 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9547 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9548 Let define-derived-mode define it.
9549 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9550 cycles of abbrev-table inheritance (bug#8998).
9552 2011-07-05 Roland Winkler <winkler@gnu.org>
9554 * textmodes/bibtex.el: Add support for biblatex.
9555 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9556 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9557 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9558 (bibtex-entry-alist, bibtex-field-alist): New variables.
9559 (bibtex-entry-field-alist): Obsolete alias for
9560 bibtex-BibTeX-entry-alist.
9561 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9562 (bibtex-set-dialect): New command.
9563 (bibtex-entry-type, bibtex-entry-head)
9564 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9565 Bind via bibtex-set-dialect.
9566 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9567 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9568 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9569 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9570 Define via bibtex-set-dialect.
9571 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9572 Obey bibtex-no-opt-remove-re.
9573 (bibtex-vec-push, bibtex-vec-incr): New functions.
9574 (bibtex-format-entry, bibtex-field-list)
9575 (bibtex-print-help-message, bibtex-validate)
9576 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9578 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9580 * progmodes/compile.el (compilation-goto-locus):
9581 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9582 * bs.el (bs-cycle-next, bs-cycle-previous):
9583 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9584 * bindings.el (mode-line-other-buffer):
9585 * autoinsert.el (auto-insert):
9586 * arc-mode.el (archive-extract):
9587 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9589 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9591 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9592 Fix check of `emacs-lock-unlockable-modes'.
9593 Coerce true values of `emacs-lock--try-unlocking' to t.
9595 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9597 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9598 * emacs-lock.el: New file.
9600 2011-07-05 Julien Danjou <julien@danjou.info>
9602 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9603 than `boundp' to check if face is set.
9605 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9607 * register.el (registerv-make):
9608 * window.el (window-min-height): Fix typos in docstrings.
9610 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9612 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9615 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9617 * server.el (server-execute): Catch quit and call
9618 `server-return-error' to pass the error back to emacsclient and
9619 close the connection (bug#8942).
9621 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9623 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9624 insecure exception for current topic. Also note that auto-saves
9625 are handled differently.
9627 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9628 State variables for tracking auto-save inhibition situation.
9630 (allout-write-contents-hook-handler): Rename from
9631 'allout-write-file-hook-handler', and describe how it depends on
9632 write-contents-functions sensitivity to non-nil value to prevent
9635 (allout-auto-save-hook-handler): Remove. auto-save does not check
9636 this in individual buffers, only in the starting buffer, so this
9637 is not the right way for us to inhibit auto-save in a buffer
9638 according to its condition.
9640 (allout-mode): Use new allout-write-contents-hook-handler, and
9641 only with write-contents-functions. Remove auto-save provisions -
9642 they're implemented elsewhere.
9644 (allout-before-change-handler): If undo is in progress, note that
9645 for attention of allout-post-command-business.
9647 (allout-post-command-business): If the command we're following was
9648 an undo, check for change in the status of encrypted items and
9649 adjust auto-save inhibitions accordingly.
9651 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9652 according to whether there are or aren't any plain-text topics
9655 (allout-inhibit-auto-save-info-for-decryption):
9656 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9657 if there are plain-text topics pending encryption.
9659 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9660 buffer-saved-size and some allout state to not inhibit auto-saves
9661 if there are no longer any plain-text topics pending encryption.
9663 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9664 No longer provide for exemption of the current topic.
9666 2011-07-04 Juri Linkov <juri@jurta.org>
9668 Add 7z operations to delete and save changed members (bug#8968).
9669 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9671 (archive-7z-write-file-member): New function.
9672 (archive-7z-summarize): Fix the number of dashes in the
9675 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9677 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9680 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9682 * bindings.el: Ignore next-buffer and previous-buffer in
9683 minibuffer-local-map.
9685 * font-lock.el (font-lock-builtin-face): Change light background
9686 color to dark slate blue (Bug#6693).
9688 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9690 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9692 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9694 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9696 Add switch-to-buffer.
9698 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9700 * isearch.el (isearch-search-fun-function): Clarify further the
9701 meaning of the function returned.
9703 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9705 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9707 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9708 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9710 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9711 `tramp-default-remote-path' does not exist.
9712 (tramp-send-command-and-read): New optional argument NOERROR.
9713 (tramp-open-connection-setup-interactive-shell)
9714 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9715 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9716 (tramp-process-sentinel): Flush also process' connection property.
9717 (tramp-sh-handle-start-file-process): Do not set process
9718 sentinel. It is done now ...
9719 (tramp-maybe-open-connection): ... here. (Bug#8929)
9721 2011-07-04 MON KEY <monkey@sandpframing.com>
9723 * play/animate.el (animate-string): Doc fixes and allow changing
9724 the buffer name (bug#5417).
9726 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9728 * play/animate.el (animation-buffer-name): Rename from *animate*.
9730 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9732 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9733 This is simpler and helps future-proof the code.
9734 (timer-until): Use time-subtract and float-time.
9735 (timer--time-less-p): Use time-less-p.
9737 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9739 * type-break.el (timep): Use the value of `float-time' to avoid a
9740 byte-compiler warning.
9742 * server.el (server-eval-and-print): Return any result, even nil.
9744 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9746 * type-break.el: Accept time formats that the builtins accept.
9747 (timep, type-break-time-difference): Accept any format that
9748 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9749 This is simpler and helps future-proof the code.
9750 (type-break-time-difference): Round rather than ignoring
9751 subseconds components.
9753 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9755 * info.el (Info-apropos-matches): Make non-interactive, since it
9756 doesn't seem to do anything useful as a command (bug#8829).
9758 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9760 * frame.el (frame-background-mode, frame-set-background-mode):
9762 (frame-default-terminal-background): New function.
9764 * custom.el (custom-push-theme): Don't record faces in `changed'
9765 theme; this doesn't work correctly for per-frame face settings.
9766 (disable-theme): Use face-set-after-frame-default to reset faces.
9767 (custom--frame-color-default): New function.
9769 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9771 * dired.el (dired-flagging-regexp): Remove unused variable
9774 2011-03-29 Kevin Ryde <user42@zip.com.au>
9776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9777 `perl-Test2' extend to match possible "fail #N" rep count
9780 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9783 `smtpmail-via-smtp' now returns the error instead of nil.
9785 * isearch.el (isearch-search-fun-function): Clarify the doc string
9788 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9790 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9791 unnecessary spaces (bug#8987).
9793 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9795 * net/network-stream.el (open-network-stream): Use the
9796 :end-of-capability command thoughout.
9798 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9800 * net/network-stream.el (open-network-stream): Add the
9801 :end-of-capability command parameter, used by pop3.el.
9803 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9805 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9807 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9808 for list)" (bug#6475).
9810 * files.el (file-expand-wildcards): Ignore non-readable
9811 sub-directories while trying to find matches instead of signaling
9812 an error (bug#6297).
9814 * man.el (Man-reference-regexp): Allow matching possible
9815 word-wrapped references (bug#6289).
9817 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9818 for consistency with the other vc buffers (bug#6197).
9819 (vc-checkin): Ditto.
9821 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9823 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9825 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9827 * custom.el (defcustom): Clarify that :set is only used in the
9828 Customize user interface (bug#6089).
9830 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9831 associated with a file, refuse to run instead of erroring out
9834 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9835 the doc string, since it appears that using `fill-column' always
9836 controls the width (bug#7845).
9838 * simple.el (shell-command-on-region): Say where the error output
9839 went if `shell-command-default-error-buffer' is set (bug#6857).
9841 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9843 * allout.el (allout-yank-processing): Adjust cursor position for
9844 backwards-deleted space.
9846 (allout-rebullet-heading): Register changes with
9847 allout-exposure-changed-hook, so the modified topic is properly
9850 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9852 * minibuffer.el (completion-in-region): Document PREDICATE
9855 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9856 of keyword/argument pairs (bug#6904).
9858 * replace.el (multi-occur):
9859 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9861 2011-07-02 Drew Adams <drew.adams@oracle.com>
9863 * dired.el (dired-mark-if): Make the message about whether it's
9864 marking or unmarking clearer (bug#8523).
9866 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9868 * disp-table.el (display-table-print-array): New function.
9869 (describe-display-table): Use it to print the vectors more pretty
9872 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9874 * window.el (window-state-get-1): Don't assign clone numbers.
9875 Add clone-of item to list of window parameters.
9876 (window-state-put-2): Don't process clone numbers.
9877 (display-buffer-alist): Fix doc-string.
9879 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * subr.el (remq): Don't allocate if it's not needed.
9882 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9883 (keymap--merge-bindings): New functions.
9884 (keymap-canonicalize): Use them to refine the canonicalization.
9885 * minibuffer.el (minibuffer-local-completion-map)
9886 (minibuffer-local-must-match-map): Move initialization from C.
9887 (minibuffer-local-filename-completion-map): Move initialization from C;
9888 don't inherit from anything here.
9889 (minibuffer-local-filename-must-match-map): Make obsolete.
9890 (completing-read-default): Use make-composed-keymap to combine
9891 minibuffer-local-filename-completion-map with either
9892 minibuffer-local-must-match-map or
9893 minibuffer-local-filename-completion-map.
9895 2011-07-01 Glenn Morris <rgm@gnu.org>
9897 * type-break.el (type-break-time-sum): Use dolist.
9899 * textmodes/flyspell.el (flyspell-word-search-backward):
9900 Replace CL function.
9902 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9904 * mouse.el (mouse--strip-first-event): New function.
9905 (function-key-map): Use it to map fringe clicks to normal clicks
9908 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9909 (vc-bzr-revision-completion-table): Add support for annotate and date.
9911 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9912 inherit from parent.
9914 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9916 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9917 (dired-show-file-type): Doc fixup (bug#8818).
9919 * dired.el (dired-mode): Fix up the doc string as suggested by
9920 Drew Adams (bug#8817).
9922 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9923 cookie, since the manual says that it should be possible to add
9924 this function to `find-file-hook' (bug#8709).
9926 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9928 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9929 here. Noted Ted Zlatanov as the maintainer.
9930 (cfengine-common-settings, cfengine-common-syntax): New functions
9931 to set up common things between `cfengine-mode' and
9933 (cfengine3-mode): New mode.
9934 (cfengine3-defuns cfengine3-defuns-regex
9935 (cfengine3-class-selector-regex cfengine3-category-regex)
9936 (cfengine3-vartypes cfengine3-font-lock-keywords)
9937 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9938 (cfengine3-indent-line): Add from cfengine3.el.
9940 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9942 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9944 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9946 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9948 * window.el (same-window-buffer-names, same-window-regexps)
9949 (same-window-p, special-display-frame-alist)
9950 (special-display-popup-frame, special-display-function)
9951 (special-display-buffer-names, special-display-regexps)
9952 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9953 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9954 (split-window-preferred-function, split-height-threshold)
9955 (split-width-threshold, even-window-heights)
9956 (display-buffer-mark-dedicated, window-splittable-p)
9957 (split-window-sensibly, window-safely-shrinkable-p):
9959 (display-buffer): Don't spread args with function specifier
9960 because special-display-popup-frame won't like it.
9962 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9964 Time-stamp simplifications and fixes.
9965 These improve accuracy slightly, and future-proof the code
9966 against some potential changes to current-time format.
9968 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9969 by using time-since and float-time.
9971 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9972 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9973 + NNN microseconds".
9975 * type-break.el (type-break-time-sum): Rewrite using time-add.
9977 * play/hanoi.el (hanoi-current-time-float): Remove.
9978 All uses replaced by float-time.
9980 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9981 This yields a more-accurate answer.
9982 (rng-time-to-float): Remove; no longer needed.
9984 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9986 * calendar/timeclock.el (timeclock-seconds-to-time):
9987 Defalias to seconds-to-time, since they're the same thing.
9989 * emacs-lisp/elp.el (elp-elapsed-time):
9990 * emacs-lisp/benchmark.el (benchmark-elapse):
9991 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9993 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9995 * window.el (bury-buffer): Don't iconify the only frame.
9996 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9997 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9999 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10001 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10002 Add mouse-yank-primary.
10004 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10006 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10008 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10011 (find-library-name): Use it to find relative load names when provided
10012 absolute file name (bug#8803).
10014 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016 * textmodes/flyspell.el (flyspell-word): Consider words that
10017 differ only in case as potential doublons (bug#5687).
10019 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10020 Remove two rather uninteresting debugging-like messages to make
10021 debbugs.el more silent.
10023 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10024 a password-like phrase.
10026 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10028 * progmodes/cc-guess.el: New file.
10030 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10032 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10033 derived from `c-basic-common-init'.
10035 * progmodes/cc-mode.el (top-level): Require cc-guess.
10036 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10038 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10040 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10042 2011-06-30 Alan Mackenzie <acm@muc.de>
10044 * progmodes/cc-engine.el (c-guess-continued-construct):
10045 Correct the handling of template-args-cont, particularly for when font
10046 lock is disabled. Name this case as "CASE G".
10048 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10050 * allout.el (allout-yank-processing): Fix injection of extra space
10051 between bullet and non-whitespace character in first topic when
10052 pasting, ensuring that the actual spacing in the pasted topic
10053 following the bullet char is preserved. This extra space was
10054 causing pasted encrypted topics to get a decrypted status even
10055 when the content was actually still encrypted. Now the decryption
10056 status from before the paste is preserved.
10058 (allout-flag-region): Set all allout overlays so they evaporate
10059 when reduced to zero length (evanescent), to prevent overlay
10062 2011-06-30 Glenn Morris <rgm@gnu.org>
10064 * w32-fns.el (w32-charset-info-alist): Declare.
10066 * find-dired.el (find-grep-options): Simplify.
10068 * term/ns-win.el (ns-set-resource): Declare.
10070 * ses.el (row, col): Declare dynamic variables honestly.
10072 * textmodes/reftex-parse.el (index-tags): Declare.
10074 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10076 * cus-edit.el (customize-push-and-save): New function.
10078 * files.el (hack-local-variables-confirm): Use it.
10080 * custom.el (load-theme): New arg NO-CONFIRM.
10081 Use customize-push-and-save (Bug#8720).
10082 (custom-enabled-themes): Doc fix.
10084 * cus-theme.el (customize-create-theme)
10085 (custom-theme-merge-theme): Callers to load-theme changed.
10087 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10089 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10090 short URLs have at least one dot in them (bug #7614).
10092 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10093 nil, because using a pty is apparently too slow (bug #895).
10095 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097 * mail/sendmail.el (sendmail-query-once): New function.
10098 (sendmail-query-once-function): New variable.
10100 2011-06-29 Glenn Morris <rgm@gnu.org>
10102 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10104 * ses.el (top-level): Require cl when compiling.
10105 (ses-set-localvars): Fix error statement.
10106 Call it at compile time to silence a storm of warnings.
10108 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10110 * window.el (normalize-live-buffer): Rename to
10111 window-normalize-buffer.
10112 (normalize-live-frame): Rename to window-normalize-frame.
10113 (normalize-any-window): Rename to window-normalize-any-window.
10114 (normalize-live-window): Rename to window-normalize-live-window.
10115 (make-window-atom): Rename to window-make-atom.
10116 (window-resize-reset): Rename to window--resize-reset.
10117 (window-resize-reset-1): Rename to window--resize-reset-1.
10118 (resize-mini-window): Rename to window--resize-mini-window.
10119 (resize-subwindows-skip-p): Rename to
10120 window--resize-subwindows-skip-p.
10121 (resize-subwindows-normal): Rename to
10122 window--resize-subwindows-normal.
10123 (resize-subwindows): Rename to window--resize-subwindows.
10124 (resize-other-windows): Rename to window--resize-siblings.
10125 (resize-this-window): Rename to window--resize-this-window.
10126 (resize-root-window): Rename to window--resize-root-window.
10127 (resize-root-window-vertically): Rename to
10128 window--resize-root-window-vertically.
10129 (normalize-buffer-to-display): Rename to
10130 window-normalize-buffer-to-display.
10131 (normalize-buffer-to-switch-to): Rename to
10132 window-normalize-buffer-to-switch-to.
10133 Correspondingly update all callers of the functions listed
10135 (display-buffer-alist, display-buffer-normalize-arguments)
10136 (display-buffer-normalize-options, display-buffer)
10137 (display-buffer-alist-set): Use "function" instead of
10140 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10142 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10143 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10144 debbugs.gnu.org. Mention acknowledgment email.
10146 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10148 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10149 buffer multibyteness, since it shouldn't matter.
10151 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10153 * window.el (display-buffer-in-side-window): Handle dedicated
10154 windows as in display-buffer-reuse-window.
10155 (display-buffer-normalize-alist): Use value of override
10157 (display-buffer-normalize-specifiers): Use value of
10158 other-window-means-other-frame specifier.
10159 (display-buffer-alist): Rewrite some texts in widgets.
10160 (display-buffer): Spread arguments when calling function
10161 specified by fun-with-args.
10163 2011-06-28 Deniz Dogan <deniz@dogan.se>
10165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10168 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10169 selectors (Bug#5732).
10170 (css-proprietary-nmstart-re): Use `regexp-opt'.
10172 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10174 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10175 (eshell-ls-date-format): New defcustom.
10176 (eshell-ls-file): Use it.
10178 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10182 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10184 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10185 (ange-ftp-make-tmp-name): New arg.
10186 (ange-ftp-file-local-copy): Use it.
10188 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10190 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10191 no-conversion (Bug#8870).
10193 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10195 * window.el (window-right, window-left, window-child)
10196 (window-child-count, window-last-child)
10197 (window-iso-combination-p, walk-window-tree-1)
10198 (window-atom-check-1, window-tree-1, delete-window)
10199 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10200 new naming conventions - window-vchild, window-hchild,
10201 window-next and window-prev are now called window-top-child,
10202 window-left-child, window-next-sibling and window-prev-sibling
10204 (resize-window-reset): Rename to window-resize-reset.
10205 (resize-window-reset-1): Rename to window-resize-reset-1.
10206 (resize-window): Rename to window-resize.
10207 (window-min-height, window-min-width)
10208 (resize-mini-window, resize-this-window, resize-root-window)
10209 (resize-root-window-vertically, adjust-window-trailing-edge)
10210 (enlarge-window, shrink-window, maximize-window)
10211 (minimize-window, delete-window, quit-restore-window)
10212 (split-window, balance-windows, balance-windows-area-adjust)
10213 (balance-windows-area, window-state-put-2)
10214 (display-buffer-even-window-sizes, display-buffer-set-height)
10215 (display-buffer-set-width, set-window-text-height)
10216 (fit-window-to-buffer): Rename all "resize-window" prefixed
10217 calls to use the "window-resize" prefix convention.
10218 (display-buffer-alist): Fix symbol for label specifier.
10219 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10220 corresponding specifier.
10221 Reported by Juanma Barranquero <lekktu@gmail.com>.
10223 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10225 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10227 (ses-call-printer): Does not pass an empty string to formatter when the
10228 cell is empty to keep from barking printer Calc math-format-value.
10230 2011-06-27 Richard Stallman <rms@gnu.org>
10232 * battery.el (battery-mode-line-limit): New variable.
10233 (battery-update): Handle it.
10235 * mail/rmailmm.el (rmail-mime-process-multipart):
10236 Handle truncated messages.
10238 2011-06-27 Glenn Morris <rgm@gnu.org>
10240 * progmodes/flymake.el (flymake-err-line-patterns):
10241 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10243 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10245 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10246 (ses--clean-!, ses--clean-_): New functions.
10247 (ses-range): Add configurability of readout order, and conversion
10250 * ses.el (ses-repair-cell-reference-all): New function.
10251 (ses-cell-symbol): Set macro as safe, so that it can be used in
10254 * ses.el: Update cycle detection algorithm.
10255 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10256 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10257 (ses-set-localvars): New function.
10258 (ses-make-cell): Add property-list as a cell element.
10259 (ses-cell-property-get-fun, ses-cell-property-get)
10260 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10261 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10263 (ses-cell-property-set, ses-cell-property-pop)
10264 (ses-cell-property-get-handle): New macro.
10265 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10266 New aliases, used for code readability.
10267 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10269 (ses-self-reference-early-detection): New defcustom.
10270 (ses-formula-references): Robustify against self-referring cells.
10271 (ses-mode): Use ses-set-localvars.
10272 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10273 before lauching the update processing.
10274 (ses-initialize-Dijkstra-attempt): New function.
10275 (ses-recalculate-cell): Update for cycle detection based on
10276 Dijkstra algorithm.
10278 * ses.el: Fix commenting and indenting convention.
10280 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10282 * bs.el (bs-cycle-next): Complete last change.
10284 2011-06-27 Drew Adams <drew.adams@oracle.com>
10286 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10288 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10290 * net/network-stream.el (network-stream-open-starttls):
10291 Don't re-get capabilities unless we've reestablished connection.
10292 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10294 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10295 to binary to possibly avoid line encoding issues on Windows (among
10298 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10300 * net/network-stream.el (open-network-stream): Return an :error
10301 saying what the problem was, if possible.
10303 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10306 * net/network-stream.el (network-stream-open-starttls): If we
10307 wanted to use STARTTLS, and the server offered it, but we weren't
10308 able to because we had no STARTTLS support, then close the connection.
10309 (open-network-stream): Return an :error element, if present.
10311 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10313 * hl-line.el (hl-line-sticky-flag): Doc fix.
10314 (global-hl-line-sticky-flag): New option (Bug#8323).
10315 (global-hl-line-highlight): Obey it.
10317 * vc/vc.el (vc-revert-show-diff): Default to t.
10319 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10321 * allout-widgets.el (allout-widgets-post-command-business):
10322 Stop decorating intermediate isearch matches. They're not being
10323 undecorated when an isearch is continued past, and isearch
10324 automatically collapses them. This leads to "widget leaks", where
10325 decorated items accumulate in collapsed areas. Lines with lots of
10326 hidden widgets can slow down cursor travel, substantially.
10327 Too much complicated machinery would be needed to ensure undecoration,
10328 so we're doing without this nicety.
10330 (allout-widgets-tally-string): Don't try to do a hash-table-count
10331 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10332 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10333 *Messages* when allout-widgets-maintain-tally is t.
10335 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10337 * window.el (display-buffer-normalize-argument): Rename to
10338 display-buffer-normalize-arguments. Handle special meaning of
10339 LABEL argument. Respect special-display-function when popping up
10340 a new frame. Fix code searching for a window showing the buffer
10342 (display-buffer-normalize-specifiers):
10343 Call display-buffer-normalize-arguments.
10344 (display-buffer-in-window): Don't undedicate the window if its
10345 buffer remains the same.
10346 Reported by Drew Adams <drew.adams@oracle.com>.
10347 (display-buffer-alist): Add choice for same-window macro
10349 (display-buffer): Mention special meaning of LABEL argument in
10350 doc-string. Fix quoting. Don't pop up a new frame even as
10353 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10355 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10356 avoid deleting the current window in some cases (bug#8911).
10358 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10360 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10363 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10365 * net/network-stream.el (network-stream-open-starttls):
10366 Use built-in TLS support if `gnutls-available-p' is true.
10367 (network-stream-open-tls): Ditto.
10369 2011-06-26 Leo Liu <sdl.web@gmail.com>
10371 * register.el (registerv): New struct.
10372 (registerv-make): New function.
10373 (jump-to-register, describe-register-1, insert-register):
10374 Support the jump-func, print-func and insert-func slot of a registerv
10377 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10379 * vc/vc.el (vc-revert-show-diff): New defcustom.
10380 (vc-diff-internal): New arg specifying diff buffer.
10381 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10382 reuse an existing *vc-diff* buffer (Bug#8927).
10384 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10386 2011-06-26 Glenn Morris <rgm@gnu.org>
10388 * progmodes/f90.el (f90-critical-indent): New option.
10389 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10390 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10391 (f90-mode): Doc fix.
10392 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10393 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10394 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10395 (f90-match-end): Handle block, critical.
10397 2011-06-25 Glenn Morris <rgm@gnu.org>
10399 * calendar/diary-lib.el (diary-included-files): Doc fix.
10400 (diary-include-files): New function, extracted from
10401 diary-include-other-diary-files and diary-mark-included-diary-files.
10402 (diary-include-other-diary-files, diary-mark-included-diary-files):
10403 Just call diary-include-files.
10404 (diary-mark-entries): Reset diary-included-files on first call.
10406 * calendar/diary-lib.el (diary-mark-entries)
10407 (diary-mark-included-diary-files):
10408 Visit included diary-files in temp buffers.
10410 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10411 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10412 (f90-start-block-re, f90-imenu-generic-expression)
10413 (f90-looking-at-program-block-start, f90-no-block-limit):
10414 Add support for submodules.
10416 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10417 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10419 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10421 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10422 buffer-file-type before setting its value, to avoid disastrous
10423 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10425 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10427 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10429 * ses.el (ses-unload-function):
10430 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10432 * proced.el (proced-unload-function):
10433 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10435 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10437 * server.el (server-create-window-system-frame): Add parameters arg.
10438 (server-process-filter): Doc fix. Handle frame-parameters.
10440 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10442 Fix bug#8730, bug#8781.
10444 * loadhist.el (unload--set-major-mode): New function.
10445 (unload-feature): Use it.
10447 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10448 (python-unload-function): New function.
10450 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10454 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10456 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10457 the candidates list.
10459 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10461 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10463 2011-06-23 Richard Stallman <rms@gnu.org>
10465 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10466 (rmail-variables): Set next-error-move-function.
10467 (rmail-what-message): Take argument POS.
10468 (rmail-next-error-move): New function.
10470 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10473 messages for adjacent non-terminals.
10475 2011-06-23 Richard Stallman <rms@gnu.org>
10477 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10478 (rmail-show-message-1): Preserve buffer modified flag.
10479 (rmail-start-mail): Don't specify use of rmail-mail-return;
10480 that's done by mail-bury now.
10481 (rmail-mail-return): Handle arg NEWBUF.
10483 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10485 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10488 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10490 * window.el (get-lru-window, get-mru-window)
10491 (get-largest-window): Never return a minibuffer window.
10492 (display-buffer-pop-up-window): Fix a bug that could lead to
10493 reusing the minibuffer window.
10494 (display-buffer): Pass original specifier argument to
10495 display-buffer-function instead of the normalized one.
10496 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10498 2011-06-22 Leo Liu <sdl.web@gmail.com>
10500 * minibuffer.el (completing-read-function)
10501 (completing-read-default): Move from minibuf.c
10503 2011-06-22 Richard Stallman <rms@gnu.org>
10505 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10506 to Rmail even if not started by a special Rmail command.
10508 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10509 Copy the buffer currently showing just one message.
10511 2011-06-22 Roland Winkler <winkler@gnu.org>
10513 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10514 (bibtex-clean-entry): First delete the old key so that a
10515 customized algorithm for generating the new key does not get
10516 confused by the old key.
10517 (bibtex-url): Obey regexp of first step.
10518 (bibtex-search-entries): Do not use add-to-list with local
10521 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10524 stored a user name, then query for the password first, instead of
10525 waiting for SMTP to give an error message and the trying again.
10527 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10529 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10530 BUFFER in call-process.
10532 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10534 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10536 (smtpmail-try-auth-methods): Require user name and password from
10539 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10541 * window.el (display-buffer-default-specifiers)
10542 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10543 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10544 (split-window): Normalize SIDE argument (Bug#8916).
10546 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10547 (special-display-frame-alist, special-display-popup-frame):
10548 Remove duplicate declarations. These are now in window.el.
10550 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10552 * mail/smtpmail.el (smtpmail-via-smtp):
10553 Set :use-starttls-if-possible so that we always use STARTTLS if the
10554 server supports it. SMTP servers that support STARTTLS commonly
10557 * net/network-stream.el (network-stream-open-starttls): Support
10558 upgrading to STARTTLS always, even if we don't have built-in support.
10559 (open-network-stream): Add the :always-query-capabilities keyword.
10561 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10562 upgrades with `open-network-stream', and rely solely on
10563 auth-source for all credentials. Big changes throughout the file,
10565 (smtpmail-auth-credentials): Remove.
10566 (smtpmail-starttls-credentials): Remove.
10567 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10570 * net/network-stream.el (network-stream-open-starttls):
10571 Provide support for client certificates both for external and built-in
10573 (auth-source): Require.
10574 (open-network-stream): Document the :client-certificate keyword.
10575 (network-stream-certificate): Change cert-cert to cert and
10578 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10580 * net/tramp-cache.el (top): Don't load the persistency file when
10581 "emacs -Q" has been called.
10583 2011-06-21 Tim Harper <timcharper@gmail.com>
10585 * term/ns-win.el (ns-initialize-window-system):
10586 Set application-specific `ApplePressAndHoldEnabled' system
10587 resource to NO as it is not yet supported by the NS port.
10589 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10591 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10592 (list-dynamic-libraries): ...not here.
10594 2011-06-21 Leo Liu <sdl.web@gmail.com>
10596 * subr.el (sha1): Implement sha1 using secure-hash.
10598 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10600 * window.el (display-buffer-alist): In default value do not
10601 enforce searching a window on any but the selected frame.
10602 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10603 (display-buffer-select-window): Remove function.
10604 (display-buffer-in-window): When a window on another frame gets
10605 reused, do not select it any more but just raise its frame if
10606 necessary (Bug#8851) and (Bug#8856).
10607 (display-buffer-normalize-options): Handle pop-up-frames related
10608 options more faithfully.
10609 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10610 window if it is on another frame.
10611 (display-buffer-alist, display-buffer-default-specifiers):
10612 Don't make new frame unsplittable by default.
10613 (display-buffer-normalize-argument): Fix doc-string typo and use
10614 'same-frame-other-window instead of 'other-window when associating
10615 with display-buffer-macro-specifiers.
10617 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10619 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10621 (5x5-mode-map, 5x5-mode-menu): Bind them.
10622 (5x5-draw-grid): Tweak the solver's rendering.
10624 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10626 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10627 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10629 2011-06-21 Drew Adams <drew.adams@oracle.com>
10631 * menu-bar.el: Use function variable instead of switch-to-buffer.
10632 (menu-bar-select-buffer-function): New variable.
10633 (menu-bar-update-buffers): Use it (bug#8876).
10635 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10640 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10642 * x-dnd.el (x-dnd-version-from-flags)
10643 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10644 and long as number (Bug#8899).
10645 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10647 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10649 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10650 (completion-try-completion, completion-all-completions): Compute the
10651 metadata argument if it's missing; make it optional (bug#8795).
10653 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10654 (widget-complete): Use new :completion-function property.
10655 (widget-completions-at-point): New function.
10656 (default): Use :completion-function instead of :complete.
10657 (widget-default-completions): Rename from widget-default-complete;
10659 (widget-string-complete, widget-file-complete, widget-color-complete):
10661 (file, symbol, function, variable, coding-system, color):
10662 * international/mule-cmds.el (default-input-method, charset)
10663 (language-info-custom-alist):
10664 * cus-edit.el (face): Use new property :completions.
10666 * progmodes/pascal.el (pascal-completions-at-point): New function.
10667 (pascal-mode): Use it.
10668 (pascal-mode-map): Use completion-at-point.
10669 (pascal-toggle-completions): Make obsolete.
10670 (pascal-complete-word, pascal-show-completions):
10671 * progmodes/octave-mod.el (octave-complete-symbol):
10672 Redefine as obsolete alias.
10673 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10674 Signal absence of completion info for old Octave,
10675 (inferior-octave-complete): Redefine as obsolete alias.
10676 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10677 (meta-completions-at-point): Rename from meta-complete-symbol and
10678 adapt it for use on completion-at-point-functions.
10679 (meta-common-mode): Use it.
10680 (meta-looking-at-backward, meta-match-buffer): Remove.
10681 (meta-complete-symbol): Redefine as obsolete alias.
10682 (meta-common-mode-map): Use completion-at-point.
10683 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10684 (makefile-mode-map): Use completion-at-point.
10685 (makefile-completions-at-point): Rename from makefile-complete and
10686 adapt it for use on completion-at-point-functions.
10687 (makefile-mode): Use it.
10688 (makefile-complete): Redefine as obsolete alias.
10690 2011-06-20 Deniz Dogan <deniz@dogan.se>
10692 * net/rcirc.el: Delete trailing whitespaces once and for all.
10694 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10696 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10698 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10700 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10702 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10704 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10706 * window.el (display-buffer-other-window-means-other-frame):
10707 Call display-buffer-normalize-alist.
10708 (display-buffer-normalize-specifiers-1): Rename to
10709 display-buffer-normalize-argument. New argument other-frame.
10711 (display-buffer-normalize-specifiers-2): Rename to
10712 display-buffer-normalize-options.
10713 (display-buffer-normalize-alist-1): New function.
10714 (display-buffer-normalize-specifiers-3): Rename to
10715 display-buffer-normalize-alist.
10716 Call display-buffer-normalize-alist-1.
10717 (display-buffer-normalize-options-inhibit): New variable.
10718 (display-buffer-normalize-specifiers): Rewrite calling
10719 display-buffer-normalize-alist,
10720 display-buffer-normalize-argument, and
10721 display-buffer-normalize-options. Don't call the latter if
10722 display-buffer-normalize-options-inhibit is non-nil.
10723 (frame-auto-delete): New option.
10724 (window-deletable-p): Use frame-auto-delete.
10725 (window-list-no-nils, window-state-ignored-parameters)
10726 (window-state-get-1, window-state-get, window-state-put-list)
10727 (window-state-put-1, window-state-put-2, window-state-put):
10729 (display-buffer-normalize-options): Move special-display-p group
10730 after pop-up-frame group (Bug#8851) and (Bug#8856).
10732 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10734 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10736 (rx-submatch-n): New function.
10739 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10742 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10744 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10746 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10747 anytime existing face settings are present (Bug#8889).
10749 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10750 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10751 Remove unused argument.
10753 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10755 * window.el (display-buffer-default-specifiers):
10756 Remove pop-up-frame. Add pop-up-window-min-height,
10757 pop-up-window-min-width, and another reuse-window specifier
10758 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10759 (display-buffer-normalize-specifiers-2):
10760 Handle split-height-threshold and split-width-threshold also when
10761 pop-up-windows is unset. Add a reuse-window specifier for the
10762 case popping up a new window fails.
10763 (special-display-popup-frame): Remove double quoting.
10764 (display-buffer-normalize-specifiers-1): Fix thinko.
10766 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10768 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10769 according to comint-completion-addsuffix.
10771 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10772 (pcomplete-suffix-list): Mark as obsolete.
10773 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10774 pcomplete-seen in the closure.
10775 (pcomplete-comint-setup): Setup completion-at-point as well.
10776 (pcomplete--entries): New function.
10777 (pcomplete--env-regexp): New var.
10778 (pcomplete-entries): Rewrite to work with partial-completion and
10779 without relying on pcomplete-suffix-list.
10780 (pcomplete-pare-list): Remove, unused.
10782 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10784 * window.el (display-buffer-alist): Set pop-up-window-min-height
10785 and pop-up-window-min-width in default value. Reported by
10786 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10787 other-window-means-other-frame.
10788 (display-buffer-macro-specifiers): Comment out entry for
10789 other-window specifier.
10790 (display-buffer-other-window-means-other-frame): New function.
10791 (display-buffer-normalize-specifiers-1): New arguments
10792 buffer-name and label. Treat other-window case specially.
10793 (display-buffer-normalize-specifiers-2): Treat other-window case
10795 (display-buffer-normalize-specifiers-3): New function.
10796 (display-buffer-normalize-specifiers):
10797 Call display-buffer-normalize-specifiers-3.
10799 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10801 * window.el (same-window-p): Fix two typos introduced when
10802 adding with-no-warnings.
10803 (display-buffer-normalize-specifiers-1): Don't check
10804 pop-up-frames for 'unset initialization.
10805 (display-buffer-normalize-specifiers-2): Major rewrite using
10806 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10807 (pop-up-frames, display-buffer-reuse-frames)
10808 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10809 Suggested by David Engster <deng@randomsample.de>.
10810 (even-window-heights): Initialize to 'unset.
10811 (display-buffer-alist-set): Handle new 'unset initializations.
10812 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10815 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10817 * window.el (display-buffer-normalize-specifiers-1):
10818 Respect current value of pop-up-frames for most reasonable values of
10819 second argument of display-buffer (Bug#8865).
10820 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10821 (switch-to-buffer-other-window-same-frame)
10822 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10824 (display-buffer): Don't check noninteractive when calling
10825 display-buffer-pop-up-frame.
10826 (display-buffer-pop-up-frame): Never pop up a frame in
10827 noninteractive mode (Bug#8857).
10828 (enlarge-window, shrink-window): Don't report an error when the
10829 window can't be resized as requested (Bug#8862).
10831 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10835 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10837 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10839 2011-06-15 Alan Mackenzie <acm@muc.de>
10841 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10842 for declarators, disable knr checking to speed up for normal files.
10843 2: Refactor, replacing a sequence of nested if forms by a cond form.
10845 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10847 * net/network-stream.el (open-network-stream): Add the keyword
10848 :always-query-capabilities for the case where you want to force a
10849 `plain' network connection, but the protocol still requires the
10850 capabilitiy command (i.e., SMTP and EHLO).
10852 * subr.el (process-live-p): Rename from `process-alive-p' for
10853 consistency with other `-live-p' functions.
10855 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * window.el (same-window-buffer-names, same-window-regexps)
10858 (special-display-frame-alist, special-display-popup-frame)
10859 (special-display-function, special-display-buffer-names)
10860 (special-display-regexps, pop-up-frame-alist)
10861 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10862 (pop-up-windows, split-window-preferred-function)
10863 (split-height-threshold, split-width-threshold, even-window-heights)
10864 (display-buffer-mark-dedicated): Don't encourage the use of
10865 display-buffer-alist from Elisp code.
10867 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10869 * progmodes/python.el (python-mode): Derive from prog-mode.
10870 * progmodes/ps-mode.el (ps-mode):
10871 * progmodes/mixal-mode.el (mixal-mode):
10872 * progmodes/cfengine.el (cfengine-mode):
10873 * progmodes/ld-script.el (ld-script-mode): Likewise.
10875 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10877 * window.el (display-buffer-alist): Trim default value to avoid
10878 popping up a new frame (Bug#8857) or reusing an arbitrary window
10880 (display-buffer): Do not fall back on popping up a new frame in
10881 batch mode (Bug#8857).
10883 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10885 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10886 (custom-theme-summary): New function.
10887 (customize-themes): Use it.
10889 2011-06-13 Glenn Morris <rgm@gnu.org>
10891 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10893 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10895 * help.el (help-window): Remove variable.
10896 (help-window-point-marker, temp-buffer-max-height)
10897 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10898 (help-print-return-message): Don't set help-window.
10899 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10900 (help-window-setup-finish): Remove.
10901 (help-window-display-message, help-window-setup)
10902 (with-help-window): Major rewrite based on new
10903 display-buffer-window variable.
10905 * help-mode.el (help-mode-finish): Remove help-window related
10908 * view.el (view-exits-all-viewing-windows): Remove reference to
10909 view-return-to-alist in doc-string.
10910 (view-return-to-alist): Make obsolete.
10911 (view-buffer): Call pop-to-buffer-same-window and remove
10913 (view-buffer-other-window): Call pop-to-buffer-other-window and
10914 simplify code. Ignore second argument.
10915 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10916 simplify code. Ignore second argument.
10917 (view-return-to-alist-update): Make obsolete.
10918 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10919 Rewrite using quit-restore window parameters.
10920 (view-mode-exit): Rename second argument to EXIT-ONLY.
10921 Rewrite using quit-restore-window.
10922 (View-exit, View-exit-and-edit, View-leave, View-quit)
10923 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10924 appropriate arguments.
10925 (view-end-message): Use quit-restore window parameter.
10927 * window.el (display-buffer-function): Rewrite doc-string.
10928 (display-buffer-window, display-buffer-alist): New variables.
10929 (display-buffer-split-specifiers)
10930 (display-buffer-side-specifiers)
10931 (display-buffer-macro-specifiers): New constants.
10932 (display-buffer-even-window-sizes, display-buffer-set-height)
10933 (display-buffer-set-width, display-buffer-select-window)
10934 (display-buffer-in-window, display-buffer-reuse-window)
10935 (display-buffer-split-window-1, display-buffer-split-window)
10936 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10937 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10938 (display-buffer-in-side-window, normalize-buffer-to-display)
10939 (display-buffer-normalize-specifiers-1)
10940 (display-buffer-normalize-specifiers-2)
10941 (display-buffer-normalize-specifiers, display-buffer-frame):
10943 (display-buffer): Major rewrite.
10944 (display-buffer-other-window, display-buffer-other-frame)
10945 (pop-to-buffer, switch-to-buffer-other-window)
10946 (switch-to-buffer-other-frame): Rewrite.
10947 (display-buffer-same-window, display-buffer-same-frame)
10948 (display-buffer-same-frame-other-window)
10949 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10950 (pop-to-buffer-other-window)
10951 (pop-to-buffer-same-frame-other-window)
10952 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10953 (switch-to-buffer-other-window-same-frame): New functions.
10954 (same-window-p, special-display-p): Rewrite disabling warnings.
10956 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10957 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10959 (same-window-buffer-names, same-window-regexps)
10960 (special-display-frame-alist, special-display-popup-frame)
10961 (special-display-function, special-display-buffer-names)
10962 (special-display-regexps, pop-up-frame-alist)
10963 (pop-up-frame-function, split-window-preferred-function)
10964 (split-height-threshold, split-width-threshold)
10965 (even-window-heights): Make obsolete.
10967 2011-06-12 Glenn Morris <rgm@gnu.org>
10969 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10970 Misc simplifications.
10972 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10974 * window.el (window-safely-shrinkable-p): Restore function which
10975 was inadvertently removed in change from 2011-06-11. Declare as
10978 * calendar/calendar.el (calendar-generate-window):
10979 Use window-iso-combined-p instead of combination of one-window-p and
10980 window-safely-shrinkable-p.
10982 2011-06-12 Glenn Morris <rgm@gnu.org>
10984 * progmodes/fortran.el (fortran-mode-syntax-table):
10985 * progmodes/f90.el (f90-mode-syntax-table):
10986 Set % to punctuation. (Bug#8820)
10987 (f90-find-tag-default): Remove, no longer needed.
10989 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10991 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10993 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10995 * image.el (image-animated-p): Return animation delay in seconds.
10996 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10997 (image-animate-timeout): Remove DELAY argument. Don't assume
10998 every subimage has the same delay; get it from image-animated-p.
10999 (image-animate): Caller changed.
11001 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11003 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11004 to ignored backtrace functions.
11006 2011-06-11 Glenn Morris <rgm@gnu.org>
11008 * calendar/appt.el (appt-disp-window-function): Doc fix.
11009 (appt-check): Handle overlapping appointments. (Bug#8337)
11011 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11013 * window.el (window-tree-1, window-tree): New functions, moving
11014 the latter to window.el.
11015 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11016 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11017 (bw-refresh-edges): Remove.
11018 (balance-windows-1, balance-windows-2): New functions.
11019 (balance-windows): Rewrite in terms of window tree functions,
11020 balance-windows-1 and balance-windows-2.
11021 (bw-adjust-window): Remove.
11022 (balance-windows-area-adjust): New function with functionality of
11023 bw-adjust-window but using resize-window.
11024 (set-window-text-height): Rewrite doc-string.
11025 Use normalize-live-window and resize-window.
11026 (enlarge-window-horizontally, shrink-window-horizontally):
11027 Rename argument to DELTA.
11028 (window-buffer-height): New function.
11029 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11030 Rewrite using new window resize routines.
11031 (kill-buffer-and-window, mouse-autoselect-window-select):
11032 Use ignore-errors instead of condition-case.
11033 (quit-window): Call delete-frame instead of delete-windows-on
11034 for the only buffer on frame.
11036 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11038 * loadup.el (top-level): Load window before files for the sake
11039 of replace-buffer-in-windows.
11041 * files.el (read-buffer-to-switch)
11042 (switch-to-buffer-other-window)
11043 (switch-to-buffer-other-frame, display-buffer-other-frame):
11046 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11047 (previous-buffer): Move to window.el.
11049 * bindings.el (unbury-buffer): Move to window.el.
11051 * window.el (delete-other-windows-vertically): Move after
11052 definition of delete-other-windows.
11053 (other-window, delete-windows-on, replace-buffer-in-windows):
11054 Move here from window.c.
11055 (record-window-buffer, unrecord-window-buffer)
11056 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11057 (switch-to-next-buffer): New functions.
11058 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11059 from simple.el. Call switch-to-next-buffer.
11060 (previous-buffer): Move here from simple.el.
11061 Call switch-to-prev-buffer.
11062 (bury-buffer): Move here from buffer.c. Switch to previous
11063 buffer when window cannot be deleted.
11064 (unbury-buffer): Move here from bindings.el.
11065 (ctl-x-map): Move binding for other-window from window.c to
11067 (read-buffer-to-switch, switch-to-buffer-other-window)
11068 (switch-to-buffer-other-frame): Move here from files.el.
11069 (normalize-buffer-to-switch-to): New functions.
11070 (switch-to-buffer): Move here from buffer.c.
11071 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11073 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11075 * window.el (window-min-height, window-min-width): Move here
11076 from window.c. Add defcustoms and rewrite doc-strings.
11077 (resize-mini-window, resize-window): New functions.
11078 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11079 Move here from window.c.
11080 (maximize-window, minimize-window): New functions.
11081 (delete-window, delete-other-windows, split-window): Move here
11083 (window-split-min-size): New function.
11084 (split-window-keep-point): Mention split-window-above-each-other
11085 instead of split-window-vertically.
11086 (split-window-above-each-other, split-window-vertically):
11087 Rename split-window-vertically to split-window-above-each-other
11088 and provide defalias for old definition.
11089 (split-window-side-by-side, split-window-horizontally):
11090 Rename split-window-horizontally to split-window-side-by-side
11091 and provide defalias for the old definition.
11092 (ctl-x-map): Move bindings for delete-window,
11093 delete-other-windows and enlarge-window here from window.c.
11094 Replace bindings for split-window-vertically and
11095 split-window-horizontally by bindings for
11096 split-window-above-each-other and split-window-side-by-side.
11098 * cus-start.el (all): Remove entries for window-min-height and
11099 window-min-width. Add entries for window-splits and
11102 2011-06-09 Glenn Morris <rgm@gnu.org>
11104 * calendar/appt.el (appt-mode-line): New function.
11105 (appt-check, appt-disp-window): Use it.
11107 * files.el (hack-one-local-variable-eval-safep):
11108 Allow minor-modes with explicit +/-1 arguments.
11110 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11112 * term/xterm.el (xterm): Add defgroup.
11113 (xterm-extra-capabilities): Add defcustom to supply known xterm
11114 capabilities, skip querying them, or query them (default).
11115 (terminal-init-xterm): Use it.
11116 (terminal-init-xterm-modify-other-keys): New function to set up
11117 modifyOtherKeys support to simplify `terminal-init-xterm'.
11119 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11121 * window.el (resize-window-reset, resize-window-reset-1)
11122 (resize-subwindows-skip-p, resize-subwindows-normal)
11123 (resize-subwindows, resize-other-windows, resize-this-window)
11124 (resize-root-window, resize-root-window-vertically)
11125 (window-deletable-p, window-or-subwindow-p)
11126 (frame-root-window-p): New functions.
11128 2011-06-09 Glenn Morris <rgm@gnu.org>
11130 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11131 (ange-ftp-get-files): Use it.
11133 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11135 * mail/sendmail.el (mail-recover-1, mail-recover):
11136 * files.el (recover-file, recover-session):
11137 Handle dired-listing-switches not being just a single short option.
11139 2011-06-09 Glenn Morris <rgm@gnu.org>
11141 * calendar/appt.el (appt-display-message, appt-disp-window):
11142 Handle lists of appointments.
11144 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11146 * window.el (one-window-p): Move down in code.
11147 Rewrite doc-string.
11148 (window-current-scroll-bars): Rewrite doc-string.
11149 Normalize live window argument.
11150 (walk-windows, get-window-with-predicate, count-windows):
11151 Rewrite doc-string. Use window-list-1.
11152 (window-in-direction-2, window-in-direction, get-mru-window):
11155 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11157 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11158 Doc fix (Bug#8713).
11160 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11162 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11164 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11166 * loadhist.el (unload-feature-special-hooks):
11167 Add `comint-output-filter-functions'.
11169 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11171 * calendar/appt.el (appt-check): Move some initializations into the let.
11173 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11175 * window.el (window-height): Defalias to window-total-height.
11176 (window-width): Defalias to window-body-width.
11178 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11180 * image-mode.el (image-toggle-animation): New command.
11181 (image-mode-map): Bind it to RET.
11182 (image-mode): Update message.
11183 (image-toggle-display-image): Avoid a spurious cache flush.
11184 (image-transform-rotation): Doc fix.
11185 (image-transform-properties): Return quickly in the normal case.
11186 (image-animate-loop): Rename from image-animate-max-time.
11188 * image.el (image-animate-max-time): Move to image-mode.el.
11189 (create-animated-image): Remove unnecessary function.
11190 (image-animate): Rename from image-animate-start. New arg.
11191 (image-animate-stop): Remove; just use image-animate-timer.
11192 (image-animate-timer): Use car-safe.
11193 (image-animate-timeout): Rename argument.
11195 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11197 * window.el (get-lru-window, get-largest-window): Move here from
11198 window.c. Rename first argument to ALL-FRAMES.
11199 Rephrase doc-strings.
11200 (get-buffer-window-list): Rewrite using window-list-1.
11201 Rephrase doc-string.
11202 (window-safe-min-height, window-safe-min-width): New constants.
11203 (window-size-ignore, window-min-size, window-min-size-1)
11204 (window-sizable, window-sizable-p, window-size-fixed-1)
11205 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11206 (window-max-delta-1, window-max-delta, window-resizable)
11207 (window-resizable-p, window-total-height, window-total-width)
11208 (window-body-width): New functions.
11209 (window-full-height-p, window-full-width-p): Rewrite using
11211 (window-body-height): Rewrite using window-body-size.
11213 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11215 * window.el (window-right, window-left, window-child)
11216 (window-child-count, window-last-child, window-any-p)
11217 (normalize-live-buffer, normalize-live-frame)
11218 (normalize-any-window, normalize-live-window)
11219 (window-iso-combination-p, window-iso-combined-p)
11220 (window-iso-combinations)
11221 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11222 (windows-with-parameter, window-with-parameter)
11223 (window-atom-root, make-window-atom, window-atom-check-1)
11224 (window-atom-check, window-side-check, window-check):
11226 (ignore-window-parameters, window-sides, window-sides-vertical)
11227 (window-sides-slots): New variables.
11228 (window-size-fixed): Move down in code. Minor doc-string fix.
11230 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11232 * comint.el (comint-dynamic-complete-as-filename)
11233 (comint-dynamic-complete-filename): Correctly call
11234 completion-in-region.
11236 2011-06-05 Deniz Dogan <deniz@dogan.se>
11238 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11241 2011-06-05 Deniz Dogan <deniz@dogan.se>
11243 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11244 (rcirc): Use it to prompt for encryption.
11246 2011-06-05 Roland Winkler <winkler@gnu.org>
11248 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11249 (bibtex-search-entries): New command bound to C-c C-a.
11250 (bibtex-display-entries): New function.
11252 2011-06-05 Roland Winkler <winkler@gnu.org>
11254 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11255 (bibtex-insert-kill): After yanking insert newline if necessary.
11256 (bibtex-initialize): Call bibtex-string-files-init only once.
11257 (bibtex-mode): Do not call easy-menu-add.
11258 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11259 (bibtex-yank): Set arg properly if nil.
11261 2011-06-05 Roland Winkler <winkler@gnu.org>
11263 * textmodes/bibtex.el (bibtex-search-entry-globally):
11265 (bibtex-search-entry): Use it.
11267 2011-06-05 Roland Winkler <winkler@gnu.org>
11269 * textmodes/bibtex.el (bibtex-entry-format): New option
11271 (bibtex-format-entry, bibtex-reformat): Honor this option.
11272 (bibtex-parse-entry): Return fields in proper order.
11274 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11276 * doc-view.el (doc-view-remove-if): Move computation of result out
11277 of `dolist' to silence misleading lexical-binding warning.
11279 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11281 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11282 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11284 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11286 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11289 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11291 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11292 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11293 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11294 (tramp-parse-putty):
11295 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11296 (tramp-completion-function-alist-ssh)
11297 (tramp-completion-function-alist-telnet)
11298 (tramp-completion-function-alist-su)
11299 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11302 * net/tramp-ftp.el:
11304 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11305 load "tramp.el" `tramp-set-completion-function'.
11307 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * shell.el: Require and use pcomplete.
11310 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11311 (shell-completion-vars): Set pcomplete-default-completion-function.
11313 2011-06-04 Deniz Dogan <deniz@dogan.se>
11315 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11318 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11322 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11324 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11325 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11326 * vc/log-view.el (log-view-beginning-of-defun):
11327 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11328 (smerge-refine-forward, smerge-refine-chopup-region):
11329 Silence warning for unused `dotimes' counter variables.
11331 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * net/tramp.el (tramp-with-progress-reporter): Rename from
11334 with-progress-reporter. Use `declare'.
11335 * net/tramp-smb.el:
11337 * net/tramp-gvfs.el: Update all uses.
11339 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11341 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11342 buffer isn't killed before making it current.
11344 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11346 Silence various byte-compiler warnings.
11347 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11348 `access-type' and new obsolescence format.
11349 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11351 (byte-compile-check-variable): New `access-type' argument.
11352 Only warn if the access-type is obsolete.
11353 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11354 (byte-compile-variable-set): Adjust callers.
11355 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11356 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11357 setting it as obsolete.
11358 * simple.el (minibuffer-completing-symbol):
11359 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11360 access as obsolete.
11361 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11363 * international/quail.el (quail-mouse-choose-completion): Remove unused
11364 code referring to obsolete var.
11365 (quail-choose-completion-string): Remove.
11366 * server.el (server-clients-with, server-kill-buffer-query-function)
11367 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11368 * proced.el (proced-send-signal):
11369 * emacs-lisp/lisp.el (lisp-complete-symbol):
11370 Replace completion-annotate-function with completion-extra-properties.
11372 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * simple.el (goto-line): Use read-number.
11375 (overriding-map-is-bound): Remove.
11376 (saved-overriding-map): Change default.
11377 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11378 Take the map as argument.
11379 (universal-argument, negative-argument, digit-argument): Use it.
11380 (restore-overriding-map): Adjust.
11381 (do-auto-fill): Use fill-forward-paragraph.
11382 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11384 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11385 (minibuffer-inactive-mode): New major mode.
11386 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11387 the *Messages* buffer" hack.
11388 (mouse-popup-menubar): Don't burp if the event is a normal key.
11390 Miscellaneous tweaks.
11391 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11392 lexical scoping as in subr.el's dolist and dotimes.
11393 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11394 Silence compiler warning.
11395 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11396 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11397 * international/ccl.el (ccl-compile): Trivial simplification.
11398 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11399 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11400 `printflag' argument.
11401 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11402 Purecopy the whole obsolescence data.
11404 2011-06-01 Leo Liu <sdl.web@gmail.com>
11406 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11407 improve doc-string as suggested by Marco Pessotto
11408 <melmothx@gmail.com>.
11409 (rcirc-print): Fix last change.
11411 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11413 * minibuffer.el (complete-with-action): Return nil for the metadata and
11414 boundaries of non-functional tables.
11415 (completion-table-dynamic): Return nil for the metadata.
11416 (completion-table-with-terminator): Add default case, using
11417 complete-with-action.
11418 (completion--metadata): New function.
11419 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11420 to try and avoid pathological performance problems.
11421 (completion--embedded-envvar-table): Return `category' metadata.
11423 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11425 * subr.el (process-alive-p): New tiny convenience function.
11427 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11430 content but also its previous major mode.
11432 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11434 * emacs-lisp/debug.el (debug): Restore the previous content of the
11435 *Backtrace* buffer when we exit with C-M-c.
11437 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11439 * minibuffer.el: Add metadata method to completion tables.
11440 (completion-category-overrides): New defcustom.
11441 (completion-metadata, completion--field-metadata)
11442 (completion-metadata-get, completion--styles)
11443 (completion--cycle-threshold): New functions.
11444 (completion-try-completion, completion-all-completions):
11445 Add `metadata' argument to choose completion-styles.
11446 (completion--do-completion): Use metadata to choose cycling.
11447 (completion-all-sorted-completions): Use metadata for sorting.
11448 Remove :completion-cycle-penalty which is not needed any more.
11449 (completion--try-word-completion): Add `metadata' argument.
11450 (minibuffer-completion-help): Check metadata for annotation function
11452 (completion-file-name-table): Return `category' metadata.
11453 (minibuffer-completing-file-name): Make obsolete.
11454 * simple.el (minibuffer-completing-symbol): Make obsolete.
11455 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11456 completion-try-completion.
11458 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11462 2011-05-30 Leo Liu <sdl.web@gmail.com>
11464 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11465 (rcirc-print): Decode all incoming messages (bug#8744).
11466 (rcirc-decode-coding-system): Allow value nil for automatic coding
11469 2011-06-01 Glenn Morris <rgm@gnu.org>
11471 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11473 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11475 * image.el (image-animate-max-time): Allow nil and t values.
11477 (create-animated-image): Doc fix.
11478 (image-animate-start): Remove second arg; just use
11479 image-animate-max-time.
11480 (image-animate-timeout): Doc fix. Args changed.
11482 * image-mode.el (image-toggle-display-image): Ensure that the
11483 image spec passed to the animate timer is the same object as in
11484 the buffer's display property (Bug#6981).
11485 (image-transform-properties): Doc fix.
11487 * image.el (image-animate-max-time): Default to nil.
11489 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11491 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11492 entire buffer list (Bug#8184).
11494 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11496 * image.el (imagemagick-types-inhibit)
11497 (imagemagick-register-types): Doc fix.
11499 2011-05-29 Deniz Dogan <deniz@dogan.se>
11501 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11504 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11506 * select.el: Don't perform clipboard-manager saving in hooks;
11507 leave the hooks empty.
11509 2011-05-28 Leo Liu <sdl.web@gmail.com>
11511 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11512 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11513 (occur-edit-mode): New major mode (Bug#8463).
11514 (occur-after-change-function): New function.
11515 (occur-engine): Give Occur tags a read-only property.
11517 2011-05-28 Kevin Ryde <user42@zip.com.au>
11519 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11521 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11523 * bindings.el (help-echo): Make the initial non-indicator dash
11524 empty on graphical terminals (Bug#7295).
11526 * files.el (auto-mode-alist): Move config rule after the
11527 in-stripping one (Bug#8547).
11529 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11531 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11532 setting (Bug#8740).
11534 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11536 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11537 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11540 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11542 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11544 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11546 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11547 (hs-hide-block-at-point, hs-find-block-beginning)
11548 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11551 2011-05-28 Glenn Morris <rgm@gnu.org>
11553 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11555 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11557 * help-fns.el (describe-function-1): If the function is a derived
11558 major mode, print the parent mode.
11560 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11561 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11563 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * minibuffer.el (completion--capf-wrapper): Check applicability before
11566 returning non-nil for non-exclusive completion data.
11567 * progmodes/etags.el (tags-completion-at-point-function):
11568 * info-look.el (info-lookup-completions-at-point): Mark as
11570 (info-complete): Adjust accordingly.
11572 * info-look.el: Convert to lexical-binding and completion-at-point.
11573 (info-lookup-completions-at-point): New function.
11574 (info-complete): Use it and completion-in-region.
11576 2011-05-28 Drew Adams <drew.adams@oracle.com>
11578 * isearch.el: Let M-e start with point at the first mismatched char.
11579 (isearch-fail-pos): New function.
11580 (isearch-edit-string): Use it.
11582 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11584 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11586 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11588 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11589 traversal functions for avl-trees.
11590 (avl-tree--stack): New struct.
11591 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11592 (avl-tree-enter): Add optional `updatefun' arg.
11593 (avl-tree--do-enter): Add optional `updatefun' arg.
11594 Change return value.
11595 (avl-tree-delete): Add optional `test' and `nilflag' args.
11596 (avl-tree--do-delete): Add `test' and `nilflag' args.
11597 Change return value.
11598 (avl-tree-member): Add optional `nilflag'
11599 (avl-tree-member-p): New function.
11600 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11601 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11602 (avl-tree-stack-empty-p): New functions.
11604 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11605 avl-tree--del-balance1 and make it work both ways.
11606 (avl-tree--del-balance2): Remove.
11607 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11608 make it work both ways.
11609 (avl-tree--enter-balance2): Remove.
11610 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11612 (avl-tree--mapc, avl-tree-map): Add direction argument.
11614 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11616 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11618 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11620 * select.el: Support clipboard managers with built-in function
11621 x-clipboard-manager-save, via delete-frame-functions and
11623 (xselect-convert-to-targets): Add MULTIPLE target to list.
11624 (xselect-convert-to-save-targets): New function.
11626 2011-05-27 Kenichi Handa <handa@m17n.org>
11628 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11629 let-binding rfc2047-encode-encoded-words to nil.
11631 2011-05-27 Glenn Morris <rgm@gnu.org>
11633 * mail/emacsbug.el: Don't require url-util.
11635 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11637 * files.el (set-auto-mode):
11638 Also respect mode: entries at the end of the file. (Bug#8586)
11640 2011-05-26 Glenn Morris <rgm@gnu.org>
11642 * files.el (hack-local-variables-prop-line, hack-local-variables):
11643 Downcase mode names, as seems to be traditional.
11644 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11646 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11647 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11649 2011-05-25 Julien Danjou <julien@danjou.info>
11651 * textmodes/rst.el (rst-define-level-faces): Do not define face
11652 symbol if it is already defined.
11654 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11656 * play/5x5.el (5x5-new-game, 5x5-randomize):
11657 Reset 5x5-solver-output to nil when a new grid is cast.
11658 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11659 these debugging traces, as defmacro breaks the compiled code.
11661 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11663 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11665 2011-05-24 Leo Liu <sdl.web@gmail.com>
11667 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11668 (vc-bzr-sha1): Adapt.
11670 * sha1.el: Remove. Function `sha1' is now builtin.
11672 * bindings.el: Provide sha1 feature.
11674 2011-05-24 Kenichi Handa <handa@m17n.org>
11676 * mail/sendmail.el: Require `rfc2047'.
11677 (mail-insert-from-field): Do not perform RFC2047 encoding.
11678 (mail-encode-header): New function.
11679 (sendmail-send-it): Set buffer-file-coding-system of the work
11680 buffer to the return value of select-message-coding-system.
11681 Call mail-encode-header.
11683 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11685 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11687 * mail/supercite.el (sc-default-cite-frame):
11688 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11690 2011-05-24 Glenn Morris <rgm@gnu.org>
11692 * progmodes/python.el (brm-menu): Declare.
11694 * emulation/viper.el (viper-set-hooks): Declare.
11696 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11697 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11698 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11699 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11700 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11701 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11703 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11705 Add an :exit-function for completion-at-point.
11707 * minibuffer.el (completion--done): New fun.
11708 (completion--do-completion): Use it. New arg `expect-exact'.
11709 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11710 since completion--do-completion does it for us now.
11711 (minibuffer-force-complete): Use completion--done and
11712 completion--replace. Handle sole-completion case with more care.
11713 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11714 (completion-extra-properties): New var.
11715 (completion-annotate-function): Make obsolete.
11716 (minibuffer-completion-help): Adjust accordingly.
11717 Use completion-list-insert-choice-function.
11718 (completion-at-point, completion-help-at-point):
11719 Bind completion-extra-properties.
11720 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11721 * simple.el (completion-list-insert-choice-function): New var.
11722 (completion-setup-function): Preserve it.
11723 (choose-completion): Pay attention to it, shuffle the code a bit.
11724 (choose-completion-string): New arg `insert-function'.
11726 * textmodes/bibtex.el: Convert to lexical binding.
11727 (bibtex-mode-map): Use completion-at-point.
11728 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11729 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11730 (bibtex-complete): Define as obsolete alias.
11731 (bibtex-complete-internal): Remove.
11732 (bibtex-format-entry): Remove unused sub-group in regexp.
11733 * shell.el (shell--command-completion-data)
11734 (shell-environment-variable-completion):
11735 * pcomplete.el (pcomplete-completions-at-point):
11736 * comint.el (comint--complete-file-name-data): Use :exit-function
11737 instead of completion-table-with-terminator so it also works for
11740 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11742 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11744 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11747 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11749 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11751 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11752 customization variable and implement: If non-nil, auto-fill will
11753 be inhibited while on topic's header line.
11755 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11757 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11758 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11759 always have a solution in grid size = 5 cases.
11760 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11761 (5x5-solver-output, 5x5-log-buffer): New vars.
11762 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11763 Make these variables buffer local to achieve 5x5 multi-session-ness.
11764 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11765 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11766 (5x5-solve-suggest): New funs.
11767 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11768 randomize a grid so that we ensure that there is always a solution.
11769 (5x5-make-random-grid): Allow other movement than flipping.
11771 2011-05-23 Kevin Ryde <user42@zip.com.au>
11773 * emacs-lisp/advice.el (ad-read-advised-function):
11774 Use `function-called-at-point' as the default, if it has
11775 advice and passes PREDICATE.
11777 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11780 byte-compile-lambda if it's actually a lambda.
11782 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11783 Fix function quoting. Use backquote better.
11785 2011-05-22 Yuanle Song <sylecn@gmail.com>
11787 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11788 matching (Bug#8516).
11790 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11792 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11793 different face (Bug#8178).
11795 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11797 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11798 defface (Bug#8144).
11800 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11803 funcall as well (bug#8712). Warn when performing those conversions.
11804 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11806 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11808 2011-05-22 Glenn Morris <rgm@gnu.org>
11810 * files.el (hack-local-variables-prop-line): Small simplifications.
11811 (hack-local-variables, hack-local-variables-prop-line):
11812 If MODE-ONLY, return the mode, rather than just `t'.
11814 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11818 2011-05-21 Glenn Morris <rgm@gnu.org>
11820 * files.el (hack-local-variables-prop-line, hack-local-variables):
11821 If only interested in the mode, don't bother doing the other stuff.
11823 * image-mode.el (image-after-revert-hook):
11824 Redraw all frames on which the image is visible. (Bug#8567)
11826 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11828 * wid-edit.el (widget-checklist-match-inline):
11829 Fix 2011-04-19 change. (Bug#8649)
11831 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11833 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11834 Also allow singlespace after single-letter capitals followed by a dot.
11836 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11837 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11839 2011-05-20 Nix <nix@esperi.org.uk>
11841 * files.el (basic-save-buffer-2):
11842 Fix handling of break-hardlink-on-save with non-existent files.
11844 2011-05-19 Deniz Dogan <deniz@dogan.se>
11846 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11847 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11849 2011-05-19 Glenn Morris <rgm@gnu.org>
11851 * progmodes/f90.el (f90-type-def-re):
11852 Handle "type, bind(c)". (Bug#8691)
11854 * emacs-lisp/autoload.el (batch-update-autoloads):
11855 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11857 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11859 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11860 property for the correct connection in case of multihops.
11862 2011-05-18 Glenn Morris <rgm@gnu.org>
11864 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11865 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11867 Rationalize calendar handling of day and month abbrev-arrays.
11868 * calendar/calendar.el (calendar-customized-p): New function.
11869 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11870 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11872 (calendar-abbrev-length, calendar-day-abbrev-array)
11873 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11874 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11875 Elements may no longer be nil.
11876 (calendar-day-name, calendar-month-name):
11877 Update for changed nature of abbrev arrays.
11878 * calendar/diary-lib.el (diary-name-pattern):
11879 Update for changed nature of abbrev arrays.
11880 (diary-mark-entries-1): Update calendar-make-alist calls.
11881 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11882 * calendar/cal-html.el (cal-html-day-abbrev-array):
11883 Simply inherit from calendar-day-abbrev-array.
11885 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * progmodes/grep.el (grep-mode): Disable default
11888 compilation-directory-matcher setting (bug#8684).
11890 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11892 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11893 instead of "head" and "tail". There were problems with SunOS 5.9,
11894 and it performs better.
11896 2011-05-17 Glenn Morris <rgm@gnu.org>
11898 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11900 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11901 Replace obsolete function.
11903 * shell.el (pcomplete-parse-arguments-function): Declare.
11905 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11906 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11907 (appt-check): Doc fixes.
11908 (appt-disp-window-function, appt-delete-window-function):
11909 Remove needless special case in custom :type.
11910 (appt-display-count): Default to 0, not nil.
11911 (appt-check): Reset appt-display-count to 0, not nil.
11913 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11915 * progmodes/python.el (python-font-lock-keywords):
11916 Add the Python 3.X keyword "nonlocal" (bug#8639).
11918 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11920 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11922 2011-05-16 Kevin Ryde <user42@zip.com.au>
11924 * info-look.el (makefile-automake-mode): New setups, looking in
11925 automake manual, then makefile-mode.
11926 (makefile-mode): Remove automake manual, have it just in
11927 makefile-automake-mode since there's various things different or
11928 not relevant to plain make.
11929 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11930 believe a hypothetical automake-mode would go to makefile-mode,
11931 not the other way around.
11933 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11935 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11936 hunk-end tags (Bug#8672).
11938 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11939 vc-annotate-show-diff-revision-at-line (Bug#8671).
11941 2011-05-14 Glenn Morris <rgm@gnu.org>
11943 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11944 in the middle of an existing one with multiple authors. (Bug#8645)
11945 (change-log-font-lock-keywords): Also handle multiple author lines
11946 with leading tabs. (Bug#8644)
11948 * calendar/appt.el (appt-check): Rename some local variables.
11949 Some simplification/reordering.
11951 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11952 (feedmail-sendmail-f-doesnt-sell-me-out)
11953 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11954 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11955 (feedmail-queue-runner-message-sender): Set :version.
11956 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11957 (bbdb-dwim-net-address, vm-mail): Declare.
11958 (feedmail-binmail-gnulinuxish-template):
11959 Rename from feedmail-binmail-linuxish-template.
11960 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11961 Use insert-buffer-substring.
11963 2011-05-14 Bill Carpenter <bill@carpenter.org>
11965 * mail/feedmail.el (feedmail-patch-level): Increase.
11966 (feedmail-debug): New custom group.
11967 (feedmail-confirm-outgoing-timeout)
11968 (feedmail-sendmail-f-doesnt-sell-me-out)
11969 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11970 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11971 (feedmail-sender-line, feedmail-from-line)
11972 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11973 (feedmail-spray-this-address)
11974 (feedmail-spray-address-fiddle-plex-list)
11975 (feedmail-queue-use-send-time-for-date)
11976 (feedmail-queue-use-send-time-for-message-id)
11977 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11978 (feedmail-buffer-eating-function):
11980 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11981 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11982 (feedmail-message-action-scroll-down): New functions.
11983 (feedmail-queue-directory, feedmail-queue-draft-directory):
11984 Use expand-file-name.
11985 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11986 Remove C-v help entry.
11987 (feedmail-queue-buffer-file-name): New variable.
11988 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11989 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11990 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11991 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11992 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11993 (feedmail-message-action-toggle-spray)
11994 (feedmail-run-the-queue-no-prompts)
11995 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11996 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11997 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11998 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11999 (feedmail-envelope-deducer, feedmail-fiddle-from)
12000 (feedmail-fiddle-sender, feedmail-default-date-generator)
12001 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12002 (feedmail-fiddle-spray-address)
12003 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12004 (feedmail-fiddle-list-of-fiddle-plexes)
12005 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12006 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12007 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12008 Change default. Doc fix.
12009 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12010 (feedmail-binmail-linuxish-template): New constant.
12011 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12012 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12013 (feedmail-send-it): Add debug call.
12014 Use feedmail-queue-buffer-file-name, and
12015 feedmail-send-it-immediately-wrapper.
12016 (feedmail-message-action-send): Add debug call.
12017 Use feedmail-send-it-immediately-wrapper.
12018 (feedmail-queue-express-to-queue): Add debug call.
12019 Run feedmail-queue-express-hook.
12020 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12021 (feedmail-message-action-help-blat):
12022 Rename from feedmail-queue-send-edit-prompt-help-first.
12023 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12024 Check line-endings. Handle errors better.
12025 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12026 Doc fix. Add debug call.
12027 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12028 Use feedmail-queue-send-edit-prompt-inner.
12029 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12030 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12031 from feedmail-queue-send-edit-prompt.
12032 (feedmail-queue-send-edit-prompt-help)
12033 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12034 (feedmail-tidy-up-slug): Add debug call.
12035 Respect feedmail-queue-slug-suspect-regexp.
12036 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12037 (feedmail-dump-message-to-queue): Add debug call.
12038 Expand queue-directory.
12039 (feedmail-dump-message-to-queue): Change message slightly.
12040 Use feedmail-say-chatter.
12041 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12042 (feedmail-send-it-immediately-wrapper): New function.
12043 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12044 Insert empty string rather than newline. Handle full-frame case.
12045 Use catch/throw. Use feedmail-say-chatter.
12046 (feedmail-fiddle-from): Try mail-host-address.
12047 (feedmail-default-message-id-generator): Doc fix.
12048 Bind system-time-locale. Handle missing end.
12049 (feedmail-fiddle-x-mailer): Add debug call.
12050 Handle feedmail-x-mailer-line being nil.
12051 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12052 Add debug call. Use buffer-substring-no-properties.
12053 (feedmail-say-debug, feedmail-say-chatter): New functions.
12054 (feedmail-find-eoh): Give an explicit error.
12056 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12058 * net/newst-treeview.el (newsticker-treeview-face): Change default
12059 family from helvetica to sans.
12060 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12061 etc/images/newsticker.
12063 * net/newst-reader.el (newsticker-feed-face): Change default
12064 family from helvetica to sans.
12066 * net/newst-plainview.el (newsticker-new-item-face)
12067 (newsticker-old-item-face, newsticker-immortal-item-face)
12068 (newsticker-obsolete-item-face, newsticker-date-face)
12069 (newsticker-statistics-face): Change default family from
12071 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12072 etc/images/newsticker.
12074 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12075 (newsticker--process-auto-mark-filter-match): Tell user about
12078 2011-05-13 Didier Verna <didier@xemacs.org>
12080 Common Lisp indentation improvements on defmethod and lambda-lists.
12081 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12083 (lisp-lambda-list-keyword-parameter-indentation)
12084 (lisp-lambda-list-keyword-parameter-alignment)
12085 (lisp-lambda-list-keyword-alignment): New customizable user options.
12086 (lisp-indent-defun-method): Improve docstring.
12087 (extended-loop-p): Fix comment.
12088 (lisp-indent-lambda-list-keywords-regexp): New variable.
12089 (lisp-indent-lambda-list): New function.
12090 (lisp-indent-259): Use it.
12091 (lisp-indent-defmethod): Support for more than one
12092 method qualifier and properly indent methods lambda-lists.
12093 (defgeneric): Provide a missing common-lisp-indent-function property.
12095 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12097 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12098 bounds for the empty string (bug#8667).
12100 2011-05-13 Glenn Morris <rgm@gnu.org>
12102 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12104 * mail/sendmail.el (sendmail-program): Try executable-find first.
12105 (sendmail-send-it): `sendmail-program' cannot be unbound.
12107 * calendar/appt.el (appt-make-list): Simplify.
12108 (appt-time-msg-list): Doc fix.
12109 (appt-check): Change mode-line message at the time of the appointment.
12111 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12113 * progmodes/ld-script.el (ld-script-keywords)
12114 (ld-script-builtins): Update keywords list.
12116 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12120 * shell.el (shell-completion-vars): New function.
12122 * simple.el (read-shell-command): Use it.
12123 (blink-matching-open): No need for " [...]" in minibuffer-message.
12125 2011-05-12 Glenn Morris <rgm@gnu.org>
12127 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12128 (appt-check): Simplify.
12130 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12132 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12133 literal "/dev/null".
12135 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12137 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12140 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12142 * progmodes/which-func.el (which-function):
12143 Use add-log-current-defun instead of add-log-current-defun-function,
12144 which might not be defined (Bug#8260).
12146 2011-05-12 Glenn Morris <rgm@gnu.org>
12148 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12149 Let byte-compile-initial-macro-environment always take precedence.
12151 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * net/rcirc.el: Add support for SSL/TLS connections.
12154 (rcirc-server-alist): New field `encryption'.
12155 (rcirc): Check `encryption' settings.
12156 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12157 Merge make-local-variable into `set'.
12158 (rcirc--connection-open-p): New function.
12159 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12160 the process is not a network process (e.g. running gnutls-cli).
12161 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12162 Make rcirc-(en|de)code-coding-system local here.
12163 (rcirc-mode): Merge make-local-variable into `set'.
12164 (rcirc-parent-buffer): Make permanent buffer-local.
12165 (rcirc-multiline-minor-mode): Don't do it here.
12166 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12167 there's no server buffer.
12169 2011-05-11 Glenn Morris <rgm@gnu.org>
12171 * newcomment.el (comment-kill): Prefix "unused" local.
12173 * term/w32console.el (get-screen-color): Declare.
12175 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12176 Handle symbol elements of byte-compile-initial-macro-environment.
12178 2011-05-10 Leo Liu <sdl.web@gmail.com>
12180 * bookmark.el (bookmark-bmenu-mode-map):
12181 Bind bookmark-bmenu-search to `/'.
12183 * mail/footnote.el: Convert to utf-8 encoding.
12184 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12185 (Footnote-unicode): New function.
12186 (footnote-style-alist): Add unicode style to the list.
12187 (footnote-style): Doc fix.
12189 2011-05-10 Jim Meyering <meyering@redhat.com>
12191 Fix doubled-word typos.
12192 * international/quail.el (quail-insert-kbd-layout): and and -> and
12193 * kermit.el: and and -> and
12194 * net/ldap.el (ldap-search-internal): to to -> to
12195 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12196 * progmodes/js.el (js-mode): and and -> and
12197 * textmodes/artist.el (artist-move-to-xy): at at -> at
12198 (artist-draw-region-trim-line-endings): if if -> if
12199 And Safetyc -> Safety.
12200 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12202 2011-05-10 Glenn Morris <rgm@gnu.org>
12203 Stefan Monnier <monnier@iro.umontreal.ca>
12205 * files.el (hack-one-local-variable-eval-safep):
12206 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12208 2011-05-10 Glenn Morris <rgm@gnu.org>
12210 * calendar/diary-lib.el (diary-list-entries-hook)
12211 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12212 (diary-nongregorian-marking-hook, diary-list-entries)
12213 (diary-include-other-diary-files, diary-mark-entries)
12214 (diary-mark-included-diary-files): Doc fixes.
12216 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12218 * misc.el: Require tabulated-list.el during compilation.
12220 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12222 * progmodes/compile.el (compilation-start):
12223 Run compilation-filter-hook for the async case too.
12224 (compilation-filter-hook): Doc fix.
12226 2011-05-09 Deniz Dogan <deniz@dogan.se>
12228 * wdired.el: Remove outdated installation comment. Fix usage
12231 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12233 * misc.el: Implement new command `list-dynamic-libraries'.
12234 (list-dynamic-libraries--loaded-only-p): New variable.
12235 (list-dynamic-libraries--refresh): New function.
12236 (list-dynamic-libraries): New command.
12238 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12240 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12241 Fix the ant regexp to handle end-line and end-column info from jikes.
12242 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12243 higher priority to avoid clobbering by gnu.
12245 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12247 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12248 if the face has existing theme settings (Bug#8454).
12250 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12252 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12253 Only match variables declared via `my' or `our' (Bug#8261).
12255 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12256 special file names `.' and `..' (Bug#8259).
12258 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12260 * progmodes/grep.el (grep-mode-font-lock-keywords):
12261 Remove buffer-changing entries.
12262 (grep-filter): New function.
12263 (grep-mode): Add it to compilation-filter-hook.
12265 * progmodes/compile.el (compilation-filter-hook)
12266 (compilation-filter-start): New defvars.
12267 (compilation-filter): Call compilation-filter-hook prior to
12268 updating the process mark.
12270 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12272 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12274 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12276 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12277 mailclient-send-it even if window-system is nil. (Bug#8595)
12279 * term/w32console.el (terminal-init-w32console):
12280 Call get-screen-color and use its output to set the frame
12281 background-mode. (Bug#8597)
12283 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12285 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12286 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12288 (defgeneric, eieio--defmethod): Use them.
12289 (eieio-defgeneric): Remove.
12290 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12292 2011-05-07 Glenn Morris <rgm@gnu.org>
12294 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12295 Use let rather than let*.
12296 (timeclock-find-discrep): Remove unused local.
12298 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12300 * calendar/appt.el (appt-time-msg-list): Doc fix.
12302 2011-05-06 Noah Friedman <friedman@splode.com>
12304 * apropos.el (apropos-print-doc): Only use
12305 emacs-lisp-docstring-fill-column when it is bound to an integer,
12306 per that variable's documentation.
12308 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12310 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12311 and warnings are not silently discarded (e.g. use -d instead of -P).
12313 2011-05-06 Glenn Morris <rgm@gnu.org>
12315 * calendar/appt.el (appt-message-warning-time): Doc fix.
12316 (appt-warning-time-regexp): New option.
12317 (appt-make-list): Respect appt-message-warning-time.
12319 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12321 (diary-add-to-list): Strip comments from the displayed string.
12322 (diary-mode): Set comment-start and comment-end.
12324 * vc/diff-mode.el (smerge-refine-subst): Declare.
12325 (diff-refine-hunk): Don't require smerge-mode when compiling.
12327 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12329 * simple.el (list-processes): Return nil as the docstring says.
12331 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12333 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12335 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12336 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12337 determining of binary transfer. (Bug#7383)
12339 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12341 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12342 Fix port computation bug. (Bug#8618)
12344 2011-05-05 Glenn Morris <rgm@gnu.org>
12346 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12348 * simple.el (shell-dynamic-complete-functions)
12349 (comint-dynamic-complete-functions): Declare.
12351 * net/network-stream.el (gnutls-negotiate):
12352 * simple.el (tabulated-list-print): Fix declarations.
12354 * progmodes/gud.el (syntax-symbol, syntax-point):
12355 Remove unnecessary and incorrect declarations.
12357 * emacs-lisp/check-declare.el (check-declare-scan):
12358 Handle byte-compile-initial-macro-environment in bytecomp.el
12360 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12362 Fix earlier half-done eieio-defmethod change (bug#8338).
12363 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12364 Streamline and change calling convention.
12365 (defmethod): Adjust accordingly and simplify.
12366 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12367 new eieio--defmethod.
12368 (slot-boundp): Minor CSE simplification.
12370 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12372 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12373 (glasses-make-readable): Use glasses-separate-capital-groups.
12375 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12377 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12378 (warning-series): Doc fix.
12379 (display-warning): Don't try to create the buffer if we just found it.
12381 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12383 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12384 (autoload-find-generated-file): New function.
12385 (generate-file-autoloads): Bind generated-autoload-file to
12387 (update-file-autoloads, update-directory-autoloads):
12388 Use autoload-find-generated-file. If called interactively, prompt for
12389 output file (Bug#7989).
12390 (batch-update-autoloads): Doc fix.
12392 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12394 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12396 2011-05-04 Glenn Morris <rgm@gnu.org>
12398 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12399 function, so it follows changes in calendar-date-style.
12400 (diary-fancy-date-matcher): New function.
12401 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12402 (diary-fancy-font-lock-fontify-region-function):
12403 Use diary-fancy-date-pattern as a function.
12405 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12406 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12408 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12410 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12411 instead of positional arguments. Allow :keylist and :crlfiles
12413 (open-gnutls-stream): Call it.
12415 * net/network-stream.el (network-stream-open-starttls): Adjust to
12416 call `gnutls-negotiate' with :process and :hostname arguments.
12418 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * minibuffer.el (completion--message): New function.
12421 (completion--do-completion, minibuffer-complete)
12422 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12423 (completion--do-completion): Don't ignore completion-auto-help when in
12426 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12427 internal encoding (e.g. tibetan zero is not whitespace).
12428 (global-whitespace-mode): Prefer save-current-buffer.
12429 (whitespace-trailing-regexp): Remove useless save-match-data.
12430 (whitespace-empty-at-bob-regexp): Minor simplification.
12432 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12434 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12436 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12438 * textmodes/ispell.el (ispell-add-per-file-word-list):
12439 Use `concat' to create string for insertion.
12441 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12443 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12444 Avoid open-line which runs post-self-insert-hook.
12445 (bibtex-fill-entry): Remove unused `end' var.
12447 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12449 * textmodes/ispell.el (ispell-add-per-file-word-list):
12450 Protect against `nil' value of `comment-start' (Bug#8579).
12452 2011-05-03 Leo Liu <sdl.web@gmail.com>
12454 * isearch.el (isearch-yank-pop): New command.
12455 (isearch-mode-map): Bind it to `M-y'.
12456 (isearch-forward): Mention it.
12458 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12460 * simple.el (minibuffer-complete-shell-command): Remove.
12461 (minibuffer-local-shell-command-map): Use completion-at-point.
12462 (read-shell-command): Setup completion vars here instead.
12463 (read-expression-map): Bind TAB to symbol completion.
12465 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12466 error directly rather via storing it into `results'.
12468 2011-05-02 Leo Liu <sdl.web@gmail.com>
12470 * vc/diff.el: Fix description.
12472 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12474 * server.el (server-eval-at): New function.
12476 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12478 * net/network-stream.el (open-network-stream): Take a :nowait
12479 parameter and pass it on to `make-network-process'.
12480 (network-stream-open-plain): Ditto.
12482 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12484 * faces.el (face-spec-set-match-display): Don't match toolkit
12485 options on terminal frames.
12487 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * progmodes/pascal.el: Use lexical binding.
12490 (pascal-mode-map): Remove author preferences.
12492 * pcomplete.el (pcomplete-std-complete): Don't abuse
12493 completion-at-point.
12495 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12497 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12498 removing code that has been dead since 1991 or so.
12500 * startup.el (command-line): When warning about "_emacs", use a
12501 delayed warning to allow the user to filter it out.
12503 2011-04-28 Deniz Dogan <deniz@dogan.se>
12505 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12506 user has not joined.
12508 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12510 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12511 aren't any completions at point.
12513 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12515 * subr.el (display-delayed-warnings): New function.
12516 (delayed-warnings-hook): New variable.
12518 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12520 * minibuffer.el (completion-at-point, completion-help-at-point):
12521 Don't presume that a given completion-at-point-function will always
12522 use the same calling convention.
12524 * pcomplete.el (pcomplete-completions-at-point):
12525 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12526 pcomplete-seen is non-nil.
12527 (pcomplete-comint-setup): Also recognize the new comint/shell
12528 completion functions.
12529 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12530 pcomplete-seen is non-nil.
12532 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12534 * calendar/icalendar.el (diary-lib): Add require statement.
12535 (icalendar--create-uid): Read out a uid from a text-property on
12536 the first character in the entry. This allows for code to add its
12537 own uid to the entry.
12538 (icalendar--convert-float-to-ical): Add export of
12539 `diary-float'-entries save for those with the optional DAY
12542 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12544 * subr.el (shell-quote-argument): Use alternate escaping strategy
12545 when we spot a variable reference in a string.
12547 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12549 * cus-start.el (all): Define customization for debug-on-event.
12551 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12553 * subr.el (shell-quote-argument): Escape correctly under Windows.
12555 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12559 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12561 * net/tramp.el (tramp-process-actions): Add POS argument.
12562 Delete region between POS and (pos).
12564 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12565 Use `nil' position in `tramp-process-actions' call.
12566 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12568 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12569 position in `tramp-process-actions' call.
12571 * net/trampver.el: Update release number.
12573 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12575 * custom.el (defcustom): Obey lexical-binding.
12577 Fix octave-inf completion problems reported by Alexander Klimov.
12578 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12579 Inherit from octave-mode-syntax-table.
12580 (inferior-octave-mode): Set info-lookup-mode.
12581 (inferior-octave-completion-at-point): New function.
12582 (inferior-octave-complete): Use it and completion-in-region.
12583 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12584 comint-filename-completion.
12585 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12586 symbol elements which shouldn't be word elements.
12587 (octave-font-lock-keywords, octave-beginning-of-defun)
12588 (octave-function-header-regexp): Adjust regexps accordingly.
12589 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12591 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12593 * net/gnutls.el (gnutls-errorp): Declare before first use.
12595 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12597 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12598 verify-error, and verify-hostname-error parameters. Check whether
12599 default trustfile exists before going to use it. Add missing
12600 argument to gnutls-message-maybe call. Return value.
12601 Reported by Claudio Bley <claudio.bley@gmail.com>.
12602 (open-gnutls-stream): Add usage example.
12604 * net/network-stream.el (network-stream-open-starttls): Give host
12605 parameter to `gnutls-negotiate'.
12606 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12607 * subr.el (shell-quote-argument): Escape correctly under Windows.
12609 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12611 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12612 Use correct match group (bug#8438).
12614 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12616 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12617 (package-menu--generate): New arg specifying packages to show.
12618 (package-menu-refresh, package-menu-execute, list-packages):
12620 (package-show-package-list): New function, replacing deleted
12621 package--list-packages (renamed because it is non-internal).
12623 * finder.el (finder-list-matches): Use package-show-package-list
12624 instead of deleted package--list-packages.
12626 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12627 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12628 (vc-annotate-mode-map): Bind it to RET.
12630 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12632 * progmodes/etags.el (next-file): Don't use set-buffer to change
12633 buffers (Bug#8478).
12635 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12637 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12639 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12640 (apropos-accumulator): Doc fix.
12641 (apropos-function, apropos-macro, apropos-command)
12642 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12643 (apropos-plist): Add face property.
12644 (apropos-symbols-internal): Fix indentation.
12645 (apropos-print): Simplify help, and recognize apropos-multi-type.
12646 (apropos-print-doc): Use button-type-get to extract the button's
12647 face property. Fill docstring (Bug#8352).
12649 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12651 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12653 * play/mpuz.el (mpuz-silent): Doc fix.
12654 (mpuz-mode-map): Use mapc.
12655 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12656 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12657 Fix typos in docstrings.
12659 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12660 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12662 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12664 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12666 * minibuffer.el (completion--do-completion): Avoid the "Next char
12667 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12669 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12670 mouse-2 into unread-command-events, it is interpreted correctly.
12672 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12673 (image-toggle-display): Doc fix.
12675 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12677 * textmodes/page.el (what-page): Use line-number-at-pos to
12678 calculate line number (Bug#6825).
12680 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12682 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12683 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12684 Pass argument NO-DEFAULT to `find-tag-interactive'.
12686 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12688 Lexical-binding cleanup.
12690 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12691 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12692 * progmodes/ada-prj.el (ada-prj-initialize-values)
12693 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12694 (ada-prj-show-value):
12695 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12696 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12697 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12698 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12699 * progmodes/bug-reference.el (bug-reference-push-button):
12700 * progmodes/fortran.el (fortran-line-length):
12701 * progmodes/glasses.el (glasses-change):
12702 * progmodes/octave-mod.el (octave-fill-paragraph):
12703 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12704 (python-pdbtrack-grub-for-buffer, python-sentinel):
12705 * progmodes/sql.el (sql-save-connection):
12706 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12707 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12708 Mark unused parameters.
12710 * progmodes/compile.el (compilation--flush-directory-cache)
12711 (compilation--flush-parse, compile-internal): Mark unused parameters.
12712 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12713 (compilation-next-error-function): Remove unused variable `timestamp'.
12715 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12716 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12718 * progmodes/dcl-mode.el (dcl-end-of-command):
12719 Remove unused variable `start'.
12720 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12721 (dcl-option-value-basic, dcl-option-value-offset)
12722 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12723 Mark unused parameters.
12724 (dcl-save-local-variable): Remove unused variable `val'.
12727 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12728 Mark unused parameters.
12729 (delphi-ignore-changes): Move before first use.
12730 (delphi-charset-token-at): Remove unused variable `start'.
12731 (delphi-else-start): Remove unused variable `if-count'.
12732 (delphi-comment-block-start, delphi-comment-block-end):
12733 Remove unused variable `kind'.
12734 (delphi-indent-line): Remove unused variable `new-point'.
12736 * progmodes/ebrowse.el (ebrowse-files-list)
12737 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12738 Mark unused parameters. Don't quote `lambda'.
12739 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12740 Don't quote `lambda'.
12741 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12742 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12743 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12744 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12745 Use `ignore-errors'.
12746 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12747 (ebrowse-view/find-file-and-search-pattern)
12748 (ebrowse-view/find-member-declaration/definition):
12749 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12750 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12751 Rename parameter PREFIX-ARG to PREFIX.
12752 (ebrowse-tags-read-name): Remove unused variables `start' and
12754 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12757 * progmodes/etags.el (local-find-tag-hook): Declare.
12758 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12759 Mark unused parameters.
12761 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12762 (executable-interpret): Mark unused parameter.
12764 * progmodes/flymake.el (flymake-process-sentinel)
12765 (flymake-after-change-function)
12766 (flymake-create-temp-with-folder-structure)
12767 (flymake-get-include-dirs-dot): Mark unused parameters.
12768 (flymake-safe-delete-directory): Remove unused variable `err'.
12770 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12771 (speedbar-timer-fn, speedbar-line-text)
12772 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12773 (speedbar-center-buffer-smartly): Declare functions.
12774 (gdb-find-watch-expression): Remove unused variable `array'.
12775 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12776 (gdb-starting): Mark unused parameters.
12777 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12778 (gdb-table-string): Remove unused variable `res'.
12779 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12780 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12781 (gdb-display-buffer): Remove unused variable `cur-size'.
12783 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12784 allow lexical-binding compilation.
12785 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12786 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12787 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12788 Mark unused parameters.
12789 (gud-gdb-marker-filter): Remove unused variable `match'.
12790 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12791 lambda expressions and funcall them, instead of using `fset'.
12793 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12794 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12796 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12797 variable `header-beg'; use `let'.
12799 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12800 `restart', `last-sexp' and `at-do'.
12802 * progmodes/js.el (js--debug): Mark unused parameter.
12803 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12804 (js--splice-into-items): Remove unused variable `item'.
12805 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12807 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12808 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12809 (makefile-complete): Remove unused variable `try'.
12810 (makefile-fill-paragraph, makefile-match-function-end):
12811 Mark unused parameters.
12813 * progmodes/octave-inf.el (inferior-octave-complete):
12814 Remove unused variable `proc'.
12815 (inferior-octave-output-digest): Mark unused parameter.
12817 * progmodes/perl-mode.el (perl-calculate-indent):
12818 Remove unused variable `err'.
12820 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12821 (prolog-indent-line): Mark unused parameters.
12822 (prolog-indent-line): Remove unused variable `beg'.
12824 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12825 (reporter-dont-compact-list): Declare.
12827 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12828 Remove unused variable `char'.
12829 (sh-debug): Mark unused parameter.
12830 (sh-get-indent-info): Remove unused variable `start'.
12831 (sh-calculate-indent): Remove unused variable `var'.
12833 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12834 (simula-electric-keyword): Remove unused variable `null'.
12835 (simula-search-backward, simula-search-forward): Remove unused
12836 variables `begin' and `end'.
12838 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12839 Remove unused variable `pos'.
12840 (vera-electric-tab, vera-comment-uncomment-region):
12841 Mark unused parameters.
12842 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12844 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12846 * emacs-lisp/package.el (package--builtins, package-alist)
12847 (package-load-descriptor, package-built-in-p, package-activate)
12848 (define-package, package-installed-p)
12849 (package-compute-transaction, package-buffer-info)
12850 (package--push): Doc fix. Distinguish more clearly between
12851 version strings and version lists.
12853 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12855 Lexical-binding cleanup.
12857 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12858 (5x5-make-mutate-best):
12859 * play/fortune.el (fortune-in-buffer):
12860 * play/gomoku.el (gomoku-init-display):
12861 * play/solitaire.el (solitaire, solitaire-do-check):
12862 * play/tetris.el (tetris-default-update-speed-function):
12863 Mark unused parameters.
12865 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12866 (bubbles--shift): Remove unused variable `char-org'.
12867 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12868 (bubbles--show-images): Remove unused variable `char'.
12870 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12871 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12872 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12873 (decipher-analyze-buffer): Use ?\s.
12874 (decipher-make-checkpoint): Remove unused variable `mapping'.
12876 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12878 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12879 Remove unused variable `result'; use `let'.
12881 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12882 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12883 (gametree-children-shown-p, gametree-compute-reduced-score):
12884 Use `ignore-errors'.
12886 * play/handwrite.el (ps-lpr-switches): Declare.
12887 (handwrite): Remove unused variables `pmin' and `lastp'.
12889 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12891 * play/landmark.el (landmark-init-display)
12892 (landmark-update-naught-weights): Mark unused parameters.
12893 (landmark-y): Remove unused variable `noise'. Simplify.
12894 (landmark-human-plays): Remove unused variable `score'.
12896 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12897 (mpuz-try-proposal): Remove unused variable `game'.
12899 * play/zone.el (life-patterns): Declare.
12901 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12903 * vc/vc.el (ediff-vc-internal): Declare function.
12905 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12907 * shell.el: Use lexical-binding and std completion UI.
12908 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12909 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12910 comint-preoutput-filter-functions rather than on
12911 comint-output-filter-functions.
12912 (shell-command-completion, shell--command-completion-data)
12913 (shell-filename-completion, shell-environment-variable-completion)
12914 (shell-c-a-p-replace-by-expanded-directory): New functions.
12915 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12916 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12917 (shell-dynamic-complete-environment-variable): Use them.
12918 (shell-dynamic-complete-as-environment-variable)
12919 (shell-dynamic-complete-as-command): Remove.
12920 (shell-match-partial-variable): Match past point.
12921 * comint.el: Clean up use of completion-at-point-functions.
12922 (comint-completion-at-point): New function.
12923 (comint-mode): Use it completion-at-point-functions.
12924 (comint-dynamic-complete): Make it obsolete.
12925 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12926 (comint-c-a-p-replace-by-expanded-history): New function.
12927 (comint-dynamic-complete-functions)
12928 (comint-replace-by-expanded-history): Use it.
12929 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12930 termination strings. Try harder to avoid second try-completion.
12931 (completion-in-region-mode-map): Disable bindings that don't work yet.
12933 * comint.el: Use lexical-binding. Require CL.
12934 (comint-dynamic-complete-functions): Use comint-filename-completion.
12935 (comint-completion-addsuffix): Tweak custom type.
12936 (comint-filename-completion, comint--common-suffix)
12937 (comint--common-quoted-suffix, comint--table-subvert)
12938 (comint--complete-file-name-data): New functions.
12939 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12940 (comint-dynamic-list-filename-completions): Use them.
12941 (comint-dynamic-simple-complete): Make obsolete.
12943 * minibuffer.el (completion-in-region-mode):
12944 Keep completion-in-region-mode--predicate global.
12945 (completion-in-region--postch):
12946 Assume completion-in-region-mode--predicate is not null.
12948 * progmodes/flymake.el (flymake-start-syntax-check-process):
12949 Obey `dir'. Simplify.
12951 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12952 we're in VC after all.
12954 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12956 * vc/vc.el (vc-diff-build-argument-list-internal)
12957 (vc-version-ediff, vc-ediff): New commands.
12958 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12960 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12965 * obsolete/erc-hecomplete.el: Make obsolete.
12966 * obsolete/: Standardize obsolescence info in the header.
12968 2011-04-20 Glenn Morris <rgm@gnu.org>
12970 * calendar/solar.el (solar-horizontal-coordinates):
12971 Use the longitude argument rather than `calendar-longitude'.
12972 (solar-date-next-longitude): Remove unused locals.
12974 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12976 * whitespace.el: New version 13.2.1.
12978 2011-04-20 felix <EmacsWiki> (tiny change)
12980 * whitespace.el (global-whitespace-mode): Keep highlight when
12981 switching between major modes on a file.
12983 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12985 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12986 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12987 multi-line comments as well.
12989 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12991 Lexical-binding cleanup.
12993 * arc-mode.el (archive-mode-revert):
12994 * cmuscheme.el (scheme-interactively-start-process):
12995 * custom.el (custom-initialize-delay):
12996 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12997 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12998 * emacs-lock.el (emacs-lock-clear-sentinel):
12999 * ezimage.el (defezimage):
13000 * follow.el (follow-avoid-tail-recenter):
13001 * fringe.el (set-fringe-mode-1):
13002 * generic-x.el (bat-generic-mode-compile):
13003 * help-mode.el (help-info-variable, help-do-xref)
13004 (help-mode-revert-buffer):
13005 * help.el (view-emacs-todo):
13006 * iswitchb.el (iswitchb-completion-help):
13007 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13008 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13009 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13010 * locate.el (locate-update):
13011 * longlines.el (longlines-encode-region)
13012 (longlines-after-change-function):
13013 * outline.el (outline-isearch-open-invisible):
13014 * ps-def.el (declare-function, charset-dimension, char-width)
13016 * ps-mule.el (ps-mule-plot-string):
13017 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13018 (recentf-edit-list-select, recentf-edit-list-validate)
13019 (recentf-open-files-action):
13020 * rect.el (delete-whitespace-rectangle-line)
13021 (rectangle-number-line-callback):
13022 * register.el (window-configuration-to-register)
13023 (frame-configuration-to-register):
13024 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13025 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13026 (xselect-convert-to-targets, xselect-convert-to-delete)
13027 (xselect-convert-to-filename, xselect-convert-to-charpos)
13028 (xselect-convert-to-lineno, xselect-convert-to-colno)
13029 (xselect-convert-to-os, xselect-convert-to-host)
13030 (xselect-convert-to-user, xselect-convert-to-class)
13031 (xselect-convert-to-name, xselect-convert-to-integer)
13032 (xselect-convert-to-atom, xselect-convert-to-identity):
13033 * subr.el (declare, ignore, process-kill-without-query)
13034 (text-clone-maintain):
13035 * terminal.el (te-get-char, te-tic-sentinel):
13036 * tool-bar.el (tool-bar-make-keymap):
13037 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13038 * type-break.el (type-break-mode, type-break-noninteractive-query):
13039 * view.el (View-back-to-mark):
13040 * wid-browse.el (widget-browse-action, widget-browse-widget)
13041 (widget-browse-widgets, widget-browse-sexp):
13042 * widget.el (define-widget-keywords):
13043 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13044 Mark unused parameters.
13046 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13047 (align-areas): Remove unused variable `look'.
13048 (align-region): Remove unused variables `real-end' and `pos-list'.
13050 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13052 * bindings.el (mode-line-modified, mode-line-remote):
13053 Mark unused parameters.
13054 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13056 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13057 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13059 * comint.el (comint-history-isearch-pop-state)
13060 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13061 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13062 (comint-substitute-in-file-name): Doc fix.
13064 * completion.el (cmpl-statistics-block): Mark unused parameter.
13065 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13066 (save-completions-to-file, load-completions-from-file):
13067 Remove unused local variable `e'.
13069 * composite.el (compose-chars): Remove unused variable `len'.
13070 (lgstring-insert-glyph): Remove unused variable `g'.
13071 (compose-glyph-string): Remove unused variables `ascent',
13072 `descent', `lbearing' and `rbearing'.
13073 (compose-glyph-string-relative): Remove unused variables
13074 `lbearing', `rbearing' and `wadjust'.
13075 (compose-gstring-for-graphic): Remove unused variables `header',
13076 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13077 (compose-gstring-for-terminal): Remove unused variables `header'
13078 and `nchars'. Use `let', not `let*'.
13080 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13081 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13082 (Custom-buffer-done, custom-buffer-create-internal)
13083 (custom-browse-visibility-action, custom-browse-group-tag-action)
13084 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13085 (widget-magic-mouse-down-action, custom-toggle-parent)
13086 (custom-add-parent-links, custom-toggle-hide-variable)
13087 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13088 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13089 (custom-face-menu-create, custom-variable-menu-create, get)
13090 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13091 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13092 (customize-apropos): Remove unused variable `tests'.
13093 (custom-group-value-create): Remove unused variable `hidden-p'.
13094 (sort-fold-case): Declare.
13096 * cus-theme.el (custom-reset-standard-faces-list)
13097 (custom-reset-standard-variables-list): Declare.
13098 (customize-create-theme, custom-theme-revert, custom-theme-write)
13099 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13100 Mark unused parameters.
13102 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13104 * delim-col.el (delimit-columns-max): Move defvar before first use.
13106 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13107 (describe-char): Don't quote `lambda'. Mark unused parameter.
13109 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13110 (auto-insert): Declare.
13111 (desktop-restore-file-buffer): Rename desktop-* parameters;
13113 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13114 (desktop-buffer): Rename desktop-* parameters.
13116 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13117 (dframe-reposition-frame-xemacs, dframe-help-echo)
13118 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13119 Mark unused parameters.
13121 * dired-aux.el (backup-extract-version-start, overwrite-query)
13122 (overwrite-backup-query, rename-regexp-query)
13123 (rename-non-directory-query): Declare.
13124 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13125 (dired-add-entry): Remove unused variable `orig-file-name'.
13126 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13127 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13128 `dired-copy-preserve-time' directly.
13129 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13130 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13132 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13133 (dired-virtual-revert, dired-make-relative-symlink):
13134 Mark unused parameters.
13135 (manual-program): Declare.
13136 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13137 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13138 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13140 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13142 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13144 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13147 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13149 * electric.el (Electric-command-loop): Rename parameter
13150 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13152 * expand.el (expand-in-literal): Remove unused variable `here'.
13154 * facemenu.el (facemenu-add-new-color):
13155 Remove unused variable `docstring'.
13157 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13158 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13159 (face-attr-construct): Mark unused parameter. Doc fix.
13160 (read-color): Remove unused variable `hex-string'.
13162 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13163 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13164 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13165 (display-buffer-other-frame): Remove unused variable `old-window'.
13166 (kill-buffer-hook): Declare.
13167 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13168 Mark unused parameters.
13169 (after-find-file): Pass 1 to `auto-save-mode', not t.
13171 * files-x.el (auto-insert): Declare.
13172 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13174 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13175 variable `buf'. Mark unused parameter.
13176 (find-lisp-insert-directory): Mark unused parameter.
13178 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13179 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13180 (format-common-tail): Remove, unused.
13181 (format-deannotate-region): Remove unused variable `loc'.
13182 (format-annotate-region): Remove unused variable `p'.
13183 (format-annotate-single-property-change): Remove unused variables
13184 `default' and `tail'.
13186 * forms.el (read-file-filter): Declare.
13187 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13189 * frame.el (frame-creation-function-alist): Mark unused parameter.
13190 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13192 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13193 Remove unused parameters.
13194 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13195 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13197 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13198 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13199 (hfy-prepare-tag-map): Mark unused parameters.
13200 (htmlfontify-buffer): Use `called-interactively-p'.
13202 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13203 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13204 (ibuffer-do-occur): Mark unused parameters.
13205 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13206 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13208 * ibuffer.el: Don't quote `lambda'.
13209 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13210 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13211 Mark unused parameters.
13213 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13214 (ido-completing-read): Mark unused parameters.
13215 (ido-copy-current-word): Mark unused parameters;
13216 remove unused variable `name'.
13217 (ido-sort-merged-list): Remove unused parameter `dirs'.
13219 * ielm.el (ielm-input-sender): Mark unused parameter.
13220 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13221 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13222 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13223 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13224 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13226 * image-dired.el (image-dired-display-thumbs): Remove unused
13227 variables `curr-file' and `count'.
13228 (image-dired-remove-tag): Remove unused variable `start'.
13229 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13230 variable `curr-file'
13231 (image-dired-rotate-original): Remove unused variable `temp-file'.
13232 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13233 Remove unused variable `file'.
13234 (image-dired-gallery-generate): Remove unused variable `curr'.
13235 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13237 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13239 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13241 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13243 * isearch.el (minibuffer-history-symbol): Declare.
13244 (isearch-edit-string): Remove unused variable `err'.
13245 (isearch-message-prefix, isearch-message-suffix):
13246 Mark unused parameters.
13248 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13250 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13252 * makesum.el (double-column): Remove unused variable `cnt'.
13254 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13255 (ido-ignore-item-temp-list): Declare.
13257 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13258 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13259 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13260 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13263 * mouse-sel.el (mouse-extend-internal):
13264 Remove unused variable `orig-window-frame'.
13266 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13267 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13268 Move declarations before first use.
13269 (pcomplete-opt): Mark unused parameters; doc fix.
13271 * proced.el (proced-revert): Mark unused parameter.
13272 (proced-send-signal): Remove unused variable `err'.
13274 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13275 Rename parameter PREFIX-ARG to ARG.
13276 (ps-basic-plot-string, ps-basic-plot-whitespace):
13277 Mark unused parameters.
13279 * replace.el (replace-count): Define.
13280 (occur-revert-function): Mark unused parameters.
13281 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13282 (isearch-case-fold-search, isearch-string): Declare.
13283 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13284 bind `case-fold-search'. Remove unused variables `beg' and `end',
13286 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13287 COUNT and bind `replace-count'.
13288 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13291 * savehist.el (print-readably, print-string-length): Declare.
13293 * shadowfile.el (shadow-expand-cluster-in-file-name):
13294 Remove unused variable `cluster'.
13295 (shadow-copy-file): Remove unused variable `i'.
13296 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13297 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13298 (shadow-define-literal-group, shadow-define-regexp-group)
13299 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13301 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13302 (shell): Use `called-interactively-p'.
13303 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13305 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13306 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13307 (delete-backward-char): Remove unused variable `ocol'.
13308 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13309 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13310 (event-apply-hyper-modifier, event-apply-shift-modifier)
13311 (event-apply-control-modifier, event-apply-meta-modifier):
13312 Mark unused parameters.
13313 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13314 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13316 * speedbar.el (speedbar-ignored-directory-expressions)
13317 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13318 (speedbar-find-file, speedbar-dir-follow)
13319 (speedbar-directory-buttons-follow, speedbar-tag-find)
13320 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13321 (speedbar-buffers-line-directory, speedbar-buffer-click):
13322 Mark unused parameters.
13323 (speedbar-tag-file): Remove unused variable `mode'.
13324 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13326 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13328 * talk.el (talk): Remove unused variable `display'.
13330 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13331 (tar-write-region-annotate): Mark unused parameter.
13333 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13334 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13335 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13336 warning by another.
13338 * time-stamp.el (time-stamp-string-preprocess):
13339 Remove unused variable `require-padding'.
13341 * tree-widget.el (widget-glyph-enable): Declare.
13342 (tree-widget-action): Mark unused parameter.
13344 * w32-fns.el (x-get-selection): Mark unused parameter.
13345 (autoload-make-program, generated-autoload-file): Declare.
13347 * wdired.el (wdired-revert): Mark unused parameters.
13348 (wdired-xcase-word): Remove unused variable `err'.
13350 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13351 (whitespace-help-scroll): Remove unused variable `data-help'.
13353 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13354 (widget-image-insert, widget-after-change, default)
13355 (widget-default-format-handler, widget-default-notify)
13356 (widget-default-prompt-value, widget-info-link-action)
13357 (widget-url-link-action, widget-function-link-action)
13358 (widget-variable-link-action, widget-file-link-action)
13359 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13360 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13361 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13362 (widget-insert-button-action, widget-delete-button-action, visibility)
13363 (widget-documentation-link-action, widget-documentation-string-action)
13364 (widget-const-prompt-value, widget-regexp-match, symbol)
13365 (widget-coding-system-prompt-value)
13366 (widget-key-sequence-value-to-external, sexp)
13367 (widget-sexp-value-to-internal, character, vector, cons)
13368 (widget-choice-prompt-value, widget-boolean-prompt-value)
13369 (widget-color--choose-action): Mark unused parameters.
13370 (widget-item-match-inline, widget-choice-match-inline)
13371 (widget-checklist-match, widget-checklist-match-inline)
13372 (widget-group-match): Rename parameter VALUES to VALS.
13373 (widget-field-value-set): Remove unused variable `size'.
13374 (widget-color-action): Remove unused variables `value' and `start'.
13376 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13377 variable `dir'. Doc fix.
13378 (windmove-find-other-window): Don't pass it.
13380 * window.el (count-windows): Mark unused parameter.
13381 (bw-adjust-window): Remove unused variable `err'.
13383 * woman.el (woman-file-name): Remove unused variable `default'.
13384 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13385 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13386 (global-font-lock-mode): Declare.
13387 (woman-decode-region): Mark unused parameter.
13388 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13390 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13391 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13392 (x-dnd-handle-moz-url): Remove unused variable `title'.
13393 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13395 * xml.el (xml-parse-tag, xml-parse-attlist):
13396 Remove unused variable `pos'.
13398 2011-04-19 Glenn Morris <rgm@gnu.org>
13400 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13401 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13402 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13403 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13404 * calendar/cal-html.el (cal-html-insert-minical):
13405 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13406 (calendar-mark-date-pattern):
13407 Prefix "unused" locals.
13409 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13410 optional argument `style'.
13412 * calendar/appt.el (appt-make-list):
13413 * calendar/cal-china.el (calendar-chinese-date-string):
13414 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13415 (diary-hebrew-yahrzeit):
13416 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13417 * calendar/calendar.el (calendar-generate-window):
13418 * calendar/time-date.el (time-to-days):
13419 Remove unused local variables.
13421 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13423 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13424 glyphless-char-display table.
13425 (tabulated-list-glyphless-char-display): New var.
13427 2011-04-18 Sam Steingold <sds@gnu.org>
13429 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13430 to acknowledgments.
13432 2011-04-17 Glenn Morris <rgm@gnu.org>
13434 * calendar/diary-lib.el (diary-sexp-entry):
13435 * calendar/holidays.el (holiday-sexp):
13436 Set debug-on-error rather than the removed stack-trace-on-error.
13438 2011-04-16 Glenn Morris <rgm@gnu.org>
13440 * progmodes/f90.el: Use lexical-binding.
13441 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13443 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13445 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13446 (mail-mode): Setup mailalias completion here instead.
13447 * mail/mailalias.el: Use lexical-binding.
13448 (pattern, mailalias-done): Declare dynamic.
13449 (mail-completion-at-point-function): New function, from mail-complete.
13450 (mail-complete): Use it.
13451 (mail-completion-expand): New function.
13452 (mail-get-names): Use it.
13453 (mail-directory, mail-directory-process, mail-directory-stream):
13454 Don't use `pattern' for lexically bound arg.
13456 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13458 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13459 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13460 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13462 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13463 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13464 (byte-interactive-p): Define them again, for use when inlining
13467 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13469 * loadup.el: Use `string-to-number', not `string-to-int'.
13471 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13473 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13474 gud-gdb-complete-command.
13475 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13476 (gud-gdb-completion-at-point): New function.
13477 (gud-gdb-completions): Remove.
13479 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13481 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13482 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13483 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13484 whether `executable-find' is bound.
13486 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13488 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13490 * minibuffer.el (completion-in-region-mode-predicate)
13491 (completion-in-region-mode--predicate): New vars.
13492 (completion-in-region, completion-in-region--postch)
13493 (completion-in-region-mode): Use them.
13494 (completion--capf-wrapper): Also return the hook function.
13495 (completion-at-point, completion-help-at-point):
13496 Adjust and provide a predicate.
13498 Preserve arg names for advice of subr and lexical functions (bug#8457).
13499 * help-fns.el (help-function-arglist): Consolidate the subr and
13500 new-byte-code cases. Add argument `preserve-names' to extract names
13501 from the docstring when needed.
13502 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13503 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13504 (ad-arglist): Use help-function-arglist's new arg.
13505 (ad-definition-type): Use cond.
13507 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13509 * autorevert.el (auto-revert-handler):
13510 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13511 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13512 Don't quote lambda.
13514 * image-mode.el (image-transform-set-scale):
13515 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13517 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13519 * net/network-stream.el (network-stream-open-starttls): Only do
13520 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13521 Upgrades via gnutls-cli are too slow to be done opportunistically.
13523 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13525 * dframe.el (dframe-current-frame): Remove spurious quote.
13527 2011-04-12 Glenn Morris <rgm@gnu.org>
13529 * calendar/cal-tex.el (cal-tex-end-document):
13530 Try to automatically use latin1 input if needed.
13532 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13533 Don't try to cons a mark onto an empty element.
13535 2011-04-11 Leo Liu <sdl.web@gmail.com>
13537 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13539 (ido-kill-buffer-at-head): Support killing virtual buffers.
13541 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13543 * minibuffer.el (completion-show-inline-help): New var.
13544 (completion--do-completion, minibuffer-complete)
13545 (minibuffer-force-complete, minibuffer-complete-word):
13546 Inhibit minibuffer messages if completion-show-inline-help is nil.
13548 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13549 to avoid interference from inline help (Bug#5849).
13551 2011-04-10 Leo Liu <sdl.web@gmail.com>
13553 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13556 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13558 * image-mode.el (image-toggle-display-image): Signal an error if
13560 (image-transform-mode, image-transform-resize)
13561 (image-transform-set-rotation): Doc fix.
13562 (image-transform-set-resize): Delete.
13563 (image-transform-set-scale, image-transform-fit-to-height)
13564 (image-transform-fit-to-width): Handle image-toggle-display-image
13565 and image-transform-resize directly.
13567 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13569 * doc-view.el (doc-view-fit-width-to-window)
13570 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13571 New functions for fitting the shown image to the Emacs window size.
13572 (doc-view-mode-map): Add bindings for the new functions.
13574 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13576 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13577 Fix typo in docstring.
13579 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13581 * files.el (file-size-human-readable): Produce one digit after
13582 decimal, like "ls -lh" does.
13584 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13585 the file size representation.
13587 * simple.el (list-processes): If async subprocesses are not
13588 available, error out with a clear error message.
13590 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13592 * help.el (help-form-show): New function, to be called from C.
13593 Put help-form output in a buffer named differently than *Help*.
13595 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13597 * files.el (file-size-human-readable): New function.
13599 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13600 computing the representation inline. Don't require `cl'.
13602 2011-04-08 Glenn Morris <rgm@gnu.org>
13604 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13606 * net/browse-url.el (browse-url-firefox):
13607 Test system-type, not system-configuration.
13609 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13610 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13611 Use log-edit-empty-buffer-p. (Bug#7598)
13613 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13614 (rlogin-mode-map): Initialize in the defvar.
13615 (rlogin): Use ignore-errors.
13617 * replace.el (occur-mode-map): Some fixes for menu items.
13619 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13621 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13623 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13625 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13626 issuing unused warnings.
13628 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13631 * simple.el: Lisp reimplement of list-processes. Based on an
13632 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13633 (process-menu-mode): New major mode.
13634 (list-processes--refresh, list-processes):
13635 (process-menu-visit-buffer): New functions.
13637 * files.el (save-buffers-kill-emacs): Don't assume any return
13638 value of list-processes, which is undocumented anyway.
13640 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13642 * emacs-lisp/tabulated-list.el: New file.
13644 * emacs-lisp/package.el: Use Tabulated List mode.
13645 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13646 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13647 table format using Tabulated List mode variables.
13648 (package--push): New macro, replacing package-list-maybe-add.
13649 (package-menu--generate): Use package--push. Renamed from
13650 package--generate-package-list.
13651 (package-menu-refresh, list-packages): Use it.
13652 (package-menu--print-info): Rename from package-print-package.
13653 Return insertion data instead of inserting it directly.
13654 (package-menu-describe-package, package-menu-execute):
13655 Use tabulated-list-get-id.
13656 (package-menu-mark-delete, package-menu-mark-install)
13657 (package-menu-mark-unmark, package-menu-backup-unmark)
13658 (package-menu-mark-obsolete-for-deletion):
13659 Use tabulated-list-put-tag.
13660 (package--list-packages, package-menu-revert)
13661 (package-menu-get-package, package-menu-get-version)
13662 (package-menu-sort-by-column): Functions deleted.
13663 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13664 (package-menu--status-predicate, package-menu--version-predicate)
13665 (package-menu--name-predicate)
13666 (package-menu--description-predicate): Handle arguments in the
13667 Tabulated List format.
13668 (package-list-packages-no-fetch): Call list-packages.
13670 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13672 * files.el (after-find-file-from-revert-buffer): Remove variable.
13673 (after-find-file): Don't bind it.
13674 (revert-buffer-in-progress-p): New variable.
13675 (revert-buffer): Bind it.
13676 Pass nil for `after-find-file-from-revert-buffer'.
13678 * saveplace.el (save-place-find-file-hook): Use new variable
13679 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13681 2011-04-06 Glenn Morris <rgm@gnu.org>
13683 * Makefile.in (AUTOGEN_VCS): New variable.
13684 (autoloads): Use $AUTOGEN_VCS.
13686 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13687 * calendar/calendar.el (calendar-mode-map):
13688 Check for toolkit scroll bars. (Bug#8305)
13690 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13692 * minibuffer.el (completion-in-region--postch)
13693 (completion-in-region-mode): Remove unnecessary messages.
13695 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13697 * font-lock.el (font-lock-refresh-defaults):
13698 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13699 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13701 * info.el (Info-directory-list, Info-read-node-name-2)
13702 (Info-split-parameter-string): Doc fixes.
13703 (Info-virtual-nodes): Reflow docstring.
13704 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13705 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13706 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13707 Fix typos in docstrings.
13708 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13709 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13710 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13711 (Info-restore-desktop-buffer): Mark unused parameters.
13712 (Info-directory-find-file, Info-directory-find-node)
13713 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13714 (Info-virtual-index-find-node, Info-apropos-find-file)
13715 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13716 Mark unused parameters; fix typos in docstrings.
13717 (Info-virtual-index): Remove unused local variable `nodename'.
13719 2011-04-05 Deniz Dogan <deniz@dogan.se>
13721 * net/rcirc.el: Update my e-mail address.
13722 (rcirc-mode-map): Remove M-o binding.
13724 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13726 * startup.el (command-line): Save the cursor's theme-face
13727 directly, instead of using face-override-spec.
13729 * custom.el (load-theme): Minor optimization in assigning faces.
13731 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13733 * help-fns.el (describe-variable): Complete all variables having
13734 documentation, including keywords.
13735 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13737 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13739 Convert to lexical-binding.
13741 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13742 (bs--get-marked-string, bs--get-modified-string)
13743 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13744 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13745 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13747 * ehelp.el (electric-help-execute-extended)
13748 (electric-help-ctrl-x-prefix):
13749 * hexl.el (hexl-revert-buffer-function):
13750 * linum.el (linum-after-change, linum-after-scroll):
13751 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13753 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13755 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13762 * epg.el: Use lexical binding.
13764 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13766 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13768 * textmodes/flyspell.el (flyspell-word): Recognize default
13769 dictionary case for flyspell-mark-duplications-exceptions.
13770 Use regexp matching for languages.
13771 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13772 default dictionary (Bug#7926).
13774 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13776 * emacs-lisp/package.el (package--with-work-buffer):
13777 Recognize https URLs.
13779 * net/network-stream.el: Move from gnus/proto-stream.el.
13780 Change prefix to network-stream throughout.
13781 (open-protocol-stream): Merge into open-network-stream, leaving
13782 open-protocol-stream as an alias. Handle nil BUFFER args.
13784 * subr.el (open-network-stream): Move to net/network-stream.el.
13786 2011-04-02 Glenn Morris <rgm@gnu.org>
13788 * find-dired.el (find-exec-terminator): New option.
13789 (find-ls-option): Test for -ls support.
13790 (find-ls-subdir-switches): Test for -b in find-ls-option.
13791 (find-dired, find-grep-dired): Doc fixes.
13792 (find-dired): Use find-exec-terminator.
13794 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13795 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13796 (find-name-arg): Remove purecopy.
13798 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13799 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13800 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13801 accordingly. Don't add the null-device if not needed.
13803 * files.el (save-some-buffers): Doc fix.
13805 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13807 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13809 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13811 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13812 Use `dolist' rather than `mapcar'.
13814 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13816 Add lexical binding.
13818 * subr.el (apply-partially): Use new closures rather than CL.
13819 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13820 (dolist, dotimes): Use slightly different expansion for lexical code.
13821 (functionp): Move to C.
13822 (letrec): New macro.
13823 (with-wrapper-hook): Use it and apply-partially instead of CL.
13824 (eval-after-load): Preserve lexical-binding.
13825 (save-window-excursion, with-output-to-temp-buffer): Turn them
13828 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13830 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13832 (help-add-fundoc-usage): Don't add `Not documented'.
13833 (help-function-arglist): Handle closures, subroutines, and new
13834 byte-code-functions.
13835 (help-make-usage): Remove leading underscores.
13836 (describe-function-1): Handle closures.
13837 (describe-variable): Use special-variable-p for completion.
13839 * files.el (lexical-binding): Declare safe.
13841 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13842 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13843 (pcase): Add `let' pattern.
13844 Change memoization so it actually works.
13845 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13846 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13849 * emacs-lisp/macroexp.el: Use lexical binding.
13850 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13851 Don't convert ' to #' without checking that it's indeed quoting
13854 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13855 Use eval-sexp-add-defvars.
13856 (eval-sexp-add-defvars): New fun.
13858 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13860 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13862 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13863 than the internal `byte-compile-lambda'.
13864 (defmethod): Don't hide code under quotes.
13865 (eieio-defmethod): New `code' argument.
13867 * emacs-lisp/eieio-comp.el: Remove.
13869 * emacs-lisp/edebug.el (edebug-eval-defun)
13870 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13871 (edebug-toggle): Avoid `eval'.
13873 * emacs-lisp/disass.el (disassemble-internal): Handle new
13875 (disassemble-1): Handle new byte codes.
13877 * emacs-lisp/cl.el (pushnew): Silence warning.
13879 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13880 (cl-byte-compile-throw): Remove.
13881 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13883 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13886 * emacs-lisp/cconv.el: New file.
13888 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13889 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13890 (byte-compile-initial-macro-environment):
13891 Handle declare-function here.
13892 (byte-compile--lexical-environment): New var.
13893 (byte-stack-ref, byte-stack-set, byte-discardN)
13894 (byte-discardN-preserve-tos): New lap codes.
13895 (byte-interactive-p): Don't use any more.
13896 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13898 (byte-compile-lapcode): Use them and handle new lap codes.
13899 (byte-compile-obsolete): Remove.
13900 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13901 (byte-compile-arglist-warn): Check late def of inlinable funs.
13902 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13903 since they should have been expanded by now.
13904 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13905 (byte-compile-from-buffer): Remove unused second arg.
13906 (byte-compile-preprocess): New function.
13907 (byte-compile-toplevel-file-form): New function to distinguish
13908 file-form calls from outside from file-form calls from hunk-handlers.
13909 (byte-compile-file-form): Simplify.
13910 (byte-compile-file-form-defsubst): Remove.
13911 (byte-compile-file-form-defmumble): Simplify now that
13912 byte-compile-lambda always returns a byte-code-function.
13913 (byte-compile): Preprocess.
13914 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13915 Remove, not used any more.
13916 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13917 (byte-compile-make-args-desc): New funs.
13918 (byte-compile-lambda): Handle lexical functions. Always return
13919 a byte-code-function.
13920 (byte-compile-reserved-constants): New var, to make up room for
13921 closed-over variables.
13922 (byte-compile-constants-vector): Obey it.
13923 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13924 (byte-compile-macroexpand-declare-function): New function.
13925 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13926 byte-code-functions.
13927 (byte-compile-form): Check obsolescence here.
13928 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13929 (byte-compile-variable-ref): Remove.
13930 (byte-compile-dynamic-variable-op): New fun.
13931 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13932 (byte-compile-variable-set): New funs.
13933 (byte-compile-discard): Add 2 args.
13934 (byte-compile-stack-ref, byte-compile-stack-set)
13935 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13936 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13937 macroexpand-all instead.
13938 (byte-compile-quote-form): Remove.
13939 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13940 (byte-compile-bind, byte-compile-unbind): New funs.
13941 (byte-compile-let): Handle let* and lexical binding.
13942 (byte-compile-let*): Remove.
13943 (byte-compile-catch, byte-compile-unwind-protect)
13944 (byte-compile-track-mouse, byte-compile-condition-case):
13945 Handle a new :fun-body form, used for lexical scoping.
13946 (byte-compile-save-window-excursion)
13947 (byte-compile-with-output-to-temp-buffer): Remove.
13948 (byte-compile-defun): Simplify.
13949 (byte-compile-stack-adjustment): New fun.
13950 (byte-compile-out): Use it.
13951 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13953 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13956 * emacs-lisp/byte-opt.el: Use lexical binding.
13957 (byte-inline-lapcode): Remove (to bytecomp).
13958 (byte-compile-inline-expand): Pay attention to inlining to/from
13959 lexically bound code.
13960 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13962 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13963 any more and don't call compiler-macros.
13964 (byte-compile-splice-in-already-compiled-code): Remove.
13965 (byte-code): Don't inline any more.
13966 (disassemble-offset): Receive `bytes' as argument rather than via
13968 (byte-compile-tag-number): Declare before first use.
13969 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13970 `return' even if make-spliceable.
13971 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13972 obsolete interactive-p.
13973 (byte-optimize-lapcode): Optimize new lap-codes.
13974 Don't trip up on new form of `byte-constant' lap code.
13976 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13978 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13980 * custom.el (custom-initialize-default, custom-declare-variable):
13983 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13985 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13986 (COMPILE_FIRST): Add macroexp and cconv.
13987 * makefile.w32-in: Mirror changes in Makefile.in.
13989 * vc/cvs-status.el:
13993 * vc/smerge-mode.el:
13994 * textmodes/bibtex-style.el:
13995 * textmodes/css.el:
14003 * emacs-lisp/smie.el:
14006 * abbrev.el: Use lexical binding.
14008 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14010 * info.el (info-display-manual): New function.
14012 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14014 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14016 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14018 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14019 an entry for that server in rcirc-authinfo. (Bug#8385)
14021 2011-03-31 Glenn Morris <rgm@gnu.org>
14023 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14025 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14027 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14029 * progmodes/python.el (python-default-interpreter)
14030 (python-python-command-args, python-jython-command-args)
14031 (python-which-shell, python-which-args, python-which-bufname)
14032 (python-file-queue, python-comint-output-filter-function)
14033 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14034 variables and functions.
14036 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14038 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14039 (completion-in-region-mode): New minor mode.
14040 (completion-in-region): Use it.
14041 (completion-in-region--data, completion-in-region-mode-map): New vars.
14042 (completion-in-region--postch): New function.
14043 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14045 (completion--capf-wrapper): New function.
14046 (completion-at-point): Use it to track well-behavedness of
14048 (completion-help-at-point): New command.
14050 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14052 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14053 syntax class to search for whitespace on a single line
14054 (Message-ID: <4D938140.4030905@redhat.com>).
14056 2011-03-30 Leo Liu <sdl.web@gmail.com>
14058 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14060 (edit-abbrevs-map): Bind them here.
14061 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14063 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14065 * allout.el (allout-hide-by-annotation, allout-flag-region):
14066 Reduce possibility of overlay leakage by making them volatile.
14068 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14069 hash is not shared between buffers. Mode initialization is
14070 responsible for giving it a useful starting value.
14071 (allout-item-span): Reduce possibility of overlay leakage by
14072 making them volatile.
14073 (allout-widgets-count-buttons-in-region): Add diagnostic function
14074 for tracking down button overlay leaks.
14076 2011-03-29 Leo Liu <sdl.web@gmail.com>
14078 * ido.el (ido-read-internal): Use the default history var
14079 minibuffer-history if no HISTORY is specified.
14081 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14083 * net/imap.el (imap-shell-open, imap-process-connection-type):
14084 Use imap-process-connection-type for 'shell' streams as well as
14085 Kerberos, SSL, other subprocesses.
14087 2011-03-28 Leo Liu <sdl.web@gmail.com>
14089 * abbrev.el (abbrev-table-empty-p): New function.
14090 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14091 nonempty ones. (Bug#5937)
14093 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14095 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14097 2011-03-27 Leo Liu <sdl.web@gmail.com>
14099 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14100 for foreground and background colors.
14101 (ansi-color-make-color-map): Adapt.
14103 2011-03-25 Leo Liu <sdl.web@gmail.com>
14105 * midnight.el (midnight-time-float): Remove. Note it calculates
14106 the microsecond component incorrectly and seconds-to-time does the
14108 Remove redundant (require 'timer).
14110 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14111 (ido-completions): Remove unused arguments. (Bug#8329)
14113 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14115 * minibuffer.el (completion--flush-all-sorted-completions):
14116 Remove itself from hook.
14117 (completion-at-point): Let the functions perform the completion
14118 immediately and return nil or t.
14119 * comint.el (comint-dynamic-complete-functions): Now identical to
14120 completion-at-point-functions.
14121 (comint-dynamic-list-input-ring): Remove unused var `index'.
14122 (comint--match-partial-filename, comint--unquote&expand-filename):
14123 New funs, split from comint-match-partial-filename.
14124 (comint-dynamic-complete): Use completion-at-point.
14125 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14127 2011-03-24 Drew Adams <drew.adams@oracle.com>
14129 * thingatpt.el: Support `defun'.
14131 2011-03-23 Leo Liu <sdl.web@gmail.com>
14133 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14135 * help-mode.el (help-mode-finish): Tweak regexp.
14137 2011-03-23 Glenn Morris <rgm@gnu.org>
14139 * eshell/esh-opt.el (eshell-eval-using-options):
14140 Do not bind unused local variable `eshell-option-stub'.
14142 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14144 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14146 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14147 keymap variable in `with-no-warnings' to avoid a warning when the
14148 keymap has been already `defconst'ed.
14150 2011-03-22 Leo Liu <sdl.web@gmail.com>
14152 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14153 encode all chars in abbrevs; otherwise use emacs-mule or
14154 utf-8-emacs. (Bug#8308)
14156 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14158 * simple.el (backward-delete-char-untabify):
14159 Avoid warning about using `delete-backward-char'.
14161 * image.el (image-type-file-name-regexps): Make it variable.
14162 `imagemagick-register-types' modifies it, and the user may want
14163 to add new extensions for known image types.
14164 (imagemagick-register-types): Throw error if not using ImageMagick.
14166 2011-03-22 Leo Liu <sdl.web@gmail.com>
14168 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14169 located before rcirc-prompt-end-marker.
14170 (rcirc-complete): Error if point is not after rcirc prompt.
14171 Handle the case when table is nil.
14172 (rcirc-user-authenticated): Define to fix compiler warning.
14174 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14176 * custom.el (custom--inhibit-theme-enable): Make it affect only
14177 custom-theme-set-variables and custom-theme-set-faces.
14178 (provide-theme): Ignore custom--inhibit-theme-enable.
14179 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14180 (custom-enabling-themes): Delete variable.
14181 (enable-theme): Accept only loaded themes as arguments.
14182 Ignore the special custom-enabled-themes variable.
14183 (custom-enabled-themes): Forbid themes from setting this.
14184 Eliminate use of custom-enabling-themes.
14185 (custom-push-theme): Quote "changed" custom var entry.
14187 2011-03-21 Leo Liu <sdl.web@gmail.com>
14189 * ido.el (ido-read-internal): Add ido-selected to history instead
14192 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14194 * subr.el (deferred-action-list, deferred-action-function):
14197 2011-03-21 Leo Liu <sdl.web@gmail.com>
14199 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14200 change on 2011-02-13 (bug#8309).
14202 * minibuffer.el (read-file-name-function): Change default value.
14203 (read-file-name--defaults): Rename from read-file-name-defaults.
14204 (read-file-name-default): Rename from read-file-name.
14205 (read-file-name): Call read-file-name-function.
14207 2011-03-21 Glenn Morris <rgm@gnu.org>
14209 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14212 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14214 * cus-theme.el: Add missing provide statement.
14215 (customize-create-theme): Extract theme value correctly.
14216 (custom-theme-visit-theme): Autoload.
14217 (customize-create-theme): Prompt before inserting default faces.
14219 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14221 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14222 units and musical notes.
14224 2011-03-20 Leo Liu <sdl.web@gmail.com>
14226 * ido.el (ido-read-internal): Use completing-read-default.
14227 (ido-completing-read): Fix compatibility with completing-read.
14229 2011-03-20 Christian Ohler <ohler@gnu.org>
14231 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14232 (ert-delete-all-tests): Use `called-interactively-p' rather than
14234 (ert--make-xrefs-region): Respect END.
14236 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14238 * dired-aux.el (dired-create-directory): Signal an error if the
14239 directory already exists (Bug#8246).
14241 * facemenu.el (list-colors-display): Call list-faces-display
14242 inside with-help-window.
14243 (list-colors-print): Use display property to align the final
14244 column, instead of checking window-width.
14246 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14248 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14249 windows-nt systems.
14250 (emerge-protect-metachars): Quote correctly for ms-dos and
14251 windows-nt systems.
14253 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14255 * info.el (info-initialize): Replace all uses of `:' with
14256 path-separator for compatibility with non-Unix systems.
14257 Cache quoting of path-separator. (Bug#8258)
14259 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14261 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14262 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14263 (mouse-avoidance-mode): Fix typos in docstrings.
14265 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14267 * startup.el (package-subdirectory-regexp): Move from package.el.
14268 Omit \\` and \\', and let callers add them.
14270 * emacs-lisp/package.el (package-strip-version)
14271 (package-load-all-descriptors): Add \\` and \\' to
14272 package-subdirectory-regexp before using it.
14273 (package-untar-buffer): New arg DIR; ensure that file untars only
14274 into this expected directory. Remove superfluous delete-region.
14275 (package-unpack): Caller changed.
14276 (package-tar-file-info): Use package-subdirectory-regexp.
14278 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14281 diff-mode-shared-map (bug#8284).
14282 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14284 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14286 * calendar/time-date.el (format-seconds): Use assoc instead of
14287 assoc-string, since assoc-string doesn't exist in XEmacs.
14289 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14291 * custom.el (custom-known-themes): Reflow docstring.
14292 (custom-theme-load-path): Fix typo in docstring.
14293 (load-theme): Fix typo in error message.
14294 (custom-available-themes, custom-variable-theme-value):
14295 Use `let', not `let*'.
14297 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14299 * calc/README: Mention inclusion of musical notes.
14301 * calc/calc-units.el (calc-lu-quant): Rename from
14302 `calc-logunits-quantity'.
14303 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14304 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14305 (calc-db): Rename from `calc-dblevel'.
14306 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14307 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14308 (calc-np): Rename from `calc-nplevel'.
14309 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14310 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14311 (calc-lu-plus): Rename from `calc-logunits-add'.
14312 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14313 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14314 (calc-lu-minus): Rename from `calc-logunits-sub'.
14315 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14316 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14317 (calc-lu-times): Rename from `calc-logunits-mul'.
14318 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14319 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14320 (calc-lu-divide): Rename from `calc-logunits-div'.
14321 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14322 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14324 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14325 functions being autoloaded.
14327 * calc/calc.el (calc-lu-power-reference): Rename from
14328 `calc-logunits-power-reference'.
14329 (calc-lu-field-reference): Rename from
14330 `calc-logunits-field-reference'.
14332 * calc/calc-help.el (calc-l-prefix-help):
14333 Mention musical note functions.
14335 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * minibuffer.el (completion-all-sorted-completions):
14338 Use :completion-cycle-penalty text property if present.
14340 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14342 * allout.el (allout-yank-processing): Adjust for new rebulleting
14343 regime so bullet being yanked is used without prompting the user
14346 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14348 * startup.el (command-line): Warn the user that _emacs is deprecated.
14350 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14352 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14353 (delphi-verbose, delphi-comment-face, delphi-string-face)
14354 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14355 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14356 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14357 (delphi-new-comment-line, delphi-font-lock-defaults)
14358 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14359 Fix typos in docstrings.
14361 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14363 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14364 Invert the roles of character and string values for INSTEAD, so a
14365 string is used for the more common case of a defaulting prompt.
14367 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14369 * progmodes/ruby-mode.el (ruby-backward-sexp):
14370 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14371 * play/gamegrid.el (gamegrid-make-face):
14372 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14373 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14374 * notifications.el (notifications-notify):
14375 * net/xesam.el (xesam-search-engines):
14376 * net/quickurl.el (quickurl-list-insert):
14377 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14379 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14381 * startup.el (command-line): Update package subdirectory regexp.
14383 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14385 * allout.el (allout-abbreviate-flattened-numbering)
14386 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14388 * subr.el (read-char-choice): Only show the cursor after the prompt,
14389 not after the answer.
14391 2011-03-15 Kevin Ryde <user42@zip.com.au>
14393 * help-fns.el (variable-at-point): Skip leading quotes, if any
14396 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14398 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14401 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14403 * shell.el (shell): When called interactively, offer to change the
14404 shell file name on remote hosts.
14406 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14408 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14409 integration for LDAP parameters. The host, base, user or binddn,
14410 and secret tokens can be specified in a netrc file, for instance.
14411 This is optional because an `auth-source' parameter must be
14412 specified in the search attributes.
14414 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14416 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14418 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14420 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14421 into declaration. Remove redundant and harmful binding.
14423 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14425 * files.el (file-ownership-preserved-p): Pass `integer' as an
14426 explicit 2nd argument to `file-attributes'. If the file's owner
14427 is the Administrators group on Windows, and the current user is
14428 Administrator, consider that a match.
14430 * server.el (server-ensure-safe-dir): Consider server directory
14431 safe on MS-Windows if its owner is the Administrators group while
14432 the current Emacs user is Administrator. Use `=' to compare
14433 numerical UIDs, since they could be integers or floats.
14435 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14437 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14439 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14441 Sync with Tramp 2.2.1.
14443 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14445 * net/trampver.el: Update release number.
14447 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14449 * progmodes/compile.el (compilation--previous-directory): Fix up
14450 various nil/dead-marker mismatches (bug#8014).
14451 (compilation-directory-properties, compilation-error-properties):
14452 Don't call it at a position past the one we're about to change.
14454 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14455 Disable obsolescence warnings in the file that declares it.
14457 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14459 * allout-widgets.el (allout-widgets-tally):
14460 Initialize allout-widgets-tally as a hash table rather than nil to
14461 prevent mode-line redisplay warnings. Also, clarify the module
14462 description and fix a comment typo.
14464 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14466 * help-fns.el (describe-variable): Don't complete keywords.
14467 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14469 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14471 * emacs-lisp/package.el (package-version-join): Impose a standard
14472 string representation for pre/alpha/beta version lists.
14473 (package-unpack-single): Standardize the directory name by passing
14474 it through package-version-join.
14475 (package-strip-rcs-id): Accept any version string that does not
14476 signal an error in version-to-list.
14478 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14480 * simple.el (delete-trailing-whitespace): Return nil for the
14481 benefit of `write-file-functions'.
14483 2011-03-10 Glenn Morris <rgm@gnu.org>
14485 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14487 * vc/vc-git.el (vc-git-program): New option.
14488 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14489 (vc-git--call): Use it.
14491 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14493 * cus-edit.el (Custom-newline): If no button at point, look
14494 for a subgroup button at start-of-line. (Bug#2298)
14496 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14498 2011-03-10 Julien Danjou <julien@danjou.info>
14500 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14501 `cursor-type' is nil.
14503 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14505 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14507 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14509 * allout.el: Change so yank of distinctive-bullet items
14510 preserves the existing header prefix, rebulleting it if necessary,
14511 rather than replacing it. This is necessary for proper operation
14512 of cooperative addons like allout-widgets.
14513 (allout-make-topic-prefix, allout-rebullet-heading):
14514 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14515 value as alternate bullet to be used, instead of prompting the user
14516 for a bullet character.
14518 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14520 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14521 Do not use `tramp-file-name-port', because this returns also
14522 `tramp-default-port'.
14524 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14526 * net/rcirc.el (rcirc-handler-001): Remove useless
14527 with-rcirc-process-buffer.
14528 (rcirc-check-auth-status): Swap arguments to string-match.
14530 2011-03-09 Glenn Morris <rgm@gnu.org>
14532 * shell.el (shell-mode):
14533 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14535 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14536 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14538 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14540 * emacs-lisp/package.el (package-refresh-contents)
14541 (package-menu-execute): Use condition-case-no-debug.
14543 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14545 * simple.el (shell-command-to-string): Use `process-file'.
14547 * emacs-lisp/package.el (package-tar-file-info): Handle also
14550 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14551 Use `equal' for upload base check.
14553 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14555 * textmodes/texinfo.el (texinfo-environments):
14556 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14558 2011-03-08 Glenn Morris <rgm@gnu.org>
14560 * cus-start.el (cursor-in-non-selected-windows):
14561 Fix :set quoting oddness. (Bug#8192)
14563 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14564 in some setf expressions. (Bug#2159)
14566 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14568 * custom.el (custom-available-themes): Return themes in
14569 alphabetical order.
14571 See ChangeLog.15 for earlier changes.
14573 ;; Local Variables:
14577 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14579 This file is part of GNU Emacs.
14581 GNU Emacs is free software: you can redistribute it and/or modify
14582 it under the terms of the GNU General Public License as published by
14583 the Free Software Foundation, either version 3 of the License, or
14584 (at your option) any later version.
14586 GNU Emacs is distributed in the hope that it will be useful,
14587 but WITHOUT ANY WARRANTY; without even the implied warranty of
14588 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14589 GNU General Public License for more details.
14591 You should have received a copy of the GNU General Public License
14592 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.