1 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5 2012-06-09 Chong Yidong <cyd@gnu.org>
7 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
14 a function if there's a clear indication that it has a compiler-macro.
15 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
16 (macro-declarations-alist): Add arglist to declaration functions.
17 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
18 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
19 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
20 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
21 Also add autoload to find the compiler macro.
22 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
23 (cl--compiler-macro-member, cl--compiler-macro-assoc)
24 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
25 (cl--compiler-macro-get): New functions, replacing calls to
26 cl-define-compiler-macro.
27 (cl-typep) [compiler-macro]: Use macroexp-let².
29 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
31 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
32 string properly, fixes Bug#11473.
34 2012-06-08 Chong Yidong <cyd@gnu.org>
36 * faces.el (set-face-attribute): Doc fix.
37 (modify-face): Don't use :bold and :italic.
38 (error, warning, success): Tweak definitions.
40 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
41 (custom-modified, custom-set, custom-changed, custom-themed)
42 (custom-saved, custom-button, custom-button-mouse)
43 (custom-button-pressed, custom-state, custom-comment-tag)
44 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
45 (custom-group-subtitle): Use new-style face specs.
46 (custom-invalid-face, custom-rogue-face, custom-modified-face)
47 (custom-set-face, custom-changed-face, custom-saved-face)
48 (custom-button-face, custom-button-pressed-face)
49 (custom-documentation-face, custom-state-face)
50 (custom-comment-face, custom-comment-tag-face)
51 (custom-variable-tag-face, custom-variable-button-face)
52 (custom-face-tag-face, custom-group-tag-face-1)
53 (custom-group-tag-face): Remove obsolete face alias.
55 * epa.el (epa-validity-high, epa-validity-medium)
56 (epa-validity-low, epa-mark, epa-field-name, epa-string)
57 (epa-field-name, epa-field-body):
58 * font-lock.el (font-lock-comment-face, font-lock-string-face)
59 (font-lock-keyword-face, font-lock-builtin-face)
60 (font-lock-function-name-face, font-lock-variable-name-face)
61 (font-lock-type-face, font-lock-constant-face):
62 * ido.el (ido-first-match, ido-only-match, ido-subdir)
63 (ido-virtual, ido-indicator, ido-incomplete-regexp):
64 * speedbar.el (speedbar-button-face, speedbar-file-face)
65 (speedbar-directory-face, speedbar-tag-face)
66 (speedbar-selected-face, speedbar-highlight-face)
67 (speedbar-separator-face):
68 * whitespace.el (whitespace-newline, whitespace-space)
69 (whitespace-hspace, whitespace-tab, whitespace-trailing)
70 (whitespace-line, whitespace-space-before-tab)
71 (whitespace-space-after-tab, whitespace-indentation)
73 * emulation/cua-base.el (cua-global-mark):
74 * eshell/em-prompt.el (eshell-prompt):
75 * net/newst-plainview.el (newsticker-new-item-face)
76 (newsticker-old-item-face, newsticker-immortal-item-face)
77 (newsticker-obsolete-item-face, newsticker-date-face)
78 (newsticker-statistics-face, newsticker-default-face):
79 * net/newst-reader.el (newsticker-feed-face)
80 (newsticker-extra-face, newsticker-enclosure-face):
81 * net/newst-treeview.el (newsticker-treeview-face)
82 (newsticker-treeview-new-face, newsticker-treeview-old-face)
83 (newsticker-treeview-immortal-face)
84 (newsticker-treeview-obsolete-face)
85 (newsticker-treeview-selection-face):
86 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
87 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
88 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
89 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
90 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
91 (nxml-outline-active-indicator, nxml-outline-ellipsis):
92 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
94 * progmodes/vera-mode.el (vera-font-lock-number)
95 (vera-font-lock-function, vera-font-lock-interface):
96 * textmodes/table.el (table-cell): Use new-style face specs, and
97 don't use the old :bold and :italic attributes.
99 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
100 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
101 (ebrowse-member-class, ebrowse-progress): Likewise.
102 (ebrowse-tree-mark-face, ebrowse-root-class-face)
103 (ebrowse-file-name-face, ebrowse-default-face)
104 (ebrowse-member-attribute-face, ebrowse-member-class-face)
105 (ebrowse-progress-face): Remove obsolete faces.
107 * progmodes/flymake.el (flymake-errline, flymake-warnline):
108 Inherit from error and warning faces respectively.
110 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
112 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
115 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
117 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
120 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
122 * startup.el (argv, argi): Make lexically scoped.
123 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
124 * emacs-lisp/cl-macs.el: Use lexical-binding.
125 Rename cl-bind-* to cl--bind-*.
126 * files.el: Don't require `cl' since it doesn't use it.
127 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
129 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
131 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
132 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
133 instead of calling external sort utility.
134 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
136 2012-06-08 Eli Zaretskii <eliz@gnu.org>
138 * descr-text.el (describe-char): Mention how to insert the
139 character, if the current input method doesn't support it.
140 See the discussion in this thread for the details:
141 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
143 2012-06-08 Sam Steingold <sds@gnu.org>
145 * bindings.el (global-map): Bind XF86Forward to next-buffer and
146 XF86Back to previous-buffer.
147 (minibuffer-local-map): Bind them to next-history-element and
148 previous-history-element respectively.
149 * help-mode.el (help-mode-map): Bind them to help-go-forward and
150 help-go-back respectively.
151 * info.el (Info-mode-map): Bind them to Info-history-forward and
152 Info-history-back respectively.
153 These are the keys next to Up on the ThinkPad keyboard.
155 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
157 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
158 * emacs-lisp/cl-macs.el: Provide itself.
159 (cl--labels-convert-cache): New var.
160 (cl--labels-convert): New function.
161 (cl-flet, cl-labels): New implementation with new semantics, relying on
163 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
164 (cl-closure-vars, cl--function-convert-cache)
165 (cl--function-convert): Move from cl-macs.el.
166 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
167 rename by removing the "cl-" prefix.
168 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
170 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
172 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
173 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
174 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
175 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
176 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
177 (cl-hash-table-count): Add old compatibility aliases.
179 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
180 Use macroexpand-all-environment instead.
181 (cl--old-macroexpand): New var.
182 (cl--sm-macroexpand): New function.
183 (cl-symbol-macrolet): Use it during macro expansion.
184 (cl--function-convert-cache): New var.
185 (cl--function-convert): New function, extracted from
187 (cl-lexical-let): Use it.
189 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
190 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
191 (cl-member): Remove old alias.
193 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
194 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
195 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
196 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
197 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
198 (cl-macroexpand-cmacs): Remove var.
199 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
200 Use macroexpand-all instead.
202 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
204 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
205 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
206 (macroexp-copyable-p): New functions and macros.
207 * emacs-lisp/edebug.el (edebug-unwrap):
208 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
209 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
210 (pcase--let*): Remove.
211 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
212 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
213 macroexp-const-p instead.
214 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
216 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
217 instead of "cl-" for internal definitions. Use macroexp-const-p.
218 (cl-old-bc-file-form): Remove var.
219 (cl-const-exprs-p): Remove fun.
220 (cl-labels, cl-macrolet): Use backquote.
221 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
222 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
223 (cl-define-setf-expander): Rename from cl-define-setf-method.
224 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
226 * international/mule-cmds.el: Don't require CL.
227 (view-hello-file): Don't use `letf'.
229 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
231 * tmm.el (tmm-prompt): Use string-prefix-p.
232 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
233 (tmm-add-prompt): Use minibuffer-completion-help.
234 (tmm-delete-map): Remove.
236 * subr.el (kbd): Make it its own function.
238 2012-06-07 Stefan Merten <smerten@oekonux.de>
240 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
241 Silence compiler warnings. Fix versions.
242 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
243 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
244 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
245 (rst-package-emacs-version-alist): Correct Emacs version to
246 represent major merge with upstream.
247 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
249 2012-06-06 Glenn Morris <rgm@gnu.org>
251 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
252 Only print environment variables if set.
254 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
256 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
257 (macroexp--cons): Rename from maybe-cons.
258 (macroexp--accumulate): Rename from macroexp-accumulate.
259 (macroexp--all-forms): Rename from macroexpand-all-forms.
260 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
261 (macroexp--expand-all): Rename from macroexpand-all-1.
263 2012-06-06 Sam Steingold <sds@gnu.org>
265 * calendar/calendar.el (calendar-in-read-only-buffer):
266 Call `special-mode' to enable the standard read-only keybindings.
268 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
270 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
271 with "loading" messages (bug#11635).
273 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
275 * files.el (enable-remote-dir-locals): New option.
276 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
278 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
279 Ensure, that the temp directory is local.
281 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
282 `temporary-file-directory'.
284 * progmodes/python.el (python-send-region): Ensure, that the
285 temporary file is created also in the remote case.
287 2012-06-06 Glenn Morris <rgm@gnu.org>
289 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
290 (vc-rcs-update-changelog): Use it.
292 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
294 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
295 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
296 (vc-sccs-diff): Replace use of the external vcdiff script.
298 2012-06-05 Glenn Morris <rgm@gnu.org>
300 * ledit.el: Move to obsolete/.
302 2012-06-05 Sam Steingold <sds@gnu.org>
304 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
307 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
309 * emacs-list/cust-print.el: Move to obsolete.
311 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
312 compiler-macro expansion.
314 Add native compiler-macro support.
315 * emacs-lisp/macroexp.el (macroexpand-all-1):
316 Support compiler-macros directly. Properly follow aliases and apply
317 the compiler macros more thoroughly.
318 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
319 macroexpand now properly follows aliases.
320 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
321 (cl-compiler-macroexpand): Use new prop.
322 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
324 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
326 2012-06-05 Martin Rudalics <rudalics@gmx.at>
328 * window.el (get-lru-window, get-mru-window, get-largest-window):
329 New argument NOT-SELECTED to avoid picking the selected window.
330 (window--display-buffer-1, window--display-buffer-2): Replace by
331 new function window--display-buffer
332 (display-buffer-same-window, display-buffer-reuse-window)
333 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
334 Use window--display-buffer.
335 (display-buffer-use-some-window): Remove temporary dedication
336 hack by calling get-lru-window and get-largest-window with
337 NOT-SELECTED argument non-nil. Call window--display-buffer.
339 2012-06-05 Glenn Morris <rgm@gnu.org>
341 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
342 Replace external vcdiff script.
344 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
346 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
348 2012-06-04 Chong Yidong <cyd@gnu.org>
350 * image.el (imagemagick-types-inhibit): Revert last change.
352 (imagemagick-enabled-types): Remove CIN and EPS*.
354 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
356 * emacs-lisp/cl-lib.el: Rename from cl.el.
357 * emacs-lisp/cl.el: New compatibility file.
358 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
359 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
360 to obey the "cl-" prefix.
361 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
363 2012-06-03 Glenn Morris <rgm@gnu.org>
365 * emacs-lisp/authors.el (authors-aliases): Addition.
367 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
370 2012-06-03 Stefan Merten <smerten@oekonux.de>
372 * textmodes/rst.el: Add comments.
373 (rst-transition, rst-adornment): New faces.
374 (rst-adornment-faces-alist): Make default safe to reevaluate.
376 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
377 Improve customization tags.
378 (rst-define-level-faces): Clarify meaning.
380 2012-06-03 Chong Yidong <cyd@gnu.org>
382 * progmodes/compile.el (compilation-mode-line-fail)
383 (compilation-mode-line-run, compilation-mode-line-exit):
385 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
387 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
389 * progmodes/which-func.el (which-func-update-ediff-windows):
390 New function. Use it in ediff-select-hook (Bug#11478).
392 2012-06-03 Chong Yidong <cyd@gnu.org>
394 * bindings.el: Remove explicit help text from format-mode-line.
395 It is now supplied by mode-line-default-help-echo.
396 (mode-line-front-space, mode-line-end-spaces)
397 (mode-line-misc-info): New variables.
398 (mode-line-modes, mode-line-position): Move the default value to
399 the variable definition.
400 (mode-line-default-help-echo): New defcustom.
401 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
402 (mode-line-modified-help-echo): New functions.
403 (mode-line-mule-info, mode-line-modified): Use them.
404 (mode-line-eol-desc, propertized-buffer-identification):
405 Consistency fixes for help text.
406 (mode-line-coding-system-map): Allow using mouse-3 to invoke
407 set-buffer-file-coding-system (Bug#289).
408 (mode-line-mule-info-help-echo): Update help text.
410 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
412 * simple.el (execute-extended-command): Set real-this-command
415 2012-06-02 Chong Yidong <cyd@gnu.org>
417 Remove incorrect uses of "modeline" in comments, docstrings, and
418 function/variable names (Bug#10329).
420 * cus-edit.el (mode-line):
421 * dframe.el (dframe-mouse-hscroll):
422 * emacs-lisp/re-builder.el:
423 * emacs-lisp/easy-mmode.el (define-minor-mode):
424 * frame.el (set-frame-name):
425 * help.el (lookup-minor-mode-from-indicator):
426 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
427 * progmodes/cc-cmds.el (c-toggle-auto-newline)
428 (c-toggle-hungry-state):
429 * progmodes/antlr-mode.el (antlr-language-alist):
430 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
431 * progmodes/vhdl-mode.el (vhdl-mode):
432 * progmodes/which-func.el (which-func, which-func-cleanup-function):
433 * term/ns-win.el (ns-face-at-pos):
434 * term/sup-mouse.el (sup-mouse-report):
435 * textmodes/flyspell.el (flyspell-mode-line-string):
436 * textmodes/ispell.el (ispell-highlight-face):
437 * textmodes/reftex-global.el:
438 * vc/vc-arch.el (vc-arch-mode-line-string):
439 * vc/vc-cvs.el (vc-cvs-mode-line-string):
440 * vc/vc-git.el (vc-git-mode-line-string):
441 * vc/vc-hooks.el (vc-display-status)
442 (vc-default-mode-line-string):
443 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
445 * ansi-color.el (ansi-color-faces-vector): Change default faces.
447 * dired.el (dired-sort-set-mode-line): Rename from
448 dired-sort-set-modeline. All callers changed.
450 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
451 eshell-status-in-modeline.
453 * foldout.el (foldout-mode-line-string): Rename from
454 foldout-modeline-string. All callers changed.
455 (foldout-update-mode-line): Rename from foldout-update-modeline.
457 * subr.el (redraw-modeline): Make into obsolete alias.
459 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
460 timeclock-modeline-display. Make old name an alias.
461 (timeclock-update-mode-line): Likewise. All callers changed.
462 (timeclock-mode-line-display): No need to check before using
464 (timeclock-relative, timeclock-day-over-hook)
465 (timeclock-use-elapsed, timeclock-mode-string)
466 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
468 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
469 crisp-mode-modeline-string.
471 * play/solitaire.el (solitaire-build-mode-line): Rename from
472 solitaire-build-modeline. All callers changed.
474 * play/zone.el (zone-hiding-mode-line): Rename from
475 zone-hiding-modeline. All callers changed.
476 (zone): Remove unusued `modeline-hidden-level' property.
478 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
479 xscheme-modeline-initialize. All callers changed.
481 * strokes.el (strokes-lighter): Rename from
482 strokes-modeline-string.
484 * textmodes/sgml-mode.el (html-face-tag-alist)
485 (html-tag-face-alist): Use mode-line face instead of obsolete
488 2012-06-02 Stefan Merten <smerten@oekonux.de>
490 * textmodes/rst.el: Always require `cl'.
491 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
493 2012-06-02 Chong Yidong <cyd@gnu.org>
495 * image.el (imagemagick-enabled-types): Rename from
496 imagemagick-types-enable. Add many more types.
497 (imagemagick-types-inhibit): Change default to nil.
498 (imagemagick-filter-types): Caller changed.
500 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
502 * emacs-lisp/cl-macs.el: Use backquotes.
503 (cl-transform-function-property): Use eval-and-compile rather than
505 (defstruct): Use declare-function instead of with-no-warnings.
507 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
508 (byte-compile-output-docform): Re-add the print-circle bindings.
509 (byte-compile-fix-header): Use #$ just because it's shorter.
510 (byte-compile-output-file-form): Remove defun/defmacro.
512 2012-06-01 Martin Rudalics <rudalics@gmx.at>
514 * simple.el (choose-completion): Remove now obsolete binding for
517 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
519 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
520 in order to avoid "Stack overflow in regexp matcher".
522 2012-05-31 Glenn Morris <rgm@gnu.org>
524 * image.el: For clarity, call imagemagick-register-types at
525 top-level, rather than relying on a custom :initialize.
526 (imagemagick-types-enable): New option. (Bug#11557)
527 (imagemagick-filter-types): New function. (Bug#7406)
528 (imagemagick-register-types): Use imagemagick-filter-types.
529 If disabling support, remove elements altogether rather
530 than using an impossible regexp.
531 (imagemagick-types-inhibit): Give it the default init function.
533 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
535 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
536 Handle arbitrary file name lengths (Bug#11585).
538 2012-05-31 Martin Rudalics <rudalics@gmx.at>
540 * desktop.el (desktop-read): Clear previous and next buffers for
541 all windows and bury *Messages* buffer (bug#11556).
543 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
545 Add `declare' for `defun'. Align `defmacro's with it.
546 * emacs-lisp/easy-mmode.el (define-minor-mode)
547 (define-globalized-minor-mode): Don't autoload the var definitions.
548 * emacs-lisp/byte-run.el: Use lexical-binding.
549 (defun-declarations-alist, macro-declarations-alist): New vars.
550 (defmacro, defun): Use them.
551 (make-obsolete, define-obsolete-function-alias)
552 (make-obsolete-variable, define-obsolete-variable-alias):
554 (macro-declaration-function): Mark obsolete.
555 * emacs-lisp/autoload.el: Use lexical-binding.
556 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
558 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
560 * textmodes/ispell.el (ispell-with-no-warnings):
562 (ispell-kill-ispell, ispell-change-dictionary):
563 Use `called-interactively-p' for Emacs instead of obsolete
566 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
568 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
569 (macro-declaration-function): Move var from C code.
570 (macro-declaration-function): Define function with defalias.
571 * emacs-lisp/macroexp.el (macroexpand-all-1):
572 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
573 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
574 defun/defmacro any more.
575 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
576 Provide fallback for unknown arglist.
577 (byte-compile-arglist-warn): Change calling convention.
578 (byte-compile-output-file-form): Move print-vars binding.
579 (byte-compile-output-docform): Simplify accordingly.
580 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
581 (byte-compile-defmacro-declaration): Remove.
582 (byte-compile-file-form-defmumble): Generalize to defalias.
583 (byte-compile-output-as-comment): Return byte-positions.
584 Simplify callers accordingly.
585 (byte-compile-lambda): Use `assert'.
586 (byte-compile-defun, byte-compile-defmacro): Remove.
587 (byte-compile-file-form-defalias):
588 Use byte-compile-file-form-defmumble.
589 (byte-compile-defalias-warn): Remove.
591 2012-05-29 Stefan Merten <smerten@oekonux.de>
593 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
594 possible. Fix authors. Improve comments. Improve loading of `cl'.
596 (rst-mode-abbrev-table): Merge definition.
597 (rst-mode): Make sure `font-lock-defaults' is buffer local.
598 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
600 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
602 * calendar/icalendar.el
603 (icalendar-export-region): Export UID properly.
605 2012-05-29 Leo <sdl.web@gmail.com>
606 * calendar/icalendar.el (icalendar-import-format):
607 Add `icalendar-import-format-uid' (Bug#11525).
608 (icalendar-import-format-uid): New.
609 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
612 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
614 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
615 different alternative patterns.
616 (pcase-codegen): Be more careful to preserve identity.
617 (pcase--u1): Don't forget to mark vars as used.
619 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
620 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
621 (byte-compile-from-buffer): ...rather than here.
623 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
624 functions from byte-compile-function-environment.
626 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
628 * window.el (window-deletable-p): Avoid deleting the root window
629 of a frame with an active minibuffer.
631 2012-05-29 Martin Rudalics <rudalics@gmx.at>
633 * simple.el (choose-completion): Use quit-window (Bug#11567).
635 2012-05-29 Chong Yidong <cyd@gnu.org>
637 * whitespace.el (whitespace-cleanup): Fix usage of
638 whitespace-empty-at-bob-regexp (Bug#11492).
640 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
642 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
645 2012-05-29 Juri Linkov <juri@jurta.org>
647 * isearch.el (isearch-mode-map): Bind `M-s _' to
648 `isearch-toggle-symbol'. Bind `M-s c' to
649 `isearch-toggle-case-fold'.
650 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
651 (isearch-forward): Add `M-s _' to the docstring.
652 (isearch-forward-symbol, isearch-toggle-case-fold)
653 (isearch-symbol-regexp): New functions. (Bug#11381)
655 2012-05-29 Juri Linkov <juri@jurta.org>
657 * isearch.el (isearch-word): Add docstring. (Bug#11381)
658 (isearch-occur, isearch-search-and-update): If `isearch-word' is
659 a function, call it to get the regexp.
660 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
661 property `isearch-message-prefix' instead of the string "word ".
662 (isearch-search-fun-default): For the case of `isearch-word',
663 return a lambda that calls re-search-forward/re-search-backward
664 with a regexp returned by `word-search-regexp' or by the function
667 2012-05-29 Juri Linkov <juri@jurta.org>
669 * isearch.el (isearch-search-fun-default): New function.
670 (isearch-search-fun): Move default part to the new function
671 `isearch-search-fun-default'.
672 (isearch-search-fun-function): Set the default value to
673 `isearch-search-fun-default'. (Bug#11381)
675 * comint.el (comint-history-isearch-end):
676 Use `isearch-search-fun-default'.
677 (comint-history-isearch-search): Use `isearch-search-fun-default'
678 and remove spacial case for `isearch-word'.
679 (comint-history-isearch-wrap): Remove spacial case for
682 * hexl.el (hexl-isearch-search-function):
683 Use `isearch-search-fun-default'.
685 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
686 Use `word-search-regexp' for `isearch-word'.
688 * misearch.el (multi-isearch-search-fun):
689 Use `isearch-search-fun-default'.
691 * simple.el (minibuffer-history-isearch-search):
692 Use `isearch-search-fun-default' and remove spacial case for
694 (minibuffer-history-isearch-wrap): Remove spacial case for
697 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
698 Remove spacial case for `isearch-word'.
699 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
701 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
703 Decrease XEmacs incompatibilities.
704 * textmodes/flyspell.el (flyspell-check-pre-word-p):
706 (flyspell-delete-region-overlays): Use alternative definition for
708 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
709 (flyspell-word): Use `process-kill-without-query' if XEmacs.
710 (flyspell-mode-on): Use `interactive-p' if XEmacs.
711 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
712 `define-obsolete-face-alias' under XEmacs, but old method.
714 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
715 `with-no-warnings' definition or Emacs alias.
716 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
717 (ispell-word): Do not use `region-p' if XEmacs.
719 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
721 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
722 Check for `ispell-dictionary-base-alist' instead of full
723 `ispell-dictionary-alist'.
724 (ispell-init-process): Show spellchecker when starting new Ispell
727 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
729 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
730 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
732 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
734 * version.el (motif-version-string, gtk-version-string)
735 (ns-version-string): Declare.
737 2012-05-27 Juri Linkov <juri@jurta.org>
739 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
740 after the `eval-defun-1' specialcaseing
741 like in `edebug-eval-defun' (bug#10181).
743 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
744 like in `eval-defun-1'.
746 2012-05-27 Eli Zaretskii <eliz@gnu.org>
748 * mail/sendmail.el (mail-yank-region):
749 Recognize rmail-yank-current-message in addition to insert-buffer.
750 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
751 a *mail* buffer created through rmail-start-mail with sendmail as
754 2012-05-27 Chong Yidong <cyd@gnu.org>
756 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
757 Default to 256 (Bug#11267).
759 * help.el (describe-mode): Doc fix.
761 2012-05-26 Glenn Morris <rgm@gnu.org>
763 * w32-fns.el (w32-init-info): Remove.
764 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
766 * info.el (info-initialize): For self-contained NS builds, put the
767 included info/ directory at the front. (Bug#2791)
769 * paths.el (Info-default-directory-list): Make it a defcustom,
770 mainly so that we can use custom-initialize-delay.
772 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
774 * subr.el (buffer-has-markers-at): Mark obsolete.
776 * subr.el (lambda): Use declare.
778 * emacs-lisp/lisp-mode.el (lambda):
779 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
781 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
783 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
785 2012-05-26 Glenn Morris <rgm@gnu.org>
787 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
789 2012-05-25 Glenn Morris <rgm@gnu.org>
791 * paths.el: Remove no-byte-compile.
792 * loadup.el: No need to load paths.el uncompiled.
794 * image.el (imagemagick-types-inhibit): Doc fix.
796 * version.el: Remove no-byte-compile and associated formatting.
797 * loadup.el: No need to load version.el uncompiled. AFAICS, this
798 is ancient code from when there was an "inc-vers.el".
800 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
802 * progmodes/gdb-mi.el: Minor style changes.
803 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
804 Turn into minor modes.
805 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
806 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
807 (gdb-shell): Remove unneeded let-binding.
808 (gdb-get-many-fields): Eliminate O(n²) behavior.
810 2012-05-25 Eli Zaretskii <eliz@gnu.org>
812 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
813 platforms that don't link in fontset.c.
815 2012-05-25 Juri Linkov <juri@jurta.org>
817 Use the same diff color scheme as in modern VCSes (bug#10181).
819 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
820 to avoid confusion with `diff-added' that now uses green colors.
821 (diff-removed): Use shades of red.
822 (diff-added): Use shades of green.
823 (diff-changed): Leave just the yellow color.
824 (diff-use-changed-face): New variable.
825 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
826 how to highlight context diff changes.
827 (diff-refine-change): Use shades of yellow.
828 (diff-refine-removed): New face that uses shades of red.
829 (diff-refine-added): New face that uses shades of green.
830 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
831 `diff-refine-removed' in the call to `smerge-refine-subst'
832 depending on the value of `diff-use-changed-face'.
834 * vc/smerge-mode.el (smerge-mine): Use shades of red.
835 (smerge-other): Use shades of green.
836 (smerge-base): Use shades of yellow.
837 (smerge-refined-change): Empty face.
838 (smerge-refined-removed): New face that uses shades of red.
839 (smerge-refined-added): New face that uses shades of green.
840 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
841 args `props-r' and `props-a', and use them. Doc fix.
842 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
843 on its value use different faces `smerge-refined-change',
844 `smerge-refined-removed', `smerge-refined-added' in the call to
845 `smerge-refine-subst'.
847 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
848 Add face condition `min-colors 88' with shades of red.
849 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
850 `min-colors 88' with shades of green.
851 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
852 `min-colors 88' with shades of yellow.
854 2012-05-24 Glenn Morris <rgm@gnu.org>
856 * paths.el (prune-directory-list, remote-shell-program): Move to...
857 * files.el (prune-directory-list, remote-shell-program): ...here.
858 For the latter, delay initialization, prefer ssh, just search PATH.
860 * paths.el (term-file-prefix): Move to faces.el (the only user).
861 * faces.el (term-file-prefix): Move here, make it a defcustom.
863 * paths.el (news-directory, news-path, news-inews-program):
864 Move to gnus/nnspool.el.
866 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
868 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
869 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
870 Make the latter a defcustom, with a delayed initialization.
872 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
873 These were deleted from Gnus itself late 2010.
875 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
877 * progmodes/which-func.el (which-func-ff-hook):
878 Check against user-error, not error.
880 * emacs-lisp/edebug.el (top): Do not load or set up loading of
881 cl-specs.el, which no longer exists.
883 2012-05-22 Glenn Morris <rgm@gnu.org>
885 * info.el (info-emacs-bug): New command.
886 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
887 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
889 2012-05-21 Glenn Morris <rgm@gnu.org>
891 * makefile.w32-in (update-subdirs-SH):
892 * Makefile.in (update-subdirs): Update for moved update-subdirs.
894 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
896 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
898 * progmodes/compile.el (compilation-error-regexp-alist-alist):
899 Simplify Maven regexp, and make sure the file can't start with a space
902 2012-05-21 Glenn Morris <rgm@gnu.org>
904 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
905 Scrap superfluous subshells.
907 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
909 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
910 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
912 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
914 * calc/calc.el (calc-ensure-consistent-units): New variable.
916 * calc/calc-units.el (math-consistent-units-p)
917 (math-check-unit-consistency): New functions.
918 (calc-quick-units, calc-convert-units):
919 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
921 (calc-extract-units): Fix typo.
923 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
925 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
927 * textmodes/flyspell.el: Commenting style, plus code simplifications.
928 (flyspell-default-deplacement-commands): Don't spell check after
929 repeated window/frame switches (e.g. triggered by mouse-movement).
930 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
931 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
932 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
933 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
935 (flyspell-get-casechars, flyspell-get-not-casechars):
936 Simplify; Don't bother removing a ] just to add it back.
937 * textmodes/ispell.el (ispell-program-name): Use executable-find.
939 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
941 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
943 (math-function-table): Add support for more C functions.
945 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
947 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
948 (flyspell-debug-signal-word-checked): Protect delay handling for
949 otherchars against empty otherchars.
951 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
954 their respective macro declarations.
955 * skeleton.el (define-skeleton):
956 * progmodes/compile.el (define-compilation-mode):
957 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
958 (define-ibuffer-filter):
959 * emacs-lisp/generic.el (define-generic-mode):
960 * emacs-lisp/easy-mmode.el (define-minor-mode)
961 (define-globalized-minor-mode):
962 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
963 * emacs-lisp/byte-run.el (defsubst):
964 * custom.el (deftheme): Add doc-string metadata.
966 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
968 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
970 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
972 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
974 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
975 * emacs-lisp/cl-macs.el: Idem.
976 * emacs-lisp/cl-specs.el: Remove.
978 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
980 Minor renaming of internal CL functions and variables.
981 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
982 (cl--position): Rename from cl-position.
983 (cl--delete-duplicates): Rename from cl-delete-duplicates.
984 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
985 (cl--random-state): Rename from *random-state*.
987 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
989 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
990 parens around the arg list (bug#11499).
992 2012-05-17 Juri Linkov <juri@jurta.org>
994 * isearch.el (word-search-regexp, word-search-backward)
995 (word-search-forward, word-search-backward-lax)
996 (word-search-forward-lax): Move functions from search.c
997 (bug#10145, bug#11381).
999 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1001 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1002 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1003 normal word components.
1005 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * minibuffer.el (completion--sifn-requote): Fix last change.
1008 (minibuffer-local-must-match-filename-map):
1009 Move define-obsolete-variable-alias before its var.
1011 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1013 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1015 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1017 (completion--string-equal-p): New function.
1018 (completion--twq-all): Use it to get better assertion failure data.
1020 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1021 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1022 (shell--requote-argument): New functions.
1023 (shell-completion-vars): Use them.
1024 (shell--parse-pcomplete-arguments): Rename from
1025 shell-parse-pcomplete-arguments.
1026 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1027 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1028 Obey comint-file-name-quote-list.
1030 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1031 (smie-indent-keyword): Use it.
1033 2012-05-14 Stefan Merten <smerten@oekonux.de>
1035 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1037 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1039 * net/rlogin.el (rlogin-mode-map): Fix last change.
1041 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1043 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1044 the following \r\n using a single `process-send-string', since the
1045 Lotus SMTP server refuses to accept any commands if they are sent
1046 with two `process-send-string's (Bug#11444).
1048 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * shell.el (shell-parse-pcomplete-arguments):
1051 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1053 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1055 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1056 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1057 (image-transform-width, image-transform-fit-width): New functions.
1058 (image-transform-properties): Use them.
1059 (image-transform-check-size): New function.
1060 (image-toggle-display-image): Use it (for testing).
1061 (image-transform-set-rotation): Reduce angle mod 360.
1062 Delete obsolete comment.
1064 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1066 * image-mode.el: Fix scaling (bug#11399).
1067 (image-transform-resize): Doc fix.
1068 (image-transform-properties): Default scale is 1 and height should
1071 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1073 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1074 than hard-coding `car', to fix misbehavior when moving forward.
1076 2012-05-13 Chong Yidong <cyd@gnu.org>
1078 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1079 (tabulated-list-entries, tabulated-list-padding)
1080 (tabulated-list-sort-key): Make permanent-local.
1082 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1083 (electric-buffer-list): Put electric buffer menu
1084 command descriptions in this docstring, instead of the docstring
1085 of electric-buffer-menu-mode. Code cleanups.
1086 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1087 Electric-buffer-menu-mode.
1088 (electric-buffer-update-highlight): Minor code cleanup.
1090 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1092 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1095 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1097 Move define-obsolete-variable-alias before the var's definition.
1098 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1099 * tooltip.el (tooltip-hook):
1100 * textmodes/reftex-toc.el (reftex-toc-map):
1101 * textmodes/reftex-sel.el (reftex-select-label-map)
1102 (reftex-select-bib-map):
1103 * textmodes/reftex-index.el (reftex-index-map)
1104 (reftex-index-phrases-map):
1105 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1106 * progmodes/meta-mode.el (meta-mode-map):
1107 * novice.el (disabled-command-hook):
1108 * loadhist.el (unload-hook-features-list):
1109 * frame.el (blink-cursor):
1110 * files.el (find-file-not-found-hooks, write-file-hooks)
1111 (write-contents-hooks):
1112 * emulation/tpu-edt.el (GOLD-map):
1113 * emacs-lock.el (emacs-lock-from-exiting):
1114 * emacs-lisp/generic.el (generic-font-lock-defaults):
1115 * emacs-lisp/chart.el (chart-map):
1116 * dos-fns.el (register-name-alist):
1117 * dired-x.el (dired-omit-files-p):
1118 * desktop.el (desktop-enable):
1119 * cus-edit.el (custom-mode-hook):
1120 * buff-menu.el (buffer-menu-mode-hook):
1121 * bookmark.el (bookmark-read-annotation-text-func)
1122 (bookmark-exit-hooks):
1123 * allout.el (allout-mode-deactivate-hook)
1124 (allout-exposure-change-hook, allout-structure-added-hook)
1125 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1126 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1127 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1128 comes before the corresponding variable's definition.
1130 2012-05-12 Chong Yidong <cyd@gnu.org>
1132 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1133 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1134 (Buffer-menu-mode-map): Bind it.
1135 (Buffer-menu--pretty-name): Add a mouse-face property.
1137 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1139 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1140 (prolog-upper-case-string, prolog-lower-case-string)
1141 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1142 (prolog-use-smie, prolog-smie-grammar): New vars.
1143 (prolog-smie-forward-token, prolog-smie-backward-token)
1144 (prolog-smie-rules): New funs.
1145 (prolog-comment-indent): Remove.
1146 (prolog-mode-variables): Use default comment indentation instead.
1148 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1149 (prolog-mode): Don't call them any more.
1150 (prolog-electric-colon, prolog-electric-dash)
1151 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1153 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1155 * minibuffer.el (completion--twq-all): Again, allow case differences.
1157 * term.el: Move keymap initialization code to be more idiomatic.
1158 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1159 (term-terminal-menu): Move initialization into declaration.
1160 (term-escape-char): Let the user set it in her .emacs.
1162 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1163 Provide SMIE-based indentation (not enabled by default yet).
1164 (sh-mode-map): Don't bind electric keys.
1165 Use electric-pair-mode instead of skeleton-pair.
1166 (sh-assignment-regexp): Fit within 80 columns.
1167 (sh-indent-supported): Specify actual shell name instead of boolean.
1168 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1169 (sh-maybe-here-document): Use it. Make obsolete.
1170 (sh-electric-here-document-mode) New minor mode.
1171 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1172 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1173 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1174 (sh-smie-rc-grammar, sh-use-smie): New vars.
1175 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1176 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1177 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1178 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1179 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1180 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1181 (sh-set-shell): Use smie-setup if requested.
1183 * term.el (term-set-escape-char): Properly set term-escape-char.
1184 See http://stackoverflow.com/questions/10524656.
1186 2012-05-10 Chong Yidong <cyd@gnu.org>
1188 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1189 Use url-generic-parse-url, and handle host names and Windows
1191 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1192 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1193 URL schemes to work on.
1194 (ffap--toggle-read-only): New function.
1195 (ffap-read-only, ffap-read-only-other-window)
1196 (ffap-read-only-other-frame): Use it.
1197 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1198 necessary for ffap-url-unwrap-remote.
1200 2012-05-10 Dave Abrahams <dave@boostpro.com>
1202 * cus-start.el (create-lockfiles): Add it.
1204 2012-05-09 Chong Yidong <cyd@gnu.org>
1206 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1207 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1209 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1213 2012-05-09 Chong Yidong <cyd@gnu.org>
1215 * ansi-color.el (ansi-color-process-output): Check for validity of
1216 comint-last-output-start before using it. This avoids a bad
1217 interaction with gdb-mi's input/output buffer.
1219 2012-05-09 Glenn Morris <rgm@gnu.org>
1221 * files.el (dir-locals-read-from-file):
1222 Mention dir-locals in any error message.
1224 2012-05-09 Chong Yidong <cyd@gnu.org>
1226 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1227 package (Bug#11410).
1229 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1230 variables into description.
1232 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1235 shell-delimiter-argument-list (bug#11348).
1236 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1238 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1240 * textmodes/rst.el: Silence byte-compiler warnings.
1241 (rst-re-alist, rst-reset-section-caches): Move around.
1242 (rst-re): Use `characterp', not `char-valid-p'.
1243 (font-lock-beg, font-lock-end): Declare.
1245 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1246 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1248 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1250 2012-05-08 Glenn Morris <rgm@gnu.org>
1252 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1254 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * vc/log-edit.el: Add GNU coding standards highlighting.
1257 (log-edit-font-lock-gnu-style)
1258 (log-edit-font-lock-gnu-keywords): New vars.
1259 (log-edit-font-lock-keywords): New fun.
1260 (log-edit-mode): Don't fold case in font-lock.
1261 (log-edit-font-lock-keywords): Do not assume case-folding.
1263 * imenu.el: Misc cleanup. Make docstrings out of comments.
1264 Use lexical-binding.
1265 (imenu--index-alist, imenu--last-menubar-index-alist)
1266 (imenu-menubar-modified-tick): Use defvar-local.
1267 (imenu--split-menu): Remove unused var.
1268 (imenu--cleanup-seen): Declare as global.
1269 (imenu--cleanup): Use dolist.
1271 * subr.el (defvar-local): Add debug spec and doc-string position.
1273 2012-05-08 Glenn Morris <rgm@gnu.org>
1275 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1276 * language/english.el, language/georgian.el, language/greek.el:
1277 * language/japanese.el, language/khmer.el, language/korean.el:
1278 * language/lao.el, language/misc-lang.el, language/romanian.el:
1279 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1280 * language/thai.el, language/utf-8-lang.el:
1281 Remove no-byte-compile setting.
1283 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1285 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1287 * progmodes/make-mode.el (makefile-browse):
1288 Remove unnecessary interactive. (Bug#11324)
1290 2012-05-07 Glenn Morris <rgm@gnu.org>
1292 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1294 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1296 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1298 * loadup.el: Preload newcomment.el.
1299 * newcomment.el: Move autoload-only code to toplevel.
1301 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1302 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1303 Handle new :right-align column property.
1304 (tabulated-list-print-col): Idem, plus use `display' text-property to
1305 try and preserve alignment for variable pitch fonts.
1307 2012-05-07 Chong Yidong <cyd@gnu.org>
1309 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1310 (tabulated-list-use-header-line): New var.
1311 (tabulated-list-init-header): Use it.
1312 (tabulated-list-print-fake-header): New function.
1313 (tabulated-list-print): Use it.
1314 (tabulated-list-sort-button-map): Add non-header-line commands.
1315 (tabulated-list-init-header): Add column name property to basic
1317 (tabulated-list-col-sort): Handle non-header-line button case.
1318 (tabulated-list--sort-by-column-name): Fix a corner case.
1320 * buff-menu.el (list-buffers--refresh):
1321 Handle Buffer-menu-use-header-line.
1323 2012-05-06 Chong Yidong <cyd@gnu.org>
1325 * buff-menu.el: Convert to Tabulated List mode.
1326 (Buffer-menu-buffer+size-width): Make obsolete.
1327 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1328 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1329 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1330 documentation into docstring of buffer-menu.
1331 (Buffer-menu-toggle-files-only): Add an informative message.
1332 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1333 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1334 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1335 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1336 (Buffer-menu-execute, Buffer-menu-select)
1337 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1338 (Buffer-menu-bury): Use Tabulated List machinery.
1339 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1340 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1342 (list-buffers--refresh): New function.
1343 (list-buffers-noselect): Use it.
1344 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1345 (Buffer-menu--pretty-file-name): New helper functions.
1347 * loadup.el: Preload tabulated-list.
1349 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1350 tabulated-list-sort-column.
1351 (tabulated-list-init-header): Add the initial aligning space even
1352 if tabulated-list-padding is zero.
1354 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1356 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1357 whose cdr is not a cons cell correctly (bug#11038).
1359 2012-05-06 Chong Yidong <cyd@gnu.org>
1361 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1362 Accept additional plist in column descriptors.
1363 (tabulated-list-init-header): Obey it.
1364 (tabulated-list-get-entry): New function.
1365 (tabulated-list-put-tag): Use it. Use string-width instead of
1367 (tabulated-list--column-number): New function.
1368 (tabulated-list-print): Use it.
1369 (tabulated-list-print-col): New function.
1370 Set `tabulated-list-column-name' property on each column's text.
1371 (tabulated-list-print-entry): Use it.
1372 (tabulated-list-delete-entry, tabulated-list-set-col):
1374 (tabulated-list-sort-column): New command (Bug#11337).
1376 * buff-menu.el (list-buffers): Move C-x C-b binding from
1377 buff-menu.el to bindings.el.
1379 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1380 :advertised-binding feature.
1382 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1384 * progmodes/compile.el (compilation-internal-error-properties):
1385 Calculate start position correctly when end-col is set but
1386 end-line is not (Bug#11382).
1388 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1390 * man.el (Man-unindent): Use text-property-default-nonsticky to
1391 prevent untabify from inheriting face properties (Bug#11408).
1393 2012-05-05 Stefan Merten <smerten@oekonux.de>
1395 * textmodes/rst.el: Major merge with upstream development up to
1396 Docutils SVN r7399 / rst.el V1.2.1.
1398 Clarify maintainership and authors.
1400 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1401 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1402 (rst-official-version, rst-official-cvs-rev, rst-version)
1403 (rst-package-emacs-version-alist): New functions and variables
1404 for version information.
1406 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1407 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1408 (rst-mode-syntax-table, rst-mode): New and corrected functions
1409 and variables representing reStructuredText features.
1411 (rst-re): New function for reStructuredText regexes. Use in
1414 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1415 (rst-mode-map): Rebind keys.
1417 (rst-mode-lazy, rst-font-lock-keywords)
1418 (rst-font-lock-extend-region)
1419 (rst-font-lock-extend-region-internal)
1420 (rst-font-lock-extend-region-extend)
1421 (rst-font-lock-find-unindented-line-limit)
1422 (rst-font-lock-find-unindented-line-match)
1423 (rst-adornment-level, rst-font-lock-adornment-level)
1424 (rst-font-lock-adornment-match)
1425 (rst-font-lock-handle-adornment-pre-match-form)
1426 (rst-font-lock-handle-adornment-matcher): Major revision of
1427 font-locking. Integrate with other code. Use `jit-lock-mode'.
1429 (rst-preferred-adornments, rst-adjust-hook)
1430 (rst-new-adornment-down, rst-preferred-bullets)
1431 (rst-preferred-bullets, rst-indent, rst-indent-width)
1432 (rst-indent-field, rst-indent-literal-normal)
1433 (rst-indent-literal-minimized, rst-indent-comment): Change,
1434 extend and improve customization.
1436 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1437 (rst-normalize-cursor-position, rst-get-decoration)
1438 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1439 (rst-rstrip, rst-toc-insert-find-delete-contents)
1440 (rst-shift-fill-region, rst-compute-bullet-tabs)
1441 (rst-debug-print-tabs, rst-debug-mark-found)
1442 (rst-shift-region-guts, rst-shift-region-right)
1443 (rst-shift-region-left, rst-use-char-classes)
1444 (rst-font-lock-keywords-function)
1445 (rst-font-lock-indentation-point)
1446 (rst-font-lock-find-unindented-line-begin)
1447 (rst-font-lock-find-unindented-line-end)
1448 (rst-font-lock-find-unindented-line)
1449 (rst-font-lock-adornment-point, rst-font-lock-level)
1450 (rst-adornment-level-alist): Remove functions and variables.
1452 (rst-compare-adornments, rst-get-adornment-match)
1453 (rst-suggest-new-adornment, rst-get-adornments-around)
1454 (rst-adornment-complete-p, rst-get-next-adornment)
1455 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1456 (rst-straighten-adornments): Standardize function names to
1457 use "adornment" instead of "decoration". Correct callers.
1458 Similar standardizing in many places.
1460 (rst-update-section, rst-adjust, rst-promote-region)
1461 (rst-enumerate-region, rst-bullet-list-region)
1462 (rst-repeat-last-character): Correct use of `interactive'.
1464 (rst-classify-adornment, rst-find-all-adornments)
1465 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1466 (rst-find-leftmost-column, rst-repeat-last-character):
1469 (rst-find-title-line, rst-reset-section-caches)
1470 (rst-get-adornments-around, rst-adjust-adornment-work)
1471 (rst-arabic-to-roman, rst-roman-to-arabic)
1472 (rst-insert-list-pos, rst-insert-list-new-item)
1473 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1476 (rst-all-sections, rst-section-hierarchy)
1477 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1480 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1481 configuration instead of only buffer. Change where necessary.
1483 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1484 (rst-shift-region, rst-adaptive-fill): New functions for
1485 indentation and filling.
1487 (rst-comment-line-break, rst-comment-indent)
1488 (rst-comment-insert-comment, rst-comment-region)
1489 (rst-uncomment-region): New functions for handling comments.
1491 (rst-compile): Quote shell arguments.
1493 (rst-compile-pdf-preview, rst-compile-slides-preview):
1494 Delete temporary files after use.
1496 2012-05-05 Glenn Morris <rgm@gnu.org>
1498 * calendar/cal-html.el: Optionally include holidays in the output.
1499 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1500 (cal-html-holidays): New option.
1501 (cal-html-css-default): Add holiday entry.
1502 (holiday-in-range): Autoload it.
1503 (cal-html-htmlify-entry): Add optional class argument.
1504 (cal-html-htmlify-list): Add optional holidays argument.
1505 (cal-html-insert-agenda-days): Include holidays in the output.
1506 (cal-html-one-month): Maybe include holidays.
1508 * calendar/holidays.el (holiday-in-range):
1509 Move here from cal-tex-list-holidays.
1510 * calendar/cal-tex.el (cal-tex-list-holidays):
1511 Make it an obsolete alias for holiday-in-range. Update all callers.
1513 2012-05-05 Chong Yidong <cyd@gnu.org>
1515 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1518 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1520 * files.el (file-auto-mode-skip): New var.
1521 (set-auto-mode-1): Use it.
1523 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1525 * repeat.el: Use lexical-binding.
1526 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1527 (repeat-undo-count): Remove.
1529 * progmodes/octave-mod.el (octave-abbrev-start):
1530 * progmodes/f90.el (f90-abbrev-start):
1531 * face-remap.el (text-scale-adjust):
1532 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1534 * emacs-lisp/pcase.el (pcase--let*): New function.
1535 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1537 (pcase--split-pred): Be more clever about ruling out overlap between
1538 a predicate and some constant pattern.
1539 (pcase--q1): Use `null' instead of (eq foo nil).
1541 * subr.el (setq-local, defvar-local): New macros.
1542 (kbd): Redefine as an alias.
1543 (with-selected-window): Leave unrelated frames alone.
1544 (set-temporary-overlay-map): New function.
1546 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * subr.el (user-error): New function.
1549 * window.el (switch-to-buffer):
1550 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1551 (smerge-match-conflict):
1552 * simple.el (previous-matching-history-element)
1553 (next-matching-history-element, goto-history-element, undo-more)
1555 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1556 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1557 (next-file, tags-loop-scan, list-tags, complete-tag):
1558 * progmodes/compile.el (compilation-loop):
1559 * mouse.el (mouse-minibuffer-check):
1560 * man.el (Man-bgproc-sentinel, Man-goto-page):
1561 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1562 (Info-history-forward, Info-follow-reference, Info-menu)
1563 (Info-extract-menu-item, Info-extract-menu-counting)
1564 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1565 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1566 (Info-next-reference, Info-prev-reference, Info-index)
1567 (Info-index-next, Info-follow-nearest-node)
1568 (Info-copy-current-node-name):
1569 * imenu.el (imenu--make-index-alist)
1570 (imenu-default-create-index-function, imenu-add-to-menubar):
1571 * files.el (basic-save-buffer, recover-file):
1572 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1573 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1574 (checkdoc-message-text, checkdoc-defun):
1575 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1576 * cus-edit.el (customize-changed-options, customize-rogue)
1577 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1578 (custom-variable-mark-to-reset-standard)
1579 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1581 * completion.el (check-completion-length):
1582 * comint.el (comint-search-arg)
1583 (comint-previous-matching-input-string-position)
1584 (comint-previous-matching-input)
1585 (comint-replace-by-expanded-history-before-point, comint-send-input)
1586 (comint-copy-old-input, comint-backward-matching-input)
1587 (comint-goto-process-mark, comint-set-process-mark):
1588 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1589 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1591 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * dabbrev.el (dabbrev--ignore-case-p): New function.
1594 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1597 * files.el (automount-dir-prefix): Mark as obsolete.
1599 2012-05-04 Glenn Morris <rgm@gnu.org>
1601 * patcomp.el, play/bruce.el: Move to obsolete/.
1603 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1605 Fix minor Y10k bugs.
1606 * arc-mode.el (archive-unixdate):
1607 * autoinsert.el (auto-insert-alist):
1608 * calc/calc-forms.el (math-this-year):
1609 * emacs-lisp/copyright.el (copyright-current-year)
1610 (copyright-update-year, copyright):
1611 * tar-mode.el (tar-clip-time-string):
1612 * time.el (display-time-update):
1613 Don't assume years have 4 digits.
1615 2012-05-04 Chong Yidong <cyd@gnu.org>
1617 * dos-w32.el (file-name-buffer-file-type-alist)
1618 (direct-print-region-use-command-dot-com):
1619 * ffap.el (ffap-menu-regexp):
1620 * find-file.el (ff-special-constructs):
1621 * follow.el (follow-debug):
1622 * forms.el (forms--debug):
1623 * iswitchb.el (iswitchb-all-frames):
1624 * ido.el (ido-all-frames):
1625 * emacs-lisp/timer.el (timer-max-repeats):
1626 * mail/feedmail.el (feedmail-mail-send-hook)
1627 (feedmail-mail-send-hook-queued):
1628 * mail/footnote.el (footnote-signature-separator):
1629 * mail/mailabbrev.el (mail-alias-separator-string)
1630 (mail-abbrev-mode-regexp):
1631 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1632 * progmodes/idlwave.el (idlwave-libinfo-file)
1633 (idlwave-default-completion-case-is-down)
1634 (idlwave-library-routines): Convert defvars to defcustoms.
1636 * mail/rmail.el (rmail-decode-mime-charset):
1637 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1638 (idlwave-shell-fix-inserted-breaks)
1639 (idlwave-shell-activate-alt-keybindings)
1640 (idlwave-shell-use-breakpoint-glyph):
1641 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1643 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1647 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1649 * progmodes/verilog-mode.el (font-lock-keywords):
1650 Fix mis-highligting auto. Reported by Craig Barner.
1651 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1652 defines from global name space. Reported by Dan Dever.
1653 (verilog-auto-reset, verilog-auto-reset-widths)
1654 (verilog-auto-tieoff): Support using unbased numbers for
1655 AUTORESET and AUTOTIEOFF.
1656 (verilog-submit-bug-report): Update variable list.
1657 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1658 parenthesis from not matching. Reported by Michael Rytting.
1659 (verilog-auto-template-lint): Fix hash error when linting modules
1660 with no used templates.
1661 (verilog-warn, verilog-warn-error)
1662 (verilog-warn-fatal): When non-interactive report multiple
1663 warnings before exiting. Suggested by Brad Dobbie.
1664 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1665 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1666 to report unused template errors. Reported by Brad Dobbie.
1667 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1668 nets, bug438. Reported by Vns Blore.
1669 (verilog-auto-inout-module, verilog-auto-reg)
1670 (verilog-read-decls, verilog-read-sub-decls-sig)
1671 (verilog-signals-edit-wire-reg, verilog-signals-with):
1672 Fix passing of Verilog data types in ANSI input/output ports
1673 such as "output logic" into the AUTOs. Special case "wire" and
1674 "reg" for backwards compatibility presuming Verilog 2001.
1675 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1676 (verilog-preprocess): Fix replication of preprocess output.
1677 Reported by Brad Dobbie.
1678 (verilog-auto-inst-interfaced-ports):
1679 Create verilog-auto-inst-interfaced-ports, bug429.
1680 Reported by Julian Gorfajn.
1681 (verilog-after-save-font-hook)
1682 (verilog-before-save-font-hook): New variable.
1683 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1684 (verilog-save-font-mods): Wrap disabling fontification, reported
1686 (verilog-do-indent, verilog-pretty-declarations-auto)
1687 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1688 Reported by Pierre-David Pfister.
1689 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1690 of class declarations, bug292. Reported by Kevin Heilman.
1691 (verilog-read-decls): Fix 'parameter type' not appearing in
1692 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1693 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1694 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1695 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1696 Reported by David Kravitz.
1698 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1700 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1701 assignment with tests in ifs and for loops.
1702 (verilog-extended-complete-re, verilog-complete-reg): Change so
1703 that DPI inport functions don't look like fuction declarations.
1704 (verilog-pretty-expr): Don't line up assignment
1705 operations to the test and increment in if and for loops
1706 (verilog-extended-complete-re, verilog-complete-reg): Change so
1707 that DPI inport functions don't look like fuction declarations
1709 2012-05-03 Kenichi Handa <handa@m17n.org>
1711 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1712 decoding, and show a warning message without signaling an error
1715 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * emacs-lisp/bytecomp.el
1718 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1719 since cconv.el might have introduced :fun-body, internal-make-closure,
1720 and friends for bytecomp to handle (bug#11391).
1721 * custom.el (defcustom): Avoid ((λ ..) ..).
1723 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1727 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1729 * notifications.el (dbus-debug):
1730 * term/linux.el (gpm-mouse-enable):
1731 * term/screen.el (xterm-register-default-colors): Declare.
1733 2012-05-02 Chong Yidong <cyd@gnu.org>
1735 * cus-start.el (gc-cons-percentage, exec-suffixes)
1736 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1737 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1738 (make-cursor-line-fully-visible, void-text-area-pointer)
1739 (font-list-limit): Add customization data.
1741 * allout.el (allout-exposure-change-functions)
1742 (allout-structure-added-functions)
1743 (allout-structure-deleted-functions)
1744 (allout-structure-shifted-functions): Rename abnormal hooks from
1745 *-hook, and convert to defcustoms.
1746 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1747 Convert to defcustoms.
1748 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1750 * allout-widgets.el: Hook callers changed.
1752 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1754 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1755 the yanked message in preference to the default value of
1756 buffer-file-coding-system.
1758 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1760 * window.el (display-buffer--action-function-custom-type):
1763 2012-05-02 Alan Mackenzie <acm@muc.de>
1765 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1767 2012-05-01 Glenn Morris <rgm@gnu.org>
1769 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1771 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1773 * cus-edit.el (custom-variable-documentation): Simplify with format.
1775 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1776 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * simple.el (suggest-key-bindings, execute-extended-command):
1779 Move from keyboard.c.
1781 2012-05-01 Chong Yidong <cyd@gnu.org>
1783 * follow.el: Eliminate advice.
1784 (set-process-filter, process-filter, sit-for): Advice deleted.
1785 (follow-mode-off-hook): Obsolete hook removed.
1786 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1788 (follow-auto): Use a :set function.
1789 (follow-mode): Rewritten. Don't advise process filters.
1790 (follow-switch-to-current-buffer-all, follow-scroll-up)
1791 (follow-scroll-down): Assume follow-mode is bound.
1792 (follow-comint-scroll-to-bottom)
1793 (follow-align-compilation-windows): New functions.
1794 (follow--window-sorter): New function.
1795 (follow-all-followers): Use it to explicitly sort windows by their
1796 positions; don't make assumptions about next-window order.
1797 (follow-windows-start-end, follow-delete-other-windows-and-split)
1798 (follow-calc-win-start): Doc fix.
1799 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1800 vertical-motion unnecessarily.
1801 (follow-adjust-window): New function.
1802 (follow-post-command-hook): Use it.
1803 (follow-call-set-process-filter, follow-call-process-filter)
1804 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1805 (follow-stop-intercept-process-output, follow-generic-filter):
1807 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1808 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1809 New functions, replacing advice on scroll-bar-* commands.
1810 (follow-mwheel-scroll): New function (Bug#4112).
1812 * comint.el (comint-adjust-point): New function.
1813 (comint-postoutput-scroll-to-bottom): Use it.
1814 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1816 2012-05-01 Glenn Morris <rgm@gnu.org>
1818 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1819 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1820 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1821 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1822 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1823 Remove no-byte-compile setting.
1825 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1828 all-completions code to not return a number in the last cdr.
1830 2012-04-30 Leo Liu <sdl.web@gmail.com>
1832 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1835 2012-04-29 Chong Yidong <cyd@gnu.org>
1837 * follow.el (follow-calc-win-end): Rewrite to handle partial
1838 screen lines correctly (Bug#8390).
1839 (follow-avoid-tail-recenter): Minor cleanup.
1841 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1843 Avoid the obsolete `assoc' package.
1844 * speedbar.el (speedbar-refresh): Avoid adelete.
1845 (speedbar-file-lists): Simplify and avoid aput.
1846 * man.el (Man--sections, Man--refpages): New vars, replacing
1847 Man-sections-alist and Man-refpages-alist.
1848 (Man-build-section-alist, Man-build-references-alist):
1849 Use them; avoid aput.
1850 (Man--last-section, Man--last-refpage): New vars.
1851 (Man-follow-manual-reference): Use them.
1852 Use the `default' arg of completing-read.
1853 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1855 2012-04-27 Chong Yidong <cyd@gnu.org>
1857 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1859 * startup.el (x-apply-session-resources): New function.
1861 * term/ns-win.el (ns-initialize-window-system):
1862 * term/w32-win.el (w32-initialize-window-system):
1863 * term/x-win.el (x-initialize-window-system): Use it to properly
1864 set menu-bar-mode and other vars from X resources, even if the
1865 initial frame is not a window-system frame (Bug#2299).
1867 * subr.el (read-key): Avoid running filter function when setting
1868 up temporary tool bar entries (Bug#9922).
1870 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1872 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1875 2012-04-27 Chong Yidong <cyd@gnu.org>
1877 * select.el (xselect--encode-string): New function, split from
1878 xselect-convert-to-string.
1879 (xselect-convert-to-string): Use it.
1880 (xselect-convert-to-filename, xselect-convert-to-os)
1881 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1882 returned strings are properly encoded (Bug#11315).
1884 2012-04-27 Chong Yidong <cyd@gnu.org>
1886 * simple.el (delete-active-region): Move to killing custom group.
1888 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1890 * progmodes/which-func.el (which-func-current): Quote %
1891 characters for mode-line processing.
1893 2012-04-27 Chong Yidong <cyd@gnu.org>
1895 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1896 reaching eob (Bug#11286).
1898 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1900 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1901 (gdb): Make it buffer-local and init to zero.
1902 (gdb-control-commands-regexp): New variable.
1903 (gdb-send): Don't wrap in "-interpreter-exec console" if
1904 gdb-control-level is positive. Increment gdb-control-level
1905 whenever the command matches gdb-control-commands-regexp, and
1906 decrement it each time the command is "end". (Bug#11279)
1908 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1910 * window.el (adjust-window-trailing-edge, enlarge-window)
1911 (shrink-window, window-resize):
1912 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1913 windows (Bug#11276).
1915 2012-04-27 Chong Yidong <cyd@gnu.org>
1917 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1918 fix "missing prefix" warning. All callers changed.
1920 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * emacs-lisp/assoc.el: Move to obsolete/.
1924 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1928 * term/ns-win.el (ns-define-service):
1929 * progmodes/pascal.el (pascal-goto-defun):
1930 * progmodes/js.el (js--read-tab):
1931 * progmodes/etags.el (tags-lazy-completion-table):
1932 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1933 * emacs-lisp/ewoc.el (ewoc--wrap):
1934 * emacs-lisp/assoc.el (aput, adelete, amake):
1935 * doc-view.el (doc-view-convert-current-doc):
1936 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1938 2012-04-26 Chong Yidong <cyd@gnu.org>
1940 * image.el (image-type-from-buffer): Only return supported image
1943 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1944 value, for symmetry with diff-end-of-hunk.
1945 (diff-split-hunk, diff-find-source-location)
1946 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1947 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1948 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1949 compute the relevant hunk or file properly (Bug#6005).
1950 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1952 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * vc/vc.el: Replace lexical-let by lexical-binding.
1962 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1963 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1964 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1966 2012-04-26 Chong Yidong <cyd@gnu.org>
1968 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1969 (diff-mode-shared-map): Bind it to / and [remap undo].
1971 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1972 (ediff-window-setup-function): Use it as the default, to set up
1973 windows based on whether the current frame is graphical (Bug#2138).
1974 (ediff-choose-window-setup-function-automatically): Make obsolete.
1976 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1978 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1980 * ffap.el: Remove old code for obsolete package.
1981 (ffap-complete-as-file-p): Remove.
1983 Use completion-table-with-quoting for comint and pcomplete.
1984 * comint.el (comint--unquote&requote-argument)
1985 (comint--unquote-argument, comint--requote-argument): New functions.
1986 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1987 (comint-quote-filename): Use regexp-opt-charset.
1988 (comint--common-suffix, comint--common-quoted-suffix)
1989 (comint--table-subvert): Remove.
1990 (comint-unquote-function, comint-requote-function): New vars.
1991 (comint--complete-file-name-data): Use them with
1992 completion-table-with-quoting.
1993 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1994 * pcomplete.el (pcomplete-arg-quote-list)
1995 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1996 (pcomplete-unquote-argument-function): Default to non-nil.
1997 (pcomplete-unquote-argument): Simplify.
1998 (pcomplete--common-quoted-suffix): Remove.
1999 (pcomplete-requote-argument-function): New var.
2000 (pcomplete--common-suffix): New function.
2001 (pcomplete-completions-at-point): Use completion-table-with-quoting
2002 and completion-table-subvert.
2004 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2005 (minibuffer--double-dollars): Preserve properties.
2006 (completion--sifn-requote): New function.
2007 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2009 * minibuffer.el: Add support for completion of quoted/escaped data.
2010 (completion-table-with-quoting, completion-table-subvert): New funs.
2011 (completion--twq-try, completion--twq-all): New functions.
2012 (completion--nth-completion): New function.
2013 (completion-try-completion, completion-all-completions): Use it.
2015 2012-04-25 Leo Liu <sdl.web@gmail.com>
2017 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2018 Use compilation-message if available to find real filename.
2020 2012-04-25 Chong Yidong <cyd@gnu.org>
2022 * vc/diff-mode.el (diff-setup-whitespace): New function.
2023 (diff-mode): Use it.
2025 * vc/diff.el (diff-sentinel):
2026 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2027 Whitespace mode variables based on diff style (Bug#8612).
2029 2012-04-25 Leo Liu <sdl.web@gmail.com>
2031 * progmodes/python.el (python-send-region): Add suffix .py to the
2034 * files.el (auto-mode-alist): Use javascript-mode instead.
2036 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2038 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2040 * soap-client.el (soap-resolve-references-for-sequence-type)
2041 (soap-resolve-references-for-array-type): Hack to prevent self
2042 references, see Bug#9.
2043 (soap-parse-envelope): Report the contents of the 'detail' node
2044 when receiving a fault reply.
2045 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2047 * soap-inspect.el (soap-sample-value-for-simple-type)
2048 (soap-inspect-simple-type): New function.
2050 * soap-client.el (soap-simple-type): New struct.
2051 (soap-default-xsd-types, soap-default-soapenc-types)
2052 (soap-decode-basic-type, soap-encode-basic-type):
2053 support unsignedInt and double basic types.
2054 (soap-resolve-references-for-simple-type)
2055 (soap-parse-simple-type, soap-encode-simple-type): New function.
2056 (soap-parse-schema): Parse xsd:simpleType declarations.
2058 * soap-client.el (soap-default-xsd-types)
2059 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2060 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2061 the local name of "soapenc:Array".
2062 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2063 decoding integer, byte and anyURI xsd types.
2065 2012-04-25 Chong Yidong <cyd@gnu.org>
2067 * cus-edit.el (custom-buffer-create-internal): Update header text.
2069 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2071 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2072 settings on 'system-type', not on 'window-system'. On MS-Windows,
2073 set interactive-mode on in GDB.
2075 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2078 (ruby-syntax-propertize-regexp): Remove.
2079 (ruby-syntax-propertize-function): Split regexp into chunks.
2080 Match following code directly.
2082 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2084 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2085 (ruby-syntax-propertize-regexp): New function.
2086 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2087 by a special keyword.
2089 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2090 (ruby-syntax-general-delimiters-goto-beg)
2091 (ruby-syntax-propertize-general-delimiters): New functions.
2092 (ruby-syntax-propertize-function): Use them to handle GDL.
2093 (ruby-font-lock-keywords): Move old handling of GDL...
2094 (ruby-font-lock-syntactic-keywords): .. to here.
2095 (ruby-calculate-indent): Adjust indentation for GDL.
2097 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2099 * notifications.el (top): Remove unneeded declarations.
2100 (notifications-specification-version): Change to "1.2".
2101 (notifications-interface, notifications-notify-method)
2102 (notifications-close-notification-method): Fix docstring.
2103 (notifications-get-capabilities-method): New defconst.
2104 (notifications-notify): Add :action-items, :resident and
2105 :transient hints. Change "image_data" to "image-data" and
2106 "image_path" to "image-path".
2107 (notifications-get-capabilities): New defun.
2109 2012-04-24 Leo Liu <sdl.web@gmail.com>
2111 * progmodes/python.el: Move hideshow setup to the end.
2113 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2115 * window.el (handle-select-window): Clear echo area since this is
2116 no more done by read_char (Bug#11304).
2118 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2121 and `/ M' to filter-derived-mode.
2122 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2123 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2124 (ibuffer-mark-by-mode): Use default rather than initial-input.
2125 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2127 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2129 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2130 (ibuffer-filter-by-derived-mode): New filter.
2131 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2133 2012-04-23 Andreas Politz <politza@fh-trier.de>
2135 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2137 2012-04-23 Chong Yidong <cyd@gnu.org>
2139 * cus-edit.el (customize-apropos, customize-apropos-options):
2140 Disable matching of non-option variables (Bug#11176).
2141 (customize-option, customize-option-other-window)
2142 (customize-changed-options): Doc fix.
2143 (customize-apropos-options, customize-apropos-faces)
2144 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2146 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2147 Fix word list splitting (Bug#11132).
2148 (apropos-symbol, apropos-keybinding, apropos-label)
2149 (apropos-property, apropos-function-button)
2150 (apropos-variable-button, apropos-misc-button): New faces.
2151 (apropos-symbol-face, apropos-keybinding-face)
2152 (apropos-label-face, apropos-property-face, apropos-match-face):
2153 Variables removed (Bug#8396).
2154 (apropos-library-button, apropos-format-plist, apropos-print)
2155 (apropos-print-doc, apropos-describe-plist): Callers changed.
2157 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2159 * net/xesam.el (xesam-mode-map): Use let-bound map in
2160 initialization. (Bug#11292)
2162 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2164 Preserve ispell session localwords when switching back to
2167 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2168 variable to hold buffer session localwords.
2169 (ispell-kill-ispell): add option 'clear to delete session
2171 (ispell-command-loop, ispell-change-dictionary)
2172 (ispell-buffer-local-words): Preserve session localwords when
2175 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2176 Preserve session localwords when needed.
2178 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2180 * ispell.el (ispell-insert-word) Remove unneeded function using
2181 obsolete `translation-table-for-input'.
2182 (ispell-word, ispell-process-line, ispell-complete-word):
2183 Use plain `insert' instead of removed `ispell-insert-word'.
2185 2012-04-22 Chong Yidong <cyd@gnu.org>
2187 * cus-edit.el (custom-variable-menu)
2188 (custom-variable-reset-saved, custom-face-menu)
2189 (custom-face-reset-saved): If there is no saved value, make the
2190 "reset-saved" operation bring back the default (Bug#9509).
2191 (custom-face-state): Properly detect themed faces.
2193 * faces.el (face-spec-set): Stop supporting deprecated form of
2196 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2198 Move functions from C to Lisp. Make non-blocking method calls
2199 the default. Implement further D-Bus standard interfaces.
2201 * net/dbus.el (dbus-message-internal): Declare function.
2202 Remove unneeded function declarations.
2203 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2204 (dbus-message-type-method-return, dbus-message-type-error)
2205 (dbus-message-type-signal): Declare variables. Remove local
2207 (dbus-interface-dbus, dbus-interface-peer)
2208 (dbus-interface-introspectable, dbus-interface-properties)
2209 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2211 (dbus-interface-objectmanager): New defconst.
2212 (dbus-call-method, dbus-call-method-asynchronously)
2213 (dbus-send-signal, dbus-method-return-internal)
2214 (dbus-method-error-internal, dbus-register-service)
2215 (dbus-register-signal, dbus-register-method): New defuns, moved
2217 (dbus-call-method-handler, dbus-setenv)
2218 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2220 (dbus-call-method-non-blocking): Make it an obsolete function.
2221 (dbus-unregister-object, dbus-unregister-service)
2222 (dbus-handle-event, dbus-register-property)
2223 (dbus-property-handler): Obey the new structure of
2224 `bus-registered-objects'.
2225 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2226 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2227 Use `dbus-call-method'.
2229 2012-04-22 Chong Yidong <cyd@gnu.org>
2231 * cus-edit.el (custom-commands, custom-reset-menu)
2232 (Custom-reset-standard): Tweak labels.
2233 (custom-reset-button-menu): Change default to t.
2234 (custom-buffer-create-internal): For the custom-reset-button-menu
2235 case, put the revert button first.
2236 (custom-group-subtitle): New face.
2237 (custom-group-value-create): Align docstring to a specific column.
2239 * wid-edit.el (widget-documentation-link-add): Don't handle
2240 indentation in this function.
2241 (widget-documentation-string-indent-to): New function.
2242 (widget-documentation-string-value-create): Use it.
2244 * autorevert.el (auto-revert):
2245 * epg-config.el (epg):
2246 * ibuffer.el (ibuffer):
2249 * eshell/eshell.el (eshell):
2250 * net/ange-ftp.el (ange-ftp):
2251 * progmodes/ebnf2ps.el (postscript):
2252 * progmodes/flymake.el (flymake):
2253 * progmodes/prolog.el (prolog):
2254 * progmodes/verilog-mode.el (verilog-mode):
2255 * progmodes/which-func.el (which-func):
2256 * term/xterm.el (xterm):
2257 * textmodes/picture.el (picture):
2258 * textmodes/tildify.el (tildify):
2259 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2260 customization buffers.
2262 2012-04-22 Alan Mackenzie <acm@muc.de>
2264 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2265 Adding a ) can hide the resulting (..) from searches. Fix it.
2266 Bound the backward search to the position of the existing (.
2268 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2270 * progmodes/verilog-mode.el (verilog-mode): Check whether
2271 which-func-modes is t before adding verilog-mode.
2272 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2274 2012-04-21 Leo Liu <sdl.web@gmail.com>
2276 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2278 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2280 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2281 filling of the last column of a table (Bug#5635).
2282 (woman-find-next-control-line): New arg, specifying an additional
2283 regexp component for the control line.
2284 (woman2-roff-buffer): Use it.
2285 (woman-break-table): New function.
2286 (woman2-TS): Use it.
2288 2012-04-21 Chong Yidong <cyd@gnu.org>
2290 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2291 (woman-horizontal-escapes, woman-negative-vertical-space)
2292 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2293 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2295 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2297 * minibuffer.el (completion-file-name-table): Complete user names.
2299 2012-04-20 Leo Liu <sdl.web@gmail.com>
2301 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2304 2012-04-20 Chong Yidong <cyd@gnu.org>
2306 * server.el (server-execute): Respect initial-buffer-choice if it
2307 is a string and there are no files to open (Bug#2825).
2308 (server-create-window-system-frame, server-create-tty-frame):
2309 Don't switch buffers here.
2310 (server-process-filter): Only try to open a window system frame if
2311 compiled with graphical support (Bug#8314).
2313 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2315 * battery.el (battery-echo-area-format): Display remaining time
2316 for sysfs backend too (Bug#11269).
2317 (battery-linux-sysfs): Fix conditional for the charge.
2319 2012-04-20 Chong Yidong <cyd@gnu.org>
2321 * progmodes/gdb-mi.el (gdb): Revert previous change.
2322 (gdb-inferior-io--init-proc): New function.
2323 (gdb-init-1): Use it.
2324 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2325 responsible for allocating a new pty and hooking it to gdb when
2326 the old pty gets an EIO due to process exit.
2327 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2328 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2329 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2331 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2333 * window.el (window-min-size, window-sizable, window-min-delta)
2334 (window-max-delta, window--resizable, window-resizable)
2335 (window-total-size, window-full-height-p, window-full-width-p)
2336 (window-in-direction, window--resize-mini-window, window-resize)
2337 (window--resize-child-windows-normal)
2338 (window--resize-child-windows, window--resize-siblings)
2339 (window--resize-this-window, adjust-window-trailing-edge)
2340 (enlarge-window, shrink-window): Doc fixes.
2342 2012-04-20 Chong Yidong <cyd@gnu.org>
2344 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2345 New function to call delete-process on the gdb-inferior buffer's pty.
2346 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2347 pty process (Bug#11273).
2348 (gdb-update): New arg to suppress talking to the gdb process.
2349 (gdb-done-or-error): Use it.
2350 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2351 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2352 sentinel not being called.
2354 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2356 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2358 2012-04-20 Glenn Morris <rgm@gnu.org>
2360 * net/network-stream.el (open-network-stream): Doc fix.
2362 2012-04-20 Chong Yidong <cyd@gnu.org>
2364 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2366 2012-04-20 Alan Mackenzie <acm@muc.de>
2368 Ensure searching for keywords is case sensitive.
2370 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2371 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2372 (c-defun-name, c-mark-function, c-cpp-define-name)
2373 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2374 (c-context-line-break): Bind case-fold-search to nil.
2376 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2377 Bind case-fold-search to nil.
2379 2012-04-20 Chong Yidong <cyd@gnu.org>
2381 * mail/sendmail.el (mail-bury): Call return action with the right
2382 Rmail buffer (Bug#11242).
2384 * server.el (server-process-filter): Handle corner case where both
2385 tty and nowait options are present (Bug#11102).
2387 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2389 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2390 (top level): Put into the executable the ident-style '$Id:' tag on
2393 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2395 * electric.el (electric-indent-post-self-insert-function): Check that
2396 electric-indent-mode is enabled in current buffer.
2398 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2400 * imenu.el (imenu-progress-message): Restore; it is "used" in
2401 erc/erc-imenu.el and net/snmp-mode.el.
2403 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2405 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2406 (mouse-avoidance-nudge-mouse): Remove unused binding.
2408 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2410 * descr-text.el (describe-char):
2411 * progmodes/python.el (python-describe-symbol):
2412 Don't call `toggle-read-only', set `buffer-read-only'.
2414 * imenu.el (imenu-default-goto-function): Mark unused args.
2415 (imenu-progress-message): Remove obsolete macro; all callers changed.
2417 * subr.el (keymap-canonicalize): Remove unused binding.
2418 (read-passwd): Mark unused arg.
2420 * tutorial.el (tutorial--display-changes): Remove unused binding.
2421 (tutorial--save-tutorial-to): Remove unused variable.
2423 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2424 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2425 (package-generate-autoloads, package-menu--generate)
2426 (package-menu--find-upgrades): Remove unused bindings.
2428 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2429 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2430 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2431 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2432 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2433 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2434 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2435 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2436 (cua-delete-char-rectangle): Mark unused args.
2437 (cua-align-rectangle): Remove unused binding.
2439 * mail/rmail.el (compilation--message->loc)
2440 (epa--find-coding-system-for-mime-charset): Declare.
2442 * net/dbus.el (dbus-register-service): Declare.
2443 (dbus-name-owner-changed-handler): Remove unused binding.
2445 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2446 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2447 (nxml-scan-backward-within): Mark unused arg.
2448 (nxml-dynamic-markup-word): Remove unused binding.
2450 * mouse.el (mouse-menu-major-mode-map):
2451 * emacs-lisp/authors.el (authors-scan-change-log)
2452 (authors-add-to-author-list):
2453 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2454 * emacs-lisp/smie.el (smie-auto-fill):
2455 * mail/sendmail.el (mail-bury):
2456 * mail/unrmail.el (unrmail):
2457 * net/tls.el (open-tls-stream):
2458 * textmodes/picture.el (picture-mouse-set-point):
2459 Remove unused bindings.
2461 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp.el (tramp-action-password): Let-bind
2464 `enable-recursive-minibuffers' to t.
2466 2012-04-18 Sam Steingold <sds@gnu.org>
2468 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2469 instead of 'string to accommodate values like [f11].
2470 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2471 * progmodes/gdb-mi.el: Likewise.
2473 2012-04-18 Leo Liu <sdl.web@gmail.com>
2475 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2477 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2480 2012-04-18 Chong Yidong <cyd@gnu.org>
2482 * simple.el (line-move): Use forward-line if in batch mode
2485 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2487 * files.el (after-find-file): Do not try to add a final newline if
2488 the buffer is read-only (Bug#11156).
2490 2012-04-17 Richard Stallman <rms@gnu.org>
2492 * mail/rmail.el (rmail-start-mail):
2493 Pass (rmail-mail-return...) for the return-action.
2494 Pass (rmail-yank-current-message...) for the yank-action.
2495 (rmail-yank-current-message): New function.
2496 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2497 (rmail-reply): Likewise.
2498 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2500 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2501 buffer, not the last. Reject temp buffers. Use the rmail-mode
2504 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2506 * server.el (server-ensure-safe-dir): Simplify.
2508 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * emacs-lisp/smie.el: Provide smarter auto-filling.
2511 (smie-auto-fill): New function.
2512 (smie-setup): Use it.
2514 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2516 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2518 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2519 (comment-indent): Use it.
2521 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2523 * ses.el: The overall change is to add cell renaming, that is
2524 setting fancy names for cell symbols other than name matching
2525 "\\`[A-Z]+[0-9]+\\'" regexp .
2526 (ses-localvars): Add ses--renamed-cell-symb-list.
2527 (ses-create-cell-variable): New defun.
2528 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2529 (ses-relocate-formula): Relocate formulas only for cells the
2530 symbols of which are not renamed, i.e. symbols whose names do not
2531 match regexp "\\`[A-Z]+[0-9]+\\'".
2532 (ses-relocate-all): Relocate values only for cells the symbols of
2533 which are not renamed.
2534 (ses-load): Create cells variables as the (ses-cell ...) are read,
2535 in order to check row col consistency with cell symbol name only
2536 for cells that are not renamed.
2537 (ses-replace-name-in-formula): New defun.
2538 (ses-rename-cell): New defun.
2540 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2542 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2543 New option (bug#11118).
2544 (perl-calculate-indent): Respect it.
2546 2012-04-17 Glenn Morris <rgm@gnu.org>
2548 * dired-aux.el (dired-mark-read-string): Doc fix.
2550 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2552 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2553 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2555 2012-04-17 Glenn Morris <rgm@gnu.org>
2557 * mouse.el (mouse-drag-track):
2558 * speedbar.el (speedbar-frame-mode):
2559 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2561 2012-04-16 Leo Liu <sdl.web@gmail.com>
2563 * progmodes/python.el: Trivial cleanup.
2565 2012-04-16 Glenn Morris <rgm@gnu.org>
2567 * vc/vc.el (vc-string-prefix-p):
2568 * vc/pcvs-util.el (cvs-string-prefix-p):
2569 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2570 * mpc.el (mpc-string-prefix-p):
2571 Make all of these into obsolete aliases for string-prefix-p.
2573 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2575 * textmodes/two-column.el: Move custom options to the start.
2576 (frame-width): Remove compat definition.
2577 (2C-associate-buffer, 2C-dissociate):
2578 Use with-current-buffer rather than save-excursion.
2579 (2C-dissociate): Force a mode-line update.
2580 (2C-autoscroll): Use ignore-errors.
2582 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2585 * emacs-lisp/cl-extra.el (*random-state*):
2586 Remove unnecessary declaration.
2588 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2590 * play/cookie1.el (cookie-snarf):
2591 Give an explicit error if input file cannot be read.
2593 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2595 * progmodes/perl-mode.el (c-macro-expand):
2596 Remove unnecessary autoload (it is in loaddefs.el).
2598 * textmodes/picture.el (picture-desired-column)
2599 (picture-update-desired-column): Convert comments to doc-strings.
2600 (picture-substitute): Remove function.
2601 (picture-mode-map): Initialize in the defvar.
2603 * woman.el: Remove eval-after-load for tar-mode.
2604 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2605 (woman-tar-extract-file): Autoload it.
2607 * frame.el (automatic-hscrolling): Make this alias obsolete.
2609 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2611 * ispell.el (ispell-set-spellchecker-params): Post-process
2612 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2613 (ispell-dictionary-base-alist): Revert to original XEmacs
2614 friendly version for default. [:alpha:] will be added in
2615 `ispell-set-spellchecker-params' if needed
2617 2012-04-16 Chong Yidong <cyd@gnu.org>
2619 * image.el (imagemagick--extension-regexp): New variable.
2620 (imagemagick-register-types): Use it.
2621 (imagemagick-types-inhibit): Add :set function. Allow new value
2622 of t to inhibit all types.
2624 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2625 so we can preload it.
2627 * loadup.el (fboundp): Preload regexp-opt, needed by
2628 imagemagick-register-types.
2630 2012-04-15 Chong Yidong <cyd@gnu.org>
2632 * frame.el (scrolling): Remove nearly unused customization group.
2634 * scroll-all.el (scroll-all-mode): Move to windows group.
2636 2012-04-15 Chong Yidong <cyd@gnu.org>
2638 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2640 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2642 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2643 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2645 2012-04-15 Glenn Morris <rgm@gnu.org>
2647 * simple.el (process-file-side-effects): Doc fix.
2649 2012-04-15 Glenn Morris <rgm@gnu.org>
2651 * international/mule-cmds.el (set-language-environment): Doc fix.
2653 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2655 * server.el (server-auth-key, server-generate-key): Doc fixes.
2656 (server-get-auth-key): Doc fix. Use `string-match-p'.
2657 (server-start): Reflow docstring.
2659 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2661 * server.el (server-generate-key): `called-interactively-p'
2662 requires a parameter.
2664 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2666 * server.el (server-auth-key): New variable.
2667 (server-generate-key, server-get-auth-key): New function.
2668 (server-start): Use the new variable and functions to allow
2669 setting a permanent server key (bug#9423).
2671 2012-04-14 Leo Liu <sdl.web@gmail.com>
2673 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2675 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2678 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2679 Emacs uses American spelling.
2681 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2683 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2684 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2685 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2686 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2688 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2690 * progmodes/which-func.el (which-func-modes): Change default.
2692 2012-04-14 Kim F. Storm <storm@cua.dk>
2694 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2695 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2697 2012-04-14 Chong Yidong <cyd@gnu.org>
2699 * custom.el (custom-theme-set-variables): Doc fix.
2701 2012-04-14 Glenn Morris <rgm@gnu.org>
2703 * international/mule.el (set-auto-coding-for-load): Doc fix.
2705 2012-04-14 Alan Mackenzie <acm@muc.de>
2707 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2708 imenu work again for Objective C Mode. Correct the *-index values,
2709 these having been disturbed by a previous change in 2011-08.
2711 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2712 Correct two search limits.
2714 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2718 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2720 * international/characters.el: Fix sorting.
2722 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2724 * international/characters.el: Add more missing Latin case pairs.
2726 2012-04-14 Glenn Morris <rgm@gnu.org>
2728 * files.el (dir-locals-set-class-variables): Doc fix.
2730 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2732 * international/characters.el: Add set-case-syntax-pair call for
2733 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2734 counterpart. (Bug#11209)
2736 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2738 2012-04-14 Glenn Morris <rgm@gnu.org>
2740 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2742 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2744 * textmodes/ispell.el (ispell-dictionary-base-alist):
2745 Add data for Hebrew.
2747 2012-04-14 Chong Yidong <cyd@gnu.org>
2749 * net/rcirc.el (rcirc-cmd-quit):
2750 Revert 2012-03-18 change (Bug#11192).
2752 2012-04-14 Glenn Morris <rgm@gnu.org>
2754 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2756 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2758 * minibuffer.el (completion-in-region-mode-map):
2759 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2761 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2763 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2765 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2767 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2768 to allow `C-M-f' and `C-M-b' to move to the nearest path
2769 separator (bug#9511).
2771 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2773 * avoid.el: Require cl when compiling. And also move the
2774 `provide' to the end.
2776 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2778 * avoid.el (mouse-avoidance-banish-position): New variable.
2779 (mouse-avoidance-banish-destination): Use it (bug#10165).
2781 2012-04-13 Leo Liu <sdl.web@gmail.com>
2783 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2785 2012-04-13 Ken Brown <kbrown@cornell.edu>
2787 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2788 this is no longer needed now that cygstart understands file:// URLs.
2789 (browse-url-filename-alist): For the same reason, don't modify
2790 file:// URLs on Cygwin.
2792 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2794 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2795 the region on shift if the binding is already shifted (bug#11221).
2797 2012-04-12 Glenn Morris <rgm@gnu.org>
2799 * mail/mailpost.el: Move to obsolete/.
2801 2012-04-12 Drew Adams <drew.adams@oracle.com>
2803 * imenu.el (imenu--generic-function): Ignore invisible definitions
2806 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2808 * hexl.el (hexl-bits): New variable.
2809 (hexl-options): Mention the variable in the doc string.
2810 (hexl-rulerise, hexl-line-displen): New functions.
2811 (hexl-mode): Mention the new variable.
2812 (hexl-mode, hexl-current-address, hexl-current-address):
2814 (hexl-ascii-start-column): New function.
2815 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2816 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2818 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2820 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2821 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2822 the encoding, as expected by hunspell.
2824 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2826 * battery.el (battery--linux-sysfs-regexp): New const.
2827 (battery-status-function): Use it. Remove yeeloong special case.
2828 (battery-yeeloong-sysfs): Remove.
2829 (battery-echo-area-format): Remove yeeloong special case.
2831 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2833 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2834 Reported by Noah Friedman.
2836 * subr.el (read-passwd): Use read-string.
2838 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2840 * vcursor.el (vcursor-move): Increase the priority of the overlay
2843 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2845 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2846 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2848 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2850 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2851 define-minor-mode (bug#10760).
2853 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2855 * progmodes/grep.el (rgrep): Tweak the find command line so
2856 that directories matching `grep-find-ignored-files' won't be
2859 2012-04-11 Chong Yidong <cyd@gnu.org>
2861 * startup.el (command-line): Remove support for long-obsolete
2862 variable font-lock-face-attributes.
2864 2012-04-11 Glenn Morris <rgm@gnu.org>
2866 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2868 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * window.el (window--state-get-1): Obey window-point-insertion-type.
2872 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2874 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2875 to previous function when point is on the first character of a
2876 function. Take care of that in `narrow-to-defun' (bug#6157).
2878 2012-04-11 Glenn Morris <rgm@gnu.org>
2880 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2881 not just file-errors.
2883 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2884 (vc-bzr-sha1): Use internal sha1.
2886 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2888 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2890 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2892 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2893 that start in the middle of the line (bug#10496).
2895 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2897 * battery.el (battery-linux-proc-acpi): Only one battery is
2898 discharged at a time, but that seems to confuse battery.el when
2899 computing `rate-type' for the battery not being discharged
2902 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2904 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2906 * international/quail.el: Use dolist and simplify.
2907 (quail-define-package, quail-update-keyboard-layout)
2908 (quail-define-rules): Use dolist.
2909 (quail-insert-kbd-layout, quail-get-translation): CSE.
2911 * tmm.el: Use dolist, remove left over hook.
2912 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2914 (calendar-load-hook): Don't mess with it.
2916 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2917 Use derived-mode-p. Run the diff asynchronously.
2919 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2921 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2923 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2925 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2926 (list-dynamic-libraries--loaded): New function.
2927 (list-dynamic-libraries--refresh): Use it.
2929 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2931 * progmodes/python.el (python-fill-paragraph):
2932 Make python-fill-region in a multiline string work when font-lock is
2933 disabled (bug#7018).
2935 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2937 * language/european.el (cp775): Add oem/legacy (en)coding on
2938 DOS/MS Windows for the Baltic languages. There are still plenty
2939 of texts written in this encoding/codepage (bug#6519).
2941 2012-04-10 Glenn Morris <rgm@gnu.org>
2943 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2944 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2946 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2948 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2949 next-line "n" and previous-line "p" in order to make recentf more
2950 consistent with ibuffer, dired or org-mode (bug#9387).
2952 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2954 * image.el (put-image): Return the overlay created instead of the
2955 optional input string (bug#7834). Note that this may break code
2956 that is (for some reason or other) depending on `put-image'
2957 returning the string.
2959 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2961 * simple.el (zap-to-char): Allow zapping using input methods
2964 * textmodes/fill.el (fill-region): Leave point and mark where they
2965 were before filling (bug#5399).
2967 2012-04-09 Glenn Morris <rgm@gnu.org>
2969 * version.el (emacs-bzr-get-version):
2970 Handle lightweight checkouts of local branches.
2972 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2974 * international/characters.el: Recover lost case pairs. (Bug#11209)
2976 2012-04-09 Chong Yidong <cyd@gnu.org>
2978 * custom.el (custom-variable-p): Return nil for non-symbol
2979 arguments instead of signaling an error.
2980 (user-variable-p): Obsolete alias for custom-variable-p.
2982 * apropos.el (apropos-variable):
2983 * files-x.el (read-file-local-variable):
2984 * simple.el (set-variable):
2985 * woman.el (woman-mini-help):
2986 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2988 2012-04-09 Glenn Morris <rgm@gnu.org>
2990 * startup.el (normal-top-level): Don't look for leim-list.el
2991 in places where it will not be found. (Bug#910)
2993 * international/mule-cmds.el (set-default-coding-systems):
2994 * files.el (normal-mode):
2995 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2996 This function was removed with ucs-tables.el in 2008.
2998 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3000 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3001 ispell-encoding8-command to "-i", without a trailing space.
3002 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3003 separate command-line arguments, to specify the encoding, since
3004 that's how hunspell expects it.
3006 2012-04-08 Glenn Morris <rgm@gnu.org>
3008 * loadup.el: Load bindings before cus-start.
3009 This reduces somewhat the number of "rogue" settings in emacs -Q.
3011 2012-04-07 Glenn Morris <rgm@gnu.org>
3013 * version.el (emacs-bzr-get-version): New function.
3014 (emacs-bzr-version): New variable.
3015 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3016 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3018 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3020 * international/uni-bidi.el, international/uni-category.el:
3021 * international/uni-combining.el, international/uni-decimal.el:
3022 * international/uni-decomposition.el, international/uni-digit.el:
3023 * international/uni-lowercase.el, international/uni-mirrored.el:
3024 * international/uni-name.el, international/uni-numeric.el:
3025 * international/uni-titlecase.el, international/uni-uppercase.el:
3026 Update for Unicode 6.1.
3028 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3030 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3032 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3034 * window.el (shrink-window): Mention the `window-min-height'
3035 variable in the doc string.
3037 2012-04-05 Bastien Guerry <bzg@altern.org>
3039 * color.el (color-lighten-name): Fix typo.
3041 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * server.el (server--on-display-p): New function.
3044 (server--on-display-p): Use it.
3046 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3048 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3051 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3053 * comint.el (comint--common-quoted-suffix): Check string boundary
3054 before comparing (bug#11158).
3055 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3057 2012-04-04 Chong Yidong <cyd@gnu.org>
3059 * minibuffer.el (completion-extra-properties): Doc fix.
3061 * subr.el (delayed-warnings-hook): Doc fix.
3063 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3065 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3066 selection (Bug#11159).
3067 (epa-insert-keys): Inform that the default public key will be
3068 exported if no key is selected.
3070 2012-04-04 Richard Stallman <rms@gnu.org>
3072 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3074 2012-04-03 Chong Yidong <cyd@gnu.org>
3076 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3077 mail-insert-file, not its obsolete alias mail-attach-file.
3079 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3081 * notifications.el (notifications-notify): Fix docstring.
3083 2012-04-02 Glenn Morris <rgm@gnu.org>
3085 * emacs-lisp/authors.el (authors-aliases): Another addition.
3087 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3089 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3090 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3091 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3093 2012-04-01 Chong Yidong <cyd@gnu.org>
3095 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3096 Handle root directory properly.
3097 (copy-directory): Caller changed.
3099 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3100 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3102 2012-03-31 Glenn Morris <rgm@gnu.org>
3104 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3106 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3108 * calendar/calendar.el (calendar-window-list)
3109 (calendar-hide-window): Restore. (Bug#11140)
3110 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3112 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3114 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3116 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3117 Check if file is a symlink (Bug#10489).
3119 * files.el (copy-directory): Likewise.
3121 2012-03-30 Chong Yidong <cyd@gnu.org>
3123 * image.el (imagemagick-types-inhibit)
3124 (imagemagick-register-types): Doc fix.
3126 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3128 * ispell.el (ispell-get-extended-character-mode):
3129 Disable extended-char-mode for hunspell. hunspell does not support it
3130 and treats ~word as ordinary words in pipe mode.
3132 2012-03-30 Glenn Morris <rgm@gnu.org>
3134 * tutorial.el (help-with-tutorial): Ensure local variables don't
3135 happen to make the buffer read-only. (Bug#11127)
3137 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3140 (perl-calculate-indent): Return `noindent' in strings.
3142 2012-03-28 Sam Steingold <sds@gnu.org>
3144 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3145 instead of the broken adhockery which does not prevent calendar
3146 buffers from being displayed at random after exit.
3147 (calendar-window-list, calendar-hide-window): Remove the broken
3150 2012-03-28 Glenn Morris <rgm@gnu.org>
3152 * replace.el (query-replace-map): Doc fix.
3154 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3156 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3157 contents. (Bug#11109)
3159 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3163 (avl-tree--check, avl-tree--check-node): New funs.
3165 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3167 * window.el (switch-to-visible-buffer): New option.
3168 (switch-to-prev-buffer, switch-to-next-buffer):
3169 Observe switch-to-visible-buffer. Make sure that checking for a window
3170 showing a buffer already is done on the same frame.
3172 2012-03-27 Glenn Morris <rgm@gnu.org>
3174 * startup.el (mail-host-address): Doc fix.
3176 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3178 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3181 2012-03-26 Ami Fischman <ami@fischman.org>
3183 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3185 2012-03-26 Glenn Morris <rgm@gnu.org>
3187 * files.el (save-buffers-kill-emacs): Doc fix.
3189 * startup.el (normal-top-level, command-line, command-line-1):
3190 Give them doc strings.
3192 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3194 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3195 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3197 2012-03-25 Chong Yidong <cyd@gnu.org>
3199 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3200 theme if it was previously enabled before (Bug#11031).
3202 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3203 spec with custom-face-get-current-spec if its :shown-value is not
3204 determined yet (Bug#9337).
3205 (customize-create-theme, custom-theme-revert): Doc fixes.
3207 * button.el (button-at): Minor addition to docstring.
3209 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3211 * vc/vc.el (vc-merge): Fix a prompt.
3213 2012-03-24 Chong Yidong <cyd@gnu.org>
3215 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3218 * button.el (button-at): Minor addition to docstring.
3220 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * newcomment.el (comment-choose-indent): No space after BOL.
3224 2012-03-22 Sam Steingold <sds@gnu.org>
3226 * window.el (switch-to-prev-buffer): Revert last patch because the
3227 bug turned out to be an advertised feature (Elisp manual 28.14).
3229 2012-03-22 Glenn Morris <rgm@gnu.org>
3231 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3232 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3234 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236 * net/network-stream.el (network-stream-open-starttls): Make error
3237 message under Windows be less misleading.
3239 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3241 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3242 understands (bug#9942).
3244 2012-03-22 Chong Yidong <cyd@gnu.org>
3246 * simple.el (end-of-visible-line): Handle return value of
3247 next-single-property-change properly (Bug#9371).
3249 2012-03-22 Kenichi Handa <handa@m17n.org>
3251 * international/quail.el (quail-insert-kbd-layout): Fix previous
3252 change. To avoid unwanted bidi reordering, use
3253 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3255 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3257 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3258 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3259 (ruby-beginning-of-indent): Be more careful with the difference
3260 between word-boundary and symbol boundary.
3261 (ruby-mode-syntax-table): Make : a symbol constituent.
3263 2012-03-21 Andreas Politz <politza@fh-trier.de>
3265 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3267 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * progmodes/etags.el (tags-completion-at-point-function):
3272 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3274 2012-03-21 Sam Steingold <sds@gnu.org>
3276 * progmodes/etags.el (tags-completion-at-point-function):
3277 Avoid the error when point is inside the pattern.
3279 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3281 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3284 2012-03-21 Drew Adams <drew.adams@oracle.com>
3286 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3288 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3290 * ido.el (ido-set-current-directory, ido-read-internal)
3291 (ido-choose-completion-string, ido-completion-help): Handle nil
3292 value of ido-completion-buffer (Bug#11008).
3294 2012-03-21 Sam Steingold <sds@gnu.org>
3296 * window.el (switch-to-prev-buffer): Do not switch to a visible
3297 window previous buffer, just like with the frame previous buffers.
3299 2012-03-21 Chong Yidong <cyd@gnu.org>
3301 * faces.el (make-face, make-empty-face, copy-face):
3302 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3305 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3308 (widget-complete): Remove broken use of it.
3310 2012-03-20 Chong Yidong <cyd@gnu.org>
3312 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3313 Use string-width and truncate-string-width to handle arbitrary
3316 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3318 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3319 to draw rectangles, not squares. (Regression introduced by revno
3320 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3322 2012-03-18 Chong Yidong <cyd@gnu.org>
3324 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3325 it is not yet defined (for temacs).
3327 2012-03-18 Leo Liu <sdl.web@gmail.com>
3329 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3331 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3333 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3334 (ispell-choices-win-default-height, ispell-silently-savep)
3335 (ispell-dictionary-alist, ispell-encoding8-command)
3336 (ispell-check-version, ispell-aspell-find-dictionary)
3337 (ispell-valid-dictionary-list, ispell-words-keyword)
3338 (ispell-get-word, ispell-internal-change-dictionary)
3339 (ispell-region, ispell-skip-region-list)
3340 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3341 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3342 (ispell-message-text-end, ispell-message)
3343 (ispell-buffer-local-parsing): Doc fix.
3345 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3347 * htmlfontify.el: Add support for code block fontification for ODT
3349 (hfy-optimisations): Define new option
3351 (hfy-fontify-buffer): Honor above setting.
3352 (hfy-begin-span, hfy-end-span): New routines factored out form
3353 `hfy-fontify-buffer'.
3354 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3355 that permit insertion of custom tags.
3356 (hfy-fontify-buffer): Use above handlers.
3357 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3358 (hfy-face-to-css): Re-defined to be a variable.
3359 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3360 over multiple runs. This is made possible by having the caller let
3361 bind a special variable `hfy-user-sheet-assoc'.
3362 (htmlfontify-string): New defun.
3363 (hfy-compile-face-map): Make sure that the last char in the
3364 buffer is correctly fontified.
3365 (hfy-face-resolve-face): Whitespace only change.
3367 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3369 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3372 2012-03-16 Leo Liu <sdl.web@gmail.com>
3374 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3376 2012-03-16 Alan Mackenzie <acm@muc.de>
3378 Further optimise the handling of large macros.
3380 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3381 limit to a call of `c-literal-limits'.
3382 (c-determine-+ve-limit): New function.
3383 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3384 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3385 In CASE 5B, restrict a search limit to 500.
3386 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3388 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3389 Restrict macro bounds to +-500 from after-change's BEG END.
3391 2012-03-16 Leo Liu <sdl.web@gmail.com>
3393 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3395 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3397 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3398 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3400 2012-03-16 Glenn Morris <rgm@gnu.org>
3402 * view.el (view-buffer, view-buffer-other-window)
3403 (view-buffer-other-frame): Doc fixes re special mode-class.
3405 * subr.el (eval-after-load): If named feature is provided not from
3406 a file, run after-load forms. (Bug#10946)
3408 * calendar/calendar.el (calendar-insert-at-column):
3409 Handle non-unit-width characters a bit better. (Bug#10978)
3411 2012-03-15 Chong Yidong <cyd@gnu.org>
3413 * emacs-lisp/ring.el (ring-extend): New function.
3414 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3416 * comint.el (comint-read-input-ring)
3417 (comint-add-to-input-history): Grow comint-input-ring lazily.
3419 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3422 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3424 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3425 (imenu-add-to-menubar): Don't add a redundant index.
3426 (imenu-update-menubar): Handle a dynamically composed keymap.
3428 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3430 * mail/sendmail.el (mail-encode-header):
3431 Bind rfc2047-encode-encoded-words to nil.
3433 2012-03-13 Glenn Morris <rgm@gnu.org>
3435 * calendar/calendar.el (calendar-string-spread):
3436 Handle non-unit-width characters a bit better. (Bug#10978)
3438 2012-03-13 Leo Liu <sdl.web@gmail.com>
3440 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3441 directory and file as argument (Bug#10822).
3443 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3445 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3446 For dynamically generated code, follow $PC.
3447 (gdb-disassembly-handler-custom): Handle no function name case.
3449 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3451 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3452 * emulation/ws-mode.el (ws-query-replace):
3453 * sort.el (sort-regexp-fields):
3454 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3456 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3458 * dabbrev.el: Fix cycle completion order (bug#10963).
3459 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3460 (dabbrev-completion): Don't use an obarray; provide
3461 a cycle-sort-function.
3463 2012-03-12 Leo Liu <sdl.web@gmail.com>
3465 * simple.el (kill-new): Use equal-including-properties for comparison.
3466 (kill-do-not-save-duplicates): Doc fix.
3468 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * dabbrev.el: Fix cycle completion (bug#10963).
3471 Use lexical binding and wrap to 80 columns.
3472 (dabbrev-completion): Delay computing the list of completions.
3474 2012-03-12 Kenichi Handa <handa@m17n.org>
3476 * international/quail.el (quail-insert-kbd-layout): Surround each
3477 row by LRO and PDF instead of inserting many LRMs. Pad the left
3478 and right of each non-spacing marks. Insert invisible space
3479 between lower and upper characters to prevent composition.
3481 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * minibuffer.el (minibuffer-complete): Don't get confused when the
3484 function is run twice via different commands (bug#10958).
3485 (complete-with-action): Fix docstring.
3487 2012-03-12 Chong Yidong <cyd@gnu.org>
3489 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3490 (nxml-completion-at-point-function): New function.
3491 (nxml-mode): Use it.
3492 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3494 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3495 Load generated autoloads file before byte compiling (Bug#10970).
3496 (package--make-autoloads-and-compile): New helper fun.
3498 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3500 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3502 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3504 * autorevert.el (auto-revert-handler): Ensure, that
3505 file-readable-p is applied only for local files or in
3506 auto-revert-tail-mode.
3508 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3510 * server.el (server-eval-at): Handle non-tcp connections.
3511 Decode result string.
3513 * server.el (server-msg-size): New constant.
3514 (server-reply-print): New function.
3515 (server-eval-and-print): Use it.
3516 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3519 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3521 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3524 2012-03-11 Chong Yidong <cyd@gnu.org>
3526 * simple.el (goto-line): Doc fix (Bug#9938).
3528 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3530 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3531 when finished (Bug#10963).
3533 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3535 * window.el (split-window-below): Fix bug in case where
3536 split-window-keep-point is nil (Bug#10971).
3538 2012-03-11 Juri Linkov <juri@jurta.org>
3540 * replace.el (replace-highlight): Set isearch-word to nil
3541 unconditionally. (Bug#10887)
3543 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3545 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3546 mairix-replace-illegal-chars; all callers changed. Don't remove
3547 ^, ~, and = characters: they are meaningful in mairix search specs.
3548 (mairix-widget-create-query): Add usage information about mairix
3549 search forms: negating words, searching for substrings, etc.
3551 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3553 * international/fontset.el (font-encoding-alist): Add an entry for
3556 2012-03-10 Richard Stallman <rms@gnu.org>
3558 * mail/sendmail.el (mail-encode-header):
3559 Set rfc2047-encode-encoded-words.
3561 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3563 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3564 view buffer means not swapped.
3565 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3566 (rmail-write-region-annotate): Error if real text has disappeared.
3568 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3570 2012-03-10 Chong Yidong <cyd@gnu.org>
3572 * emulation/cua-rect.el (cua--init-rectangles):
3573 * emulation/cua-base.el (cua--init-keymaps):
3574 Add delete-forward-char to remappings (Bug#9666).
3576 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3578 * speedbar.el (speedbar-unhighlight-one-tag-line):
3579 Avoid unhighlighting due to frame switching (Bug#10275).
3581 2012-03-10 Chong Yidong <cyd@gnu.org>
3583 * minibuffer.el (completion-in-region, completion-help-at-point):
3584 Give the completion field overlay a high priority (Bug#6830).
3586 * dired.el (dired-goto-file): Recognize absolute file name
3587 listings (Bug#7126).
3588 (dired-goto-file-1): New helper function.
3589 (dired-toggle-read-only): Inhibit warnings.
3591 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3593 * net/dbus.el (dbus-property-handler): Return empty array if
3594 there are no properties.
3596 2012-03-09 Leo Liu <sdl.web@gmail.com>
3598 * savehist.el (savehist-printable): Stricter check for string
3601 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3603 * mail/smtpmail.el (smtpmail-send-it):
3604 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3607 2012-03-09 Glenn Morris <rgm@gnu.org>
3609 * files.el (dir-locals-find-file):
3610 Don't check result is regular, readable.
3611 (dir-locals-read-from-file): Demote errors.
3613 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3615 * international/quail.el (quail-insert-kbd-layout):
3616 Insert invisible LRM characters before each character in a keyboard
3617 layout cell, to prevent their reordering by bidi display engine.
3618 For details, see the discussion in
3619 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3621 2012-03-08 Alan Mackenzie <acm@muc.de>
3623 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3624 the starting position; make it extend the marked region when
3625 invoked repeatedly - all under appropriate circumstances.
3626 Fixes bugs #5525, #10906.
3628 2012-03-08 Glenn Morris <rgm@gnu.org>
3630 * files.el (locate-dominating-file, dir-locals-find-file):
3631 Undo 2012-03-06 change.
3633 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3635 * international/quail.el (quail-help):
3636 Force bidi-paragraph-direction be left-to-right. See discussion in
3637 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3640 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3642 Avoid superfluous registering of signals. (Bug#10807)
3644 * notifications.el (notifications-on-action-object)
3645 (notifications-on-close-object): New defvars.
3646 (notifications-on-action-signal, notifications-on-closed-signal):
3647 Unregister the signal if not needed any longer.
3648 (notifications-notify): Register `notifications-action-signal' or
3649 `notifications-closed-signal', if :on-action or :on-close has been
3652 2012-03-07 Chong Yidong <cyd@gnu.org>
3654 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3657 2012-03-06 Glenn Morris <rgm@gnu.org>
3659 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3660 (x-disown-selection-internal, x-get-selection-internal):
3661 Doc fix (add arglist signatures). (Bug#10783)
3663 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3665 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3666 Handle breakpoints with no "type".
3668 2012-03-06 Glenn Morris <rgm@gnu.org>
3670 * files.el (locate-dominating-file): Add optional predicate argument.
3671 (dir-locals-find-file): Make use of above change.
3673 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3675 * info.el (Info-insert-dir): Also try "dir.gz".
3677 2012-03-06 Glenn Morris <rgm@gnu.org>
3679 * files.el (dir-locals-find-file):
3680 Ignore non-readable or non-regular files. (Bug#10928)
3682 * files.el (locate-dominating-file): Doc fix.
3684 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3686 * calendar/calendar.el (calendar-set-mode-line):
3687 `getenv' returns a string. (Bug#10951)
3689 2012-03-05 Leo Liu <sdl.web@gmail.com>
3691 * simple.el (backward-delete-char-untabify): Constrain point to
3694 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3696 2012-03-05 Chong Yidong <cyd@gnu.org>
3698 * simple.el (count-words): If called from Lisp, return the word
3699 count, for symmetry with `count-lines'. Arglist changed.
3700 (count-words--message): Args changed. Consolidate counting code
3701 from count-words and count-words-region.
3702 (count-words-region): Caller changed.
3703 (count-lines-region): Make it an obsolete alias.
3705 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3707 * saveplace.el (save-place-to-alist)
3708 (save-place-ignore-files-regexp): Allow value nil to disable this
3711 2012-03-04 Chong Yidong <cyd@gnu.org>
3713 * faces.el (face-spec-reset-face): For the default face, reset the
3714 attributes to default values (Bug#10748).
3716 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3718 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3719 previous patch: Check `message-send-mail-function', and not the
3720 default function (bug#10897).
3722 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3724 * notifications.el (notifications-on-action-signal)
3725 (notifications-on-closed-signal): Check for unique service name of
3726 incoming event. Fix error in removing entry.
3727 (top): Register for signals with wildcard service name.
3728 (notifications-notify): Use daemon unique service name for map entries.
3730 2012-03-04 Chong Yidong <cyd@gnu.org>
3732 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3734 2012-03-04 Glenn Morris <rgm@gnu.org>
3736 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3737 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3738 (expand-abbrev, define-abbrev-table): Doc fixes.
3740 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3742 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3743 `message-default-send-mail-function' and not `send-mail-function'
3744 when doing the prompting for `sendmail-query-once' before sending
3745 in Message buffers (bug#10897).
3747 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3748 This is inconsistent with all the other stream functions, which leave
3749 the setting up to the higher levels (if so wanted) (bug#10931).
3751 2012-03-02 Alan Mackenzie <acm@muc.de>
3753 Depessimize the handling of very large macros.
3755 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3756 (c-macro-cache-syntactic): New variables to implement a one
3757 element macro cache.
3758 (c-invalidate-macro-cache): New function.
3759 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3760 Adapt to use the new cache.
3761 (c-state-safe-place): Use better the cache of safe positions.
3762 (c-state-semi-nonlit-pos-cache)
3763 (c-state-semi-nonlit-pos-cache-limit):
3764 New variables for...
3765 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3766 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3767 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3768 Use c-state-semi-safe-place.
3770 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3771 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3773 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3775 * jka-compr.el (jka-compr-call-process):
3776 Apply `file-accessible-directory-p' only when the default directory is
3779 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3781 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3782 access of FILE2, if FILE1 does not exist.
3784 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3785 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3787 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3788 Add "PAGER=" to `process-environment'.
3790 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3792 * progmodes/sql.el: Bug fix
3793 (sql-get-login-ext): Save login values in globals.
3794 (sql-get-login): Use new version of `sql-get-login-ext'.
3795 (sql-interactive-mode): Set global `sql-connection' to nil.
3796 (sql-connect): Set global values for connection.
3797 (sql-product-interactive): Save global values as buffer local.
3799 2012-02-29 Leo Liu <sdl.web@gmail.com>
3801 * abbrev.el (define-abbrevs): Reset sys to nil.
3803 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3805 * files.el (file-equal-p): Rename from `files-equal-p'.
3806 Return nil when one or both files don't exist.
3807 (file-subdir-of-p): Now only top directory must exists,
3808 return nil if it doesn't.
3809 (copy-directory): No need to test with `file-subdir-of-p' after
3811 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3814 2012-02-28 Glenn Morris <rgm@gnu.org>
3816 * shell.el (shell-mode):
3817 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3818 * play/landmark.el (landmark-font-lock-face-O):
3819 * play/handwrite.el (handwrite):
3820 * play/gomoku.el (gomoku-O):
3821 * net/browse-url.el (browse-url-browser-display):
3822 * international/mule.el (define-charset):
3823 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3824 * filesets.el (filesets-find-file-delay):
3825 * eshell/em-xtra.el (eshell-xtra):
3826 * eshell/em-unix.el (eshell-grep):
3827 * emulation/viper.el (viper-mode):
3828 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3829 * emacs-lisp/easymenu.el (easy-menu-define):
3830 * calendar/timeclock.el (timeclock-use-display-time):
3832 * bookmark.el (bookmark-save-flag):
3833 Doc fix (standardize possessive apostrophe usage).
3835 2012-02-27 Chong Yidong <cyd@gnu.org>
3837 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3838 Fix key-binding lookup for ESC key (Bug#9146).
3840 * font-lock.el (font-lock-specified-p): Rename from
3841 font-lock-spec-present. Callers changed.
3843 2012-02-27 Daniel Hackney <dan@haxney.org>
3845 * emacs-lisp/package.el (package-compute-transaction):
3846 Handle holding a package version to t in package-load-list.
3848 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3850 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3851 (tramp-get-inode, tramp-get-device): Use cached values.
3853 2012-02-26 Alan Mackenzie <acm@muc.de>
3855 Check there is a font-lock specification before doing initial
3858 * font-core.el (font-lock-mode): Move the conditional from
3859 :after-hook to font-lock-initial-fontify.
3860 (font-lock-default-function): Move the check for a specification
3861 to font-lock-spec-present.
3863 * font-lock.el (font-lock-initial-fontify): Call ...
3864 (font-lock-spec-present): New function.
3866 2012-02-26 Jim Blandy <jimb@red-bean.com>
3868 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3869 (gdb-send): Apply it to the operand of the '-interpreter-exec
3870 console' command, so that we can pass arguments with (say) quotes
3871 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3873 2012-02-26 Chong Yidong <cyd@gnu.org>
3875 * help-fns.el (describe-function-1): Clarify description of
3876 remapping (Bug#10844).
3878 * files.el (files-equal-p): Doc fix.
3879 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3880 and quit the loop once a mismatch is found.
3882 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3884 * bs.el (bs--show-with-configuration): Don't throw an error
3885 if the window cannot be split; otherwise, subsequent calls to
3886 bs-show fail, restoring a stale window config. (Bug#10882)
3888 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3890 * term/ns-win.el (global-map): Bind ns-drag-file to
3891 ns-find-file (Bug#5855, Bug#10050).
3893 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3895 * calendar/parse-time.el (parse-time-string): Allow extractor to
3898 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3900 * net/tramp.el (tramp-file-name-for-operation):
3901 Add `files-equal-p' and `file-subdir-of-p'.
3903 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3904 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3905 Add COPY-CONTENTS argument.
3907 2012-02-25 Chong Yidong <cyd@gnu.org>
3909 Add custom groups for VC backends, for consistency with vc-bzr.
3911 * vc/vc-arch.el (vc-arch):
3912 * vc/vc-cvs.el (vc-cvs):
3913 * vc/vc-git.el (vc-git):
3914 * vc/vc-hg.el (vc-hg):
3915 * vc/vc-mtn.el (vc-mtn):
3916 * vc/vc-rcs.el (vc-rcs):
3917 * vc/vc-sccs.el (vc-sccs):
3918 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3919 All relevant defcustoms reassigned.
3921 2012-02-25 Chong Yidong <cyd@gnu.org>
3923 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3925 * term/x-win.el (x-initialize-window-system): Reduce default for
3926 x-selection-timeout to 5 seconds (Bug#8869).
3928 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3930 * files.el (files-equal-p, file-subdir-of-p): New functions.
3931 (copy-directory): Error when trying to copy a directory on itself.
3932 Add missing copy-contents arg to tramp handler.
3933 * dired-aux.el (dired-copy-file-recursive): Same.
3934 (dired-create-files): Modify destination when source is equal to
3935 dest when copying files.
3936 Return also when dest is a subdir of source. (Bug#10489)
3938 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3940 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3943 2012-02-23 Alan Mackenzie <acm@muc.de>
3945 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3946 parameter "after-hook:" to allow the expansion to run code after
3947 the execution of the mode hooks.
3949 * font-lock.el (font-lock-initial-fontify): New function extracted
3950 from font-lock-mode-internal.
3952 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3955 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3958 (completion--cache-all-sorted-completions): New function.
3959 (completion-all-sorted-completions): Use it.
3960 (completion--do-completion, minibuffer-force-complete):
3961 Use it to re-instate the flush hook.
3963 * icomplete.el (icomplete-completions): Replace last fix with a better
3966 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3968 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3969 when it might call us back infinitely (bug#10797).
3971 2012-02-23 Glenn Morris <rgm@gnu.org>
3973 * minibuffer.el (completion-category-overrides): Doc fix.
3975 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3978 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3980 2012-02-23 Glenn Morris <rgm@gnu.org>
3982 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3983 (authors-obsolete-files-regexps, authors-ignored-files)
3984 (authors-ambiguous-files, authors-renamed-files-alist):
3987 2012-02-23 Juri Linkov <juri@jurta.org>
3989 * isearch.el (isearch-occur): Sync interactive spec with occur's
3990 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3992 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3994 2012-02-22 Juri Linkov <juri@jurta.org>
3996 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3997 (ucs-insert): Doc fix. Check for hex digits in the string.
3998 Don't display `nil' in the error message. (Bug#10857)
4000 2012-02-22 Alan Mackenzie <acm@muc.de>
4002 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4004 2012-02-22 Glenn Morris <rgm@gnu.org>
4006 * ffap.el (ffap-c-path):
4007 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4009 2012-02-22 Chong Yidong <cyd@gnu.org>
4011 * custom.el (load-theme): Doc fix.
4013 2012-02-22 Glenn Morris <rgm@gnu.org>
4015 * dired-x.el (dired-guess-shell-alist-default):
4016 Remove escape sequences from nroff output. (Bug#172)
4018 2012-02-21 Glenn Morris <rgm@gnu.org>
4020 * vc/emerge.el (emerge-defvar-local):
4021 Set `permanent-local' property rather than unused `preserved'.
4023 * textmodes/picture.el (picture-delete-char): New alias.
4024 (picture-mode-map): Use it. (Bug#10860)
4025 (picture-mode): Doc fix.
4027 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4029 * newcomment.el (uncomment-region-default): Remove unused binding.
4031 2012-02-21 Glenn Morris <rgm@gnu.org>
4033 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4034 (picture-self-insert, picture-tab-chars): Doc fix.
4035 (picture-mode-map): Fix C-a, C-e.
4037 2012-02-20 Glenn Morris <rgm@gnu.org>
4039 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4041 2012-02-20 Leo Liu <sdl.web@gmail.com>
4043 * icomplete.el (icomplete-completions): Check FROM arg before
4044 passing to substring (Bug#10850).
4046 2012-02-19 Chong Yidong <cyd@gnu.org>
4048 * comint.el: Require ansi-color.
4049 (comint-output-filter-functions): Add ansi-color-process-output.
4051 * ansi-color.el: Don't set comint-output-filter-functions; it is
4052 now in the initial value defined in comint.el.
4053 (ansi-color-apply-face-function): New variable.
4054 (ansi-color-apply-on-region): Use it.
4055 (ansi-color-apply-overlay-face): New function.
4057 * shell.el (shell): No need to require ansi-color.
4058 (shell-mode): Use ansi-color-apply-face-function to highlight
4059 color escapes using font-lock-face property (Bug#10835).
4061 2012-02-19 Chong Yidong <cyd@gnu.org>
4063 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4064 mode-line formats (Bug#10839).
4066 2012-02-18 Glenn Morris <rgm@gnu.org>
4068 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4070 * mail/undigest.el (unforward-rmail-message): Doc fix.
4072 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4074 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4076 * international/characters.el (script-list): Sync with the latest
4077 Unicode Character Database.
4079 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4081 * international/titdic-cnv.el: Remove duplicate coding tag.
4082 * language/cham.el: Likewise.
4083 * language/tai-viet.el: Likewise.
4085 2012-02-18 Glenn Morris <rgm@gnu.org>
4087 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4088 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4089 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4090 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4091 * calendar/holidays.el (holiday-bahai-holidays)
4092 (calendar-holidays, list-holidays):
4093 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
4095 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4097 * saveplace.el (save-place-ignore-files-regexp): New variable
4098 allowing for excluding files from saving their location of point.
4099 The default value matches the temporary commit message editing
4100 files from Git, SVN, Bazaar, and Mercurial.
4101 (save-place-to-alist): Use it.
4103 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4104 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * newcomment.el (uncomment-region-default): Don't leave extra space
4107 when an arg is provided (bug#8150).
4109 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4111 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4113 2012-02-17 Glenn Morris <rgm@gnu.org>
4115 * net/socks.el: Require network-stream. (Bug#10599)
4117 2012-02-17 Kenichi Handa <handa@m17n.org>
4119 * international/charprop.el:
4120 * international/uni-name.el:
4121 * international/uni-old-name.el:
4122 * international/uni-comment.el: Regenerate.
4124 2012-02-16 Glenn Morris <rgm@gnu.org>
4126 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4127 Interactively in calendar buffer, give an error if not on a date.
4129 2012-02-15 Glenn Morris <rgm@gnu.org>
4131 * shell.el (shell-delimiter-argument-list):
4132 Revert 2011-02-17 change. (Bug#8027)
4134 2012-02-15 Chong Yidong <cyd@gnu.org>
4136 * minibuffer.el (completion-at-point-functions): Doc fix.
4138 * custom.el (defcustom): Doc fix; note use of defvar.
4140 2012-02-15 Glenn Morris <rgm@gnu.org>
4142 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4145 2012-02-14 Glenn Morris <rgm@gnu.org>
4147 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4149 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4151 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4152 way the ports list is computed.
4153 (smtpmail-query-smtp-server): Prompt the user for a port number if
4154 we can't connect to any of the standard ports (bug#10810).
4156 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4158 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4160 2012-02-13 Glenn Morris <rgm@gnu.org>
4162 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4164 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4166 * net/gnutls.el (gnutls-trustfiles): New variable.
4167 (gnutls-negotiate): Use it.
4169 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4171 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4172 does its stuff if Gnus is running.
4174 2012-02-13 Alan Mackenzie <acm@muc.de>
4176 Fix a loop in c-set-fl-decl-start.
4178 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4179 c-backward-syntactic-ws actually moves backwards.
4181 2012-02-13 Leo Liu <sdl.web@gmail.com>
4183 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4184 beginning so that all \C-o chars are removed.
4186 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4188 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4190 2012-02-12 Alan Mackenzie <acm@muc.de>
4192 Fix infinite loop with long macros.
4193 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4195 2012-02-12 Chong Yidong <cyd@gnu.org>
4197 * window.el (display-buffer): Doc fix (Bug#10785).
4199 2012-02-12 Glenn Morris <rgm@gnu.org>
4201 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4202 (x-disown-selection-internal, x-get-selection-internal):
4203 Sync docs with the xselect.c versions.
4205 * allout-widgets.el: Add missing license notice.
4207 2012-02-11 Glenn Morris <rgm@gnu.org>
4209 * select.el (x-get-selection-internal, x-own-selection-internal)
4210 (x-disown-selection-internal):
4211 * x-dnd.el (x-get-selection-internal): Update declarations.
4213 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4215 * window.el (window-sides-slots):
4216 * tool-bar.el (tool-bar-position):
4217 * term/xterm.el (xterm-extra-capabilities):
4218 * ses.el (ses-self-reference-early-detection):
4219 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4220 (verilog-auto-wire-type)
4221 (verilog-auto-delete-trailing-whitespace)
4222 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4223 (verilog-auto-tieoff-declaration):
4224 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4225 (sql-oracle-statement-starters, sql-oracle-scan-on):
4226 * progmodes/prolog.el (prolog-align-comments-flag)
4227 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4228 (prolog-left-indent-regexp, prolog-paren-indent-p)
4229 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4230 (prolog-types, prolog-mode-specificators)
4231 (prolog-determinism-specificators, prolog-directives)
4232 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4233 (prolog-electric-dot-flag)
4234 (prolog-electric-dot-full-predicate-template)
4235 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4236 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4237 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4238 (prolog-program-switches, prolog-prompt-regexp)
4239 (prolog-debug-on-string, prolog-debug-off-string)
4240 (prolog-trace-on-string, prolog-trace-off-string)
4241 (prolog-zip-on-string, prolog-zip-off-string)
4242 (prolog-use-standard-consult-compile-method-flag)
4243 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4244 (prolog-imenu-max-lines, prolog-info-predicate-index)
4245 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4246 (prolog-char-quote-workaround):
4247 * progmodes/cc-vars.el (c-defun-tactic):
4248 * net/tramp.el (tramp-encoding-command-interactive)
4249 (tramp-local-end-of-line):
4250 * net/soap-client.el (soap-client):
4251 * net/netrc.el (netrc-file):
4252 * net/gnutls.el (gnutls):
4253 * minibuffer.el (completion-category-overrides)
4254 (completion-cycle-threshold)
4255 (completion-pcm-complete-word-inserts-delimiters):
4256 * man.el (Man-name-local-regexp):
4257 * mail/feedmail.el (feedmail-display-full-frame):
4258 * international/characters.el (glyphless-char-display-control):
4259 * eshell/em-ls.el (eshell-ls-date-format):
4260 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4261 (lisp-lambda-list-keyword-parameter-indentation)
4262 (lisp-lambda-list-keyword-parameter-alignment):
4263 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4264 * dired-x.el (dired-omit-verbose):
4265 * cus-theme.el (custom-theme-allow-multiple-selections):
4266 * calc/calc.el (calc-highlight-selections-with-faces)
4267 (calc-lu-field-reference, calc-lu-power-reference)
4268 (calc-note-threshold):
4269 * battery.el (battery-mode-line-limit):
4270 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4271 (archive-7z-update):
4272 * allout.el (allout-prefixed-keybindings)
4273 (allout-unprefixed-keybindings)
4274 (allout-inhibit-auto-fill-on-headline)
4275 (allout-flattened-numbering-abbreviation):
4276 * allout-widgets.el (allout-widgets-auto-activation)
4277 (allout-widgets-icons-dark-subdir)
4278 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4279 (allout-widgets-theme-dark-background)
4280 (allout-widgets-theme-light-background)
4281 (allout-widgets-item-image-properties-emacs)
4282 (allout-widgets-item-image-properties-xemacs)
4283 (allout-widgets-run-unit-tests-on-load)
4284 (allout-widgets-time-decoration-activity)
4285 (allout-widgets-hook-error-post-time)
4286 (allout-widgets-track-decoration):
4287 Add missing :version tags to new defcustoms and defgroups.
4289 * progmodes/sql.el (sql-ansi-statement-starters)
4290 (sql-oracle-statement-starters): Add custom type.
4292 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4293 (prolog-system-version): Give it a type.
4295 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4297 * term/pc-win.el (x-select-text, x-selection-owner-p)
4298 (x-own-selection-internal, x-disown-selection-internal)
4299 (x-get-selection-internal): Sync doc strings and argument lists
4300 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4302 2012-02-11 Leo Liu <sdl.web@gmail.com>
4304 * progmodes/python.el (python-end-of-statement): Fix infinite
4307 2012-02-10 Glenn Morris <rgm@gnu.org>
4309 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4310 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4312 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4314 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4315 about SMTP before checking the From header.
4317 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4318 into own function for reuse by emacsbug.el.
4320 2012-02-10 Leo Liu <sdl.web@gmail.com>
4322 * subr.el (condition-case-unless-debug): Rename from
4323 condition-case-no-debug. All callers changed.
4324 (with-demoted-errors): Fix caller.
4326 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4327 * nxml/rng-valid.el (rng-do-some-validation):
4328 * emacs-lisp/package.el (package-refresh-contents)
4329 (package-menu-execute):
4330 * desktop.el (desktop-create-buffer):
4331 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4333 2012-02-10 Glenn Morris <rgm@gnu.org>
4335 * textmodes/bibtex.el:
4336 Add missing :version tags for new/changed defcustoms.
4338 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4340 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4342 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4343 (smtpmail-via-smtp): Use it, or fall back on the From address.
4344 (smtpmail-send-it): Ditto.
4346 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4349 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4350 (byte-compile-tmp-var): New const.
4351 (byte-compile-defvar): Use it to minimize .elc size.
4352 Just use `defvar' rather than simulate it (bug#10761).
4354 2012-02-09 Glenn Morris <rgm@gnu.org>
4356 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4358 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4361 * progmodes/compile.el (compilation-error-screen-columns)
4362 (compilation-first-column, compilation-filter-start): Doc fixes.
4364 * vc/log-view.el (log-view-toggle-entry-display):
4365 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4367 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4368 (report-emacs-bug-can-use-xdg-email):
4369 (report-emacs-bug-insert-to-mailer): Doc fixes.
4370 (report-emacs-bug): Message fix.
4372 * net/browse-url.el (browse-url-can-use-xdg-open)
4373 (browse-url-xdg-open): Doc fixes.
4375 * electric.el (electric-indent-mode, electric-pair-mode)
4376 (electric-layout-rules, electric-layout-mode): Doc fixes.
4377 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4379 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4381 * server.el (server-unselect-display): Don't inadvertently kill
4382 the current buffer. (Bug#10729)
4384 2012-02-08 Glenn Morris <rgm@gnu.org>
4386 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4387 (sql-list-table): Doc fixes.
4389 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4390 Comment out (does nothing).
4392 * completion.el (dynamic-completion-mode):
4393 * dirtrack.el (dirtrack-debug-mode):
4394 * electric.el (electric-layout-mode):
4395 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4396 * face-remap.el (text-scale-mode, buffer-face-mode):
4397 * iimage.el (iimage-mode):
4398 * image-mode.el (image-transform-mode):
4399 * minibuffer.el (completion-in-region-mode):
4400 * scroll-lock.el (scroll-lock-mode):
4401 * simple.el (next-error-follow-minor-mode):
4402 * tar-mode.el (tar-subfile-mode):
4403 * tooltip.el (tooltip-mode):
4404 * vcursor.el (vcursor-use-vcursor-map):
4405 * wid-browse.el (widget-minor-mode):
4406 * emulation/tpu-edt.el (tpu-edt-mode):
4407 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4408 * international/iso-ascii.el (iso-ascii-mode):
4409 * language/thai-util.el (thai-word-mode):
4410 * mail/supercite.el (sc-minor-mode):
4411 * net/goto-addr.el (goto-address-mode):
4412 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4413 * progmodes/cwarn.el (cwarn-mode):
4414 * progmodes/flymake.el (flymake-mode):
4415 * progmodes/glasses.el (glasses-mode):
4416 * progmodes/hideshow.el (hs-minor-mode):
4417 * progmodes/pascal.el (pascal-outline-mode):
4418 * textmodes/enriched.el (enriched-mode):
4419 * vc/smerge-mode.el (smerge-mode):
4420 Doc fixes (minor mode argument).
4422 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4424 * ls-lisp.el (ls-lisp-sanitize): New function.
4425 (ls-lisp-insert-directory): Use it to fix or remove any elements
4426 in file-alist with missing attributes. (Bug#4673)
4428 2012-02-07 Alan Mackenzie <acm@muc.de>
4430 Fix spurious recognition of c-in-knr-argdecl.
4432 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4433 putative K&R region.
4435 2012-02-07 Alan Mackenzie <acm@muc.de>
4437 * progmodes/cc-engine.el (c-forward-objc-directive):
4438 Prevent looping in "#pragma mark @implementation".
4440 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4442 * notifications.el (notifications-on-closed-signal): Make `reason'
4443 optional. (Bug#10744)
4445 2012-02-07 Glenn Morris <rgm@gnu.org>
4447 * emacs-lisp/easy-mmode.el (define-minor-mode):
4448 Doc fixes for the macro and the mode it defines.
4450 * image.el (imagemagick-types-inhibit): Doc fix.
4452 * cus-start.el (imagemagick-render-type): Add it.
4454 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4456 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4457 Set the default at load time, too, so that `font-lock-fontify-buffer'
4458 can be called without setting up the entire mode first. This fixes
4459 a bug in `mm-inline-text' with C MIME parts.
4461 2012-02-06 Chong Yidong <cyd@gnu.org>
4463 * simple.el (list-processes--refresh): Delete exited processes
4466 * comint.el (comint-next-prompt): next-single-char-property-change
4467 and prev-single-char-property-change never return nil (Bug#8657).
4469 * custom.el (defcustom): Doc fix (Bug#9711).
4471 2012-02-05 Chong Yidong <cyd@gnu.org>
4473 * cus-edit.el (custom-variable-reset-backup): Quote the value
4474 before storing it in the customized-value property (Bug#6712).
4475 (custom-display): Add a customization type tag.
4476 (custom-buffer-create-internal): Improve tooltip message.
4478 * wid-edit.el (widget-field-value-get): New optional arg to
4479 suppress trailing whitespace truncation.
4480 (character): Use it (Bug#2689).
4482 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4484 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4485 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4487 2012-02-05 Chong Yidong <cyd@gnu.org>
4489 * cus-edit.el (custom-variable-value-create): For mismatched
4490 types, show the current value (Bug#7600).
4492 * custom.el (defcustom): Doc fix.
4494 2012-02-05 Glenn Morris <rgm@gnu.org>
4496 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4498 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4500 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4501 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4502 (pp-last-sexp): Use `looking-at-p'.
4504 2012-02-04 Glenn Morris <rgm@gnu.org>
4506 * files.el (revert-buffer):
4507 Doc fix (mention revert-buffer-in-progress-p).
4509 * emacs-lisp/ert-x.el (ert-simulate-command):
4510 Check deferred-action-list (which is obsolete) is bound.
4512 * subr.el (with-wrapper-hook): Doc fixes.
4514 * simple.el (filter-buffer-substring-functions)
4515 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4517 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4519 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4520 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4522 2012-02-04 Leo Liu <sdl.web@gmail.com>
4524 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4526 2012-02-04 Glenn Morris <rgm@gnu.org>
4528 * image.el (image-extension-data): Add obsolete alias.
4530 * isearch.el (isearch-update): Doc fix.
4532 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4534 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4536 2012-02-03 Glenn Morris <rgm@gnu.org>
4538 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4539 (image-animate-timeout): Doc fix.
4541 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4543 2012-02-02 Glenn Morris <rgm@gnu.org>
4545 * server.el (server-auth-dir): Doc fix.
4546 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4548 * subr.el (run-mode-hooks): Doc fix.
4550 2012-02-02 Juri Linkov <juri@jurta.org>
4552 * image-mode.el (image-toggle-display-image): Remove tautological
4553 `major-mode' from the `derived-mode-p' test.
4555 2012-02-02 Kenichi Handa <handa@m17n.org>
4557 * composite.el (compose-region): Cancel previous change.
4559 2012-02-02 Kenichi Handa <handa@m17n.org>
4561 * composite.el (compose-region, compose-string): Signal error for
4562 a null string component (Bug#6988).
4564 2012-02-01 Chong Yidong <cyd@gnu.org>
4566 * view.el (view-buffer-other-window, view-buffer-other-frame):
4567 Handle special modes like view-buffer (Bug#10650).
4568 (view-buffer): Simplify.
4570 * frame.el (set-frame-font): Tweak meaning of third argument.
4572 * dynamic-setting.el (font-setting-change-default-font):
4573 Use set-frame-font (Bug#9982).
4575 2012-02-01 Glenn Morris <rgm@gnu.org>
4577 * progmodes/compile.el (compilation-internal-error-properties):
4578 Respect compilation-first-column in the "*compilation*" buffer.
4580 * emacs-lisp/easy-mmode.el (define-minor-mode):
4581 Relax :variable's test for a named function.
4583 2012-01-31 Alan Mackenzie <acm@muc.de>
4585 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4588 2012-01-31 Chong Yidong <cyd@gnu.org>
4590 * frame.el (set-frame-font): New arg ALL-FRAMES.
4592 * menu-bar.el (menu-set-font): Use set-frame-font.
4594 * faces.el (face-spec-reset-face): Don't apply unspecified
4595 attribute values to the default face.
4597 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4599 * progmodes/cwarn.el (cwarn): Remove dead link.
4600 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4601 Remove * from defcustom docstrings.
4602 (turn-on-cwarn-mode): Make obsolete.
4603 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4604 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4606 2012-01-31 Glenn Morris <rgm@gnu.org>
4608 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4609 Fix :variable handling of mode a symbol not equal to modefun.
4610 Allow named functions to be used as the cdr of :variable.
4612 2012-01-30 Glenn Morris <rgm@gnu.org>
4614 * emacs-lisp/authors.el (authors-fixed-entries):
4615 Remove reference to deleted file rnewspost.el.
4617 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4619 * window.el (window-with-parameter): Remove unused variable `windows'.
4620 (window--side-check): Remove unused variable `code'.
4621 (window--resize-siblings): Remove unused variable `first'.
4622 (adjust-window-trailing-edge): Remove unused variable `failed'.
4623 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4624 Use `let', not `let*'.
4625 (balance-windows-2): Remove unused variable `found'.
4626 (window--state-put-2): Remove unused variable `splits'.
4627 (window-state-put): Remove unused variable `selected'.
4628 (same-window-p): Use `string-match-p'.
4629 (display-buffer-assq-regexp): Remove unused variable `value'.
4630 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4631 Mark argument ALIST as ignored.
4632 (pop-to-buffer): Remove unused variable `old-window'.
4634 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4636 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4637 and .lzma compressed files.
4639 2012-01-29 Chong Yidong <cyd@gnu.org>
4641 * frame.el (window-system-default-frame-alist): Doc fix.
4643 * dynamic-setting.el (font-setting-change-default-font): Don't
4644 change the default face if SET-FONT argument is non-nil (Bug#9982).
4646 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4648 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4650 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4652 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4653 breakpoints in files outside current directory (Bug#6098).
4655 2012-01-29 Chong Yidong <cyd@gnu.org>
4657 * progmodes/python.el: Require ansi-color at top-level.
4659 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4660 Define and use in Emacs Lisp mode (Bug#9360).
4661 (lisp-mode-abbrev-table): Add doc.
4662 (lisp-mode-variables): Don't set local-abbrev-table.
4663 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4665 2012-01-28 Roland Winkler <winkler@gnu.org>
4667 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4669 2012-01-28 Roland Winkler <winkler@gnu.org>
4671 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4672 (bibtex-set-dialect): Use it. Either set global values of
4673 dialect-dependent variables or bind these variables buffer-locally
4675 (bibtex-mode): Call bibtex-set-dialect via
4676 hack-local-variables-hook.
4677 (bibtex-dialect): Update docstring.
4678 Add safe-local-variable predicate.
4679 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4681 (bibtex-mode-map): Define menu for each dialect.
4682 (bibtex-entry): Fix docstring.
4684 2012-01-28 Chong Yidong <cyd@gnu.org>
4686 * eshell/esh-arg.el (eshell-quote-argument): New function.
4688 * eshell/esh-ext.el (eshell-invoke-batch-file):
4689 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4690 first arg to eshell-parse-command (Bug#10523).
4692 2012-01-28 Drew Adams <drew.adams@oracle.com>
4694 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4695 `default-directory' is non-nil.
4697 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4699 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4700 line that displays system-configuration-options. (Bug#9924)
4702 2012-01-28 Drew Adams <drew.adams@oracle.com>
4704 * descr-text.el (describe-char): Show information about POS, in
4705 addition to information about the character at POS. Improve and
4706 update the doc string. Change "code point" to "code point in
4707 charset", to avoid confusion with the character's Unicode code
4708 point shown above that. (Bug#10129)
4710 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4712 * descr-text.el (describe-char): Show the raw character, not only
4713 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4714 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4717 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4719 * emacs-lisp/package.el (package-install):
4720 Run package-refresh-contents if there is no archive yet (Bug#9798).
4722 2012-01-28 Chong Yidong <cyd@gnu.org>
4724 * emacs-lisp/package.el (package-maybe-load-descriptor):
4725 New function, split from package-maybe-load-descriptor.
4726 (package-maybe-load-descriptor): Use it.
4727 (package-download-transaction): Fully load required packages
4728 inside the loop, so that `require' calls work (Bug#10593).
4729 (package-install): No need to call package-initialize now.
4731 2012-01-28 Chong Yidong <cyd@gnu.org>
4733 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4735 * tooltip.el (tooltip-mode): Doc fix.
4736 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4738 * frame.el (set-cursor-color): Doc fix (Bug#352).
4740 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4741 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4743 * cus-edit.el (custom-buffer-create-internal): Fix search button
4745 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4747 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4749 * dired.el (dired-mark-files-regexp):
4750 Include any subdirectory components. (Bug#10445)
4752 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4754 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4755 Handle [host]:port syntax. (Bug#10533)
4757 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4759 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4761 2012-01-26 Glenn Morris <rgm@gnu.org>
4763 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4764 * term.el (term-raw-escape-map): Use Control-X-prefix.
4765 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4767 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4769 * window.el (window-state-get, window--state-get-1): Don't deal
4770 with fixed-sizeness of windows. Simplify code.
4772 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4774 * window.el (window--state-get-1, window--state-put-2):
4775 Don't save and restore the mark.
4777 2012-01-25 Chong Yidong <cyd@gnu.org>
4779 * custom.el (custom-variable-p): Doc fix.
4781 2012-01-25 Glenn Morris <rgm@gnu.org>
4783 * dired.el (dired-goto-file): Handle some of the more common
4784 characters that `ls -b' escapes. (Bug#10596)
4786 * progmodes/compile.el (compilation-next-error-function):
4787 Respect compilation-first-column in the "*compilation*" buffer.
4788 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4790 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4792 2012-01-24 Glenn Morris <rgm@gnu.org>
4794 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4796 2012-01-24 Julien Danjou <julien@danjou.info>
4798 * color.el (color-rgb-to-hsl): Fix value computing.
4799 (color-hue-to-rgb): New function.
4800 (color-hsl-to-rgb): New function.
4801 (color-clamp, color-saturate-hsl, color-saturate-name)
4802 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4803 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4805 2012-01-24 Glenn Morris <rgm@gnu.org>
4807 * vc/vc-rcs.el (vc-rcs-create-tag):
4808 * vc/vc-sccs.el (vc-sccs-create-tag):
4809 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4811 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4813 * eshell/esh-util.el (eshell-read-hosts-file):
4814 Skip comment lines. (Bug#10549)
4816 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4818 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4820 * subr.el (display-delayed-warnings): Doc fix.
4821 (collapse-delayed-warnings): New function to collapse identical
4823 (delayed-warnings-hook): Add it.
4825 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4827 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4829 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4830 properties, when "login-as" is set.
4832 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4833 (tramp-default-user-alist): Don't add "pscp".
4834 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4835 property "login-as", if set. (Bug#10530)
4837 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4839 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4840 "plink1" and "psftp". (Bug#10530)
4842 2012-01-21 Kenichi Handa <handa@m17n.org>
4844 * international/mule-cmds.el (prefer-coding-system): Show a
4845 warning message if the default value of file-name-coding-system
4848 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4850 * windmove.el (windmove-reference-loc):
4851 Fix windmove-reference-loc miscalculation.
4853 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4855 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4858 2012-01-21 Glenn Morris <rgm@gnu.org>
4860 * international/mule.el (auto-coding-alist): Add .tbz.
4862 * files.el (local-enable-local-variables): Doc fix.
4863 (inhibit-local-variables-regexps): Rename from
4864 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4865 Doc fix. Add some extensions from auto-coding-alist.
4866 (inhibit-local-variables-suffixes):
4867 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4868 (inhibit-local-variables-p):
4869 New function, extracted from set-auto-mode-1.
4870 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4871 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4872 (hack-local-variables): Doc fix. Make the mode-only case
4873 respect enable-local-variables and friends.
4874 Respect inhibit-local-variables-regexps for file-locals, but
4875 not for directory-locals.
4876 (set-visited-file-name):
4877 Take account of inhibit-local-variables-regexps.
4878 Whether it applies may change as the file name is changed.
4879 * jka-cmpr-hook.el (jka-compr-install):
4880 * jka-compr.el (jka-compr-uninstall):
4881 Update for inhibit-first-line-modes-suffixes name change.
4883 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4885 * help-macro.el (make-help-screen): Temporarily restore original
4886 binding for minor-mode-map-alist (Bug#10454).
4888 2012-01-19 Julien Danjou <julien@danjou.info>
4890 * color.el (color-name-to-rgb): Use the white color to find the max
4891 color component value and return correctly computed values.
4892 (color-name-to-rgb): Add missing float conversion for max value.
4894 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4896 * window.el (window--state-get-1, window-state-get): Do not use
4897 special state value for window-persistent-parameters.
4898 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4899 (window--state-put-2): Reset all window parameters to nil before
4900 assigning values of persistent parameters.
4902 2012-01-18 Alan Mackenzie <acm@muc.de>
4904 Eliminate sluggishness and hangs in fontification of "semicolon
4907 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4908 Change value 10000 -> 3000.
4909 (c-state-safe-place): Reformulate so it doesn't stack up an
4910 infinite number of wrong entries in c-state-nonlit-pos-cache.
4911 (c-determine-limit-get-base, c-determine-limit): New functions to
4912 determine backward search limits disregarding literals.
4913 (c-find-decl-spots): Amend commenting.
4914 (c-cheap-inside-bracelist-p): New function which detects "={".
4916 * progmodes/cc-fonts.el
4917 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4919 (c-font-lock-declarations): Fix an occurrence of point being
4920 undefined. Check additionally for point being in a bracelist or
4921 near a macro invocation without a semicolon so as to avoid a
4922 fruitless time consuming search for a declarator. Give a more
4923 precise search limit for declarators using the new
4926 2012-01-18 Glenn Morris <rgm@gnu.org>
4928 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4929 (set-auto-mode): Doc fixes.
4931 2012-01-17 Glenn Morris <rgm@gnu.org>
4933 * isearch.el (search-nonincremental-instead): Fix doc typo.
4935 * dired.el (dired-insert-directory): Handle newlines in directory name.
4936 (dired-build-subdir-alist): Unescape newlines in directory name.
4938 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4940 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4941 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4942 (tramp-action-terminal): Use it. (Bug#10530)
4944 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4948 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4950 * window.el (window-state-ignored-parameters): Remove variable.
4951 (window--state-get-1): Rename argument MARKERS to IGNORE.
4952 Handle persistent window parameters. Make copy of clone-of
4953 parameter only if requested. (Bug#10348)
4954 (window--state-put-2): Install a window parameter only if it has
4955 a non-nil value or an existing parameter shall be overwritten.
4957 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4959 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4961 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4963 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4964 don't pass the (nil) value of `upnode' to string-match.
4966 2012-01-14 Chong Yidong <cyd@gnu.org>
4968 * startup.el (command-line): Fix X resource class for cursorColor.
4969 Fix values recognized by the cursorBlink resource.
4971 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4973 * epg.el (epg--make-temp-file): Avoid permission race condition
4974 when running on old Emacs versions (bug#10403).
4976 2012-01-14 Glenn Morris <rgm@gnu.org>
4978 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4980 2012-01-13 Alan Mackenzie <acm@muc.de>
4982 Fix filling for when filladapt mode is enabled.
4984 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4985 c-mask-paragraph, pass in `fill-paragraph' rather than
4986 `fill-region-as-paragraph'. (This is a reversion of a previous
4988 * progmodes/cc-mode.el (c-basic-common-init):
4989 Make fill-paragraph-handle-comment buffer local and set it to nil.
4991 2012-01-13 Glenn Morris <rgm@gnu.org>
4993 * dired.el (dired-switches-escape-p): New function.
4994 (dired-insert-directory): Use dired-switches-escape-p.
4995 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4997 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4999 2012-01-12 Glenn Morris <rgm@gnu.org>
5001 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5002 changes in adaptive-fill-regexp. (Bug#10276)
5004 2012-01-11 Alan Mackenzie <acm@muc.de>
5006 Fix Emacs bug #10463 - put `widen's around the critical spots.
5008 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5009 widen around each invocation of c-state-pp-to-literal. Remove an
5010 unused let variable.
5012 2012-01-11 Glenn Morris <rgm@gnu.org>
5014 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5017 2012-01-10 Chong Yidong <cyd@gnu.org>
5019 * net/network-stream.el (network-stream-open-starttls):
5020 Avoid emitting a confusing error message when the server gives a bad
5021 response to the capability command.
5023 2012-01-10 Glenn Morris <rgm@gnu.org>
5025 * mail/unrmail.el (unrmail): Tweak previous change.
5027 2012-01-09 Chong Yidong <cyd@gnu.org>
5029 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5031 2012-01-08 Alan Mackenzie <acm@muc.de>
5033 Optimise font locking in long enum definitions.
5035 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5036 arm to a cond form to handle enums.
5037 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5038 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5040 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5042 * files.el (move-file-to-trash): Preserve default file modes on error.
5045 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047 * faces.el (set-face-attribute): Clarify the meaning of the nil
5050 * subr.el (with-selected-frame): Mention that the selected frame
5051 is restored (bug#9980).
5053 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5056 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5057 (password-read): Don't autoload unused function.
5059 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5061 * progmodes/which-func.el (which-func-mode): Turn into a
5062 non-interactive function and mark as obsolete (bug#10428).
5064 2012-01-06 Chong Yidong <cyd@gnu.org>
5066 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5067 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5068 functions, along with 1 and -1.
5070 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5072 * time.el (display-time-load-average)
5073 (display-time-default-load-average): Doc fixes. See the thread
5075 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5078 2012-01-06 Glenn Morris <rgm@gnu.org>
5080 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5081 has no messages. (Bug#10377)
5083 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5084 than Info-edit. (Bug#10385)
5086 * time.el (display-time-load-average, display-time-next-load-average):
5089 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5090 local setting of buffer-read-only to the input buffer. (Bug#10419)
5092 * calendar/calendar.el (calendar-mode):
5093 Locally set scroll-margin to 0. (Bug#10379)
5095 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5097 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5099 2012-01-05 Glenn Morris <rgm@gnu.org>
5101 * eshell/em-unix.el (diff-no-select): Autoload it.
5102 (eshell/diff): Use diff-no-select. (Bug#10420)
5104 2012-01-05 Chong Yidong <cyd@gnu.org>
5106 * shell.el (shell-dynamic-complete-functions): Revert last change.
5107 (shell-command-completion-function): New function.
5108 (shell-completion-vars): Use it to implement
5109 shell-completion-execonly (Bug#10417).
5111 * custom.el (enable-theme): Don't set custom-safe-themes.
5113 * cus-theme.el (custom-theme-merge-theme):
5114 Ignore custom-enabled-themes and custom-safe-themes.
5116 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5118 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5119 first prompt in `sql-interacive-mode'.
5120 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5122 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5123 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5124 context of original buffer. Invoke `sql-login-hook'.
5126 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5128 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5129 letters in cite-prefix.
5131 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5133 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5135 2012-01-03 Chong Yidong <cyd@gnu.org>
5137 * shell.el (shell-dynamic-complete-functions):
5138 Put pcomplete-completions-at-point, so as to try
5139 comint-filename-completion first (Bug#10417).
5141 2012-01-02 Richard Stallman <rms@gnu.org>
5143 * battery.el (battery-status-function):
5144 Detect when to use battery-yeeloong-sysfs.
5145 (battery-echo-area-format): Add string for Yeeloong.
5146 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5147 (battery-yeeloong-sysfs): New function.
5149 2012-01-02 Chong Yidong <cyd@gnu.org>
5151 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5152 (dirtrack): Merge code for handling relative filenames in prompt
5153 from shell-dir-cookie-watcher.
5154 (dirtrack-debug-message): New arg to avoid excess format calls.
5156 * shell.el (shell-dir-cookie-re): Variable deleted.
5157 (shell-dir-cookie-watcher): Function deleted.
5158 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5161 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5163 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5164 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5167 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5169 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5171 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5173 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5174 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5176 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5178 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5179 also for alternative shells.
5180 (tramp-open-connection-setup-interactive-shell): Check, whether
5181 the shell is a busybox.
5182 (tramp-send-command): Don't suppress multiple prompts for
5183 busyboxes, it hurts.
5185 2011-12-28 Chong Yidong <cyd@gnu.org>
5187 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5188 (gdb-get-source-file): Move mode line update to
5189 gdb-get-source-file (Bug#10087).
5191 2011-12-25 Chong Yidong <cyd@gnu.org>
5193 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5194 gud-gdb-marker-filter without taking it as an argument.
5195 (gud-gdb-run-command-fetch-lines): Caller changed.
5196 (gud-gdb-completion-function): New variable.
5197 (gud-gdb-completion-at-point): Use it.
5198 (gud-gdb-completions-1): Split from gud-gdb-completions.
5200 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5201 function as separate arguments.
5202 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5203 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5204 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5205 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5206 (gdb-stopped, def-gdb-auto-update-trigger)
5207 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5208 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5210 (gud-gdbmi-completions): New function.
5211 (gdb): Use it for generating the completion table.
5213 2011-12-24 Alan Mackenzie <acm@muc.de>
5215 Introduce a mechanism to widen the region used in context font
5216 locking. Use this to protect declarations from losing their contexts.
5218 * progmodes/cc-langs.el (c-before-font-lock-functions):
5219 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5220 (c-before-context-fontification-functions): New defvar, a list of
5221 functions to be run just before context (etc.) font locking.
5223 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5224 New, functionality extracted from
5225 c-neutralize-syntax-in-and-mark-CPP.
5226 (c-in-after-change-fontification): New variable.
5227 (c-after-change): Set c-in-after-change-fontification.
5228 (c-set-fl-decl-start): Rejig its interface, so it can be called
5229 from both after-change and context fontifying.
5230 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5232 (c-standard-font-lock-fontify-region-function): New variable.
5233 (c-font-lock-fontify-region): New function.
5235 2011-12-24 Juri Linkov <juri@jurta.org>
5237 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5240 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5242 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5243 existence of source file. (Bug#10325)
5245 2011-12-23 Alan Mackenzie <acm@muc.de>
5247 Fix unstable fontification inside templates.
5249 * progmodes/cc-langs.el (c-before-font-lock-functions):
5250 Newly created from the singular version. The (c c++ objc) entry now
5251 additionally has c-set-fl-decl-start. The other languages (apart
5252 from AWK) have that as a single entry.
5254 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5255 The functionality for "local" declarations has been extracted to
5256 c-set-fl-decl-start.
5258 * progmodes/cc-mode.el (c-common-init, c-after-change):
5259 Changes due to pluralisation of c-before-font-lock-functions.
5260 (c-set-fl-decl-start): New function, extracted from
5261 c-font-lock-enclosing-decls and enhanced.
5263 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5265 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5267 2011-12-22 Juri Linkov <juri@jurta.org>
5269 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5271 2011-12-22 Chong Yidong <cyd@gnu.org>
5273 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5275 2011-12-21 Drew Adams <drew.adams@oracle.com>
5277 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5279 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5281 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5283 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5285 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5286 highlighting and support. Fix up comments for capitalization.
5287 (cfengine-mode-debug): New var.
5288 (cfengine3-mode): Change the modeline indicator to "CFE3".
5289 (cfengine3-font-lock-keywords): Improve defun highlighting.
5290 (cfengine2-actions): Rename from `cfengine-actions'.
5291 (cfengine2-font-lock-keywords): Rename from
5292 `cfengine-font-lock-keywords'.
5293 (cfengine2-imenu-expression): Rename from
5294 `cfengine-imenu-expression'.
5295 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5296 (cfengine2-beginning-of-defun): Rename from
5297 `cfengine-beginning-of-defun'.
5298 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5299 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5300 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5301 modeline indicator to "CFE2".
5302 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5303 (cfengine-mode-abbrevs): Mark obsolete.
5305 2011-12-21 Chong Yidong <cyd@gnu.org>
5307 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5310 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5312 * window.el (window-normalize-buffer-to-display): Remove.
5313 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5315 2011-12-19 Chong Yidong <cyd@gnu.org>
5317 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5318 Don't signal an error in a predicate function; return non-nil.
5319 (vc-dir-mark-file): Move the error here.
5320 (vc-dir-mark-unmark): If acting on the region, keep going if one
5321 of the entries cannot be marked/unmarked.
5322 (vc-dir-mark-all-files): If current entry is a directory, mark
5323 only child files, as documented.
5325 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5327 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5328 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5331 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5333 * term/ns-win.el (ns-get-selection-internal)
5334 (ns-store-selection-internal): Declare.
5335 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5336 Declare as obsolete.
5337 (ns-get-pasteboard, ns-paste-secondary):
5338 Use ns-get-selection-internal.
5339 (ns-set-pasteboard, ns-copy-including-secondary):
5340 Use ns-store-selection-internal.
5342 2011-12-17 Chong Yidong <cyd@gnu.org>
5344 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5345 (vc-deduce-fileset): Doc fix.
5347 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5349 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5351 2011-12-13 Sam Steingold <sds@gnu.org>
5353 * man.el (Man-getpage-in-background): When running under a
5354 window-system, ignore $MANWIDTH and $COLUMNS.
5356 2011-12-15 Kenichi Handa <handa@m17n.org>
5358 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5359 (setup-ethiopic-environment-internal): Comment out key-binding for
5360 ethio-toggle-punctuation.
5362 2011-12-13 Alan Mackenzie <acm@muc.de>
5364 Add the switch statement to AWK Mode.
5366 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5367 "default" to the keywords regexp.
5369 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5370 expression as the rest.
5371 (c-nonlabel-token-key): Allow string literals for AWK.
5372 Refactor for the other modes.
5374 Large brace-block initialisation makes CC Mode slow: Fix.
5375 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5376 routines. Limit backward searching in c-font-lock-enclosing.decl.
5378 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5379 pp-state and literal type in addition to the limits.
5380 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5381 (c-state-literal-at): Use the above new defun.
5382 (c-slow-in-literal, c-fast-in-literal): Remove.
5383 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5385 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5386 being in a literal. Add a limit for backward searching.
5388 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5391 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5393 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5395 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5397 * window.el (delete-other-windows): Use correct frame in call to
5398 window-with-parameter.
5400 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5402 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5403 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5404 (makefile-gmake-statements, makefile-makepp-statements):
5405 Use it and add new makepp keywords.
5406 (makefile-makepp-font-lock-keywords): Add new patterns.
5407 (makefile-match-function-end): Match new [...] and [[...]].
5409 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5411 * ses.el (ses-call-printer-return, ses-cell-property-get)
5412 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5413 (ses-create-cell-variable, ses-reset-header-string)
5414 (ses-cell-set-formula, ses-repair-cell-reference-all)
5415 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5416 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5417 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5418 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5419 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5420 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5421 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5422 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5423 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5424 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5425 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5426 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5428 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5430 * ses.el: The overall change is to add cell renaming, that is
5431 setting fancy names for cell symbols other than name matching
5432 "\\`[A-Z]+[0-9]+\\'" regexp .
5433 (ses-create-cell-variable): New defun.
5434 (ses-relocate-formula): Relocate formulas only for cells the
5435 symbols of which are not renamed, i.e. symbols whose names do not
5436 match regexp "\\`[A-Z]+[0-9]+\\'".
5437 (ses-relocate-all): Relocate values only for cells the symbols of
5438 which are not renamed.
5439 (ses-load): Create cells variables as the (ses-cell ...) are read,
5440 in order to check row col consistency with cell symbol name only
5441 for cells that are not renamed.
5442 (ses-replace-name-in-formula): New defun.
5443 (ses-rename-cell): New defun.
5445 2011-12-11 Chong Yidong <cyd@gnu.org>
5447 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5448 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5450 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5452 * window.el (other-window): Fix docstring.
5454 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5456 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5457 `from' or `to' address before taking its substring.
5458 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5459 encoded name is chopped in the middle of the encoded string, and
5460 thus displayed encoded.
5462 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5464 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5466 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5468 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5469 to use texinfo-update-node and commands that call it if the
5470 Texinfo file uses @node lines without next/prev/up pointers.
5471 Correct outdated description about texinfo-master-menu.
5472 (texinfo-all-menus-update, texinfo-master-menu)
5473 (texinfo-update-node, texinfo-every-node-update)
5474 (texinfo-multiple-files-update): Doc fix. Warn against updating
5475 all the @node lines.
5476 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5477 argument is numeric. Explain better in the doc string what the
5478 function really does.
5479 (texinfo-insert-master-menu-list): Improve the error message
5480 displayed if there's no menu in the Top node.
5481 (Bug#2975) See also this thread:
5482 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5484 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5486 * speedbar.el (speedbar-supported-extension-expressions):
5487 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5489 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5491 * printing.el (pr-mode-alist):
5492 * simple.el (filter-buffer-substring-functions)
5493 (completion-list-insert-choice-function):
5494 * window.el (window-with-parameter, window-atom-root)
5495 (window-sides-slots, window-size-fixed, window-min-delta)
5496 (window-max-delta, window--resize-mini-window)
5497 (window--resize-child-windows-normal, window-tree)
5498 (delete-other-windows, quit-window, split-window)
5499 (display-buffer-record-window, special-display-buffer-names)
5500 (special-display-regexps, special-display-popup-frame)
5501 (same-window-p, split-window-sensibly)
5502 (display-buffer-overriding-action, display-buffer-alist)
5503 (display-buffer-base-action, display-buffer, switch-to-buffer)
5504 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5505 (fit-window-to-buffer, recenter-positions)
5506 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5507 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5508 and remove unneeded backslashes in docstrings.
5510 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5512 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5514 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5515 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5517 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5518 when reading the makefile (bug#10116).
5520 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5525 2011-12-06 Glenn Morris <rgm@gnu.org>
5527 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5529 2011-12-06 Chong Yidong <cyd@gnu.org>
5531 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5533 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5535 * textmodes/table.el (table-shorten-cell): Fix typo.
5537 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5539 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5541 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5543 * descr-text.el (describe-char): Fix display of strong
5544 right-to-left characters and directional embeddings and overrides.
5546 * simple.el (what-cursor-position): Fix display of codepoints of
5547 strong right-to-left characters.
5549 2011-12-05 Chong Yidong <cyd@gnu.org>
5551 * faces.el (read-color): Doc fix.
5553 2011-12-05 Glenn Morris <rgm@gnu.org>
5555 * align.el (align--set-marker): Add doc-string.
5556 Don't try to move something that is not a marker. (Bug#10216)
5558 2011-12-04 Glenn Morris <rgm@gnu.org>
5560 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5561 overly zealous deletion of trailing whitespace.
5563 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5565 * server.el (server-delete-client): On Windows, do not try to delete
5567 (server-process-filter): On Windows, treat requests for a tty frame as
5568 if they were for a GUI frame if the running server is in GUI mode.
5570 2011-12-03 Glenn Morris <rgm@gnu.org>
5572 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5574 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * electric.el: Streamline electric-indent's hook.
5577 (electric-indent-chars): Revert to simple list.
5578 (electric-indent-functions): New var.
5579 (electric-indent-post-self-insert-function): Use it.
5581 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5582 there's no inferior buffer (bug#10196).
5583 (prolog-consult-compile): Don't use toggle-read-only.
5585 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5587 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5588 interrupt. (Bug#10187)
5590 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5595 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5598 2011-12-02 Juri Linkov <juri@jurta.org>
5600 * info.el (Info-search): Display "end of manual" when Isearch
5601 reaches the end of single-file Info manual. (Bug#9918)
5603 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5605 * isearch.el (isearch-message-prefix): Run the input method part
5606 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5608 2011-12-02 Juri Linkov <juri@jurta.org>
5610 * isearch.el (isearch-occur): Use `word-search-regexp' for
5612 (isearch-search-and-update): Add condition for `isearch-word' and
5613 call `word-search-regexp'. (Bug#10145)
5615 2011-12-01 Glenn Morris <rgm@gnu.org>
5617 * eshell/em-hist.el (eshell-hist-initialize):
5618 Handle eshell-history-size nil and HISTSIZE set or unset.
5619 (eshell-history-file-name, eshell-history-size): Fix custom type.
5621 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5625 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5627 * progmodes/verilog-mode.el (verilog-pretty-expr):
5628 Rework verilog-pretty-expr to handle new assignment operators in system
5629 verilog, such as += *= and the like.
5630 (verilog-assignment-operator-re): Regular expression to find the
5631 assigment operator in a verilog assignment.
5632 (verilog-assignment-operation-re): Regular expression to find an
5633 assignment statement for pretty-expr.
5634 (verilog-in-attribute-p): Query returns true if point is in an
5635 attribute context; used to skip these for expression line up from
5637 (verilog-in-parameter-p): Query returns true if point is in an
5638 parameter definition context; used to skip these for expression
5639 line up from pretty-expr.
5640 (verilog-in-parenthesis-p): Query returns true if point is in a
5641 parenthetical expression, specifically ( ) but not [ ] or { };
5642 used by pretty-expr.
5643 (verilog-just-one-space): If there is no space, don't add one.
5644 (verilog-get-lineup-indent-2): Specifically skip just attribute
5645 contexts for expression lineup, rather than skipping all
5646 parenthetical expressions.
5647 (verilog-calculate-indent): Fix comment, and fix indent.
5648 (verilog-do-indent): Indent declarations in lists (suggested by
5650 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5652 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5655 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5657 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5658 parameters with embedded comments. Reported by Ray Stevens.
5659 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5660 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5661 Reported by Tim Holt.
5662 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5663 instantiated by upper module causing wrong expansion until AUTOed a
5664 second time. Reported by K C Buckenmaier.
5665 (verilog-diff-auto): Fix showing .* as a difference when
5666 `verilog-auto-star-save' off. Reported by Dan Dever.
5667 (verilog-auto-reset, verilog-read-always-signals)
5668 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5669 temporary signals in reset list if
5670 verilog-auto-reset-blocking-in-non is nil, and match assignment
5671 style to each signal's assignment type, bug381.
5672 Reported by Thomas Esposito.
5673 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5674 (verilog-uvm-statement-re): Support UVM indentation and
5675 highlighting, with old OVM keywords only.
5676 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5677 Support AUTOTIEOFF creating non-wire data types.
5678 Suggested by Jonathan Greenlaw.
5679 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5680 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5681 (verilog-inject-sense, verilog-read-inst-pins)
5682 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5683 Fix mismatching parenthesis inside commented out code when deleting
5684 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5685 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5686 non-numeric vector width. Reported by Alex Reed.
5687 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5688 detecting signals with parameter widths. Reported by Alex Reed.
5689 (verilog-auto-delete-trailing-whitespace):
5690 With `verilog-auto-delete-trailing-whitespace' remove trailing
5691 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5692 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5693 Fix verilog-scan-cache corruption when running user AUTO expansion
5694 hooks that call indentation routines.
5695 (verilog-simplify-range-expression): Fix typo ignoring lower case
5697 (verilog-delete-auto): Fix delete-autos to also remove user created
5698 automatics, as long as they start with AUTO.
5699 (verilog-batch-diff-auto, verilog-diff-auto)
5700 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5701 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5702 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5703 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5704 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5705 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5706 is disabled and its cache will get corrupt, causing AUTOS not to
5707 expand. Instead use only -quick functions.
5708 (verilog-scan-region): Fix scanning over escaped quotes.
5709 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5710 (verilog-re-search-backward-quick)
5711 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5712 related functions now ignore strings, to fix misparsing of strings
5713 with magic comments embedded in them.
5714 (verilog-read-auto-template):
5715 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5716 Reported by Brad Dobbie.
5717 (verilog-read-auto-template):
5718 Fix 'verilog-auto-inst-template-numbers' with comments.
5719 Reported by Brad Dobbie.
5720 (verilog-auto-inst, verilog-auto-inst-param)
5721 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5722 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5723 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5724 debugging templates without merge conflicts, bug357.
5725 Reported by Brad Dobbie.
5726 (verilog-read-auto-template):
5727 Fix verilog-auto-inst-template-numbers with multiple templates.
5728 Reported by Brad Dobbie.
5729 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5730 abbrevs so user won't be asked to save.
5731 (verilog-read-auto-lisp-present): Fix to start at beginning of
5732 buffer in case called outside of verilog-auto.
5733 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5734 to "X-2". Reported by Matthew Myers.
5735 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5736 all inputs from module templates. Reported by Leith Johnson.
5737 (verilog-module-inside-filename-p): Fix locating programs as with
5739 (verilog-auto-inst-port): Fix vl-width expressions when using
5740 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5741 (verilog-decls-get-regs, verilog-decls-get-signals,
5742 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5743 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5744 verilog-read-decls): Combine reg and wire structures into one var
5745 structure to represent SystemVerilog concepts.
5746 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5747 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5748 (verilog-auto-wire-type, verilog-insert-definition):
5749 Add verilog-auto-wire-type and AUTOLOGIC to support using
5750 SystemVerilog "logic" keyword instead of "wire"/"reg".
5751 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5752 to declares outputs that also have assignments (presumably in an
5753 ifdef or generate if so there's not a driver conflict).
5754 Reported by Matthew Myers.
5755 (verilog-auto-declare-nettype, verilog-insert-definition):
5756 Add verilog-auto-declare-nettype to fix declarations using
5757 `default_nettype none. Reported by Julian Gorfajn.
5758 (verilog-read-always-signals-recurse, verilog-read-decls)
5759 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5760 malformed end statement, bug325. Reported by Joshua Wise and
5762 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5763 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5764 when expanding .* in interfaces, bug320.
5765 Reported by Pierre-David Pfister.
5766 (verilog-read-module-name): Fix import statements between module
5767 name and open parenthesis, bug317.
5768 Reported by Pierre-David Pfister.
5769 (verilog-simplify-range-expression): Fix simplification of
5770 multiplications inside AUTOWIRE connections, bug303.
5771 (verilog-auto-inst-port): Support parameter expansion in
5772 multidimensional arrays.
5773 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5774 after "assert property". Reported by Julian Gorfajn.
5775 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5776 with multiplication, bug303.
5777 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5778 Reported by Jan Frode Lonnum.
5780 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5782 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5783 (hfy-shell-file-name, hfy-shell):
5784 * international/fontset.el (x-decompose-font-name): Fix typos.
5786 2011-11-29 Ken Brown <kbrown@cornell.edu>
5788 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5789 (gdb-version): Remove defvar.
5790 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5791 (gdb-gud-context-command, gdb-non-stop-handler)
5792 (gdb-current-context-command, gdb-stopped): Use it.
5793 (gdb-init-1): Enable pretty printing here.
5794 (gdb-non-stop-handler): Don't enable pretty-printing here.
5795 Check to see if the target supports non-stop mode; if not, turn off
5796 non-stop mode. Use the following.
5797 (gdb-check-target-async): New defun.
5798 (gud-watch, gdb-stopped): Fix whitespace.
5799 (gdb-get-source-file): Don't try to display the source file if
5800 `gdb-main-file' is nil.
5802 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * align.el: Try to generate fewer markers (bug#10047).
5805 (align--set-marker): New macro.
5806 (align-region): Use it.
5808 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5810 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5812 2011-11-29 Chong Yidong <cyd@gnu.org>
5814 * indent.el (indent-for-tab-command, indent-according-to-mode):
5816 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5818 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5820 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5821 aware of remote file names. (Bug#10124)
5823 2011-11-29 Chong Yidong <cyd@gnu.org>
5825 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5827 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * files.el (find-file): Don't use force-same-window (bug#10144).
5830 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5831 use pop-to-buffer if the selected window can't be used.
5832 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5834 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5836 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5839 2011-11-28 Chong Yidong <cyd@gnu.org>
5841 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5843 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5845 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5846 gdb-get-source-file-list on gdb-create-source-file-list.
5848 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5850 * whitespace.el (whitespace-newline): Use a different foreground
5851 color for 16-color light-background displays.
5853 2011-11-24 Chong Yidong <cyd@gnu.org>
5855 * window.el (display-buffer--special-action): Doc fix.
5857 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5859 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5860 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5861 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5862 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5863 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5864 (avl-tree-stack-first):
5865 * emacs-lisp/cconv.el (cconv--analyse-use):
5866 * net/gnutls.el (gnutls-negotiate): Fix typos.
5868 2011-11-24 Glenn Morris <rgm@gnu.org>
5870 * lpr.el (lpr-windows-system, lpr-lp-system):
5871 * mail/binhex.el (binhex-begin-line):
5872 * progmodes/grep.el (grep-history, grep-find-history):
5873 * textmodes/flyspell.el:
5874 * vc/pcvs-defs.el (cvs-global-menu):
5875 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5876 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5877 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5879 * net/tls.el: Fix case of "GnuTLS".
5881 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5883 * version.el (emacs-build-system): Give it a doc-string.
5885 2011-11-24 Juri Linkov <juri@jurta.org>
5887 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5889 2011-11-24 Glenn Morris <rgm@gnu.org>
5891 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5892 if called on a non-mime message just toggle the headers. (Bug#8006)
5894 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5896 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5897 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5898 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5899 (allout-rebullet-heading, allout-open-sibtopic)
5900 (allout-toggle-current-subtree-encryption)
5901 (allout-toggle-subtree-encryption, allout-encrypt-string)
5902 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5903 (allout-distinctive-bullets-string, allout-auto-activation):
5904 * window.el (window-normalize-buffer-to-display):
5905 * progmodes/verilog-mode.el (verilog-batch-indent):
5906 * textmodes/bibtex.el (bibtex-field-braces-opt)
5907 (bibtex-field-strings-opt):
5908 * vc/cvs-status.el (cvs-tree-merge):
5911 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5913 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5914 `non-essential' to t, in order to avoid remote connections.
5916 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5918 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5919 On MS-DOS and MS-Windows, compare with loaddefs.el
5922 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5924 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5926 2011-11-23 Glenn Morris <rgm@gnu.org>
5928 * paths.el (rmail-file-name): Reformat the doc-string so that it
5931 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5932 (rmail-auto-file): Ignore case in the "special" field names,
5933 as mail-fetch-field does for all others.
5935 * mail/rmail.el (rmail-forward):
5936 * mail/rmailkwd.el (rmail-set-label):
5937 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5938 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5940 * mail/rmail.el (rmail-current-message): Doc fix.
5942 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5944 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5946 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5948 2011-11-22 Glenn Morris <rgm@gnu.org>
5950 * mail/rmailmm.el (test-rmail-mime-handler)
5951 (test-rmail-mime-bulk-handler)
5952 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5954 2011-11-21 Juri Linkov <juri@jurta.org>
5956 * calc/calc.el (calc-read-key-sequence):
5957 Let-bind `input-method-function' to nil. (Bug#10018)
5959 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5962 Tell the caller that the next line needs recomputation, even
5963 though it doesn't start a sexp (bug#10094).
5965 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5969 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5972 Use force-same-window.
5974 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5976 * descr-text.el (describe-char-unicode-data):
5977 * json.el (json-string-escape):
5978 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5979 (Footnote-unicode, Footnote-style-p):
5980 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5982 2011-11-20 Chong Yidong <cyd@gnu.org>
5984 * window.el (replace-buffer-in-windows): Restore interactive spec.
5986 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5988 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5990 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5991 (byte-compile-global-not-obsolete-vars): New var.
5992 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5994 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5996 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5998 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5999 * progmodes/pascal.el (electric-pascal-equal):
6000 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6001 * xml.el (xml-substitute-special): Fix typos.
6003 2011-11-20 Glenn Morris <rgm@gnu.org>
6005 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6006 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6008 (rmail-decode-mime-charset): Mark as obsolete.
6010 * mail/rmailsum.el (rmail-message-regexp-p-1):
6011 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6012 Before using mime functions, check they are set. (Bug#10077)
6014 2011-11-19 Juri Linkov <juri@jurta.org>
6016 * info.el (Info-finder-find-node): Use `package--builtins' instead
6017 of `package-alist'. Use node names formed by the pattern "Keyword "
6018 and the keyword name.
6020 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6022 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6024 2011-11-19 Juri Linkov <juri@jurta.org>
6026 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6027 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6028 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6029 `old-history', `old-history-forward'. Add let-binding
6030 `window-selected'. Remove calls to `kill-buffer',
6031 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6032 before calling `Info-find-node', so `Info-find-node-2' will reread
6033 the Info file. Restore window positions only when `window-selected'
6036 2011-11-19 Juri Linkov <juri@jurta.org>
6038 * isearch.el (isearch-lazy-highlight-new-loop):
6039 Remove condition `(not isearch-error)'. (Bug#9918)
6041 * misearch.el (multi-isearch-search-fun): Add condition
6042 `(not bound)' to ignore lazy-highlighting search.
6043 Add the search-failed message "end of multi" when the end of
6044 multi-sequence is reached. Uncapitalize the search-failed
6045 message "Repeat for next buffer".
6047 * info.el (Info-search): Add the search-failed message
6048 "end of the manual" when the end of the manual is reached
6051 2011-11-19 Juri Linkov <juri@jurta.org>
6053 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6054 Use non-destructive `remove' instead of `delete' because
6055 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6056 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6058 2011-11-19 Juri Linkov <juri@jurta.org>
6060 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6061 to nil instead of binding `search-ring' and `regexp-search-ring'.
6064 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6066 * simple.el (line-move): Force movement by logical lines for any
6067 hscrolled window, not only when auto-hscroll-mode is on.
6068 (line-move-visual): Update doc string to that effect. (Bug#10076)
6070 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6072 * language/european.el (macintosh): Define as alias for mac-roman.
6074 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6076 * mail/rmailmm.el (rmail-mime-display-header)
6077 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6078 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6079 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6080 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6081 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6083 (rmail-mime-entity-segment): To get past the tagline, move forward
6084 2 more lines, to account for the 2 empty lines that precede and
6085 follow the line with the buttons.
6086 (rmail-mime-update-tagline): Move one more line, to get past the
6087 empty line that follows the buttons in the tagline. (Bug#9520)
6089 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6091 * window.el (window-max-delta-1, window-min-delta-1)
6092 (window-min-size-1, window-state-get-1, window-state-put-1)
6093 (window-state-put-2): Use "window--" prefix.
6095 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6097 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6098 (smie-warning-count): New var.
6099 (smie-set-prec2tab): Use it.
6100 (smie-bnf->prec2): Improve warnings. Add docstring.
6101 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6102 (smie-bnf--set-class): New function.
6103 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6106 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6107 (compilation-error-properties, compilation-move-to-column):
6108 Handle compilation-first-column while in the target buffer.
6110 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6111 Don't hardcode point-min==1.
6113 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6114 (eshell-rewrite-for-command): Remove workaround.
6115 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6116 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6117 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6119 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6121 2011-11-17 Glenn Morris <rgm@gnu.org>
6123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6124 Ignore buffer-local generated-autoload-file if it is the same
6125 as the global value. (Bug#10049)
6127 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6129 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6130 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6131 (reftex-toc-previous-heading, reftex-toc-max-level)
6132 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6133 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6134 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6135 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6136 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6137 (reftex-toc-rename-label, reftex-toc-visit-location)
6138 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6139 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6140 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6141 leaving "*toc*" only for references to the buffer.
6143 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6145 * window.el (window-resize, delete-window, split-window):
6146 Replace window-splits by window-combination-resize.
6147 * cus-start.el (window-splits): Replace by window-combination-resize.
6149 2011-11-17 Glenn Morris <rgm@gnu.org>
6151 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6152 Make bash entry derive from sh entry, not shell entry.
6154 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6156 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6157 properties of linked files. (Bug#9879)
6159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6162 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6164 * menu-bar.el (menu-bar-file-menu):
6165 * printing.el (pr-ps-utility):
6166 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6167 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6168 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6169 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6170 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6171 (icalendar--convert-cyclic-to-ical)
6172 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6173 (icalendar--convert-ical-to-diary)
6174 (icalendar--convert-recurring-to-diary)
6175 (icalendar--convert-non-recurring-all-day-to-diary)
6176 (icalendar-import-format-sample):
6177 * progmodes/idlw-shell.el (idlwave-shell-mode):
6178 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6179 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6180 (vhdl-ps-print-init): Fix typos.
6182 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6184 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6185 FSF and collapse date sequence, obscure author/maintainer email address
6186 better, remove extra version line, track relocation of author's webpage.
6188 * progmodes/python.el (python-pdbtrack-input-prompt)
6189 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6190 regular python pdb prompts. Adjustments shamelessly taken exactly as
6191 suggested in EmacsWiki page (tiny change):
6192 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6194 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6196 * expand.el (expand-pos, expand-index, expand-point):
6197 Remove redundant info from docstring.
6198 (expand-add-abbrevs): Doc fix.
6199 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6200 (expand-sample-perl-mode-expand-list): Fix typos.
6202 * net/dbus.el (dbus-event-member-name):
6203 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6204 * term/pc-win.el (msdos-create-frame-with-faces):
6205 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6207 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6209 * window.el (split-window, window-state-get-1)
6210 (window-state-put-1, window-state-put-2): Rename occurrences of
6211 window-nest to window-combination-limit.
6212 * cus-start.el (window-nest): Rename to window-combination-limit.
6214 2011-11-16 Chong Yidong <cyd@gnu.org>
6216 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6219 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6221 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6222 `completing-read' will remove *Completions* and will preserve
6223 current-buffer for us.
6224 (tmm-add-prompt): Users of *Completions* will always (re)set its
6226 (tmm-old-comp-map): Remove.
6228 2011-11-16 Glenn Morris <rgm@gnu.org>
6230 * mail/rmailedit.el: Require rmailmm when compiling.
6231 (rmail-old-mime-state): New declaration.
6232 (rmail-edit-current-message): If editing a mime message,
6233 edit the "raw" message from the mbox buffer.
6234 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6236 2011-11-15 Glenn Morris <rgm@gnu.org>
6238 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6239 which wasn't being used. Add optional arg to force given state.
6240 (rmail-mime): Add optional arg to force given state.
6242 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6244 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6245 * frame.el (display-mm-dimensions-alist):
6246 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6247 (outline-move-subtree-down):
6248 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6249 (newsticker--treeview-do-get-node):
6250 * net/quickurl.el (quickurl-list-buffer-name):
6251 * progmodes/dcl-mode.el (dcl-mode):
6252 * progmodes/gdb-mi.el (gdb-mapcar*):
6253 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6255 2011-11-15 Glenn Morris <rgm@gnu.org>
6257 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6258 in a boolean sense, so just make it a boolean, and fix the doc.
6259 (rmail-show-mime-function, rmail-mime-feature)
6260 (rmail-require-mime-maybe): Doc fixes.
6261 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6263 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6265 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6267 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6268 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6269 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6270 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6272 2011-11-15 Glenn Morris <rgm@gnu.org>
6274 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6275 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6276 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6277 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6278 (rmail-mime, rmail-show-mime): Doc fixes.
6280 * term/ns-win.el (mode-line-frame-identification):
6281 Leave it alone. (Bug#10051)
6283 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6285 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6286 Handle empty buffers. (Bug#9978)
6288 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6290 * international/mule.el (define-charset):
6291 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6292 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6293 * progmodes/verilog-mode.el (verilog-backward-token):
6294 * textmodes/ispell.el (lookup-words):
6295 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6297 2011-11-14 Glenn Morris <rgm@gnu.org>
6299 * progmodes/executable.el
6300 (executable-make-buffer-file-executable-if-script-p):
6301 Handle file-modes returning nil.
6303 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6304 message - not necessary, and causes problems. (Bug#9831)
6306 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6308 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6310 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6311 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6312 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6314 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6316 * window.el (window-resize, delete-window): Use window-splits
6317 variable instead of function.
6318 (window-state-get-1, window-state-put-2, window-state-put):
6319 Don't deal with windows' splits status.
6321 2011-11-12 Glenn Morris <rgm@gnu.org>
6323 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6324 (apropos-documentation): Doc fixes.
6326 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6328 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6329 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6331 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * electric.el (electric-indent-post-self-insert-function): Make it
6334 possible for a char to only indent in some circumstances.
6335 (electric-indent-mode): Simplify.
6337 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6339 * window.el (windows-with-parameter): Remove unused function.
6340 (windows-at-side): Rename to window-at-side-list.
6341 (window-check, window-atom-check, window-atom-check-1)
6342 (window-side-check, window-size-ignore, window-size-fixed-1)
6343 (window-in-direction-2): Prefix with "window--".
6344 (window-tree-1): Rename to window--subtree, fix doc-string.
6346 2011-11-11 Glenn Morris <rgm@gnu.org>
6348 * subr.el (eval-after-load): If FILE is already loaded,
6349 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6351 2011-11-10 Glenn Morris <rgm@gnu.org>
6353 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6354 Call svn via vc-svn-command rather than vc-do-command.
6355 (vc-svn-command): Add --non-interactive. (Bug#9993)
6356 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6358 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6359 Add toggle-read-only. (Bug#7292)
6360 * files.el (toggle-read-only): Mention that it should only
6361 be used interactively. (Bug#10006)
6363 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6366 Adjust regexp for OCaml warnings.
6368 * electric.el (electric-pair-post-self-insert-function): Let user
6369 turn it off buffer-locally (bug#9932).
6371 * progmodes/python.el (python-beginning-of-statement):
6374 * progmodes/compile.el: Better handle TABs (bug#9749).
6375 (compilation-internal-error-properties)
6376 (compilation-next-error-function): Obey the target buffer's
6377 compilation-error-screen-columns.
6379 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6381 * progmodes/meta-mode.el: Remove obsolete comments.
6382 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6383 Fix typos in docstrings.
6385 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6387 * window.el (window-size-fixed-p): Rewrite doc-string.
6388 (window-resizable-p): Rename to window--resizable-p. Update callers.
6389 (window--resizable): New function. Make all callers of
6390 window-resizable call window--resizable instead.
6391 (window-resizable): Rewrite in terms of window--resizable.
6393 2011-11-08 Glenn Morris <rgm@gnu.org>
6395 * progmodes/delphi.el (delphi-mode-syntax-table):
6396 Let define-derived-mode define a proper syntax table. (Bug#9994)
6398 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * window.el: Stay away from defsubst.
6401 (window-list-no-nils): Remove.
6402 (window-state-get-1, window-state-get): Use backquote instead.
6404 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6406 * emacs-lisp/find-func.el (find-function-read):
6407 Fix incorrect use of default argument in `completing-read'.
6409 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6411 * window.el (display-buffer-function, special-display-function):
6412 Mention display-buffer-record-window but do not mention
6413 help-setup parameter in doc-strings.
6414 (window-min-delta): Fix doc-string typo.
6416 2011-11-08 Chong Yidong <cyd@gnu.org>
6418 * window.el (window-total-height, window-total-width): Doc fix.
6419 (window-body-size): Move from C.
6420 (window-body-height, window-body-width): Move to C.
6422 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6424 * window.el: Make special-display like display-buffer-alist (bug#9532).
6425 (display-buffer--special-action): New function, morphed
6426 from display-buffer--special.
6427 (display-buffer): Use it to handle special-display-buffers at higher
6428 priority (just after display-buffer-alist).
6429 (display-buffer-fallback-action, display-buffer--other-frame-action)
6430 (pop-to-buffer-same-window): Remove display-buffer--special.
6432 2011-11-07 Glenn Morris <rgm@gnu.org>
6434 * calendar/cal-menu.el (cal-menu-set-date-title):
6435 Do nothing if not in a calendar. (Bug#9976)
6437 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * files.el (find-file): Always use selected-window.
6441 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6443 * window.el (window-combinations): Make WINDOW argument
6444 mandatory. Rewrite doc-string.
6445 (walk-window-subtree, window-atom-check, window-min-delta)
6446 (window-max-delta, window--resize-this-window)
6447 (window--resize-root-window-vertically, window-tree)
6448 (balance-windows, window-state-put): Rewrite doc-strings as to
6449 not mention the term "subwindow".
6450 (window--resize-subwindows-skip-p): Rename to
6451 window--resize-child-windows-skip-p.
6452 (window--resize-subwindows-normal): Rename to
6453 window--resize-child-windows-normal.
6454 (window--resize-subwindows): Rename to
6455 window--resize-child-windows.
6456 (window-or-subwindow-p): Rename to window--in-subtree-p.
6458 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6460 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6461 Ensure that mbox format messages end in two newlines (Bug#9974).
6463 2011-11-06 Chong Yidong <cyd@gnu.org>
6465 * window.el (window-combination-p): Function deleted; its
6466 side-effect is not used in any existing code.
6467 (window-combinations, window-combined-p): Call window-*-child
6470 2011-11-05 Chong Yidong <cyd@gnu.org>
6472 * window.el (window-valid-p): Rename from window-any-p.
6473 (window-size-ignore, window-state-get): Callers changed.
6474 (window-normalize-window): Rename from window-normalize-any-window.
6475 New arg LIVE-ONLY, replacing window-normalize-live-window.
6476 (window-normalize-live-window): Delete.
6477 (window-combination-p, window-combined-p, window-combinations)
6478 (walk-window-subtree, window-atom-root, window-min-size)
6479 (window-sizable, window-sizable-p, window-size-fixed-p)
6480 (window-min-delta, window-max-delta, window-resizable)
6481 (window-resizable-p, window-full-height-p, window-full-width-p)
6482 (window-current-scroll-bars, window-point-1, set-window-point-1)
6483 (window-at-side-p, window-in-direction, window-resize)
6484 (adjust-window-trailing-edge, maximize-window, minimize-window)
6485 (window-deletable-p, delete-window, delete-other-windows)
6486 (record-window-buffer, unrecord-window-buffer)
6487 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6488 (quit-window, split-window, window-state-put)
6489 (set-window-text-height, fit-window-to-buffer)
6490 (shrink-window-if-larger-than-buffer): Callers changed.
6492 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6494 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6495 rfc2047-decode-string.
6496 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6499 * window.el (window-body-height, window-body-width): Mention in
6500 the doc string that the return values are in frame's canonical
6503 2011-11-03 Alan Mackenzie <acm@muc.de>
6505 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6506 change in cc-engine.el.
6508 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6512 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6514 * window.el (quit-window): Call unrecord-window-buffer after
6515 showing another buffer in the window. (Bug#9937)
6516 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6518 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6520 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6521 Accept status with more than 9 shelves. (Bug#9935)
6522 Reported by Colin D Bennett <colin@gibibit.com>.
6524 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6526 * help.el (with-help-window): Don't reference
6527 temp-buffer-show-specifiers in doc-string.
6529 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6531 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6534 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6536 * whitespace.el: New version 13.2.2.
6537 (whitespace-newline-mode): Disable properly. Reported by Sarah
6540 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6542 * net/newst-treeview.el: Remove "Time-stamp".
6543 (newsticker--group-manage-orphan-feeds): Do not call
6544 newsticker--treeview-tree-update.
6545 (newsticker-treeview-update, newsticker-treeview):
6546 Call newsticker--treeview-tree-update if necessary.
6548 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6550 * window.el (window-iso-combination-p, window-iso-combined-p)
6551 (window-iso-combinations): Remove "iso-" infix.
6552 Suggested by Chong Yidong.
6553 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6554 (window-max-delta-1, window-resize, window--resize-siblings)
6555 (window--resize-this-window, adjust-window-trailing-edge)
6556 (split-window, balance-windows-1)
6557 (shrink-window-if-larger-than-buffer):
6558 * calendar/calendar.el (calendar-generate-window):
6559 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6561 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6564 in place (bug#9907).
6565 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6566 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6567 (eshell-structure-basic-command, eshell-rewrite-while-command)
6568 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6569 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6570 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6571 (eshell-do-pipelines-synchronously, eshell-eval-command):
6572 Use backquotes and prefer setq to set.
6573 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6574 (eshell-macrop): Use functionp.
6575 (eshell-do-eval): Handle multiple expressions in `while' body.
6577 2011-10-30 Chong Yidong <cyd@gnu.org>
6579 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6580 instead of set-mark (Bug#9810).
6582 2011-10-30 Chong Yidong <cyd@gnu.org>
6584 * window.el (split-window-below, split-window-right): Rename from
6585 split-window-above-each-other and split-window-side-by-side
6586 respectively. All callers changed.
6587 (split-window-sensibly, split-window-sensibly): Use them.
6588 (split-window-keep-point): Doc fix.
6590 * isearch.el: Add isearch-scroll property to split-window-below
6591 and split-window-right.
6593 * follow.el (follow-mode):
6594 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6595 * progmodes/ada-xref.el (ada-gdb-application):
6596 * emulation/vip.el (vip-buffer-in-two-windows):
6597 * image-dired.el (image-dired-dired-with-window-configuration):
6598 * dired-x.el (dired-do-find-marked-files):
6599 * dired.el (dired-pop-to-buffer):
6600 * bs.el (bs--show-with-configuration):
6601 * vc/emerge.el (emerge-setup-windows):
6602 * textmodes/two-column.el (2C-two-columns):
6603 * textmodes/reftex-toc.el (reftex-toc):
6604 * progmodes/gdb-mi.el (gdb-setup-windows):
6605 * progmodes/fortran.el (fortran-window-create):
6606 * net/newst-treeview.el (newsticker--treeview-window-init):
6607 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6608 * emulation/tpu-edt.el (tpu-gold-map):
6609 * emulation/crisp.el (crisp-mode-map):
6610 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6612 2011-10-29 Chong Yidong <cyd@gnu.org>
6614 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6616 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6618 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6619 forged Ispell output (Bug#7904).
6621 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6623 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6625 * doc-view.el: Avoid ugly errors about not finding nil.
6626 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6627 (doc-view-dvipdf-program, doc-view-unoconv-program)
6628 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6629 Avoid nil or absolute file name as default value.
6630 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6632 2011-10-28 Alan Mackenzie <acm@muc.de>
6634 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6636 2011-10-28 Alan Mackenzie <acm@muc.de>
6638 Amend the handling of c-beginning/end-of-defun in nested declaration
6641 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6642 cc-langs.el. Change it to a defcustom.
6644 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6647 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6648 Prevent "class foo : bar" being spuriously recognized as a label.
6650 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6651 Add parameter `inclusive' (to include enclosing braces in the region).
6652 (c-widen-to-enclosing-decl-scope): New function.
6653 (c-while-widening-to-decl-block): New macro.
6654 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6655 outward for defun boundaries, and correspondingly change symbol
6656 `respect-enclosure' to `go-outward'.
6657 (c-declaration-limits): Change algorithm to report only the "innermost"
6660 2011-10-28 Deniz Dogan <deniz@dogan.se>
6662 * net/rcirc.el (rcirc-mode): Use hard newlines.
6664 2011-10-28 Alan Mackenzie <acm@muc.de>
6666 Amend to indent and fontify macros "which include their own semicolon"
6667 correctly, using the "virtual semicolon" mechanism.
6669 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6672 Recode to scan one line at a time rather than having \n and \r
6673 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6674 (c-forward-label): Amend for virtual semicolons.
6675 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6677 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6678 of the new C macros.
6680 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6681 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6682 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6683 (c-opt-cpp-macro-define): Make into a full language variable.
6684 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6685 AWK Mode (including \n, \r) removed, no longer needed.
6687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6688 Invoke c-make-macro-with-semi-re.
6690 * progmodes/cc-vars.el (c-macro-with-semi-re):
6691 (c-macro-names-with-semicolon): New variables.
6692 (c-make-macro-with-semi-re): New function.
6694 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * vc/log-edit.el: Fill empty field rather than adding new one.
6697 (log-edit-add-field): New function.
6698 (log-edit-insert-changelog): Use it.
6700 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6702 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6704 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6707 (gdb--check-interpreter): New function.
6710 2011-10-27 Glenn Morris <rgm@gnu.org>
6712 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6713 (least-positive-float, least-negative-float)
6714 (least-positive-normalized-float, least-negative-normalized-float)
6715 (float-epsilon, float-negative-epsilon):
6716 Remove unnecessary declarations.
6718 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6719 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6720 (least-positive-float, least-negative-float)
6721 (least-positive-normalized-float, least-negative-normalized-float)
6722 (float-epsilon, float-negative-epsilon): Add doc-strings,
6723 based on those in cl.texi.
6725 * files.el (set-visited-file-name): If the major-mode changed,
6726 reload the local variables. (Bug#9796)
6728 2011-10-27 Chong Yidong <cyd@gnu.org>
6730 * subr.el (change-major-mode-after-body-hook): New hook.
6731 (run-mode-hooks): Run it.
6733 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6734 Use change-major-mode-before-body-hook.
6736 * simple.el (fundamental-mode):
6737 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6738 change introducing fundamental-mode-hook.
6740 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6742 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6744 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6746 * ido.el (ido-file-name-all-completions-1): Do not require
6747 tramp.el explicitly. (Bug#7583)
6749 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * progmodes/octave-mod.el:
6752 * progmodes/octave-inf.el: Update maintainer.
6754 2011-10-26 Chong Yidong <cyd@gnu.org>
6756 * subr.el (with-wrapper-hook): Rewrite doc.
6758 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6760 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6761 filenames "/method:foo:". (Bug#9793)
6763 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6768 2011-10-24 Glenn Morris <rgm@gnu.org>
6770 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6772 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6774 * notifications.el: Add the requirement of a running D-Bus session
6775 bus to the Commentary.
6777 2011-10-24 Juri Linkov <juri@jurta.org>
6779 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6780 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6783 2011-10-24 Juri Linkov <juri@jurta.org>
6785 * info.el (Info-following-node-name-re): Add newline to the list
6786 of allowed characters for leading space. (Bug#9824)
6788 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * progmodes/octave-inf.el (inferior-octave-mode-map):
6791 Fix C-c C-h binding.
6792 * progmodes/octave-mod.el (octave-help): Remove.
6794 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6796 Sync with Tramp 2.2.3.
6798 * net/tramp-cache.el (top): Pacify byte-compiler using
6799 `init-file-user' and `site-run-file'.
6801 * net/trampver.el: Update release number.
6803 2011-10-23 Chong Yidong <cyd@gnu.org>
6805 * files.el (toggle-read-only): Remove obsolete comment about
6808 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6809 for toggle-read-only. Note that this hasn't called vc-next-action
6810 since 2008-05-02, though it wasn't documented at the time.
6812 * vc/ediff-init.el (ediff-toggle-read-only-function):
6813 Use toggle-read-only.
6815 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6817 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6820 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6821 correct faulty logical expression.
6822 (c-parse-state-state, c-record-parse-state-state):
6823 (c-replay-parse-state-state): New defvar/defuns.
6824 (c-debug-parse-state): Use new functions.
6826 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6828 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6829 last fix. Use window-in-direction correctly.
6831 2011-10-21 Chong Yidong <cyd@gnu.org>
6833 * progmodes/idlwave.el (idlwave-mode):
6834 * progmodes/vera-mode.el (vera-mode): No need to set
6835 require-final-newline; that's done in prog-mode.
6836 Suggested by Stefan Monnier.
6838 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6840 * mouse.el (mouse-drag-window-above)
6841 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6842 (mouse-drag-mode-line-1, mouse-drag-header-line)
6843 (mouse-drag-vertical-line-rightward-window): Remove.
6844 (mouse-drag-line): New function.
6845 (mouse-drag-mode-line, mouse-drag-header-line)
6846 (mouse-drag-vertical-line): Call mouse-drag-line.
6847 * window.el (window-at-side-p, windows-at-side): New functions.
6849 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6851 * tar-mode.el (tar-grind-file-mode):
6852 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6854 2011-10-21 Chong Yidong <cyd@gnu.org>
6856 * progmodes/idlwave.el (idlwave-mode):
6857 * progmodes/vera-mode.el (vera-mode):
6858 Use mode-require-final-newline.
6860 2011-10-20 Glenn Morris <rgm@gnu.org>
6862 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6864 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6866 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6868 2011-10-20 Chong Yidong <cyd@gnu.org>
6870 * emulation/cua-base.el (cua-mode):
6871 * mail/footnote.el (footnote-mode):
6872 * mail/mailabbrev.el (mail-abbrevs-mode):
6873 * net/xesam.el (xesam-minor-mode):
6874 * progmodes/bug-reference.el (bug-reference-mode):
6875 * progmodes/cap-words.el (capitalized-words-mode):
6876 * progmodes/compile.el (compilation-minor-mode)
6877 (compilation-shell-minor-mode):
6878 * progmodes/gud.el (gud-tooltip-mode):
6879 * progmodes/hideif.el (hide-ifdef-mode):
6880 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6881 * progmodes/subword.el (subword-mode):
6882 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6883 * progmodes/which-func.el (which-function-mode):
6884 * term/tvi970.el (tvi970-set-keypad-mode):
6885 * term/vt100.el (vt100-wide-mode):
6886 * textmodes/flyspell.el (flyspell-mode):
6887 * textmodes/ispell.el (ispell-minor-mode):
6888 * textmodes/nroff-mode.el (nroff-electric-mode):
6889 * textmodes/paragraphs.el (use-hard-newlines):
6890 * textmodes/refill.el (refill-mode):
6891 * textmodes/reftex.el (reftex-mode):
6892 * textmodes/rst.el (rst-minor-mode):
6893 * textmodes/sgml-mode.el (html-autoview-mode)
6894 (sgml-electric-tag-pair-mode):
6895 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6896 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6897 * emulation/crisp.el (crisp-mode):
6898 * emacs-lisp/eldoc.el (eldoc-mode):
6899 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6900 minor mode behavior.
6902 2011-10-19 Juri Linkov <juri@jurta.org>
6904 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6905 the list of hard-coded chars with escape-glyph face.
6907 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6909 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6911 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6913 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6916 2011-10-19 Glenn Morris <rgm@gnu.org>
6918 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6919 Ignore ignored files. (Bug#9726)
6921 2011-10-19 Chong Yidong <cyd@gnu.org>
6923 Doc fix for minor modes, stating that an omitted argument enables
6924 the mode unconditionally when called from Lisp.
6926 * abbrev.el (abbrev-mode):
6927 * allout.el (allout-mode):
6928 * autoinsert.el (auto-insert-mode):
6929 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6930 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6931 (global-auto-revert-mode):
6932 * battery.el (display-battery-mode):
6933 * composite.el (global-auto-composition-mode)
6934 (auto-composition-mode):
6935 * delsel.el (delete-selection-mode):
6936 * desktop.el (desktop-save-mode):
6937 * dired-x.el (dired-omit-mode):
6938 * dirtrack.el (dirtrack-mode):
6939 * doc-view.el (doc-view-minor-mode):
6940 * double.el (double-mode):
6941 * electric.el (electric-indent-mode, electric-pair-mode):
6942 * emacs-lock.el (emacs-lock-mode):
6943 * epa-hook.el (auto-encryption-mode):
6944 * follow.el (follow-mode):
6945 * font-core.el (font-lock-mode):
6946 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6947 * help.el (temp-buffer-resize-mode):
6948 * hilit-chg.el (highlight-changes-mode)
6949 (highlight-changes-visible-mode):
6950 * hi-lock.el (hi-lock-mode):
6951 * hl-line.el (hl-line-mode, global-hl-line-mode):
6952 * icomplete.el (icomplete-mode):
6953 * ido.el (ido-everywhere):
6954 * image-file.el (auto-image-file-mode):
6955 * image-mode.el (image-minor-mode):
6956 * iswitchb.el (iswitchb-mode):
6957 * jka-cmpr-hook.el (auto-compression-mode):
6958 * linum.el (linum-mode):
6959 * longlines.el (longlines-mode):
6960 * master.el (master-mode):
6961 * mb-depth.el (minibuffer-depth-indicate-mode):
6962 * menu-bar.el (menu-bar-mode):
6963 * minibuf-eldef.el (minibuffer-electric-default-mode):
6964 * mouse-sel.el (mouse-sel-mode):
6965 * msb.el (msb-mode):
6966 * mwheel.el (mouse-wheel-mode):
6967 * outline.el (outline-minor-mode):
6968 * paren.el (show-paren-mode):
6969 * recentf.el (recentf-mode):
6970 * reveal.el (reveal-mode, global-reveal-mode):
6971 * rfn-eshadow.el (file-name-shadow-mode):
6972 * ruler-mode.el (ruler-mode):
6973 * savehist.el (savehist-mode):
6974 * scroll-all.el (scroll-all-mode):
6975 * scroll-bar.el (scroll-bar-mode):
6976 * server.el (server-mode):
6977 * shell.el (shell-dirtrack-mode):
6978 * simple.el (auto-fill-mode, transient-mark-mode)
6979 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6980 (line-number-mode, column-number-mode, size-indication-mode)
6981 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6982 * strokes.el (strokes-mode):
6983 * time.el (display-time-mode):
6984 * t-mouse.el (gpm-mouse-mode):
6985 * tool-bar.el (tool-bar-mode):
6986 * tooltip.el (tooltip-mode):
6987 * type-break.el (type-break-mode-line-message-mode)
6988 (type-break-query-mode):
6989 * view.el (view-mode):
6990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6991 (global-whitespace-mode, global-whitespace-newline-mode):
6992 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6995 Fix autogenerated docstring.
6997 2011-10-19 Juri Linkov <juri@jurta.org>
6999 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7000 by checking environment variables "DESKTOP_SESSION" and
7001 "XDG_CURRENT_DESKTOP". (Bug#9779)
7003 2011-10-19 Juri Linkov <juri@jurta.org>
7005 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7006 (browse-url-chromium-program, browse-url-chromium-arguments):
7008 (browse-url-default-browser): Check for `browse-url-chromium' and
7009 call `browse-url-chromium-program'.
7010 (browse-url-chromium): New command. (Bug#9779)
7012 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7014 * facemenu.el (list-colors-duplicates): On Windows, detect more
7015 duplicates by assuming that only colors matching "^System" are
7016 special "system colors". (Bug#9722)
7018 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7021 to distinguish the author from the committer.
7023 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7025 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7027 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7029 * international/mule.el (sgml-html-meta-auto-coding-function):
7030 Add support for detecting encoding in HTML5 specified only as
7031 <meta charset="UTF-8">. Implementation just makes http-equiv and
7032 content-type parts from HTML4 encoding string optional. (Bug#9716)
7034 2011-10-18 Glenn Morris <rgm@gnu.org>
7036 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7038 2011-10-18 Chong Yidong <cyd@gnu.org>
7040 * faces.el (cursor): Doc fix.
7042 2011-10-17 Chong Yidong <cyd@gnu.org>
7044 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7046 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7048 * dirtrack.el (dirtrack): Support shell buffers with path
7049 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7051 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7053 * json.el: Bump version to 1.3 and note change in History.
7054 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7056 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7058 * comint.el (comint-insert-input, comint-send-input)
7059 (comint-get-old-input-default, comint-backward-matching-input)
7060 (comint-next-prompt): Use nil instead of `input' for field property of
7061 past user input (bug#114).
7063 * minibuffer.el (completion--replace): Inherit surrounding properties
7065 (minibuffer-complete-and-exit): Use it.
7067 * comint.el (comint--table-subvert): Quote the all-completions output
7070 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7072 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7074 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7075 window on right of selected. (Bug#9350) Reword other window
7076 entries and separate them from frame entries.
7078 2011-10-15 Glenn Morris <rgm@gnu.org>
7080 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7083 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7085 * net/network-stream.el (network-stream-open-starttls):
7086 Improve detection of failure due to lack of TLS support.
7088 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7089 putting the input text in front and in bold.
7091 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7093 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7095 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7098 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7099 unread-command-events rather than pushing yet-another event.
7101 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7103 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7104 the explanation of the possible choices. Make the options passed
7105 to completing-read shorter.
7107 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
7109 * textmodes/flyspell.el (flyspell-large-region): Make sure
7110 extended character mode is used if defined (Bug#1339).
7112 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7114 * simple.el (what-cursor-position): Fix the display of the
7115 character info for LRE, LRO, RLE, and RLO characters by appending
7118 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7121 even in case of error; add debug spec; simplify data flow.
7122 (with-timeout-handler): Remove.
7124 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7126 Fix Bug#6019, Bug#9315.
7128 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7129 complete `buffer-file-name', the local file name part could look
7130 remotely (for example on VMS).
7132 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7133 `tramp-run-real-handler'.
7134 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7135 already quoted by '"'.
7137 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7138 Let `file-name-handler-alist' be nil, the local file name part
7139 could look remotely (for example on VMS).
7141 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7143 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7145 (flyspell-post-command-hook): ...to here.
7147 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7151 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7152 using completion. Protect against "slow" callers.
7153 Remove the "message hack".
7155 2011-10-11 Juri Linkov <juri@jurta.org>
7157 * isearch.el (isearch-lazy-highlight-word): New variable.
7158 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7161 2011-10-11 Glenn Morris <rgm@gnu.org>
7163 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7164 like f90-previous-statement does.
7166 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7168 * eshell/eshell.el (eshell-command): History should be saved
7169 only in interactive use, to avoid error.
7171 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * minibuffer.el (completion-file-name-table): Fix last change,
7174 i.e. ignore normal errors but not the other ones.
7176 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7178 * window.el (special-display-buffer-names)
7179 (special-display-regexps): Remove some remnants of earlier
7180 changes from doc-strings.
7181 (quit-windows-on): New function.
7183 * vc/vc.el (vc-revert, vc-rollback):
7184 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7185 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7186 (Bug#6183) (Bug#7074) (Bug#7447)
7188 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7190 * window.el (frame-auto-hide-function): Add version tag.
7193 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7195 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7198 2011-10-09 Leo Liu <sdl.web@gmail.com>
7200 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7203 2011-10-08 Glenn Morris <rgm@gnu.org>
7205 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7206 before the first code statement zero indent. (Bug#9690)
7208 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7210 * simple.el (count-words-region): Always count in the region.
7211 Report the number of lines and characters too.
7212 (count-words): New command, which counts in the buffer if the
7213 region is inactive, as count-words-region used to.
7214 (count-words--message): New function. Handle plurals.
7215 (count-lines-region): Make it an alias for count-words-region.
7217 * bindings.el (esc-map): Replace count-lines-region with
7220 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7222 * window.el (window--delete): Delete dedicated frame
7223 unconditionally when argument KILL is non-nil. (Bug#9699)
7224 (switch-to-buffer): Fix doc-string typo.
7226 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7228 * eshell/eshell.el (eshell-command): Avoid using hooks.
7230 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7232 * bindings.el ([M-left],[M-right]): Bind to left-word and
7233 right-word respectively.
7235 2011-10-07 Glenn Morris <rgm@gnu.org>
7237 * cus-start.el (debug-on-quit): Fix custom type.
7239 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241 * subr.el (define-key-after): Clarify that the function is not
7242 useful for non-menu keymaps.
7244 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7246 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7248 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7249 in current minibuffer (Fix bug with recursive minibuffers).
7251 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7253 * progmodes/gdb-mi.el (gdb): Doc fix.
7255 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7257 * window.el (frame-auto-hide-function): New option replacing
7258 frame-auto-delete. Suggested by Stefan Monnier.
7259 (window--delete): Call frame-auto-hide-function instead of
7260 investigating frame-auto-delete.
7261 (window-point-1, set-window-point-1): New functions.
7262 (window-in-direction, record-window-buffer, window-state-get-1)
7263 (display-buffer-record-window): Use window-point-1 instead of
7265 (set-window-buffer-start-and-point): Use set-window-point-1.
7267 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7271 2011-10-05 Glenn Morris <rgm@gnu.org>
7273 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7274 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7276 2011-10-05 Leo Liu <sdl.web@gmail.com>
7278 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7279 works with buffer object.
7281 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * mpc.el (mpc-tool-bar-map): Add labels.
7285 2011-10-04 Glenn Morris <rgm@gnu.org>
7287 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7289 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7291 * window.el (window--delete): New function.
7292 (frame-auto-delete): Resuscitate option.
7293 (bury-buffer, replace-buffer-in-windows)
7294 (quit-window): Rewrite using window--delete.
7295 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7296 Pass display-buffer-mark-dedicated to window--display-buffer-2
7299 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7302 returns a list (bug#9554). Add remote file name completion.
7303 * comint.el (comint--table-subvert): Curry and get quote&unquote
7304 functions as arguments.
7305 (comint--complete-file-name-data): Adjust call accordingly.
7306 * pcomplete.el (pcomplete--table-subvert): Remove.
7307 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7309 * minibuffer.el (completion-table-case-fold): Use currying.
7310 (completion--styles-type, completion--cycling-threshold-type):
7312 (completion-styles, completion-category-overrides)
7313 (completion-cycle-threshold): Use them.
7314 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7315 completion-table-case-fold.
7317 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7319 * minibuffer.el (completion-category-overrides): Fix type of styles
7320 and add more user friendly tags (bug#9660).
7322 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7325 (mule-input-method-string): New widget.
7326 (default-input-method, language-info-custom-alist): Use it.
7328 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7330 * pcomplete.el: Require comint.
7331 (pcomplete--common-suffix): Remove.
7332 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7333 (pcomplete--table-subvert): Sync with comint--table-subvert.
7334 (pcomplete--entries): Use comint-completion-file-name-table.
7335 * comint.el (comint-unquote-filename): Simplify.
7336 (comint-completion-file-name-table): New function (bug#9616).
7337 (comint--complete-file-name-data): Use it.
7339 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7340 (pcmpl-gnu-tar-buffer): Remove.
7341 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7342 around. Make sure pcomplete-suffix-list is only changed temporarily.
7343 Don't look inside the tar's file if it's too large.
7345 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7347 * cus-edit.el (custom-mode-map):
7348 * epa.el (epa-key-list-mode-map):
7349 * man.el (Man-mode-map):
7350 * startup.el (splash-screen-keymap):
7351 * simple.el (special-mode-map): Use scroll-up-command and
7352 scroll-down-command.
7354 * progmodes/idlw-help.el (idlwave-help-mode-map):
7355 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7356 * net/newst-plainview.el (newsticker-mode-map):
7357 * emulation/ws-mode.el (wordstar-mode-map):
7358 * emulation/vi.el (vi-com-map):
7359 * calc/calc-graph.el (calc-graph-show-dumb):
7360 * term/sun.el (terminal-init-sun):
7361 * term/ns-win.el (global-map):
7362 * progmodes/grep.el (grep-mode-map):
7363 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7364 * mail/rmail.el (rmail-mode-map):
7365 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7367 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7368 custom-safe-themes as special.
7370 2011-10-01 Julien Danjou <julien@danjou.info>
7372 * notifications.el (notifications-notify): Fix docstring.
7374 2011-10-01 Per Starbäck <per@starback.se>
7376 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7378 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7380 * startup.el (command-line-1): Fix last fix by inserting
7381 initial-scratch-message into *scratch* before displaying it.
7382 (Bug#9605) and (Bug#9636)
7384 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7386 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7387 window is hscrolled, move by logical lines. (Bug#9607)
7388 (line-move-visual): Update the doc string to the above effect.
7390 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7392 * window.el (display-buffer-record-window): When WINDOW is the
7393 selected window use `point' instead of `window-point'. (Bug#9626)
7395 * startup.el (command-line-1): Use insert-before-markers when
7396 inserting initial-scratch-message. (Bug#9605)
7398 * help.el (help-window): Remove variable.
7400 2011-09-29 Glenn Morris <rgm@gnu.org>
7402 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7404 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7406 * descr-text.el (describe-char-categories): Accept category
7407 descriptions more than one line long.
7409 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7411 * simple.el (delete-trailing-whitespace): Fix last change.
7413 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7414 Don't confuse "y => 3" as the beginning of a `y' operation.
7416 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7417 object has more than 4 slots (bug#9613).
7419 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7421 * subr.el (with-output-to-temp-buffer):
7422 * net/quickurl.el (quickurl, quickurl-browse-url):
7423 Fix typos in docstrings.
7425 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7427 * minibuffer.el (completion-styles)
7428 (completion-category-overrides): Cross reference each other in doc
7431 2011-09-27 Glenn Morris <rgm@gnu.org>
7433 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7434 to split-string. (Bug#9606)
7436 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7438 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7441 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7443 * emacs-lisp/package.el (list-packages): Fix echo area message.
7445 2011-09-27 Leo Liu <sdl.web@gmail.com>
7447 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7449 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7451 * net/dbus.el (dbus-unregister-object): Don't release services for
7452 registered signals. (Bug#9581)
7454 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7456 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7457 function that picks between cfengine 2 and 3 support
7458 automatically. Update docs accordingly.
7460 2011-09-22 Kenichi Handa <handa@m17n.org>
7462 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7464 (indian-itrans-v5-table-for-tamil): New variable.
7465 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7467 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7469 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7470 that's true if the current command involved collapsing of text.
7471 It's reset to false at the beginning of the next command.
7472 (allout-post-command-business): Move the cursor to the beginning
7473 of entry if the cursor is hidden and collapsing activity just
7476 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7478 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7479 tracking (Bug#9541).
7481 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7483 * net/newst-reader.el (newsticker-html-renderer)
7484 (newsticker-show-news): Automatically load html rendering package
7485 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7486 because w3m-fill-column is let-bound" and the error "Symbol's value
7487 as variable is void: w3m-fill-column".
7489 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7491 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7492 Release services only if they are defined. (Bug#9581)
7494 2011-09-23 Richard Stallman <rms@gnu.org>
7496 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7497 distinguish start of paragraph from start of its text.
7499 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7501 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7502 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7503 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7505 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7507 * international/mule-diag.el (mule-diag): Insert a newline after
7508 each fontset description.
7510 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7512 * simple.el (delete-trailing-whitespace):
7513 Document last change; simplify.
7515 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7517 * simple.el (delete-trailing-whitespace): Also delete
7518 extra newlines at the end of the buffer.
7520 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7521 (picture-newline): Use forward-line so as to ignore fields.
7523 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * subr.el (with-wrapper-hook): Fix edebug spec.
7527 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7532 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7534 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7535 Fix nasty bug using wrong cached values.
7537 2011-09-23 Alan Mackenzie <acm@muc.de>
7539 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7541 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7543 * window.el (pop-to-buffer): Ensure right window is selected if we
7544 chose another frame.
7546 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7548 * simple.el (what-cursor-position): Use get-char-property-change
7549 and next-single-char-property-change, to be able to show display
7550 properties that come from overlays as well as text properties.
7552 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7554 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7556 * cmuscheme.el (run-scheme, switch-to-scheme):
7557 * cus-edit.el (customize-group, custom-buffer-create)
7561 * mail/sendmail.el (mail):
7562 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7564 2011-09-22 Richard Stallman <rms@gnu.org>
7566 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7567 move back only to line beg, don't move back over blank lines.
7569 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7571 * files.el (copy-directory): Set directory attributes only in case
7572 they could be retrieved from the source directory. (Bug#9565)
7574 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7576 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7577 (hs-find-block-beginning, hs-hide-level-recursive):
7578 Ignore strings as well as comments. (Bug#9502)
7580 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7582 * progmodes/sql.el (sql-comint-postgres):
7583 Convert port number to a string. (Bug#9566)
7585 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7587 * window.el (quit-window): Undedicate window when switching to
7588 previous buffer. Reported by Thierry Volpiatto
7589 <thierry.volpiatto@gmail.com>.
7590 (special-display-popup-frame): When popping up a new frame reset
7591 its previous buffers to nil. Simplify code.
7593 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7595 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7596 and process filter, as done also in `shell-command'.
7598 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7600 * window.el (set-window-buffer-start-and-point):
7601 Call set-window-start with NOFORCE argument t.
7602 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7603 (quit-window): Reword doc-string. Handle new format of
7604 quit-restore parameter. Don't delete window if it has a
7605 previous buffer we can show instead of the present one.
7606 (display-buffer-record-window): Rewrite using a new format for
7607 the quit-restore window parameter
7608 (special-display-popup-frame, display-buffer-same-window)
7609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7610 (display-buffer-pop-up-window, display-buffer-use-some-window):
7611 Adapt symbol passed to display-buffer-record-window.
7612 * help.el (help-window-setup): Handle new format of quit-restore
7615 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7617 * faces.el (face-list): Fix docstring (bug#9564).
7619 * window.el (display-buffer--action-function-custom-type):
7620 Don't include internal functions in the Custom interface.
7622 2011-09-20 Juri Linkov <juri@jurta.org>
7624 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7625 (Info-forward-node, Info-backward-node, Info-next-preorder)
7626 (Info-last-preorder): Use it. (Bug#9528)
7628 2011-09-20 Juri Linkov <juri@jurta.org>
7630 * info.el (Info-last-preorder): Visit last menu item only when
7631 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7633 2011-09-20 Julien Danjou <julien@danjou.info>
7635 * password-cache.el (password-cache-remove): Remove entries even if the
7636 value is nil, so that password with a nil value (negative caching) is
7637 possible to invalidate.
7639 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7641 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7642 all whitespace around breakpoint. (Bug#9553)
7643 (f90-find-breakpoint): Only break at whitespace inside a comment.
7645 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * minibuffer.el (completion-file-name-table): Keep track of errors.
7648 (completion-table-with-predicate): Handle the case where pred1 is nil.
7649 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7651 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7654 (debugger-return-value): Signal an error if the debugging context does
7655 not await any return value.
7657 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7658 * image-mode.el (image-toggle-display-text)
7659 (image-toggle-display-image): Stay away from evil `intangible'.
7661 2011-09-19 Leo Liu <sdl.web@gmail.com>
7663 * replace.el (occur-revert-arguments): Make it permanent-local.
7664 (occur-mode): Don't call font-lock-defontify.
7666 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7668 * net/ldap.el (ldap-search-internal): Don't push empty search
7671 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7675 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7677 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7678 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7680 2011-09-18 Juri Linkov <juri@jurta.org>
7682 * buff-menu.el (Buffer-menu-mode-map):
7683 * dired.el (dired-mode-map):
7684 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7685 (lisp-interaction-mode-map):
7686 * emacs-lisp/package.el (package-menu-mode-map):
7687 * epa.el (epa-key-list-mode-map):
7688 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7689 (menu-bar-options-menu):
7690 * outline.el (outline-mode-menu-bar-map):
7691 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7692 * vc/vc-dir.el (vc-dir-menu-map):
7693 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7694 Capitalize non-function content words in menu item strings.
7696 * dired.el (dired-mode-map): Add menu item for
7697 `image-dired-dired-toggle-marked-thumbs'.
7699 2011-09-18 Juri Linkov <juri@jurta.org>
7701 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7702 to `isearch-case-fold-search' and restore its original value
7703 after the `isearch-mode' call.
7705 2011-09-18 Juri Linkov <juri@jurta.org>
7707 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7708 because `zgrep' returns 1 for successful matches (bug#9226).
7710 2011-09-18 Juri Linkov <juri@jurta.org>
7712 * info.el (Info-extract-menu-node-name): Check the second match
7713 for empty string (second test-case of bug#9528).
7714 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7715 intermediate nodes to the history (first test-case of bug#9528).
7717 2011-09-18 Juri Linkov <juri@jurta.org>
7719 * info.el (Info-mode-syntax-table): New variable.
7720 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7722 2011-09-18 Juri Linkov <juri@jurta.org>
7724 * info.el (Info-file-supports-index-cookies):
7725 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7726 outputs one more line for long file names (bug#4142).
7728 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7730 * newcomment.el (comment-normalize-vars): If prompting for
7731 comment-start, set comment-start-skip too (Bug#8424).
7733 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7735 * icomplete.el: Fix previous fix of Bug#5849.
7736 (icomplete-mode): Don't set completion-show-inline-help.
7737 (icomplete-minibuffer-setup): Set completion-show-inline-help
7738 locally during icompletion.
7740 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7742 * woman.el (woman2-process-escapes): Don't delete unrecognized
7745 * files.el (inhibit-first-line-modes-regexps): Add image files.
7746 (hack-local-variables-prop-line): Return nil for malformed
7747 prop-lines (Bug#9044).
7749 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7751 * net/tramp.el (top): Don't require 'shell.
7752 (tramp-methods): Fix docstring.
7753 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7754 Return complete remote file name. Handle "smb" case.
7755 Use `tramp-tmpdir', if defined for the respective method.
7756 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7758 * net/tramp-compat.el (top): Require 'shell.
7760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7761 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7762 `tramp-current-host'.
7763 (tramp-get-remote-tmpdir): Remove.
7765 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7766 `tramp-tmpdir' entries.
7767 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7768 (tramp-smb-handle-file-attributes): Ignore errors.
7769 (tramp-smb-wait-for-output): Check also for process end.
7771 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7773 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7774 when sending QUIT (bug#9312).
7776 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7778 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7779 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7780 occur-mode-display-occurrence.
7781 (occur-edit-mode): Add usage message.
7782 (occur-cease-edit): New command.
7783 (occur-after-change-function): Use text properties to find the
7784 position of the prefix text.
7785 (occur-engine): Set stickiness of prefix text properties.
7787 2011-09-17 Glenn Morris <rgm@gnu.org>
7789 * progmodes/etags.el (complete-tag):
7790 Fix call to completion-in-region. (Bug#9526)
7792 2011-09-17 Juri Linkov <juri@jurta.org>
7794 * textmodes/ispell.el (ispell-word): Add to the error message
7795 the word, ispell program name and current dictionary (bug#9121).
7796 (ispell-tex-arg-end): Capitalize "error" in the error message.
7798 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7800 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7803 2011-09-17 Juri Linkov <juri@jurta.org>
7805 * window.el (window-safe-min-height, window-safe-min-width):
7806 Fix typos (followup to bug#9522).
7808 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7810 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7812 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7814 * simple.el (line-move): If goal-column is set, move by logical
7815 lines, not by display lines. (Bug#971)
7816 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7817 to reflect the above change.
7819 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * image.el (imagemagick-register-types): Use regexp-opt.
7823 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7825 * window.el (display-buffer-base-action): Rename from
7826 display-buffer-default-action. Make default value empty.
7827 (display-buffer-overriding-action): Convert to defvar.
7828 (display-buffer-fallback-action): New var.
7830 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7832 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7834 (package--add-to-archive-contents): If there is a duplicate entry
7835 with an older version, remove it.
7836 (package-menu-mark-delete, package-menu-mark-install)
7837 (package-menu-mark-unmark): Make unused args optional.
7838 (package-menu-mark-obsolete-for-deletion):
7839 Use package-menu-get-status instead of a regexp search.
7840 (package-menu-get-status): Use tabulated-list-entry.
7841 (package-menu-mark-upgrades): New command.
7842 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7843 (package-menu-execute): Do installation before deletion.
7844 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7845 instead of checking major-mode.
7846 (package-menu--find-upgrades): New function.
7848 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7851 passwords in the log buffer.
7852 (smtpmail-process-filter): Update the process marker so that the
7853 "broken by peer" status message is inserted in the right place.
7855 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7858 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7859 bibtex-completion-at-point-function.
7860 (bibtex-completion-at-point-function): Use them.
7862 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7864 * mpc.el (mpc-constraints-tag-lookup): New function.
7865 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7866 also to browser "album|playlist".
7868 2011-09-14 Juri Linkov <juri@jurta.org>
7870 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7871 (isearch-edit-string): Use length of `isearch-string' when
7872 `isearch-fail-pos' returns nil.
7873 (isearch-message): Remove duplicate code and call
7874 `isearch-fail-pos' with arg `t'.
7876 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7878 * replace.el (occur-mode-goto-occurrence): Don't force using other
7881 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7883 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7885 * window.el (display-buffer-window): Remove.
7886 (display-buffer-record-window): Use help-setup window parameter
7887 instead of variable display-buffer-window.
7888 (display-buffer-function, special-display-buffer-names)
7889 (special-display-function): Mention help-setup parameter instead
7890 of display-buffer-window in doc-string.
7891 * help.el (help-window-setup): New argument help-window.
7892 Use help-window-setup parameter instead of display-buffer-window.
7893 Reword some messages.
7894 (with-help-window): Pass window used for displaying the buffer
7895 to help-window-setup. Don't set display-buffer-window.
7897 2011-09-13 Glenn Morris <rgm@gnu.org>
7899 * emacs-lisp/debug.el (debugger-make-xrefs):
7900 Preserve point. (Bug#9462)
7902 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7904 * window.el (window-deletable-p): Use next-frame.
7906 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7908 * window.el (window-auto-delete): Remove.
7909 (window-deletable-p): Remove argument FORCE. Don't deal with
7910 dedication and previous buffers.
7911 (switch-to-prev-buffer): Don't delete window.
7912 (delete-windows-on): Delete a window's frame if and only if the
7913 window is dedicated.
7914 (replace-buffer-in-windows): Delete buffer's window or frame if
7915 and only if window is dedicated.
7916 (quit-window): Handle quit-restore as before last change.
7917 (bury-buffer): Delete window only if window-deletable-p returns t.
7919 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7921 * window.el (window-deletable-p): Never delete the last frame on a
7924 2011-09-13 Glenn Morris <rgm@gnu.org>
7926 * help.el (describe-key-briefly): Copy previous standard-output change.
7928 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7930 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7932 2011-09-13 Glenn Morris <rgm@gnu.org>
7934 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7935 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7937 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7939 * dired-aux.el (dired-mark-read-string): Don't return default
7940 value on empty input (Bug#9361).
7941 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7942 Omit initial minibuffer contents.
7943 (dired-do-chmod): Signal an error on empty input.
7944 (dired-mark-read-string): Don't return default on empty input.
7946 * files.el (file-modes-symbolic-to-number): Doc fix.
7948 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * international/mule-cmds.el (ucs-completions): Remove.
7951 (read-char-by-name): Use complete-with-action instead; add metadata.
7953 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7955 * window.el (display-buffer--action-function-custom-type)
7956 (display-buffer--action-custom-type): New vars.
7957 (display-buffer-alist, display-buffer-default-action)
7958 (display-buffer-overriding-action): Add defcustom types.
7960 * frame.el (delete-other-frames): Doc fix (Bug#276).
7962 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7964 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7966 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7968 Change modes that used same-window-* vars to use switch-to-buffer.
7970 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7971 Use switch-to-buffer.
7973 * cus-edit.el (customize-group, custom-buffer-create)
7974 (customize-browse, custom-buffer-create-other-window):
7975 Use switch-to-buffer or switch-to-buffer-other-window.
7977 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7978 (Info-prev, Info-up, Info-speedbar-goto-node)
7979 (info-display-manual): Use switch-to-buffer.
7980 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7982 * mail/sendmail.el (mail): Use switch-to-buffer.
7983 (mail-recover): Use switch-to-buffer-other-window.
7985 * cmuscheme.el (run-scheme, switch-to-scheme):
7988 * net/rlogin.el (rlogin):
7989 * net/telnet.el (telnet, rsh):
7990 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7992 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7994 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7996 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7998 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7999 so don't mention it (bug#9301).
8000 (dired-sort-toggle-or-edit): Clarify string further.
8002 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8003 match `x', `w32' and `ns', like the manual says (bug#9029).
8005 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8006 (process-kill-buffer-query-function): Mention the buffer name in
8009 * image-mode.el (image-next-line): The line parameter is mandatory
8012 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8013 which can be useful (bug#9301).
8015 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8017 * subr.el (match-string): Mention that the current buffer should
8018 be the same as the search was done in (bug#9282).
8020 * facemenu.el: Disable the remove-* commands if the mark isn't
8023 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8025 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8027 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8029 * replace.el (occur-mode-goto-occurrence)
8030 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8033 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8036 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8037 special-display and same-window variables.
8038 (mail-other-window): Use switch-to-buffer-other-window.
8039 (mail-other-frame): USe switch-to-buffer-other-frame.
8041 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8042 Use display-buffer-other-frame.
8043 (gdb-display-gdb-buffer): Use pop-to-buffer.
8045 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8047 * progmodes/python.el: Don't set same-window-buffer-names.
8049 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8051 * window.el (display-buffer-alist): Add *Python*.
8053 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8055 * window.el (display-buffer-alist): Add entry for buffers
8056 previously handled same-window-*.
8057 (display-buffer-alist, display-buffer-default-action)
8058 (display-buffer-overriding-action): Mark as risky.
8059 (display-buffer-alist): Document action function changes.
8060 (display-buffer--same-window-action)
8061 (display-buffer--other-frame-action): New variables.
8062 (switch-to-buffer, display-buffer-other-frame): Use them.
8063 (display-buffer): Rename reuse-frame entry to reusable-frames.
8064 (display-buffer-reuse-selected-window): Function deleted.
8065 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8066 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8067 (display-buffer-special): New function.
8068 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8069 display-buffer-reuse-or-pop-window. Split off special-display
8070 part into display-buffer-special.
8071 (display-buffer-use-some-window): Don't perform any special
8072 pop-up-frames handling.
8073 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8074 (display-buffer--maybe-same-window): Rename from
8075 display-buffer-maybe-same-window.
8077 * info.el: Don't set same-window-regexps.
8078 (info-setup): New function.
8079 (info-other-window, info): Call it.
8081 * cus-edit.el: Don't set same-window-regexps.
8082 (customize-group): New argument.
8083 (customize-group-other-window): Use it.
8084 (customize-face, customize-face-other-window): Likewise.
8085 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8089 * progmodes/gud.el: Don't set same-window-regexps.
8095 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8097 2011-09-10 Juri Linkov <juri@jurta.org>
8099 * isearch.el (isearch-edit-string): Remove obsolete mention of
8100 `C-w' (`isearch-yank-word-or-char') from docstring.
8101 (isearch-query-replace): Fix typo in docstring (bug#9466).
8103 2011-09-10 Juri Linkov <juri@jurta.org>
8105 * paren.el (show-paren-function): Don't show escaped parens.
8106 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8108 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8110 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8111 (mm-default-file-encoding): Remove autoload forms, they are
8112 replaced with autoload cookies in mml.el and mm-encode.el.
8113 (mail-add-attachment): New command.
8114 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8115 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8117 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8119 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8121 * simple.el (count-words-region): Use buffer if there's no region
8124 2011-09-09 Juri Linkov <juri@jurta.org>
8126 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8127 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8128 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8130 2011-09-09 Alan Mackenzie <acm@muc.de>
8132 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8133 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8135 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8137 Fix for Savannah bug#9392.
8138 * simple.el (mail-encode-mml): New defvar.
8140 * mail/rmail.el (mail-encode-mml): Add a defvar.
8141 (rmail-enable-mime-composing): Default to t.
8142 (rmail-forward): Use MIME method of forwarding only if both
8143 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8144 Set mail-encode-mml non-nil if the MIME method was used.
8146 * mail/sendmail.el (mml-to-mime): Add autoload form.
8147 (mail-encode-mml): Add a defvar.
8148 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8150 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8151 message through mml-to-mime, and reset mail-encode-mml to nil.
8153 2011-09-09 Glenn Morris <rgm@gnu.org>
8155 * woman.el (woman-if-body): When processing an .el block,
8156 do not delete the next .el block as well. (Bug#9447)
8157 (woman-special-characters): Add oq, cq, and hy characters.
8159 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8161 * window.el (window-deletable-p): Make sure window is live before
8162 invoking window-prev-buffers.
8164 2011-09-08 Leo Liu <sdl.web@gmail.com>
8166 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8168 2011-09-08 Juri Linkov <juri@jurta.org>
8170 * progmodes/compile.el (compilation-environment): Make it
8171 a defcustom (bug#8340).
8173 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8175 * window.el (frame-auto-delete): Rename to window-auto-delete.
8176 Make it control auto-deletion of windows and/or frames.
8177 (window-deletable-p): New argument FORCE. Rewrite conditions
8178 for deleting window/frame. (Bug#9419)
8179 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8180 Rewrite handling of case when window/frame can be deleted.
8181 (delete-windows-on): Call window-deletable-p with new FORCE
8182 argument t. (Bug#9456)
8184 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8186 * help-mode.el (help-mode): Restore autoload.
8188 2011-09-07 Juri Linkov <juri@jurta.org>
8190 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8191 `compilation-environment'. Set buffer-local
8192 `compilation-environment' to `thisenv' later after (funcall mode).
8195 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8196 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8197 instead of replacing its value. (Bug#8340)
8199 2011-09-07 Juri Linkov <juri@jurta.org>
8201 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8202 based on text properties put by `grep-filter' instead of matching
8204 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8205 to the value of `grep-error-screen-columns' (bug#9438).
8207 2011-09-07 Juri Linkov <juri@jurta.org>
8209 * simple.el (next-error-highlight, next-error-highlight-no-select):
8212 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8214 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8215 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8217 2011-09-07 Leo Liu <sdl.web@gmail.com>
8219 * net/rcirc.el (rcirc-mode): Conditionally initialize
8222 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * emacs-lisp/find-func.el (find-function-C-source): Only set
8225 find-function-C-source-directory after checking that we found a source
8226 file there (bug#9440).
8228 2011-09-06 Alan Mackenzie <acm@muc.de>
8230 * isearch.el (isearch-other-meta-char): Wherever a key list is
8231 unread, "unread" the prefix arg, too. This fixes bug #8901.
8233 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8235 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8237 2011-09-05 Juri Linkov <juri@jurta.org>
8239 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8241 2011-09-05 Juri Linkov <juri@jurta.org>
8243 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8244 keeping point where processing of grep matches begins, and
8245 continue to delete remaining escape sequences from the same point.
8246 (grep-filter): Make leading zero optional in "0?1;31m" because
8247 git-grep emits "\033[1;31m" escape sequences unlike expected
8248 "\033[01;31m" as GNU Grep does (bug#9408).
8249 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8251 2011-09-05 Juri Linkov <juri@jurta.org>
8253 * subr.el (y-or-n-p): Capitalize "yes".
8255 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8257 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8258 `tramp-cache-unload-hook' where appropriate.
8259 (tramp-methods): Rename `tramp-remote-sh' to
8260 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8261 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8263 * net/tramp-sh.el (top): Don't require 'shell.
8264 (tramp-methods): Add `tramp-remote-shell' and
8265 `tramp-remote-shell-args' entries.
8266 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8267 (tramp-sh-handle-shell-command): Remove.
8268 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8269 Use `tramp-remote-shell'.
8271 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8273 * mail/sendmail.el (sendmail-query-once-function): Delete.
8274 (sendmail-query-once): Save directly to send-mail-function.
8275 Update message-send-mail-function too.
8277 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8279 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8281 * progmodes/python.el (python-mode-map): Use correct function to
8282 start python interpreter from menu-bar (as reported by Geert
8284 (inferior-python-mode-map): Fix typo.
8285 (python-shell-map): Remove.
8287 2011-09-03 Deniz Dogan <deniz@dogan.se>
8289 * net/rcirc.el (rcirc-print): Simplify code for
8290 rcirc-scroll-show-maximum-output. There is no need to walk
8291 through all windows to find the right one.
8293 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8295 * help.el (help-return-method): Doc fix.
8297 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8299 * window.el (window-deletable-p): Don't return a non-nil value
8300 when there's a buffer that was shown in the window before.
8302 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8303 Set window's previous buffers to nil.
8305 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8307 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8308 newline before and after the tag line, so it doesn't interfere
8309 with determining the paragraph direction of bidirectional text.
8311 2011-09-03 Leo Liu <sdl.web@gmail.com>
8313 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8315 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8317 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8318 (pop-to-buffer): Change interactive spec. Pass second argument
8319 directly to display-buffer.
8320 (display-buffer): Fix interactive spec. Use functionp to
8321 distinguish between a function and a list of functions.
8323 * abbrev.el (edit-abbrevs):
8324 * arc-mode.el (archive-extract):
8325 * autoinsert.el (auto-insert):
8326 * bookmark.el (bookmark-bmenu-list):
8327 * files.el (find-file):
8328 * view.el (view-buffer):
8329 * progmodes/compile.el (compilation-goto-locus):
8330 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8332 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8334 * window.el (display-buffer-alist): Doc fix.
8335 (display-buffer): Add docstring. Don't treat
8336 display-buffer-default specially.
8337 (display-buffer-reuse-selected-window)
8338 (display-buffer-same-window, display-buffer-maybe-same-window)
8339 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8340 (display-buffer-pop-up-window)
8341 (display-buffer-reuse-or-pop-window)
8342 (display-buffer-use-some-window): New functions.
8343 (display-buffer-default-action): Use them.
8344 (display-buffer-default): Delete.
8345 (pop-to-buffer-1): Fix choice of actions.
8347 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8349 * minibuffer.el (completion--insert-strings): Don't get confused by
8350 completion entries that end with an LF char.
8352 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8354 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8356 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8358 * window.el (display-buffer): Restore interactive spec.
8359 (display-buffer-same-window, display-buffer-other-window):
8361 (pop-to-buffer-1): New function. Use the above.
8362 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8363 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8365 * view.el (view-buffer-other-window, view-buffer-other-frame):
8366 Just use pop-to-buffer.
8368 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8370 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8372 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8374 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8376 2011-08-31 Richard Stallman <rms@gnu.org>
8378 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8379 of the separation of rmail-view-buffer from rmail-buffer.
8380 If you say no to "replace original", the decrypt is in the
8381 view buffer. If you say yes, the decrypt goes into the
8384 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8386 * window.el (display-buffer-window): Rewrite doc-string.
8387 (display-buffer-record-window): New function.
8388 (display-buffer-macro-specifiers)
8389 (display-buffer-even-window-sizes, display-buffer-set-height)
8390 (display-buffer-set-width, display-buffer-in-window)
8391 (display-buffer-reuse-window, display-buffer-split-specifiers)
8392 (display-buffer-side-specifiers, display-buffer-split-window-1)
8393 (display-buffer-split-window, display-buffer-split-atom-window)
8394 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8395 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8396 (display-buffer-other-window-means-other-frame)
8397 (display-buffer-normalize-special)
8398 (display-buffer-normalize-default)
8399 (display-buffer-normalize-argument)
8400 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8401 (display-buffer-normalize-specifiers, display-buffer-frame)
8402 (display-buffer-same-window, display-buffer-same-frame)
8403 (display-buffer-other-window)
8404 (display-buffer-same-frame-other-window)
8405 (display-buffer-other-frame, pop-to-buffer-same-window)
8406 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8407 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8408 (switch-to-buffer-same-frame)
8409 (switch-to-buffer-other-window-same-frame)
8410 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8411 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8412 (display-buffer-alist-set): Remove.
8413 (display-buffer-function, special-display-buffer-names)
8414 (special-display-regexps, special-display-function):
8415 In doc-string refer to display-buffer-window and quit-restore
8417 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8418 (special-display-frame-alist, special-display-popup-frame)
8419 (same-window-buffer-names, same-window-regexps, same-window-p)
8420 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8421 (split-window-preferred-function, split-height-threshold)
8422 (split-width-threshold, window-splittable-p)
8423 (split-window-sensibly, window--try-to-split-window)
8424 (window--frame-usable-p, even-window-heights)
8425 (window--even-window-heights, window--display-buffer-1)
8426 (window--display-buffer-2, display-buffer-other-frame):
8427 Restore old Emacs 23 code, order and doc-strings where applicable.
8428 (display-buffer-default, display-buffer-assq-regexp): New functions.
8429 (display-buffer-alist): Rewrite doc-string.
8430 (display-buffer-default-action)
8431 (display-buffer-overriding-action): New variables.
8432 (display-buffer, switch-to-buffer): Rewrite.
8433 (pop-to-buffer): Restore Emacs 23 behavior but use
8434 window-normalize-buffer-to-display.
8435 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8436 Restore Emacs 23 behavior but use
8437 window-normalize-buffer-to-switch-to.
8438 (pop-to-buffer-same-window): Rewrite.
8439 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8440 Rewrite using Emacs 23 options.
8442 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8444 * net/tramp.el (tramp-root-regexp): Remove.
8445 (tramp-completion-file-name-regexp-unified)
8446 (tramp-completion-file-name-regexp-separate)
8447 (tramp-completion-file-name-regexp-url): Don't use leading volume
8448 letter on win32 systems. (Bug#5303, Bug#9311)
8449 (tramp-drop-volume-letter): Simplify definition.
8450 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8452 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8457 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8459 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8461 2011-08-29 Juri Linkov <juri@jurta.org>
8463 * isearch.el (isearch-done): Don't display message "Mark saved"
8464 when arg `edit' is non-nil to prevent its flicker in the echo area.
8466 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8468 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8469 obsolete packages for deletion.
8471 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8473 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8474 (help-mode): Derive help-mode from special-mode. Don't invoke
8475 view-mode from help-mode.
8476 (help-xref-override-view-map): Remove.
8477 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8478 view-mode is not used anymore.
8480 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8482 * server.el (server-port): Doc fix.
8484 * cus-theme.el (custom-theme-choose-mode): Inherit from
8485 special-mode (Bug#9124).
8486 (custom-theme-choose-mode-map): Add special-mode to parent.
8488 2011-08-28 Alan Mackenzie <acm@muc.de>
8490 * progmodes/cc-fonts.el
8491 (c-make-font-lock-BO-decl-search-function): New function.
8492 (c-basic-matchers-after - "Fontify the clauses after various
8493 keywords"): Extract the three keyword lists for the 3 erroneous
8494 constructs from the list of four, and use the new function above
8495 in place of an old one.
8497 2011-08-28 Deniz Dogan <deniz@dogan.se>
8499 * net/rcirc.el (rcirc-insert-prev-input)
8500 (rcirc-insert-next-input): Remove unused argument.
8502 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8506 2011-08-27 Alan Mackenzie <acm@muc.de>
8508 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8509 handle function pointer parameters properly.
8511 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8513 * window.el (display-buffer-reuse-window): Fix case where
8514 selected window was reused with non-nil OTHER-WINDOW argument.
8517 2011-08-27 Deniz Dogan <deniz@dogan.se>
8519 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8520 oftc's NickServ messages.
8522 2011-08-27 Glenn Morris <rgm@gnu.org>
8524 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8526 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8528 * emacs-lisp/package.el (package-install): Call package-initialize
8529 if called interactively.
8531 2011-08-26 Leo Liu <sdl.web@gmail.com>
8533 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8535 2011-08-25 Juri Linkov <juri@jurta.org>
8537 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8538 `search-whitespace-regexp' (bug#9364).
8540 2011-08-25 Juri Linkov <juri@jurta.org>
8542 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8543 `regexp-search-ring' to their global values to protect from
8544 updating by `read-from-minibuffer' (bug#9185).
8546 2011-08-25 Juri Linkov <juri@jurta.org>
8548 * textmodes/ispell.el (ispell-command-loop): Add newline
8549 at the end of the "Use option `i'..." line.
8551 2011-08-25 Juri Linkov <juri@jurta.org>
8553 * battery.el (display-battery-mode): If `battery-status-function'
8554 or `battery-mode-line-format' is nil, display the message and set
8555 `display-battery-mode' to nil (bug#9363).
8557 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8559 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8560 bidi-string-mark-left-to-right; they are unnecessary now.
8562 2011-08-25 Deniz Dogan <deniz@dogan.se>
8564 * net/quickurl.el: Documentation typo fixes.
8566 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8568 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8570 2011-08-25 Glenn Morris <rgm@gnu.org>
8572 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8574 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8575 (smtpmail-via-smtp): Handle nil response from smtp.
8577 2011-08-24 Juri Linkov <juri@jurta.org>
8579 * proced.el (proced-marked): Inherit from `error' instead of
8580 `font-lock-warning-face'.
8582 * ibuffer.el (ibuffer-marked-face): Change default face from
8583 `font-lock-warning-face' to `warning'.
8584 (ibuffer-deletion-face): Change default face from
8585 `font-lock-type-face' to `error'.
8587 * battery.el (battery-update): Use the face `error' instead of
8588 `font-lock-warning-face' (bug#6117).
8590 2011-08-24 Juri Linkov <juri@jurta.org>
8592 * faces.el (success): Change face color from "Green3" to
8593 "ForestGreen" on light background (bug#9353).
8595 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8597 * window.el (quit-window): Rename from quit-restore-window.
8598 Use same arglist as old quit-window.
8599 (frame-auto-delete): Doc fix.
8601 * view.el (view-mode-exit): Use quit-window.
8603 2011-08-24 Juri Linkov <juri@jurta.org>
8605 * isearch.el (isearch-ring-adjust1): Start visiting previous
8606 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8607 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8608 for empty search string (when the last search string is reused
8609 automatically) to adjust the isearch ring to the last element and
8610 prepare the correct index for further M-p commands (bug#9185).
8612 2011-08-24 Kenichi Handa <handa@m17n.org>
8614 * international/ucs-normalize.el: If decomposition property of
8615 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8617 (nfd, nfkd): Likewise.
8619 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8621 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8622 from process filters aren't reliably transmitted to the surrounding
8623 accept-process-output.
8624 (mpc-proc-check): New function.
8625 (mpc-proc-sync): Use it (bug#8293)
8627 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8629 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8630 Add compatibility functions (bug#9313).
8632 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8634 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8636 * international/uni-bidi.el: Regenerate.
8638 2011-08-23 Kenichi Handa <handa@m17n.org>
8640 * international/charprop.el:
8641 * international/uni-bidi.el:
8642 * international/uni-category.el:
8643 * international/uni-combining.el:
8644 * international/uni-comment.el:
8645 * international/uni-decimal.el:
8646 * international/uni-decomposition.el:
8647 * international/uni-digit.el:
8648 * international/uni-lowercase.el:
8649 * international/uni-mirrored.el:
8650 * international/uni-name.el:
8651 * international/uni-numeric.el:
8652 * international/uni-old-name.el:
8653 * international/uni-titlecase.el:
8654 * international/uni-uppercase.el: Regenerate.
8656 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8658 * help.el (help-window-setup): Fix message displayed when other
8659 window is reused. (Bug#9341)
8661 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8664 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8666 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8668 * shell.el (shell-parse-pcomplete-arguments): New function.
8669 (shell-completion-vars): Use it instead (bug#9160).
8671 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8673 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8674 strings and comments (bug#9333).
8676 * emacs-lisp/debug.el (debug-arglist): New function.
8677 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8678 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8680 2011-08-22 Juri Linkov <juri@jurta.org>
8682 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8683 Revert regexp that highlights output switches to its old
8684 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8686 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8687 to check for empty output (bug#9226).
8689 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8691 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8692 symbol-constituent as the default, as that stops font-lock from
8693 working properly (Bug#8843).
8695 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8697 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8698 `coding-system-for-*' around the process open call to avoid
8699 auth-source side effects.
8700 (smtpmail-try-auth-methods): Expand the secret password.
8701 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8704 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8706 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8708 * emacs-lisp/find-func.el (find-function-noselect): New arg
8711 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8712 signal an error for built-in functions (Bug#6664).
8714 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8717 (smtpmail-try-auth-methods): Use it.
8719 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8721 * font-lock.el (font-lock-fontify-region)
8722 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8723 (font-lock-default-unfontify-buffer)
8724 (font-lock-default-fontify-region)
8725 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8727 * progmodes/compile.el (compilation-error-properties):
8728 Fix confusion between file struct and message struct (Bug#9319).
8729 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8732 * net/browse-url.el (browse-url-firefox): Don't call
8733 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8735 2011-08-20 Glenn Morris <rgm@gnu.org>
8737 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8739 * tutorial.el (tutorial--default-keys): Update some default bindings.
8741 * files.el (hack-local-variables): Fully ignore case for "mode:".
8743 2011-08-20 Alan Mackenzie <acm@muc.de>
8745 Resolve invalid use of a regexp in regexp-opt.
8747 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8748 detection for a java annotation.
8750 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8751 detection for a java annotation.
8753 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8755 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8757 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8759 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8762 2011-08-20 Alan Mackenzie <acm@muc.de>
8764 Fontify CPP expressions correctly when starting in the middle of
8765 such a construct. Mainly for when jit-lock etc. starts a chunk
8768 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8770 (c-make-font-lock-search-form): New function, extracted from
8771 c-make-font-lock-search-function.
8772 (c-make-font-lock-search-function): Use the above function.
8773 (c-make-font-lock-context-search-function): New function.
8774 (c-cpp-matchers): Enhance the preprocessor expression case with
8776 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8777 which takes an expression.
8779 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8781 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8783 * window.el (display-buffer-reuse-window)
8784 (display-buffer-pop-up-window): Don't reuse or split a side
8787 2011-08-19 Glenn Morris <rgm@gnu.org>
8789 * files.el (hack-local-variables-prop-line, hack-local-variables):
8790 Downcase "Mode:". (Bug#9331)
8792 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8794 * international/characters.el: Add L and R categories.
8796 * subr.el (bidi-string-mark-left-to-right): Rename from
8797 string-mark-left-to-right. Use category search.
8799 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8801 2011-08-18 Juri Linkov <juri@jurta.org>
8803 * faces.el (error, warning, success): New faces with definitions
8804 copied from old default values of `font-lock-warning-face',
8805 `compilation-warning', `compilation-info' (bug#6117).
8807 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8809 * progmodes/compile.el (compilation-error): Inherit from `error'.
8810 (compilation-warning): Inherit from `warning'.
8811 (compilation-info): Inherit from `success'.
8813 * dired.el (dired-marked): Inherit from `warning'.
8814 (dired-flagged): Inherit from `error'.
8816 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8818 * mail/smtpmail.el (auth-source): Require to avoid problems with
8819 binding variables (bug#9298). Also clean up some unused
8822 * net/network-stream.el (network-stream-open-starttls):
8823 Support using starttls.el without using gnutls-cli.
8825 2011-08-17 Juri Linkov <juri@jurta.org>
8827 * progmodes/grep.el (rgrep): Handle the case when
8828 `grep-find-command' is a cons cell (bug#9278).
8830 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8832 * window.el (display-buffer-pop-up-frame): Run frame creation
8833 function with BUFFER current (as special-display-popup-frame
8834 does). Reported by Drew Adams.
8836 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8838 * epa-mail.el: Simplify GnuPG group expansion using
8840 (epa-mail-group-alist, epa-mail-group-modtime)
8841 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8842 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8843 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8846 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8848 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8850 2011-08-16 Alan Mackenzie <acm@muc.de>
8852 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8853 Correct, to avoid the inside of macros.
8855 2011-08-16 Richard Stallman <rms@gnu.org>
8857 * epa-mail.el: Handle GnuPG group definitions.
8858 (epa-mail-group-alist, epa-mail-group-modtime)
8859 (epa-mail-gnupg-conf-file): New variables.
8860 (epa-mail-parse-groups, epa-mail-sync-groups)
8861 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8862 (epa-mail-expand-recipients): New functions.
8863 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8865 * mail/rmail.el (rmail-epa-decrypt): New command.
8867 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8868 Don't bind buffer-read-only, just inhibit-read-only.
8869 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8870 (epa-decrypt-armor-in-region): Make error message clearer.
8872 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8875 and "a2b" to "ab" for `prefix'.
8877 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8879 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8881 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8882 Fourquet (Bug#8804).
8884 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8886 * startup.el (argi): Declare as global variable (bug#9275).
8888 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8890 * subr.el (string-mark-left-to-right): Search the entire string
8891 for RTL script, not just the terminating character. Doc fix.
8893 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8895 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8897 (js--regexp-literal, js-syntax-propertize-function): Remove.
8898 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8899 (js-mode-map): Don't rebind electric keys.
8900 (js-insert-and-indent): Remove.
8901 (js-mode): Setup electric-layout and electric-indent instead.
8903 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8905 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8907 * epa.el (epa-progress-callback-function): Fix the logic of
8908 displaying progress.
8909 * epa-file.el (epa-file-insert-file-contents): Make progress
8910 display more user-friendly.
8911 (epa-file-write-region): Ditto.
8913 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8915 * subr.el (string-mark-left-to-right): New function.
8917 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8918 Use string-mark-left-to-right.
8919 (list-buffers-noselect): Caller changed.
8921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8922 Use string-mark-left-to-right.
8923 (tabulated-list-print): Recenter after moving point.
8925 2011-08-10 Juri Linkov <juri@jurta.org>
8927 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8928 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8929 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8931 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8933 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8936 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8938 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8939 character. (Bug#6594)
8941 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8943 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8944 (image-dired--with-db-file): New macro.
8945 (image-dired-write-tags, image-dired-remove-tag)
8946 (image-dired-create-gallery-lists, image-dired-write-comments)
8947 (image-dired-get-comment, image-dired-mark-tagged-files)
8948 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8949 (image-dired-gallery-generate): Use insert-file-contents.
8951 * time.el (display-time-world-list, display-time-world-display):
8952 * time-stamp.el (time-stamp-string):
8953 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8954 set-time-zone-rule (Bug#7337).
8956 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8958 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8959 (epg-error-to-string, epg-errors-to-string): New function.
8960 (epg-wait-for-completion): Reverse errors list.
8961 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8962 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8963 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8964 (epg-sign-keys, epg-generate-key-from-file)
8965 (epg-generate-key-from-string): Format errors by using
8966 epg-errors-to-string (bug#9255).
8967 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8969 2011-08-07 Juri Linkov <juri@jurta.org>
8971 * faces.el (list-faces-display): Remove extra angle bracket
8972 from `help-mode-map'.
8974 * info.el (Info-history-toc-nodes): Doc fix.
8976 * longlines.el (longlines-mode): Doc fix.
8978 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8980 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8981 of statements and in a few more cases (bug#9183).
8983 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8985 (cl-transform-lambda): Use them (bug#9239).
8987 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8989 * window.el (display-buffer-same-window)
8990 (display-buffer-same-frame, display-buffer-other-window)
8991 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8992 (pop-to-buffer-other-window)
8993 (pop-to-buffer-same-frame-other-window)
8994 (pop-to-buffer-other-frame): Make them defuns.
8995 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8997 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * subr.el (make-composed-keymap): Move from C. Change calling
9000 convention, and improve docstring to bring attention to a subtle point.
9001 * minibuffer.el (completing-read-default): Adjust accordingly.
9003 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9005 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9006 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9008 * net/trampver.el: Update release number.
9010 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9012 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9015 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9017 * mail/sendmail.el (sendmail-query-once): Restore the current
9018 buffer after querying (bug#9074).
9020 * dired.el (dired-flagged): Use different faces for marked and
9021 flagged files (bug#6117).
9023 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9026 * ido.el (ido-mode): Switch off the message if called
9029 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9030 before 587, since it appears that that's more likely to work for
9033 * cus-edit.el (custom-file): When running under emacs -q, always
9034 refuse to save the customizations, even if the .emacs file doesn't
9037 * info.el: Remove the `Info-beginning-of-buffer' function
9040 * net/network-stream.el (network-stream-open-starttls):
9041 Use `starttls-available-p' to see whether starttls.el can be used.
9043 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9045 * window.el (display-buffer-in-window): Don't set dedicated status
9046 of window here (Bug#9215).
9047 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9048 (display-buffer-pop-up-side-window)
9049 (display-buffer-in-side-window): Set dedicated status of window here.
9051 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9054 before binding generated-autoload-file.
9056 2011-08-01 Deniz Dogan <deniz@dogan.se>
9058 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9060 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9062 Sync with Tramp 2.2.2.
9064 * net/trampver.el: Update release number.
9066 2011-07-30 Juri Linkov <juri@jurta.org>
9068 * dired-aux.el (dired-touch-initial): Remove function.
9069 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9070 current time, and `default' to the last modification time of the
9071 current marked file (bug#6887).
9073 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9075 * simple.el (goto-line): Use string-to-number to provide a
9076 numeric argument to read-number (bug#9163).
9078 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9080 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9081 connection process, it could be nil.
9083 2011-07-27 Leo Liu <sdl.web@gmail.com>
9085 Simplify url handling in rcirc-mode.
9087 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9088 (rcirc-browse-url-at-mouse): Remove.
9089 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9091 2011-07-26 Alan Mackenzie <acm@muc.de>
9093 Fontify bitfield declarations properly.
9095 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9096 (c-symbol-chars): Now exported as a lang variable.
9097 (c-not-primitive-type-keywords): New lang variable.
9099 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9100 QT keyword "more" to prevent "more slots: ...." being spuriously
9101 parsed as a bitfield declaration.
9103 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9104 Refactor and enhance to handle bitfield declarations.
9105 (c-punctuation-in): New function.
9106 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9107 declarations properly.
9109 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9111 * calendar/icalendar.el (icalendar--all-events): Take care of
9112 multiple vcalendars in a single file.
9113 (icalendar--convert-float-to-ical): Checkdoc fixes.
9115 2011-07-25 Deniz Dogan <deniz@dogan.se>
9117 * image.el (insert-image): Clarifying docstring.
9119 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9121 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9122 `tramp-send-command-and-check' if there is no error.
9123 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9125 2011-07-22 Alan Mackenzie <acm@muc.de>
9127 Prevent cc-langs.elc being loaded at run time.
9129 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9132 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9133 "(require 'cc-langs)". Quote a form so it will evaluate at
9134 (cc-mode's) compilation time.
9136 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9138 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9141 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9143 * window.el (display-buffer-pop-up-window)
9144 (display-buffer-pop-up-side-window)
9145 (display-buffer-in-side-window): Call display-buffer-set-height
9146 and display-buffer-set-width after setting the new window's
9147 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9149 2011-07-20 Sam Steingold <sds@gnu.org>
9151 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9152 (etags-tags-included-tables): Call `convert-standard-filename' on
9153 the file names contained in TAGS so that windows Emacs can handle
9154 TAGS files created by cygwin ctags.
9156 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9158 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9159 which apparently didn't work.
9161 2011-07-19 Roland Winkler <winkler@gnu.org>
9163 * proced.el (proced-send-signal): For *Marked Processes* buffer
9164 put point at beginning of buffer.
9166 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9168 * proced.el (proced-format): Make header lines align with the text
9171 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173 * view.el (view-buffer): Allow running in `special' modes if we're
9174 visiting a file (bug#8615).
9176 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9178 * window.el (display-buffer-alist-of-strings-p)
9179 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9181 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9184 2011-07-18 Alan Mackenzie <acm@muc.de>
9186 Fontify declarators properly when, e.g., a jit-lock chunk begins
9187 inside a declaration.
9189 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9191 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9193 (c-complex-decl-matchers): Insert reference to
9194 c-font-lock-enclosing-decls.
9196 * progmodes/cc-engine.el (c-backward-single-comment):
9197 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9198 to nil around calls to (forward-comment -1).
9200 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9202 * image.el (put-image): Doc typo fix.
9204 * progmodes/etags.el (tags-search): Doc typo fix.
9206 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9207 password if we get errors 550 to 554.
9209 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211 * net/gnutls.el (gnutls-log-level): Remove.
9213 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9214 indentation character (bug#6380).
9216 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9218 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9219 to clarify what the problem is (bug#4291).
9221 * simple.el (current-kill): Clarify what
9222 `interprogram-paste-function' does (bug#7500).
9223 (auto-fill-mode): Document `auto-fill-function' in relation to
9224 `auto-fill-mode' (bug#2470).
9226 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9228 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9229 method if slot is read-only (bug#9035).
9231 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9233 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9234 * window.el (pop-to-buffer): Select window used even if it was
9235 selected before, see discussion of (Bug#8615), (Bug#6954).
9236 Pass argument NORECORD on to select-frame-set-input-focus.
9238 2011-07-15 Glenn Morris <rgm@gnu.org>
9240 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9243 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9245 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9246 (gnutls-negotiate): Use it.
9248 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9250 * net/gnutls.el (gnutls-negotiate):
9251 Upcase `gnutls-algorithm-priority'.
9253 2011-07-15 Glenn Morris <rgm@gnu.org>
9255 * jka-compr.el (jka-compr-verbose): Move from here...
9256 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9257 Add missing :version tag.
9258 * info.el: No need to require jka-compr when compiling.
9260 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9262 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9263 (gnutls-negotiate): Use it.
9265 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9267 * info.el (Info-beginning-of-buffer): New command.
9268 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9269 announcing `b' as the key (bug#8325).
9270 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9272 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9274 * international/mule-cmds.el
9275 (describe-specified-language-support): Make the error message
9278 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9280 * isearch.el (isearch-barrier): Add a doc string, since it's
9281 mentioned in a function doc string (bug#8678).
9283 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9285 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9286 buffer argument (Bug#9083) and self-identifying label argument.
9288 2011-07-15 Glenn Morris <rgm@gnu.org>
9290 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9292 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9294 * man.el (Man-fontify-manpage): Fix message when formatting the
9295 man page (bug#7929).
9297 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9299 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9300 argument LRM; if non-nil, append an invisible LRM character to the
9302 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9303 last argument non-nil, when formatting buffer names.
9304 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9305 paragraph direction.
9307 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9309 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9310 the man page name (bug#7929).
9312 * image.el (put-image): Mention the `put-image' overlay property
9315 * scroll-bar.el (set-scroll-bar-mode): Mention that
9316 `scroll-bar-mode' lists the values (bug#7772).
9318 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9321 * rect.el (apply-on-rectangle): Return the point after the last
9323 (string-rectangle): Go to the point after the last operation
9326 * printing.el (pr-toggle-region): Clarify the documentation
9327 slightly (bug#7493).
9329 * time.el (display-time-update):
9330 Allow `display-time-mail-function' to return nil (bug#7158).
9331 Fix suggested by Detlev Zundel.
9333 * vc/diff.el (diff): Clarify the order the file names are read
9336 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9337 the doc string (bug#7015).
9339 * font-lock.el (font-lock-maximum-decoration): Mention what
9340 numeric levels mean (bug#6935).
9342 * startup.el (initial-buffer-choice): Don't mention the `none'
9343 selection, which is against policy.
9345 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9347 * window.el (display-buffer-normalize-special):
9348 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9350 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9352 * subr.el (version<, version<=, version=): Mention "-CVS" and
9353 "-12345" alpha version numbers.
9355 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9357 * bindings.el: Add advertised binding for set-mark-command
9360 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9362 * bindings.el (mode-line-other-buffer):
9363 * bookmark.el (bookmark-bmenu-2-window):
9364 * bs.el (bs-cycle-next, bs-cycle-previous):
9365 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9368 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9371 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9373 * follow.el (follow-debug-message, follow-redisplay):
9374 * jka-cmpr-hook.el (with-auto-compression-mode):
9375 Fix typos in docstrings.
9377 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9379 * subr.el (with-silent-modifications): Clarify somewhat what the
9380 macro inhibits (bug#6525).
9382 * simple.el (eval-expression): Note what it does if called
9383 interactively (bug#6495).
9385 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9387 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9388 Use pop-to-buffer buffer-or-name if it is nil.
9390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9391 Remove switch-to-buffer.
9393 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9395 * files.el (make-directory): Clarify that an error will be raised
9396 if there's an error (bug#6397).
9398 * startup.el (initial-buffer-choice): Add `none' as a choice
9401 * subr.el (add-hook): Clarify section about buffer-local hooks
9404 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9406 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9408 * tabify.el (untabify): Preserve the current column so that point
9409 doesn't move (bug#6032).
9411 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9413 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9414 Rewrite to avoid awkward possessive "s" (bug#5986).
9416 2011-07-13 Glenn Morris <rgm@gnu.org>
9418 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9419 (dired-insert-directory): Give a message the first time
9420 if ls is found not to support --dired.
9422 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9424 * simple.el (toggle-truncate-lines): Clarify what is toggled
9425 (bug#5580). Text by Drew Adams.
9427 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9429 * simple.el (blink-matching-open): Make the error message from the
9430 last change less verbose.
9432 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9434 * font-lock.el (font-lock-comment-face): Use the high contrast
9435 "yellow" color for font-lock-comment-face on low color terminals
9436 using a dark background color (bug#4221).
9438 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9440 * dired.el (dired-insert-set-properties): Make the doc string
9441 reflect what it does now (bug#5325).
9443 * simple.el (blink-matching-open): Say that we were unable to find
9444 the match within the limit, if we're limited (bug#5122).
9446 * international/mule-cmds.el (prefer-coding-system): Add an
9449 * progmodes/etags.el (tags-search): Document `file-list-form'
9452 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9454 * net/browse-url.el (browse-url-default-browser)
9455 (browse-url-browser-function): Make the default browser choice a
9456 bit more logical (bug#4300). Also clean up the doc string.
9458 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9460 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9461 binary endings (bug#4440).
9463 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9465 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9466 which can be pretty annoying (bug#8971).
9468 * jka-compr.el (jka-compr-verbose): New variable, and use
9469 throughout (bug#8971).
9471 * info.el (Info-find-file): Fall back on the installation
9472 directory if we can't find the info node anywhere else.
9474 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9476 * vc/vc.el (vc-revert-file):
9477 Don't set file time-stamp in the past. (Bug#5181)
9479 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481 * files.el (after-find-file): Give a better error message when
9482 trying to find a symlink that points to a file that doesn't exist
9485 * progmodes/cc-vars.el: Remove (probably) misleading comment
9488 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9490 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9492 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9494 * mouse-sel.el: Hack restoring functionality, while keeping
9495 compatibility with 2010-07-03 changes to mouse selection.
9496 (mouse-sel-primary-overlay): New var.
9497 (mouse-sel-selection-alist): Use it.
9498 (mouse-sel-mode): Doc fix; remove points that are default features
9501 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9504 Fix previous fix (bug#2490).
9506 2011-07-12 Roland Winkler <winkler@gnu.org>
9508 * textmodes/bibtex.el (bibtex-initialize):
9509 Use pop-to-buffer-same-window.
9510 (bibtex-search-entries): Fix interactive call.
9512 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9515 Fontise bytecomp Error lines more correctly (bug#2490).
9516 Fix suggested by Johan BockgĂ¥rd.
9518 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9520 * dired-x.el (dired-guess-default): Use `delete-dups'.
9522 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9524 * dired.el (dired-mark-prompt):
9525 * dired-aux.el (dired-read-shell-command): Doc fix.
9527 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9529 * mail/sendmail.el (sendmail-query-once):
9530 Use `customize-save-variable' unconditionally, now that it works under
9533 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9535 * cus-edit.el (custom-file): Take an optional no-error variable.
9536 (customize-save-variable): Set the variable, and give a warning if
9537 running under "emacs -q".
9539 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9541 * loadhist.el (unload-feature-special-hooks):
9542 Add `auto-coding-functions', `fill-nobreak-predicate' and
9543 `find-directory-functions' (bug#5327).
9545 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9549 * cus-edit.el (custom-guess-name-alist): -alist variables should
9550 use the `alist' type (bug#3120). Suggested by Drew Adams.
9552 * printing.el: Add documentation to all the `pr-toggle-' commands.
9554 2011-07-11 Leo Liu <sdl.web@gmail.com>
9556 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9557 backends where it makes sense (bug#2623).
9559 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9561 * dired-x.el (dired-guess-default): Remove duplicate shell command
9563 (dired-guess-default): Fix grammar in doc string (bug#2028).
9564 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9566 * subr.el (remove-duplicates): New conveniency function.
9568 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9570 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9573 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9575 * window.el (display-buffer-normalize-default): Don't invert
9576 meaning of even-window-heights. Reported by Eli Zaretskii
9579 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9581 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9583 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9585 * window.el (display-buffer): Fix arguments to
9586 display-buffer-reuse-window in last change.
9588 * faces.el (link): Use a less saturated blue on light backgrounds.
9590 * startup.el (fancy-startup-text, fancy-about-text)
9591 (fancy-startup-tail): Use font-lock faces, for background safety.
9593 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9595 * emulation/viper-cmd.el (viper-change-state-to-vi):
9596 Limit triggering of abbrev expansion (Bug#9038).
9598 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9600 * window.el (display-buffer-default-specifiers): Remove.
9601 (display-buffer-macro-specifiers): Remove default specifiers.
9602 (display-buffer-alist): Default to nil.
9603 (display-buffer-reuse-window): New optional argument other-window.
9604 (display-buffer-pop-up-window): Allow splitting internal
9605 windows. Check whether a live window was created.
9606 (display-buffer-other-window-means-other-frame)
9607 (display-buffer-normalize-arguments): Rename to
9608 display-buffer-normalize-argument and rewrite. Set the
9609 other-window specifier.
9610 (display-buffer-normalize-special): New function.
9611 (display-buffer-normalize-options): Rename to
9612 display-buffer-normalize-default and rewrite.
9613 (display-buffer-normalize-options-inhibit): Remove.
9614 (display-buffer-normalize-specifiers): Rewrite.
9615 (display-buffer): Process other-window specifier and call
9616 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9618 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9619 (display-buffer-alist-set): Don't handle 'unset default values.
9620 (display-buffer-in-window, display-buffer-alist-set):
9621 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9622 <tassilo@member.fsf.org>.
9624 2011-07-09 Leo Liu <sdl.web@gmail.com>
9626 * register.el (insert-register): Restore accidental change on
9627 2011-06-26. (Bug#9028)
9629 2011-07-09 Glenn Morris <rgm@gnu.org>
9631 * subr.el (remq): Handle the empty list. (Bug#9024)
9633 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9635 * mail/sendmail.el (send-mail-function): No longer delay custom
9637 * custom.el (custom-initialize-delay): Doc fix.
9639 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9641 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9643 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9645 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9646 human-friendly prompt.
9648 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9650 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9651 provided by a particular plugin.
9653 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9655 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9656 save customizations (with "emacs -Q"), just set the variable
9657 instead of erroring out.
9659 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9661 2011-07-08 Juri Linkov <juri@jurta.org>
9663 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9664 (archive-zip-update-case): Use 7z if found by `executable-find'.
9665 The order of searching the available programs is the same as in
9666 `archive-zip-extract' (bug#8968).
9668 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9670 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9671 (menu-bar-options-menu): Tweak descriptions.
9673 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9675 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9676 menu items into verb phrases (bug#1421). Also refill to fit under
9679 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9681 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9682 (Info-read-node-name): Doc fix (Bug#1084).
9684 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9685 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9686 (end-of-sexp, beginning-of-sexp)
9687 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9688 (forward-symbol, forward-same-syntax, word-at-point)
9689 (sentence-at-point): Doc fix (Bug#1144).
9691 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9694 should cover it (bug#1281).
9696 * cus-edit.el (custom-show): Mark as obsolete.
9698 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9699 negotiation fails, then possibly try again with a non-encrypted
9700 connection (bug#9017).
9702 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9705 2011-07-07 Richard Stallman <rms@gnu.org>
9707 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9708 property, and handle its changed format.
9709 Look for the correct line number.
9710 Use file's line contents (but not past first =) to find
9711 correct line in message.
9713 2011-07-07 Kenichi Handa <handa@m17n.org>
9715 * international/characters.el (build-unicode-category-table):
9717 (unicode-category-table): Set it by unicode-property-table-internal.
9719 * international/mule-cmds.el (char-code-property-alist): Move to
9721 (get-char-code-property): Call unicode-property-table-internal to
9722 load a file. Call get-unicode-property-internal where necessary.
9723 (put-char-code-property): Call unicode-property-table-internal to
9724 load a file. Call put-unicode-property-internal where necessary.
9725 put-unicode-property-internal where necessary.
9726 (char-code-property-description):
9727 Call unicode-property-table-internal to load a file.
9729 * international/charprop.el:
9730 * international/uni-bidi.el:
9731 * international/uni-category.el:
9732 * international/uni-combining.el:
9733 * international/uni-comment.el:
9734 * international/uni-decimal.el:
9735 * international/uni-decomposition.el:
9736 * international/uni-digit.el:
9737 * international/uni-lowercase.el:
9738 * international/uni-mirrored.el:
9739 * international/uni-name.el:
9740 * international/uni-numeric.el:
9741 * international/uni-old-name.el:
9742 * international/uni-titlecase.el:
9743 * international/uni-uppercase.el: Regenerate.
9745 * loadup.el: Load international/charprop.el before
9746 international/characters.
9748 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9750 * window.el (next-buffer, previous-buffer): Signal an error if
9751 called from a minibuffer window.
9753 * bindings.el: Revert 2011-07-04 change.
9755 2011-07-06 Richard Stallman <rms@gnu.org>
9757 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9758 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9759 Treat markers like ints.
9760 (rmail-mime-entity): Doc fix.
9762 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9764 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9765 defcustom again for backwards compatibility.
9767 * simple.el (shell-command-on-region): Fill.
9769 * dired-aux.el (dired-kill-line): Add a doc string.
9771 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9772 to "\\sw\\|\\s_" (bug#358).
9774 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9775 (dired-unmark-backward): Ditto.
9776 (dired-flag-backup-files): Ditto.
9778 * dired-x.el (dired-mark-sexp): Ditto.
9780 2011-07-06 Richard Stallman <rms@gnu.org>
9782 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9783 (rmail-mime-entity): New arg TRUNCATED.
9784 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9786 (rmail-mime-save): Warn if entity is truncated.
9787 (rmail-mime-toggle-hidden): Likewise, for showing.
9788 (rmail-mime-process-multipart): Record when an entity is truncated.
9790 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9791 if ENTITY is a string.
9793 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9795 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9796 of faces when `M-C-x'-ing their definitions (bug#8378).
9797 Also clean up the code slightly.
9799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9800 because that makes the colors go away.
9802 * mail/sendmail.el (send-mail-function): Change the default to
9803 `sendmail-query-once'.
9804 (sendmail-query-once): Add an autoload cookie.
9806 * net/network-stream.el (network-stream-open-starttls): Try using
9807 a plain connection even if the server offered STARTTLS, and we
9808 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9809 capability. This should make smtpmail.el work in slightly more
9812 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9814 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9816 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9818 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9820 * progmodes/sql.el: Version 3.0
9821 (sql-product-alist): Add product :completion-object,
9822 :completion-column, and :statement attributes.
9823 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9824 (sql-mode-syntax-table): Mark all punctuation.
9825 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9827 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9828 (sql-mode-oracle-font-lock-keywords): Improve.
9829 (sql-oracle-show-reserved-words): New function for development.
9830 (sql-product-font-lock): Simplify for source code buffers.
9831 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9833 (sql-highlight-product): Set product specific syntax table.
9834 (sql-mode-map): Add statement movement functions.
9835 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9837 (sql-statement-regexp, sql-beginning-of-statement)
9838 (sql-end-of-statement, sql-signum): New functions.
9839 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9840 (sql-show-sqli-buffer): Bug fix.
9841 (sql-interactive-mode): Store connection data as buffer local.
9842 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9843 with sql-interactive-mode.
9844 (sql-save-connection): Save buffer local settings.
9845 (sql-connection-menu-filter): Change menu entry name.
9846 (sql-product-interactive): Bug fix.
9847 (sql-preoutput-hold): New variable.
9848 (sql-interactive-remove-continuation-prompt): Bug fixes.
9849 (sql-debug-redirect): New variable.
9850 (sql-str-literal): New function.
9851 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9853 (sql-oracle-save-settings, sql-oracle-restore-settings)
9854 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9855 (sql-completion-object, sql-completion-column)
9856 (sql-completion-sqlbuf): New variables.
9857 (sql-build-completions-1, sql-build-completions)
9858 (sql-try-completion): New functions.
9859 (sql-read-table-name): Use them.
9860 (sql-contains-names): New buffer local variable.
9861 (sql-list-all, sql-list-table): Use it.
9862 (sql-oracle-completion-types): New variable.
9863 (sql-oracle-completion-object, sql-sqlite-completion-object)
9864 (sql-postgres-completion-object): New functions.
9866 2011-07-06 Glenn Morris <rgm@gnu.org>
9868 * window.el (pop-to-buffer): Doc fix.
9870 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9872 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9874 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9876 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9878 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9880 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9882 * button.el (button): Inherit from link face. Suggested by Dan
9885 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9887 * progmodes/gdb-mi.el: Fit in 80 columns.
9888 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9891 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9892 if imenu is simply not configured (bug#8941).
9894 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9896 * allout.el (allout-post-undo-hook): New allout outline-change
9897 event hook to signal undo activity.
9898 (allout-post-command-business): Run allout-post-undo-hook if an
9900 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9901 * allout-widgets.el (allout-widgets-after-undo-function):
9902 Ensure the integrity of the current item's decoration after it has been
9903 in the vicinity of an undo.
9904 (allout-widgets-mode): Include allout-widgets-after-undo-function
9905 on the new allout-post-undo-hook.
9907 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9910 Let define-derived-mode define it.
9911 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9912 cycles of abbrev-table inheritance (bug#8998).
9914 2011-07-05 Roland Winkler <winkler@gnu.org>
9916 * textmodes/bibtex.el: Add support for biblatex.
9917 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9918 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9919 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9920 (bibtex-entry-alist, bibtex-field-alist): New variables.
9921 (bibtex-entry-field-alist): Obsolete alias for
9922 bibtex-BibTeX-entry-alist.
9923 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9924 (bibtex-set-dialect): New command.
9925 (bibtex-entry-type, bibtex-entry-head)
9926 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9927 Bind via bibtex-set-dialect.
9928 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9929 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9930 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9931 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9932 Define via bibtex-set-dialect.
9933 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9934 Obey bibtex-no-opt-remove-re.
9935 (bibtex-vec-push, bibtex-vec-incr): New functions.
9936 (bibtex-format-entry, bibtex-field-list)
9937 (bibtex-print-help-message, bibtex-validate)
9938 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9940 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * progmodes/compile.el (compilation-goto-locus):
9943 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9944 * bs.el (bs-cycle-next, bs-cycle-previous):
9945 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9946 * bindings.el (mode-line-other-buffer):
9947 * autoinsert.el (auto-insert):
9948 * arc-mode.el (archive-extract):
9949 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9951 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9953 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9954 Fix check of `emacs-lock-unlockable-modes'.
9955 Coerce true values of `emacs-lock--try-unlocking' to t.
9957 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9959 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9960 * emacs-lock.el: New file.
9962 2011-07-05 Julien Danjou <julien@danjou.info>
9964 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9965 than `boundp' to check if face is set.
9967 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9969 * register.el (registerv-make):
9970 * window.el (window-min-height): Fix typos in docstrings.
9972 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9974 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9977 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9979 * server.el (server-execute): Catch quit and call
9980 `server-return-error' to pass the error back to emacsclient and
9981 close the connection (bug#8942).
9983 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9985 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9986 insecure exception for current topic. Also note that auto-saves
9987 are handled differently.
9989 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9990 State variables for tracking auto-save inhibition situation.
9992 (allout-write-contents-hook-handler): Rename from
9993 'allout-write-file-hook-handler', and describe how it depends on
9994 write-contents-functions sensitivity to non-nil value to prevent
9997 (allout-auto-save-hook-handler): Remove. auto-save does not check
9998 this in individual buffers, only in the starting buffer, so this
9999 is not the right way for us to inhibit auto-save in a buffer
10000 according to its condition.
10002 (allout-mode): Use new allout-write-contents-hook-handler, and
10003 only with write-contents-functions. Remove auto-save provisions -
10004 they're implemented elsewhere.
10006 (allout-before-change-handler): If undo is in progress, note that
10007 for attention of allout-post-command-business.
10009 (allout-post-command-business): If the command we're following was
10010 an undo, check for change in the status of encrypted items and
10011 adjust auto-save inhibitions accordingly.
10013 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10014 according to whether there are or aren't any plain-text topics
10015 pending encryption.
10017 (allout-inhibit-auto-save-info-for-decryption):
10018 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10019 if there are plain-text topics pending encryption.
10021 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10022 buffer-saved-size and some allout state to not inhibit auto-saves
10023 if there are no longer any plain-text topics pending encryption.
10025 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10026 No longer provide for exemption of the current topic.
10028 2011-07-04 Juri Linkov <juri@jurta.org>
10030 Add 7z operations to delete and save changed members (bug#8968).
10031 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10033 (archive-7z-write-file-member): New function.
10034 (archive-7z-summarize): Fix the number of dashes in the
10037 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10039 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10042 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10044 * bindings.el: Ignore next-buffer and previous-buffer in
10045 minibuffer-local-map.
10047 * font-lock.el (font-lock-builtin-face): Change light background
10048 color to dark slate blue (Bug#6693).
10050 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10052 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10054 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10056 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10057 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10058 Add switch-to-buffer.
10060 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10062 * isearch.el (isearch-search-fun-function): Clarify further the
10063 meaning of the function returned.
10065 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10067 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10069 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10070 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10072 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10073 `tramp-default-remote-path' does not exist.
10074 (tramp-send-command-and-read): New optional argument NOERROR.
10075 (tramp-open-connection-setup-interactive-shell)
10076 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10077 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10078 (tramp-process-sentinel): Flush also process' connection property.
10079 (tramp-sh-handle-start-file-process): Do not set process
10080 sentinel. It is done now ...
10081 (tramp-maybe-open-connection): ... here. (Bug#8929)
10083 2011-07-04 MON KEY <monkey@sandpframing.com>
10085 * play/animate.el (animate-string): Doc fixes and allow changing
10086 the buffer name (bug#5417).
10088 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090 * play/animate.el (animation-buffer-name): Rename from *animate*.
10092 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10094 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10095 This is simpler and helps future-proof the code.
10096 (timer-until): Use time-subtract and float-time.
10097 (timer--time-less-p): Use time-less-p.
10099 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10101 * type-break.el (timep): Use the value of `float-time' to avoid a
10102 byte-compiler warning.
10104 * server.el (server-eval-and-print): Return any result, even nil.
10106 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10108 * type-break.el: Accept time formats that the builtins accept.
10109 (timep, type-break-time-difference): Accept any format that
10110 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10111 This is simpler and helps future-proof the code.
10112 (type-break-time-difference): Round rather than ignoring
10113 subseconds components.
10115 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10117 * info.el (Info-apropos-matches): Make non-interactive, since it
10118 doesn't seem to do anything useful as a command (bug#8829).
10120 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10122 * frame.el (frame-background-mode, frame-set-background-mode):
10123 Move from faces.el.
10124 (frame-default-terminal-background): New function.
10126 * custom.el (custom-push-theme): Don't record faces in `changed'
10127 theme; this doesn't work correctly for per-frame face settings.
10128 (disable-theme): Use face-set-after-frame-default to reset faces.
10129 (custom--frame-color-default): New function.
10131 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10133 * dired.el (dired-flagging-regexp): Remove unused variable
10136 2011-03-29 Kevin Ryde <user42@zip.com.au>
10138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10139 `perl-Test2' extend to match possible "fail #N" rep count
10142 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10144 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10145 `smtpmail-via-smtp' now returns the error instead of nil.
10147 * isearch.el (isearch-search-fun-function): Clarify the doc string
10150 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10152 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10153 unnecessary spaces (bug#8987).
10155 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10157 * net/network-stream.el (open-network-stream): Use the
10158 :end-of-capability command thoughout.
10160 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10162 * net/network-stream.el (open-network-stream): Add the
10163 :end-of-capability command parameter, used by pop3.el.
10165 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10167 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10169 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10170 for list)" (bug#6475).
10172 * files.el (file-expand-wildcards): Ignore non-readable
10173 sub-directories while trying to find matches instead of signaling
10174 an error (bug#6297).
10176 * man.el (Man-reference-regexp): Allow matching possible
10177 word-wrapped references (bug#6289).
10179 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10180 for consistency with the other vc buffers (bug#6197).
10181 (vc-checkin): Ditto.
10183 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10185 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10187 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10189 * custom.el (defcustom): Clarify that :set is only used in the
10190 Customize user interface (bug#6089).
10192 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10193 associated with a file, refuse to run instead of erroring out
10196 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10197 the doc string, since it appears that using `fill-column' always
10198 controls the width (bug#7845).
10200 * simple.el (shell-command-on-region): Say where the error output
10201 went if `shell-command-default-error-buffer' is set (bug#6857).
10203 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10205 * allout.el (allout-yank-processing): Adjust cursor position for
10206 backwards-deleted space.
10208 (allout-rebullet-heading): Register changes with
10209 allout-exposure-changed-hook, so the modified topic is properly
10212 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10214 * minibuffer.el (completion-in-region): Document PREDICATE
10217 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10218 of keyword/argument pairs (bug#6904).
10220 * replace.el (multi-occur):
10221 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10223 2011-07-02 Drew Adams <drew.adams@oracle.com>
10225 * dired.el (dired-mark-if): Make the message about whether it's
10226 marking or unmarking clearer (bug#8523).
10228 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10230 * disp-table.el (display-table-print-array): New function.
10231 (describe-display-table): Use it to print the vectors more pretty
10234 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10236 * window.el (window-state-get-1): Don't assign clone numbers.
10237 Add clone-of item to list of window parameters.
10238 (window-state-put-2): Don't process clone numbers.
10239 (display-buffer-alist): Fix doc-string.
10241 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * subr.el (remq): Don't allocate if it's not needed.
10244 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10245 (keymap--merge-bindings): New functions.
10246 (keymap-canonicalize): Use them to refine the canonicalization.
10247 * minibuffer.el (minibuffer-local-completion-map)
10248 (minibuffer-local-must-match-map): Move initialization from C.
10249 (minibuffer-local-filename-completion-map): Move initialization from C;
10250 don't inherit from anything here.
10251 (minibuffer-local-filename-must-match-map): Make obsolete.
10252 (completing-read-default): Use make-composed-keymap to combine
10253 minibuffer-local-filename-completion-map with either
10254 minibuffer-local-must-match-map or
10255 minibuffer-local-filename-completion-map.
10257 2011-07-01 Glenn Morris <rgm@gnu.org>
10259 * type-break.el (type-break-time-sum): Use dolist.
10261 * textmodes/flyspell.el (flyspell-word-search-backward):
10262 Replace CL function.
10264 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * mouse.el (mouse--strip-first-event): New function.
10267 (function-key-map): Use it to map fringe clicks to normal clicks
10270 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10271 (vc-bzr-revision-completion-table): Add support for annotate and date.
10273 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10274 inherit from parent.
10276 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10278 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10279 (dired-show-file-type): Doc fixup (bug#8818).
10281 * dired.el (dired-mode): Fix up the doc string as suggested by
10282 Drew Adams (bug#8817).
10284 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10285 cookie, since the manual says that it should be possible to add
10286 this function to `find-file-hook' (bug#8709).
10288 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10290 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10291 here. Noted Ted Zlatanov as the maintainer.
10292 (cfengine-common-settings, cfengine-common-syntax): New functions
10293 to set up common things between `cfengine-mode' and
10295 (cfengine3-mode): New mode.
10296 (cfengine3-defuns cfengine3-defuns-regex
10297 (cfengine3-class-selector-regex cfengine3-category-regex)
10298 (cfengine3-vartypes cfengine3-font-lock-keywords)
10299 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10300 (cfengine3-indent-line): Add from cfengine3.el.
10302 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10304 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10306 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10308 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10310 * window.el (same-window-buffer-names, same-window-regexps)
10311 (same-window-p, special-display-frame-alist)
10312 (special-display-popup-frame, special-display-function)
10313 (special-display-buffer-names, special-display-regexps)
10314 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10315 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10316 (split-window-preferred-function, split-height-threshold)
10317 (split-width-threshold, even-window-heights)
10318 (display-buffer-mark-dedicated, window-splittable-p)
10319 (split-window-sensibly, window-safely-shrinkable-p):
10321 (display-buffer): Don't spread args with function specifier
10322 because special-display-popup-frame won't like it.
10324 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10326 Time-stamp simplifications and fixes.
10327 These improve accuracy slightly, and future-proof the code
10328 against some potential changes to current-time format.
10330 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10331 by using time-since and float-time.
10333 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10334 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10335 + NNN microseconds".
10337 * type-break.el (type-break-time-sum): Rewrite using time-add.
10339 * play/hanoi.el (hanoi-current-time-float): Remove.
10340 All uses replaced by float-time.
10342 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10343 This yields a more-accurate answer.
10344 (rng-time-to-float): Remove; no longer needed.
10346 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10348 * calendar/timeclock.el (timeclock-seconds-to-time):
10349 Defalias to seconds-to-time, since they're the same thing.
10351 * emacs-lisp/elp.el (elp-elapsed-time):
10352 * emacs-lisp/benchmark.el (benchmark-elapse):
10353 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10355 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10357 * window.el (bury-buffer): Don't iconify the only frame.
10358 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10359 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10361 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10363 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10364 Add mouse-yank-primary.
10366 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10368 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10370 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10373 (find-library-name): Use it to find relative load names when provided
10374 absolute file name (bug#8803).
10376 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10378 * textmodes/flyspell.el (flyspell-word): Consider words that
10379 differ only in case as potential doublons (bug#5687).
10381 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10382 Remove two rather uninteresting debugging-like messages to make
10383 debbugs.el more silent.
10385 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10386 a password-like phrase.
10388 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10390 * progmodes/cc-guess.el: New file.
10392 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10394 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10395 derived from `c-basic-common-init'.
10397 * progmodes/cc-mode.el (top-level): Require cc-guess.
10398 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10400 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10402 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10404 2011-06-30 Alan Mackenzie <acm@muc.de>
10406 * progmodes/cc-engine.el (c-guess-continued-construct):
10407 Correct the handling of template-args-cont, particularly for when font
10408 lock is disabled. Name this case as "CASE G".
10410 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10412 * allout.el (allout-yank-processing): Fix injection of extra space
10413 between bullet and non-whitespace character in first topic when
10414 pasting, ensuring that the actual spacing in the pasted topic
10415 following the bullet char is preserved. This extra space was
10416 causing pasted encrypted topics to get a decrypted status even
10417 when the content was actually still encrypted. Now the decryption
10418 status from before the paste is preserved.
10420 (allout-flag-region): Set all allout overlays so they evaporate
10421 when reduced to zero length (evanescent), to prevent overlay
10424 2011-06-30 Glenn Morris <rgm@gnu.org>
10426 * w32-fns.el (w32-charset-info-alist): Declare.
10428 * find-dired.el (find-grep-options): Simplify.
10430 * term/ns-win.el (ns-set-resource): Declare.
10432 * ses.el (row, col): Declare dynamic variables honestly.
10434 * textmodes/reftex-parse.el (index-tags): Declare.
10436 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10438 * cus-edit.el (customize-push-and-save): New function.
10440 * files.el (hack-local-variables-confirm): Use it.
10442 * custom.el (load-theme): New arg NO-CONFIRM.
10443 Use customize-push-and-save (Bug#8720).
10444 (custom-enabled-themes): Doc fix.
10446 * cus-theme.el (customize-create-theme)
10447 (custom-theme-merge-theme): Callers to load-theme changed.
10449 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10451 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10452 short URLs have at least one dot in them (bug #7614).
10454 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10455 nil, because using a pty is apparently too slow (bug #895).
10457 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459 * mail/sendmail.el (sendmail-query-once): New function.
10460 (sendmail-query-once-function): New variable.
10462 2011-06-29 Glenn Morris <rgm@gnu.org>
10464 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10466 * ses.el (top-level): Require cl when compiling.
10467 (ses-set-localvars): Fix error statement.
10468 Call it at compile time to silence a storm of warnings.
10470 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10472 * window.el (normalize-live-buffer): Rename to
10473 window-normalize-buffer.
10474 (normalize-live-frame): Rename to window-normalize-frame.
10475 (normalize-any-window): Rename to window-normalize-any-window.
10476 (normalize-live-window): Rename to window-normalize-live-window.
10477 (make-window-atom): Rename to window-make-atom.
10478 (window-resize-reset): Rename to window--resize-reset.
10479 (window-resize-reset-1): Rename to window--resize-reset-1.
10480 (resize-mini-window): Rename to window--resize-mini-window.
10481 (resize-subwindows-skip-p): Rename to
10482 window--resize-subwindows-skip-p.
10483 (resize-subwindows-normal): Rename to
10484 window--resize-subwindows-normal.
10485 (resize-subwindows): Rename to window--resize-subwindows.
10486 (resize-other-windows): Rename to window--resize-siblings.
10487 (resize-this-window): Rename to window--resize-this-window.
10488 (resize-root-window): Rename to window--resize-root-window.
10489 (resize-root-window-vertically): Rename to
10490 window--resize-root-window-vertically.
10491 (normalize-buffer-to-display): Rename to
10492 window-normalize-buffer-to-display.
10493 (normalize-buffer-to-switch-to): Rename to
10494 window-normalize-buffer-to-switch-to.
10495 Correspondingly update all callers of the functions listed
10497 (display-buffer-alist, display-buffer-normalize-arguments)
10498 (display-buffer-normalize-options, display-buffer)
10499 (display-buffer-alist-set): Use "function" instead of
10502 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10504 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10505 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10506 debbugs.gnu.org. Mention acknowledgment email.
10508 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10510 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10511 buffer multibyteness, since it shouldn't matter.
10513 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10515 * window.el (display-buffer-in-side-window): Handle dedicated
10516 windows as in display-buffer-reuse-window.
10517 (display-buffer-normalize-alist): Use value of override
10519 (display-buffer-normalize-specifiers): Use value of
10520 other-window-means-other-frame specifier.
10521 (display-buffer-alist): Rewrite some texts in widgets.
10522 (display-buffer): Spread arguments when calling function
10523 specified by fun-with-args.
10525 2011-06-28 Deniz Dogan <deniz@dogan.se>
10527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10530 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10531 selectors (Bug#5732).
10532 (css-proprietary-nmstart-re): Use `regexp-opt'.
10534 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10536 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10537 (eshell-ls-date-format): New defcustom.
10538 (eshell-ls-file): Use it.
10540 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10544 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10546 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10547 (ange-ftp-make-tmp-name): New arg.
10548 (ange-ftp-file-local-copy): Use it.
10550 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10552 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10553 no-conversion (Bug#8870).
10555 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10557 * window.el (window-right, window-left, window-child)
10558 (window-child-count, window-last-child)
10559 (window-iso-combination-p, walk-window-tree-1)
10560 (window-atom-check-1, window-tree-1, delete-window)
10561 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10562 new naming conventions - window-vchild, window-hchild,
10563 window-next and window-prev are now called window-top-child,
10564 window-left-child, window-next-sibling and window-prev-sibling
10566 (resize-window-reset): Rename to window-resize-reset.
10567 (resize-window-reset-1): Rename to window-resize-reset-1.
10568 (resize-window): Rename to window-resize.
10569 (window-min-height, window-min-width)
10570 (resize-mini-window, resize-this-window, resize-root-window)
10571 (resize-root-window-vertically, adjust-window-trailing-edge)
10572 (enlarge-window, shrink-window, maximize-window)
10573 (minimize-window, delete-window, quit-restore-window)
10574 (split-window, balance-windows, balance-windows-area-adjust)
10575 (balance-windows-area, window-state-put-2)
10576 (display-buffer-even-window-sizes, display-buffer-set-height)
10577 (display-buffer-set-width, set-window-text-height)
10578 (fit-window-to-buffer): Rename all "resize-window" prefixed
10579 calls to use the "window-resize" prefix convention.
10580 (display-buffer-alist): Fix symbol for label specifier.
10581 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10582 corresponding specifier.
10583 Reported by Juanma Barranquero <lekktu@gmail.com>.
10585 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10587 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10589 (ses-call-printer): Does not pass an empty string to formatter when the
10590 cell is empty to keep from barking printer Calc math-format-value.
10592 2011-06-27 Richard Stallman <rms@gnu.org>
10594 * battery.el (battery-mode-line-limit): New variable.
10595 (battery-update): Handle it.
10597 * mail/rmailmm.el (rmail-mime-process-multipart):
10598 Handle truncated messages.
10600 2011-06-27 Glenn Morris <rgm@gnu.org>
10602 * progmodes/flymake.el (flymake-err-line-patterns):
10603 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10605 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10607 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10608 (ses--clean-!, ses--clean-_): New functions.
10609 (ses-range): Add configurability of readout order, and conversion
10612 * ses.el (ses-repair-cell-reference-all): New function.
10613 (ses-cell-symbol): Set macro as safe, so that it can be used in
10616 * ses.el: Update cycle detection algorithm.
10617 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10618 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10619 (ses-set-localvars): New function.
10620 (ses-make-cell): Add property-list as a cell element.
10621 (ses-cell-property-get-fun, ses-cell-property-get)
10622 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10623 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10625 (ses-cell-property-set, ses-cell-property-pop)
10626 (ses-cell-property-get-handle): New macro.
10627 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10628 New aliases, used for code readability.
10629 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10631 (ses-self-reference-early-detection): New defcustom.
10632 (ses-formula-references): Robustify against self-referring cells.
10633 (ses-mode): Use ses-set-localvars.
10634 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10635 before lauching the update processing.
10636 (ses-initialize-Dijkstra-attempt): New function.
10637 (ses-recalculate-cell): Update for cycle detection based on
10638 Dijkstra algorithm.
10640 * ses.el: Fix commenting and indenting convention.
10642 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10644 * bs.el (bs-cycle-next): Complete last change.
10646 2011-06-27 Drew Adams <drew.adams@oracle.com>
10648 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10650 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10652 * net/network-stream.el (network-stream-open-starttls):
10653 Don't re-get capabilities unless we've reestablished connection.
10654 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10656 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10657 to binary to possibly avoid line encoding issues on Windows (among
10660 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10662 * net/network-stream.el (open-network-stream): Return an :error
10663 saying what the problem was, if possible.
10665 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10668 * net/network-stream.el (network-stream-open-starttls): If we
10669 wanted to use STARTTLS, and the server offered it, but we weren't
10670 able to because we had no STARTTLS support, then close the connection.
10671 (open-network-stream): Return an :error element, if present.
10673 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10675 * hl-line.el (hl-line-sticky-flag): Doc fix.
10676 (global-hl-line-sticky-flag): New option (Bug#8323).
10677 (global-hl-line-highlight): Obey it.
10679 * vc/vc.el (vc-revert-show-diff): Default to t.
10681 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10683 * allout-widgets.el (allout-widgets-post-command-business):
10684 Stop decorating intermediate isearch matches. They're not being
10685 undecorated when an isearch is continued past, and isearch
10686 automatically collapses them. This leads to "widget leaks", where
10687 decorated items accumulate in collapsed areas. Lines with lots of
10688 hidden widgets can slow down cursor travel, substantially.
10689 Too much complicated machinery would be needed to ensure undecoration,
10690 so we're doing without this nicety.
10692 (allout-widgets-tally-string): Don't try to do a hash-table-count
10693 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10694 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10695 *Messages* when allout-widgets-maintain-tally is t.
10697 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10699 * window.el (display-buffer-normalize-argument): Rename to
10700 display-buffer-normalize-arguments. Handle special meaning of
10701 LABEL argument. Respect special-display-function when popping up
10702 a new frame. Fix code searching for a window showing the buffer
10704 (display-buffer-normalize-specifiers):
10705 Call display-buffer-normalize-arguments.
10706 (display-buffer-in-window): Don't undedicate the window if its
10707 buffer remains the same.
10708 Reported by Drew Adams <drew.adams@oracle.com>.
10709 (display-buffer-alist): Add choice for same-window macro
10711 (display-buffer): Mention special meaning of LABEL argument in
10712 doc-string. Fix quoting. Don't pop up a new frame even as
10715 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10717 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10718 avoid deleting the current window in some cases (bug#8911).
10720 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10722 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10725 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10727 * net/network-stream.el (network-stream-open-starttls):
10728 Use built-in TLS support if `gnutls-available-p' is true.
10729 (network-stream-open-tls): Ditto.
10731 2011-06-26 Leo Liu <sdl.web@gmail.com>
10733 * register.el (registerv): New struct.
10734 (registerv-make): New function.
10735 (jump-to-register, describe-register-1, insert-register):
10736 Support the jump-func, print-func and insert-func slot of a registerv
10739 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10741 * vc/vc.el (vc-revert-show-diff): New defcustom.
10742 (vc-diff-internal): New arg specifying diff buffer.
10743 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10744 reuse an existing *vc-diff* buffer (Bug#8927).
10746 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10748 2011-06-26 Glenn Morris <rgm@gnu.org>
10750 * progmodes/f90.el (f90-critical-indent): New option.
10751 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10752 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10753 (f90-mode): Doc fix.
10754 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10755 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10756 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10757 (f90-match-end): Handle block, critical.
10759 2011-06-25 Glenn Morris <rgm@gnu.org>
10761 * calendar/diary-lib.el (diary-included-files): Doc fix.
10762 (diary-include-files): New function, extracted from
10763 diary-include-other-diary-files and diary-mark-included-diary-files.
10764 (diary-include-other-diary-files, diary-mark-included-diary-files):
10765 Just call diary-include-files.
10766 (diary-mark-entries): Reset diary-included-files on first call.
10768 * calendar/diary-lib.el (diary-mark-entries)
10769 (diary-mark-included-diary-files):
10770 Visit included diary-files in temp buffers.
10772 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10773 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10774 (f90-start-block-re, f90-imenu-generic-expression)
10775 (f90-looking-at-program-block-start, f90-no-block-limit):
10776 Add support for submodules.
10778 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10779 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10781 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10783 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10784 buffer-file-type before setting its value, to avoid disastrous
10785 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10787 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10789 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10791 * ses.el (ses-unload-function):
10792 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10794 * proced.el (proced-unload-function):
10795 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10797 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10799 * server.el (server-create-window-system-frame): Add parameters arg.
10800 (server-process-filter): Doc fix. Handle frame-parameters.
10802 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10804 Fix bug#8730, bug#8781.
10806 * loadhist.el (unload--set-major-mode): New function.
10807 (unload-feature): Use it.
10809 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10810 (python-unload-function): New function.
10812 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10814 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10816 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10818 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10819 the candidates list.
10821 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10823 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10825 2011-06-23 Richard Stallman <rms@gnu.org>
10827 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10828 (rmail-variables): Set next-error-move-function.
10829 (rmail-what-message): Take argument POS.
10830 (rmail-next-error-move): New function.
10832 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10834 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10835 messages for adjacent non-terminals.
10837 2011-06-23 Richard Stallman <rms@gnu.org>
10839 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10840 (rmail-show-message-1): Preserve buffer modified flag.
10841 (rmail-start-mail): Don't specify use of rmail-mail-return;
10842 that's done by mail-bury now.
10843 (rmail-mail-return): Handle arg NEWBUF.
10845 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10847 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10850 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10852 * window.el (get-lru-window, get-mru-window)
10853 (get-largest-window): Never return a minibuffer window.
10854 (display-buffer-pop-up-window): Fix a bug that could lead to
10855 reusing the minibuffer window.
10856 (display-buffer): Pass original specifier argument to
10857 display-buffer-function instead of the normalized one.
10858 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10860 2011-06-22 Leo Liu <sdl.web@gmail.com>
10862 * minibuffer.el (completing-read-function)
10863 (completing-read-default): Move from minibuf.c
10865 2011-06-22 Richard Stallman <rms@gnu.org>
10867 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10868 to Rmail even if not started by a special Rmail command.
10870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10871 Copy the buffer currently showing just one message.
10873 2011-06-22 Roland Winkler <winkler@gnu.org>
10875 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10876 (bibtex-clean-entry): First delete the old key so that a
10877 customized algorithm for generating the new key does not get
10878 confused by the old key.
10879 (bibtex-url): Obey regexp of first step.
10880 (bibtex-search-entries): Do not use add-to-list with local
10883 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10886 stored a user name, then query for the password first, instead of
10887 waiting for SMTP to give an error message and the trying again.
10889 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10891 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10892 BUFFER in call-process.
10894 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10898 (smtpmail-try-auth-methods): Require user name and password from
10901 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10903 * window.el (display-buffer-default-specifiers)
10904 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10905 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10906 (split-window): Normalize SIDE argument (Bug#8916).
10908 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10909 (special-display-frame-alist, special-display-popup-frame):
10910 Remove duplicate declarations. These are now in window.el.
10912 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914 * mail/smtpmail.el (smtpmail-via-smtp):
10915 Set :use-starttls-if-possible so that we always use STARTTLS if the
10916 server supports it. SMTP servers that support STARTTLS commonly
10919 * net/network-stream.el (network-stream-open-starttls): Support
10920 upgrading to STARTTLS always, even if we don't have built-in support.
10921 (open-network-stream): Add the :always-query-capabilities keyword.
10923 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10924 upgrades with `open-network-stream', and rely solely on
10925 auth-source for all credentials. Big changes throughout the file,
10927 (smtpmail-auth-credentials): Remove.
10928 (smtpmail-starttls-credentials): Remove.
10929 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10932 * net/network-stream.el (network-stream-open-starttls):
10933 Provide support for client certificates both for external and built-in
10935 (auth-source): Require.
10936 (open-network-stream): Document the :client-certificate keyword.
10937 (network-stream-certificate): Change cert-cert to cert and
10940 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10942 * net/tramp-cache.el (top): Don't load the persistency file when
10943 "emacs -Q" has been called.
10945 2011-06-21 Tim Harper <timcharper@gmail.com>
10947 * term/ns-win.el (ns-initialize-window-system):
10948 Set application-specific `ApplePressAndHoldEnabled' system
10949 resource to NO as it is not yet supported by the NS port.
10951 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10953 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10954 (list-dynamic-libraries): ...not here.
10956 2011-06-21 Leo Liu <sdl.web@gmail.com>
10958 * subr.el (sha1): Implement sha1 using secure-hash.
10960 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10962 * window.el (display-buffer-alist): In default value do not
10963 enforce searching a window on any but the selected frame.
10964 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10965 (display-buffer-select-window): Remove function.
10966 (display-buffer-in-window): When a window on another frame gets
10967 reused, do not select it any more but just raise its frame if
10968 necessary (Bug#8851) and (Bug#8856).
10969 (display-buffer-normalize-options): Handle pop-up-frames related
10970 options more faithfully.
10971 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10972 window if it is on another frame.
10973 (display-buffer-alist, display-buffer-default-specifiers):
10974 Don't make new frame unsplittable by default.
10975 (display-buffer-normalize-argument): Fix doc-string typo and use
10976 'same-frame-other-window instead of 'other-window when associating
10977 with display-buffer-macro-specifiers.
10979 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
10981 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10983 (5x5-mode-map, 5x5-mode-menu): Bind them.
10984 (5x5-draw-grid): Tweak the solver's rendering.
10986 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10989 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10991 2011-06-21 Drew Adams <drew.adams@oracle.com>
10993 * menu-bar.el: Use function variable instead of switch-to-buffer.
10994 (menu-bar-select-buffer-function): New variable.
10995 (menu-bar-update-buffers): Use it (bug#8876).
10997 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10999 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11002 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11004 * x-dnd.el (x-dnd-version-from-flags)
11005 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11006 and long as number (Bug#8899).
11007 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11009 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11012 (completion-try-completion, completion-all-completions): Compute the
11013 metadata argument if it's missing; make it optional (bug#8795).
11015 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11016 (widget-complete): Use new :completion-function property.
11017 (widget-completions-at-point): New function.
11018 (default): Use :completion-function instead of :complete.
11019 (widget-default-completions): Rename from widget-default-complete;
11021 (widget-string-complete, widget-file-complete, widget-color-complete):
11023 (file, symbol, function, variable, coding-system, color):
11024 * international/mule-cmds.el (default-input-method, charset)
11025 (language-info-custom-alist):
11026 * cus-edit.el (face): Use new property :completions.
11028 * progmodes/pascal.el (pascal-completions-at-point): New function.
11029 (pascal-mode): Use it.
11030 (pascal-mode-map): Use completion-at-point.
11031 (pascal-toggle-completions): Make obsolete.
11032 (pascal-complete-word, pascal-show-completions):
11033 * progmodes/octave-mod.el (octave-complete-symbol):
11034 Redefine as obsolete alias.
11035 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11036 Signal absence of completion info for old Octave,
11037 (inferior-octave-complete): Redefine as obsolete alias.
11038 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11039 (meta-completions-at-point): Rename from meta-complete-symbol and
11040 adapt it for use on completion-at-point-functions.
11041 (meta-common-mode): Use it.
11042 (meta-looking-at-backward, meta-match-buffer): Remove.
11043 (meta-complete-symbol): Redefine as obsolete alias.
11044 (meta-common-mode-map): Use completion-at-point.
11045 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11046 (makefile-mode-map): Use completion-at-point.
11047 (makefile-completions-at-point): Rename from makefile-complete and
11048 adapt it for use on completion-at-point-functions.
11049 (makefile-mode): Use it.
11050 (makefile-complete): Redefine as obsolete alias.
11052 2011-06-20 Deniz Dogan <deniz@dogan.se>
11054 * net/rcirc.el: Delete trailing whitespaces once and for all.
11056 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11058 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11060 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11062 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11064 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11066 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11068 * window.el (display-buffer-other-window-means-other-frame):
11069 Call display-buffer-normalize-alist.
11070 (display-buffer-normalize-specifiers-1): Rename to
11071 display-buffer-normalize-argument. New argument other-frame.
11073 (display-buffer-normalize-specifiers-2): Rename to
11074 display-buffer-normalize-options.
11075 (display-buffer-normalize-alist-1): New function.
11076 (display-buffer-normalize-specifiers-3): Rename to
11077 display-buffer-normalize-alist.
11078 Call display-buffer-normalize-alist-1.
11079 (display-buffer-normalize-options-inhibit): New variable.
11080 (display-buffer-normalize-specifiers): Rewrite calling
11081 display-buffer-normalize-alist,
11082 display-buffer-normalize-argument, and
11083 display-buffer-normalize-options. Don't call the latter if
11084 display-buffer-normalize-options-inhibit is non-nil.
11085 (frame-auto-delete): New option.
11086 (window-deletable-p): Use frame-auto-delete.
11087 (window-list-no-nils, window-state-ignored-parameters)
11088 (window-state-get-1, window-state-get, window-state-put-list)
11089 (window-state-put-1, window-state-put-2, window-state-put):
11091 (display-buffer-normalize-options): Move special-display-p group
11092 after pop-up-frame group (Bug#8851) and (Bug#8856).
11094 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11096 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11098 (rx-submatch-n): New function.
11101 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11104 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11106 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11108 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11109 anytime existing face settings are present (Bug#8889).
11111 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11112 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11113 Remove unused argument.
11115 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11117 * window.el (display-buffer-default-specifiers):
11118 Remove pop-up-frame. Add pop-up-window-min-height,
11119 pop-up-window-min-width, and another reuse-window specifier
11120 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11121 (display-buffer-normalize-specifiers-2):
11122 Handle split-height-threshold and split-width-threshold also when
11123 pop-up-windows is unset. Add a reuse-window specifier for the
11124 case popping up a new window fails.
11125 (special-display-popup-frame): Remove double quoting.
11126 (display-buffer-normalize-specifiers-1): Fix thinko.
11128 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11130 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11131 according to comint-completion-addsuffix.
11133 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11134 (pcomplete-suffix-list): Mark as obsolete.
11135 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11136 pcomplete-seen in the closure.
11137 (pcomplete-comint-setup): Setup completion-at-point as well.
11138 (pcomplete--entries): New function.
11139 (pcomplete--env-regexp): New var.
11140 (pcomplete-entries): Rewrite to work with partial-completion and
11141 without relying on pcomplete-suffix-list.
11142 (pcomplete-pare-list): Remove, unused.
11144 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11146 * window.el (display-buffer-alist): Set pop-up-window-min-height
11147 and pop-up-window-min-width in default value. Reported by
11148 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11149 other-window-means-other-frame.
11150 (display-buffer-macro-specifiers): Comment out entry for
11151 other-window specifier.
11152 (display-buffer-other-window-means-other-frame): New function.
11153 (display-buffer-normalize-specifiers-1): New arguments
11154 buffer-name and label. Treat other-window case specially.
11155 (display-buffer-normalize-specifiers-2): Treat other-window case
11157 (display-buffer-normalize-specifiers-3): New function.
11158 (display-buffer-normalize-specifiers):
11159 Call display-buffer-normalize-specifiers-3.
11161 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11163 * window.el (same-window-p): Fix two typos introduced when
11164 adding with-no-warnings.
11165 (display-buffer-normalize-specifiers-1): Don't check
11166 pop-up-frames for 'unset initialization.
11167 (display-buffer-normalize-specifiers-2): Major rewrite using
11168 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11169 (pop-up-frames, display-buffer-reuse-frames)
11170 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11171 Suggested by David Engster <deng@randomsample.de>.
11172 (even-window-heights): Initialize to 'unset.
11173 (display-buffer-alist-set): Handle new 'unset initializations.
11174 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11177 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11179 * window.el (display-buffer-normalize-specifiers-1):
11180 Respect current value of pop-up-frames for most reasonable values of
11181 second argument of display-buffer (Bug#8865).
11182 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11183 (switch-to-buffer-other-window-same-frame)
11184 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11186 (display-buffer): Don't check noninteractive when calling
11187 display-buffer-pop-up-frame.
11188 (display-buffer-pop-up-frame): Never pop up a frame in
11189 noninteractive mode (Bug#8857).
11190 (enlarge-window, shrink-window): Don't report an error when the
11191 window can't be resized as requested (Bug#8862).
11193 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11195 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11197 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11199 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11201 2011-06-15 Alan Mackenzie <acm@muc.de>
11203 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11204 for declarators, disable knr checking to speed up for normal files.
11205 2: Refactor, replacing a sequence of nested if forms by a cond form.
11207 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11209 * net/network-stream.el (open-network-stream): Add the keyword
11210 :always-query-capabilities for the case where you want to force a
11211 `plain' network connection, but the protocol still requires the
11212 capabilitiy command (i.e., SMTP and EHLO).
11214 * subr.el (process-live-p): Rename from `process-alive-p' for
11215 consistency with other `-live-p' functions.
11217 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11219 * window.el (same-window-buffer-names, same-window-regexps)
11220 (special-display-frame-alist, special-display-popup-frame)
11221 (special-display-function, special-display-buffer-names)
11222 (special-display-regexps, pop-up-frame-alist)
11223 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11224 (pop-up-windows, split-window-preferred-function)
11225 (split-height-threshold, split-width-threshold, even-window-heights)
11226 (display-buffer-mark-dedicated): Don't encourage the use of
11227 display-buffer-alist from Elisp code.
11229 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11231 * progmodes/python.el (python-mode): Derive from prog-mode.
11232 * progmodes/ps-mode.el (ps-mode):
11233 * progmodes/mixal-mode.el (mixal-mode):
11234 * progmodes/cfengine.el (cfengine-mode):
11235 * progmodes/ld-script.el (ld-script-mode): Likewise.
11237 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11239 * window.el (display-buffer-alist): Trim default value to avoid
11240 popping up a new frame (Bug#8857) or reusing an arbitrary window
11242 (display-buffer): Do not fall back on popping up a new frame in
11243 batch mode (Bug#8857).
11245 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11247 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11248 (custom-theme-summary): New function.
11249 (customize-themes): Use it.
11251 2011-06-13 Glenn Morris <rgm@gnu.org>
11253 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11255 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11257 * help.el (help-window): Remove variable.
11258 (help-window-point-marker, temp-buffer-max-height)
11259 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11260 (help-print-return-message): Don't set help-window.
11261 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11262 (help-window-setup-finish): Remove.
11263 (help-window-display-message, help-window-setup)
11264 (with-help-window): Major rewrite based on new
11265 display-buffer-window variable.
11267 * help-mode.el (help-mode-finish): Remove help-window related
11270 * view.el (view-exits-all-viewing-windows): Remove reference to
11271 view-return-to-alist in doc-string.
11272 (view-return-to-alist): Make obsolete.
11273 (view-buffer): Call pop-to-buffer-same-window and remove
11275 (view-buffer-other-window): Call pop-to-buffer-other-window and
11276 simplify code. Ignore second argument.
11277 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11278 simplify code. Ignore second argument.
11279 (view-return-to-alist-update): Make obsolete.
11280 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11281 Rewrite using quit-restore window parameters.
11282 (view-mode-exit): Rename second argument to EXIT-ONLY.
11283 Rewrite using quit-restore-window.
11284 (View-exit, View-exit-and-edit, View-leave, View-quit)
11285 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11286 appropriate arguments.
11287 (view-end-message): Use quit-restore window parameter.
11289 * window.el (display-buffer-function): Rewrite doc-string.
11290 (display-buffer-window, display-buffer-alist): New variables.
11291 (display-buffer-split-specifiers)
11292 (display-buffer-side-specifiers)
11293 (display-buffer-macro-specifiers): New constants.
11294 (display-buffer-even-window-sizes, display-buffer-set-height)
11295 (display-buffer-set-width, display-buffer-select-window)
11296 (display-buffer-in-window, display-buffer-reuse-window)
11297 (display-buffer-split-window-1, display-buffer-split-window)
11298 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11299 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11300 (display-buffer-in-side-window, normalize-buffer-to-display)
11301 (display-buffer-normalize-specifiers-1)
11302 (display-buffer-normalize-specifiers-2)
11303 (display-buffer-normalize-specifiers, display-buffer-frame):
11305 (display-buffer): Major rewrite.
11306 (display-buffer-other-window, display-buffer-other-frame)
11307 (pop-to-buffer, switch-to-buffer-other-window)
11308 (switch-to-buffer-other-frame): Rewrite.
11309 (display-buffer-same-window, display-buffer-same-frame)
11310 (display-buffer-same-frame-other-window)
11311 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11312 (pop-to-buffer-other-window)
11313 (pop-to-buffer-same-frame-other-window)
11314 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11315 (switch-to-buffer-other-window-same-frame): New functions.
11316 (same-window-p, special-display-p): Rewrite disabling warnings.
11318 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11319 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11321 (same-window-buffer-names, same-window-regexps)
11322 (special-display-frame-alist, special-display-popup-frame)
11323 (special-display-function, special-display-buffer-names)
11324 (special-display-regexps, pop-up-frame-alist)
11325 (pop-up-frame-function, split-window-preferred-function)
11326 (split-height-threshold, split-width-threshold)
11327 (even-window-heights): Make obsolete.
11329 2011-06-12 Glenn Morris <rgm@gnu.org>
11331 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11332 Misc simplifications.
11334 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11336 * window.el (window-safely-shrinkable-p): Restore function which
11337 was inadvertently removed in change from 2011-06-11. Declare as
11340 * calendar/calendar.el (calendar-generate-window):
11341 Use window-iso-combined-p instead of combination of one-window-p and
11342 window-safely-shrinkable-p.
11344 2011-06-12 Glenn Morris <rgm@gnu.org>
11346 * progmodes/fortran.el (fortran-mode-syntax-table):
11347 * progmodes/f90.el (f90-mode-syntax-table):
11348 Set % to punctuation. (Bug#8820)
11349 (f90-find-tag-default): Remove, no longer needed.
11351 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11353 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11355 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11357 * image.el (image-animated-p): Return animation delay in seconds.
11358 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11359 (image-animate-timeout): Remove DELAY argument. Don't assume
11360 every subimage has the same delay; get it from image-animated-p.
11361 (image-animate): Caller changed.
11363 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11365 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11366 to ignored backtrace functions.
11368 2011-06-11 Glenn Morris <rgm@gnu.org>
11370 * calendar/appt.el (appt-disp-window-function): Doc fix.
11371 (appt-check): Handle overlapping appointments. (Bug#8337)
11373 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11375 * window.el (window-tree-1, window-tree): New functions, moving
11376 the latter to window.el.
11377 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11378 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11379 (bw-refresh-edges): Remove.
11380 (balance-windows-1, balance-windows-2): New functions.
11381 (balance-windows): Rewrite in terms of window tree functions,
11382 balance-windows-1 and balance-windows-2.
11383 (bw-adjust-window): Remove.
11384 (balance-windows-area-adjust): New function with functionality of
11385 bw-adjust-window but using resize-window.
11386 (set-window-text-height): Rewrite doc-string.
11387 Use normalize-live-window and resize-window.
11388 (enlarge-window-horizontally, shrink-window-horizontally):
11389 Rename argument to DELTA.
11390 (window-buffer-height): New function.
11391 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11392 Rewrite using new window resize routines.
11393 (kill-buffer-and-window, mouse-autoselect-window-select):
11394 Use ignore-errors instead of condition-case.
11395 (quit-window): Call delete-frame instead of delete-windows-on
11396 for the only buffer on frame.
11398 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11400 * loadup.el (top-level): Load window before files for the sake
11401 of replace-buffer-in-windows.
11403 * files.el (read-buffer-to-switch)
11404 (switch-to-buffer-other-window)
11405 (switch-to-buffer-other-frame, display-buffer-other-frame):
11408 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11409 (previous-buffer): Move to window.el.
11411 * bindings.el (unbury-buffer): Move to window.el.
11413 * window.el (delete-other-windows-vertically): Move after
11414 definition of delete-other-windows.
11415 (other-window, delete-windows-on, replace-buffer-in-windows):
11416 Move here from window.c.
11417 (record-window-buffer, unrecord-window-buffer)
11418 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11419 (switch-to-next-buffer): New functions.
11420 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11421 from simple.el. Call switch-to-next-buffer.
11422 (previous-buffer): Move here from simple.el.
11423 Call switch-to-prev-buffer.
11424 (bury-buffer): Move here from buffer.c. Switch to previous
11425 buffer when window cannot be deleted.
11426 (unbury-buffer): Move here from bindings.el.
11427 (ctl-x-map): Move binding for other-window from window.c to
11429 (read-buffer-to-switch, switch-to-buffer-other-window)
11430 (switch-to-buffer-other-frame): Move here from files.el.
11431 (normalize-buffer-to-switch-to): New functions.
11432 (switch-to-buffer): Move here from buffer.c.
11433 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11435 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11437 * window.el (window-min-height, window-min-width): Move here
11438 from window.c. Add defcustoms and rewrite doc-strings.
11439 (resize-mini-window, resize-window): New functions.
11440 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11441 Move here from window.c.
11442 (maximize-window, minimize-window): New functions.
11443 (delete-window, delete-other-windows, split-window): Move here
11445 (window-split-min-size): New function.
11446 (split-window-keep-point): Mention split-window-above-each-other
11447 instead of split-window-vertically.
11448 (split-window-above-each-other, split-window-vertically):
11449 Rename split-window-vertically to split-window-above-each-other
11450 and provide defalias for old definition.
11451 (split-window-side-by-side, split-window-horizontally):
11452 Rename split-window-horizontally to split-window-side-by-side
11453 and provide defalias for the old definition.
11454 (ctl-x-map): Move bindings for delete-window,
11455 delete-other-windows and enlarge-window here from window.c.
11456 Replace bindings for split-window-vertically and
11457 split-window-horizontally by bindings for
11458 split-window-above-each-other and split-window-side-by-side.
11460 * cus-start.el (all): Remove entries for window-min-height and
11461 window-min-width. Add entries for window-splits and
11464 2011-06-09 Glenn Morris <rgm@gnu.org>
11466 * calendar/appt.el (appt-mode-line): New function.
11467 (appt-check, appt-disp-window): Use it.
11469 * files.el (hack-one-local-variable-eval-safep):
11470 Allow minor-modes with explicit +/-1 arguments.
11472 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11474 * term/xterm.el (xterm): Add defgroup.
11475 (xterm-extra-capabilities): Add defcustom to supply known xterm
11476 capabilities, skip querying them, or query them (default).
11477 (terminal-init-xterm): Use it.
11478 (terminal-init-xterm-modify-other-keys): New function to set up
11479 modifyOtherKeys support to simplify `terminal-init-xterm'.
11481 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11483 * window.el (resize-window-reset, resize-window-reset-1)
11484 (resize-subwindows-skip-p, resize-subwindows-normal)
11485 (resize-subwindows, resize-other-windows, resize-this-window)
11486 (resize-root-window, resize-root-window-vertically)
11487 (window-deletable-p, window-or-subwindow-p)
11488 (frame-root-window-p): New functions.
11490 2011-06-09 Glenn Morris <rgm@gnu.org>
11492 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11493 (ange-ftp-get-files): Use it.
11495 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11497 * mail/sendmail.el (mail-recover-1, mail-recover):
11498 * files.el (recover-file, recover-session):
11499 Handle dired-listing-switches not being just a single short option.
11501 2011-06-09 Glenn Morris <rgm@gnu.org>
11503 * calendar/appt.el (appt-display-message, appt-disp-window):
11504 Handle lists of appointments.
11506 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11508 * window.el (one-window-p): Move down in code.
11509 Rewrite doc-string.
11510 (window-current-scroll-bars): Rewrite doc-string.
11511 Normalize live window argument.
11512 (walk-windows, get-window-with-predicate, count-windows):
11513 Rewrite doc-string. Use window-list-1.
11514 (window-in-direction-2, window-in-direction, get-mru-window):
11517 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11519 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11520 Doc fix (Bug#8713).
11522 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11524 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11526 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11528 * loadhist.el (unload-feature-special-hooks):
11529 Add `comint-output-filter-functions'.
11531 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11533 * calendar/appt.el (appt-check): Move some initializations into the let.
11535 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11537 * window.el (window-height): Defalias to window-total-height.
11538 (window-width): Defalias to window-body-width.
11540 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11542 * image-mode.el (image-toggle-animation): New command.
11543 (image-mode-map): Bind it to RET.
11544 (image-mode): Update message.
11545 (image-toggle-display-image): Avoid a spurious cache flush.
11546 (image-transform-rotation): Doc fix.
11547 (image-transform-properties): Return quickly in the normal case.
11548 (image-animate-loop): Rename from image-animate-max-time.
11550 * image.el (image-animate-max-time): Move to image-mode.el.
11551 (create-animated-image): Remove unnecessary function.
11552 (image-animate): Rename from image-animate-start. New arg.
11553 (image-animate-stop): Remove; just use image-animate-timer.
11554 (image-animate-timer): Use car-safe.
11555 (image-animate-timeout): Rename argument.
11557 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11559 * window.el (get-lru-window, get-largest-window): Move here from
11560 window.c. Rename first argument to ALL-FRAMES.
11561 Rephrase doc-strings.
11562 (get-buffer-window-list): Rewrite using window-list-1.
11563 Rephrase doc-string.
11564 (window-safe-min-height, window-safe-min-width): New constants.
11565 (window-size-ignore, window-min-size, window-min-size-1)
11566 (window-sizable, window-sizable-p, window-size-fixed-1)
11567 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11568 (window-max-delta-1, window-max-delta, window-resizable)
11569 (window-resizable-p, window-total-height, window-total-width)
11570 (window-body-width): New functions.
11571 (window-full-height-p, window-full-width-p): Rewrite using
11573 (window-body-height): Rewrite using window-body-size.
11575 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11577 * window.el (window-right, window-left, window-child)
11578 (window-child-count, window-last-child, window-any-p)
11579 (normalize-live-buffer, normalize-live-frame)
11580 (normalize-any-window, normalize-live-window)
11581 (window-iso-combination-p, window-iso-combined-p)
11582 (window-iso-combinations)
11583 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11584 (windows-with-parameter, window-with-parameter)
11585 (window-atom-root, make-window-atom, window-atom-check-1)
11586 (window-atom-check, window-side-check, window-check):
11588 (ignore-window-parameters, window-sides, window-sides-vertical)
11589 (window-sides-slots): New variables.
11590 (window-size-fixed): Move down in code. Minor doc-string fix.
11592 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11594 * comint.el (comint-dynamic-complete-as-filename)
11595 (comint-dynamic-complete-filename): Correctly call
11596 completion-in-region.
11598 2011-06-05 Deniz Dogan <deniz@dogan.se>
11600 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11603 2011-06-05 Deniz Dogan <deniz@dogan.se>
11605 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11606 (rcirc): Use it to prompt for encryption.
11608 2011-06-05 Roland Winkler <winkler@gnu.org>
11610 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11611 (bibtex-search-entries): New command bound to C-c C-a.
11612 (bibtex-display-entries): New function.
11614 2011-06-05 Roland Winkler <winkler@gnu.org>
11616 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11617 (bibtex-insert-kill): After yanking insert newline if necessary.
11618 (bibtex-initialize): Call bibtex-string-files-init only once.
11619 (bibtex-mode): Do not call easy-menu-add.
11620 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11621 (bibtex-yank): Set arg properly if nil.
11623 2011-06-05 Roland Winkler <winkler@gnu.org>
11625 * textmodes/bibtex.el (bibtex-search-entry-globally):
11627 (bibtex-search-entry): Use it.
11629 2011-06-05 Roland Winkler <winkler@gnu.org>
11631 * textmodes/bibtex.el (bibtex-entry-format): New option
11633 (bibtex-format-entry, bibtex-reformat): Honor this option.
11634 (bibtex-parse-entry): Return fields in proper order.
11636 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11638 * doc-view.el (doc-view-remove-if): Move computation of result out
11639 of `dolist' to silence misleading lexical-binding warning.
11641 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11643 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11644 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11646 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11648 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11651 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11653 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11654 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11655 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11656 (tramp-parse-putty):
11657 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11658 (tramp-completion-function-alist-ssh)
11659 (tramp-completion-function-alist-telnet)
11660 (tramp-completion-function-alist-su)
11661 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11664 * net/tramp-ftp.el:
11666 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11667 load "tramp.el" `tramp-set-completion-function'.
11669 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11671 * shell.el: Require and use pcomplete.
11672 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11673 (shell-completion-vars): Set pcomplete-default-completion-function.
11675 2011-06-04 Deniz Dogan <deniz@dogan.se>
11677 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11680 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11684 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11686 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11687 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11688 * vc/log-view.el (log-view-beginning-of-defun):
11689 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11690 (smerge-refine-forward, smerge-refine-chopup-region):
11691 Silence warning for unused `dotimes' counter variables.
11693 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11695 * net/tramp.el (tramp-with-progress-reporter): Rename from
11696 with-progress-reporter. Use `declare'.
11697 * net/tramp-smb.el:
11699 * net/tramp-gvfs.el: Update all uses.
11701 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11703 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11704 buffer isn't killed before making it current.
11706 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11708 Silence various byte-compiler warnings.
11709 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11710 `access-type' and new obsolescence format.
11711 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11713 (byte-compile-check-variable): New `access-type' argument.
11714 Only warn if the access-type is obsolete.
11715 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11716 (byte-compile-variable-set): Adjust callers.
11717 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11718 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11719 setting it as obsolete.
11720 * simple.el (minibuffer-completing-symbol):
11721 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11722 access as obsolete.
11723 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11725 * international/quail.el (quail-mouse-choose-completion): Remove unused
11726 code referring to obsolete var.
11727 (quail-choose-completion-string): Remove.
11728 * server.el (server-clients-with, server-kill-buffer-query-function)
11729 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11730 * proced.el (proced-send-signal):
11731 * emacs-lisp/lisp.el (lisp-complete-symbol):
11732 Replace completion-annotate-function with completion-extra-properties.
11734 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11736 * simple.el (goto-line): Use read-number.
11737 (overriding-map-is-bound): Remove.
11738 (saved-overriding-map): Change default.
11739 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11740 Take the map as argument.
11741 (universal-argument, negative-argument, digit-argument): Use it.
11742 (restore-overriding-map): Adjust.
11743 (do-auto-fill): Use fill-forward-paragraph.
11744 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11746 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11747 (minibuffer-inactive-mode): New major mode.
11748 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11749 the *Messages* buffer" hack.
11750 (mouse-popup-menubar): Don't burp if the event is a normal key.
11752 Miscellaneous tweaks.
11753 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11754 lexical scoping as in subr.el's dolist and dotimes.
11755 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11756 Silence compiler warning.
11757 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11758 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11759 * international/ccl.el (ccl-compile): Trivial simplification.
11760 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11761 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11762 `printflag' argument.
11763 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11764 Purecopy the whole obsolescence data.
11766 2011-06-01 Leo Liu <sdl.web@gmail.com>
11768 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11769 improve doc-string as suggested by Marco Pessotto
11770 <melmothx@gmail.com>.
11771 (rcirc-print): Fix last change.
11773 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11775 * minibuffer.el (complete-with-action): Return nil for the metadata and
11776 boundaries of non-functional tables.
11777 (completion-table-dynamic): Return nil for the metadata.
11778 (completion-table-with-terminator): Add default case, using
11779 complete-with-action.
11780 (completion--metadata): New function.
11781 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11782 to try and avoid pathological performance problems.
11783 (completion--embedded-envvar-table): Return `category' metadata.
11785 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11787 * subr.el (process-alive-p): New tiny convenience function.
11789 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11792 content but also its previous major mode.
11794 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11796 * emacs-lisp/debug.el (debug): Restore the previous content of the
11797 *Backtrace* buffer when we exit with C-M-c.
11799 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * minibuffer.el: Add metadata method to completion tables.
11802 (completion-category-overrides): New defcustom.
11803 (completion-metadata, completion--field-metadata)
11804 (completion-metadata-get, completion--styles)
11805 (completion--cycle-threshold): New functions.
11806 (completion-try-completion, completion-all-completions):
11807 Add `metadata' argument to choose completion-styles.
11808 (completion--do-completion): Use metadata to choose cycling.
11809 (completion-all-sorted-completions): Use metadata for sorting.
11810 Remove :completion-cycle-penalty which is not needed any more.
11811 (completion--try-word-completion): Add `metadata' argument.
11812 (minibuffer-completion-help): Check metadata for annotation function
11814 (completion-file-name-table): Return `category' metadata.
11815 (minibuffer-completing-file-name): Make obsolete.
11816 * simple.el (minibuffer-completing-symbol): Make obsolete.
11817 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11818 completion-try-completion.
11820 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11824 2011-05-30 Leo Liu <sdl.web@gmail.com>
11826 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11827 (rcirc-print): Decode all incoming messages (bug#8744).
11828 (rcirc-decode-coding-system): Allow value nil for automatic coding
11831 2011-06-01 Glenn Morris <rgm@gnu.org>
11833 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11835 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11837 * image.el (image-animate-max-time): Allow nil and t values.
11839 (create-animated-image): Doc fix.
11840 (image-animate-start): Remove second arg; just use
11841 image-animate-max-time.
11842 (image-animate-timeout): Doc fix. Args changed.
11844 * image-mode.el (image-toggle-display-image): Ensure that the
11845 image spec passed to the animate timer is the same object as in
11846 the buffer's display property (Bug#6981).
11847 (image-transform-properties): Doc fix.
11849 * image.el (image-animate-max-time): Default to nil.
11851 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11853 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11854 entire buffer list (Bug#8184).
11856 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11858 * image.el (imagemagick-types-inhibit)
11859 (imagemagick-register-types): Doc fix.
11861 2011-05-29 Deniz Dogan <deniz@dogan.se>
11863 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11866 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11868 * select.el: Don't perform clipboard-manager saving in hooks;
11869 leave the hooks empty.
11871 2011-05-28 Leo Liu <sdl.web@gmail.com>
11873 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11874 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11875 (occur-edit-mode): New major mode (Bug#8463).
11876 (occur-after-change-function): New function.
11877 (occur-engine): Give Occur tags a read-only property.
11879 2011-05-28 Kevin Ryde <user42@zip.com.au>
11881 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11883 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11885 * bindings.el (help-echo): Make the initial non-indicator dash
11886 empty on graphical terminals (Bug#7295).
11888 * files.el (auto-mode-alist): Move config rule after the
11889 in-stripping one (Bug#8547).
11891 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11893 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11894 setting (Bug#8740).
11896 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11898 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11899 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11902 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11904 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11906 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11908 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11909 (hs-hide-block-at-point, hs-find-block-beginning)
11910 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11913 2011-05-28 Glenn Morris <rgm@gnu.org>
11915 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11917 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11919 * help-fns.el (describe-function-1): If the function is a derived
11920 major mode, print the parent mode.
11922 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11923 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11925 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11927 * minibuffer.el (completion--capf-wrapper): Check applicability before
11928 returning non-nil for non-exclusive completion data.
11929 * progmodes/etags.el (tags-completion-at-point-function):
11930 * info-look.el (info-lookup-completions-at-point): Mark as
11932 (info-complete): Adjust accordingly.
11934 * info-look.el: Convert to lexical-binding and completion-at-point.
11935 (info-lookup-completions-at-point): New function.
11936 (info-complete): Use it and completion-in-region.
11938 2011-05-28 Drew Adams <drew.adams@oracle.com>
11940 * isearch.el: Let M-e start with point at the first mismatched char.
11941 (isearch-fail-pos): New function.
11942 (isearch-edit-string): Use it.
11944 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11946 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11948 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11950 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11951 traversal functions for avl-trees.
11952 (avl-tree--stack): New struct.
11953 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11954 (avl-tree-enter): Add optional `updatefun' arg.
11955 (avl-tree--do-enter): Add optional `updatefun' arg.
11956 Change return value.
11957 (avl-tree-delete): Add optional `test' and `nilflag' args.
11958 (avl-tree--do-delete): Add `test' and `nilflag' args.
11959 Change return value.
11960 (avl-tree-member): Add optional `nilflag'
11961 (avl-tree-member-p): New function.
11962 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11963 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11964 (avl-tree-stack-empty-p): New functions.
11966 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11967 avl-tree--del-balance1 and make it work both ways.
11968 (avl-tree--del-balance2): Remove.
11969 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11970 make it work both ways.
11971 (avl-tree--enter-balance2): Remove.
11972 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11974 (avl-tree--mapc, avl-tree-map): Add direction argument.
11976 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11978 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11980 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11982 * select.el: Support clipboard managers with built-in function
11983 x-clipboard-manager-save, via delete-frame-functions and
11985 (xselect-convert-to-targets): Add MULTIPLE target to list.
11986 (xselect-convert-to-save-targets): New function.
11988 2011-05-27 Kenichi Handa <handa@m17n.org>
11990 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11991 let-binding rfc2047-encode-encoded-words to nil.
11993 2011-05-27 Glenn Morris <rgm@gnu.org>
11995 * mail/emacsbug.el: Don't require url-util.
11997 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11999 * files.el (set-auto-mode):
12000 Also respect mode: entries at the end of the file. (Bug#8586)
12002 2011-05-26 Glenn Morris <rgm@gnu.org>
12004 * files.el (hack-local-variables-prop-line, hack-local-variables):
12005 Downcase mode names, as seems to be traditional.
12006 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12008 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12009 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12011 2011-05-25 Julien Danjou <julien@danjou.info>
12013 * textmodes/rst.el (rst-define-level-faces): Do not define face
12014 symbol if it is already defined.
12016 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12018 * play/5x5.el (5x5-new-game, 5x5-randomize):
12019 Reset 5x5-solver-output to nil when a new grid is cast.
12020 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12021 these debugging traces, as defmacro breaks the compiled code.
12023 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12025 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12027 2011-05-24 Leo Liu <sdl.web@gmail.com>
12029 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12030 (vc-bzr-sha1): Adapt.
12032 * sha1.el: Remove. Function `sha1' is now builtin.
12034 * bindings.el: Provide sha1 feature.
12036 2011-05-24 Kenichi Handa <handa@m17n.org>
12038 * mail/sendmail.el: Require `rfc2047'.
12039 (mail-insert-from-field): Do not perform RFC2047 encoding.
12040 (mail-encode-header): New function.
12041 (sendmail-send-it): Set buffer-file-coding-system of the work
12042 buffer to the return value of select-message-coding-system.
12043 Call mail-encode-header.
12045 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12047 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12049 * mail/supercite.el (sc-default-cite-frame):
12050 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12052 2011-05-24 Glenn Morris <rgm@gnu.org>
12054 * progmodes/python.el (brm-menu): Declare.
12056 * emulation/viper.el (viper-set-hooks): Declare.
12058 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12059 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12060 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12061 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12062 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12063 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12065 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12067 Add an :exit-function for completion-at-point.
12069 * minibuffer.el (completion--done): New fun.
12070 (completion--do-completion): Use it. New arg `expect-exact'.
12071 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12072 since completion--do-completion does it for us now.
12073 (minibuffer-force-complete): Use completion--done and
12074 completion--replace. Handle sole-completion case with more care.
12075 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12076 (completion-extra-properties): New var.
12077 (completion-annotate-function): Make obsolete.
12078 (minibuffer-completion-help): Adjust accordingly.
12079 Use completion-list-insert-choice-function.
12080 (completion-at-point, completion-help-at-point):
12081 Bind completion-extra-properties.
12082 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12083 * simple.el (completion-list-insert-choice-function): New var.
12084 (completion-setup-function): Preserve it.
12085 (choose-completion): Pay attention to it, shuffle the code a bit.
12086 (choose-completion-string): New arg `insert-function'.
12088 * textmodes/bibtex.el: Convert to lexical binding.
12089 (bibtex-mode-map): Use completion-at-point.
12090 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12091 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12092 (bibtex-complete): Define as obsolete alias.
12093 (bibtex-complete-internal): Remove.
12094 (bibtex-format-entry): Remove unused sub-group in regexp.
12095 * shell.el (shell--command-completion-data)
12096 (shell-environment-variable-completion):
12097 * pcomplete.el (pcomplete-completions-at-point):
12098 * comint.el (comint--complete-file-name-data): Use :exit-function
12099 instead of completion-table-with-terminator so it also works for
12102 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12106 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12109 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12111 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12113 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12114 customization variable and implement: If non-nil, auto-fill will
12115 be inhibited while on topic's header line.
12117 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12119 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12120 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12121 always have a solution in grid size = 5 cases.
12122 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12123 (5x5-solver-output, 5x5-log-buffer): New vars.
12124 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12125 Make these variables buffer local to achieve 5x5 multi-session-ness.
12126 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12127 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12128 (5x5-solve-suggest): New funs.
12129 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12130 randomize a grid so that we ensure that there is always a solution.
12131 (5x5-make-random-grid): Allow other movement than flipping.
12133 2011-05-23 Kevin Ryde <user42@zip.com.au>
12135 * emacs-lisp/advice.el (ad-read-advised-function):
12136 Use `function-called-at-point' as the default, if it has
12137 advice and passes PREDICATE.
12139 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12142 byte-compile-lambda if it's actually a lambda.
12144 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12145 Fix function quoting. Use backquote better.
12147 2011-05-22 Yuanle Song <sylecn@gmail.com>
12149 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12150 matching (Bug#8516).
12152 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12154 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12155 different face (Bug#8178).
12157 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12159 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12160 defface (Bug#8144).
12162 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12164 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12165 funcall as well (bug#8712). Warn when performing those conversions.
12166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12168 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12170 2011-05-22 Glenn Morris <rgm@gnu.org>
12172 * files.el (hack-local-variables-prop-line): Small simplifications.
12173 (hack-local-variables, hack-local-variables-prop-line):
12174 If MODE-ONLY, return the mode, rather than just `t'.
12176 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12178 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12180 2011-05-21 Glenn Morris <rgm@gnu.org>
12182 * files.el (hack-local-variables-prop-line, hack-local-variables):
12183 If only interested in the mode, don't bother doing the other stuff.
12185 * image-mode.el (image-after-revert-hook):
12186 Redraw all frames on which the image is visible. (Bug#8567)
12188 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12190 * wid-edit.el (widget-checklist-match-inline):
12191 Fix 2011-04-19 change. (Bug#8649)
12193 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12195 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12196 Also allow singlespace after single-letter capitals followed by a dot.
12198 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12199 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12201 2011-05-20 Nix <nix@esperi.org.uk>
12203 * files.el (basic-save-buffer-2):
12204 Fix handling of break-hardlink-on-save with non-existent files.
12206 2011-05-19 Deniz Dogan <deniz@dogan.se>
12208 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12209 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12211 2011-05-19 Glenn Morris <rgm@gnu.org>
12213 * progmodes/f90.el (f90-type-def-re):
12214 Handle "type, bind(c)". (Bug#8691)
12216 * emacs-lisp/autoload.el (batch-update-autoloads):
12217 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12219 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12221 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12222 property for the correct connection in case of multihops.
12224 2011-05-18 Glenn Morris <rgm@gnu.org>
12226 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12227 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12229 Rationalize calendar handling of day and month abbrev-arrays.
12230 * calendar/calendar.el (calendar-customized-p): New function.
12231 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12232 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12234 (calendar-abbrev-length, calendar-day-abbrev-array)
12235 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12236 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12237 Elements may no longer be nil.
12238 (calendar-day-name, calendar-month-name):
12239 Update for changed nature of abbrev arrays.
12240 * calendar/diary-lib.el (diary-name-pattern):
12241 Update for changed nature of abbrev arrays.
12242 (diary-mark-entries-1): Update calendar-make-alist calls.
12243 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12244 * calendar/cal-html.el (cal-html-day-abbrev-array):
12245 Simply inherit from calendar-day-abbrev-array.
12247 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12249 * progmodes/grep.el (grep-mode): Disable default
12250 compilation-directory-matcher setting (bug#8684).
12252 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12254 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12255 instead of "head" and "tail". There were problems with SunOS 5.9,
12256 and it performs better.
12258 2011-05-17 Glenn Morris <rgm@gnu.org>
12260 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12262 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12263 Replace obsolete function.
12265 * shell.el (pcomplete-parse-arguments-function): Declare.
12267 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12268 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12269 (appt-check): Doc fixes.
12270 (appt-disp-window-function, appt-delete-window-function):
12271 Remove needless special case in custom :type.
12272 (appt-display-count): Default to 0, not nil.
12273 (appt-check): Reset appt-display-count to 0, not nil.
12275 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12277 * progmodes/python.el (python-font-lock-keywords):
12278 Add the Python 3.X keyword "nonlocal" (bug#8639).
12280 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12282 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12284 2011-05-16 Kevin Ryde <user42@zip.com.au>
12286 * info-look.el (makefile-automake-mode): New setups, looking in
12287 automake manual, then makefile-mode.
12288 (makefile-mode): Remove automake manual, have it just in
12289 makefile-automake-mode since there's various things different or
12290 not relevant to plain make.
12291 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12292 believe a hypothetical automake-mode would go to makefile-mode,
12293 not the other way around.
12295 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12297 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12298 hunk-end tags (Bug#8672).
12300 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12301 vc-annotate-show-diff-revision-at-line (Bug#8671).
12303 2011-05-14 Glenn Morris <rgm@gnu.org>
12305 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12306 in the middle of an existing one with multiple authors. (Bug#8645)
12307 (change-log-font-lock-keywords): Also handle multiple author lines
12308 with leading tabs. (Bug#8644)
12310 * calendar/appt.el (appt-check): Rename some local variables.
12311 Some simplification/reordering.
12313 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12314 (feedmail-sendmail-f-doesnt-sell-me-out)
12315 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12316 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12317 (feedmail-queue-runner-message-sender): Set :version.
12318 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12319 (bbdb-dwim-net-address, vm-mail): Declare.
12320 (feedmail-binmail-gnulinuxish-template):
12321 Rename from feedmail-binmail-linuxish-template.
12322 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12323 Use insert-buffer-substring.
12325 2011-05-14 Bill Carpenter <bill@carpenter.org>
12327 * mail/feedmail.el (feedmail-patch-level): Increase.
12328 (feedmail-debug): New custom group.
12329 (feedmail-confirm-outgoing-timeout)
12330 (feedmail-sendmail-f-doesnt-sell-me-out)
12331 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12332 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12333 (feedmail-sender-line, feedmail-from-line)
12334 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12335 (feedmail-spray-this-address)
12336 (feedmail-spray-address-fiddle-plex-list)
12337 (feedmail-queue-use-send-time-for-date)
12338 (feedmail-queue-use-send-time-for-message-id)
12339 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12340 (feedmail-buffer-eating-function):
12342 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12343 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12344 (feedmail-message-action-scroll-down): New functions.
12345 (feedmail-queue-directory, feedmail-queue-draft-directory):
12346 Use expand-file-name.
12347 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12348 Remove C-v help entry.
12349 (feedmail-queue-buffer-file-name): New variable.
12350 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12351 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12352 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12353 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12354 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12355 (feedmail-message-action-toggle-spray)
12356 (feedmail-run-the-queue-no-prompts)
12357 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12358 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12359 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12360 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12361 (feedmail-envelope-deducer, feedmail-fiddle-from)
12362 (feedmail-fiddle-sender, feedmail-default-date-generator)
12363 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12364 (feedmail-fiddle-spray-address)
12365 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12366 (feedmail-fiddle-list-of-fiddle-plexes)
12367 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12368 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12369 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12370 Change default. Doc fix.
12371 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12372 (feedmail-binmail-linuxish-template): New constant.
12373 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12374 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12375 (feedmail-send-it): Add debug call.
12376 Use feedmail-queue-buffer-file-name, and
12377 feedmail-send-it-immediately-wrapper.
12378 (feedmail-message-action-send): Add debug call.
12379 Use feedmail-send-it-immediately-wrapper.
12380 (feedmail-queue-express-to-queue): Add debug call.
12381 Run feedmail-queue-express-hook.
12382 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12383 (feedmail-message-action-help-blat):
12384 Rename from feedmail-queue-send-edit-prompt-help-first.
12385 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12386 Check line-endings. Handle errors better.
12387 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12388 Doc fix. Add debug call.
12389 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12390 Use feedmail-queue-send-edit-prompt-inner.
12391 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12392 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12393 from feedmail-queue-send-edit-prompt.
12394 (feedmail-queue-send-edit-prompt-help)
12395 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12396 (feedmail-tidy-up-slug): Add debug call.
12397 Respect feedmail-queue-slug-suspect-regexp.
12398 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12399 (feedmail-dump-message-to-queue): Add debug call.
12400 Expand queue-directory.
12401 (feedmail-dump-message-to-queue): Change message slightly.
12402 Use feedmail-say-chatter.
12403 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12404 (feedmail-send-it-immediately-wrapper): New function.
12405 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12406 Insert empty string rather than newline. Handle full-frame case.
12407 Use catch/throw. Use feedmail-say-chatter.
12408 (feedmail-fiddle-from): Try mail-host-address.
12409 (feedmail-default-message-id-generator): Doc fix.
12410 Bind system-time-locale. Handle missing end.
12411 (feedmail-fiddle-x-mailer): Add debug call.
12412 Handle feedmail-x-mailer-line being nil.
12413 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12414 Add debug call. Use buffer-substring-no-properties.
12415 (feedmail-say-debug, feedmail-say-chatter): New functions.
12416 (feedmail-find-eoh): Give an explicit error.
12418 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12420 * net/newst-treeview.el (newsticker-treeview-face): Change default
12421 family from helvetica to sans.
12422 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12423 etc/images/newsticker.
12425 * net/newst-reader.el (newsticker-feed-face): Change default
12426 family from helvetica to sans.
12428 * net/newst-plainview.el (newsticker-new-item-face)
12429 (newsticker-old-item-face, newsticker-immortal-item-face)
12430 (newsticker-obsolete-item-face, newsticker-date-face)
12431 (newsticker-statistics-face): Change default family from
12433 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12434 etc/images/newsticker.
12436 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12437 (newsticker--process-auto-mark-filter-match): Tell user about
12440 2011-05-13 Didier Verna <didier@xemacs.org>
12442 Common Lisp indentation improvements on defmethod and lambda-lists.
12443 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12445 (lisp-lambda-list-keyword-parameter-indentation)
12446 (lisp-lambda-list-keyword-parameter-alignment)
12447 (lisp-lambda-list-keyword-alignment): New customizable user options.
12448 (lisp-indent-defun-method): Improve docstring.
12449 (extended-loop-p): Fix comment.
12450 (lisp-indent-lambda-list-keywords-regexp): New variable.
12451 (lisp-indent-lambda-list): New function.
12452 (lisp-indent-259): Use it.
12453 (lisp-indent-defmethod): Support for more than one
12454 method qualifier and properly indent methods lambda-lists.
12455 (defgeneric): Provide a missing common-lisp-indent-function property.
12457 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12460 bounds for the empty string (bug#8667).
12462 2011-05-13 Glenn Morris <rgm@gnu.org>
12464 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12466 * mail/sendmail.el (sendmail-program): Try executable-find first.
12467 (sendmail-send-it): `sendmail-program' cannot be unbound.
12469 * calendar/appt.el (appt-make-list): Simplify.
12470 (appt-time-msg-list): Doc fix.
12471 (appt-check): Change mode-line message at the time of the appointment.
12473 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12475 * progmodes/ld-script.el (ld-script-keywords)
12476 (ld-script-builtins): Update keywords list.
12478 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12480 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12482 * shell.el (shell-completion-vars): New function.
12484 * simple.el (read-shell-command): Use it.
12485 (blink-matching-open): No need for " [...]" in minibuffer-message.
12487 2011-05-12 Glenn Morris <rgm@gnu.org>
12489 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12490 (appt-check): Simplify.
12492 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12494 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12495 literal "/dev/null".
12497 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12499 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12502 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12504 * progmodes/which-func.el (which-function):
12505 Use add-log-current-defun instead of add-log-current-defun-function,
12506 which might not be defined (Bug#8260).
12508 2011-05-12 Glenn Morris <rgm@gnu.org>
12510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12511 Let byte-compile-initial-macro-environment always take precedence.
12513 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * net/rcirc.el: Add support for SSL/TLS connections.
12516 (rcirc-server-alist): New field `encryption'.
12517 (rcirc): Check `encryption' settings.
12518 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12519 Merge make-local-variable into `set'.
12520 (rcirc--connection-open-p): New function.
12521 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12522 the process is not a network process (e.g. running gnutls-cli).
12523 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12524 Make rcirc-(en|de)code-coding-system local here.
12525 (rcirc-mode): Merge make-local-variable into `set'.
12526 (rcirc-parent-buffer): Make permanent buffer-local.
12527 (rcirc-multiline-minor-mode): Don't do it here.
12528 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12529 there's no server buffer.
12531 2011-05-11 Glenn Morris <rgm@gnu.org>
12533 * newcomment.el (comment-kill): Prefix "unused" local.
12535 * term/w32console.el (get-screen-color): Declare.
12537 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12538 Handle symbol elements of byte-compile-initial-macro-environment.
12540 2011-05-10 Leo Liu <sdl.web@gmail.com>
12542 * bookmark.el (bookmark-bmenu-mode-map):
12543 Bind bookmark-bmenu-search to `/'.
12545 * mail/footnote.el: Convert to utf-8 encoding.
12546 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12547 (Footnote-unicode): New function.
12548 (footnote-style-alist): Add unicode style to the list.
12549 (footnote-style): Doc fix.
12551 2011-05-10 Jim Meyering <meyering@redhat.com>
12553 Fix doubled-word typos.
12554 * international/quail.el (quail-insert-kbd-layout): and and -> and
12555 * kermit.el: and and -> and
12556 * net/ldap.el (ldap-search-internal): to to -> to
12557 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12558 * progmodes/js.el (js-mode): and and -> and
12559 * textmodes/artist.el (artist-move-to-xy): at at -> at
12560 (artist-draw-region-trim-line-endings): if if -> if
12561 And Safetyc -> Safety.
12562 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12564 2011-05-10 Glenn Morris <rgm@gnu.org>
12565 Stefan Monnier <monnier@iro.umontreal.ca>
12567 * files.el (hack-one-local-variable-eval-safep):
12568 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12570 2011-05-10 Glenn Morris <rgm@gnu.org>
12572 * calendar/diary-lib.el (diary-list-entries-hook)
12573 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12574 (diary-nongregorian-marking-hook, diary-list-entries)
12575 (diary-include-other-diary-files, diary-mark-entries)
12576 (diary-mark-included-diary-files): Doc fixes.
12578 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12580 * misc.el: Require tabulated-list.el during compilation.
12582 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12584 * progmodes/compile.el (compilation-start):
12585 Run compilation-filter-hook for the async case too.
12586 (compilation-filter-hook): Doc fix.
12588 2011-05-09 Deniz Dogan <deniz@dogan.se>
12590 * wdired.el: Remove outdated installation comment. Fix usage
12593 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12595 * misc.el: Implement new command `list-dynamic-libraries'.
12596 (list-dynamic-libraries--loaded-only-p): New variable.
12597 (list-dynamic-libraries--refresh): New function.
12598 (list-dynamic-libraries): New command.
12600 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12603 Fix the ant regexp to handle end-line and end-column info from jikes.
12604 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12605 higher priority to avoid clobbering by gnu.
12607 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12609 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12610 if the face has existing theme settings (Bug#8454).
12612 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12614 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12615 Only match variables declared via `my' or `our' (Bug#8261).
12617 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12618 special file names `.' and `..' (Bug#8259).
12620 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12622 * progmodes/grep.el (grep-mode-font-lock-keywords):
12623 Remove buffer-changing entries.
12624 (grep-filter): New function.
12625 (grep-mode): Add it to compilation-filter-hook.
12627 * progmodes/compile.el (compilation-filter-hook)
12628 (compilation-filter-start): New defvars.
12629 (compilation-filter): Call compilation-filter-hook prior to
12630 updating the process mark.
12632 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12634 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12636 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12638 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12639 mailclient-send-it even if window-system is nil. (Bug#8595)
12641 * term/w32console.el (terminal-init-w32console):
12642 Call get-screen-color and use its output to set the frame
12643 background-mode. (Bug#8597)
12645 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12647 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12648 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12650 (defgeneric, eieio--defmethod): Use them.
12651 (eieio-defgeneric): Remove.
12652 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12654 2011-05-07 Glenn Morris <rgm@gnu.org>
12656 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12657 Use let rather than let*.
12658 (timeclock-find-discrep): Remove unused local.
12660 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12662 * calendar/appt.el (appt-time-msg-list): Doc fix.
12664 2011-05-06 Noah Friedman <friedman@splode.com>
12666 * apropos.el (apropos-print-doc): Only use
12667 emacs-lisp-docstring-fill-column when it is bound to an integer,
12668 per that variable's documentation.
12670 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12673 and warnings are not silently discarded (e.g. use -d instead of -P).
12675 2011-05-06 Glenn Morris <rgm@gnu.org>
12677 * calendar/appt.el (appt-message-warning-time): Doc fix.
12678 (appt-warning-time-regexp): New option.
12679 (appt-make-list): Respect appt-message-warning-time.
12681 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12683 (diary-add-to-list): Strip comments from the displayed string.
12684 (diary-mode): Set comment-start and comment-end.
12686 * vc/diff-mode.el (smerge-refine-subst): Declare.
12687 (diff-refine-hunk): Don't require smerge-mode when compiling.
12689 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12691 * simple.el (list-processes): Return nil as the docstring says.
12693 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12695 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12697 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12698 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12699 determining of binary transfer. (Bug#7383)
12701 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12704 Fix port computation bug. (Bug#8618)
12706 2011-05-05 Glenn Morris <rgm@gnu.org>
12708 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12710 * simple.el (shell-dynamic-complete-functions)
12711 (comint-dynamic-complete-functions): Declare.
12713 * net/network-stream.el (gnutls-negotiate):
12714 * simple.el (tabulated-list-print): Fix declarations.
12716 * progmodes/gud.el (syntax-symbol, syntax-point):
12717 Remove unnecessary and incorrect declarations.
12719 * emacs-lisp/check-declare.el (check-declare-scan):
12720 Handle byte-compile-initial-macro-environment in bytecomp.el
12722 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12724 Fix earlier half-done eieio-defmethod change (bug#8338).
12725 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12726 Streamline and change calling convention.
12727 (defmethod): Adjust accordingly and simplify.
12728 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12729 new eieio--defmethod.
12730 (slot-boundp): Minor CSE simplification.
12732 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12734 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12735 (glasses-make-readable): Use glasses-separate-capital-groups.
12737 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12739 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12740 (warning-series): Doc fix.
12741 (display-warning): Don't try to create the buffer if we just found it.
12743 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12745 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12746 (autoload-find-generated-file): New function.
12747 (generate-file-autoloads): Bind generated-autoload-file to
12749 (update-file-autoloads, update-directory-autoloads):
12750 Use autoload-find-generated-file. If called interactively, prompt for
12751 output file (Bug#7989).
12752 (batch-update-autoloads): Doc fix.
12754 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12756 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12758 2011-05-04 Glenn Morris <rgm@gnu.org>
12760 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12761 function, so it follows changes in calendar-date-style.
12762 (diary-fancy-date-matcher): New function.
12763 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12764 (diary-fancy-font-lock-fontify-region-function):
12765 Use diary-fancy-date-pattern as a function.
12767 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12768 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12770 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12772 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12773 instead of positional arguments. Allow :keylist and :crlfiles
12775 (open-gnutls-stream): Call it.
12777 * net/network-stream.el (network-stream-open-starttls): Adjust to
12778 call `gnutls-negotiate' with :process and :hostname arguments.
12780 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * minibuffer.el (completion--message): New function.
12783 (completion--do-completion, minibuffer-complete)
12784 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12785 (completion--do-completion): Don't ignore completion-auto-help when in
12788 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12789 internal encoding (e.g. tibetan zero is not whitespace).
12790 (global-whitespace-mode): Prefer save-current-buffer.
12791 (whitespace-trailing-regexp): Remove useless save-match-data.
12792 (whitespace-empty-at-bob-regexp): Minor simplification.
12794 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12796 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12798 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
12800 * textmodes/ispell.el (ispell-add-per-file-word-list):
12801 Use `concat' to create string for insertion.
12803 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12805 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12806 Avoid open-line which runs post-self-insert-hook.
12807 (bibtex-fill-entry): Remove unused `end' var.
12809 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12811 * textmodes/ispell.el (ispell-add-per-file-word-list):
12812 Protect against `nil' value of `comment-start' (Bug#8579).
12814 2011-05-03 Leo Liu <sdl.web@gmail.com>
12816 * isearch.el (isearch-yank-pop): New command.
12817 (isearch-mode-map): Bind it to `M-y'.
12818 (isearch-forward): Mention it.
12820 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12822 * simple.el (minibuffer-complete-shell-command): Remove.
12823 (minibuffer-local-shell-command-map): Use completion-at-point.
12824 (read-shell-command): Setup completion vars here instead.
12825 (read-expression-map): Bind TAB to symbol completion.
12827 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12828 error directly rather via storing it into `results'.
12830 2011-05-02 Leo Liu <sdl.web@gmail.com>
12832 * vc/diff.el: Fix description.
12834 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12836 * server.el (server-eval-at): New function.
12838 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840 * net/network-stream.el (open-network-stream): Take a :nowait
12841 parameter and pass it on to `make-network-process'.
12842 (network-stream-open-plain): Ditto.
12844 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12846 * faces.el (face-spec-set-match-display): Don't match toolkit
12847 options on terminal frames.
12849 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12851 * progmodes/pascal.el: Use lexical binding.
12852 (pascal-mode-map): Remove author preferences.
12854 * pcomplete.el (pcomplete-std-complete): Don't abuse
12855 completion-at-point.
12857 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12859 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12860 removing code that has been dead since 1991 or so.
12862 * startup.el (command-line): When warning about "_emacs", use a
12863 delayed warning to allow the user to filter it out.
12865 2011-04-28 Deniz Dogan <deniz@dogan.se>
12867 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12868 user has not joined.
12870 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12872 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12873 aren't any completions at point.
12875 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12877 * subr.el (display-delayed-warnings): New function.
12878 (delayed-warnings-hook): New variable.
12880 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * minibuffer.el (completion-at-point, completion-help-at-point):
12883 Don't presume that a given completion-at-point-function will always
12884 use the same calling convention.
12886 * pcomplete.el (pcomplete-completions-at-point):
12887 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12888 pcomplete-seen is non-nil.
12889 (pcomplete-comint-setup): Also recognize the new comint/shell
12890 completion functions.
12891 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12892 pcomplete-seen is non-nil.
12894 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12896 * calendar/icalendar.el (diary-lib): Add require statement.
12897 (icalendar--create-uid): Read out a uid from a text-property on
12898 the first character in the entry. This allows for code to add its
12899 own uid to the entry.
12900 (icalendar--convert-float-to-ical): Add export of
12901 `diary-float'-entries save for those with the optional DAY
12904 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12906 * subr.el (shell-quote-argument): Use alternate escaping strategy
12907 when we spot a variable reference in a string.
12909 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12911 * cus-start.el (all): Define customization for debug-on-event.
12913 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12915 * subr.el (shell-quote-argument): Escape correctly under Windows.
12917 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12921 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12923 * net/tramp.el (tramp-process-actions): Add POS argument.
12924 Delete region between POS and (pos).
12926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12927 Use `nil' position in `tramp-process-actions' call.
12928 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12930 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12931 position in `tramp-process-actions' call.
12933 * net/trampver.el: Update release number.
12935 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12937 * custom.el (defcustom): Obey lexical-binding.
12939 Fix octave-inf completion problems reported by Alexander Klimov.
12940 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12941 Inherit from octave-mode-syntax-table.
12942 (inferior-octave-mode): Set info-lookup-mode.
12943 (inferior-octave-completion-at-point): New function.
12944 (inferior-octave-complete): Use it and completion-in-region.
12945 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12946 comint-filename-completion.
12947 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12948 symbol elements which shouldn't be word elements.
12949 (octave-font-lock-keywords, octave-beginning-of-defun)
12950 (octave-function-header-regexp): Adjust regexps accordingly.
12951 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12953 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12955 * net/gnutls.el (gnutls-errorp): Declare before first use.
12957 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12959 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12960 verify-error, and verify-hostname-error parameters. Check whether
12961 default trustfile exists before going to use it. Add missing
12962 argument to gnutls-message-maybe call. Return value.
12963 Reported by Claudio Bley <claudio.bley@gmail.com>.
12964 (open-gnutls-stream): Add usage example.
12966 * net/network-stream.el (network-stream-open-starttls): Give host
12967 parameter to `gnutls-negotiate'.
12968 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12969 * subr.el (shell-quote-argument): Escape correctly under Windows.
12971 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12974 Use correct match group (bug#8438).
12976 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12978 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12979 (package-menu--generate): New arg specifying packages to show.
12980 (package-menu-refresh, package-menu-execute, list-packages):
12982 (package-show-package-list): New function, replacing deleted
12983 package--list-packages (renamed because it is non-internal).
12985 * finder.el (finder-list-matches): Use package-show-package-list
12986 instead of deleted package--list-packages.
12988 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12989 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12990 (vc-annotate-mode-map): Bind it to RET.
12992 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12994 * progmodes/etags.el (next-file): Don't use set-buffer to change
12995 buffers (Bug#8478).
12997 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12999 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13001 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13002 (apropos-accumulator): Doc fix.
13003 (apropos-function, apropos-macro, apropos-command)
13004 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13005 (apropos-plist): Add face property.
13006 (apropos-symbols-internal): Fix indentation.
13007 (apropos-print): Simplify help, and recognize apropos-multi-type.
13008 (apropos-print-doc): Use button-type-get to extract the button's
13009 face property. Fill docstring (Bug#8352).
13011 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13013 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13015 * play/mpuz.el (mpuz-silent): Doc fix.
13016 (mpuz-mode-map): Use mapc.
13017 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13018 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13019 Fix typos in docstrings.
13021 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13022 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13024 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13026 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13028 * minibuffer.el (completion--do-completion): Avoid the "Next char
13029 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13031 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13032 mouse-2 into unread-command-events, it is interpreted correctly.
13034 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13035 (image-toggle-display): Doc fix.
13037 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13039 * textmodes/page.el (what-page): Use line-number-at-pos to
13040 calculate line number (Bug#6825).
13042 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13044 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13045 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13046 Pass argument NO-DEFAULT to `find-tag-interactive'.
13048 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13050 Lexical-binding cleanup.
13052 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13053 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13054 * progmodes/ada-prj.el (ada-prj-initialize-values)
13055 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13056 (ada-prj-show-value):
13057 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13058 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13059 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13060 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13061 * progmodes/bug-reference.el (bug-reference-push-button):
13062 * progmodes/fortran.el (fortran-line-length):
13063 * progmodes/glasses.el (glasses-change):
13064 * progmodes/octave-mod.el (octave-fill-paragraph):
13065 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13066 (python-pdbtrack-grub-for-buffer, python-sentinel):
13067 * progmodes/sql.el (sql-save-connection):
13068 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13069 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13070 Mark unused parameters.
13072 * progmodes/compile.el (compilation--flush-directory-cache)
13073 (compilation--flush-parse, compile-internal): Mark unused parameters.
13074 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13075 (compilation-next-error-function): Remove unused variable `timestamp'.
13077 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13078 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13080 * progmodes/dcl-mode.el (dcl-end-of-command):
13081 Remove unused variable `start'.
13082 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13083 (dcl-option-value-basic, dcl-option-value-offset)
13084 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13085 Mark unused parameters.
13086 (dcl-save-local-variable): Remove unused variable `val'.
13089 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13090 Mark unused parameters.
13091 (delphi-ignore-changes): Move before first use.
13092 (delphi-charset-token-at): Remove unused variable `start'.
13093 (delphi-else-start): Remove unused variable `if-count'.
13094 (delphi-comment-block-start, delphi-comment-block-end):
13095 Remove unused variable `kind'.
13096 (delphi-indent-line): Remove unused variable `new-point'.
13098 * progmodes/ebrowse.el (ebrowse-files-list)
13099 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13100 Mark unused parameters. Don't quote `lambda'.
13101 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13102 Don't quote `lambda'.
13103 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13104 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13105 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13106 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13107 Use `ignore-errors'.
13108 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13109 (ebrowse-view/find-file-and-search-pattern)
13110 (ebrowse-view/find-member-declaration/definition):
13111 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13112 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13113 Rename parameter PREFIX-ARG to PREFIX.
13114 (ebrowse-tags-read-name): Remove unused variables `start' and
13116 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13119 * progmodes/etags.el (local-find-tag-hook): Declare.
13120 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13121 Mark unused parameters.
13123 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13124 (executable-interpret): Mark unused parameter.
13126 * progmodes/flymake.el (flymake-process-sentinel)
13127 (flymake-after-change-function)
13128 (flymake-create-temp-with-folder-structure)
13129 (flymake-get-include-dirs-dot): Mark unused parameters.
13130 (flymake-safe-delete-directory): Remove unused variable `err'.
13132 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13133 (speedbar-timer-fn, speedbar-line-text)
13134 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13135 (speedbar-center-buffer-smartly): Declare functions.
13136 (gdb-find-watch-expression): Remove unused variable `array'.
13137 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13138 (gdb-starting): Mark unused parameters.
13139 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13140 (gdb-table-string): Remove unused variable `res'.
13141 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13142 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13143 (gdb-display-buffer): Remove unused variable `cur-size'.
13145 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13146 allow lexical-binding compilation.
13147 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13148 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13149 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13150 Mark unused parameters.
13151 (gud-gdb-marker-filter): Remove unused variable `match'.
13152 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13153 lambda expressions and funcall them, instead of using `fset'.
13155 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13156 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13158 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13159 variable `header-beg'; use `let'.
13161 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13162 `restart', `last-sexp' and `at-do'.
13164 * progmodes/js.el (js--debug): Mark unused parameter.
13165 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13166 (js--splice-into-items): Remove unused variable `item'.
13167 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13169 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13170 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13171 (makefile-complete): Remove unused variable `try'.
13172 (makefile-fill-paragraph, makefile-match-function-end):
13173 Mark unused parameters.
13175 * progmodes/octave-inf.el (inferior-octave-complete):
13176 Remove unused variable `proc'.
13177 (inferior-octave-output-digest): Mark unused parameter.
13179 * progmodes/perl-mode.el (perl-calculate-indent):
13180 Remove unused variable `err'.
13182 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13183 (prolog-indent-line): Mark unused parameters.
13184 (prolog-indent-line): Remove unused variable `beg'.
13186 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13187 (reporter-dont-compact-list): Declare.
13189 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13190 Remove unused variable `char'.
13191 (sh-debug): Mark unused parameter.
13192 (sh-get-indent-info): Remove unused variable `start'.
13193 (sh-calculate-indent): Remove unused variable `var'.
13195 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13196 (simula-electric-keyword): Remove unused variable `null'.
13197 (simula-search-backward, simula-search-forward): Remove unused
13198 variables `begin' and `end'.
13200 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13201 Remove unused variable `pos'.
13202 (vera-electric-tab, vera-comment-uncomment-region):
13203 Mark unused parameters.
13204 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13206 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13208 * emacs-lisp/package.el (package--builtins, package-alist)
13209 (package-load-descriptor, package-built-in-p, package-activate)
13210 (define-package, package-installed-p)
13211 (package-compute-transaction, package-buffer-info)
13212 (package--push): Doc fix. Distinguish more clearly between
13213 version strings and version lists.
13215 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13217 Lexical-binding cleanup.
13219 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13220 (5x5-make-mutate-best):
13221 * play/fortune.el (fortune-in-buffer):
13222 * play/gomoku.el (gomoku-init-display):
13223 * play/solitaire.el (solitaire, solitaire-do-check):
13224 * play/tetris.el (tetris-default-update-speed-function):
13225 Mark unused parameters.
13227 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13228 (bubbles--shift): Remove unused variable `char-org'.
13229 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13230 (bubbles--show-images): Remove unused variable `char'.
13232 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13233 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13234 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13235 (decipher-analyze-buffer): Use ?\s.
13236 (decipher-make-checkpoint): Remove unused variable `mapping'.
13238 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13240 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13241 Remove unused variable `result'; use `let'.
13243 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13244 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13245 (gametree-children-shown-p, gametree-compute-reduced-score):
13246 Use `ignore-errors'.
13248 * play/handwrite.el (ps-lpr-switches): Declare.
13249 (handwrite): Remove unused variables `pmin' and `lastp'.
13251 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13253 * play/landmark.el (landmark-init-display)
13254 (landmark-update-naught-weights): Mark unused parameters.
13255 (landmark-y): Remove unused variable `noise'. Simplify.
13256 (landmark-human-plays): Remove unused variable `score'.
13258 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13259 (mpuz-try-proposal): Remove unused variable `game'.
13261 * play/zone.el (life-patterns): Declare.
13263 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13265 * vc/vc.el (ediff-vc-internal): Declare function.
13267 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13269 * shell.el: Use lexical-binding and std completion UI.
13270 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13271 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13272 comint-preoutput-filter-functions rather than on
13273 comint-output-filter-functions.
13274 (shell-command-completion, shell--command-completion-data)
13275 (shell-filename-completion, shell-environment-variable-completion)
13276 (shell-c-a-p-replace-by-expanded-directory): New functions.
13277 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13278 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13279 (shell-dynamic-complete-environment-variable): Use them.
13280 (shell-dynamic-complete-as-environment-variable)
13281 (shell-dynamic-complete-as-command): Remove.
13282 (shell-match-partial-variable): Match past point.
13283 * comint.el: Clean up use of completion-at-point-functions.
13284 (comint-completion-at-point): New function.
13285 (comint-mode): Use it completion-at-point-functions.
13286 (comint-dynamic-complete): Make it obsolete.
13287 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13288 (comint-c-a-p-replace-by-expanded-history): New function.
13289 (comint-dynamic-complete-functions)
13290 (comint-replace-by-expanded-history): Use it.
13291 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13292 termination strings. Try harder to avoid second try-completion.
13293 (completion-in-region-mode-map): Disable bindings that don't work yet.
13295 * comint.el: Use lexical-binding. Require CL.
13296 (comint-dynamic-complete-functions): Use comint-filename-completion.
13297 (comint-completion-addsuffix): Tweak custom type.
13298 (comint-filename-completion, comint--common-suffix)
13299 (comint--common-quoted-suffix, comint--table-subvert)
13300 (comint--complete-file-name-data): New functions.
13301 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13302 (comint-dynamic-list-filename-completions): Use them.
13303 (comint-dynamic-simple-complete): Make obsolete.
13305 * minibuffer.el (completion-in-region-mode):
13306 Keep completion-in-region-mode--predicate global.
13307 (completion-in-region--postch):
13308 Assume completion-in-region-mode--predicate is not null.
13310 * progmodes/flymake.el (flymake-start-syntax-check-process):
13311 Obey `dir'. Simplify.
13313 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13314 we're in VC after all.
13316 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13318 * vc/vc.el (vc-diff-build-argument-list-internal)
13319 (vc-version-ediff, vc-ediff): New commands.
13320 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13322 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13327 * obsolete/erc-hecomplete.el: Make obsolete.
13328 * obsolete/: Standardize obsolescence info in the header.
13330 2011-04-20 Glenn Morris <rgm@gnu.org>
13332 * calendar/solar.el (solar-horizontal-coordinates):
13333 Use the longitude argument rather than `calendar-longitude'.
13334 (solar-date-next-longitude): Remove unused locals.
13336 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13338 * whitespace.el: New version 13.2.1.
13340 2011-04-20 felix <EmacsWiki> (tiny change)
13342 * whitespace.el (global-whitespace-mode): Keep highlight when
13343 switching between major modes on a file.
13345 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13348 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13349 multi-line comments as well.
13351 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13353 Lexical-binding cleanup.
13355 * arc-mode.el (archive-mode-revert):
13356 * cmuscheme.el (scheme-interactively-start-process):
13357 * custom.el (custom-initialize-delay):
13358 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13359 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13360 * emacs-lock.el (emacs-lock-clear-sentinel):
13361 * ezimage.el (defezimage):
13362 * follow.el (follow-avoid-tail-recenter):
13363 * fringe.el (set-fringe-mode-1):
13364 * generic-x.el (bat-generic-mode-compile):
13365 * help-mode.el (help-info-variable, help-do-xref)
13366 (help-mode-revert-buffer):
13367 * help.el (view-emacs-todo):
13368 * iswitchb.el (iswitchb-completion-help):
13369 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13370 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13371 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13372 * locate.el (locate-update):
13373 * longlines.el (longlines-encode-region)
13374 (longlines-after-change-function):
13375 * outline.el (outline-isearch-open-invisible):
13376 * ps-def.el (declare-function, charset-dimension, char-width)
13378 * ps-mule.el (ps-mule-plot-string):
13379 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13380 (recentf-edit-list-select, recentf-edit-list-validate)
13381 (recentf-open-files-action):
13382 * rect.el (delete-whitespace-rectangle-line)
13383 (rectangle-number-line-callback):
13384 * register.el (window-configuration-to-register)
13385 (frame-configuration-to-register):
13386 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13387 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13388 (xselect-convert-to-targets, xselect-convert-to-delete)
13389 (xselect-convert-to-filename, xselect-convert-to-charpos)
13390 (xselect-convert-to-lineno, xselect-convert-to-colno)
13391 (xselect-convert-to-os, xselect-convert-to-host)
13392 (xselect-convert-to-user, xselect-convert-to-class)
13393 (xselect-convert-to-name, xselect-convert-to-integer)
13394 (xselect-convert-to-atom, xselect-convert-to-identity):
13395 * subr.el (declare, ignore, process-kill-without-query)
13396 (text-clone-maintain):
13397 * terminal.el (te-get-char, te-tic-sentinel):
13398 * tool-bar.el (tool-bar-make-keymap):
13399 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13400 * type-break.el (type-break-mode, type-break-noninteractive-query):
13401 * view.el (View-back-to-mark):
13402 * wid-browse.el (widget-browse-action, widget-browse-widget)
13403 (widget-browse-widgets, widget-browse-sexp):
13404 * widget.el (define-widget-keywords):
13405 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13406 Mark unused parameters.
13408 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13409 (align-areas): Remove unused variable `look'.
13410 (align-region): Remove unused variables `real-end' and `pos-list'.
13412 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13414 * bindings.el (mode-line-modified, mode-line-remote):
13415 Mark unused parameters.
13416 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13418 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13419 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13421 * comint.el (comint-history-isearch-pop-state)
13422 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13423 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13424 (comint-substitute-in-file-name): Doc fix.
13426 * completion.el (cmpl-statistics-block): Mark unused parameter.
13427 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13428 (save-completions-to-file, load-completions-from-file):
13429 Remove unused local variable `e'.
13431 * composite.el (compose-chars): Remove unused variable `len'.
13432 (lgstring-insert-glyph): Remove unused variable `g'.
13433 (compose-glyph-string): Remove unused variables `ascent',
13434 `descent', `lbearing' and `rbearing'.
13435 (compose-glyph-string-relative): Remove unused variables
13436 `lbearing', `rbearing' and `wadjust'.
13437 (compose-gstring-for-graphic): Remove unused variables `header',
13438 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13439 (compose-gstring-for-terminal): Remove unused variables `header'
13440 and `nchars'. Use `let', not `let*'.
13442 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13443 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13444 (Custom-buffer-done, custom-buffer-create-internal)
13445 (custom-browse-visibility-action, custom-browse-group-tag-action)
13446 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13447 (widget-magic-mouse-down-action, custom-toggle-parent)
13448 (custom-add-parent-links, custom-toggle-hide-variable)
13449 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13450 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13451 (custom-face-menu-create, custom-variable-menu-create, get)
13452 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13453 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13454 (customize-apropos): Remove unused variable `tests'.
13455 (custom-group-value-create): Remove unused variable `hidden-p'.
13456 (sort-fold-case): Declare.
13458 * cus-theme.el (custom-reset-standard-faces-list)
13459 (custom-reset-standard-variables-list): Declare.
13460 (customize-create-theme, custom-theme-revert, custom-theme-write)
13461 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13462 Mark unused parameters.
13464 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13466 * delim-col.el (delimit-columns-max): Move defvar before first use.
13468 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13469 (describe-char): Don't quote `lambda'. Mark unused parameter.
13471 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13472 (auto-insert): Declare.
13473 (desktop-restore-file-buffer): Rename desktop-* parameters;
13475 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13476 (desktop-buffer): Rename desktop-* parameters.
13478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13479 (dframe-reposition-frame-xemacs, dframe-help-echo)
13480 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13481 Mark unused parameters.
13483 * dired-aux.el (backup-extract-version-start, overwrite-query)
13484 (overwrite-backup-query, rename-regexp-query)
13485 (rename-non-directory-query): Declare.
13486 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13487 (dired-add-entry): Remove unused variable `orig-file-name'.
13488 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13489 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13490 `dired-copy-preserve-time' directly.
13491 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13492 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13494 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13495 (dired-virtual-revert, dired-make-relative-symlink):
13496 Mark unused parameters.
13497 (manual-program): Declare.
13498 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13499 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13500 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13502 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13504 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13506 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13509 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13511 * electric.el (Electric-command-loop): Rename parameter
13512 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13514 * expand.el (expand-in-literal): Remove unused variable `here'.
13516 * facemenu.el (facemenu-add-new-color):
13517 Remove unused variable `docstring'.
13519 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13520 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13521 (face-attr-construct): Mark unused parameter. Doc fix.
13522 (read-color): Remove unused variable `hex-string'.
13524 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13525 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13526 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13527 (display-buffer-other-frame): Remove unused variable `old-window'.
13528 (kill-buffer-hook): Declare.
13529 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13530 Mark unused parameters.
13531 (after-find-file): Pass 1 to `auto-save-mode', not t.
13533 * files-x.el (auto-insert): Declare.
13534 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13536 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13537 variable `buf'. Mark unused parameter.
13538 (find-lisp-insert-directory): Mark unused parameter.
13540 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13541 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13542 (format-common-tail): Remove, unused.
13543 (format-deannotate-region): Remove unused variable `loc'.
13544 (format-annotate-region): Remove unused variable `p'.
13545 (format-annotate-single-property-change): Remove unused variables
13546 `default' and `tail'.
13548 * forms.el (read-file-filter): Declare.
13549 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13551 * frame.el (frame-creation-function-alist): Mark unused parameter.
13552 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13554 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13555 Remove unused parameters.
13556 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13557 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13559 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13560 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13561 (hfy-prepare-tag-map): Mark unused parameters.
13562 (htmlfontify-buffer): Use `called-interactively-p'.
13564 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13565 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13566 (ibuffer-do-occur): Mark unused parameters.
13567 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13568 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13570 * ibuffer.el: Don't quote `lambda'.
13571 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13572 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13573 Mark unused parameters.
13575 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13576 (ido-completing-read): Mark unused parameters.
13577 (ido-copy-current-word): Mark unused parameters;
13578 remove unused variable `name'.
13579 (ido-sort-merged-list): Remove unused parameter `dirs'.
13581 * ielm.el (ielm-input-sender): Mark unused parameter.
13582 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13583 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13584 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13585 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13586 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13588 * image-dired.el (image-dired-display-thumbs): Remove unused
13589 variables `curr-file' and `count'.
13590 (image-dired-remove-tag): Remove unused variable `start'.
13591 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13592 variable `curr-file'
13593 (image-dired-rotate-original): Remove unused variable `temp-file'.
13594 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13595 Remove unused variable `file'.
13596 (image-dired-gallery-generate): Remove unused variable `curr'.
13597 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13599 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13601 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13603 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13605 * isearch.el (minibuffer-history-symbol): Declare.
13606 (isearch-edit-string): Remove unused variable `err'.
13607 (isearch-message-prefix, isearch-message-suffix):
13608 Mark unused parameters.
13610 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13612 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13614 * makesum.el (double-column): Remove unused variable `cnt'.
13616 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13617 (ido-ignore-item-temp-list): Declare.
13619 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13620 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13621 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13622 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13625 * mouse-sel.el (mouse-extend-internal):
13626 Remove unused variable `orig-window-frame'.
13628 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13629 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13630 Move declarations before first use.
13631 (pcomplete-opt): Mark unused parameters; doc fix.
13633 * proced.el (proced-revert): Mark unused parameter.
13634 (proced-send-signal): Remove unused variable `err'.
13636 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13637 Rename parameter PREFIX-ARG to ARG.
13638 (ps-basic-plot-string, ps-basic-plot-whitespace):
13639 Mark unused parameters.
13641 * replace.el (replace-count): Define.
13642 (occur-revert-function): Mark unused parameters.
13643 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13644 (isearch-case-fold-search, isearch-string): Declare.
13645 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13646 bind `case-fold-search'. Remove unused variables `beg' and `end',
13648 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13649 COUNT and bind `replace-count'.
13650 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13653 * savehist.el (print-readably, print-string-length): Declare.
13655 * shadowfile.el (shadow-expand-cluster-in-file-name):
13656 Remove unused variable `cluster'.
13657 (shadow-copy-file): Remove unused variable `i'.
13658 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13659 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13660 (shadow-define-literal-group, shadow-define-regexp-group)
13661 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13663 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13664 (shell): Use `called-interactively-p'.
13665 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13667 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13668 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13669 (delete-backward-char): Remove unused variable `ocol'.
13670 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13671 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13672 (event-apply-hyper-modifier, event-apply-shift-modifier)
13673 (event-apply-control-modifier, event-apply-meta-modifier):
13674 Mark unused parameters.
13675 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13676 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13678 * speedbar.el (speedbar-ignored-directory-expressions)
13679 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13680 (speedbar-find-file, speedbar-dir-follow)
13681 (speedbar-directory-buttons-follow, speedbar-tag-find)
13682 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13683 (speedbar-buffers-line-directory, speedbar-buffer-click):
13684 Mark unused parameters.
13685 (speedbar-tag-file): Remove unused variable `mode'.
13686 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13688 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13690 * talk.el (talk): Remove unused variable `display'.
13692 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13693 (tar-write-region-annotate): Mark unused parameter.
13695 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13696 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13697 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13698 warning by another.
13700 * time-stamp.el (time-stamp-string-preprocess):
13701 Remove unused variable `require-padding'.
13703 * tree-widget.el (widget-glyph-enable): Declare.
13704 (tree-widget-action): Mark unused parameter.
13706 * w32-fns.el (x-get-selection): Mark unused parameter.
13707 (autoload-make-program, generated-autoload-file): Declare.
13709 * wdired.el (wdired-revert): Mark unused parameters.
13710 (wdired-xcase-word): Remove unused variable `err'.
13712 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13713 (whitespace-help-scroll): Remove unused variable `data-help'.
13715 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13716 (widget-image-insert, widget-after-change, default)
13717 (widget-default-format-handler, widget-default-notify)
13718 (widget-default-prompt-value, widget-info-link-action)
13719 (widget-url-link-action, widget-function-link-action)
13720 (widget-variable-link-action, widget-file-link-action)
13721 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13722 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13723 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13724 (widget-insert-button-action, widget-delete-button-action, visibility)
13725 (widget-documentation-link-action, widget-documentation-string-action)
13726 (widget-const-prompt-value, widget-regexp-match, symbol)
13727 (widget-coding-system-prompt-value)
13728 (widget-key-sequence-value-to-external, sexp)
13729 (widget-sexp-value-to-internal, character, vector, cons)
13730 (widget-choice-prompt-value, widget-boolean-prompt-value)
13731 (widget-color--choose-action): Mark unused parameters.
13732 (widget-item-match-inline, widget-choice-match-inline)
13733 (widget-checklist-match, widget-checklist-match-inline)
13734 (widget-group-match): Rename parameter VALUES to VALS.
13735 (widget-field-value-set): Remove unused variable `size'.
13736 (widget-color-action): Remove unused variables `value' and `start'.
13738 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13739 variable `dir'. Doc fix.
13740 (windmove-find-other-window): Don't pass it.
13742 * window.el (count-windows): Mark unused parameter.
13743 (bw-adjust-window): Remove unused variable `err'.
13745 * woman.el (woman-file-name): Remove unused variable `default'.
13746 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13747 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13748 (global-font-lock-mode): Declare.
13749 (woman-decode-region): Mark unused parameter.
13750 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13752 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13753 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13754 (x-dnd-handle-moz-url): Remove unused variable `title'.
13755 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13757 * xml.el (xml-parse-tag, xml-parse-attlist):
13758 Remove unused variable `pos'.
13760 2011-04-19 Glenn Morris <rgm@gnu.org>
13762 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13763 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13764 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13765 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13766 * calendar/cal-html.el (cal-html-insert-minical):
13767 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13768 (calendar-mark-date-pattern):
13769 Prefix "unused" locals.
13771 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13772 optional argument `style'.
13774 * calendar/appt.el (appt-make-list):
13775 * calendar/cal-china.el (calendar-chinese-date-string):
13776 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13777 (diary-hebrew-yahrzeit):
13778 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13779 * calendar/calendar.el (calendar-generate-window):
13780 * calendar/time-date.el (time-to-days):
13781 Remove unused local variables.
13783 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13786 glyphless-char-display table.
13787 (tabulated-list-glyphless-char-display): New var.
13789 2011-04-18 Sam Steingold <sds@gnu.org>
13791 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13792 to acknowledgments.
13794 2011-04-17 Glenn Morris <rgm@gnu.org>
13796 * calendar/diary-lib.el (diary-sexp-entry):
13797 * calendar/holidays.el (holiday-sexp):
13798 Set debug-on-error rather than the removed stack-trace-on-error.
13800 2011-04-16 Glenn Morris <rgm@gnu.org>
13802 * progmodes/f90.el: Use lexical-binding.
13803 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13805 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13807 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13808 (mail-mode): Setup mailalias completion here instead.
13809 * mail/mailalias.el: Use lexical-binding.
13810 (pattern, mailalias-done): Declare dynamic.
13811 (mail-completion-at-point-function): New function, from mail-complete.
13812 (mail-complete): Use it.
13813 (mail-completion-expand): New function.
13814 (mail-get-names): Use it.
13815 (mail-directory, mail-directory-process, mail-directory-stream):
13816 Don't use `pattern' for lexically bound arg.
13818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13820 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13821 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13822 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13824 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13825 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13826 (byte-interactive-p): Define them again, for use when inlining
13829 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13831 * loadup.el: Use `string-to-number', not `string-to-int'.
13833 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13835 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13836 gud-gdb-complete-command.
13837 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13838 (gud-gdb-completion-at-point): New function.
13839 (gud-gdb-completions): Remove.
13841 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13843 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13844 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13845 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13846 whether `executable-find' is bound.
13848 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13850 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13852 * minibuffer.el (completion-in-region-mode-predicate)
13853 (completion-in-region-mode--predicate): New vars.
13854 (completion-in-region, completion-in-region--postch)
13855 (completion-in-region-mode): Use them.
13856 (completion--capf-wrapper): Also return the hook function.
13857 (completion-at-point, completion-help-at-point):
13858 Adjust and provide a predicate.
13860 Preserve arg names for advice of subr and lexical functions (bug#8457).
13861 * help-fns.el (help-function-arglist): Consolidate the subr and
13862 new-byte-code cases. Add argument `preserve-names' to extract names
13863 from the docstring when needed.
13864 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13865 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13866 (ad-arglist): Use help-function-arglist's new arg.
13867 (ad-definition-type): Use cond.
13869 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13871 * autorevert.el (auto-revert-handler):
13872 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13873 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13874 Don't quote lambda.
13876 * image-mode.el (image-transform-set-scale):
13877 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13879 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13881 * net/network-stream.el (network-stream-open-starttls): Only do
13882 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13883 Upgrades via gnutls-cli are too slow to be done opportunistically.
13885 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13887 * dframe.el (dframe-current-frame): Remove spurious quote.
13889 2011-04-12 Glenn Morris <rgm@gnu.org>
13891 * calendar/cal-tex.el (cal-tex-end-document):
13892 Try to automatically use latin1 input if needed.
13894 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13895 Don't try to cons a mark onto an empty element.
13897 2011-04-11 Leo Liu <sdl.web@gmail.com>
13899 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13901 (ido-kill-buffer-at-head): Support killing virtual buffers.
13903 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13905 * minibuffer.el (completion-show-inline-help): New var.
13906 (completion--do-completion, minibuffer-complete)
13907 (minibuffer-force-complete, minibuffer-complete-word):
13908 Inhibit minibuffer messages if completion-show-inline-help is nil.
13910 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13911 to avoid interference from inline help (Bug#5849).
13913 2011-04-10 Leo Liu <sdl.web@gmail.com>
13915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13918 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13920 * image-mode.el (image-toggle-display-image): Signal an error if
13922 (image-transform-mode, image-transform-resize)
13923 (image-transform-set-rotation): Doc fix.
13924 (image-transform-set-resize): Delete.
13925 (image-transform-set-scale, image-transform-fit-to-height)
13926 (image-transform-fit-to-width): Handle image-toggle-display-image
13927 and image-transform-resize directly.
13929 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13931 * doc-view.el (doc-view-fit-width-to-window)
13932 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13933 New functions for fitting the shown image to the Emacs window size.
13934 (doc-view-mode-map): Add bindings for the new functions.
13936 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13938 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13939 Fix typo in docstring.
13941 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13943 * files.el (file-size-human-readable): Produce one digit after
13944 decimal, like "ls -lh" does.
13946 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13947 the file size representation.
13949 * simple.el (list-processes): If async subprocesses are not
13950 available, error out with a clear error message.
13952 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13954 * help.el (help-form-show): New function, to be called from C.
13955 Put help-form output in a buffer named differently than *Help*.
13957 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13959 * files.el (file-size-human-readable): New function.
13961 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13962 computing the representation inline. Don't require `cl'.
13964 2011-04-08 Glenn Morris <rgm@gnu.org>
13966 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13968 * net/browse-url.el (browse-url-firefox):
13969 Test system-type, not system-configuration.
13971 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13972 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13973 Use log-edit-empty-buffer-p. (Bug#7598)
13975 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13976 (rlogin-mode-map): Initialize in the defvar.
13977 (rlogin): Use ignore-errors.
13979 * replace.el (occur-mode-map): Some fixes for menu items.
13981 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13983 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13985 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13987 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13988 issuing unused warnings.
13990 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13993 * simple.el: Lisp reimplement of list-processes. Based on an
13994 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13995 (process-menu-mode): New major mode.
13996 (list-processes--refresh, list-processes):
13997 (process-menu-visit-buffer): New functions.
13999 * files.el (save-buffers-kill-emacs): Don't assume any return
14000 value of list-processes, which is undocumented anyway.
14002 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14004 * emacs-lisp/tabulated-list.el: New file.
14006 * emacs-lisp/package.el: Use Tabulated List mode.
14007 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14008 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14009 table format using Tabulated List mode variables.
14010 (package--push): New macro, replacing package-list-maybe-add.
14011 (package-menu--generate): Use package--push. Renamed from
14012 package--generate-package-list.
14013 (package-menu-refresh, list-packages): Use it.
14014 (package-menu--print-info): Rename from package-print-package.
14015 Return insertion data instead of inserting it directly.
14016 (package-menu-describe-package, package-menu-execute):
14017 Use tabulated-list-get-id.
14018 (package-menu-mark-delete, package-menu-mark-install)
14019 (package-menu-mark-unmark, package-menu-backup-unmark)
14020 (package-menu-mark-obsolete-for-deletion):
14021 Use tabulated-list-put-tag.
14022 (package--list-packages, package-menu-revert)
14023 (package-menu-get-package, package-menu-get-version)
14024 (package-menu-sort-by-column): Functions deleted.
14025 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14026 (package-menu--status-predicate, package-menu--version-predicate)
14027 (package-menu--name-predicate)
14028 (package-menu--description-predicate): Handle arguments in the
14029 Tabulated List format.
14030 (package-list-packages-no-fetch): Call list-packages.
14032 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14034 * files.el (after-find-file-from-revert-buffer): Remove variable.
14035 (after-find-file): Don't bind it.
14036 (revert-buffer-in-progress-p): New variable.
14037 (revert-buffer): Bind it.
14038 Pass nil for `after-find-file-from-revert-buffer'.
14040 * saveplace.el (save-place-find-file-hook): Use new variable
14041 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14043 2011-04-06 Glenn Morris <rgm@gnu.org>
14045 * Makefile.in (AUTOGEN_VCS): New variable.
14046 (autoloads): Use $AUTOGEN_VCS.
14048 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14049 * calendar/calendar.el (calendar-mode-map):
14050 Check for toolkit scroll bars. (Bug#8305)
14052 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14054 * minibuffer.el (completion-in-region--postch)
14055 (completion-in-region-mode): Remove unnecessary messages.
14057 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14059 * font-lock.el (font-lock-refresh-defaults):
14060 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14061 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14063 * info.el (Info-directory-list, Info-read-node-name-2)
14064 (Info-split-parameter-string): Doc fixes.
14065 (Info-virtual-nodes): Reflow docstring.
14066 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14067 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14068 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14069 Fix typos in docstrings.
14070 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14071 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14072 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14073 (Info-restore-desktop-buffer): Mark unused parameters.
14074 (Info-directory-find-file, Info-directory-find-node)
14075 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14076 (Info-virtual-index-find-node, Info-apropos-find-file)
14077 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14078 Mark unused parameters; fix typos in docstrings.
14079 (Info-virtual-index): Remove unused local variable `nodename'.
14081 2011-04-05 Deniz Dogan <deniz@dogan.se>
14083 * net/rcirc.el: Update my e-mail address.
14084 (rcirc-mode-map): Remove M-o binding.
14086 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14088 * startup.el (command-line): Save the cursor's theme-face
14089 directly, instead of using face-override-spec.
14091 * custom.el (load-theme): Minor optimization in assigning faces.
14093 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14095 * help-fns.el (describe-variable): Complete all variables having
14096 documentation, including keywords.
14097 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14099 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14101 Convert to lexical-binding.
14103 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14104 (bs--get-marked-string, bs--get-modified-string)
14105 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14106 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14107 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14109 * ehelp.el (electric-help-execute-extended)
14110 (electric-help-ctrl-x-prefix):
14111 * hexl.el (hexl-revert-buffer-function):
14112 * linum.el (linum-after-change, linum-after-scroll):
14113 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14115 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14117 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14124 * epg.el: Use lexical binding.
14126 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14128 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14130 * textmodes/flyspell.el (flyspell-word): Recognize default
14131 dictionary case for flyspell-mark-duplications-exceptions.
14132 Use regexp matching for languages.
14133 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14134 default dictionary (Bug#7926).
14136 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14138 * emacs-lisp/package.el (package--with-work-buffer):
14139 Recognize https URLs.
14141 * net/network-stream.el: Move from gnus/proto-stream.el.
14142 Change prefix to network-stream throughout.
14143 (open-protocol-stream): Merge into open-network-stream, leaving
14144 open-protocol-stream as an alias. Handle nil BUFFER args.
14146 * subr.el (open-network-stream): Move to net/network-stream.el.
14148 2011-04-02 Glenn Morris <rgm@gnu.org>
14150 * find-dired.el (find-exec-terminator): New option.
14151 (find-ls-option): Test for -ls support.
14152 (find-ls-subdir-switches): Test for -b in find-ls-option.
14153 (find-dired, find-grep-dired): Doc fixes.
14154 (find-dired): Use find-exec-terminator.
14156 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14157 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14158 (find-name-arg): Remove purecopy.
14160 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14161 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14162 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14163 accordingly. Don't add the null-device if not needed.
14165 * files.el (save-some-buffers): Doc fix.
14167 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14169 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14171 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14173 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14174 Use `dolist' rather than `mapcar'.
14176 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14178 Add lexical binding.
14180 * subr.el (apply-partially): Use new closures rather than CL.
14181 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14182 (dolist, dotimes): Use slightly different expansion for lexical code.
14183 (functionp): Move to C.
14184 (letrec): New macro.
14185 (with-wrapper-hook): Use it and apply-partially instead of CL.
14186 (eval-after-load): Preserve lexical-binding.
14187 (save-window-excursion, with-output-to-temp-buffer): Turn them
14190 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14192 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14194 (help-add-fundoc-usage): Don't add `Not documented'.
14195 (help-function-arglist): Handle closures, subroutines, and new
14196 byte-code-functions.
14197 (help-make-usage): Remove leading underscores.
14198 (describe-function-1): Handle closures.
14199 (describe-variable): Use special-variable-p for completion.
14201 * files.el (lexical-binding): Declare safe.
14203 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14204 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14205 (pcase): Add `let' pattern.
14206 Change memoization so it actually works.
14207 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14208 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14211 * emacs-lisp/macroexp.el: Use lexical binding.
14212 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14213 Don't convert ' to #' without checking that it's indeed quoting
14216 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14217 Use eval-sexp-add-defvars.
14218 (eval-sexp-add-defvars): New fun.
14220 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14222 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14224 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14225 than the internal `byte-compile-lambda'.
14226 (defmethod): Don't hide code under quotes.
14227 (eieio-defmethod): New `code' argument.
14229 * emacs-lisp/eieio-comp.el: Remove.
14231 * emacs-lisp/edebug.el (edebug-eval-defun)
14232 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14233 (edebug-toggle): Avoid `eval'.
14235 * emacs-lisp/disass.el (disassemble-internal): Handle new
14237 (disassemble-1): Handle new byte codes.
14239 * emacs-lisp/cl.el (pushnew): Silence warning.
14241 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14242 (cl-byte-compile-throw): Remove.
14243 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14245 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14248 * emacs-lisp/cconv.el: New file.
14250 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14251 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14252 (byte-compile-initial-macro-environment):
14253 Handle declare-function here.
14254 (byte-compile--lexical-environment): New var.
14255 (byte-stack-ref, byte-stack-set, byte-discardN)
14256 (byte-discardN-preserve-tos): New lap codes.
14257 (byte-interactive-p): Don't use any more.
14258 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14260 (byte-compile-lapcode): Use them and handle new lap codes.
14261 (byte-compile-obsolete): Remove.
14262 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14263 (byte-compile-arglist-warn): Check late def of inlinable funs.
14264 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14265 since they should have been expanded by now.
14266 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14267 (byte-compile-from-buffer): Remove unused second arg.
14268 (byte-compile-preprocess): New function.
14269 (byte-compile-toplevel-file-form): New function to distinguish
14270 file-form calls from outside from file-form calls from hunk-handlers.
14271 (byte-compile-file-form): Simplify.
14272 (byte-compile-file-form-defsubst): Remove.
14273 (byte-compile-file-form-defmumble): Simplify now that
14274 byte-compile-lambda always returns a byte-code-function.
14275 (byte-compile): Preprocess.
14276 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14277 Remove, not used any more.
14278 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14279 (byte-compile-make-args-desc): New funs.
14280 (byte-compile-lambda): Handle lexical functions. Always return
14281 a byte-code-function.
14282 (byte-compile-reserved-constants): New var, to make up room for
14283 closed-over variables.
14284 (byte-compile-constants-vector): Obey it.
14285 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14286 (byte-compile-macroexpand-declare-function): New function.
14287 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14288 byte-code-functions.
14289 (byte-compile-form): Check obsolescence here.
14290 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14291 (byte-compile-variable-ref): Remove.
14292 (byte-compile-dynamic-variable-op): New fun.
14293 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14294 (byte-compile-variable-set): New funs.
14295 (byte-compile-discard): Add 2 args.
14296 (byte-compile-stack-ref, byte-compile-stack-set)
14297 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14298 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14299 macroexpand-all instead.
14300 (byte-compile-quote-form): Remove.
14301 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14302 (byte-compile-bind, byte-compile-unbind): New funs.
14303 (byte-compile-let): Handle let* and lexical binding.
14304 (byte-compile-let*): Remove.
14305 (byte-compile-catch, byte-compile-unwind-protect)
14306 (byte-compile-track-mouse, byte-compile-condition-case):
14307 Handle a new :fun-body form, used for lexical scoping.
14308 (byte-compile-save-window-excursion)
14309 (byte-compile-with-output-to-temp-buffer): Remove.
14310 (byte-compile-defun): Simplify.
14311 (byte-compile-stack-adjustment): New fun.
14312 (byte-compile-out): Use it.
14313 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14315 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14318 * emacs-lisp/byte-opt.el: Use lexical binding.
14319 (byte-inline-lapcode): Remove (to bytecomp).
14320 (byte-compile-inline-expand): Pay attention to inlining to/from
14321 lexically bound code.
14322 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14324 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14325 any more and don't call compiler-macros.
14326 (byte-compile-splice-in-already-compiled-code): Remove.
14327 (byte-code): Don't inline any more.
14328 (disassemble-offset): Receive `bytes' as argument rather than via
14330 (byte-compile-tag-number): Declare before first use.
14331 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14332 `return' even if make-spliceable.
14333 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14334 obsolete interactive-p.
14335 (byte-optimize-lapcode): Optimize new lap-codes.
14336 Don't trip up on new form of `byte-constant' lap code.
14338 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14340 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14342 * custom.el (custom-initialize-default, custom-declare-variable):
14345 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14347 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14348 (COMPILE_FIRST): Add macroexp and cconv.
14349 * makefile.w32-in: Mirror changes in Makefile.in.
14351 * vc/cvs-status.el:
14355 * vc/smerge-mode.el:
14356 * textmodes/bibtex-style.el:
14357 * textmodes/css.el:
14365 * emacs-lisp/smie.el:
14368 * abbrev.el: Use lexical binding.
14370 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14372 * info.el (info-display-manual): New function.
14374 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14376 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14378 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14380 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14381 an entry for that server in rcirc-authinfo. (Bug#8385)
14383 2011-03-31 Glenn Morris <rgm@gnu.org>
14385 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14387 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14389 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14391 * progmodes/python.el (python-default-interpreter)
14392 (python-python-command-args, python-jython-command-args)
14393 (python-which-shell, python-which-args, python-which-bufname)
14394 (python-file-queue, python-comint-output-filter-function)
14395 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14396 variables and functions.
14398 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14400 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14401 (completion-in-region-mode): New minor mode.
14402 (completion-in-region): Use it.
14403 (completion-in-region--data, completion-in-region-mode-map): New vars.
14404 (completion-in-region--postch): New function.
14405 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14407 (completion--capf-wrapper): New function.
14408 (completion-at-point): Use it to track well-behavedness of
14410 (completion-help-at-point): New command.
14412 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14414 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14415 syntax class to search for whitespace on a single line
14416 (Message-ID: <4D938140.4030905@redhat.com>).
14418 2011-03-30 Leo Liu <sdl.web@gmail.com>
14420 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14422 (edit-abbrevs-map): Bind them here.
14423 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14425 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14427 * allout.el (allout-hide-by-annotation, allout-flag-region):
14428 Reduce possibility of overlay leakage by making them volatile.
14430 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14431 hash is not shared between buffers. Mode initialization is
14432 responsible for giving it a useful starting value.
14433 (allout-item-span): Reduce possibility of overlay leakage by
14434 making them volatile.
14435 (allout-widgets-count-buttons-in-region): Add diagnostic function
14436 for tracking down button overlay leaks.
14438 2011-03-29 Leo Liu <sdl.web@gmail.com>
14440 * ido.el (ido-read-internal): Use the default history var
14441 minibuffer-history if no HISTORY is specified.
14443 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14445 * net/imap.el (imap-shell-open, imap-process-connection-type):
14446 Use imap-process-connection-type for 'shell' streams as well as
14447 Kerberos, SSL, other subprocesses.
14449 2011-03-28 Leo Liu <sdl.web@gmail.com>
14451 * abbrev.el (abbrev-table-empty-p): New function.
14452 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14453 nonempty ones. (Bug#5937)
14455 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14457 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14459 2011-03-27 Leo Liu <sdl.web@gmail.com>
14461 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14462 for foreground and background colors.
14463 (ansi-color-make-color-map): Adapt.
14465 2011-03-25 Leo Liu <sdl.web@gmail.com>
14467 * midnight.el (midnight-time-float): Remove. Note it calculates
14468 the microsecond component incorrectly and seconds-to-time does the
14470 Remove redundant (require 'timer).
14472 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14473 (ido-completions): Remove unused arguments. (Bug#8329)
14475 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14477 * minibuffer.el (completion--flush-all-sorted-completions):
14478 Remove itself from hook.
14479 (completion-at-point): Let the functions perform the completion
14480 immediately and return nil or t.
14481 * comint.el (comint-dynamic-complete-functions): Now identical to
14482 completion-at-point-functions.
14483 (comint-dynamic-list-input-ring): Remove unused var `index'.
14484 (comint--match-partial-filename, comint--unquote&expand-filename):
14485 New funs, split from comint-match-partial-filename.
14486 (comint-dynamic-complete): Use completion-at-point.
14487 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14489 2011-03-24 Drew Adams <drew.adams@oracle.com>
14491 * thingatpt.el: Support `defun'.
14493 2011-03-23 Leo Liu <sdl.web@gmail.com>
14495 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14497 * help-mode.el (help-mode-finish): Tweak regexp.
14499 2011-03-23 Glenn Morris <rgm@gnu.org>
14501 * eshell/esh-opt.el (eshell-eval-using-options):
14502 Do not bind unused local variable `eshell-option-stub'.
14504 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14506 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14508 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14509 keymap variable in `with-no-warnings' to avoid a warning when the
14510 keymap has been already `defconst'ed.
14512 2011-03-22 Leo Liu <sdl.web@gmail.com>
14514 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14515 encode all chars in abbrevs; otherwise use emacs-mule or
14516 utf-8-emacs. (Bug#8308)
14518 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14520 * simple.el (backward-delete-char-untabify):
14521 Avoid warning about using `delete-backward-char'.
14523 * image.el (image-type-file-name-regexps): Make it variable.
14524 `imagemagick-register-types' modifies it, and the user may want
14525 to add new extensions for known image types.
14526 (imagemagick-register-types): Throw error if not using ImageMagick.
14528 2011-03-22 Leo Liu <sdl.web@gmail.com>
14530 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14531 located before rcirc-prompt-end-marker.
14532 (rcirc-complete): Error if point is not after rcirc prompt.
14533 Handle the case when table is nil.
14534 (rcirc-user-authenticated): Define to fix compiler warning.
14536 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14538 * custom.el (custom--inhibit-theme-enable): Make it affect only
14539 custom-theme-set-variables and custom-theme-set-faces.
14540 (provide-theme): Ignore custom--inhibit-theme-enable.
14541 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14542 (custom-enabling-themes): Delete variable.
14543 (enable-theme): Accept only loaded themes as arguments.
14544 Ignore the special custom-enabled-themes variable.
14545 (custom-enabled-themes): Forbid themes from setting this.
14546 Eliminate use of custom-enabling-themes.
14547 (custom-push-theme): Quote "changed" custom var entry.
14549 2011-03-21 Leo Liu <sdl.web@gmail.com>
14551 * ido.el (ido-read-internal): Add ido-selected to history instead
14554 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14556 * subr.el (deferred-action-list, deferred-action-function):
14559 2011-03-21 Leo Liu <sdl.web@gmail.com>
14561 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14562 change on 2011-02-13 (bug#8309).
14564 * minibuffer.el (read-file-name-function): Change default value.
14565 (read-file-name--defaults): Rename from read-file-name-defaults.
14566 (read-file-name-default): Rename from read-file-name.
14567 (read-file-name): Call read-file-name-function.
14569 2011-03-21 Glenn Morris <rgm@gnu.org>
14571 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14574 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14576 * cus-theme.el: Add missing provide statement.
14577 (customize-create-theme): Extract theme value correctly.
14578 (custom-theme-visit-theme): Autoload.
14579 (customize-create-theme): Prompt before inserting default faces.
14581 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14583 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14584 units and musical notes.
14586 2011-03-20 Leo Liu <sdl.web@gmail.com>
14588 * ido.el (ido-read-internal): Use completing-read-default.
14589 (ido-completing-read): Fix compatibility with completing-read.
14591 2011-03-20 Christian Ohler <ohler@gnu.org>
14593 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14594 (ert-delete-all-tests): Use `called-interactively-p' rather than
14596 (ert--make-xrefs-region): Respect END.
14598 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14600 * dired-aux.el (dired-create-directory): Signal an error if the
14601 directory already exists (Bug#8246).
14603 * facemenu.el (list-colors-display): Call list-faces-display
14604 inside with-help-window.
14605 (list-colors-print): Use display property to align the final
14606 column, instead of checking window-width.
14608 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14610 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14611 windows-nt systems.
14612 (emerge-protect-metachars): Quote correctly for ms-dos and
14613 windows-nt systems.
14615 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14617 * info.el (info-initialize): Replace all uses of `:' with
14618 path-separator for compatibility with non-Unix systems.
14619 Cache quoting of path-separator. (Bug#8258)
14621 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14623 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14624 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14625 (mouse-avoidance-mode): Fix typos in docstrings.
14627 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14629 * startup.el (package-subdirectory-regexp): Move from package.el.
14630 Omit \\` and \\', and let callers add them.
14632 * emacs-lisp/package.el (package-strip-version)
14633 (package-load-all-descriptors): Add \\` and \\' to
14634 package-subdirectory-regexp before using it.
14635 (package-untar-buffer): New arg DIR; ensure that file untars only
14636 into this expected directory. Remove superfluous delete-region.
14637 (package-unpack): Caller changed.
14638 (package-tar-file-info): Use package-subdirectory-regexp.
14640 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14642 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14643 diff-mode-shared-map (bug#8284).
14644 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14646 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14648 * calendar/time-date.el (format-seconds): Use assoc instead of
14649 assoc-string, since assoc-string doesn't exist in XEmacs.
14651 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14653 * custom.el (custom-known-themes): Reflow docstring.
14654 (custom-theme-load-path): Fix typo in docstring.
14655 (load-theme): Fix typo in error message.
14656 (custom-available-themes, custom-variable-theme-value):
14657 Use `let', not `let*'.
14659 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14661 * calc/README: Mention inclusion of musical notes.
14663 * calc/calc-units.el (calc-lu-quant): Rename from
14664 `calc-logunits-quantity'.
14665 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14666 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14667 (calc-db): Rename from `calc-dblevel'.
14668 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14669 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14670 (calc-np): Rename from `calc-nplevel'.
14671 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14672 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14673 (calc-lu-plus): Rename from `calc-logunits-add'.
14674 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14675 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14676 (calc-lu-minus): Rename from `calc-logunits-sub'.
14677 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14678 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14679 (calc-lu-times): Rename from `calc-logunits-mul'.
14680 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14681 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14682 (calc-lu-divide): Rename from `calc-logunits-div'.
14683 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14684 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14686 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14687 functions being autoloaded.
14689 * calc/calc.el (calc-lu-power-reference): Rename from
14690 `calc-logunits-power-reference'.
14691 (calc-lu-field-reference): Rename from
14692 `calc-logunits-field-reference'.
14694 * calc/calc-help.el (calc-l-prefix-help):
14695 Mention musical note functions.
14697 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14699 * minibuffer.el (completion-all-sorted-completions):
14700 Use :completion-cycle-penalty text property if present.
14702 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14704 * allout.el (allout-yank-processing): Adjust for new rebulleting
14705 regime so bullet being yanked is used without prompting the user
14708 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14710 * startup.el (command-line): Warn the user that _emacs is deprecated.
14712 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14714 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14715 (delphi-verbose, delphi-comment-face, delphi-string-face)
14716 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14717 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14718 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14719 (delphi-new-comment-line, delphi-font-lock-defaults)
14720 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14721 Fix typos in docstrings.
14723 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14725 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14726 Invert the roles of character and string values for INSTEAD, so a
14727 string is used for the more common case of a defaulting prompt.
14729 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14731 * progmodes/ruby-mode.el (ruby-backward-sexp):
14732 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14733 * play/gamegrid.el (gamegrid-make-face):
14734 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14735 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14736 * notifications.el (notifications-notify):
14737 * net/xesam.el (xesam-search-engines):
14738 * net/quickurl.el (quickurl-list-insert):
14739 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14741 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14743 * startup.el (command-line): Update package subdirectory regexp.
14745 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14747 * allout.el (allout-abbreviate-flattened-numbering)
14748 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14750 * subr.el (read-char-choice): Only show the cursor after the prompt,
14751 not after the answer.
14753 2011-03-15 Kevin Ryde <user42@zip.com.au>
14755 * help-fns.el (variable-at-point): Skip leading quotes, if any
14758 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14760 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14763 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14765 * shell.el (shell): When called interactively, offer to change the
14766 shell file name on remote hosts.
14768 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14770 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14771 integration for LDAP parameters. The host, base, user or binddn,
14772 and secret tokens can be specified in a netrc file, for instance.
14773 This is optional because an `auth-source' parameter must be
14774 specified in the search attributes.
14776 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14778 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14780 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14783 into declaration. Remove redundant and harmful binding.
14785 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14787 * files.el (file-ownership-preserved-p): Pass `integer' as an
14788 explicit 2nd argument to `file-attributes'. If the file's owner
14789 is the Administrators group on Windows, and the current user is
14790 Administrator, consider that a match.
14792 * server.el (server-ensure-safe-dir): Consider server directory
14793 safe on MS-Windows if its owner is the Administrators group while
14794 the current Emacs user is Administrator. Use `=' to compare
14795 numerical UIDs, since they could be integers or floats.
14797 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14799 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14801 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14803 Sync with Tramp 2.2.1.
14805 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14807 * net/trampver.el: Update release number.
14809 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * progmodes/compile.el (compilation--previous-directory): Fix up
14812 various nil/dead-marker mismatches (bug#8014).
14813 (compilation-directory-properties, compilation-error-properties):
14814 Don't call it at a position past the one we're about to change.
14816 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14817 Disable obsolescence warnings in the file that declares it.
14819 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14821 * allout-widgets.el (allout-widgets-tally):
14822 Initialize allout-widgets-tally as a hash table rather than nil to
14823 prevent mode-line redisplay warnings. Also, clarify the module
14824 description and fix a comment typo.
14826 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14828 * help-fns.el (describe-variable): Don't complete keywords.
14829 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14831 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14833 * emacs-lisp/package.el (package-version-join): Impose a standard
14834 string representation for pre/alpha/beta version lists.
14835 (package-unpack-single): Standardize the directory name by passing
14836 it through package-version-join.
14837 (package-strip-rcs-id): Accept any version string that does not
14838 signal an error in version-to-list.
14840 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14842 * simple.el (delete-trailing-whitespace): Return nil for the
14843 benefit of `write-file-functions'.
14845 2011-03-10 Glenn Morris <rgm@gnu.org>
14847 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14849 * vc/vc-git.el (vc-git-program): New option.
14850 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14851 (vc-git--call): Use it.
14853 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14855 * cus-edit.el (Custom-newline): If no button at point, look
14856 for a subgroup button at start-of-line. (Bug#2298)
14858 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14860 2011-03-10 Julien Danjou <julien@danjou.info>
14862 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14863 `cursor-type' is nil.
14865 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14867 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14869 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14871 * allout.el: Change so yank of distinctive-bullet items
14872 preserves the existing header prefix, rebulleting it if necessary,
14873 rather than replacing it. This is necessary for proper operation
14874 of cooperative addons like allout-widgets.
14875 (allout-make-topic-prefix, allout-rebullet-heading):
14876 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14877 value as alternate bullet to be used, instead of prompting the user
14878 for a bullet character.
14880 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14883 Do not use `tramp-file-name-port', because this returns also
14884 `tramp-default-port'.
14886 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14888 * net/rcirc.el (rcirc-handler-001): Remove useless
14889 with-rcirc-process-buffer.
14890 (rcirc-check-auth-status): Swap arguments to string-match.
14892 2011-03-09 Glenn Morris <rgm@gnu.org>
14894 * shell.el (shell-mode):
14895 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14897 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14898 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14900 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14902 * emacs-lisp/package.el (package-refresh-contents)
14903 (package-menu-execute): Use condition-case-no-debug.
14905 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14907 * simple.el (shell-command-to-string): Use `process-file'.
14909 * emacs-lisp/package.el (package-tar-file-info): Handle also
14912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14913 Use `equal' for upload base check.
14915 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14917 * textmodes/texinfo.el (texinfo-environments):
14918 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14920 2011-03-08 Glenn Morris <rgm@gnu.org>
14922 * cus-start.el (cursor-in-non-selected-windows):
14923 Fix :set quoting oddness. (Bug#8192)
14925 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14926 in some setf expressions. (Bug#2159)
14928 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14930 * custom.el (custom-available-themes): Return themes in
14931 alphabetical order.
14933 See ChangeLog.15 for earlier changes.
14935 ;; Local Variables:
14939 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14941 This file is part of GNU Emacs.
14943 GNU Emacs is free software: you can redistribute it and/or modify
14944 it under the terms of the GNU General Public License as published by
14945 the Free Software Foundation, either version 3 of the License, or
14946 (at your option) any later version.
14948 GNU Emacs is distributed in the hope that it will be useful,
14949 but WITHOUT ANY WARRANTY; without even the implied warranty of
14950 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14951 GNU General Public License for more details.
14953 You should have received a copy of the GNU General Public License
14954 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.