1 2012-06-10 Glenn Morris <rgm@gnu.org>
3 * mail/rmail.el (rmail-yank-current-message): Leave point at
4 correct position. (Bug#11660)
6 2012-06-10 Chong Yidong <cyd@gnu.org>
8 * allout-widgets.el: Fix code header.
10 2012-06-10 Chong Yidong <cyd@gnu.org>
12 * cus-edit.el (customize-changed-options-previous-release): Bump
15 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
17 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
19 2012-06-09 Chong Yidong <cyd@gnu.org>
21 * ebuff-menu.el (electric-buffer-list): Preserve header line.
23 2012-06-09 Martin Rudalics <rudalics@gmx.at>
25 * window.el (special-display-popup-frame): Don't use
26 window--display-buffer (Bug#11651).
28 2012-06-09 Eli Zaretskii <eliz@gnu.org>
30 Fix parallel builds: make sure loaddefs.el is not being written
31 while Lisp files are compiled.
32 (compile): Don't depend on 'mh-autoloads'.
33 (compile-CMD, compile-SH): Depend on 'autoloads'.
34 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
36 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
38 2012-06-09 Chong Yidong <cyd@gnu.org>
40 * face-remap.el (face-remap-add-relative, face-remap-set-base)
41 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
42 Doc fixes (Bug#11225).
44 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
46 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
47 a function if there's a clear indication that it has a compiler-macro.
48 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
49 (macro-declarations-alist): Add arglist to declaration functions.
50 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
51 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
52 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
53 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
54 Also add autoload to find the compiler macro.
55 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
56 (cl--compiler-macro-member, cl--compiler-macro-assoc)
57 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
58 (cl--compiler-macro-get): New functions, replacing calls to
59 cl-define-compiler-macro.
60 (cl-typep) [compiler-macro]: Use macroexp-let².
62 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
64 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
65 string properly, fixes Bug#11473.
67 2012-06-08 Chong Yidong <cyd@gnu.org>
69 * faces.el (set-face-attribute): Doc fix.
70 (modify-face): Don't use :bold and :italic.
71 (error, warning, success): Tweak definitions.
73 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
74 (custom-modified, custom-set, custom-changed, custom-themed)
75 (custom-saved, custom-button, custom-button-mouse)
76 (custom-button-pressed, custom-state, custom-comment-tag)
77 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
78 (custom-group-subtitle): Use new-style face specs.
79 (custom-invalid-face, custom-rogue-face, custom-modified-face)
80 (custom-set-face, custom-changed-face, custom-saved-face)
81 (custom-button-face, custom-button-pressed-face)
82 (custom-documentation-face, custom-state-face)
83 (custom-comment-face, custom-comment-tag-face)
84 (custom-variable-tag-face, custom-variable-button-face)
85 (custom-face-tag-face, custom-group-tag-face-1)
86 (custom-group-tag-face): Remove obsolete face alias.
88 * epa.el (epa-validity-high, epa-validity-medium)
89 (epa-validity-low, epa-mark, epa-field-name, epa-string)
90 (epa-field-name, epa-field-body):
91 * font-lock.el (font-lock-comment-face, font-lock-string-face)
92 (font-lock-keyword-face, font-lock-builtin-face)
93 (font-lock-function-name-face, font-lock-variable-name-face)
94 (font-lock-type-face, font-lock-constant-face):
95 * ido.el (ido-first-match, ido-only-match, ido-subdir)
96 (ido-virtual, ido-indicator, ido-incomplete-regexp):
97 * speedbar.el (speedbar-button-face, speedbar-file-face)
98 (speedbar-directory-face, speedbar-tag-face)
99 (speedbar-selected-face, speedbar-highlight-face)
100 (speedbar-separator-face):
101 * whitespace.el (whitespace-newline, whitespace-space)
102 (whitespace-hspace, whitespace-tab, whitespace-trailing)
103 (whitespace-line, whitespace-space-before-tab)
104 (whitespace-space-after-tab, whitespace-indentation)
106 * emulation/cua-base.el (cua-global-mark):
107 * eshell/em-prompt.el (eshell-prompt):
108 * net/newst-plainview.el (newsticker-new-item-face)
109 (newsticker-old-item-face, newsticker-immortal-item-face)
110 (newsticker-obsolete-item-face, newsticker-date-face)
111 (newsticker-statistics-face, newsticker-default-face):
112 * net/newst-reader.el (newsticker-feed-face)
113 (newsticker-extra-face, newsticker-enclosure-face):
114 * net/newst-treeview.el (newsticker-treeview-face)
115 (newsticker-treeview-new-face, newsticker-treeview-old-face)
116 (newsticker-treeview-immortal-face)
117 (newsticker-treeview-obsolete-face)
118 (newsticker-treeview-selection-face):
119 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
120 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
121 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
122 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
123 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
124 (nxml-outline-active-indicator, nxml-outline-ellipsis):
125 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
127 * progmodes/vera-mode.el (vera-font-lock-number)
128 (vera-font-lock-function, vera-font-lock-interface):
129 * textmodes/table.el (table-cell): Use new-style face specs, and
130 don't use the old :bold and :italic attributes.
132 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
133 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
134 (ebrowse-member-class, ebrowse-progress): Likewise.
135 (ebrowse-tree-mark-face, ebrowse-root-class-face)
136 (ebrowse-file-name-face, ebrowse-default-face)
137 (ebrowse-member-attribute-face, ebrowse-member-class-face)
138 (ebrowse-progress-face): Remove obsolete faces.
140 * progmodes/flymake.el (flymake-errline, flymake-warnline):
141 Inherit from error and warning faces respectively.
143 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
145 (flyspell-incorrect-face, flyspell-duplicate-face): Remove
148 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
153 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
155 * startup.el (argv, argi): Make lexically scoped.
156 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
157 * emacs-lisp/cl-macs.el: Use lexical-binding.
158 Rename cl-bind-* to cl--bind-*.
159 * files.el: Don't require `cl' since it doesn't use it.
160 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
162 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
164 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
165 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
166 instead of calling external sort utility.
167 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
169 2012-06-08 Eli Zaretskii <eliz@gnu.org>
171 * descr-text.el (describe-char): Mention how to insert the
172 character, if the current input method doesn't support it.
173 See the discussion in this thread for the details:
174 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
176 2012-06-08 Sam Steingold <sds@gnu.org>
178 * bindings.el (global-map): Bind XF86Forward to next-buffer and
179 XF86Back to previous-buffer.
180 (minibuffer-local-map): Bind them to next-history-element and
181 previous-history-element respectively.
182 * help-mode.el (help-mode-map): Bind them to help-go-forward and
183 help-go-back respectively.
184 * info.el (Info-mode-map): Bind them to Info-history-forward and
185 Info-history-back respectively.
186 These are the keys next to Up on the ThinkPad keyboard.
188 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
190 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
191 * emacs-lisp/cl-macs.el: Provide itself.
192 (cl--labels-convert-cache): New var.
193 (cl--labels-convert): New function.
194 (cl-flet, cl-labels): New implementation with new semantics, relying on
196 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
197 (cl-closure-vars, cl--function-convert-cache)
198 (cl--function-convert): Move from cl-macs.el.
199 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
200 rename by removing the "cl-" prefix.
201 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
203 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
205 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
206 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
207 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
208 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
209 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
210 (cl-hash-table-count): Add old compatibility aliases.
212 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
213 Use macroexpand-all-environment instead.
214 (cl--old-macroexpand): New var.
215 (cl--sm-macroexpand): New function.
216 (cl-symbol-macrolet): Use it during macro expansion.
217 (cl--function-convert-cache): New var.
218 (cl--function-convert): New function, extracted from
220 (cl-lexical-let): Use it.
222 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
223 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
224 (cl-member): Remove old alias.
226 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
227 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
228 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
229 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
230 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
231 (cl-macroexpand-cmacs): Remove var.
232 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
233 Use macroexpand-all instead.
235 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
237 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
238 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
239 (macroexp-copyable-p): New functions and macros.
240 * emacs-lisp/edebug.el (edebug-unwrap):
241 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
242 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
243 (pcase--let*): Remove.
244 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
245 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
246 macroexp-const-p instead.
247 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
249 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
250 instead of "cl-" for internal definitions. Use macroexp-const-p.
251 (cl-old-bc-file-form): Remove var.
252 (cl-const-exprs-p): Remove fun.
253 (cl-labels, cl-macrolet): Use backquote.
254 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
255 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
256 (cl-define-setf-expander): Rename from cl-define-setf-method.
257 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
259 * international/mule-cmds.el: Don't require CL.
260 (view-hello-file): Don't use `letf'.
262 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
264 * tmm.el (tmm-prompt): Use string-prefix-p.
265 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
266 (tmm-add-prompt): Use minibuffer-completion-help.
267 (tmm-delete-map): Remove.
269 * subr.el (kbd): Make it its own function.
271 2012-06-07 Stefan Merten <smerten@oekonux.de>
273 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
274 Silence compiler warnings. Fix versions.
275 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
276 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
277 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
278 (rst-package-emacs-version-alist): Correct Emacs version to
279 represent major merge with upstream.
280 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
282 2012-06-06 Glenn Morris <rgm@gnu.org>
284 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
285 Only print environment variables if set.
287 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
289 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
290 (macroexp--cons): Rename from maybe-cons.
291 (macroexp--accumulate): Rename from macroexp-accumulate.
292 (macroexp--all-forms): Rename from macroexpand-all-forms.
293 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
294 (macroexp--expand-all): Rename from macroexpand-all-1.
296 2012-06-06 Sam Steingold <sds@gnu.org>
298 * calendar/calendar.el (calendar-in-read-only-buffer):
299 Call `special-mode' to enable the standard read-only keybindings.
301 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
304 with "loading" messages (bug#11635).
306 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
308 * files.el (enable-remote-dir-locals): New option.
309 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
311 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
312 Ensure, that the temp directory is local.
314 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
315 `temporary-file-directory'.
317 * progmodes/python.el (python-send-region): Ensure, that the
318 temporary file is created also in the remote case.
320 2012-06-06 Glenn Morris <rgm@gnu.org>
322 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
323 (vc-rcs-update-changelog): Use it.
325 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
327 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
328 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
329 (vc-sccs-diff): Replace use of the external vcdiff script.
331 2012-06-05 Glenn Morris <rgm@gnu.org>
333 * ledit.el: Move to obsolete/.
335 2012-06-05 Sam Steingold <sds@gnu.org>
337 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
340 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emacs-list/cust-print.el: Move to obsolete.
344 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
345 compiler-macro expansion.
347 Add native compiler-macro support.
348 * emacs-lisp/macroexp.el (macroexpand-all-1):
349 Support compiler-macros directly. Properly follow aliases and apply
350 the compiler macros more thoroughly.
351 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
352 macroexpand now properly follows aliases.
353 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
354 (cl-compiler-macroexpand): Use new prop.
355 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
357 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
359 2012-06-05 Martin Rudalics <rudalics@gmx.at>
361 * window.el (get-lru-window, get-mru-window, get-largest-window):
362 New argument NOT-SELECTED to avoid picking the selected window.
363 (window--display-buffer-1, window--display-buffer-2): Replace by
364 new function window--display-buffer
365 (display-buffer-same-window, display-buffer-reuse-window)
366 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
367 Use window--display-buffer.
368 (display-buffer-use-some-window): Remove temporary dedication
369 hack by calling get-lru-window and get-largest-window with
370 NOT-SELECTED argument non-nil. Call window--display-buffer.
372 2012-06-05 Glenn Morris <rgm@gnu.org>
374 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
375 Replace external vcdiff script.
377 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
379 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
381 2012-06-04 Chong Yidong <cyd@gnu.org>
383 * image.el (imagemagick-types-inhibit): Revert last change.
385 (imagemagick-enabled-types): Remove CIN and EPS*.
387 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
389 * emacs-lisp/cl-lib.el: Rename from cl.el.
390 * emacs-lisp/cl.el: New compatibility file.
391 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
392 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
393 to obey the "cl-" prefix.
394 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
396 2012-06-03 Glenn Morris <rgm@gnu.org>
398 * emacs-lisp/authors.el (authors-aliases): Addition.
400 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
403 2012-06-03 Stefan Merten <smerten@oekonux.de>
405 * textmodes/rst.el: Add comments.
406 (rst-transition, rst-adornment): New faces.
407 (rst-adornment-faces-alist): Make default safe to reevaluate.
409 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
410 Improve customization tags.
411 (rst-define-level-faces): Clarify meaning.
413 2012-06-03 Chong Yidong <cyd@gnu.org>
415 * progmodes/compile.el (compilation-mode-line-fail)
416 (compilation-mode-line-run, compilation-mode-line-exit):
418 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
420 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
422 * progmodes/which-func.el (which-func-update-ediff-windows):
423 New function. Use it in ediff-select-hook (Bug#11478).
425 2012-06-03 Chong Yidong <cyd@gnu.org>
427 * bindings.el: Remove explicit help text from format-mode-line.
428 It is now supplied by mode-line-default-help-echo.
429 (mode-line-front-space, mode-line-end-spaces)
430 (mode-line-misc-info): New variables.
431 (mode-line-modes, mode-line-position): Move the default value to
432 the variable definition.
433 (mode-line-default-help-echo): New defcustom.
434 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
435 (mode-line-modified-help-echo): New functions.
436 (mode-line-mule-info, mode-line-modified): Use them.
437 (mode-line-eol-desc, propertized-buffer-identification):
438 Consistency fixes for help text.
439 (mode-line-coding-system-map): Allow using mouse-3 to invoke
440 set-buffer-file-coding-system (Bug#289).
441 (mode-line-mule-info-help-echo): Update help text.
443 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
445 * simple.el (execute-extended-command): Set real-this-command
448 2012-06-02 Chong Yidong <cyd@gnu.org>
450 Remove incorrect uses of "modeline" in comments, docstrings, and
451 function/variable names (Bug#10329).
453 * cus-edit.el (mode-line):
454 * dframe.el (dframe-mouse-hscroll):
455 * emacs-lisp/re-builder.el:
456 * emacs-lisp/easy-mmode.el (define-minor-mode):
457 * frame.el (set-frame-name):
458 * help.el (lookup-minor-mode-from-indicator):
459 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
460 * progmodes/cc-cmds.el (c-toggle-auto-newline)
461 (c-toggle-hungry-state):
462 * progmodes/antlr-mode.el (antlr-language-alist):
463 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
464 * progmodes/vhdl-mode.el (vhdl-mode):
465 * progmodes/which-func.el (which-func, which-func-cleanup-function):
466 * term/ns-win.el (ns-face-at-pos):
467 * term/sup-mouse.el (sup-mouse-report):
468 * textmodes/flyspell.el (flyspell-mode-line-string):
469 * textmodes/ispell.el (ispell-highlight-face):
470 * textmodes/reftex-global.el:
471 * vc/vc-arch.el (vc-arch-mode-line-string):
472 * vc/vc-cvs.el (vc-cvs-mode-line-string):
473 * vc/vc-git.el (vc-git-mode-line-string):
474 * vc/vc-hooks.el (vc-display-status)
475 (vc-default-mode-line-string):
476 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
478 * ansi-color.el (ansi-color-faces-vector): Change default faces.
480 * dired.el (dired-sort-set-mode-line): Rename from
481 dired-sort-set-modeline. All callers changed.
483 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
484 eshell-status-in-modeline.
486 * foldout.el (foldout-mode-line-string): Rename from
487 foldout-modeline-string. All callers changed.
488 (foldout-update-mode-line): Rename from foldout-update-modeline.
490 * subr.el (redraw-modeline): Make into obsolete alias.
492 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
493 timeclock-modeline-display. Make old name an alias.
494 (timeclock-update-mode-line): Likewise. All callers changed.
495 (timeclock-mode-line-display): No need to check before using
497 (timeclock-relative, timeclock-day-over-hook)
498 (timeclock-use-elapsed, timeclock-mode-string)
499 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
501 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
502 crisp-mode-modeline-string.
504 * play/solitaire.el (solitaire-build-mode-line): Rename from
505 solitaire-build-modeline. All callers changed.
507 * play/zone.el (zone-hiding-mode-line): Rename from
508 zone-hiding-modeline. All callers changed.
509 (zone): Remove unusued `modeline-hidden-level' property.
511 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
512 xscheme-modeline-initialize. All callers changed.
514 * strokes.el (strokes-lighter): Rename from
515 strokes-modeline-string.
517 * textmodes/sgml-mode.el (html-face-tag-alist)
518 (html-tag-face-alist): Use mode-line face instead of obsolete
521 2012-06-02 Stefan Merten <smerten@oekonux.de>
523 * textmodes/rst.el: Always require `cl'.
524 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
526 2012-06-02 Chong Yidong <cyd@gnu.org>
528 * image.el (imagemagick-enabled-types): Rename from
529 imagemagick-types-enable. Add many more types.
530 (imagemagick-types-inhibit): Change default to nil.
531 (imagemagick-filter-types): Caller changed.
533 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
535 * emacs-lisp/cl-macs.el: Use backquotes.
536 (cl-transform-function-property): Use eval-and-compile rather than
538 (defstruct): Use declare-function instead of with-no-warnings.
540 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
541 (byte-compile-output-docform): Re-add the print-circle bindings.
542 (byte-compile-fix-header): Use #$ just because it's shorter.
543 (byte-compile-output-file-form): Remove defun/defmacro.
545 2012-06-01 Martin Rudalics <rudalics@gmx.at>
547 * simple.el (choose-completion): Remove now obsolete binding for
550 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
552 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
553 in order to avoid "Stack overflow in regexp matcher".
555 2012-05-31 Glenn Morris <rgm@gnu.org>
557 * image.el: For clarity, call imagemagick-register-types at
558 top-level, rather than relying on a custom :initialize.
559 (imagemagick-types-enable): New option. (Bug#11557)
560 (imagemagick-filter-types): New function. (Bug#7406)
561 (imagemagick-register-types): Use imagemagick-filter-types.
562 If disabling support, remove elements altogether rather
563 than using an impossible regexp.
564 (imagemagick-types-inhibit): Give it the default init function.
566 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
568 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
569 Handle arbitrary file name lengths (Bug#11585).
571 2012-05-31 Martin Rudalics <rudalics@gmx.at>
573 * desktop.el (desktop-read): Clear previous and next buffers for
574 all windows and bury *Messages* buffer (bug#11556).
576 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
578 Add `declare' for `defun'. Align `defmacro's with it.
579 * emacs-lisp/easy-mmode.el (define-minor-mode)
580 (define-globalized-minor-mode): Don't autoload the var definitions.
581 * emacs-lisp/byte-run.el: Use lexical-binding.
582 (defun-declarations-alist, macro-declarations-alist): New vars.
583 (defmacro, defun): Use them.
584 (make-obsolete, define-obsolete-function-alias)
585 (make-obsolete-variable, define-obsolete-variable-alias):
587 (macro-declaration-function): Mark obsolete.
588 * emacs-lisp/autoload.el: Use lexical-binding.
589 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
591 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
593 * textmodes/ispell.el (ispell-with-no-warnings):
595 (ispell-kill-ispell, ispell-change-dictionary):
596 Use `called-interactively-p' for Emacs instead of obsolete
599 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
601 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
602 (macro-declaration-function): Move var from C code.
603 (macro-declaration-function): Define function with defalias.
604 * emacs-lisp/macroexp.el (macroexpand-all-1):
605 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
606 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
607 defun/defmacro any more.
608 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
609 Provide fallback for unknown arglist.
610 (byte-compile-arglist-warn): Change calling convention.
611 (byte-compile-output-file-form): Move print-vars binding.
612 (byte-compile-output-docform): Simplify accordingly.
613 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
614 (byte-compile-defmacro-declaration): Remove.
615 (byte-compile-file-form-defmumble): Generalize to defalias.
616 (byte-compile-output-as-comment): Return byte-positions.
617 Simplify callers accordingly.
618 (byte-compile-lambda): Use `assert'.
619 (byte-compile-defun, byte-compile-defmacro): Remove.
620 (byte-compile-file-form-defalias):
621 Use byte-compile-file-form-defmumble.
622 (byte-compile-defalias-warn): Remove.
624 2012-05-29 Stefan Merten <smerten@oekonux.de>
626 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
627 possible. Fix authors. Improve comments. Improve loading of `cl'.
629 (rst-mode-abbrev-table): Merge definition.
630 (rst-mode): Make sure `font-lock-defaults' is buffer local.
631 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
633 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
635 * calendar/icalendar.el
636 (icalendar-export-region): Export UID properly.
638 2012-05-29 Leo <sdl.web@gmail.com>
639 * calendar/icalendar.el (icalendar-import-format):
640 Add `icalendar-import-format-uid' (Bug#11525).
641 (icalendar-import-format-uid): New.
642 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
645 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
647 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
648 different alternative patterns.
649 (pcase-codegen): Be more careful to preserve identity.
650 (pcase--u1): Don't forget to mark vars as used.
652 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
653 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
654 (byte-compile-from-buffer): ...rather than here.
656 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
657 functions from byte-compile-function-environment.
659 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
661 * window.el (window-deletable-p): Avoid deleting the root window
662 of a frame with an active minibuffer.
664 2012-05-29 Martin Rudalics <rudalics@gmx.at>
666 * simple.el (choose-completion): Use quit-window (Bug#11567).
668 2012-05-29 Chong Yidong <cyd@gnu.org>
670 * whitespace.el (whitespace-cleanup): Fix usage of
671 whitespace-empty-at-bob-regexp (Bug#11492).
673 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
675 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
678 2012-05-29 Juri Linkov <juri@jurta.org>
680 * isearch.el (isearch-mode-map): Bind `M-s _' to
681 `isearch-toggle-symbol'. Bind `M-s c' to
682 `isearch-toggle-case-fold'.
683 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
684 (isearch-forward): Add `M-s _' to the docstring.
685 (isearch-forward-symbol, isearch-toggle-case-fold)
686 (isearch-symbol-regexp): New functions. (Bug#11381)
688 2012-05-29 Juri Linkov <juri@jurta.org>
690 * isearch.el (isearch-word): Add docstring. (Bug#11381)
691 (isearch-occur, isearch-search-and-update): If `isearch-word' is
692 a function, call it to get the regexp.
693 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
694 property `isearch-message-prefix' instead of the string "word ".
695 (isearch-search-fun-default): For the case of `isearch-word',
696 return a lambda that calls re-search-forward/re-search-backward
697 with a regexp returned by `word-search-regexp' or by the function
700 2012-05-29 Juri Linkov <juri@jurta.org>
702 * isearch.el (isearch-search-fun-default): New function.
703 (isearch-search-fun): Move default part to the new function
704 `isearch-search-fun-default'.
705 (isearch-search-fun-function): Set the default value to
706 `isearch-search-fun-default'. (Bug#11381)
708 * comint.el (comint-history-isearch-end):
709 Use `isearch-search-fun-default'.
710 (comint-history-isearch-search): Use `isearch-search-fun-default'
711 and remove spacial case for `isearch-word'.
712 (comint-history-isearch-wrap): Remove spacial case for
715 * hexl.el (hexl-isearch-search-function):
716 Use `isearch-search-fun-default'.
718 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
719 Use `word-search-regexp' for `isearch-word'.
721 * misearch.el (multi-isearch-search-fun):
722 Use `isearch-search-fun-default'.
724 * simple.el (minibuffer-history-isearch-search):
725 Use `isearch-search-fun-default' and remove spacial case for
727 (minibuffer-history-isearch-wrap): Remove spacial case for
730 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
731 Remove spacial case for `isearch-word'.
732 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
734 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
736 Decrease XEmacs incompatibilities.
737 * textmodes/flyspell.el (flyspell-check-pre-word-p):
739 (flyspell-delete-region-overlays): Use alternative definition for
741 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
742 (flyspell-word): Use `process-kill-without-query' if XEmacs.
743 (flyspell-mode-on): Use `interactive-p' if XEmacs.
744 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
745 `define-obsolete-face-alias' under XEmacs, but old method.
747 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
748 `with-no-warnings' definition or Emacs alias.
749 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
750 (ispell-word): Do not use `region-p' if XEmacs.
752 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
754 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
755 Check for `ispell-dictionary-base-alist' instead of full
756 `ispell-dictionary-alist'.
757 (ispell-init-process): Show spellchecker when starting new Ispell
760 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
762 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
763 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
765 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
767 * version.el (motif-version-string, gtk-version-string)
768 (ns-version-string): Declare.
770 2012-05-27 Juri Linkov <juri@jurta.org>
772 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
773 after the `eval-defun-1' specialcaseing
774 like in `edebug-eval-defun' (bug#10181).
776 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
777 like in `eval-defun-1'.
779 2012-05-27 Eli Zaretskii <eliz@gnu.org>
781 * mail/sendmail.el (mail-yank-region):
782 Recognize rmail-yank-current-message in addition to insert-buffer.
783 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
784 a *mail* buffer created through rmail-start-mail with sendmail as
787 2012-05-27 Chong Yidong <cyd@gnu.org>
789 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
790 Default to 256 (Bug#11267).
792 * help.el (describe-mode): Doc fix.
794 2012-05-26 Glenn Morris <rgm@gnu.org>
796 * w32-fns.el (w32-init-info): Remove.
797 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
799 * info.el (info-initialize): For self-contained NS builds, put the
800 included info/ directory at the front. (Bug#2791)
802 * paths.el (Info-default-directory-list): Make it a defcustom,
803 mainly so that we can use custom-initialize-delay.
805 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
807 * subr.el (buffer-has-markers-at): Mark obsolete.
809 * subr.el (lambda): Use declare.
811 * emacs-lisp/lisp-mode.el (lambda):
812 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
814 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
816 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
818 2012-05-26 Glenn Morris <rgm@gnu.org>
820 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
822 2012-05-25 Glenn Morris <rgm@gnu.org>
824 * paths.el: Remove no-byte-compile.
825 * loadup.el: No need to load paths.el uncompiled.
827 * image.el (imagemagick-types-inhibit): Doc fix.
829 * version.el: Remove no-byte-compile and associated formatting.
830 * loadup.el: No need to load version.el uncompiled. AFAICS, this
831 is ancient code from when there was an "inc-vers.el".
833 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
835 * progmodes/gdb-mi.el: Minor style changes.
836 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
837 Turn into minor modes.
838 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
839 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
840 (gdb-shell): Remove unneeded let-binding.
841 (gdb-get-many-fields): Eliminate O(n²) behavior.
843 2012-05-25 Eli Zaretskii <eliz@gnu.org>
845 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
846 platforms that don't link in fontset.c.
848 2012-05-25 Juri Linkov <juri@jurta.org>
850 Use the same diff color scheme as in modern VCSes (bug#10181).
852 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
853 to avoid confusion with `diff-added' that now uses green colors.
854 (diff-removed): Use shades of red.
855 (diff-added): Use shades of green.
856 (diff-changed): Leave just the yellow color.
857 (diff-use-changed-face): New variable.
858 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
859 how to highlight context diff changes.
860 (diff-refine-change): Use shades of yellow.
861 (diff-refine-removed): New face that uses shades of red.
862 (diff-refine-added): New face that uses shades of green.
863 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
864 `diff-refine-removed' in the call to `smerge-refine-subst'
865 depending on the value of `diff-use-changed-face'.
867 * vc/smerge-mode.el (smerge-mine): Use shades of red.
868 (smerge-other): Use shades of green.
869 (smerge-base): Use shades of yellow.
870 (smerge-refined-change): Empty face.
871 (smerge-refined-removed): New face that uses shades of red.
872 (smerge-refined-added): New face that uses shades of green.
873 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
874 args `props-r' and `props-a', and use them. Doc fix.
875 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
876 on its value use different faces `smerge-refined-change',
877 `smerge-refined-removed', `smerge-refined-added' in the call to
878 `smerge-refine-subst'.
880 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
881 Add face condition `min-colors 88' with shades of red.
882 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
883 `min-colors 88' with shades of green.
884 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
885 `min-colors 88' with shades of yellow.
887 2012-05-24 Glenn Morris <rgm@gnu.org>
889 * paths.el (prune-directory-list, remote-shell-program): Move to...
890 * files.el (prune-directory-list, remote-shell-program): ...here.
891 For the latter, delay initialization, prefer ssh, just search PATH.
893 * paths.el (term-file-prefix): Move to faces.el (the only user).
894 * faces.el (term-file-prefix): Move here, make it a defcustom.
896 * paths.el (news-directory, news-path, news-inews-program):
897 Move to gnus/nnspool.el.
899 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
901 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
902 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
903 Make the latter a defcustom, with a delayed initialization.
905 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
906 These were deleted from Gnus itself late 2010.
908 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
910 * progmodes/which-func.el (which-func-ff-hook):
911 Check against user-error, not error.
913 * emacs-lisp/edebug.el (top): Do not load or set up loading of
914 cl-specs.el, which no longer exists.
916 2012-05-22 Glenn Morris <rgm@gnu.org>
918 * info.el (info-emacs-bug): New command.
919 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
920 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
922 2012-05-21 Glenn Morris <rgm@gnu.org>
924 * makefile.w32-in (update-subdirs-SH):
925 * Makefile.in (update-subdirs): Update for moved update-subdirs.
927 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
929 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
932 Simplify Maven regexp, and make sure the file can't start with a space
935 2012-05-21 Glenn Morris <rgm@gnu.org>
937 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
938 Scrap superfluous subshells.
940 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
942 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
943 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
945 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
947 * calc/calc.el (calc-ensure-consistent-units): New variable.
949 * calc/calc-units.el (math-consistent-units-p)
950 (math-check-unit-consistency): New functions.
951 (calc-quick-units, calc-convert-units):
952 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
954 (calc-extract-units): Fix typo.
956 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
958 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
960 * textmodes/flyspell.el: Commenting style, plus code simplifications.
961 (flyspell-default-deplacement-commands): Don't spell check after
962 repeated window/frame switches (e.g. triggered by mouse-movement).
963 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
964 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
965 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
966 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
968 (flyspell-get-casechars, flyspell-get-not-casechars):
969 Simplify; Don't bother removing a ] just to add it back.
970 * textmodes/ispell.el (ispell-program-name): Use executable-find.
972 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
974 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
976 (math-function-table): Add support for more C functions.
978 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
980 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
981 (flyspell-debug-signal-word-checked): Protect delay handling for
982 otherchars against empty otherchars.
984 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
986 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
987 their respective macro declarations.
988 * skeleton.el (define-skeleton):
989 * progmodes/compile.el (define-compilation-mode):
990 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
991 (define-ibuffer-filter):
992 * emacs-lisp/generic.el (define-generic-mode):
993 * emacs-lisp/easy-mmode.el (define-minor-mode)
994 (define-globalized-minor-mode):
995 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
996 * emacs-lisp/byte-run.el (defsubst):
997 * custom.el (deftheme): Add doc-string metadata.
999 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1001 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1003 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1005 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1007 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1008 * emacs-lisp/cl-macs.el: Idem.
1009 * emacs-lisp/cl-specs.el: Remove.
1011 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1013 Minor renaming of internal CL functions and variables.
1014 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1015 (cl--position): Rename from cl-position.
1016 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1017 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1018 (cl--random-state): Rename from *random-state*.
1020 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1023 parens around the arg list (bug#11499).
1025 2012-05-17 Juri Linkov <juri@jurta.org>
1027 * isearch.el (word-search-regexp, word-search-backward)
1028 (word-search-forward, word-search-backward-lax)
1029 (word-search-forward-lax): Move functions from search.c
1030 (bug#10145, bug#11381).
1032 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1034 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1035 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1036 normal word components.
1038 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * minibuffer.el (completion--sifn-requote): Fix last change.
1041 (minibuffer-local-must-match-filename-map):
1042 Move define-obsolete-variable-alias before its var.
1044 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1048 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1050 (completion--string-equal-p): New function.
1051 (completion--twq-all): Use it to get better assertion failure data.
1053 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1054 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1055 (shell--requote-argument): New functions.
1056 (shell-completion-vars): Use them.
1057 (shell--parse-pcomplete-arguments): Rename from
1058 shell-parse-pcomplete-arguments.
1059 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1060 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1061 Obey comint-file-name-quote-list.
1063 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1064 (smie-indent-keyword): Use it.
1066 2012-05-14 Stefan Merten <smerten@oekonux.de>
1068 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1070 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * net/rlogin.el (rlogin-mode-map): Fix last change.
1074 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1076 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1077 the following \r\n using a single `process-send-string', since the
1078 Lotus SMTP server refuses to accept any commands if they are sent
1079 with two `process-send-string's (Bug#11444).
1081 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * shell.el (shell-parse-pcomplete-arguments):
1084 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1086 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1088 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1089 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1090 (image-transform-width, image-transform-fit-width): New functions.
1091 (image-transform-properties): Use them.
1092 (image-transform-check-size): New function.
1093 (image-toggle-display-image): Use it (for testing).
1094 (image-transform-set-rotation): Reduce angle mod 360.
1095 Delete obsolete comment.
1097 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1099 * image-mode.el: Fix scaling (bug#11399).
1100 (image-transform-resize): Doc fix.
1101 (image-transform-properties): Default scale is 1 and height should
1104 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
1106 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1107 than hard-coding `car', to fix misbehavior when moving forward.
1109 2012-05-13 Chong Yidong <cyd@gnu.org>
1111 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1112 (tabulated-list-entries, tabulated-list-padding)
1113 (tabulated-list-sort-key): Make permanent-local.
1115 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1116 (electric-buffer-list): Put electric buffer menu
1117 command descriptions in this docstring, instead of the docstring
1118 of electric-buffer-menu-mode. Code cleanups.
1119 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1120 Electric-buffer-menu-mode.
1121 (electric-buffer-update-highlight): Minor code cleanup.
1123 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1125 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1128 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1130 Move define-obsolete-variable-alias before the var's definition.
1131 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1132 * tooltip.el (tooltip-hook):
1133 * textmodes/reftex-toc.el (reftex-toc-map):
1134 * textmodes/reftex-sel.el (reftex-select-label-map)
1135 (reftex-select-bib-map):
1136 * textmodes/reftex-index.el (reftex-index-map)
1137 (reftex-index-phrases-map):
1138 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1139 * progmodes/meta-mode.el (meta-mode-map):
1140 * novice.el (disabled-command-hook):
1141 * loadhist.el (unload-hook-features-list):
1142 * frame.el (blink-cursor):
1143 * files.el (find-file-not-found-hooks, write-file-hooks)
1144 (write-contents-hooks):
1145 * emulation/tpu-edt.el (GOLD-map):
1146 * emacs-lock.el (emacs-lock-from-exiting):
1147 * emacs-lisp/generic.el (generic-font-lock-defaults):
1148 * emacs-lisp/chart.el (chart-map):
1149 * dos-fns.el (register-name-alist):
1150 * dired-x.el (dired-omit-files-p):
1151 * desktop.el (desktop-enable):
1152 * cus-edit.el (custom-mode-hook):
1153 * buff-menu.el (buffer-menu-mode-hook):
1154 * bookmark.el (bookmark-read-annotation-text-func)
1155 (bookmark-exit-hooks):
1156 * allout.el (allout-mode-deactivate-hook)
1157 (allout-exposure-change-hook, allout-structure-added-hook)
1158 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1159 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1160 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1161 comes before the corresponding variable's definition.
1163 2012-05-12 Chong Yidong <cyd@gnu.org>
1165 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1166 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1167 (Buffer-menu-mode-map): Bind it.
1168 (Buffer-menu--pretty-name): Add a mouse-face property.
1170 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1173 (prolog-upper-case-string, prolog-lower-case-string)
1174 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1175 (prolog-use-smie, prolog-smie-grammar): New vars.
1176 (prolog-smie-forward-token, prolog-smie-backward-token)
1177 (prolog-smie-rules): New funs.
1178 (prolog-comment-indent): Remove.
1179 (prolog-mode-variables): Use default comment indentation instead.
1181 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1182 (prolog-mode): Don't call them any more.
1183 (prolog-electric-colon, prolog-electric-dash)
1184 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1186 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1188 * minibuffer.el (completion--twq-all): Again, allow case differences.
1190 * term.el: Move keymap initialization code to be more idiomatic.
1191 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1192 (term-terminal-menu): Move initialization into declaration.
1193 (term-escape-char): Let the user set it in her .emacs.
1195 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1196 Provide SMIE-based indentation (not enabled by default yet).
1197 (sh-mode-map): Don't bind electric keys.
1198 Use electric-pair-mode instead of skeleton-pair.
1199 (sh-assignment-regexp): Fit within 80 columns.
1200 (sh-indent-supported): Specify actual shell name instead of boolean.
1201 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1202 (sh-maybe-here-document): Use it. Make obsolete.
1203 (sh-electric-here-document-mode) New minor mode.
1204 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1205 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1206 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1207 (sh-smie-rc-grammar, sh-use-smie): New vars.
1208 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1209 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1210 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1211 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1212 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1213 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1214 (sh-set-shell): Use smie-setup if requested.
1216 * term.el (term-set-escape-char): Properly set term-escape-char.
1217 See http://stackoverflow.com/questions/10524656.
1219 2012-05-10 Chong Yidong <cyd@gnu.org>
1221 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1222 Use url-generic-parse-url, and handle host names and Windows
1224 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1225 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1226 URL schemes to work on.
1227 (ffap--toggle-read-only): New function.
1228 (ffap-read-only, ffap-read-only-other-window)
1229 (ffap-read-only-other-frame): Use it.
1230 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1231 necessary for ffap-url-unwrap-remote.
1233 2012-05-10 Dave Abrahams <dave@boostpro.com>
1235 * cus-start.el (create-lockfiles): Add it.
1237 2012-05-09 Chong Yidong <cyd@gnu.org>
1239 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1240 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1242 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1246 2012-05-09 Chong Yidong <cyd@gnu.org>
1248 * ansi-color.el (ansi-color-process-output): Check for validity of
1249 comint-last-output-start before using it. This avoids a bad
1250 interaction with gdb-mi's input/output buffer.
1252 2012-05-09 Glenn Morris <rgm@gnu.org>
1254 * files.el (dir-locals-read-from-file):
1255 Mention dir-locals in any error message.
1257 2012-05-09 Chong Yidong <cyd@gnu.org>
1259 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1260 package (Bug#11410).
1262 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1263 variables into description.
1265 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1268 shell-delimiter-argument-list (bug#11348).
1269 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1271 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1273 * textmodes/rst.el: Silence byte-compiler warnings.
1274 (rst-re-alist, rst-reset-section-caches): Move around.
1275 (rst-re): Use `characterp', not `char-valid-p'.
1276 (font-lock-beg, font-lock-end): Declare.
1278 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1279 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1281 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1283 2012-05-08 Glenn Morris <rgm@gnu.org>
1285 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1287 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * vc/log-edit.el: Add GNU coding standards highlighting.
1290 (log-edit-font-lock-gnu-style)
1291 (log-edit-font-lock-gnu-keywords): New vars.
1292 (log-edit-font-lock-keywords): New fun.
1293 (log-edit-mode): Don't fold case in font-lock.
1294 (log-edit-font-lock-keywords): Do not assume case-folding.
1296 * imenu.el: Misc cleanup. Make docstrings out of comments.
1297 Use lexical-binding.
1298 (imenu--index-alist, imenu--last-menubar-index-alist)
1299 (imenu-menubar-modified-tick): Use defvar-local.
1300 (imenu--split-menu): Remove unused var.
1301 (imenu--cleanup-seen): Declare as global.
1302 (imenu--cleanup): Use dolist.
1304 * subr.el (defvar-local): Add debug spec and doc-string position.
1306 2012-05-08 Glenn Morris <rgm@gnu.org>
1308 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1309 * language/english.el, language/georgian.el, language/greek.el:
1310 * language/japanese.el, language/khmer.el, language/korean.el:
1311 * language/lao.el, language/misc-lang.el, language/romanian.el:
1312 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1313 * language/thai.el, language/utf-8-lang.el:
1314 Remove no-byte-compile setting.
1316 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1318 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1320 * progmodes/make-mode.el (makefile-browse):
1321 Remove unnecessary interactive. (Bug#11324)
1323 2012-05-07 Glenn Morris <rgm@gnu.org>
1325 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1327 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1329 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * loadup.el: Preload newcomment.el.
1332 * newcomment.el: Move autoload-only code to toplevel.
1334 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1335 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1336 Handle new :right-align column property.
1337 (tabulated-list-print-col): Idem, plus use `display' text-property to
1338 try and preserve alignment for variable pitch fonts.
1340 2012-05-07 Chong Yidong <cyd@gnu.org>
1342 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1343 (tabulated-list-use-header-line): New var.
1344 (tabulated-list-init-header): Use it.
1345 (tabulated-list-print-fake-header): New function.
1346 (tabulated-list-print): Use it.
1347 (tabulated-list-sort-button-map): Add non-header-line commands.
1348 (tabulated-list-init-header): Add column name property to basic
1350 (tabulated-list-col-sort): Handle non-header-line button case.
1351 (tabulated-list--sort-by-column-name): Fix a corner case.
1353 * buff-menu.el (list-buffers--refresh):
1354 Handle Buffer-menu-use-header-line.
1356 2012-05-06 Chong Yidong <cyd@gnu.org>
1358 * buff-menu.el: Convert to Tabulated List mode.
1359 (Buffer-menu-buffer+size-width): Make obsolete.
1360 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1361 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1362 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1363 documentation into docstring of buffer-menu.
1364 (Buffer-menu-toggle-files-only): Add an informative message.
1365 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1366 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1367 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1368 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1369 (Buffer-menu-execute, Buffer-menu-select)
1370 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1371 (Buffer-menu-bury): Use Tabulated List machinery.
1372 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1373 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1375 (list-buffers--refresh): New function.
1376 (list-buffers-noselect): Use it.
1377 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1378 (Buffer-menu--pretty-file-name): New helper functions.
1380 * loadup.el: Preload tabulated-list.
1382 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1383 tabulated-list-sort-column.
1384 (tabulated-list-init-header): Add the initial aligning space even
1385 if tabulated-list-padding is zero.
1387 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1389 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1390 whose cdr is not a cons cell correctly (bug#11038).
1392 2012-05-06 Chong Yidong <cyd@gnu.org>
1394 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1395 Accept additional plist in column descriptors.
1396 (tabulated-list-init-header): Obey it.
1397 (tabulated-list-get-entry): New function.
1398 (tabulated-list-put-tag): Use it. Use string-width instead of
1400 (tabulated-list--column-number): New function.
1401 (tabulated-list-print): Use it.
1402 (tabulated-list-print-col): New function.
1403 Set `tabulated-list-column-name' property on each column's text.
1404 (tabulated-list-print-entry): Use it.
1405 (tabulated-list-delete-entry, tabulated-list-set-col):
1407 (tabulated-list-sort-column): New command (Bug#11337).
1409 * buff-menu.el (list-buffers): Move C-x C-b binding from
1410 buff-menu.el to bindings.el.
1412 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1413 :advertised-binding feature.
1415 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1417 * progmodes/compile.el (compilation-internal-error-properties):
1418 Calculate start position correctly when end-col is set but
1419 end-line is not (Bug#11382).
1421 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1423 * man.el (Man-unindent): Use text-property-default-nonsticky to
1424 prevent untabify from inheriting face properties (Bug#11408).
1426 2012-05-05 Stefan Merten <smerten@oekonux.de>
1428 * textmodes/rst.el: Major merge with upstream development up to
1429 Docutils SVN r7399 / rst.el V1.2.1.
1431 Clarify maintainership and authors.
1433 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1434 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1435 (rst-official-version, rst-official-cvs-rev, rst-version)
1436 (rst-package-emacs-version-alist): New functions and variables
1437 for version information.
1439 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1440 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1441 (rst-mode-syntax-table, rst-mode): New and corrected functions
1442 and variables representing reStructuredText features.
1444 (rst-re): New function for reStructuredText regexes. Use in
1447 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1448 (rst-mode-map): Rebind keys.
1450 (rst-mode-lazy, rst-font-lock-keywords)
1451 (rst-font-lock-extend-region)
1452 (rst-font-lock-extend-region-internal)
1453 (rst-font-lock-extend-region-extend)
1454 (rst-font-lock-find-unindented-line-limit)
1455 (rst-font-lock-find-unindented-line-match)
1456 (rst-adornment-level, rst-font-lock-adornment-level)
1457 (rst-font-lock-adornment-match)
1458 (rst-font-lock-handle-adornment-pre-match-form)
1459 (rst-font-lock-handle-adornment-matcher): Major revision of
1460 font-locking. Integrate with other code. Use `jit-lock-mode'.
1462 (rst-preferred-adornments, rst-adjust-hook)
1463 (rst-new-adornment-down, rst-preferred-bullets)
1464 (rst-preferred-bullets, rst-indent, rst-indent-width)
1465 (rst-indent-field, rst-indent-literal-normal)
1466 (rst-indent-literal-minimized, rst-indent-comment): Change,
1467 extend and improve customization.
1469 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1470 (rst-normalize-cursor-position, rst-get-decoration)
1471 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1472 (rst-rstrip, rst-toc-insert-find-delete-contents)
1473 (rst-shift-fill-region, rst-compute-bullet-tabs)
1474 (rst-debug-print-tabs, rst-debug-mark-found)
1475 (rst-shift-region-guts, rst-shift-region-right)
1476 (rst-shift-region-left, rst-use-char-classes)
1477 (rst-font-lock-keywords-function)
1478 (rst-font-lock-indentation-point)
1479 (rst-font-lock-find-unindented-line-begin)
1480 (rst-font-lock-find-unindented-line-end)
1481 (rst-font-lock-find-unindented-line)
1482 (rst-font-lock-adornment-point, rst-font-lock-level)
1483 (rst-adornment-level-alist): Remove functions and variables.
1485 (rst-compare-adornments, rst-get-adornment-match)
1486 (rst-suggest-new-adornment, rst-get-adornments-around)
1487 (rst-adornment-complete-p, rst-get-next-adornment)
1488 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1489 (rst-straighten-adornments): Standardize function names to
1490 use "adornment" instead of "decoration". Correct callers.
1491 Similar standardizing in many places.
1493 (rst-update-section, rst-adjust, rst-promote-region)
1494 (rst-enumerate-region, rst-bullet-list-region)
1495 (rst-repeat-last-character): Correct use of `interactive'.
1497 (rst-classify-adornment, rst-find-all-adornments)
1498 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1499 (rst-find-leftmost-column, rst-repeat-last-character):
1502 (rst-find-title-line, rst-reset-section-caches)
1503 (rst-get-adornments-around, rst-adjust-adornment-work)
1504 (rst-arabic-to-roman, rst-roman-to-arabic)
1505 (rst-insert-list-pos, rst-insert-list-new-item)
1506 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1509 (rst-all-sections, rst-section-hierarchy)
1510 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1513 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1514 configuration instead of only buffer. Change where necessary.
1516 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1517 (rst-shift-region, rst-adaptive-fill): New functions for
1518 indentation and filling.
1520 (rst-comment-line-break, rst-comment-indent)
1521 (rst-comment-insert-comment, rst-comment-region)
1522 (rst-uncomment-region): New functions for handling comments.
1524 (rst-compile): Quote shell arguments.
1526 (rst-compile-pdf-preview, rst-compile-slides-preview):
1527 Delete temporary files after use.
1529 2012-05-05 Glenn Morris <rgm@gnu.org>
1531 * calendar/cal-html.el: Optionally include holidays in the output.
1532 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1533 (cal-html-holidays): New option.
1534 (cal-html-css-default): Add holiday entry.
1535 (holiday-in-range): Autoload it.
1536 (cal-html-htmlify-entry): Add optional class argument.
1537 (cal-html-htmlify-list): Add optional holidays argument.
1538 (cal-html-insert-agenda-days): Include holidays in the output.
1539 (cal-html-one-month): Maybe include holidays.
1541 * calendar/holidays.el (holiday-in-range):
1542 Move here from cal-tex-list-holidays.
1543 * calendar/cal-tex.el (cal-tex-list-holidays):
1544 Make it an obsolete alias for holiday-in-range. Update all callers.
1546 2012-05-05 Chong Yidong <cyd@gnu.org>
1548 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1551 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1553 * files.el (file-auto-mode-skip): New var.
1554 (set-auto-mode-1): Use it.
1556 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * repeat.el: Use lexical-binding.
1559 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1560 (repeat-undo-count): Remove.
1562 * progmodes/octave-mod.el (octave-abbrev-start):
1563 * progmodes/f90.el (f90-abbrev-start):
1564 * face-remap.el (text-scale-adjust):
1565 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1567 * emacs-lisp/pcase.el (pcase--let*): New function.
1568 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1570 (pcase--split-pred): Be more clever about ruling out overlap between
1571 a predicate and some constant pattern.
1572 (pcase--q1): Use `null' instead of (eq foo nil).
1574 * subr.el (setq-local, defvar-local): New macros.
1575 (kbd): Redefine as an alias.
1576 (with-selected-window): Leave unrelated frames alone.
1577 (set-temporary-overlay-map): New function.
1579 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * subr.el (user-error): New function.
1582 * window.el (switch-to-buffer):
1583 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1584 (smerge-match-conflict):
1585 * simple.el (previous-matching-history-element)
1586 (next-matching-history-element, goto-history-element, undo-more)
1588 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1589 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1590 (next-file, tags-loop-scan, list-tags, complete-tag):
1591 * progmodes/compile.el (compilation-loop):
1592 * mouse.el (mouse-minibuffer-check):
1593 * man.el (Man-bgproc-sentinel, Man-goto-page):
1594 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1595 (Info-history-forward, Info-follow-reference, Info-menu)
1596 (Info-extract-menu-item, Info-extract-menu-counting)
1597 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1598 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1599 (Info-next-reference, Info-prev-reference, Info-index)
1600 (Info-index-next, Info-follow-nearest-node)
1601 (Info-copy-current-node-name):
1602 * imenu.el (imenu--make-index-alist)
1603 (imenu-default-create-index-function, imenu-add-to-menubar):
1604 * files.el (basic-save-buffer, recover-file):
1605 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1606 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1607 (checkdoc-message-text, checkdoc-defun):
1608 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1609 * cus-edit.el (customize-changed-options, customize-rogue)
1610 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1611 (custom-variable-mark-to-reset-standard)
1612 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1614 * completion.el (check-completion-length):
1615 * comint.el (comint-search-arg)
1616 (comint-previous-matching-input-string-position)
1617 (comint-previous-matching-input)
1618 (comint-replace-by-expanded-history-before-point, comint-send-input)
1619 (comint-copy-old-input, comint-backward-matching-input)
1620 (comint-goto-process-mark, comint-set-process-mark):
1621 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1622 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1624 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * dabbrev.el (dabbrev--ignore-case-p): New function.
1627 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1630 * files.el (automount-dir-prefix): Mark as obsolete.
1632 2012-05-04 Glenn Morris <rgm@gnu.org>
1634 * patcomp.el, play/bruce.el: Move to obsolete/.
1636 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1638 Fix minor Y10k bugs.
1639 * arc-mode.el (archive-unixdate):
1640 * autoinsert.el (auto-insert-alist):
1641 * calc/calc-forms.el (math-this-year):
1642 * emacs-lisp/copyright.el (copyright-current-year)
1643 (copyright-update-year, copyright):
1644 * tar-mode.el (tar-clip-time-string):
1645 * time.el (display-time-update):
1646 Don't assume years have 4 digits.
1648 2012-05-04 Chong Yidong <cyd@gnu.org>
1650 * dos-w32.el (file-name-buffer-file-type-alist)
1651 (direct-print-region-use-command-dot-com):
1652 * ffap.el (ffap-menu-regexp):
1653 * find-file.el (ff-special-constructs):
1654 * follow.el (follow-debug):
1655 * forms.el (forms--debug):
1656 * iswitchb.el (iswitchb-all-frames):
1657 * ido.el (ido-all-frames):
1658 * emacs-lisp/timer.el (timer-max-repeats):
1659 * mail/feedmail.el (feedmail-mail-send-hook)
1660 (feedmail-mail-send-hook-queued):
1661 * mail/footnote.el (footnote-signature-separator):
1662 * mail/mailabbrev.el (mail-alias-separator-string)
1663 (mail-abbrev-mode-regexp):
1664 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1665 * progmodes/idlwave.el (idlwave-libinfo-file)
1666 (idlwave-default-completion-case-is-down)
1667 (idlwave-library-routines): Convert defvars to defcustoms.
1669 * mail/rmail.el (rmail-decode-mime-charset):
1670 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1671 (idlwave-shell-fix-inserted-breaks)
1672 (idlwave-shell-activate-alt-keybindings)
1673 (idlwave-shell-use-breakpoint-glyph):
1674 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1676 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1680 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1682 * progmodes/verilog-mode.el (font-lock-keywords):
1683 Fix mis-highligting auto. Reported by Craig Barner.
1684 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1685 defines from global name space. Reported by Dan Dever.
1686 (verilog-auto-reset, verilog-auto-reset-widths)
1687 (verilog-auto-tieoff): Support using unbased numbers for
1688 AUTORESET and AUTOTIEOFF.
1689 (verilog-submit-bug-report): Update variable list.
1690 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1691 parenthesis from not matching. Reported by Michael Rytting.
1692 (verilog-auto-template-lint): Fix hash error when linting modules
1693 with no used templates.
1694 (verilog-warn, verilog-warn-error)
1695 (verilog-warn-fatal): When non-interactive report multiple
1696 warnings before exiting. Suggested by Brad Dobbie.
1697 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1698 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1699 to report unused template errors. Reported by Brad Dobbie.
1700 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1701 nets, bug438. Reported by Vns Blore.
1702 (verilog-auto-inout-module, verilog-auto-reg)
1703 (verilog-read-decls, verilog-read-sub-decls-sig)
1704 (verilog-signals-edit-wire-reg, verilog-signals-with):
1705 Fix passing of Verilog data types in ANSI input/output ports
1706 such as "output logic" into the AUTOs. Special case "wire" and
1707 "reg" for backwards compatibility presuming Verilog 2001.
1708 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1709 (verilog-preprocess): Fix replication of preprocess output.
1710 Reported by Brad Dobbie.
1711 (verilog-auto-inst-interfaced-ports):
1712 Create verilog-auto-inst-interfaced-ports, bug429.
1713 Reported by Julian Gorfajn.
1714 (verilog-after-save-font-hook)
1715 (verilog-before-save-font-hook): New variable.
1716 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1717 (verilog-save-font-mods): Wrap disabling fontification, reported
1719 (verilog-do-indent, verilog-pretty-declarations-auto)
1720 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1721 Reported by Pierre-David Pfister.
1722 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1723 of class declarations, bug292. Reported by Kevin Heilman.
1724 (verilog-read-decls): Fix 'parameter type' not appearing in
1725 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1726 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1727 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1728 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1729 Reported by David Kravitz.
1731 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1733 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1734 assignment with tests in ifs and for loops.
1735 (verilog-extended-complete-re, verilog-complete-reg): Change so
1736 that DPI inport functions don't look like fuction declarations.
1737 (verilog-pretty-expr): Don't line up assignment
1738 operations to the test and increment in if and for loops
1739 (verilog-extended-complete-re, verilog-complete-reg): Change so
1740 that DPI inport functions don't look like fuction declarations
1742 2012-05-03 Kenichi Handa <handa@m17n.org>
1744 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1745 decoding, and show a warning message without signaling an error
1748 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1750 * emacs-lisp/bytecomp.el
1751 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1752 since cconv.el might have introduced :fun-body, internal-make-closure,
1753 and friends for bytecomp to handle (bug#11391).
1754 * custom.el (defcustom): Avoid ((λ ..) ..).
1756 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1760 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1762 * notifications.el (dbus-debug):
1763 * term/linux.el (gpm-mouse-enable):
1764 * term/screen.el (xterm-register-default-colors): Declare.
1766 2012-05-02 Chong Yidong <cyd@gnu.org>
1768 * cus-start.el (gc-cons-percentage, exec-suffixes)
1769 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1770 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1771 (make-cursor-line-fully-visible, void-text-area-pointer)
1772 (font-list-limit): Add customization data.
1774 * allout.el (allout-exposure-change-functions)
1775 (allout-structure-added-functions)
1776 (allout-structure-deleted-functions)
1777 (allout-structure-shifted-functions): Rename abnormal hooks from
1778 *-hook, and convert to defcustoms.
1779 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1780 Convert to defcustoms.
1781 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1783 * allout-widgets.el: Hook callers changed.
1785 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1787 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1788 the yanked message in preference to the default value of
1789 buffer-file-coding-system.
1791 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1793 * window.el (display-buffer--action-function-custom-type):
1796 2012-05-02 Alan Mackenzie <acm@muc.de>
1798 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1800 2012-05-01 Glenn Morris <rgm@gnu.org>
1802 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1804 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1806 * cus-edit.el (custom-variable-documentation): Simplify with format.
1808 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1809 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * simple.el (suggest-key-bindings, execute-extended-command):
1812 Move from keyboard.c.
1814 2012-05-01 Chong Yidong <cyd@gnu.org>
1816 * follow.el: Eliminate advice.
1817 (set-process-filter, process-filter, sit-for): Advice deleted.
1818 (follow-mode-off-hook): Obsolete hook removed.
1819 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1821 (follow-auto): Use a :set function.
1822 (follow-mode): Rewritten. Don't advise process filters.
1823 (follow-switch-to-current-buffer-all, follow-scroll-up)
1824 (follow-scroll-down): Assume follow-mode is bound.
1825 (follow-comint-scroll-to-bottom)
1826 (follow-align-compilation-windows): New functions.
1827 (follow--window-sorter): New function.
1828 (follow-all-followers): Use it to explicitly sort windows by their
1829 positions; don't make assumptions about next-window order.
1830 (follow-windows-start-end, follow-delete-other-windows-and-split)
1831 (follow-calc-win-start): Doc fix.
1832 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1833 vertical-motion unnecessarily.
1834 (follow-adjust-window): New function.
1835 (follow-post-command-hook): Use it.
1836 (follow-call-set-process-filter, follow-call-process-filter)
1837 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1838 (follow-stop-intercept-process-output, follow-generic-filter):
1840 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1841 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1842 New functions, replacing advice on scroll-bar-* commands.
1843 (follow-mwheel-scroll): New function (Bug#4112).
1845 * comint.el (comint-adjust-point): New function.
1846 (comint-postoutput-scroll-to-bottom): Use it.
1847 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1849 2012-05-01 Glenn Morris <rgm@gnu.org>
1851 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1852 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1853 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1854 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1855 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1856 Remove no-byte-compile setting.
1858 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1860 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1861 all-completions code to not return a number in the last cdr.
1863 2012-04-30 Leo Liu <sdl.web@gmail.com>
1865 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1868 2012-04-29 Chong Yidong <cyd@gnu.org>
1870 * follow.el (follow-calc-win-end): Rewrite to handle partial
1871 screen lines correctly (Bug#8390).
1872 (follow-avoid-tail-recenter): Minor cleanup.
1874 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1876 Avoid the obsolete `assoc' package.
1877 * speedbar.el (speedbar-refresh): Avoid adelete.
1878 (speedbar-file-lists): Simplify and avoid aput.
1879 * man.el (Man--sections, Man--refpages): New vars, replacing
1880 Man-sections-alist and Man-refpages-alist.
1881 (Man-build-section-alist, Man-build-references-alist):
1882 Use them; avoid aput.
1883 (Man--last-section, Man--last-refpage): New vars.
1884 (Man-follow-manual-reference): Use them.
1885 Use the `default' arg of completing-read.
1886 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1888 2012-04-27 Chong Yidong <cyd@gnu.org>
1890 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1892 * startup.el (x-apply-session-resources): New function.
1894 * term/ns-win.el (ns-initialize-window-system):
1895 * term/w32-win.el (w32-initialize-window-system):
1896 * term/x-win.el (x-initialize-window-system): Use it to properly
1897 set menu-bar-mode and other vars from X resources, even if the
1898 initial frame is not a window-system frame (Bug#2299).
1900 * subr.el (read-key): Avoid running filter function when setting
1901 up temporary tool bar entries (Bug#9922).
1903 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1905 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1908 2012-04-27 Chong Yidong <cyd@gnu.org>
1910 * select.el (xselect--encode-string): New function, split from
1911 xselect-convert-to-string.
1912 (xselect-convert-to-string): Use it.
1913 (xselect-convert-to-filename, xselect-convert-to-os)
1914 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1915 returned strings are properly encoded (Bug#11315).
1917 2012-04-27 Chong Yidong <cyd@gnu.org>
1919 * simple.el (delete-active-region): Move to killing custom group.
1921 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1923 * progmodes/which-func.el (which-func-current): Quote %
1924 characters for mode-line processing.
1926 2012-04-27 Chong Yidong <cyd@gnu.org>
1928 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1929 reaching eob (Bug#11286).
1931 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1933 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1934 (gdb): Make it buffer-local and init to zero.
1935 (gdb-control-commands-regexp): New variable.
1936 (gdb-send): Don't wrap in "-interpreter-exec console" if
1937 gdb-control-level is positive. Increment gdb-control-level
1938 whenever the command matches gdb-control-commands-regexp, and
1939 decrement it each time the command is "end". (Bug#11279)
1941 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1943 * window.el (adjust-window-trailing-edge, enlarge-window)
1944 (shrink-window, window-resize):
1945 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1946 windows (Bug#11276).
1948 2012-04-27 Chong Yidong <cyd@gnu.org>
1950 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1951 fix "missing prefix" warning. All callers changed.
1953 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * emacs-lisp/assoc.el: Move to obsolete/.
1957 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1959 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1961 * term/ns-win.el (ns-define-service):
1962 * progmodes/pascal.el (pascal-goto-defun):
1963 * progmodes/js.el (js--read-tab):
1964 * progmodes/etags.el (tags-lazy-completion-table):
1965 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1966 * emacs-lisp/ewoc.el (ewoc--wrap):
1967 * emacs-lisp/assoc.el (aput, adelete, amake):
1968 * doc-view.el (doc-view-convert-current-doc):
1969 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1971 2012-04-26 Chong Yidong <cyd@gnu.org>
1973 * image.el (image-type-from-buffer): Only return supported image
1976 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1977 value, for symmetry with diff-end-of-hunk.
1978 (diff-split-hunk, diff-find-source-location)
1979 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1980 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1981 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1982 compute the relevant hunk or file properly (Bug#6005).
1983 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1985 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * vc/vc.el: Replace lexical-let by lexical-binding.
1995 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1996 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1997 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1999 2012-04-26 Chong Yidong <cyd@gnu.org>
2001 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2002 (diff-mode-shared-map): Bind it to / and [remap undo].
2004 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2005 (ediff-window-setup-function): Use it as the default, to set up
2006 windows based on whether the current frame is graphical (Bug#2138).
2007 (ediff-choose-window-setup-function-automatically): Make obsolete.
2009 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2011 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * ffap.el: Remove old code for obsolete package.
2014 (ffap-complete-as-file-p): Remove.
2016 Use completion-table-with-quoting for comint and pcomplete.
2017 * comint.el (comint--unquote&requote-argument)
2018 (comint--unquote-argument, comint--requote-argument): New functions.
2019 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2020 (comint-quote-filename): Use regexp-opt-charset.
2021 (comint--common-suffix, comint--common-quoted-suffix)
2022 (comint--table-subvert): Remove.
2023 (comint-unquote-function, comint-requote-function): New vars.
2024 (comint--complete-file-name-data): Use them with
2025 completion-table-with-quoting.
2026 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2027 * pcomplete.el (pcomplete-arg-quote-list)
2028 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2029 (pcomplete-unquote-argument-function): Default to non-nil.
2030 (pcomplete-unquote-argument): Simplify.
2031 (pcomplete--common-quoted-suffix): Remove.
2032 (pcomplete-requote-argument-function): New var.
2033 (pcomplete--common-suffix): New function.
2034 (pcomplete-completions-at-point): Use completion-table-with-quoting
2035 and completion-table-subvert.
2037 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2038 (minibuffer--double-dollars): Preserve properties.
2039 (completion--sifn-requote): New function.
2040 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2042 * minibuffer.el: Add support for completion of quoted/escaped data.
2043 (completion-table-with-quoting, completion-table-subvert): New funs.
2044 (completion--twq-try, completion--twq-all): New functions.
2045 (completion--nth-completion): New function.
2046 (completion-try-completion, completion-all-completions): Use it.
2048 2012-04-25 Leo Liu <sdl.web@gmail.com>
2050 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2051 Use compilation-message if available to find real filename.
2053 2012-04-25 Chong Yidong <cyd@gnu.org>
2055 * vc/diff-mode.el (diff-setup-whitespace): New function.
2056 (diff-mode): Use it.
2058 * vc/diff.el (diff-sentinel):
2059 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2060 Whitespace mode variables based on diff style (Bug#8612).
2062 2012-04-25 Leo Liu <sdl.web@gmail.com>
2064 * progmodes/python.el (python-send-region): Add suffix .py to the
2067 * files.el (auto-mode-alist): Use javascript-mode instead.
2069 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2071 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2073 * soap-client.el (soap-resolve-references-for-sequence-type)
2074 (soap-resolve-references-for-array-type): Hack to prevent self
2075 references, see Bug#9.
2076 (soap-parse-envelope): Report the contents of the 'detail' node
2077 when receiving a fault reply.
2078 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2080 * soap-inspect.el (soap-sample-value-for-simple-type)
2081 (soap-inspect-simple-type): New function.
2083 * soap-client.el (soap-simple-type): New struct.
2084 (soap-default-xsd-types, soap-default-soapenc-types)
2085 (soap-decode-basic-type, soap-encode-basic-type):
2086 support unsignedInt and double basic types.
2087 (soap-resolve-references-for-simple-type)
2088 (soap-parse-simple-type, soap-encode-simple-type): New function.
2089 (soap-parse-schema): Parse xsd:simpleType declarations.
2091 * soap-client.el (soap-default-xsd-types)
2092 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2093 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2094 the local name of "soapenc:Array".
2095 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2096 decoding integer, byte and anyURI xsd types.
2098 2012-04-25 Chong Yidong <cyd@gnu.org>
2100 * cus-edit.el (custom-buffer-create-internal): Update header text.
2102 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2104 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2105 settings on 'system-type', not on 'window-system'. On MS-Windows,
2106 set interactive-mode on in GDB.
2108 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2111 (ruby-syntax-propertize-regexp): Remove.
2112 (ruby-syntax-propertize-function): Split regexp into chunks.
2113 Match following code directly.
2115 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2117 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2118 (ruby-syntax-propertize-regexp): New function.
2119 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2120 by a special keyword.
2122 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2123 (ruby-syntax-general-delimiters-goto-beg)
2124 (ruby-syntax-propertize-general-delimiters): New functions.
2125 (ruby-syntax-propertize-function): Use them to handle GDL.
2126 (ruby-font-lock-keywords): Move old handling of GDL...
2127 (ruby-font-lock-syntactic-keywords): .. to here.
2128 (ruby-calculate-indent): Adjust indentation for GDL.
2130 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2132 * notifications.el (top): Remove unneeded declarations.
2133 (notifications-specification-version): Change to "1.2".
2134 (notifications-interface, notifications-notify-method)
2135 (notifications-close-notification-method): Fix docstring.
2136 (notifications-get-capabilities-method): New defconst.
2137 (notifications-notify): Add :action-items, :resident and
2138 :transient hints. Change "image_data" to "image-data" and
2139 "image_path" to "image-path".
2140 (notifications-get-capabilities): New defun.
2142 2012-04-24 Leo Liu <sdl.web@gmail.com>
2144 * progmodes/python.el: Move hideshow setup to the end.
2146 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2148 * window.el (handle-select-window): Clear echo area since this is
2149 no more done by read_char (Bug#11304).
2151 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2154 and `/ M' to filter-derived-mode.
2155 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2156 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2157 (ibuffer-mark-by-mode): Use default rather than initial-input.
2158 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2160 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2162 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2163 (ibuffer-filter-by-derived-mode): New filter.
2164 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2166 2012-04-23 Andreas Politz <politza@fh-trier.de>
2168 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2170 2012-04-23 Chong Yidong <cyd@gnu.org>
2172 * cus-edit.el (customize-apropos, customize-apropos-options):
2173 Disable matching of non-option variables (Bug#11176).
2174 (customize-option, customize-option-other-window)
2175 (customize-changed-options): Doc fix.
2176 (customize-apropos-options, customize-apropos-faces)
2177 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2179 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2180 Fix word list splitting (Bug#11132).
2181 (apropos-symbol, apropos-keybinding, apropos-label)
2182 (apropos-property, apropos-function-button)
2183 (apropos-variable-button, apropos-misc-button): New faces.
2184 (apropos-symbol-face, apropos-keybinding-face)
2185 (apropos-label-face, apropos-property-face, apropos-match-face):
2186 Variables removed (Bug#8396).
2187 (apropos-library-button, apropos-format-plist, apropos-print)
2188 (apropos-print-doc, apropos-describe-plist): Callers changed.
2190 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2192 * net/xesam.el (xesam-mode-map): Use let-bound map in
2193 initialization. (Bug#11292)
2195 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2197 Preserve ispell session localwords when switching back to
2200 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2201 variable to hold buffer session localwords.
2202 (ispell-kill-ispell): add option 'clear to delete session
2204 (ispell-command-loop, ispell-change-dictionary)
2205 (ispell-buffer-local-words): Preserve session localwords when
2208 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2209 Preserve session localwords when needed.
2211 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2213 * ispell.el (ispell-insert-word) Remove unneeded function using
2214 obsolete `translation-table-for-input'.
2215 (ispell-word, ispell-process-line, ispell-complete-word):
2216 Use plain `insert' instead of removed `ispell-insert-word'.
2218 2012-04-22 Chong Yidong <cyd@gnu.org>
2220 * cus-edit.el (custom-variable-menu)
2221 (custom-variable-reset-saved, custom-face-menu)
2222 (custom-face-reset-saved): If there is no saved value, make the
2223 "reset-saved" operation bring back the default (Bug#9509).
2224 (custom-face-state): Properly detect themed faces.
2226 * faces.el (face-spec-set): Stop supporting deprecated form of
2229 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2231 Move functions from C to Lisp. Make non-blocking method calls
2232 the default. Implement further D-Bus standard interfaces.
2234 * net/dbus.el (dbus-message-internal): Declare function.
2235 Remove unneeded function declarations.
2236 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2237 (dbus-message-type-method-return, dbus-message-type-error)
2238 (dbus-message-type-signal): Declare variables. Remove local
2240 (dbus-interface-dbus, dbus-interface-peer)
2241 (dbus-interface-introspectable, dbus-interface-properties)
2242 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2244 (dbus-interface-objectmanager): New defconst.
2245 (dbus-call-method, dbus-call-method-asynchronously)
2246 (dbus-send-signal, dbus-method-return-internal)
2247 (dbus-method-error-internal, dbus-register-service)
2248 (dbus-register-signal, dbus-register-method): New defuns, moved
2250 (dbus-call-method-handler, dbus-setenv)
2251 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2253 (dbus-call-method-non-blocking): Make it an obsolete function.
2254 (dbus-unregister-object, dbus-unregister-service)
2255 (dbus-handle-event, dbus-register-property)
2256 (dbus-property-handler): Obey the new structure of
2257 `bus-registered-objects'.
2258 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2259 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2260 Use `dbus-call-method'.
2262 2012-04-22 Chong Yidong <cyd@gnu.org>
2264 * cus-edit.el (custom-commands, custom-reset-menu)
2265 (Custom-reset-standard): Tweak labels.
2266 (custom-reset-button-menu): Change default to t.
2267 (custom-buffer-create-internal): For the custom-reset-button-menu
2268 case, put the revert button first.
2269 (custom-group-subtitle): New face.
2270 (custom-group-value-create): Align docstring to a specific column.
2272 * wid-edit.el (widget-documentation-link-add): Don't handle
2273 indentation in this function.
2274 (widget-documentation-string-indent-to): New function.
2275 (widget-documentation-string-value-create): Use it.
2277 * autorevert.el (auto-revert):
2278 * epg-config.el (epg):
2279 * ibuffer.el (ibuffer):
2282 * eshell/eshell.el (eshell):
2283 * net/ange-ftp.el (ange-ftp):
2284 * progmodes/ebnf2ps.el (postscript):
2285 * progmodes/flymake.el (flymake):
2286 * progmodes/prolog.el (prolog):
2287 * progmodes/verilog-mode.el (verilog-mode):
2288 * progmodes/which-func.el (which-func):
2289 * term/xterm.el (xterm):
2290 * textmodes/picture.el (picture):
2291 * textmodes/tildify.el (tildify):
2292 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2293 customization buffers.
2295 2012-04-22 Alan Mackenzie <acm@muc.de>
2297 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2298 Adding a ) can hide the resulting (..) from searches. Fix it.
2299 Bound the backward search to the position of the existing (.
2301 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2303 * progmodes/verilog-mode.el (verilog-mode): Check whether
2304 which-func-modes is t before adding verilog-mode.
2305 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2307 2012-04-21 Leo Liu <sdl.web@gmail.com>
2309 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2311 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2313 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2314 filling of the last column of a table (Bug#5635).
2315 (woman-find-next-control-line): New arg, specifying an additional
2316 regexp component for the control line.
2317 (woman2-roff-buffer): Use it.
2318 (woman-break-table): New function.
2319 (woman2-TS): Use it.
2321 2012-04-21 Chong Yidong <cyd@gnu.org>
2323 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2324 (woman-horizontal-escapes, woman-negative-vertical-space)
2325 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2326 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2328 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * minibuffer.el (completion-file-name-table): Complete user names.
2332 2012-04-20 Leo Liu <sdl.web@gmail.com>
2334 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2337 2012-04-20 Chong Yidong <cyd@gnu.org>
2339 * server.el (server-execute): Respect initial-buffer-choice if it
2340 is a string and there are no files to open (Bug#2825).
2341 (server-create-window-system-frame, server-create-tty-frame):
2342 Don't switch buffers here.
2343 (server-process-filter): Only try to open a window system frame if
2344 compiled with graphical support (Bug#8314).
2346 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2348 * battery.el (battery-echo-area-format): Display remaining time
2349 for sysfs backend too (Bug#11269).
2350 (battery-linux-sysfs): Fix conditional for the charge.
2352 2012-04-20 Chong Yidong <cyd@gnu.org>
2354 * progmodes/gdb-mi.el (gdb): Revert previous change.
2355 (gdb-inferior-io--init-proc): New function.
2356 (gdb-init-1): Use it.
2357 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2358 responsible for allocating a new pty and hooking it to gdb when
2359 the old pty gets an EIO due to process exit.
2360 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2361 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2362 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2364 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2366 * window.el (window-min-size, window-sizable, window-min-delta)
2367 (window-max-delta, window--resizable, window-resizable)
2368 (window-total-size, window-full-height-p, window-full-width-p)
2369 (window-in-direction, window--resize-mini-window, window-resize)
2370 (window--resize-child-windows-normal)
2371 (window--resize-child-windows, window--resize-siblings)
2372 (window--resize-this-window, adjust-window-trailing-edge)
2373 (enlarge-window, shrink-window): Doc fixes.
2375 2012-04-20 Chong Yidong <cyd@gnu.org>
2377 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2378 New function to call delete-process on the gdb-inferior buffer's pty.
2379 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2380 pty process (Bug#11273).
2381 (gdb-update): New arg to suppress talking to the gdb process.
2382 (gdb-done-or-error): Use it.
2383 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2384 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2385 sentinel not being called.
2387 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2389 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2391 2012-04-20 Glenn Morris <rgm@gnu.org>
2393 * net/network-stream.el (open-network-stream): Doc fix.
2395 2012-04-20 Chong Yidong <cyd@gnu.org>
2397 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2399 2012-04-20 Alan Mackenzie <acm@muc.de>
2401 Ensure searching for keywords is case sensitive.
2403 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2404 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2405 (c-defun-name, c-mark-function, c-cpp-define-name)
2406 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2407 (c-context-line-break): Bind case-fold-search to nil.
2409 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2410 Bind case-fold-search to nil.
2412 2012-04-20 Chong Yidong <cyd@gnu.org>
2414 * mail/sendmail.el (mail-bury): Call return action with the right
2415 Rmail buffer (Bug#11242).
2417 * server.el (server-process-filter): Handle corner case where both
2418 tty and nowait options are present (Bug#11102).
2420 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2422 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2423 (top level): Put into the executable the ident-style '$Id:' tag on
2426 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * electric.el (electric-indent-post-self-insert-function): Check that
2429 electric-indent-mode is enabled in current buffer.
2431 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2433 * imenu.el (imenu-progress-message): Restore; it is "used" in
2434 erc/erc-imenu.el and net/snmp-mode.el.
2436 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2438 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2439 (mouse-avoidance-nudge-mouse): Remove unused binding.
2441 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2443 * descr-text.el (describe-char):
2444 * progmodes/python.el (python-describe-symbol):
2445 Don't call `toggle-read-only', set `buffer-read-only'.
2447 * imenu.el (imenu-default-goto-function): Mark unused args.
2448 (imenu-progress-message): Remove obsolete macro; all callers changed.
2450 * subr.el (keymap-canonicalize): Remove unused binding.
2451 (read-passwd): Mark unused arg.
2453 * tutorial.el (tutorial--display-changes): Remove unused binding.
2454 (tutorial--save-tutorial-to): Remove unused variable.
2456 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2457 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2458 (package-generate-autoloads, package-menu--generate)
2459 (package-menu--find-upgrades): Remove unused bindings.
2461 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2462 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2463 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2464 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2465 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2466 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2467 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2468 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2469 (cua-delete-char-rectangle): Mark unused args.
2470 (cua-align-rectangle): Remove unused binding.
2472 * mail/rmail.el (compilation--message->loc)
2473 (epa--find-coding-system-for-mime-charset): Declare.
2475 * net/dbus.el (dbus-register-service): Declare.
2476 (dbus-name-owner-changed-handler): Remove unused binding.
2478 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2479 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2480 (nxml-scan-backward-within): Mark unused arg.
2481 (nxml-dynamic-markup-word): Remove unused binding.
2483 * mouse.el (mouse-menu-major-mode-map):
2484 * emacs-lisp/authors.el (authors-scan-change-log)
2485 (authors-add-to-author-list):
2486 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2487 * emacs-lisp/smie.el (smie-auto-fill):
2488 * mail/sendmail.el (mail-bury):
2489 * mail/unrmail.el (unrmail):
2490 * net/tls.el (open-tls-stream):
2491 * textmodes/picture.el (picture-mouse-set-point):
2492 Remove unused bindings.
2494 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
2496 * net/tramp.el (tramp-action-password): Let-bind
2497 `enable-recursive-minibuffers' to t.
2499 2012-04-18 Sam Steingold <sds@gnu.org>
2501 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2502 instead of 'string to accommodate values like [f11].
2503 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2504 * progmodes/gdb-mi.el: Likewise.
2506 2012-04-18 Leo Liu <sdl.web@gmail.com>
2508 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2510 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2513 2012-04-18 Chong Yidong <cyd@gnu.org>
2515 * simple.el (line-move): Use forward-line if in batch mode
2518 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2520 * files.el (after-find-file): Do not try to add a final newline if
2521 the buffer is read-only (Bug#11156).
2523 2012-04-17 Richard Stallman <rms@gnu.org>
2525 * mail/rmail.el (rmail-start-mail):
2526 Pass (rmail-mail-return...) for the return-action.
2527 Pass (rmail-yank-current-message...) for the yank-action.
2528 (rmail-yank-current-message): New function.
2529 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2530 (rmail-reply): Likewise.
2531 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2533 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
2534 buffer, not the last. Reject temp buffers. Use the rmail-mode
2537 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
2539 * server.el (server-ensure-safe-dir): Simplify.
2541 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * emacs-lisp/smie.el: Provide smarter auto-filling.
2544 (smie-auto-fill): New function.
2545 (smie-setup): Use it.
2547 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2549 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
2551 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2552 (comment-indent): Use it.
2554 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
2556 * ses.el: The overall change is to add cell renaming, that is
2557 setting fancy names for cell symbols other than name matching
2558 "\\`[A-Z]+[0-9]+\\'" regexp .
2559 (ses-localvars): Add ses--renamed-cell-symb-list.
2560 (ses-create-cell-variable): New defun.
2561 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2562 (ses-relocate-formula): Relocate formulas only for cells the
2563 symbols of which are not renamed, i.e. symbols whose names do not
2564 match regexp "\\`[A-Z]+[0-9]+\\'".
2565 (ses-relocate-all): Relocate values only for cells the symbols of
2566 which are not renamed.
2567 (ses-load): Create cells variables as the (ses-cell ...) are read,
2568 in order to check row col consistency with cell symbol name only
2569 for cells that are not renamed.
2570 (ses-replace-name-in-formula): New defun.
2571 (ses-rename-cell): New defun.
2573 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2575 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2576 New option (bug#11118).
2577 (perl-calculate-indent): Respect it.
2579 2012-04-17 Glenn Morris <rgm@gnu.org>
2581 * dired-aux.el (dired-mark-read-string): Doc fix.
2583 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2585 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2586 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2588 2012-04-17 Glenn Morris <rgm@gnu.org>
2590 * mouse.el (mouse-drag-track):
2591 * speedbar.el (speedbar-frame-mode):
2592 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2594 2012-04-16 Leo Liu <sdl.web@gmail.com>
2596 * progmodes/python.el: Trivial cleanup.
2598 2012-04-16 Glenn Morris <rgm@gnu.org>
2600 * vc/vc.el (vc-string-prefix-p):
2601 * vc/pcvs-util.el (cvs-string-prefix-p):
2602 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2603 * mpc.el (mpc-string-prefix-p):
2604 Make all of these into obsolete aliases for string-prefix-p.
2606 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2608 * textmodes/two-column.el: Move custom options to the start.
2609 (frame-width): Remove compat definition.
2610 (2C-associate-buffer, 2C-dissociate):
2611 Use with-current-buffer rather than save-excursion.
2612 (2C-dissociate): Force a mode-line update.
2613 (2C-autoscroll): Use ignore-errors.
2615 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2618 * emacs-lisp/cl-extra.el (*random-state*):
2619 Remove unnecessary declaration.
2621 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2623 * play/cookie1.el (cookie-snarf):
2624 Give an explicit error if input file cannot be read.
2626 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2628 * progmodes/perl-mode.el (c-macro-expand):
2629 Remove unnecessary autoload (it is in loaddefs.el).
2631 * textmodes/picture.el (picture-desired-column)
2632 (picture-update-desired-column): Convert comments to doc-strings.
2633 (picture-substitute): Remove function.
2634 (picture-mode-map): Initialize in the defvar.
2636 * woman.el: Remove eval-after-load for tar-mode.
2637 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2638 (woman-tar-extract-file): Autoload it.
2640 * frame.el (automatic-hscrolling): Make this alias obsolete.
2642 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2644 * ispell.el (ispell-set-spellchecker-params): Post-process
2645 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2646 (ispell-dictionary-base-alist): Revert to original XEmacs
2647 friendly version for default. [:alpha:] will be added in
2648 `ispell-set-spellchecker-params' if needed
2650 2012-04-16 Chong Yidong <cyd@gnu.org>
2652 * image.el (imagemagick--extension-regexp): New variable.
2653 (imagemagick-register-types): Use it.
2654 (imagemagick-types-inhibit): Add :set function. Allow new value
2655 of t to inhibit all types.
2657 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2658 so we can preload it.
2660 * loadup.el (fboundp): Preload regexp-opt, needed by
2661 imagemagick-register-types.
2663 2012-04-15 Chong Yidong <cyd@gnu.org>
2665 * frame.el (scrolling): Remove nearly unused customization group.
2667 * scroll-all.el (scroll-all-mode): Move to windows group.
2669 2012-04-15 Chong Yidong <cyd@gnu.org>
2671 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2673 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2675 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2676 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2678 2012-04-15 Glenn Morris <rgm@gnu.org>
2680 * simple.el (process-file-side-effects): Doc fix.
2682 2012-04-15 Glenn Morris <rgm@gnu.org>
2684 * international/mule-cmds.el (set-language-environment): Doc fix.
2686 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2688 * server.el (server-auth-key, server-generate-key): Doc fixes.
2689 (server-get-auth-key): Doc fix. Use `string-match-p'.
2690 (server-start): Reflow docstring.
2692 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2694 * server.el (server-generate-key): `called-interactively-p'
2695 requires a parameter.
2697 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2699 * server.el (server-auth-key): New variable.
2700 (server-generate-key, server-get-auth-key): New function.
2701 (server-start): Use the new variable and functions to allow
2702 setting a permanent server key (bug#9423).
2704 2012-04-14 Leo Liu <sdl.web@gmail.com>
2706 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2708 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2711 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2712 Emacs uses American spelling.
2714 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2716 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2717 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2718 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2719 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2721 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * progmodes/which-func.el (which-func-modes): Change default.
2725 2012-04-14 Kim F. Storm <storm@cua.dk>
2727 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2728 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2730 2012-04-14 Chong Yidong <cyd@gnu.org>
2732 * custom.el (custom-theme-set-variables): Doc fix.
2734 2012-04-14 Glenn Morris <rgm@gnu.org>
2736 * international/mule.el (set-auto-coding-for-load): Doc fix.
2738 2012-04-14 Alan Mackenzie <acm@muc.de>
2740 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2741 imenu work again for Objective C Mode. Correct the *-index values,
2742 these having been disturbed by a previous change in 2011-08.
2744 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2745 Correct two search limits.
2747 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2749 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2751 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2753 * international/characters.el: Fix sorting.
2755 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2757 * international/characters.el: Add more missing Latin case pairs.
2759 2012-04-14 Glenn Morris <rgm@gnu.org>
2761 * files.el (dir-locals-set-class-variables): Doc fix.
2763 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2765 * international/characters.el: Add set-case-syntax-pair call for
2766 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2767 counterpart. (Bug#11209)
2769 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2771 2012-04-14 Glenn Morris <rgm@gnu.org>
2773 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2775 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2777 * textmodes/ispell.el (ispell-dictionary-base-alist):
2778 Add data for Hebrew.
2780 2012-04-14 Chong Yidong <cyd@gnu.org>
2782 * net/rcirc.el (rcirc-cmd-quit):
2783 Revert 2012-03-18 change (Bug#11192).
2785 2012-04-14 Glenn Morris <rgm@gnu.org>
2787 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2789 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2791 * minibuffer.el (completion-in-region-mode-map):
2792 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2794 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2796 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2798 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2800 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2801 to allow `C-M-f' and `C-M-b' to move to the nearest path
2802 separator (bug#9511).
2804 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2806 * avoid.el: Require cl when compiling. And also move the
2807 `provide' to the end.
2809 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2811 * avoid.el (mouse-avoidance-banish-position): New variable.
2812 (mouse-avoidance-banish-destination): Use it (bug#10165).
2814 2012-04-13 Leo Liu <sdl.web@gmail.com>
2816 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2818 2012-04-13 Ken Brown <kbrown@cornell.edu>
2820 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2821 this is no longer needed now that cygstart understands file:// URLs.
2822 (browse-url-filename-alist): For the same reason, don't modify
2823 file:// URLs on Cygwin.
2825 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2828 the region on shift if the binding is already shifted (bug#11221).
2830 2012-04-12 Glenn Morris <rgm@gnu.org>
2832 * mail/mailpost.el: Move to obsolete/.
2834 2012-04-12 Drew Adams <drew.adams@oracle.com>
2836 * imenu.el (imenu--generic-function): Ignore invisible definitions
2839 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2841 * hexl.el (hexl-bits): New variable.
2842 (hexl-options): Mention the variable in the doc string.
2843 (hexl-rulerise, hexl-line-displen): New functions.
2844 (hexl-mode): Mention the new variable.
2845 (hexl-mode, hexl-current-address, hexl-current-address):
2847 (hexl-ascii-start-column): New function.
2848 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2849 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2851 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2853 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2854 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2855 the encoding, as expected by hunspell.
2857 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2859 * battery.el (battery--linux-sysfs-regexp): New const.
2860 (battery-status-function): Use it. Remove yeeloong special case.
2861 (battery-yeeloong-sysfs): Remove.
2862 (battery-echo-area-format): Remove yeeloong special case.
2864 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2867 Reported by Noah Friedman.
2869 * subr.el (read-passwd): Use read-string.
2871 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2873 * vcursor.el (vcursor-move): Increase the priority of the overlay
2876 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2878 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2879 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2881 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2883 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2884 define-minor-mode (bug#10760).
2886 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2888 * progmodes/grep.el (rgrep): Tweak the find command line so
2889 that directories matching `grep-find-ignored-files' won't be
2892 2012-04-11 Chong Yidong <cyd@gnu.org>
2894 * startup.el (command-line): Remove support for long-obsolete
2895 variable font-lock-face-attributes.
2897 2012-04-11 Glenn Morris <rgm@gnu.org>
2899 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2901 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * window.el (window--state-get-1): Obey window-point-insertion-type.
2905 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2907 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2908 to previous function when point is on the first character of a
2909 function. Take care of that in `narrow-to-defun' (bug#6157).
2911 2012-04-11 Glenn Morris <rgm@gnu.org>
2913 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2914 not just file-errors.
2916 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2917 (vc-bzr-sha1): Use internal sha1.
2919 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2923 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
2925 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2926 that start in the middle of the line (bug#10496).
2928 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2930 * battery.el (battery-linux-proc-acpi): Only one battery is
2931 discharged at a time, but that seems to confuse battery.el when
2932 computing `rate-type' for the battery not being discharged
2935 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2937 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2939 * international/quail.el: Use dolist and simplify.
2940 (quail-define-package, quail-update-keyboard-layout)
2941 (quail-define-rules): Use dolist.
2942 (quail-insert-kbd-layout, quail-get-translation): CSE.
2944 * tmm.el: Use dolist, remove left over hook.
2945 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2947 (calendar-load-hook): Don't mess with it.
2949 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2950 Use derived-mode-p. Run the diff asynchronously.
2952 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2954 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2956 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2958 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2959 (list-dynamic-libraries--loaded): New function.
2960 (list-dynamic-libraries--refresh): Use it.
2962 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2964 * progmodes/python.el (python-fill-paragraph):
2965 Make python-fill-region in a multiline string work when font-lock is
2966 disabled (bug#7018).
2968 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
2970 * language/european.el (cp775): Add oem/legacy (en)coding on
2971 DOS/MS Windows for the Baltic languages. There are still plenty
2972 of texts written in this encoding/codepage (bug#6519).
2974 2012-04-10 Glenn Morris <rgm@gnu.org>
2976 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2977 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2979 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2981 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2982 next-line "n" and previous-line "p" in order to make recentf more
2983 consistent with ibuffer, dired or org-mode (bug#9387).
2985 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2987 * image.el (put-image): Return the overlay created instead of the
2988 optional input string (bug#7834). Note that this may break code
2989 that is (for some reason or other) depending on `put-image'
2990 returning the string.
2992 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2994 * simple.el (zap-to-char): Allow zapping using input methods
2997 * textmodes/fill.el (fill-region): Leave point and mark where they
2998 were before filling (bug#5399).
3000 2012-04-09 Glenn Morris <rgm@gnu.org>
3002 * version.el (emacs-bzr-get-version):
3003 Handle lightweight checkouts of local branches.
3005 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3007 * international/characters.el: Recover lost case pairs. (Bug#11209)
3009 2012-04-09 Chong Yidong <cyd@gnu.org>
3011 * custom.el (custom-variable-p): Return nil for non-symbol
3012 arguments instead of signaling an error.
3013 (user-variable-p): Obsolete alias for custom-variable-p.
3015 * apropos.el (apropos-variable):
3016 * files-x.el (read-file-local-variable):
3017 * simple.el (set-variable):
3018 * woman.el (woman-mini-help):
3019 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3021 2012-04-09 Glenn Morris <rgm@gnu.org>
3023 * startup.el (normal-top-level): Don't look for leim-list.el
3024 in places where it will not be found. (Bug#910)
3026 * international/mule-cmds.el (set-default-coding-systems):
3027 * files.el (normal-mode):
3028 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3029 This function was removed with ucs-tables.el in 2008.
3031 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3033 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3034 ispell-encoding8-command to "-i", without a trailing space.
3035 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3036 separate command-line arguments, to specify the encoding, since
3037 that's how hunspell expects it.
3039 2012-04-08 Glenn Morris <rgm@gnu.org>
3041 * loadup.el: Load bindings before cus-start.
3042 This reduces somewhat the number of "rogue" settings in emacs -Q.
3044 2012-04-07 Glenn Morris <rgm@gnu.org>
3046 * version.el (emacs-bzr-get-version): New function.
3047 (emacs-bzr-version): New variable.
3048 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3049 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3051 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3053 * international/uni-bidi.el, international/uni-category.el:
3054 * international/uni-combining.el, international/uni-decimal.el:
3055 * international/uni-decomposition.el, international/uni-digit.el:
3056 * international/uni-lowercase.el, international/uni-mirrored.el:
3057 * international/uni-name.el, international/uni-numeric.el:
3058 * international/uni-titlecase.el, international/uni-uppercase.el:
3059 Update for Unicode 6.1.
3061 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3063 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3065 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3067 * window.el (shrink-window): Mention the `window-min-height'
3068 variable in the doc string.
3070 2012-04-05 Bastien Guerry <bzg@altern.org>
3072 * color.el (color-lighten-name): Fix typo.
3074 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3076 * server.el (server--on-display-p): New function.
3077 (server--on-display-p): Use it.
3079 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3081 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3084 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * comint.el (comint--common-quoted-suffix): Check string boundary
3087 before comparing (bug#11158).
3088 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3090 2012-04-04 Chong Yidong <cyd@gnu.org>
3092 * minibuffer.el (completion-extra-properties): Doc fix.
3094 * subr.el (delayed-warnings-hook): Doc fix.
3096 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3098 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3099 selection (Bug#11159).
3100 (epa-insert-keys): Inform that the default public key will be
3101 exported if no key is selected.
3103 2012-04-04 Richard Stallman <rms@gnu.org>
3105 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3107 2012-04-03 Chong Yidong <cyd@gnu.org>
3109 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3110 mail-insert-file, not its obsolete alias mail-attach-file.
3112 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3114 * notifications.el (notifications-notify): Fix docstring.
3116 2012-04-02 Glenn Morris <rgm@gnu.org>
3118 * emacs-lisp/authors.el (authors-aliases): Another addition.
3120 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3122 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3123 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3124 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3126 2012-04-01 Chong Yidong <cyd@gnu.org>
3128 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3129 Handle root directory properly.
3130 (copy-directory): Caller changed.
3132 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3133 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3135 2012-03-31 Glenn Morris <rgm@gnu.org>
3137 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3139 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3141 * calendar/calendar.el (calendar-window-list)
3142 (calendar-hide-window): Restore. (Bug#11140)
3143 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3145 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3147 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3149 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3150 Check if file is a symlink (Bug#10489).
3152 * files.el (copy-directory): Likewise.
3154 2012-03-30 Chong Yidong <cyd@gnu.org>
3156 * image.el (imagemagick-types-inhibit)
3157 (imagemagick-register-types): Doc fix.
3159 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
3161 * ispell.el (ispell-get-extended-character-mode):
3162 Disable extended-char-mode for hunspell. hunspell does not support it
3163 and treats ~word as ordinary words in pipe mode.
3165 2012-03-30 Glenn Morris <rgm@gnu.org>
3167 * tutorial.el (help-with-tutorial): Ensure local variables don't
3168 happen to make the buffer read-only. (Bug#11127)
3170 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3173 (perl-calculate-indent): Return `noindent' in strings.
3175 2012-03-28 Sam Steingold <sds@gnu.org>
3177 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3178 instead of the broken adhockery which does not prevent calendar
3179 buffers from being displayed at random after exit.
3180 (calendar-window-list, calendar-hide-window): Remove the broken
3183 2012-03-28 Glenn Morris <rgm@gnu.org>
3185 * replace.el (query-replace-map): Doc fix.
3187 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3189 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3190 contents. (Bug#11109)
3192 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3194 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3196 (avl-tree--check, avl-tree--check-node): New funs.
3198 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3200 * window.el (switch-to-visible-buffer): New option.
3201 (switch-to-prev-buffer, switch-to-next-buffer):
3202 Observe switch-to-visible-buffer. Make sure that checking for a window
3203 showing a buffer already is done on the same frame.
3205 2012-03-27 Glenn Morris <rgm@gnu.org>
3207 * startup.el (mail-host-address): Doc fix.
3209 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3211 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3214 2012-03-26 Ami Fischman <ami@fischman.org>
3216 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3218 2012-03-26 Glenn Morris <rgm@gnu.org>
3220 * files.el (save-buffers-kill-emacs): Doc fix.
3222 * startup.el (normal-top-level, command-line, command-line-1):
3223 Give them doc strings.
3225 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3227 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3228 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3230 2012-03-25 Chong Yidong <cyd@gnu.org>
3232 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3233 theme if it was previously enabled before (Bug#11031).
3235 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3236 spec with custom-face-get-current-spec if its :shown-value is not
3237 determined yet (Bug#9337).
3238 (customize-create-theme, custom-theme-revert): Doc fixes.
3240 * button.el (button-at): Minor addition to docstring.
3242 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3244 * vc/vc.el (vc-merge): Fix a prompt.
3246 2012-03-24 Chong Yidong <cyd@gnu.org>
3248 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3251 * button.el (button-at): Minor addition to docstring.
3253 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * newcomment.el (comment-choose-indent): No space after BOL.
3257 2012-03-22 Sam Steingold <sds@gnu.org>
3259 * window.el (switch-to-prev-buffer): Revert last patch because the
3260 bug turned out to be an advertised feature (Elisp manual 28.14).
3262 2012-03-22 Glenn Morris <rgm@gnu.org>
3264 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3265 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3267 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269 * net/network-stream.el (network-stream-open-starttls): Make error
3270 message under Windows be less misleading.
3272 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3274 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3275 understands (bug#9942).
3277 2012-03-22 Chong Yidong <cyd@gnu.org>
3279 * simple.el (end-of-visible-line): Handle return value of
3280 next-single-property-change properly (Bug#9371).
3282 2012-03-22 Kenichi Handa <handa@m17n.org>
3284 * international/quail.el (quail-insert-kbd-layout): Fix previous
3285 change. To avoid unwanted bidi reordering, use
3286 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3288 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3290 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3291 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3292 (ruby-beginning-of-indent): Be more careful with the difference
3293 between word-boundary and symbol boundary.
3294 (ruby-mode-syntax-table): Make : a symbol constituent.
3296 2012-03-21 Andreas Politz <politza@fh-trier.de>
3298 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3300 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * progmodes/etags.el (tags-completion-at-point-function):
3305 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3307 2012-03-21 Sam Steingold <sds@gnu.org>
3309 * progmodes/etags.el (tags-completion-at-point-function):
3310 Avoid the error when point is inside the pattern.
3312 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3314 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3317 2012-03-21 Drew Adams <drew.adams@oracle.com>
3319 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3321 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3323 * ido.el (ido-set-current-directory, ido-read-internal)
3324 (ido-choose-completion-string, ido-completion-help): Handle nil
3325 value of ido-completion-buffer (Bug#11008).
3327 2012-03-21 Sam Steingold <sds@gnu.org>
3329 * window.el (switch-to-prev-buffer): Do not switch to a visible
3330 window previous buffer, just like with the frame previous buffers.
3332 2012-03-21 Chong Yidong <cyd@gnu.org>
3334 * faces.el (make-face, make-empty-face, copy-face):
3335 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3338 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3341 (widget-complete): Remove broken use of it.
3343 2012-03-20 Chong Yidong <cyd@gnu.org>
3345 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3346 Use string-width and truncate-string-width to handle arbitrary
3349 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3351 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3352 to draw rectangles, not squares. (Regression introduced by revno
3353 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3355 2012-03-18 Chong Yidong <cyd@gnu.org>
3357 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3358 it is not yet defined (for temacs).
3360 2012-03-18 Leo Liu <sdl.web@gmail.com>
3362 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3364 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3366 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3367 (ispell-choices-win-default-height, ispell-silently-savep)
3368 (ispell-dictionary-alist, ispell-encoding8-command)
3369 (ispell-check-version, ispell-aspell-find-dictionary)
3370 (ispell-valid-dictionary-list, ispell-words-keyword)
3371 (ispell-get-word, ispell-internal-change-dictionary)
3372 (ispell-region, ispell-skip-region-list)
3373 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3374 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3375 (ispell-message-text-end, ispell-message)
3376 (ispell-buffer-local-parsing): Doc fix.
3378 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3380 * htmlfontify.el: Add support for code block fontification for ODT
3382 (hfy-optimisations): Define new option
3384 (hfy-fontify-buffer): Honor above setting.
3385 (hfy-begin-span, hfy-end-span): New routines factored out form
3386 `hfy-fontify-buffer'.
3387 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3388 that permit insertion of custom tags.
3389 (hfy-fontify-buffer): Use above handlers.
3390 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3391 (hfy-face-to-css): Re-defined to be a variable.
3392 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3393 over multiple runs. This is made possible by having the caller let
3394 bind a special variable `hfy-user-sheet-assoc'.
3395 (htmlfontify-string): New defun.
3396 (hfy-compile-face-map): Make sure that the last char in the
3397 buffer is correctly fontified.
3398 (hfy-face-resolve-face): Whitespace only change.
3400 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3402 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3405 2012-03-16 Leo Liu <sdl.web@gmail.com>
3407 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3409 2012-03-16 Alan Mackenzie <acm@muc.de>
3411 Further optimise the handling of large macros.
3413 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3414 limit to a call of `c-literal-limits'.
3415 (c-determine-+ve-limit): New function.
3416 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3417 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3418 In CASE 5B, restrict a search limit to 500.
3419 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3421 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3422 Restrict macro bounds to +-500 from after-change's BEG END.
3424 2012-03-16 Leo Liu <sdl.web@gmail.com>
3426 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3428 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3430 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3431 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3433 2012-03-16 Glenn Morris <rgm@gnu.org>
3435 * view.el (view-buffer, view-buffer-other-window)
3436 (view-buffer-other-frame): Doc fixes re special mode-class.
3438 * subr.el (eval-after-load): If named feature is provided not from
3439 a file, run after-load forms. (Bug#10946)
3441 * calendar/calendar.el (calendar-insert-at-column):
3442 Handle non-unit-width characters a bit better. (Bug#10978)
3444 2012-03-15 Chong Yidong <cyd@gnu.org>
3446 * emacs-lisp/ring.el (ring-extend): New function.
3447 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3449 * comint.el (comint-read-input-ring)
3450 (comint-add-to-input-history): Grow comint-input-ring lazily.
3452 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3455 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3457 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3458 (imenu-add-to-menubar): Don't add a redundant index.
3459 (imenu-update-menubar): Handle a dynamically composed keymap.
3461 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3463 * mail/sendmail.el (mail-encode-header):
3464 Bind rfc2047-encode-encoded-words to nil.
3466 2012-03-13 Glenn Morris <rgm@gnu.org>
3468 * calendar/calendar.el (calendar-string-spread):
3469 Handle non-unit-width characters a bit better. (Bug#10978)
3471 2012-03-13 Leo Liu <sdl.web@gmail.com>
3473 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3474 directory and file as argument (Bug#10822).
3476 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3478 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3479 For dynamically generated code, follow $PC.
3480 (gdb-disassembly-handler-custom): Handle no function name case.
3482 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3484 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3485 * emulation/ws-mode.el (ws-query-replace):
3486 * sort.el (sort-regexp-fields):
3487 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3489 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * dabbrev.el: Fix cycle completion order (bug#10963).
3492 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3493 (dabbrev-completion): Don't use an obarray; provide
3494 a cycle-sort-function.
3496 2012-03-12 Leo Liu <sdl.web@gmail.com>
3498 * simple.el (kill-new): Use equal-including-properties for comparison.
3499 (kill-do-not-save-duplicates): Doc fix.
3501 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * dabbrev.el: Fix cycle completion (bug#10963).
3504 Use lexical binding and wrap to 80 columns.
3505 (dabbrev-completion): Delay computing the list of completions.
3507 2012-03-12 Kenichi Handa <handa@m17n.org>
3509 * international/quail.el (quail-insert-kbd-layout): Surround each
3510 row by LRO and PDF instead of inserting many LRMs. Pad the left
3511 and right of each non-spacing marks. Insert invisible space
3512 between lower and upper characters to prevent composition.
3514 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * minibuffer.el (minibuffer-complete): Don't get confused when the
3517 function is run twice via different commands (bug#10958).
3518 (complete-with-action): Fix docstring.
3520 2012-03-12 Chong Yidong <cyd@gnu.org>
3522 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3523 (nxml-completion-at-point-function): New function.
3524 (nxml-mode): Use it.
3525 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3527 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3528 Load generated autoloads file before byte compiling (Bug#10970).
3529 (package--make-autoloads-and-compile): New helper fun.
3531 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3533 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3535 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
3537 * autorevert.el (auto-revert-handler): Ensure, that
3538 file-readable-p is applied only for local files or in
3539 auto-revert-tail-mode.
3541 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3543 * server.el (server-eval-at): Handle non-tcp connections.
3544 Decode result string.
3546 * server.el (server-msg-size): New constant.
3547 (server-reply-print): New function.
3548 (server-eval-and-print): Use it.
3549 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3552 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3554 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3557 2012-03-11 Chong Yidong <cyd@gnu.org>
3559 * simple.el (goto-line): Doc fix (Bug#9938).
3561 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3563 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3564 when finished (Bug#10963).
3566 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3568 * window.el (split-window-below): Fix bug in case where
3569 split-window-keep-point is nil (Bug#10971).
3571 2012-03-11 Juri Linkov <juri@jurta.org>
3573 * replace.el (replace-highlight): Set isearch-word to nil
3574 unconditionally. (Bug#10887)
3576 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3578 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3579 mairix-replace-illegal-chars; all callers changed. Don't remove
3580 ^, ~, and = characters: they are meaningful in mairix search specs.
3581 (mairix-widget-create-query): Add usage information about mairix
3582 search forms: negating words, searching for substrings, etc.
3584 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3586 * international/fontset.el (font-encoding-alist): Add an entry for
3589 2012-03-10 Richard Stallman <rms@gnu.org>
3591 * mail/sendmail.el (mail-encode-header):
3592 Set rfc2047-encode-encoded-words.
3594 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3596 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3597 view buffer means not swapped.
3598 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3599 (rmail-write-region-annotate): Error if real text has disappeared.
3601 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3603 2012-03-10 Chong Yidong <cyd@gnu.org>
3605 * emulation/cua-rect.el (cua--init-rectangles):
3606 * emulation/cua-base.el (cua--init-keymaps):
3607 Add delete-forward-char to remappings (Bug#9666).
3609 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3611 * speedbar.el (speedbar-unhighlight-one-tag-line):
3612 Avoid unhighlighting due to frame switching (Bug#10275).
3614 2012-03-10 Chong Yidong <cyd@gnu.org>
3616 * minibuffer.el (completion-in-region, completion-help-at-point):
3617 Give the completion field overlay a high priority (Bug#6830).
3619 * dired.el (dired-goto-file): Recognize absolute file name
3620 listings (Bug#7126).
3621 (dired-goto-file-1): New helper function.
3622 (dired-toggle-read-only): Inhibit warnings.
3624 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3626 * net/dbus.el (dbus-property-handler): Return empty array if
3627 there are no properties.
3629 2012-03-09 Leo Liu <sdl.web@gmail.com>
3631 * savehist.el (savehist-printable): Stricter check for string
3634 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3636 * mail/smtpmail.el (smtpmail-send-it):
3637 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3640 2012-03-09 Glenn Morris <rgm@gnu.org>
3642 * files.el (dir-locals-find-file):
3643 Don't check result is regular, readable.
3644 (dir-locals-read-from-file): Demote errors.
3646 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3648 * international/quail.el (quail-insert-kbd-layout):
3649 Insert invisible LRM characters before each character in a keyboard
3650 layout cell, to prevent their reordering by bidi display engine.
3651 For details, see the discussion in
3652 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3654 2012-03-08 Alan Mackenzie <acm@muc.de>
3656 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3657 the starting position; make it extend the marked region when
3658 invoked repeatedly - all under appropriate circumstances.
3659 Fixes bugs #5525, #10906.
3661 2012-03-08 Glenn Morris <rgm@gnu.org>
3663 * files.el (locate-dominating-file, dir-locals-find-file):
3664 Undo 2012-03-06 change.
3666 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3668 * international/quail.el (quail-help):
3669 Force bidi-paragraph-direction be left-to-right. See discussion in
3670 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3673 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3675 Avoid superfluous registering of signals. (Bug#10807)
3677 * notifications.el (notifications-on-action-object)
3678 (notifications-on-close-object): New defvars.
3679 (notifications-on-action-signal, notifications-on-closed-signal):
3680 Unregister the signal if not needed any longer.
3681 (notifications-notify): Register `notifications-action-signal' or
3682 `notifications-closed-signal', if :on-action or :on-close has been
3685 2012-03-07 Chong Yidong <cyd@gnu.org>
3687 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3690 2012-03-06 Glenn Morris <rgm@gnu.org>
3692 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3693 (x-disown-selection-internal, x-get-selection-internal):
3694 Doc fix (add arglist signatures). (Bug#10783)
3696 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3698 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3699 Handle breakpoints with no "type".
3701 2012-03-06 Glenn Morris <rgm@gnu.org>
3703 * files.el (locate-dominating-file): Add optional predicate argument.
3704 (dir-locals-find-file): Make use of above change.
3706 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3708 * info.el (Info-insert-dir): Also try "dir.gz".
3710 2012-03-06 Glenn Morris <rgm@gnu.org>
3712 * files.el (dir-locals-find-file):
3713 Ignore non-readable or non-regular files. (Bug#10928)
3715 * files.el (locate-dominating-file): Doc fix.
3717 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3719 * calendar/calendar.el (calendar-set-mode-line):
3720 `getenv' returns a string. (Bug#10951)
3722 2012-03-05 Leo Liu <sdl.web@gmail.com>
3724 * simple.el (backward-delete-char-untabify): Constrain point to
3727 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3729 2012-03-05 Chong Yidong <cyd@gnu.org>
3731 * simple.el (count-words): If called from Lisp, return the word
3732 count, for symmetry with `count-lines'. Arglist changed.
3733 (count-words--message): Args changed. Consolidate counting code
3734 from count-words and count-words-region.
3735 (count-words-region): Caller changed.
3736 (count-lines-region): Make it an obsolete alias.
3738 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3740 * saveplace.el (save-place-to-alist)
3741 (save-place-ignore-files-regexp): Allow value nil to disable this
3744 2012-03-04 Chong Yidong <cyd@gnu.org>
3746 * faces.el (face-spec-reset-face): For the default face, reset the
3747 attributes to default values (Bug#10748).
3749 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3751 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3752 previous patch: Check `message-send-mail-function', and not the
3753 default function (bug#10897).
3755 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3757 * notifications.el (notifications-on-action-signal)
3758 (notifications-on-closed-signal): Check for unique service name of
3759 incoming event. Fix error in removing entry.
3760 (top): Register for signals with wildcard service name.
3761 (notifications-notify): Use daemon unique service name for map entries.
3763 2012-03-04 Chong Yidong <cyd@gnu.org>
3765 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3767 2012-03-04 Glenn Morris <rgm@gnu.org>
3769 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3770 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3771 (expand-abbrev, define-abbrev-table): Doc fixes.
3773 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3776 `message-default-send-mail-function' and not `send-mail-function'
3777 when doing the prompting for `sendmail-query-once' before sending
3778 in Message buffers (bug#10897).
3780 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3781 This is inconsistent with all the other stream functions, which leave
3782 the setting up to the higher levels (if so wanted) (bug#10931).
3784 2012-03-02 Alan Mackenzie <acm@muc.de>
3786 Depessimize the handling of very large macros.
3788 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3789 (c-macro-cache-syntactic): New variables to implement a one
3790 element macro cache.
3791 (c-invalidate-macro-cache): New function.
3792 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3793 Adapt to use the new cache.
3794 (c-state-safe-place): Use better the cache of safe positions.
3795 (c-state-semi-nonlit-pos-cache)
3796 (c-state-semi-nonlit-pos-cache-limit):
3797 New variables for...
3798 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3799 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3800 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3801 Use c-state-semi-safe-place.
3803 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3804 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3806 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3808 * jka-compr.el (jka-compr-call-process):
3809 Apply `file-accessible-directory-p' only when the default directory is
3812 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3814 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3815 access of FILE2, if FILE1 does not exist.
3817 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3818 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3820 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3821 Add "PAGER=" to `process-environment'.
3823 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3825 * progmodes/sql.el: Bug fix
3826 (sql-get-login-ext): Save login values in globals.
3827 (sql-get-login): Use new version of `sql-get-login-ext'.
3828 (sql-interactive-mode): Set global `sql-connection' to nil.
3829 (sql-connect): Set global values for connection.
3830 (sql-product-interactive): Save global values as buffer local.
3832 2012-02-29 Leo Liu <sdl.web@gmail.com>
3834 * abbrev.el (define-abbrevs): Reset sys to nil.
3836 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3838 * files.el (file-equal-p): Rename from `files-equal-p'.
3839 Return nil when one or both files don't exist.
3840 (file-subdir-of-p): Now only top directory must exists,
3841 return nil if it doesn't.
3842 (copy-directory): No need to test with `file-subdir-of-p' after
3844 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3847 2012-02-28 Glenn Morris <rgm@gnu.org>
3849 * shell.el (shell-mode):
3850 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3851 * play/landmark.el (landmark-font-lock-face-O):
3852 * play/handwrite.el (handwrite):
3853 * play/gomoku.el (gomoku-O):
3854 * net/browse-url.el (browse-url-browser-display):
3855 * international/mule.el (define-charset):
3856 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3857 * filesets.el (filesets-find-file-delay):
3858 * eshell/em-xtra.el (eshell-xtra):
3859 * eshell/em-unix.el (eshell-grep):
3860 * emulation/viper.el (viper-mode):
3861 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3862 * emacs-lisp/easymenu.el (easy-menu-define):
3863 * calendar/timeclock.el (timeclock-use-display-time):
3865 * bookmark.el (bookmark-save-flag):
3866 Doc fix (standardize possessive apostrophe usage).
3868 2012-02-27 Chong Yidong <cyd@gnu.org>
3870 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3871 Fix key-binding lookup for ESC key (Bug#9146).
3873 * font-lock.el (font-lock-specified-p): Rename from
3874 font-lock-spec-present. Callers changed.
3876 2012-02-27 Daniel Hackney <dan@haxney.org>
3878 * emacs-lisp/package.el (package-compute-transaction):
3879 Handle holding a package version to t in package-load-list.
3881 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3883 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3884 (tramp-get-inode, tramp-get-device): Use cached values.
3886 2012-02-26 Alan Mackenzie <acm@muc.de>
3888 Check there is a font-lock specification before doing initial
3891 * font-core.el (font-lock-mode): Move the conditional from
3892 :after-hook to font-lock-initial-fontify.
3893 (font-lock-default-function): Move the check for a specification
3894 to font-lock-spec-present.
3896 * font-lock.el (font-lock-initial-fontify): Call ...
3897 (font-lock-spec-present): New function.
3899 2012-02-26 Jim Blandy <jimb@red-bean.com>
3901 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3902 (gdb-send): Apply it to the operand of the '-interpreter-exec
3903 console' command, so that we can pass arguments with (say) quotes
3904 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3906 2012-02-26 Chong Yidong <cyd@gnu.org>
3908 * help-fns.el (describe-function-1): Clarify description of
3909 remapping (Bug#10844).
3911 * files.el (files-equal-p): Doc fix.
3912 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3913 and quit the loop once a mismatch is found.
3915 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3917 * bs.el (bs--show-with-configuration): Don't throw an error
3918 if the window cannot be split; otherwise, subsequent calls to
3919 bs-show fail, restoring a stale window config. (Bug#10882)
3921 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3923 * term/ns-win.el (global-map): Bind ns-drag-file to
3924 ns-find-file (Bug#5855, Bug#10050).
3926 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3928 * calendar/parse-time.el (parse-time-string): Allow extractor to
3931 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3933 * net/tramp.el (tramp-file-name-for-operation):
3934 Add `files-equal-p' and `file-subdir-of-p'.
3936 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3937 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3938 Add COPY-CONTENTS argument.
3940 2012-02-25 Chong Yidong <cyd@gnu.org>
3942 Add custom groups for VC backends, for consistency with vc-bzr.
3944 * vc/vc-arch.el (vc-arch):
3945 * vc/vc-cvs.el (vc-cvs):
3946 * vc/vc-git.el (vc-git):
3947 * vc/vc-hg.el (vc-hg):
3948 * vc/vc-mtn.el (vc-mtn):
3949 * vc/vc-rcs.el (vc-rcs):
3950 * vc/vc-sccs.el (vc-sccs):
3951 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3952 All relevant defcustoms reassigned.
3954 2012-02-25 Chong Yidong <cyd@gnu.org>
3956 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3958 * term/x-win.el (x-initialize-window-system): Reduce default for
3959 x-selection-timeout to 5 seconds (Bug#8869).
3961 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3963 * files.el (files-equal-p, file-subdir-of-p): New functions.
3964 (copy-directory): Error when trying to copy a directory on itself.
3965 Add missing copy-contents arg to tramp handler.
3966 * dired-aux.el (dired-copy-file-recursive): Same.
3967 (dired-create-files): Modify destination when source is equal to
3968 dest when copying files.
3969 Return also when dest is a subdir of source. (Bug#10489)
3971 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3973 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3976 2012-02-23 Alan Mackenzie <acm@muc.de>
3978 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3979 parameter "after-hook:" to allow the expansion to run code after
3980 the execution of the mode hooks.
3982 * font-lock.el (font-lock-initial-fontify): New function extracted
3983 from font-lock-mode-internal.
3985 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3988 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3991 (completion--cache-all-sorted-completions): New function.
3992 (completion-all-sorted-completions): Use it.
3993 (completion--do-completion, minibuffer-force-complete):
3994 Use it to re-instate the flush hook.
3996 * icomplete.el (icomplete-completions): Replace last fix with a better
3999 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4001 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4002 when it might call us back infinitely (bug#10797).
4004 2012-02-23 Glenn Morris <rgm@gnu.org>
4006 * minibuffer.el (completion-category-overrides): Doc fix.
4008 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4011 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4013 2012-02-23 Glenn Morris <rgm@gnu.org>
4015 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4016 (authors-obsolete-files-regexps, authors-ignored-files)
4017 (authors-ambiguous-files, authors-renamed-files-alist):
4020 2012-02-23 Juri Linkov <juri@jurta.org>
4022 * isearch.el (isearch-occur): Sync interactive spec with occur's
4023 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4025 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4027 2012-02-22 Juri Linkov <juri@jurta.org>
4029 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4030 (ucs-insert): Doc fix. Check for hex digits in the string.
4031 Don't display `nil' in the error message. (Bug#10857)
4033 2012-02-22 Alan Mackenzie <acm@muc.de>
4035 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4037 2012-02-22 Glenn Morris <rgm@gnu.org>
4039 * ffap.el (ffap-c-path):
4040 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4042 2012-02-22 Chong Yidong <cyd@gnu.org>
4044 * custom.el (load-theme): Doc fix.
4046 2012-02-22 Glenn Morris <rgm@gnu.org>
4048 * dired-x.el (dired-guess-shell-alist-default):
4049 Remove escape sequences from nroff output. (Bug#172)
4051 2012-02-21 Glenn Morris <rgm@gnu.org>
4053 * vc/emerge.el (emerge-defvar-local):
4054 Set `permanent-local' property rather than unused `preserved'.
4056 * textmodes/picture.el (picture-delete-char): New alias.
4057 (picture-mode-map): Use it. (Bug#10860)
4058 (picture-mode): Doc fix.
4060 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4062 * newcomment.el (uncomment-region-default): Remove unused binding.
4064 2012-02-21 Glenn Morris <rgm@gnu.org>
4066 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4067 (picture-self-insert, picture-tab-chars): Doc fix.
4068 (picture-mode-map): Fix C-a, C-e.
4070 2012-02-20 Glenn Morris <rgm@gnu.org>
4072 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4074 2012-02-20 Leo Liu <sdl.web@gmail.com>
4076 * icomplete.el (icomplete-completions): Check FROM arg before
4077 passing to substring (Bug#10850).
4079 2012-02-19 Chong Yidong <cyd@gnu.org>
4081 * comint.el: Require ansi-color.
4082 (comint-output-filter-functions): Add ansi-color-process-output.
4084 * ansi-color.el: Don't set comint-output-filter-functions; it is
4085 now in the initial value defined in comint.el.
4086 (ansi-color-apply-face-function): New variable.
4087 (ansi-color-apply-on-region): Use it.
4088 (ansi-color-apply-overlay-face): New function.
4090 * shell.el (shell): No need to require ansi-color.
4091 (shell-mode): Use ansi-color-apply-face-function to highlight
4092 color escapes using font-lock-face property (Bug#10835).
4094 2012-02-19 Chong Yidong <cyd@gnu.org>
4096 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4097 mode-line formats (Bug#10839).
4099 2012-02-18 Glenn Morris <rgm@gnu.org>
4101 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4103 * mail/undigest.el (unforward-rmail-message): Doc fix.
4105 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4107 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4109 * international/characters.el (script-list): Sync with the latest
4110 Unicode Character Database.
4112 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4114 * international/titdic-cnv.el: Remove duplicate coding tag.
4115 * language/cham.el: Likewise.
4116 * language/tai-viet.el: Likewise.
4118 2012-02-18 Glenn Morris <rgm@gnu.org>
4120 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4121 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4122 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4123 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4124 * calendar/holidays.el (holiday-bahai-holidays)
4125 (calendar-holidays, list-holidays):
4126 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
4128 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4130 * saveplace.el (save-place-ignore-files-regexp): New variable
4131 allowing for excluding files from saving their location of point.
4132 The default value matches the temporary commit message editing
4133 files from Git, SVN, Bazaar, and Mercurial.
4134 (save-place-to-alist): Use it.
4136 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4137 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * newcomment.el (uncomment-region-default): Don't leave extra space
4140 when an arg is provided (bug#8150).
4142 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4144 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4146 2012-02-17 Glenn Morris <rgm@gnu.org>
4148 * net/socks.el: Require network-stream. (Bug#10599)
4150 2012-02-17 Kenichi Handa <handa@m17n.org>
4152 * international/charprop.el:
4153 * international/uni-name.el:
4154 * international/uni-old-name.el:
4155 * international/uni-comment.el: Regenerate.
4157 2012-02-16 Glenn Morris <rgm@gnu.org>
4159 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4160 Interactively in calendar buffer, give an error if not on a date.
4162 2012-02-15 Glenn Morris <rgm@gnu.org>
4164 * shell.el (shell-delimiter-argument-list):
4165 Revert 2011-02-17 change. (Bug#8027)
4167 2012-02-15 Chong Yidong <cyd@gnu.org>
4169 * minibuffer.el (completion-at-point-functions): Doc fix.
4171 * custom.el (defcustom): Doc fix; note use of defvar.
4173 2012-02-15 Glenn Morris <rgm@gnu.org>
4175 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4178 2012-02-14 Glenn Morris <rgm@gnu.org>
4180 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4182 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4184 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4185 way the ports list is computed.
4186 (smtpmail-query-smtp-server): Prompt the user for a port number if
4187 we can't connect to any of the standard ports (bug#10810).
4189 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4191 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4193 2012-02-13 Glenn Morris <rgm@gnu.org>
4195 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4197 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4199 * net/gnutls.el (gnutls-trustfiles): New variable.
4200 (gnutls-negotiate): Use it.
4202 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4204 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4205 does its stuff if Gnus is running.
4207 2012-02-13 Alan Mackenzie <acm@muc.de>
4209 Fix a loop in c-set-fl-decl-start.
4211 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4212 c-backward-syntactic-ws actually moves backwards.
4214 2012-02-13 Leo Liu <sdl.web@gmail.com>
4216 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4217 beginning so that all \C-o chars are removed.
4219 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4221 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4223 2012-02-12 Alan Mackenzie <acm@muc.de>
4225 Fix infinite loop with long macros.
4226 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4228 2012-02-12 Chong Yidong <cyd@gnu.org>
4230 * window.el (display-buffer): Doc fix (Bug#10785).
4232 2012-02-12 Glenn Morris <rgm@gnu.org>
4234 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4235 (x-disown-selection-internal, x-get-selection-internal):
4236 Sync docs with the xselect.c versions.
4238 * allout-widgets.el: Add missing license notice.
4240 2012-02-11 Glenn Morris <rgm@gnu.org>
4242 * select.el (x-get-selection-internal, x-own-selection-internal)
4243 (x-disown-selection-internal):
4244 * x-dnd.el (x-get-selection-internal): Update declarations.
4246 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4248 * window.el (window-sides-slots):
4249 * tool-bar.el (tool-bar-position):
4250 * term/xterm.el (xterm-extra-capabilities):
4251 * ses.el (ses-self-reference-early-detection):
4252 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4253 (verilog-auto-wire-type)
4254 (verilog-auto-delete-trailing-whitespace)
4255 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4256 (verilog-auto-tieoff-declaration):
4257 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4258 (sql-oracle-statement-starters, sql-oracle-scan-on):
4259 * progmodes/prolog.el (prolog-align-comments-flag)
4260 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4261 (prolog-left-indent-regexp, prolog-paren-indent-p)
4262 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4263 (prolog-types, prolog-mode-specificators)
4264 (prolog-determinism-specificators, prolog-directives)
4265 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4266 (prolog-electric-dot-flag)
4267 (prolog-electric-dot-full-predicate-template)
4268 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4269 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4270 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4271 (prolog-program-switches, prolog-prompt-regexp)
4272 (prolog-debug-on-string, prolog-debug-off-string)
4273 (prolog-trace-on-string, prolog-trace-off-string)
4274 (prolog-zip-on-string, prolog-zip-off-string)
4275 (prolog-use-standard-consult-compile-method-flag)
4276 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4277 (prolog-imenu-max-lines, prolog-info-predicate-index)
4278 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4279 (prolog-char-quote-workaround):
4280 * progmodes/cc-vars.el (c-defun-tactic):
4281 * net/tramp.el (tramp-encoding-command-interactive)
4282 (tramp-local-end-of-line):
4283 * net/soap-client.el (soap-client):
4284 * net/netrc.el (netrc-file):
4285 * net/gnutls.el (gnutls):
4286 * minibuffer.el (completion-category-overrides)
4287 (completion-cycle-threshold)
4288 (completion-pcm-complete-word-inserts-delimiters):
4289 * man.el (Man-name-local-regexp):
4290 * mail/feedmail.el (feedmail-display-full-frame):
4291 * international/characters.el (glyphless-char-display-control):
4292 * eshell/em-ls.el (eshell-ls-date-format):
4293 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4294 (lisp-lambda-list-keyword-parameter-indentation)
4295 (lisp-lambda-list-keyword-parameter-alignment):
4296 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4297 * dired-x.el (dired-omit-verbose):
4298 * cus-theme.el (custom-theme-allow-multiple-selections):
4299 * calc/calc.el (calc-highlight-selections-with-faces)
4300 (calc-lu-field-reference, calc-lu-power-reference)
4301 (calc-note-threshold):
4302 * battery.el (battery-mode-line-limit):
4303 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4304 (archive-7z-update):
4305 * allout.el (allout-prefixed-keybindings)
4306 (allout-unprefixed-keybindings)
4307 (allout-inhibit-auto-fill-on-headline)
4308 (allout-flattened-numbering-abbreviation):
4309 * allout-widgets.el (allout-widgets-auto-activation)
4310 (allout-widgets-icons-dark-subdir)
4311 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4312 (allout-widgets-theme-dark-background)
4313 (allout-widgets-theme-light-background)
4314 (allout-widgets-item-image-properties-emacs)
4315 (allout-widgets-item-image-properties-xemacs)
4316 (allout-widgets-run-unit-tests-on-load)
4317 (allout-widgets-time-decoration-activity)
4318 (allout-widgets-hook-error-post-time)
4319 (allout-widgets-track-decoration):
4320 Add missing :version tags to new defcustoms and defgroups.
4322 * progmodes/sql.el (sql-ansi-statement-starters)
4323 (sql-oracle-statement-starters): Add custom type.
4325 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4326 (prolog-system-version): Give it a type.
4328 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4330 * term/pc-win.el (x-select-text, x-selection-owner-p)
4331 (x-own-selection-internal, x-disown-selection-internal)
4332 (x-get-selection-internal): Sync doc strings and argument lists
4333 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4335 2012-02-11 Leo Liu <sdl.web@gmail.com>
4337 * progmodes/python.el (python-end-of-statement): Fix infinite
4340 2012-02-10 Glenn Morris <rgm@gnu.org>
4342 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4343 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4345 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4347 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4348 about SMTP before checking the From header.
4350 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4351 into own function for reuse by emacsbug.el.
4353 2012-02-10 Leo Liu <sdl.web@gmail.com>
4355 * subr.el (condition-case-unless-debug): Rename from
4356 condition-case-no-debug. All callers changed.
4357 (with-demoted-errors): Fix caller.
4359 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4360 * nxml/rng-valid.el (rng-do-some-validation):
4361 * emacs-lisp/package.el (package-refresh-contents)
4362 (package-menu-execute):
4363 * desktop.el (desktop-create-buffer):
4364 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4366 2012-02-10 Glenn Morris <rgm@gnu.org>
4368 * textmodes/bibtex.el:
4369 Add missing :version tags for new/changed defcustoms.
4371 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4373 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4375 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4376 (smtpmail-via-smtp): Use it, or fall back on the From address.
4377 (smtpmail-send-it): Ditto.
4379 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4381 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4382 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4383 (byte-compile-tmp-var): New const.
4384 (byte-compile-defvar): Use it to minimize .elc size.
4385 Just use `defvar' rather than simulate it (bug#10761).
4387 2012-02-09 Glenn Morris <rgm@gnu.org>
4389 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4391 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4394 * progmodes/compile.el (compilation-error-screen-columns)
4395 (compilation-first-column, compilation-filter-start): Doc fixes.
4397 * vc/log-view.el (log-view-toggle-entry-display):
4398 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4400 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4401 (report-emacs-bug-can-use-xdg-email):
4402 (report-emacs-bug-insert-to-mailer): Doc fixes.
4403 (report-emacs-bug): Message fix.
4405 * net/browse-url.el (browse-url-can-use-xdg-open)
4406 (browse-url-xdg-open): Doc fixes.
4408 * electric.el (electric-indent-mode, electric-pair-mode)
4409 (electric-layout-rules, electric-layout-mode): Doc fixes.
4410 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4412 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4414 * server.el (server-unselect-display): Don't inadvertently kill
4415 the current buffer. (Bug#10729)
4417 2012-02-08 Glenn Morris <rgm@gnu.org>
4419 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4420 (sql-list-table): Doc fixes.
4422 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4423 Comment out (does nothing).
4425 * completion.el (dynamic-completion-mode):
4426 * dirtrack.el (dirtrack-debug-mode):
4427 * electric.el (electric-layout-mode):
4428 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4429 * face-remap.el (text-scale-mode, buffer-face-mode):
4430 * iimage.el (iimage-mode):
4431 * image-mode.el (image-transform-mode):
4432 * minibuffer.el (completion-in-region-mode):
4433 * scroll-lock.el (scroll-lock-mode):
4434 * simple.el (next-error-follow-minor-mode):
4435 * tar-mode.el (tar-subfile-mode):
4436 * tooltip.el (tooltip-mode):
4437 * vcursor.el (vcursor-use-vcursor-map):
4438 * wid-browse.el (widget-minor-mode):
4439 * emulation/tpu-edt.el (tpu-edt-mode):
4440 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4441 * international/iso-ascii.el (iso-ascii-mode):
4442 * language/thai-util.el (thai-word-mode):
4443 * mail/supercite.el (sc-minor-mode):
4444 * net/goto-addr.el (goto-address-mode):
4445 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4446 * progmodes/cwarn.el (cwarn-mode):
4447 * progmodes/flymake.el (flymake-mode):
4448 * progmodes/glasses.el (glasses-mode):
4449 * progmodes/hideshow.el (hs-minor-mode):
4450 * progmodes/pascal.el (pascal-outline-mode):
4451 * textmodes/enriched.el (enriched-mode):
4452 * vc/smerge-mode.el (smerge-mode):
4453 Doc fixes (minor mode argument).
4455 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4457 * ls-lisp.el (ls-lisp-sanitize): New function.
4458 (ls-lisp-insert-directory): Use it to fix or remove any elements
4459 in file-alist with missing attributes. (Bug#4673)
4461 2012-02-07 Alan Mackenzie <acm@muc.de>
4463 Fix spurious recognition of c-in-knr-argdecl.
4465 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4466 putative K&R region.
4468 2012-02-07 Alan Mackenzie <acm@muc.de>
4470 * progmodes/cc-engine.el (c-forward-objc-directive):
4471 Prevent looping in "#pragma mark @implementation".
4473 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
4475 * notifications.el (notifications-on-closed-signal): Make `reason'
4476 optional. (Bug#10744)
4478 2012-02-07 Glenn Morris <rgm@gnu.org>
4480 * emacs-lisp/easy-mmode.el (define-minor-mode):
4481 Doc fixes for the macro and the mode it defines.
4483 * image.el (imagemagick-types-inhibit): Doc fix.
4485 * cus-start.el (imagemagick-render-type): Add it.
4487 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4489 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4490 Set the default at load time, too, so that `font-lock-fontify-buffer'
4491 can be called without setting up the entire mode first. This fixes
4492 a bug in `mm-inline-text' with C MIME parts.
4494 2012-02-06 Chong Yidong <cyd@gnu.org>
4496 * simple.el (list-processes--refresh): Delete exited processes
4499 * comint.el (comint-next-prompt): next-single-char-property-change
4500 and prev-single-char-property-change never return nil (Bug#8657).
4502 * custom.el (defcustom): Doc fix (Bug#9711).
4504 2012-02-05 Chong Yidong <cyd@gnu.org>
4506 * cus-edit.el (custom-variable-reset-backup): Quote the value
4507 before storing it in the customized-value property (Bug#6712).
4508 (custom-display): Add a customization type tag.
4509 (custom-buffer-create-internal): Improve tooltip message.
4511 * wid-edit.el (widget-field-value-get): New optional arg to
4512 suppress trailing whitespace truncation.
4513 (character): Use it (Bug#2689).
4515 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4517 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4518 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4520 2012-02-05 Chong Yidong <cyd@gnu.org>
4522 * cus-edit.el (custom-variable-value-create): For mismatched
4523 types, show the current value (Bug#7600).
4525 * custom.el (defcustom): Doc fix.
4527 2012-02-05 Glenn Morris <rgm@gnu.org>
4529 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4531 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
4533 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4534 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4535 (pp-last-sexp): Use `looking-at-p'.
4537 2012-02-04 Glenn Morris <rgm@gnu.org>
4539 * files.el (revert-buffer):
4540 Doc fix (mention revert-buffer-in-progress-p).
4542 * emacs-lisp/ert-x.el (ert-simulate-command):
4543 Check deferred-action-list (which is obsolete) is bound.
4545 * subr.el (with-wrapper-hook): Doc fixes.
4547 * simple.el (filter-buffer-substring-functions)
4548 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4550 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4552 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4553 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4555 2012-02-04 Leo Liu <sdl.web@gmail.com>
4557 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4559 2012-02-04 Glenn Morris <rgm@gnu.org>
4561 * image.el (image-extension-data): Add obsolete alias.
4563 * isearch.el (isearch-update): Doc fix.
4565 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4567 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4569 2012-02-03 Glenn Morris <rgm@gnu.org>
4571 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4572 (image-animate-timeout): Doc fix.
4574 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4576 2012-02-02 Glenn Morris <rgm@gnu.org>
4578 * server.el (server-auth-dir): Doc fix.
4579 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4581 * subr.el (run-mode-hooks): Doc fix.
4583 2012-02-02 Juri Linkov <juri@jurta.org>
4585 * image-mode.el (image-toggle-display-image): Remove tautological
4586 `major-mode' from the `derived-mode-p' test.
4588 2012-02-02 Kenichi Handa <handa@m17n.org>
4590 * composite.el (compose-region): Cancel previous change.
4592 2012-02-02 Kenichi Handa <handa@m17n.org>
4594 * composite.el (compose-region, compose-string): Signal error for
4595 a null string component (Bug#6988).
4597 2012-02-01 Chong Yidong <cyd@gnu.org>
4599 * view.el (view-buffer-other-window, view-buffer-other-frame):
4600 Handle special modes like view-buffer (Bug#10650).
4601 (view-buffer): Simplify.
4603 * frame.el (set-frame-font): Tweak meaning of third argument.
4605 * dynamic-setting.el (font-setting-change-default-font):
4606 Use set-frame-font (Bug#9982).
4608 2012-02-01 Glenn Morris <rgm@gnu.org>
4610 * progmodes/compile.el (compilation-internal-error-properties):
4611 Respect compilation-first-column in the "*compilation*" buffer.
4613 * emacs-lisp/easy-mmode.el (define-minor-mode):
4614 Relax :variable's test for a named function.
4616 2012-01-31 Alan Mackenzie <acm@muc.de>
4618 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4621 2012-01-31 Chong Yidong <cyd@gnu.org>
4623 * frame.el (set-frame-font): New arg ALL-FRAMES.
4625 * menu-bar.el (menu-set-font): Use set-frame-font.
4627 * faces.el (face-spec-reset-face): Don't apply unspecified
4628 attribute values to the default face.
4630 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4632 * progmodes/cwarn.el (cwarn): Remove dead link.
4633 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4634 Remove * from defcustom docstrings.
4635 (turn-on-cwarn-mode): Make obsolete.
4636 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4637 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4639 2012-01-31 Glenn Morris <rgm@gnu.org>
4641 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4642 Fix :variable handling of mode a symbol not equal to modefun.
4643 Allow named functions to be used as the cdr of :variable.
4645 2012-01-30 Glenn Morris <rgm@gnu.org>
4647 * emacs-lisp/authors.el (authors-fixed-entries):
4648 Remove reference to deleted file rnewspost.el.
4650 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4652 * window.el (window-with-parameter): Remove unused variable `windows'.
4653 (window--side-check): Remove unused variable `code'.
4654 (window--resize-siblings): Remove unused variable `first'.
4655 (adjust-window-trailing-edge): Remove unused variable `failed'.
4656 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4657 Use `let', not `let*'.
4658 (balance-windows-2): Remove unused variable `found'.
4659 (window--state-put-2): Remove unused variable `splits'.
4660 (window-state-put): Remove unused variable `selected'.
4661 (same-window-p): Use `string-match-p'.
4662 (display-buffer-assq-regexp): Remove unused variable `value'.
4663 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4664 Mark argument ALIST as ignored.
4665 (pop-to-buffer): Remove unused variable `old-window'.
4667 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4669 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4670 and .lzma compressed files.
4672 2012-01-29 Chong Yidong <cyd@gnu.org>
4674 * frame.el (window-system-default-frame-alist): Doc fix.
4676 * dynamic-setting.el (font-setting-change-default-font): Don't
4677 change the default face if SET-FONT argument is non-nil (Bug#9982).
4679 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4681 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4683 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4685 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4686 breakpoints in files outside current directory (Bug#6098).
4688 2012-01-29 Chong Yidong <cyd@gnu.org>
4690 * progmodes/python.el: Require ansi-color at top-level.
4692 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4693 Define and use in Emacs Lisp mode (Bug#9360).
4694 (lisp-mode-abbrev-table): Add doc.
4695 (lisp-mode-variables): Don't set local-abbrev-table.
4696 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4698 2012-01-28 Roland Winkler <winkler@gnu.org>
4700 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4702 2012-01-28 Roland Winkler <winkler@gnu.org>
4704 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4705 (bibtex-set-dialect): Use it. Either set global values of
4706 dialect-dependent variables or bind these variables buffer-locally
4708 (bibtex-mode): Call bibtex-set-dialect via
4709 hack-local-variables-hook.
4710 (bibtex-dialect): Update docstring.
4711 Add safe-local-variable predicate.
4712 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4714 (bibtex-mode-map): Define menu for each dialect.
4715 (bibtex-entry): Fix docstring.
4717 2012-01-28 Chong Yidong <cyd@gnu.org>
4719 * eshell/esh-arg.el (eshell-quote-argument): New function.
4721 * eshell/esh-ext.el (eshell-invoke-batch-file):
4722 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4723 first arg to eshell-parse-command (Bug#10523).
4725 2012-01-28 Drew Adams <drew.adams@oracle.com>
4727 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4728 `default-directory' is non-nil.
4730 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4732 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4733 line that displays system-configuration-options. (Bug#9924)
4735 2012-01-28 Drew Adams <drew.adams@oracle.com>
4737 * descr-text.el (describe-char): Show information about POS, in
4738 addition to information about the character at POS. Improve and
4739 update the doc string. Change "code point" to "code point in
4740 charset", to avoid confusion with the character's Unicode code
4741 point shown above that. (Bug#10129)
4743 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4745 * descr-text.el (describe-char): Show the raw character, not only
4746 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4747 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4750 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4752 * emacs-lisp/package.el (package-install):
4753 Run package-refresh-contents if there is no archive yet (Bug#9798).
4755 2012-01-28 Chong Yidong <cyd@gnu.org>
4757 * emacs-lisp/package.el (package-maybe-load-descriptor):
4758 New function, split from package-maybe-load-descriptor.
4759 (package-maybe-load-descriptor): Use it.
4760 (package-download-transaction): Fully load required packages
4761 inside the loop, so that `require' calls work (Bug#10593).
4762 (package-install): No need to call package-initialize now.
4764 2012-01-28 Chong Yidong <cyd@gnu.org>
4766 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4768 * tooltip.el (tooltip-mode): Doc fix.
4769 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4771 * frame.el (set-cursor-color): Doc fix (Bug#352).
4773 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4774 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4776 * cus-edit.el (custom-buffer-create-internal): Fix search button
4778 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4780 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4782 * dired.el (dired-mark-files-regexp):
4783 Include any subdirectory components. (Bug#10445)
4785 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4787 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4788 Handle [host]:port syntax. (Bug#10533)
4790 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4792 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4794 2012-01-26 Glenn Morris <rgm@gnu.org>
4796 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4797 * term.el (term-raw-escape-map): Use Control-X-prefix.
4798 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4800 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4802 * window.el (window-state-get, window--state-get-1): Don't deal
4803 with fixed-sizeness of windows. Simplify code.
4805 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4807 * window.el (window--state-get-1, window--state-put-2):
4808 Don't save and restore the mark.
4810 2012-01-25 Chong Yidong <cyd@gnu.org>
4812 * custom.el (custom-variable-p): Doc fix.
4814 2012-01-25 Glenn Morris <rgm@gnu.org>
4816 * dired.el (dired-goto-file): Handle some of the more common
4817 characters that `ls -b' escapes. (Bug#10596)
4819 * progmodes/compile.el (compilation-next-error-function):
4820 Respect compilation-first-column in the "*compilation*" buffer.
4821 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4823 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4825 2012-01-24 Glenn Morris <rgm@gnu.org>
4827 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4829 2012-01-24 Julien Danjou <julien@danjou.info>
4831 * color.el (color-rgb-to-hsl): Fix value computing.
4832 (color-hue-to-rgb): New function.
4833 (color-hsl-to-rgb): New function.
4834 (color-clamp, color-saturate-hsl, color-saturate-name)
4835 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4836 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4838 2012-01-24 Glenn Morris <rgm@gnu.org>
4840 * vc/vc-rcs.el (vc-rcs-create-tag):
4841 * vc/vc-sccs.el (vc-sccs-create-tag):
4842 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4844 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4846 * eshell/esh-util.el (eshell-read-hosts-file):
4847 Skip comment lines. (Bug#10549)
4849 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4851 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4853 * subr.el (display-delayed-warnings): Doc fix.
4854 (collapse-delayed-warnings): New function to collapse identical
4856 (delayed-warnings-hook): Add it.
4858 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4860 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4862 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4863 properties, when "login-as" is set.
4865 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4866 (tramp-default-user-alist): Don't add "pscp".
4867 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4868 property "login-as", if set. (Bug#10530)
4870 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4872 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4873 "plink1" and "psftp". (Bug#10530)
4875 2012-01-21 Kenichi Handa <handa@m17n.org>
4877 * international/mule-cmds.el (prefer-coding-system): Show a
4878 warning message if the default value of file-name-coding-system
4881 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4883 * windmove.el (windmove-reference-loc):
4884 Fix windmove-reference-loc miscalculation.
4886 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4888 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4891 2012-01-21 Glenn Morris <rgm@gnu.org>
4893 * international/mule.el (auto-coding-alist): Add .tbz.
4895 * files.el (local-enable-local-variables): Doc fix.
4896 (inhibit-local-variables-regexps): Rename from
4897 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4898 Doc fix. Add some extensions from auto-coding-alist.
4899 (inhibit-local-variables-suffixes):
4900 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4901 (inhibit-local-variables-p):
4902 New function, extracted from set-auto-mode-1.
4903 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4904 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4905 (hack-local-variables): Doc fix. Make the mode-only case
4906 respect enable-local-variables and friends.
4907 Respect inhibit-local-variables-regexps for file-locals, but
4908 not for directory-locals.
4909 (set-visited-file-name):
4910 Take account of inhibit-local-variables-regexps.
4911 Whether it applies may change as the file name is changed.
4912 * jka-cmpr-hook.el (jka-compr-install):
4913 * jka-compr.el (jka-compr-uninstall):
4914 Update for inhibit-first-line-modes-suffixes name change.
4916 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4918 * help-macro.el (make-help-screen): Temporarily restore original
4919 binding for minor-mode-map-alist (Bug#10454).
4921 2012-01-19 Julien Danjou <julien@danjou.info>
4923 * color.el (color-name-to-rgb): Use the white color to find the max
4924 color component value and return correctly computed values.
4925 (color-name-to-rgb): Add missing float conversion for max value.
4927 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4929 * window.el (window--state-get-1, window-state-get): Do not use
4930 special state value for window-persistent-parameters.
4931 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4932 (window--state-put-2): Reset all window parameters to nil before
4933 assigning values of persistent parameters.
4935 2012-01-18 Alan Mackenzie <acm@muc.de>
4937 Eliminate sluggishness and hangs in fontification of "semicolon
4940 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4941 Change value 10000 -> 3000.
4942 (c-state-safe-place): Reformulate so it doesn't stack up an
4943 infinite number of wrong entries in c-state-nonlit-pos-cache.
4944 (c-determine-limit-get-base, c-determine-limit): New functions to
4945 determine backward search limits disregarding literals.
4946 (c-find-decl-spots): Amend commenting.
4947 (c-cheap-inside-bracelist-p): New function which detects "={".
4949 * progmodes/cc-fonts.el
4950 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4952 (c-font-lock-declarations): Fix an occurrence of point being
4953 undefined. Check additionally for point being in a bracelist or
4954 near a macro invocation without a semicolon so as to avoid a
4955 fruitless time consuming search for a declarator. Give a more
4956 precise search limit for declarators using the new
4959 2012-01-18 Glenn Morris <rgm@gnu.org>
4961 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4962 (set-auto-mode): Doc fixes.
4964 2012-01-17 Glenn Morris <rgm@gnu.org>
4966 * isearch.el (search-nonincremental-instead): Fix doc typo.
4968 * dired.el (dired-insert-directory): Handle newlines in directory name.
4969 (dired-build-subdir-alist): Unescape newlines in directory name.
4971 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4973 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4974 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4975 (tramp-action-terminal): Use it. (Bug#10530)
4977 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4979 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4981 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4983 * window.el (window-state-ignored-parameters): Remove variable.
4984 (window--state-get-1): Rename argument MARKERS to IGNORE.
4985 Handle persistent window parameters. Make copy of clone-of
4986 parameter only if requested. (Bug#10348)
4987 (window--state-put-2): Install a window parameter only if it has
4988 a non-nil value or an existing parameter shall be overwritten.
4990 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4992 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4994 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4996 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4997 don't pass the (nil) value of `upnode' to string-match.
4999 2012-01-14 Chong Yidong <cyd@gnu.org>
5001 * startup.el (command-line): Fix X resource class for cursorColor.
5002 Fix values recognized by the cursorBlink resource.
5004 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5006 * epg.el (epg--make-temp-file): Avoid permission race condition
5007 when running on old Emacs versions (bug#10403).
5009 2012-01-14 Glenn Morris <rgm@gnu.org>
5011 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5013 2012-01-13 Alan Mackenzie <acm@muc.de>
5015 Fix filling for when filladapt mode is enabled.
5017 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5018 c-mask-paragraph, pass in `fill-paragraph' rather than
5019 `fill-region-as-paragraph'. (This is a reversion of a previous
5021 * progmodes/cc-mode.el (c-basic-common-init):
5022 Make fill-paragraph-handle-comment buffer local and set it to nil.
5024 2012-01-13 Glenn Morris <rgm@gnu.org>
5026 * dired.el (dired-switches-escape-p): New function.
5027 (dired-insert-directory): Use dired-switches-escape-p.
5028 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5030 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5032 2012-01-12 Glenn Morris <rgm@gnu.org>
5034 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5035 changes in adaptive-fill-regexp. (Bug#10276)
5037 2012-01-11 Alan Mackenzie <acm@muc.de>
5039 Fix Emacs bug #10463 - put `widen's around the critical spots.
5041 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5042 widen around each invocation of c-state-pp-to-literal. Remove an
5043 unused let variable.
5045 2012-01-11 Glenn Morris <rgm@gnu.org>
5047 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5050 2012-01-10 Chong Yidong <cyd@gnu.org>
5052 * net/network-stream.el (network-stream-open-starttls):
5053 Avoid emitting a confusing error message when the server gives a bad
5054 response to the capability command.
5056 2012-01-10 Glenn Morris <rgm@gnu.org>
5058 * mail/unrmail.el (unrmail): Tweak previous change.
5060 2012-01-09 Chong Yidong <cyd@gnu.org>
5062 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5064 2012-01-08 Alan Mackenzie <acm@muc.de>
5066 Optimise font locking in long enum definitions.
5068 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5069 arm to a cond form to handle enums.
5070 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5071 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5073 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5075 * files.el (move-file-to-trash): Preserve default file modes on error.
5078 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5080 * faces.el (set-face-attribute): Clarify the meaning of the nil
5083 * subr.el (with-selected-frame): Mention that the selected frame
5084 is restored (bug#9980).
5086 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5089 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5090 (password-read): Don't autoload unused function.
5092 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5094 * progmodes/which-func.el (which-func-mode): Turn into a
5095 non-interactive function and mark as obsolete (bug#10428).
5097 2012-01-06 Chong Yidong <cyd@gnu.org>
5099 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5100 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5101 functions, along with 1 and -1.
5103 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5105 * time.el (display-time-load-average)
5106 (display-time-default-load-average): Doc fixes. See the thread
5108 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5111 2012-01-06 Glenn Morris <rgm@gnu.org>
5113 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5114 has no messages. (Bug#10377)
5116 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5117 than Info-edit. (Bug#10385)
5119 * time.el (display-time-load-average, display-time-next-load-average):
5122 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5123 local setting of buffer-read-only to the input buffer. (Bug#10419)
5125 * calendar/calendar.el (calendar-mode):
5126 Locally set scroll-margin to 0. (Bug#10379)
5128 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5130 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5132 2012-01-05 Glenn Morris <rgm@gnu.org>
5134 * eshell/em-unix.el (diff-no-select): Autoload it.
5135 (eshell/diff): Use diff-no-select. (Bug#10420)
5137 2012-01-05 Chong Yidong <cyd@gnu.org>
5139 * shell.el (shell-dynamic-complete-functions): Revert last change.
5140 (shell-command-completion-function): New function.
5141 (shell-completion-vars): Use it to implement
5142 shell-completion-execonly (Bug#10417).
5144 * custom.el (enable-theme): Don't set custom-safe-themes.
5146 * cus-theme.el (custom-theme-merge-theme):
5147 Ignore custom-enabled-themes and custom-safe-themes.
5149 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5151 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5152 first prompt in `sql-interacive-mode'.
5153 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5155 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5156 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5157 context of original buffer. Invoke `sql-login-hook'.
5159 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5161 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5162 letters in cite-prefix.
5164 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5168 2012-01-03 Chong Yidong <cyd@gnu.org>
5170 * shell.el (shell-dynamic-complete-functions):
5171 Put pcomplete-completions-at-point, so as to try
5172 comint-filename-completion first (Bug#10417).
5174 2012-01-02 Richard Stallman <rms@gnu.org>
5176 * battery.el (battery-status-function):
5177 Detect when to use battery-yeeloong-sysfs.
5178 (battery-echo-area-format): Add string for Yeeloong.
5179 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5180 (battery-yeeloong-sysfs): New function.
5182 2012-01-02 Chong Yidong <cyd@gnu.org>
5184 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5185 (dirtrack): Merge code for handling relative filenames in prompt
5186 from shell-dir-cookie-watcher.
5187 (dirtrack-debug-message): New arg to avoid excess format calls.
5189 * shell.el (shell-dir-cookie-re): Variable deleted.
5190 (shell-dir-cookie-watcher): Function deleted.
5191 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5194 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5196 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5197 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5200 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5202 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5204 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5206 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5207 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5209 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5211 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5212 also for alternative shells.
5213 (tramp-open-connection-setup-interactive-shell): Check, whether
5214 the shell is a busybox.
5215 (tramp-send-command): Don't suppress multiple prompts for
5216 busyboxes, it hurts.
5218 2011-12-28 Chong Yidong <cyd@gnu.org>
5220 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5221 (gdb-get-source-file): Move mode line update to
5222 gdb-get-source-file (Bug#10087).
5224 2011-12-25 Chong Yidong <cyd@gnu.org>
5226 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5227 gud-gdb-marker-filter without taking it as an argument.
5228 (gud-gdb-run-command-fetch-lines): Caller changed.
5229 (gud-gdb-completion-function): New variable.
5230 (gud-gdb-completion-at-point): Use it.
5231 (gud-gdb-completions-1): Split from gud-gdb-completions.
5233 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5234 function as separate arguments.
5235 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5236 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5237 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5238 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5239 (gdb-stopped, def-gdb-auto-update-trigger)
5240 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5241 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5243 (gud-gdbmi-completions): New function.
5244 (gdb): Use it for generating the completion table.
5246 2011-12-24 Alan Mackenzie <acm@muc.de>
5248 Introduce a mechanism to widen the region used in context font
5249 locking. Use this to protect declarations from losing their contexts.
5251 * progmodes/cc-langs.el (c-before-font-lock-functions):
5252 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5253 (c-before-context-fontification-functions): New defvar, a list of
5254 functions to be run just before context (etc.) font locking.
5256 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5257 New, functionality extracted from
5258 c-neutralize-syntax-in-and-mark-CPP.
5259 (c-in-after-change-fontification): New variable.
5260 (c-after-change): Set c-in-after-change-fontification.
5261 (c-set-fl-decl-start): Rejig its interface, so it can be called
5262 from both after-change and context fontifying.
5263 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5265 (c-standard-font-lock-fontify-region-function): New variable.
5266 (c-font-lock-fontify-region): New function.
5268 2011-12-24 Juri Linkov <juri@jurta.org>
5270 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5273 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5275 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5276 existence of source file. (Bug#10325)
5278 2011-12-23 Alan Mackenzie <acm@muc.de>
5280 Fix unstable fontification inside templates.
5282 * progmodes/cc-langs.el (c-before-font-lock-functions):
5283 Newly created from the singular version. The (c c++ objc) entry now
5284 additionally has c-set-fl-decl-start. The other languages (apart
5285 from AWK) have that as a single entry.
5287 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5288 The functionality for "local" declarations has been extracted to
5289 c-set-fl-decl-start.
5291 * progmodes/cc-mode.el (c-common-init, c-after-change):
5292 Changes due to pluralisation of c-before-font-lock-functions.
5293 (c-set-fl-decl-start): New function, extracted from
5294 c-font-lock-enclosing-decls and enhanced.
5296 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5298 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5300 2011-12-22 Juri Linkov <juri@jurta.org>
5302 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5304 2011-12-22 Chong Yidong <cyd@gnu.org>
5306 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5308 2011-12-21 Drew Adams <drew.adams@oracle.com>
5310 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5312 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5314 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5316 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5318 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5319 highlighting and support. Fix up comments for capitalization.
5320 (cfengine-mode-debug): New var.
5321 (cfengine3-mode): Change the modeline indicator to "CFE3".
5322 (cfengine3-font-lock-keywords): Improve defun highlighting.
5323 (cfengine2-actions): Rename from `cfengine-actions'.
5324 (cfengine2-font-lock-keywords): Rename from
5325 `cfengine-font-lock-keywords'.
5326 (cfengine2-imenu-expression): Rename from
5327 `cfengine-imenu-expression'.
5328 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5329 (cfengine2-beginning-of-defun): Rename from
5330 `cfengine-beginning-of-defun'.
5331 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5332 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5333 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5334 modeline indicator to "CFE2".
5335 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5336 (cfengine-mode-abbrevs): Mark obsolete.
5338 2011-12-21 Chong Yidong <cyd@gnu.org>
5340 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5343 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5345 * window.el (window-normalize-buffer-to-display): Remove.
5346 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5348 2011-12-19 Chong Yidong <cyd@gnu.org>
5350 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5351 Don't signal an error in a predicate function; return non-nil.
5352 (vc-dir-mark-file): Move the error here.
5353 (vc-dir-mark-unmark): If acting on the region, keep going if one
5354 of the entries cannot be marked/unmarked.
5355 (vc-dir-mark-all-files): If current entry is a directory, mark
5356 only child files, as documented.
5358 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5360 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5361 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5364 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5366 * term/ns-win.el (ns-get-selection-internal)
5367 (ns-store-selection-internal): Declare.
5368 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5369 Declare as obsolete.
5370 (ns-get-pasteboard, ns-paste-secondary):
5371 Use ns-get-selection-internal.
5372 (ns-set-pasteboard, ns-copy-including-secondary):
5373 Use ns-store-selection-internal.
5375 2011-12-17 Chong Yidong <cyd@gnu.org>
5377 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5378 (vc-deduce-fileset): Doc fix.
5380 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5382 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5384 2011-12-13 Sam Steingold <sds@gnu.org>
5386 * man.el (Man-getpage-in-background): When running under a
5387 window-system, ignore $MANWIDTH and $COLUMNS.
5389 2011-12-15 Kenichi Handa <handa@m17n.org>
5391 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5392 (setup-ethiopic-environment-internal): Comment out key-binding for
5393 ethio-toggle-punctuation.
5395 2011-12-13 Alan Mackenzie <acm@muc.de>
5397 Add the switch statement to AWK Mode.
5399 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5400 "default" to the keywords regexp.
5402 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5403 expression as the rest.
5404 (c-nonlabel-token-key): Allow string literals for AWK.
5405 Refactor for the other modes.
5407 Large brace-block initialisation makes CC Mode slow: Fix.
5408 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5409 routines. Limit backward searching in c-font-lock-enclosing.decl.
5411 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5412 pp-state and literal type in addition to the limits.
5413 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5414 (c-state-literal-at): Use the above new defun.
5415 (c-slow-in-literal, c-fast-in-literal): Remove.
5416 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5418 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5419 being in a literal. Add a limit for backward searching.
5421 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5424 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5428 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5430 * window.el (delete-other-windows): Use correct frame in call to
5431 window-with-parameter.
5433 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5435 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5436 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5437 (makefile-gmake-statements, makefile-makepp-statements):
5438 Use it and add new makepp keywords.
5439 (makefile-makepp-font-lock-keywords): Add new patterns.
5440 (makefile-match-function-end): Match new [...] and [[...]].
5442 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5444 * ses.el (ses-call-printer-return, ses-cell-property-get)
5445 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5446 (ses-create-cell-variable, ses-reset-header-string)
5447 (ses-cell-set-formula, ses-repair-cell-reference-all)
5448 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5449 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5450 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5451 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5452 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5453 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5454 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5455 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5456 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5457 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5458 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5459 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5461 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5463 * ses.el: The overall change is to add cell renaming, that is
5464 setting fancy names for cell symbols other than name matching
5465 "\\`[A-Z]+[0-9]+\\'" regexp .
5466 (ses-create-cell-variable): New defun.
5467 (ses-relocate-formula): Relocate formulas only for cells the
5468 symbols of which are not renamed, i.e. symbols whose names do not
5469 match regexp "\\`[A-Z]+[0-9]+\\'".
5470 (ses-relocate-all): Relocate values only for cells the symbols of
5471 which are not renamed.
5472 (ses-load): Create cells variables as the (ses-cell ...) are read,
5473 in order to check row col consistency with cell symbol name only
5474 for cells that are not renamed.
5475 (ses-replace-name-in-formula): New defun.
5476 (ses-rename-cell): New defun.
5478 2011-12-11 Chong Yidong <cyd@gnu.org>
5480 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5481 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5483 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5485 * window.el (other-window): Fix docstring.
5487 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5489 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
5490 `from' or `to' address before taking its substring.
5491 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
5492 encoded name is chopped in the middle of the encoded string, and
5493 thus displayed encoded.
5495 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
5497 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5499 2011-12-10 Eli Zaretskii <eliz@gnu.org>
5501 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5502 to use texinfo-update-node and commands that call it if the
5503 Texinfo file uses @node lines without next/prev/up pointers.
5504 Correct outdated description about texinfo-master-menu.
5505 (texinfo-all-menus-update, texinfo-master-menu)
5506 (texinfo-update-node, texinfo-every-node-update)
5507 (texinfo-multiple-files-update): Doc fix. Warn against updating
5508 all the @node lines.
5509 (texinfo-master-menu): Only call texinfo-update-node if the prefix
5510 argument is numeric. Explain better in the doc string what the
5511 function really does.
5512 (texinfo-insert-master-menu-list): Improve the error message
5513 displayed if there's no menu in the Top node.
5514 (Bug#2975) See also this thread:
5515 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5517 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
5519 * speedbar.el (speedbar-supported-extension-expressions):
5520 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5522 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
5524 * printing.el (pr-mode-alist):
5525 * simple.el (filter-buffer-substring-functions)
5526 (completion-list-insert-choice-function):
5527 * window.el (window-with-parameter, window-atom-root)
5528 (window-sides-slots, window-size-fixed, window-min-delta)
5529 (window-max-delta, window--resize-mini-window)
5530 (window--resize-child-windows-normal, window-tree)
5531 (delete-other-windows, quit-window, split-window)
5532 (display-buffer-record-window, special-display-buffer-names)
5533 (special-display-regexps, special-display-popup-frame)
5534 (same-window-p, split-window-sensibly)
5535 (display-buffer-overriding-action, display-buffer-alist)
5536 (display-buffer-base-action, display-buffer, switch-to-buffer)
5537 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5538 (fit-window-to-buffer, recenter-positions)
5539 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5540 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5541 and remove unneeded backslashes in docstrings.
5543 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5545 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5547 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5548 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5550 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5551 when reading the makefile (bug#10116).
5553 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5558 2011-12-06 Glenn Morris <rgm@gnu.org>
5560 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5562 2011-12-06 Chong Yidong <cyd@gnu.org>
5564 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5566 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5568 * textmodes/table.el (table-shorten-cell): Fix typo.
5570 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5572 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5574 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5576 * descr-text.el (describe-char): Fix display of strong
5577 right-to-left characters and directional embeddings and overrides.
5579 * simple.el (what-cursor-position): Fix display of codepoints of
5580 strong right-to-left characters.
5582 2011-12-05 Chong Yidong <cyd@gnu.org>
5584 * faces.el (read-color): Doc fix.
5586 2011-12-05 Glenn Morris <rgm@gnu.org>
5588 * align.el (align--set-marker): Add doc-string.
5589 Don't try to move something that is not a marker. (Bug#10216)
5591 2011-12-04 Glenn Morris <rgm@gnu.org>
5593 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5594 overly zealous deletion of trailing whitespace.
5596 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5598 * server.el (server-delete-client): On Windows, do not try to delete
5600 (server-process-filter): On Windows, treat requests for a tty frame as
5601 if they were for a GUI frame if the running server is in GUI mode.
5603 2011-12-03 Glenn Morris <rgm@gnu.org>
5605 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5607 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * electric.el: Streamline electric-indent's hook.
5610 (electric-indent-chars): Revert to simple list.
5611 (electric-indent-functions): New var.
5612 (electric-indent-post-self-insert-function): Use it.
5614 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5615 there's no inferior buffer (bug#10196).
5616 (prolog-consult-compile): Don't use toggle-read-only.
5618 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5620 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5621 interrupt. (Bug#10187)
5623 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5625 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5628 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5631 2011-12-02 Juri Linkov <juri@jurta.org>
5633 * info.el (Info-search): Display "end of manual" when Isearch
5634 reaches the end of single-file Info manual. (Bug#9918)
5636 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5638 * isearch.el (isearch-message-prefix): Run the input method part
5639 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5641 2011-12-02 Juri Linkov <juri@jurta.org>
5643 * isearch.el (isearch-occur): Use `word-search-regexp' for
5645 (isearch-search-and-update): Add condition for `isearch-word' and
5646 call `word-search-regexp'. (Bug#10145)
5648 2011-12-01 Glenn Morris <rgm@gnu.org>
5650 * eshell/em-hist.el (eshell-hist-initialize):
5651 Handle eshell-history-size nil and HISTSIZE set or unset.
5652 (eshell-history-file-name, eshell-history-size): Fix custom type.
5654 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5656 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5658 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5660 * progmodes/verilog-mode.el (verilog-pretty-expr):
5661 Rework verilog-pretty-expr to handle new assignment operators in system
5662 verilog, such as += *= and the like.
5663 (verilog-assignment-operator-re): Regular expression to find the
5664 assigment operator in a verilog assignment.
5665 (verilog-assignment-operation-re): Regular expression to find an
5666 assignment statement for pretty-expr.
5667 (verilog-in-attribute-p): Query returns true if point is in an
5668 attribute context; used to skip these for expression line up from
5670 (verilog-in-parameter-p): Query returns true if point is in an
5671 parameter definition context; used to skip these for expression
5672 line up from pretty-expr.
5673 (verilog-in-parenthesis-p): Query returns true if point is in a
5674 parenthetical expression, specifically ( ) but not [ ] or { };
5675 used by pretty-expr.
5676 (verilog-just-one-space): If there is no space, don't add one.
5677 (verilog-get-lineup-indent-2): Specifically skip just attribute
5678 contexts for expression lineup, rather than skipping all
5679 parenthetical expressions.
5680 (verilog-calculate-indent): Fix comment, and fix indent.
5681 (verilog-do-indent): Indent declarations in lists (suggested by
5683 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5685 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5688 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5690 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5691 parameters with embedded comments. Reported by Ray Stevens.
5692 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5693 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5694 Reported by Tim Holt.
5695 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5696 instantiated by upper module causing wrong expansion until AUTOed a
5697 second time. Reported by K C Buckenmaier.
5698 (verilog-diff-auto): Fix showing .* as a difference when
5699 `verilog-auto-star-save' off. Reported by Dan Dever.
5700 (verilog-auto-reset, verilog-read-always-signals)
5701 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5702 temporary signals in reset list if
5703 verilog-auto-reset-blocking-in-non is nil, and match assignment
5704 style to each signal's assignment type, bug381.
5705 Reported by Thomas Esposito.
5706 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5707 (verilog-uvm-statement-re): Support UVM indentation and
5708 highlighting, with old OVM keywords only.
5709 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5710 Support AUTOTIEOFF creating non-wire data types.
5711 Suggested by Jonathan Greenlaw.
5712 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5713 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5714 (verilog-inject-sense, verilog-read-inst-pins)
5715 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5716 Fix mismatching parenthesis inside commented out code when deleting
5717 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5718 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5719 non-numeric vector width. Reported by Alex Reed.
5720 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5721 detecting signals with parameter widths. Reported by Alex Reed.
5722 (verilog-auto-delete-trailing-whitespace):
5723 With `verilog-auto-delete-trailing-whitespace' remove trailing
5724 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5725 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5726 Fix verilog-scan-cache corruption when running user AUTO expansion
5727 hooks that call indentation routines.
5728 (verilog-simplify-range-expression): Fix typo ignoring lower case
5730 (verilog-delete-auto): Fix delete-autos to also remove user created
5731 automatics, as long as they start with AUTO.
5732 (verilog-batch-diff-auto, verilog-diff-auto)
5733 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5734 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5735 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5736 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5737 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5738 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5739 is disabled and its cache will get corrupt, causing AUTOS not to
5740 expand. Instead use only -quick functions.
5741 (verilog-scan-region): Fix scanning over escaped quotes.
5742 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5743 (verilog-re-search-backward-quick)
5744 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5745 related functions now ignore strings, to fix misparsing of strings
5746 with magic comments embedded in them.
5747 (verilog-read-auto-template):
5748 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5749 Reported by Brad Dobbie.
5750 (verilog-read-auto-template):
5751 Fix 'verilog-auto-inst-template-numbers' with comments.
5752 Reported by Brad Dobbie.
5753 (verilog-auto-inst, verilog-auto-inst-param)
5754 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5755 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5756 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5757 debugging templates without merge conflicts, bug357.
5758 Reported by Brad Dobbie.
5759 (verilog-read-auto-template):
5760 Fix verilog-auto-inst-template-numbers with multiple templates.
5761 Reported by Brad Dobbie.
5762 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5763 abbrevs so user won't be asked to save.
5764 (verilog-read-auto-lisp-present): Fix to start at beginning of
5765 buffer in case called outside of verilog-auto.
5766 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5767 to "X-2". Reported by Matthew Myers.
5768 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5769 all inputs from module templates. Reported by Leith Johnson.
5770 (verilog-module-inside-filename-p): Fix locating programs as with
5772 (verilog-auto-inst-port): Fix vl-width expressions when using
5773 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5774 (verilog-decls-get-regs, verilog-decls-get-signals,
5775 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5776 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5777 verilog-read-decls): Combine reg and wire structures into one var
5778 structure to represent SystemVerilog concepts.
5779 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5780 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5781 (verilog-auto-wire-type, verilog-insert-definition):
5782 Add verilog-auto-wire-type and AUTOLOGIC to support using
5783 SystemVerilog "logic" keyword instead of "wire"/"reg".
5784 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5785 to declares outputs that also have assignments (presumably in an
5786 ifdef or generate if so there's not a driver conflict).
5787 Reported by Matthew Myers.
5788 (verilog-auto-declare-nettype, verilog-insert-definition):
5789 Add verilog-auto-declare-nettype to fix declarations using
5790 `default_nettype none. Reported by Julian Gorfajn.
5791 (verilog-read-always-signals-recurse, verilog-read-decls)
5792 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5793 malformed end statement, bug325. Reported by Joshua Wise and
5795 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5796 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5797 when expanding .* in interfaces, bug320.
5798 Reported by Pierre-David Pfister.
5799 (verilog-read-module-name): Fix import statements between module
5800 name and open parenthesis, bug317.
5801 Reported by Pierre-David Pfister.
5802 (verilog-simplify-range-expression): Fix simplification of
5803 multiplications inside AUTOWIRE connections, bug303.
5804 (verilog-auto-inst-port): Support parameter expansion in
5805 multidimensional arrays.
5806 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5807 after "assert property". Reported by Julian Gorfajn.
5808 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5809 with multiplication, bug303.
5810 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5811 Reported by Jan Frode Lonnum.
5813 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5815 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5816 (hfy-shell-file-name, hfy-shell):
5817 * international/fontset.el (x-decompose-font-name): Fix typos.
5819 2011-11-29 Ken Brown <kbrown@cornell.edu>
5821 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5822 (gdb-version): Remove defvar.
5823 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5824 (gdb-gud-context-command, gdb-non-stop-handler)
5825 (gdb-current-context-command, gdb-stopped): Use it.
5826 (gdb-init-1): Enable pretty printing here.
5827 (gdb-non-stop-handler): Don't enable pretty-printing here.
5828 Check to see if the target supports non-stop mode; if not, turn off
5829 non-stop mode. Use the following.
5830 (gdb-check-target-async): New defun.
5831 (gud-watch, gdb-stopped): Fix whitespace.
5832 (gdb-get-source-file): Don't try to display the source file if
5833 `gdb-main-file' is nil.
5835 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * align.el: Try to generate fewer markers (bug#10047).
5838 (align--set-marker): New macro.
5839 (align-region): Use it.
5841 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5845 2011-11-29 Chong Yidong <cyd@gnu.org>
5847 * indent.el (indent-for-tab-command, indent-according-to-mode):
5849 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5851 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5853 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5854 aware of remote file names. (Bug#10124)
5856 2011-11-29 Chong Yidong <cyd@gnu.org>
5858 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5860 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * files.el (find-file): Don't use force-same-window (bug#10144).
5863 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5864 use pop-to-buffer if the selected window can't be used.
5865 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5867 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5869 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5872 2011-11-28 Chong Yidong <cyd@gnu.org>
5874 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5876 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5878 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5879 gdb-get-source-file-list on gdb-create-source-file-list.
5881 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5883 * whitespace.el (whitespace-newline): Use a different foreground
5884 color for 16-color light-background displays.
5886 2011-11-24 Chong Yidong <cyd@gnu.org>
5888 * window.el (display-buffer--special-action): Doc fix.
5890 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5892 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5893 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5894 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5895 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5896 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5897 (avl-tree-stack-first):
5898 * emacs-lisp/cconv.el (cconv--analyse-use):
5899 * net/gnutls.el (gnutls-negotiate): Fix typos.
5901 2011-11-24 Glenn Morris <rgm@gnu.org>
5903 * lpr.el (lpr-windows-system, lpr-lp-system):
5904 * mail/binhex.el (binhex-begin-line):
5905 * progmodes/grep.el (grep-history, grep-find-history):
5906 * textmodes/flyspell.el:
5907 * vc/pcvs-defs.el (cvs-global-menu):
5908 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5909 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5910 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5912 * net/tls.el: Fix case of "GnuTLS".
5914 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5916 * version.el (emacs-build-system): Give it a doc-string.
5918 2011-11-24 Juri Linkov <juri@jurta.org>
5920 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5922 2011-11-24 Glenn Morris <rgm@gnu.org>
5924 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5925 if called on a non-mime message just toggle the headers. (Bug#8006)
5927 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5929 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5930 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5931 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5932 (allout-rebullet-heading, allout-open-sibtopic)
5933 (allout-toggle-current-subtree-encryption)
5934 (allout-toggle-subtree-encryption, allout-encrypt-string)
5935 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5936 (allout-distinctive-bullets-string, allout-auto-activation):
5937 * window.el (window-normalize-buffer-to-display):
5938 * progmodes/verilog-mode.el (verilog-batch-indent):
5939 * textmodes/bibtex.el (bibtex-field-braces-opt)
5940 (bibtex-field-strings-opt):
5941 * vc/cvs-status.el (cvs-tree-merge):
5944 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5946 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5947 `non-essential' to t, in order to avoid remote connections.
5949 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5951 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5952 On MS-DOS and MS-Windows, compare with loaddefs.el
5955 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5957 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5959 2011-11-23 Glenn Morris <rgm@gnu.org>
5961 * paths.el (rmail-file-name): Reformat the doc-string so that it
5964 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5965 (rmail-auto-file): Ignore case in the "special" field names,
5966 as mail-fetch-field does for all others.
5968 * mail/rmail.el (rmail-forward):
5969 * mail/rmailkwd.el (rmail-set-label):
5970 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5971 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5973 * mail/rmail.el (rmail-current-message): Doc fix.
5975 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5977 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5979 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5981 2011-11-22 Glenn Morris <rgm@gnu.org>
5983 * mail/rmailmm.el (test-rmail-mime-handler)
5984 (test-rmail-mime-bulk-handler)
5985 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5987 2011-11-21 Juri Linkov <juri@jurta.org>
5989 * calc/calc.el (calc-read-key-sequence):
5990 Let-bind `input-method-function' to nil. (Bug#10018)
5992 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5994 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5995 Tell the caller that the next line needs recomputation, even
5996 though it doesn't start a sexp (bug#10094).
5998 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6000 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6002 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6004 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6005 Use force-same-window.
6007 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6009 * descr-text.el (describe-char-unicode-data):
6010 * json.el (json-string-escape):
6011 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6012 (Footnote-unicode, Footnote-style-p):
6013 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6015 2011-11-20 Chong Yidong <cyd@gnu.org>
6017 * window.el (replace-buffer-in-windows): Restore interactive spec.
6019 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6021 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6023 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6024 (byte-compile-global-not-obsolete-vars): New var.
6025 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6027 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6029 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6031 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6032 * progmodes/pascal.el (electric-pascal-equal):
6033 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6034 * xml.el (xml-substitute-special): Fix typos.
6036 2011-11-20 Glenn Morris <rgm@gnu.org>
6038 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6039 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6041 (rmail-decode-mime-charset): Mark as obsolete.
6043 * mail/rmailsum.el (rmail-message-regexp-p-1):
6044 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6045 Before using mime functions, check they are set. (Bug#10077)
6047 2011-11-19 Juri Linkov <juri@jurta.org>
6049 * info.el (Info-finder-find-node): Use `package--builtins' instead
6050 of `package-alist'. Use node names formed by the pattern "Keyword "
6051 and the keyword name.
6053 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6055 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6057 2011-11-19 Juri Linkov <juri@jurta.org>
6059 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6060 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6061 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6062 `old-history', `old-history-forward'. Add let-binding
6063 `window-selected'. Remove calls to `kill-buffer',
6064 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6065 before calling `Info-find-node', so `Info-find-node-2' will reread
6066 the Info file. Restore window positions only when `window-selected'
6069 2011-11-19 Juri Linkov <juri@jurta.org>
6071 * isearch.el (isearch-lazy-highlight-new-loop):
6072 Remove condition `(not isearch-error)'. (Bug#9918)
6074 * misearch.el (multi-isearch-search-fun): Add condition
6075 `(not bound)' to ignore lazy-highlighting search.
6076 Add the search-failed message "end of multi" when the end of
6077 multi-sequence is reached. Uncapitalize the search-failed
6078 message "Repeat for next buffer".
6080 * info.el (Info-search): Add the search-failed message
6081 "end of the manual" when the end of the manual is reached
6084 2011-11-19 Juri Linkov <juri@jurta.org>
6086 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6087 Use non-destructive `remove' instead of `delete' because
6088 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6089 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6091 2011-11-19 Juri Linkov <juri@jurta.org>
6093 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6094 to nil instead of binding `search-ring' and `regexp-search-ring'.
6097 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6099 * simple.el (line-move): Force movement by logical lines for any
6100 hscrolled window, not only when auto-hscroll-mode is on.
6101 (line-move-visual): Update doc string to that effect. (Bug#10076)
6103 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6105 * language/european.el (macintosh): Define as alias for mac-roman.
6107 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6109 * mail/rmailmm.el (rmail-mime-display-header)
6110 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6111 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6112 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6113 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6114 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6116 (rmail-mime-entity-segment): To get past the tagline, move forward
6117 2 more lines, to account for the 2 empty lines that precede and
6118 follow the line with the buttons.
6119 (rmail-mime-update-tagline): Move one more line, to get past the
6120 empty line that follows the buttons in the tagline. (Bug#9520)
6122 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6124 * window.el (window-max-delta-1, window-min-delta-1)
6125 (window-min-size-1, window-state-get-1, window-state-put-1)
6126 (window-state-put-2): Use "window--" prefix.
6128 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6131 (smie-warning-count): New var.
6132 (smie-set-prec2tab): Use it.
6133 (smie-bnf->prec2): Improve warnings. Add docstring.
6134 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6135 (smie-bnf--set-class): New function.
6136 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6139 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6140 (compilation-error-properties, compilation-move-to-column):
6141 Handle compilation-first-column while in the target buffer.
6143 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6144 Don't hardcode point-min==1.
6146 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6147 (eshell-rewrite-for-command): Remove workaround.
6148 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6149 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6150 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6152 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6154 2011-11-17 Glenn Morris <rgm@gnu.org>
6156 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6157 Ignore buffer-local generated-autoload-file if it is the same
6158 as the global value. (Bug#10049)
6160 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6162 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6163 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6164 (reftex-toc-previous-heading, reftex-toc-max-level)
6165 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6166 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6167 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6168 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6169 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6170 (reftex-toc-rename-label, reftex-toc-visit-location)
6171 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6172 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6173 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6174 leaving "*toc*" only for references to the buffer.
6176 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6178 * window.el (window-resize, delete-window, split-window):
6179 Replace window-splits by window-combination-resize.
6180 * cus-start.el (window-splits): Replace by window-combination-resize.
6182 2011-11-17 Glenn Morris <rgm@gnu.org>
6184 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6185 Make bash entry derive from sh entry, not shell entry.
6187 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6189 * net/tramp-cache.el (tramp-flush-file-property): Flush also
6190 properties of linked files. (Bug#9879)
6192 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6195 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6197 * menu-bar.el (menu-bar-file-menu):
6198 * printing.el (pr-ps-utility):
6199 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6200 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6201 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6202 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6203 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6204 (icalendar--convert-cyclic-to-ical)
6205 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6206 (icalendar--convert-ical-to-diary)
6207 (icalendar--convert-recurring-to-diary)
6208 (icalendar--convert-non-recurring-all-day-to-diary)
6209 (icalendar-import-format-sample):
6210 * progmodes/idlw-shell.el (idlwave-shell-mode):
6211 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6212 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6213 (vhdl-ps-print-init): Fix typos.
6215 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6217 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6218 FSF and collapse date sequence, obscure author/maintainer email address
6219 better, remove extra version line, track relocation of author's webpage.
6221 * progmodes/python.el (python-pdbtrack-input-prompt)
6222 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6223 regular python pdb prompts. Adjustments shamelessly taken exactly as
6224 suggested in EmacsWiki page (tiny change):
6225 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6227 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6229 * expand.el (expand-pos, expand-index, expand-point):
6230 Remove redundant info from docstring.
6231 (expand-add-abbrevs): Doc fix.
6232 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6233 (expand-sample-perl-mode-expand-list): Fix typos.
6235 * net/dbus.el (dbus-event-member-name):
6236 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6237 * term/pc-win.el (msdos-create-frame-with-faces):
6238 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6240 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6242 * window.el (split-window, window-state-get-1)
6243 (window-state-put-1, window-state-put-2): Rename occurrences of
6244 window-nest to window-combination-limit.
6245 * cus-start.el (window-nest): Rename to window-combination-limit.
6247 2011-11-16 Chong Yidong <cyd@gnu.org>
6249 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6252 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6255 `completing-read' will remove *Completions* and will preserve
6256 current-buffer for us.
6257 (tmm-add-prompt): Users of *Completions* will always (re)set its
6259 (tmm-old-comp-map): Remove.
6261 2011-11-16 Glenn Morris <rgm@gnu.org>
6263 * mail/rmailedit.el: Require rmailmm when compiling.
6264 (rmail-old-mime-state): New declaration.
6265 (rmail-edit-current-message): If editing a mime message,
6266 edit the "raw" message from the mbox buffer.
6267 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6269 2011-11-15 Glenn Morris <rgm@gnu.org>
6271 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6272 which wasn't being used. Add optional arg to force given state.
6273 (rmail-mime): Add optional arg to force given state.
6275 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6277 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6278 * frame.el (display-mm-dimensions-alist):
6279 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6280 (outline-move-subtree-down):
6281 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6282 (newsticker--treeview-do-get-node):
6283 * net/quickurl.el (quickurl-list-buffer-name):
6284 * progmodes/dcl-mode.el (dcl-mode):
6285 * progmodes/gdb-mi.el (gdb-mapcar*):
6286 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6288 2011-11-15 Glenn Morris <rgm@gnu.org>
6290 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6291 in a boolean sense, so just make it a boolean, and fix the doc.
6292 (rmail-show-mime-function, rmail-mime-feature)
6293 (rmail-require-mime-maybe): Doc fixes.
6294 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6296 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6298 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6300 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6301 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6302 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6303 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6305 2011-11-15 Glenn Morris <rgm@gnu.org>
6307 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6308 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6309 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6310 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6311 (rmail-mime, rmail-show-mime): Doc fixes.
6313 * term/ns-win.el (mode-line-frame-identification):
6314 Leave it alone. (Bug#10051)
6316 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6318 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6319 Handle empty buffers. (Bug#9978)
6321 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6323 * international/mule.el (define-charset):
6324 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6325 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6326 * progmodes/verilog-mode.el (verilog-backward-token):
6327 * textmodes/ispell.el (lookup-words):
6328 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6330 2011-11-14 Glenn Morris <rgm@gnu.org>
6332 * progmodes/executable.el
6333 (executable-make-buffer-file-executable-if-script-p):
6334 Handle file-modes returning nil.
6336 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6337 message - not necessary, and causes problems. (Bug#9831)
6339 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6341 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6343 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6344 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6345 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6347 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6349 * window.el (window-resize, delete-window): Use window-splits
6350 variable instead of function.
6351 (window-state-get-1, window-state-put-2, window-state-put):
6352 Don't deal with windows' splits status.
6354 2011-11-12 Glenn Morris <rgm@gnu.org>
6356 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6357 (apropos-documentation): Doc fixes.
6359 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6361 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6362 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6364 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * electric.el (electric-indent-post-self-insert-function): Make it
6367 possible for a char to only indent in some circumstances.
6368 (electric-indent-mode): Simplify.
6370 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6372 * window.el (windows-with-parameter): Remove unused function.
6373 (windows-at-side): Rename to window-at-side-list.
6374 (window-check, window-atom-check, window-atom-check-1)
6375 (window-side-check, window-size-ignore, window-size-fixed-1)
6376 (window-in-direction-2): Prefix with "window--".
6377 (window-tree-1): Rename to window--subtree, fix doc-string.
6379 2011-11-11 Glenn Morris <rgm@gnu.org>
6381 * subr.el (eval-after-load): If FILE is already loaded,
6382 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6384 2011-11-10 Glenn Morris <rgm@gnu.org>
6386 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6387 Call svn via vc-svn-command rather than vc-do-command.
6388 (vc-svn-command): Add --non-interactive. (Bug#9993)
6389 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6391 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6392 Add toggle-read-only. (Bug#7292)
6393 * files.el (toggle-read-only): Mention that it should only
6394 be used interactively. (Bug#10006)
6396 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6398 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6399 Adjust regexp for OCaml warnings.
6401 * electric.el (electric-pair-post-self-insert-function): Let user
6402 turn it off buffer-locally (bug#9932).
6404 * progmodes/python.el (python-beginning-of-statement):
6407 * progmodes/compile.el: Better handle TABs (bug#9749).
6408 (compilation-internal-error-properties)
6409 (compilation-next-error-function): Obey the target buffer's
6410 compilation-error-screen-columns.
6412 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6414 * progmodes/meta-mode.el: Remove obsolete comments.
6415 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6416 Fix typos in docstrings.
6418 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6420 * window.el (window-size-fixed-p): Rewrite doc-string.
6421 (window-resizable-p): Rename to window--resizable-p. Update callers.
6422 (window--resizable): New function. Make all callers of
6423 window-resizable call window--resizable instead.
6424 (window-resizable): Rewrite in terms of window--resizable.
6426 2011-11-08 Glenn Morris <rgm@gnu.org>
6428 * progmodes/delphi.el (delphi-mode-syntax-table):
6429 Let define-derived-mode define a proper syntax table. (Bug#9994)
6431 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * window.el: Stay away from defsubst.
6434 (window-list-no-nils): Remove.
6435 (window-state-get-1, window-state-get): Use backquote instead.
6437 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6439 * emacs-lisp/find-func.el (find-function-read):
6440 Fix incorrect use of default argument in `completing-read'.
6442 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6444 * window.el (display-buffer-function, special-display-function):
6445 Mention display-buffer-record-window but do not mention
6446 help-setup parameter in doc-strings.
6447 (window-min-delta): Fix doc-string typo.
6449 2011-11-08 Chong Yidong <cyd@gnu.org>
6451 * window.el (window-total-height, window-total-width): Doc fix.
6452 (window-body-size): Move from C.
6453 (window-body-height, window-body-width): Move to C.
6455 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * window.el: Make special-display like display-buffer-alist (bug#9532).
6458 (display-buffer--special-action): New function, morphed
6459 from display-buffer--special.
6460 (display-buffer): Use it to handle special-display-buffers at higher
6461 priority (just after display-buffer-alist).
6462 (display-buffer-fallback-action, display-buffer--other-frame-action)
6463 (pop-to-buffer-same-window): Remove display-buffer--special.
6465 2011-11-07 Glenn Morris <rgm@gnu.org>
6467 * calendar/cal-menu.el (cal-menu-set-date-title):
6468 Do nothing if not in a calendar. (Bug#9976)
6470 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * files.el (find-file): Always use selected-window.
6474 2011-11-07 Martin Rudalics <rudalics@gmx.at>
6476 * window.el (window-combinations): Make WINDOW argument
6477 mandatory. Rewrite doc-string.
6478 (walk-window-subtree, window-atom-check, window-min-delta)
6479 (window-max-delta, window--resize-this-window)
6480 (window--resize-root-window-vertically, window-tree)
6481 (balance-windows, window-state-put): Rewrite doc-strings as to
6482 not mention the term "subwindow".
6483 (window--resize-subwindows-skip-p): Rename to
6484 window--resize-child-windows-skip-p.
6485 (window--resize-subwindows-normal): Rename to
6486 window--resize-child-windows-normal.
6487 (window--resize-subwindows): Rename to
6488 window--resize-child-windows.
6489 (window-or-subwindow-p): Rename to window--in-subtree-p.
6491 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6493 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6494 Ensure that mbox format messages end in two newlines (Bug#9974).
6496 2011-11-06 Chong Yidong <cyd@gnu.org>
6498 * window.el (window-combination-p): Function deleted; its
6499 side-effect is not used in any existing code.
6500 (window-combinations, window-combined-p): Call window-*-child
6503 2011-11-05 Chong Yidong <cyd@gnu.org>
6505 * window.el (window-valid-p): Rename from window-any-p.
6506 (window-size-ignore, window-state-get): Callers changed.
6507 (window-normalize-window): Rename from window-normalize-any-window.
6508 New arg LIVE-ONLY, replacing window-normalize-live-window.
6509 (window-normalize-live-window): Delete.
6510 (window-combination-p, window-combined-p, window-combinations)
6511 (walk-window-subtree, window-atom-root, window-min-size)
6512 (window-sizable, window-sizable-p, window-size-fixed-p)
6513 (window-min-delta, window-max-delta, window-resizable)
6514 (window-resizable-p, window-full-height-p, window-full-width-p)
6515 (window-current-scroll-bars, window-point-1, set-window-point-1)
6516 (window-at-side-p, window-in-direction, window-resize)
6517 (adjust-window-trailing-edge, maximize-window, minimize-window)
6518 (window-deletable-p, delete-window, delete-other-windows)
6519 (record-window-buffer, unrecord-window-buffer)
6520 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6521 (quit-window, split-window, window-state-put)
6522 (set-window-text-height, fit-window-to-buffer)
6523 (shrink-window-if-larger-than-buffer): Callers changed.
6525 2011-11-04 Eli Zaretskii <eliz@gnu.org>
6527 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6528 rfc2047-decode-string.
6529 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6532 * window.el (window-body-height, window-body-width): Mention in
6533 the doc string that the return values are in frame's canonical
6536 2011-11-03 Alan Mackenzie <acm@muc.de>
6538 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6539 change in cc-engine.el.
6541 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6545 2011-11-02 Martin Rudalics <rudalics@gmx.at>
6547 * window.el (quit-window): Call unrecord-window-buffer after
6548 showing another buffer in the window. (Bug#9937)
6549 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6551 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
6553 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6554 Accept status with more than 9 shelves. (Bug#9935)
6555 Reported by Colin D Bennett <colin@gibibit.com>.
6557 2011-11-01 Martin Rudalics <rudalics@gmx.at>
6559 * help.el (with-help-window): Don't reference
6560 temp-buffer-show-specifiers in doc-string.
6562 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6564 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6567 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6569 * whitespace.el: New version 13.2.2.
6570 (whitespace-newline-mode): Disable properly. Reported by Sarah
6573 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6575 * net/newst-treeview.el: Remove "Time-stamp".
6576 (newsticker--group-manage-orphan-feeds): Do not call
6577 newsticker--treeview-tree-update.
6578 (newsticker-treeview-update, newsticker-treeview):
6579 Call newsticker--treeview-tree-update if necessary.
6581 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6583 * window.el (window-iso-combination-p, window-iso-combined-p)
6584 (window-iso-combinations): Remove "iso-" infix.
6585 Suggested by Chong Yidong.
6586 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6587 (window-max-delta-1, window-resize, window--resize-siblings)
6588 (window--resize-this-window, adjust-window-trailing-edge)
6589 (split-window, balance-windows-1)
6590 (shrink-window-if-larger-than-buffer):
6591 * calendar/calendar.el (calendar-generate-window):
6592 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6594 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6597 in place (bug#9907).
6598 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6599 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6600 (eshell-structure-basic-command, eshell-rewrite-while-command)
6601 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6602 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6603 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6604 (eshell-do-pipelines-synchronously, eshell-eval-command):
6605 Use backquotes and prefer setq to set.
6606 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6607 (eshell-macrop): Use functionp.
6608 (eshell-do-eval): Handle multiple expressions in `while' body.
6610 2011-10-30 Chong Yidong <cyd@gnu.org>
6612 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6613 instead of set-mark (Bug#9810).
6615 2011-10-30 Chong Yidong <cyd@gnu.org>
6617 * window.el (split-window-below, split-window-right): Rename from
6618 split-window-above-each-other and split-window-side-by-side
6619 respectively. All callers changed.
6620 (split-window-sensibly, split-window-sensibly): Use them.
6621 (split-window-keep-point): Doc fix.
6623 * isearch.el: Add isearch-scroll property to split-window-below
6624 and split-window-right.
6626 * follow.el (follow-mode):
6627 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6628 * progmodes/ada-xref.el (ada-gdb-application):
6629 * emulation/vip.el (vip-buffer-in-two-windows):
6630 * image-dired.el (image-dired-dired-with-window-configuration):
6631 * dired-x.el (dired-do-find-marked-files):
6632 * dired.el (dired-pop-to-buffer):
6633 * bs.el (bs--show-with-configuration):
6634 * vc/emerge.el (emerge-setup-windows):
6635 * textmodes/two-column.el (2C-two-columns):
6636 * textmodes/reftex-toc.el (reftex-toc):
6637 * progmodes/gdb-mi.el (gdb-setup-windows):
6638 * progmodes/fortran.el (fortran-window-create):
6639 * net/newst-treeview.el (newsticker--treeview-window-init):
6640 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6641 * emulation/tpu-edt.el (tpu-gold-map):
6642 * emulation/crisp.el (crisp-mode-map):
6643 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6645 2011-10-29 Chong Yidong <cyd@gnu.org>
6647 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6649 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6651 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6652 forged Ispell output (Bug#7904).
6654 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6656 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * doc-view.el: Avoid ugly errors about not finding nil.
6659 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6660 (doc-view-dvipdf-program, doc-view-unoconv-program)
6661 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6662 Avoid nil or absolute file name as default value.
6663 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6665 2011-10-28 Alan Mackenzie <acm@muc.de>
6667 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6669 2011-10-28 Alan Mackenzie <acm@muc.de>
6671 Amend the handling of c-beginning/end-of-defun in nested declaration
6674 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6675 cc-langs.el. Change it to a defcustom.
6677 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6680 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6681 Prevent "class foo : bar" being spuriously recognized as a label.
6683 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6684 Add parameter `inclusive' (to include enclosing braces in the region).
6685 (c-widen-to-enclosing-decl-scope): New function.
6686 (c-while-widening-to-decl-block): New macro.
6687 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6688 outward for defun boundaries, and correspondingly change symbol
6689 `respect-enclosure' to `go-outward'.
6690 (c-declaration-limits): Change algorithm to report only the "innermost"
6693 2011-10-28 Deniz Dogan <deniz@dogan.se>
6695 * net/rcirc.el (rcirc-mode): Use hard newlines.
6697 2011-10-28 Alan Mackenzie <acm@muc.de>
6699 Amend to indent and fontify macros "which include their own semicolon"
6700 correctly, using the "virtual semicolon" mechanism.
6702 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6704 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6705 Recode to scan one line at a time rather than having \n and \r
6706 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6707 (c-forward-label): Amend for virtual semicolons.
6708 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6710 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6711 of the new C macros.
6713 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6714 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6715 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6716 (c-opt-cpp-macro-define): Make into a full language variable.
6717 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6718 AWK Mode (including \n, \r) removed, no longer needed.
6720 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6721 Invoke c-make-macro-with-semi-re.
6723 * progmodes/cc-vars.el (c-macro-with-semi-re):
6724 (c-macro-names-with-semicolon): New variables.
6725 (c-make-macro-with-semi-re): New function.
6727 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6729 * vc/log-edit.el: Fill empty field rather than adding new one.
6730 (log-edit-add-field): New function.
6731 (log-edit-insert-changelog): Use it.
6733 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6735 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6737 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6739 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6740 (gdb--check-interpreter): New function.
6743 2011-10-27 Glenn Morris <rgm@gnu.org>
6745 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6746 (least-positive-float, least-negative-float)
6747 (least-positive-normalized-float, least-negative-normalized-float)
6748 (float-epsilon, float-negative-epsilon):
6749 Remove unnecessary declarations.
6751 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6752 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6753 (least-positive-float, least-negative-float)
6754 (least-positive-normalized-float, least-negative-normalized-float)
6755 (float-epsilon, float-negative-epsilon): Add doc-strings,
6756 based on those in cl.texi.
6758 * files.el (set-visited-file-name): If the major-mode changed,
6759 reload the local variables. (Bug#9796)
6761 2011-10-27 Chong Yidong <cyd@gnu.org>
6763 * subr.el (change-major-mode-after-body-hook): New hook.
6764 (run-mode-hooks): Run it.
6766 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6767 Use change-major-mode-before-body-hook.
6769 * simple.el (fundamental-mode):
6770 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6771 change introducing fundamental-mode-hook.
6773 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6775 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6777 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6779 * ido.el (ido-file-name-all-completions-1): Do not require
6780 tramp.el explicitly. (Bug#7583)
6782 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * progmodes/octave-mod.el:
6785 * progmodes/octave-inf.el: Update maintainer.
6787 2011-10-26 Chong Yidong <cyd@gnu.org>
6789 * subr.el (with-wrapper-hook): Rewrite doc.
6791 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6793 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6794 filenames "/method:foo:". (Bug#9793)
6796 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6801 2011-10-24 Glenn Morris <rgm@gnu.org>
6803 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6805 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6807 * notifications.el: Add the requirement of a running D-Bus session
6808 bus to the Commentary.
6810 2011-10-24 Juri Linkov <juri@jurta.org>
6812 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6813 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6816 2011-10-24 Juri Linkov <juri@jurta.org>
6818 * info.el (Info-following-node-name-re): Add newline to the list
6819 of allowed characters for leading space. (Bug#9824)
6821 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * progmodes/octave-inf.el (inferior-octave-mode-map):
6824 Fix C-c C-h binding.
6825 * progmodes/octave-mod.el (octave-help): Remove.
6827 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6829 Sync with Tramp 2.2.3.
6831 * net/tramp-cache.el (top): Pacify byte-compiler using
6832 `init-file-user' and `site-run-file'.
6834 * net/trampver.el: Update release number.
6836 2011-10-23 Chong Yidong <cyd@gnu.org>
6838 * files.el (toggle-read-only): Remove obsolete comment about
6841 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6842 for toggle-read-only. Note that this hasn't called vc-next-action
6843 since 2008-05-02, though it wasn't documented at the time.
6845 * vc/ediff-init.el (ediff-toggle-read-only-function):
6846 Use toggle-read-only.
6848 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6850 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6853 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6854 correct faulty logical expression.
6855 (c-parse-state-state, c-record-parse-state-state):
6856 (c-replay-parse-state-state): New defvar/defuns.
6857 (c-debug-parse-state): Use new functions.
6859 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6861 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6862 last fix. Use window-in-direction correctly.
6864 2011-10-21 Chong Yidong <cyd@gnu.org>
6866 * progmodes/idlwave.el (idlwave-mode):
6867 * progmodes/vera-mode.el (vera-mode): No need to set
6868 require-final-newline; that's done in prog-mode.
6869 Suggested by Stefan Monnier.
6871 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6873 * mouse.el (mouse-drag-window-above)
6874 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6875 (mouse-drag-mode-line-1, mouse-drag-header-line)
6876 (mouse-drag-vertical-line-rightward-window): Remove.
6877 (mouse-drag-line): New function.
6878 (mouse-drag-mode-line, mouse-drag-header-line)
6879 (mouse-drag-vertical-line): Call mouse-drag-line.
6880 * window.el (window-at-side-p, windows-at-side): New functions.
6882 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6884 * tar-mode.el (tar-grind-file-mode):
6885 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6887 2011-10-21 Chong Yidong <cyd@gnu.org>
6889 * progmodes/idlwave.el (idlwave-mode):
6890 * progmodes/vera-mode.el (vera-mode):
6891 Use mode-require-final-newline.
6893 2011-10-20 Glenn Morris <rgm@gnu.org>
6895 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6897 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6899 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6901 2011-10-20 Chong Yidong <cyd@gnu.org>
6903 * emulation/cua-base.el (cua-mode):
6904 * mail/footnote.el (footnote-mode):
6905 * mail/mailabbrev.el (mail-abbrevs-mode):
6906 * net/xesam.el (xesam-minor-mode):
6907 * progmodes/bug-reference.el (bug-reference-mode):
6908 * progmodes/cap-words.el (capitalized-words-mode):
6909 * progmodes/compile.el (compilation-minor-mode)
6910 (compilation-shell-minor-mode):
6911 * progmodes/gud.el (gud-tooltip-mode):
6912 * progmodes/hideif.el (hide-ifdef-mode):
6913 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6914 * progmodes/subword.el (subword-mode):
6915 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6916 * progmodes/which-func.el (which-function-mode):
6917 * term/tvi970.el (tvi970-set-keypad-mode):
6918 * term/vt100.el (vt100-wide-mode):
6919 * textmodes/flyspell.el (flyspell-mode):
6920 * textmodes/ispell.el (ispell-minor-mode):
6921 * textmodes/nroff-mode.el (nroff-electric-mode):
6922 * textmodes/paragraphs.el (use-hard-newlines):
6923 * textmodes/refill.el (refill-mode):
6924 * textmodes/reftex.el (reftex-mode):
6925 * textmodes/rst.el (rst-minor-mode):
6926 * textmodes/sgml-mode.el (html-autoview-mode)
6927 (sgml-electric-tag-pair-mode):
6928 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6929 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6930 * emulation/crisp.el (crisp-mode):
6931 * emacs-lisp/eldoc.el (eldoc-mode):
6932 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6933 minor mode behavior.
6935 2011-10-19 Juri Linkov <juri@jurta.org>
6937 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6938 the list of hard-coded chars with escape-glyph face.
6940 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6942 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6944 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6946 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6949 2011-10-19 Glenn Morris <rgm@gnu.org>
6951 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6952 Ignore ignored files. (Bug#9726)
6954 2011-10-19 Chong Yidong <cyd@gnu.org>
6956 Doc fix for minor modes, stating that an omitted argument enables
6957 the mode unconditionally when called from Lisp.
6959 * abbrev.el (abbrev-mode):
6960 * allout.el (allout-mode):
6961 * autoinsert.el (auto-insert-mode):
6962 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6963 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6964 (global-auto-revert-mode):
6965 * battery.el (display-battery-mode):
6966 * composite.el (global-auto-composition-mode)
6967 (auto-composition-mode):
6968 * delsel.el (delete-selection-mode):
6969 * desktop.el (desktop-save-mode):
6970 * dired-x.el (dired-omit-mode):
6971 * dirtrack.el (dirtrack-mode):
6972 * doc-view.el (doc-view-minor-mode):
6973 * double.el (double-mode):
6974 * electric.el (electric-indent-mode, electric-pair-mode):
6975 * emacs-lock.el (emacs-lock-mode):
6976 * epa-hook.el (auto-encryption-mode):
6977 * follow.el (follow-mode):
6978 * font-core.el (font-lock-mode):
6979 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6980 * help.el (temp-buffer-resize-mode):
6981 * hilit-chg.el (highlight-changes-mode)
6982 (highlight-changes-visible-mode):
6983 * hi-lock.el (hi-lock-mode):
6984 * hl-line.el (hl-line-mode, global-hl-line-mode):
6985 * icomplete.el (icomplete-mode):
6986 * ido.el (ido-everywhere):
6987 * image-file.el (auto-image-file-mode):
6988 * image-mode.el (image-minor-mode):
6989 * iswitchb.el (iswitchb-mode):
6990 * jka-cmpr-hook.el (auto-compression-mode):
6991 * linum.el (linum-mode):
6992 * longlines.el (longlines-mode):
6993 * master.el (master-mode):
6994 * mb-depth.el (minibuffer-depth-indicate-mode):
6995 * menu-bar.el (menu-bar-mode):
6996 * minibuf-eldef.el (minibuffer-electric-default-mode):
6997 * mouse-sel.el (mouse-sel-mode):
6998 * msb.el (msb-mode):
6999 * mwheel.el (mouse-wheel-mode):
7000 * outline.el (outline-minor-mode):
7001 * paren.el (show-paren-mode):
7002 * recentf.el (recentf-mode):
7003 * reveal.el (reveal-mode, global-reveal-mode):
7004 * rfn-eshadow.el (file-name-shadow-mode):
7005 * ruler-mode.el (ruler-mode):
7006 * savehist.el (savehist-mode):
7007 * scroll-all.el (scroll-all-mode):
7008 * scroll-bar.el (scroll-bar-mode):
7009 * server.el (server-mode):
7010 * shell.el (shell-dirtrack-mode):
7011 * simple.el (auto-fill-mode, transient-mark-mode)
7012 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7013 (line-number-mode, column-number-mode, size-indication-mode)
7014 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7015 * strokes.el (strokes-mode):
7016 * time.el (display-time-mode):
7017 * t-mouse.el (gpm-mouse-mode):
7018 * tool-bar.el (tool-bar-mode):
7019 * tooltip.el (tooltip-mode):
7020 * type-break.el (type-break-mode-line-message-mode)
7021 (type-break-query-mode):
7022 * view.el (view-mode):
7023 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7024 (global-whitespace-mode, global-whitespace-newline-mode):
7025 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7027 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7028 Fix autogenerated docstring.
7030 2011-10-19 Juri Linkov <juri@jurta.org>
7032 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7033 by checking environment variables "DESKTOP_SESSION" and
7034 "XDG_CURRENT_DESKTOP". (Bug#9779)
7036 2011-10-19 Juri Linkov <juri@jurta.org>
7038 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7039 (browse-url-chromium-program, browse-url-chromium-arguments):
7041 (browse-url-default-browser): Check for `browse-url-chromium' and
7042 call `browse-url-chromium-program'.
7043 (browse-url-chromium): New command. (Bug#9779)
7045 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7047 * facemenu.el (list-colors-duplicates): On Windows, detect more
7048 duplicates by assuming that only colors matching "^System" are
7049 special "system colors". (Bug#9722)
7051 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7053 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7054 to distinguish the author from the committer.
7056 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7058 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7060 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7062 * international/mule.el (sgml-html-meta-auto-coding-function):
7063 Add support for detecting encoding in HTML5 specified only as
7064 <meta charset="UTF-8">. Implementation just makes http-equiv and
7065 content-type parts from HTML4 encoding string optional. (Bug#9716)
7067 2011-10-18 Glenn Morris <rgm@gnu.org>
7069 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7071 2011-10-18 Chong Yidong <cyd@gnu.org>
7073 * faces.el (cursor): Doc fix.
7075 2011-10-17 Chong Yidong <cyd@gnu.org>
7077 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7079 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7081 * dirtrack.el (dirtrack): Support shell buffers with path
7082 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7084 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7086 * json.el: Bump version to 1.3 and note change in History.
7087 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7089 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * comint.el (comint-insert-input, comint-send-input)
7092 (comint-get-old-input-default, comint-backward-matching-input)
7093 (comint-next-prompt): Use nil instead of `input' for field property of
7094 past user input (bug#114).
7096 * minibuffer.el (completion--replace): Inherit surrounding properties
7098 (minibuffer-complete-and-exit): Use it.
7100 * comint.el (comint--table-subvert): Quote the all-completions output
7103 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7105 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7107 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7108 window on right of selected. (Bug#9350) Reword other window
7109 entries and separate them from frame entries.
7111 2011-10-15 Glenn Morris <rgm@gnu.org>
7113 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7116 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7118 * net/network-stream.el (network-stream-open-starttls):
7119 Improve detection of failure due to lack of TLS support.
7121 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7122 putting the input text in front and in bold.
7124 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7128 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7131 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7132 unread-command-events rather than pushing yet-another event.
7134 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7136 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7137 the explanation of the possible choices. Make the options passed
7138 to completing-read shorter.
7140 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
7142 * textmodes/flyspell.el (flyspell-large-region): Make sure
7143 extended character mode is used if defined (Bug#1339).
7145 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7147 * simple.el (what-cursor-position): Fix the display of the
7148 character info for LRE, LRO, RLE, and RLO characters by appending
7151 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7153 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7154 even in case of error; add debug spec; simplify data flow.
7155 (with-timeout-handler): Remove.
7157 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7159 Fix Bug#6019, Bug#9315.
7161 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7162 complete `buffer-file-name', the local file name part could look
7163 remotely (for example on VMS).
7165 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7166 `tramp-run-real-handler'.
7167 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7168 already quoted by '"'.
7170 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7171 Let `file-name-handler-alist' be nil, the local file name part
7172 could look remotely (for example on VMS).
7174 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7178 (flyspell-post-command-hook): ...to here.
7180 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7184 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7185 using completion. Protect against "slow" callers.
7186 Remove the "message hack".
7188 2011-10-11 Juri Linkov <juri@jurta.org>
7190 * isearch.el (isearch-lazy-highlight-word): New variable.
7191 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7194 2011-10-11 Glenn Morris <rgm@gnu.org>
7196 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7197 like f90-previous-statement does.
7199 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7201 * eshell/eshell.el (eshell-command): History should be saved
7202 only in interactive use, to avoid error.
7204 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7206 * minibuffer.el (completion-file-name-table): Fix last change,
7207 i.e. ignore normal errors but not the other ones.
7209 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7211 * window.el (special-display-buffer-names)
7212 (special-display-regexps): Remove some remnants of earlier
7213 changes from doc-strings.
7214 (quit-windows-on): New function.
7216 * vc/vc.el (vc-revert, vc-rollback):
7217 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7218 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7219 (Bug#6183) (Bug#7074) (Bug#7447)
7221 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7223 * window.el (frame-auto-hide-function): Add version tag.
7226 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7228 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7231 2011-10-09 Leo Liu <sdl.web@gmail.com>
7233 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7236 2011-10-08 Glenn Morris <rgm@gnu.org>
7238 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7239 before the first code statement zero indent. (Bug#9690)
7241 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7243 * simple.el (count-words-region): Always count in the region.
7244 Report the number of lines and characters too.
7245 (count-words): New command, which counts in the buffer if the
7246 region is inactive, as count-words-region used to.
7247 (count-words--message): New function. Handle plurals.
7248 (count-lines-region): Make it an alias for count-words-region.
7250 * bindings.el (esc-map): Replace count-lines-region with
7253 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7255 * window.el (window--delete): Delete dedicated frame
7256 unconditionally when argument KILL is non-nil. (Bug#9699)
7257 (switch-to-buffer): Fix doc-string typo.
7259 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7261 * eshell/eshell.el (eshell-command): Avoid using hooks.
7263 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7265 * bindings.el ([M-left],[M-right]): Bind to left-word and
7266 right-word respectively.
7268 2011-10-07 Glenn Morris <rgm@gnu.org>
7270 * cus-start.el (debug-on-quit): Fix custom type.
7272 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7274 * subr.el (define-key-after): Clarify that the function is not
7275 useful for non-menu keymaps.
7277 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7279 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7281 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7282 in current minibuffer (Fix bug with recursive minibuffers).
7284 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7286 * progmodes/gdb-mi.el (gdb): Doc fix.
7288 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7290 * window.el (frame-auto-hide-function): New option replacing
7291 frame-auto-delete. Suggested by Stefan Monnier.
7292 (window--delete): Call frame-auto-hide-function instead of
7293 investigating frame-auto-delete.
7294 (window-point-1, set-window-point-1): New functions.
7295 (window-in-direction, record-window-buffer, window-state-get-1)
7296 (display-buffer-record-window): Use window-point-1 instead of
7298 (set-window-buffer-start-and-point): Use set-window-point-1.
7300 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7304 2011-10-05 Glenn Morris <rgm@gnu.org>
7306 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7307 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7309 2011-10-05 Leo Liu <sdl.web@gmail.com>
7311 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7312 works with buffer object.
7314 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * mpc.el (mpc-tool-bar-map): Add labels.
7318 2011-10-04 Glenn Morris <rgm@gnu.org>
7320 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7322 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7324 * window.el (window--delete): New function.
7325 (frame-auto-delete): Resuscitate option.
7326 (bury-buffer, replace-buffer-in-windows)
7327 (quit-window): Rewrite using window--delete.
7328 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7329 Pass display-buffer-mark-dedicated to window--display-buffer-2
7332 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7335 returns a list (bug#9554). Add remote file name completion.
7336 * comint.el (comint--table-subvert): Curry and get quote&unquote
7337 functions as arguments.
7338 (comint--complete-file-name-data): Adjust call accordingly.
7339 * pcomplete.el (pcomplete--table-subvert): Remove.
7340 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7342 * minibuffer.el (completion-table-case-fold): Use currying.
7343 (completion--styles-type, completion--cycling-threshold-type):
7345 (completion-styles, completion-category-overrides)
7346 (completion-cycle-threshold): Use them.
7347 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7348 completion-table-case-fold.
7350 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7352 * minibuffer.el (completion-category-overrides): Fix type of styles
7353 and add more user friendly tags (bug#9660).
7355 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7358 (mule-input-method-string): New widget.
7359 (default-input-method, language-info-custom-alist): Use it.
7361 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * pcomplete.el: Require comint.
7364 (pcomplete--common-suffix): Remove.
7365 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7366 (pcomplete--table-subvert): Sync with comint--table-subvert.
7367 (pcomplete--entries): Use comint-completion-file-name-table.
7368 * comint.el (comint-unquote-filename): Simplify.
7369 (comint-completion-file-name-table): New function (bug#9616).
7370 (comint--complete-file-name-data): Use it.
7372 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7373 (pcmpl-gnu-tar-buffer): Remove.
7374 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7375 around. Make sure pcomplete-suffix-list is only changed temporarily.
7376 Don't look inside the tar's file if it's too large.
7378 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7380 * cus-edit.el (custom-mode-map):
7381 * epa.el (epa-key-list-mode-map):
7382 * man.el (Man-mode-map):
7383 * startup.el (splash-screen-keymap):
7384 * simple.el (special-mode-map): Use scroll-up-command and
7385 scroll-down-command.
7387 * progmodes/idlw-help.el (idlwave-help-mode-map):
7388 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7389 * net/newst-plainview.el (newsticker-mode-map):
7390 * emulation/ws-mode.el (wordstar-mode-map):
7391 * emulation/vi.el (vi-com-map):
7392 * calc/calc-graph.el (calc-graph-show-dumb):
7393 * term/sun.el (terminal-init-sun):
7394 * term/ns-win.el (global-map):
7395 * progmodes/grep.el (grep-mode-map):
7396 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7397 * mail/rmail.el (rmail-mode-map):
7398 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7400 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7401 custom-safe-themes as special.
7403 2011-10-01 Julien Danjou <julien@danjou.info>
7405 * notifications.el (notifications-notify): Fix docstring.
7407 2011-10-01 Per Starbäck <per@starback.se>
7409 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7411 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7413 * startup.el (command-line-1): Fix last fix by inserting
7414 initial-scratch-message into *scratch* before displaying it.
7415 (Bug#9605) and (Bug#9636)
7417 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7419 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7420 window is hscrolled, move by logical lines. (Bug#9607)
7421 (line-move-visual): Update the doc string to the above effect.
7423 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7425 * window.el (display-buffer-record-window): When WINDOW is the
7426 selected window use `point' instead of `window-point'. (Bug#9626)
7428 * startup.el (command-line-1): Use insert-before-markers when
7429 inserting initial-scratch-message. (Bug#9605)
7431 * help.el (help-window): Remove variable.
7433 2011-09-29 Glenn Morris <rgm@gnu.org>
7435 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7437 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7439 * descr-text.el (describe-char-categories): Accept category
7440 descriptions more than one line long.
7442 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * simple.el (delete-trailing-whitespace): Fix last change.
7446 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7447 Don't confuse "y => 3" as the beginning of a `y' operation.
7449 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7450 object has more than 4 slots (bug#9613).
7452 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7454 * subr.el (with-output-to-temp-buffer):
7455 * net/quickurl.el (quickurl, quickurl-browse-url):
7456 Fix typos in docstrings.
7458 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7460 * minibuffer.el (completion-styles)
7461 (completion-category-overrides): Cross reference each other in doc
7464 2011-09-27 Glenn Morris <rgm@gnu.org>
7466 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7467 to split-string. (Bug#9606)
7469 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7474 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
7476 * emacs-lisp/package.el (list-packages): Fix echo area message.
7478 2011-09-27 Leo Liu <sdl.web@gmail.com>
7480 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7482 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
7484 * net/dbus.el (dbus-unregister-object): Don't release services for
7485 registered signals. (Bug#9581)
7487 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7489 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7490 function that picks between cfengine 2 and 3 support
7491 automatically. Update docs accordingly.
7493 2011-09-22 Kenichi Handa <handa@m17n.org>
7495 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7497 (indian-itrans-v5-table-for-tamil): New variable.
7498 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7500 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7502 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7503 that's true if the current command involved collapsing of text.
7504 It's reset to false at the beginning of the next command.
7505 (allout-post-command-business): Move the cursor to the beginning
7506 of entry if the cursor is hidden and collapsing activity just
7509 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
7511 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7512 tracking (Bug#9541).
7514 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
7516 * net/newst-reader.el (newsticker-html-renderer)
7517 (newsticker-show-news): Automatically load html rendering package
7518 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7519 because w3m-fill-column is let-bound" and the error "Symbol's value
7520 as variable is void: w3m-fill-column".
7522 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
7524 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7525 Release services only if they are defined. (Bug#9581)
7527 2011-09-23 Richard Stallman <rms@gnu.org>
7529 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7530 distinguish start of paragraph from start of its text.
7532 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7534 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7535 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7536 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7538 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7540 * international/mule-diag.el (mule-diag): Insert a newline after
7541 each fontset description.
7543 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * simple.el (delete-trailing-whitespace):
7546 Document last change; simplify.
7548 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7550 * simple.el (delete-trailing-whitespace): Also delete
7551 extra newlines at the end of the buffer.
7553 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7554 (picture-newline): Use forward-line so as to ignore fields.
7556 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * subr.el (with-wrapper-hook): Fix edebug spec.
7560 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7562 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7565 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7567 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7568 Fix nasty bug using wrong cached values.
7570 2011-09-23 Alan Mackenzie <acm@muc.de>
7572 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7574 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7576 * window.el (pop-to-buffer): Ensure right window is selected if we
7577 chose another frame.
7579 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7581 * simple.el (what-cursor-position): Use get-char-property-change
7582 and next-single-char-property-change, to be able to show display
7583 properties that come from overlays as well as text properties.
7585 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7587 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7589 * cmuscheme.el (run-scheme, switch-to-scheme):
7590 * cus-edit.el (customize-group, custom-buffer-create)
7594 * mail/sendmail.el (mail):
7595 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7597 2011-09-22 Richard Stallman <rms@gnu.org>
7599 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7600 move back only to line beg, don't move back over blank lines.
7602 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7604 * files.el (copy-directory): Set directory attributes only in case
7605 they could be retrieved from the source directory. (Bug#9565)
7607 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7609 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7610 (hs-find-block-beginning, hs-hide-level-recursive):
7611 Ignore strings as well as comments. (Bug#9502)
7613 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7615 * progmodes/sql.el (sql-comint-postgres):
7616 Convert port number to a string. (Bug#9566)
7618 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7620 * window.el (quit-window): Undedicate window when switching to
7621 previous buffer. Reported by Thierry Volpiatto
7622 <thierry.volpiatto@gmail.com>.
7623 (special-display-popup-frame): When popping up a new frame reset
7624 its previous buffers to nil. Simplify code.
7626 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7628 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7629 and process filter, as done also in `shell-command'.
7631 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7633 * window.el (set-window-buffer-start-and-point):
7634 Call set-window-start with NOFORCE argument t.
7635 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7636 (quit-window): Reword doc-string. Handle new format of
7637 quit-restore parameter. Don't delete window if it has a
7638 previous buffer we can show instead of the present one.
7639 (display-buffer-record-window): Rewrite using a new format for
7640 the quit-restore window parameter
7641 (special-display-popup-frame, display-buffer-same-window)
7642 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7643 (display-buffer-pop-up-window, display-buffer-use-some-window):
7644 Adapt symbol passed to display-buffer-record-window.
7645 * help.el (help-window-setup): Handle new format of quit-restore
7648 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * faces.el (face-list): Fix docstring (bug#9564).
7652 * window.el (display-buffer--action-function-custom-type):
7653 Don't include internal functions in the Custom interface.
7655 2011-09-20 Juri Linkov <juri@jurta.org>
7657 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7658 (Info-forward-node, Info-backward-node, Info-next-preorder)
7659 (Info-last-preorder): Use it. (Bug#9528)
7661 2011-09-20 Juri Linkov <juri@jurta.org>
7663 * info.el (Info-last-preorder): Visit last menu item only when
7664 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7666 2011-09-20 Julien Danjou <julien@danjou.info>
7668 * password-cache.el (password-cache-remove): Remove entries even if the
7669 value is nil, so that password with a nil value (negative caching) is
7670 possible to invalidate.
7672 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7674 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7675 all whitespace around breakpoint. (Bug#9553)
7676 (f90-find-breakpoint): Only break at whitespace inside a comment.
7678 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * minibuffer.el (completion-file-name-table): Keep track of errors.
7681 (completion-table-with-predicate): Handle the case where pred1 is nil.
7682 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7684 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7686 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7687 (debugger-return-value): Signal an error if the debugging context does
7688 not await any return value.
7690 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7691 * image-mode.el (image-toggle-display-text)
7692 (image-toggle-display-image): Stay away from evil `intangible'.
7694 2011-09-19 Leo Liu <sdl.web@gmail.com>
7696 * replace.el (occur-revert-arguments): Make it permanent-local.
7697 (occur-mode): Don't call font-lock-defontify.
7699 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7701 * net/ldap.el (ldap-search-internal): Don't push empty search
7704 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7708 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7710 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7711 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7713 2011-09-18 Juri Linkov <juri@jurta.org>
7715 * buff-menu.el (Buffer-menu-mode-map):
7716 * dired.el (dired-mode-map):
7717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7718 (lisp-interaction-mode-map):
7719 * emacs-lisp/package.el (package-menu-mode-map):
7720 * epa.el (epa-key-list-mode-map):
7721 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7722 (menu-bar-options-menu):
7723 * outline.el (outline-mode-menu-bar-map):
7724 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7725 * vc/vc-dir.el (vc-dir-menu-map):
7726 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7727 Capitalize non-function content words in menu item strings.
7729 * dired.el (dired-mode-map): Add menu item for
7730 `image-dired-dired-toggle-marked-thumbs'.
7732 2011-09-18 Juri Linkov <juri@jurta.org>
7734 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7735 to `isearch-case-fold-search' and restore its original value
7736 after the `isearch-mode' call.
7738 2011-09-18 Juri Linkov <juri@jurta.org>
7740 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7741 because `zgrep' returns 1 for successful matches (bug#9226).
7743 2011-09-18 Juri Linkov <juri@jurta.org>
7745 * info.el (Info-extract-menu-node-name): Check the second match
7746 for empty string (second test-case of bug#9528).
7747 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7748 intermediate nodes to the history (first test-case of bug#9528).
7750 2011-09-18 Juri Linkov <juri@jurta.org>
7752 * info.el (Info-mode-syntax-table): New variable.
7753 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7755 2011-09-18 Juri Linkov <juri@jurta.org>
7757 * info.el (Info-file-supports-index-cookies):
7758 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7759 outputs one more line for long file names (bug#4142).
7761 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7763 * newcomment.el (comment-normalize-vars): If prompting for
7764 comment-start, set comment-start-skip too (Bug#8424).
7766 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
7768 * icomplete.el: Fix previous fix of Bug#5849.
7769 (icomplete-mode): Don't set completion-show-inline-help.
7770 (icomplete-minibuffer-setup): Set completion-show-inline-help
7771 locally during icompletion.
7773 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7775 * woman.el (woman2-process-escapes): Don't delete unrecognized
7778 * files.el (inhibit-first-line-modes-regexps): Add image files.
7779 (hack-local-variables-prop-line): Return nil for malformed
7780 prop-lines (Bug#9044).
7782 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7784 * net/tramp.el (top): Don't require 'shell.
7785 (tramp-methods): Fix docstring.
7786 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7787 Return complete remote file name. Handle "smb" case.
7788 Use `tramp-tmpdir', if defined for the respective method.
7789 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7791 * net/tramp-compat.el (top): Require 'shell.
7793 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7794 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7795 `tramp-current-host'.
7796 (tramp-get-remote-tmpdir): Remove.
7798 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7799 `tramp-tmpdir' entries.
7800 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7801 (tramp-smb-handle-file-attributes): Ignore errors.
7802 (tramp-smb-wait-for-output): Check also for process end.
7804 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7806 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7807 when sending QUIT (bug#9312).
7809 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7811 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7812 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7813 occur-mode-display-occurrence.
7814 (occur-edit-mode): Add usage message.
7815 (occur-cease-edit): New command.
7816 (occur-after-change-function): Use text properties to find the
7817 position of the prefix text.
7818 (occur-engine): Set stickiness of prefix text properties.
7820 2011-09-17 Glenn Morris <rgm@gnu.org>
7822 * progmodes/etags.el (complete-tag):
7823 Fix call to completion-in-region. (Bug#9526)
7825 2011-09-17 Juri Linkov <juri@jurta.org>
7827 * textmodes/ispell.el (ispell-word): Add to the error message
7828 the word, ispell program name and current dictionary (bug#9121).
7829 (ispell-tex-arg-end): Capitalize "error" in the error message.
7831 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7833 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7836 2011-09-17 Juri Linkov <juri@jurta.org>
7838 * window.el (window-safe-min-height, window-safe-min-width):
7839 Fix typos (followup to bug#9522).
7841 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7843 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7845 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7847 * simple.el (line-move): If goal-column is set, move by logical
7848 lines, not by display lines. (Bug#971)
7849 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7850 to reflect the above change.
7852 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * image.el (imagemagick-register-types): Use regexp-opt.
7856 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7858 * window.el (display-buffer-base-action): Rename from
7859 display-buffer-default-action. Make default value empty.
7860 (display-buffer-overriding-action): Convert to defvar.
7861 (display-buffer-fallback-action): New var.
7863 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7865 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7867 (package--add-to-archive-contents): If there is a duplicate entry
7868 with an older version, remove it.
7869 (package-menu-mark-delete, package-menu-mark-install)
7870 (package-menu-mark-unmark): Make unused args optional.
7871 (package-menu-mark-obsolete-for-deletion):
7872 Use package-menu-get-status instead of a regexp search.
7873 (package-menu-get-status): Use tabulated-list-entry.
7874 (package-menu-mark-upgrades): New command.
7875 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7876 (package-menu-execute): Do installation before deletion.
7877 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7878 instead of checking major-mode.
7879 (package-menu--find-upgrades): New function.
7881 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7884 passwords in the log buffer.
7885 (smtpmail-process-filter): Update the process marker so that the
7886 "broken by peer" status message is inserted in the right place.
7888 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7890 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7891 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7892 bibtex-completion-at-point-function.
7893 (bibtex-completion-at-point-function): Use them.
7895 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7897 * mpc.el (mpc-constraints-tag-lookup): New function.
7898 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7899 also to browser "album|playlist".
7901 2011-09-14 Juri Linkov <juri@jurta.org>
7903 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7904 (isearch-edit-string): Use length of `isearch-string' when
7905 `isearch-fail-pos' returns nil.
7906 (isearch-message): Remove duplicate code and call
7907 `isearch-fail-pos' with arg `t'.
7909 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7911 * replace.el (occur-mode-goto-occurrence): Don't force using other
7914 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7916 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7918 * window.el (display-buffer-window): Remove.
7919 (display-buffer-record-window): Use help-setup window parameter
7920 instead of variable display-buffer-window.
7921 (display-buffer-function, special-display-buffer-names)
7922 (special-display-function): Mention help-setup parameter instead
7923 of display-buffer-window in doc-string.
7924 * help.el (help-window-setup): New argument help-window.
7925 Use help-window-setup parameter instead of display-buffer-window.
7926 Reword some messages.
7927 (with-help-window): Pass window used for displaying the buffer
7928 to help-window-setup. Don't set display-buffer-window.
7930 2011-09-13 Glenn Morris <rgm@gnu.org>
7932 * emacs-lisp/debug.el (debugger-make-xrefs):
7933 Preserve point. (Bug#9462)
7935 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7937 * window.el (window-deletable-p): Use next-frame.
7939 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7941 * window.el (window-auto-delete): Remove.
7942 (window-deletable-p): Remove argument FORCE. Don't deal with
7943 dedication and previous buffers.
7944 (switch-to-prev-buffer): Don't delete window.
7945 (delete-windows-on): Delete a window's frame if and only if the
7946 window is dedicated.
7947 (replace-buffer-in-windows): Delete buffer's window or frame if
7948 and only if window is dedicated.
7949 (quit-window): Handle quit-restore as before last change.
7950 (bury-buffer): Delete window only if window-deletable-p returns t.
7952 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7954 * window.el (window-deletable-p): Never delete the last frame on a
7957 2011-09-13 Glenn Morris <rgm@gnu.org>
7959 * help.el (describe-key-briefly): Copy previous standard-output change.
7961 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7963 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7965 2011-09-13 Glenn Morris <rgm@gnu.org>
7967 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7968 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7970 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7972 * dired-aux.el (dired-mark-read-string): Don't return default
7973 value on empty input (Bug#9361).
7974 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7975 Omit initial minibuffer contents.
7976 (dired-do-chmod): Signal an error on empty input.
7977 (dired-mark-read-string): Don't return default on empty input.
7979 * files.el (file-modes-symbolic-to-number): Doc fix.
7981 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7983 * international/mule-cmds.el (ucs-completions): Remove.
7984 (read-char-by-name): Use complete-with-action instead; add metadata.
7986 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7988 * window.el (display-buffer--action-function-custom-type)
7989 (display-buffer--action-custom-type): New vars.
7990 (display-buffer-alist, display-buffer-default-action)
7991 (display-buffer-overriding-action): Add defcustom types.
7993 * frame.el (delete-other-frames): Doc fix (Bug#276).
7995 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7997 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7999 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8001 Change modes that used same-window-* vars to use switch-to-buffer.
8003 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8004 Use switch-to-buffer.
8006 * cus-edit.el (customize-group, custom-buffer-create)
8007 (customize-browse, custom-buffer-create-other-window):
8008 Use switch-to-buffer or switch-to-buffer-other-window.
8010 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8011 (Info-prev, Info-up, Info-speedbar-goto-node)
8012 (info-display-manual): Use switch-to-buffer.
8013 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8015 * mail/sendmail.el (mail): Use switch-to-buffer.
8016 (mail-recover): Use switch-to-buffer-other-window.
8018 * cmuscheme.el (run-scheme, switch-to-scheme):
8021 * net/rlogin.el (rlogin):
8022 * net/telnet.el (telnet, rsh):
8023 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8025 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8027 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8029 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8031 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8032 so don't mention it (bug#9301).
8033 (dired-sort-toggle-or-edit): Clarify string further.
8035 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8036 match `x', `w32' and `ns', like the manual says (bug#9029).
8038 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8039 (process-kill-buffer-query-function): Mention the buffer name in
8042 * image-mode.el (image-next-line): The line parameter is mandatory
8045 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8046 which can be useful (bug#9301).
8048 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8050 * subr.el (match-string): Mention that the current buffer should
8051 be the same as the search was done in (bug#9282).
8053 * facemenu.el: Disable the remove-* commands if the mark isn't
8056 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8058 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8060 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8062 * replace.el (occur-mode-goto-occurrence)
8063 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8066 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8069 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8070 special-display and same-window variables.
8071 (mail-other-window): Use switch-to-buffer-other-window.
8072 (mail-other-frame): USe switch-to-buffer-other-frame.
8074 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8075 Use display-buffer-other-frame.
8076 (gdb-display-gdb-buffer): Use pop-to-buffer.
8078 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8080 * progmodes/python.el: Don't set same-window-buffer-names.
8082 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8084 * window.el (display-buffer-alist): Add *Python*.
8086 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8088 * window.el (display-buffer-alist): Add entry for buffers
8089 previously handled same-window-*.
8090 (display-buffer-alist, display-buffer-default-action)
8091 (display-buffer-overriding-action): Mark as risky.
8092 (display-buffer-alist): Document action function changes.
8093 (display-buffer--same-window-action)
8094 (display-buffer--other-frame-action): New variables.
8095 (switch-to-buffer, display-buffer-other-frame): Use them.
8096 (display-buffer): Rename reuse-frame entry to reusable-frames.
8097 (display-buffer-reuse-selected-window): Function deleted.
8098 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8099 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8100 (display-buffer-special): New function.
8101 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8102 display-buffer-reuse-or-pop-window. Split off special-display
8103 part into display-buffer-special.
8104 (display-buffer-use-some-window): Don't perform any special
8105 pop-up-frames handling.
8106 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8107 (display-buffer--maybe-same-window): Rename from
8108 display-buffer-maybe-same-window.
8110 * info.el: Don't set same-window-regexps.
8111 (info-setup): New function.
8112 (info-other-window, info): Call it.
8114 * cus-edit.el: Don't set same-window-regexps.
8115 (customize-group): New argument.
8116 (customize-group-other-window): Use it.
8117 (customize-face, customize-face-other-window): Likewise.
8118 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8122 * progmodes/gud.el: Don't set same-window-regexps.
8128 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8130 2011-09-10 Juri Linkov <juri@jurta.org>
8132 * isearch.el (isearch-edit-string): Remove obsolete mention of
8133 `C-w' (`isearch-yank-word-or-char') from docstring.
8134 (isearch-query-replace): Fix typo in docstring (bug#9466).
8136 2011-09-10 Juri Linkov <juri@jurta.org>
8138 * paren.el (show-paren-function): Don't show escaped parens.
8139 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8141 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8143 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8144 (mm-default-file-encoding): Remove autoload forms, they are
8145 replaced with autoload cookies in mml.el and mm-encode.el.
8146 (mail-add-attachment): New command.
8147 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8148 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8150 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8152 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8154 * simple.el (count-words-region): Use buffer if there's no region
8157 2011-09-09 Juri Linkov <juri@jurta.org>
8159 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8160 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8161 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8163 2011-09-09 Alan Mackenzie <acm@muc.de>
8165 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8166 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8168 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8170 Fix for Savannah bug#9392.
8171 * simple.el (mail-encode-mml): New defvar.
8173 * mail/rmail.el (mail-encode-mml): Add a defvar.
8174 (rmail-enable-mime-composing): Default to t.
8175 (rmail-forward): Use MIME method of forwarding only if both
8176 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8177 Set mail-encode-mml non-nil if the MIME method was used.
8179 * mail/sendmail.el (mml-to-mime): Add autoload form.
8180 (mail-encode-mml): Add a defvar.
8181 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8183 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8184 message through mml-to-mime, and reset mail-encode-mml to nil.
8186 2011-09-09 Glenn Morris <rgm@gnu.org>
8188 * woman.el (woman-if-body): When processing an .el block,
8189 do not delete the next .el block as well. (Bug#9447)
8190 (woman-special-characters): Add oq, cq, and hy characters.
8192 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8194 * window.el (window-deletable-p): Make sure window is live before
8195 invoking window-prev-buffers.
8197 2011-09-08 Leo Liu <sdl.web@gmail.com>
8199 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8201 2011-09-08 Juri Linkov <juri@jurta.org>
8203 * progmodes/compile.el (compilation-environment): Make it
8204 a defcustom (bug#8340).
8206 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8208 * window.el (frame-auto-delete): Rename to window-auto-delete.
8209 Make it control auto-deletion of windows and/or frames.
8210 (window-deletable-p): New argument FORCE. Rewrite conditions
8211 for deleting window/frame. (Bug#9419)
8212 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8213 Rewrite handling of case when window/frame can be deleted.
8214 (delete-windows-on): Call window-deletable-p with new FORCE
8215 argument t. (Bug#9456)
8217 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8219 * help-mode.el (help-mode): Restore autoload.
8221 2011-09-07 Juri Linkov <juri@jurta.org>
8223 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8224 `compilation-environment'. Set buffer-local
8225 `compilation-environment' to `thisenv' later after (funcall mode).
8228 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8229 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8230 instead of replacing its value. (Bug#8340)
8232 2011-09-07 Juri Linkov <juri@jurta.org>
8234 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8235 based on text properties put by `grep-filter' instead of matching
8237 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8238 to the value of `grep-error-screen-columns' (bug#9438).
8240 2011-09-07 Juri Linkov <juri@jurta.org>
8242 * simple.el (next-error-highlight, next-error-highlight-no-select):
8245 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8247 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8248 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8250 2011-09-07 Leo Liu <sdl.web@gmail.com>
8252 * net/rcirc.el (rcirc-mode): Conditionally initialize
8255 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * emacs-lisp/find-func.el (find-function-C-source): Only set
8258 find-function-C-source-directory after checking that we found a source
8259 file there (bug#9440).
8261 2011-09-06 Alan Mackenzie <acm@muc.de>
8263 * isearch.el (isearch-other-meta-char): Wherever a key list is
8264 unread, "unread" the prefix arg, too. This fixes bug #8901.
8266 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8268 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8270 2011-09-05 Juri Linkov <juri@jurta.org>
8272 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8274 2011-09-05 Juri Linkov <juri@jurta.org>
8276 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8277 keeping point where processing of grep matches begins, and
8278 continue to delete remaining escape sequences from the same point.
8279 (grep-filter): Make leading zero optional in "0?1;31m" because
8280 git-grep emits "\033[1;31m" escape sequences unlike expected
8281 "\033[01;31m" as GNU Grep does (bug#9408).
8282 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8284 2011-09-05 Juri Linkov <juri@jurta.org>
8286 * subr.el (y-or-n-p): Capitalize "yes".
8288 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8290 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8291 `tramp-cache-unload-hook' where appropriate.
8292 (tramp-methods): Rename `tramp-remote-sh' to
8293 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8294 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8296 * net/tramp-sh.el (top): Don't require 'shell.
8297 (tramp-methods): Add `tramp-remote-shell' and
8298 `tramp-remote-shell-args' entries.
8299 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8300 (tramp-sh-handle-shell-command): Remove.
8301 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8302 Use `tramp-remote-shell'.
8304 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8306 * mail/sendmail.el (sendmail-query-once-function): Delete.
8307 (sendmail-query-once): Save directly to send-mail-function.
8308 Update message-send-mail-function too.
8310 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8312 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8314 * progmodes/python.el (python-mode-map): Use correct function to
8315 start python interpreter from menu-bar (as reported by Geert
8317 (inferior-python-mode-map): Fix typo.
8318 (python-shell-map): Remove.
8320 2011-09-03 Deniz Dogan <deniz@dogan.se>
8322 * net/rcirc.el (rcirc-print): Simplify code for
8323 rcirc-scroll-show-maximum-output. There is no need to walk
8324 through all windows to find the right one.
8326 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8328 * help.el (help-return-method): Doc fix.
8330 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8332 * window.el (window-deletable-p): Don't return a non-nil value
8333 when there's a buffer that was shown in the window before.
8335 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8336 Set window's previous buffers to nil.
8338 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8340 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8341 newline before and after the tag line, so it doesn't interfere
8342 with determining the paragraph direction of bidirectional text.
8344 2011-09-03 Leo Liu <sdl.web@gmail.com>
8346 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8348 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8350 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8351 (pop-to-buffer): Change interactive spec. Pass second argument
8352 directly to display-buffer.
8353 (display-buffer): Fix interactive spec. Use functionp to
8354 distinguish between a function and a list of functions.
8356 * abbrev.el (edit-abbrevs):
8357 * arc-mode.el (archive-extract):
8358 * autoinsert.el (auto-insert):
8359 * bookmark.el (bookmark-bmenu-list):
8360 * files.el (find-file):
8361 * view.el (view-buffer):
8362 * progmodes/compile.el (compilation-goto-locus):
8363 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8365 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8367 * window.el (display-buffer-alist): Doc fix.
8368 (display-buffer): Add docstring. Don't treat
8369 display-buffer-default specially.
8370 (display-buffer-reuse-selected-window)
8371 (display-buffer-same-window, display-buffer-maybe-same-window)
8372 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8373 (display-buffer-pop-up-window)
8374 (display-buffer-reuse-or-pop-window)
8375 (display-buffer-use-some-window): New functions.
8376 (display-buffer-default-action): Use them.
8377 (display-buffer-default): Delete.
8378 (pop-to-buffer-1): Fix choice of actions.
8380 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * minibuffer.el (completion--insert-strings): Don't get confused by
8383 completion entries that end with an LF char.
8385 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8387 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8389 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8391 * window.el (display-buffer): Restore interactive spec.
8392 (display-buffer-same-window, display-buffer-other-window):
8394 (pop-to-buffer-1): New function. Use the above.
8395 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8396 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8398 * view.el (view-buffer-other-window, view-buffer-other-frame):
8399 Just use pop-to-buffer.
8401 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8403 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8405 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8407 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8409 2011-08-31 Richard Stallman <rms@gnu.org>
8411 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8412 of the separation of rmail-view-buffer from rmail-buffer.
8413 If you say no to "replace original", the decrypt is in the
8414 view buffer. If you say yes, the decrypt goes into the
8417 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8419 * window.el (display-buffer-window): Rewrite doc-string.
8420 (display-buffer-record-window): New function.
8421 (display-buffer-macro-specifiers)
8422 (display-buffer-even-window-sizes, display-buffer-set-height)
8423 (display-buffer-set-width, display-buffer-in-window)
8424 (display-buffer-reuse-window, display-buffer-split-specifiers)
8425 (display-buffer-side-specifiers, display-buffer-split-window-1)
8426 (display-buffer-split-window, display-buffer-split-atom-window)
8427 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8428 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8429 (display-buffer-other-window-means-other-frame)
8430 (display-buffer-normalize-special)
8431 (display-buffer-normalize-default)
8432 (display-buffer-normalize-argument)
8433 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8434 (display-buffer-normalize-specifiers, display-buffer-frame)
8435 (display-buffer-same-window, display-buffer-same-frame)
8436 (display-buffer-other-window)
8437 (display-buffer-same-frame-other-window)
8438 (display-buffer-other-frame, pop-to-buffer-same-window)
8439 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8440 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8441 (switch-to-buffer-same-frame)
8442 (switch-to-buffer-other-window-same-frame)
8443 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8444 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8445 (display-buffer-alist-set): Remove.
8446 (display-buffer-function, special-display-buffer-names)
8447 (special-display-regexps, special-display-function):
8448 In doc-string refer to display-buffer-window and quit-restore
8450 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8451 (special-display-frame-alist, special-display-popup-frame)
8452 (same-window-buffer-names, same-window-regexps, same-window-p)
8453 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8454 (split-window-preferred-function, split-height-threshold)
8455 (split-width-threshold, window-splittable-p)
8456 (split-window-sensibly, window--try-to-split-window)
8457 (window--frame-usable-p, even-window-heights)
8458 (window--even-window-heights, window--display-buffer-1)
8459 (window--display-buffer-2, display-buffer-other-frame):
8460 Restore old Emacs 23 code, order and doc-strings where applicable.
8461 (display-buffer-default, display-buffer-assq-regexp): New functions.
8462 (display-buffer-alist): Rewrite doc-string.
8463 (display-buffer-default-action)
8464 (display-buffer-overriding-action): New variables.
8465 (display-buffer, switch-to-buffer): Rewrite.
8466 (pop-to-buffer): Restore Emacs 23 behavior but use
8467 window-normalize-buffer-to-display.
8468 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8469 Restore Emacs 23 behavior but use
8470 window-normalize-buffer-to-switch-to.
8471 (pop-to-buffer-same-window): Rewrite.
8472 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8473 Rewrite using Emacs 23 options.
8475 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
8477 * net/tramp.el (tramp-root-regexp): Remove.
8478 (tramp-completion-file-name-regexp-unified)
8479 (tramp-completion-file-name-regexp-separate)
8480 (tramp-completion-file-name-regexp-url): Don't use leading volume
8481 letter on win32 systems. (Bug#5303, Bug#9311)
8482 (tramp-drop-volume-letter): Simplify definition.
8483 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
8485 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8487 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8490 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8492 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
8494 2011-08-29 Juri Linkov <juri@jurta.org>
8496 * isearch.el (isearch-done): Don't display message "Mark saved"
8497 when arg `edit' is non-nil to prevent its flicker in the echo area.
8499 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8501 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8502 obsolete packages for deletion.
8504 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8506 * help-mode.el (help-mode-map): Add special-mode-map to parent.
8507 (help-mode): Derive help-mode from special-mode. Don't invoke
8508 view-mode from help-mode.
8509 (help-xref-override-view-map): Remove.
8510 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8511 view-mode is not used anymore.
8513 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
8515 * server.el (server-port): Doc fix.
8517 * cus-theme.el (custom-theme-choose-mode): Inherit from
8518 special-mode (Bug#9124).
8519 (custom-theme-choose-mode-map): Add special-mode to parent.
8521 2011-08-28 Alan Mackenzie <acm@muc.de>
8523 * progmodes/cc-fonts.el
8524 (c-make-font-lock-BO-decl-search-function): New function.
8525 (c-basic-matchers-after - "Fontify the clauses after various
8526 keywords"): Extract the three keyword lists for the 3 erroneous
8527 constructs from the list of four, and use the new function above
8528 in place of an old one.
8530 2011-08-28 Deniz Dogan <deniz@dogan.se>
8532 * net/rcirc.el (rcirc-insert-prev-input)
8533 (rcirc-insert-next-input): Remove unused argument.
8535 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8539 2011-08-27 Alan Mackenzie <acm@muc.de>
8541 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8542 handle function pointer parameters properly.
8544 2011-08-27 Martin Rudalics <rudalics@gmx.at>
8546 * window.el (display-buffer-reuse-window): Fix case where
8547 selected window was reused with non-nil OTHER-WINDOW argument.
8550 2011-08-27 Deniz Dogan <deniz@dogan.se>
8552 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8553 oftc's NickServ messages.
8555 2011-08-27 Glenn Morris <rgm@gnu.org>
8557 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8559 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8561 * emacs-lisp/package.el (package-install): Call package-initialize
8562 if called interactively.
8564 2011-08-26 Leo Liu <sdl.web@gmail.com>
8566 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8568 2011-08-25 Juri Linkov <juri@jurta.org>
8570 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8571 `search-whitespace-regexp' (bug#9364).
8573 2011-08-25 Juri Linkov <juri@jurta.org>
8575 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8576 `regexp-search-ring' to their global values to protect from
8577 updating by `read-from-minibuffer' (bug#9185).
8579 2011-08-25 Juri Linkov <juri@jurta.org>
8581 * textmodes/ispell.el (ispell-command-loop): Add newline
8582 at the end of the "Use option `i'..." line.
8584 2011-08-25 Juri Linkov <juri@jurta.org>
8586 * battery.el (display-battery-mode): If `battery-status-function'
8587 or `battery-mode-line-format' is nil, display the message and set
8588 `display-battery-mode' to nil (bug#9363).
8590 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8592 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8593 bidi-string-mark-left-to-right; they are unnecessary now.
8595 2011-08-25 Deniz Dogan <deniz@dogan.se>
8597 * net/quickurl.el: Documentation typo fixes.
8599 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8601 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8603 2011-08-25 Glenn Morris <rgm@gnu.org>
8605 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8607 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8608 (smtpmail-via-smtp): Handle nil response from smtp.
8610 2011-08-24 Juri Linkov <juri@jurta.org>
8612 * proced.el (proced-marked): Inherit from `error' instead of
8613 `font-lock-warning-face'.
8615 * ibuffer.el (ibuffer-marked-face): Change default face from
8616 `font-lock-warning-face' to `warning'.
8617 (ibuffer-deletion-face): Change default face from
8618 `font-lock-type-face' to `error'.
8620 * battery.el (battery-update): Use the face `error' instead of
8621 `font-lock-warning-face' (bug#6117).
8623 2011-08-24 Juri Linkov <juri@jurta.org>
8625 * faces.el (success): Change face color from "Green3" to
8626 "ForestGreen" on light background (bug#9353).
8628 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8630 * window.el (quit-window): Rename from quit-restore-window.
8631 Use same arglist as old quit-window.
8632 (frame-auto-delete): Doc fix.
8634 * view.el (view-mode-exit): Use quit-window.
8636 2011-08-24 Juri Linkov <juri@jurta.org>
8638 * isearch.el (isearch-ring-adjust1): Start visiting previous
8639 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8640 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8641 for empty search string (when the last search string is reused
8642 automatically) to adjust the isearch ring to the last element and
8643 prepare the correct index for further M-p commands (bug#9185).
8645 2011-08-24 Kenichi Handa <handa@m17n.org>
8647 * international/ucs-normalize.el: If decomposition property of
8648 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8650 (nfd, nfkd): Likewise.
8652 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8655 from process filters aren't reliably transmitted to the surrounding
8656 accept-process-output.
8657 (mpc-proc-check): New function.
8658 (mpc-proc-sync): Use it (bug#8293)
8660 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8663 Add compatibility functions (bug#9313).
8665 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8667 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8669 * international/uni-bidi.el: Regenerate.
8671 2011-08-23 Kenichi Handa <handa@m17n.org>
8673 * international/charprop.el:
8674 * international/uni-bidi.el:
8675 * international/uni-category.el:
8676 * international/uni-combining.el:
8677 * international/uni-comment.el:
8678 * international/uni-decimal.el:
8679 * international/uni-decomposition.el:
8680 * international/uni-digit.el:
8681 * international/uni-lowercase.el:
8682 * international/uni-mirrored.el:
8683 * international/uni-name.el:
8684 * international/uni-numeric.el:
8685 * international/uni-old-name.el:
8686 * international/uni-titlecase.el:
8687 * international/uni-uppercase.el: Regenerate.
8689 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8691 * help.el (help-window-setup): Fix message displayed when other
8692 window is reused. (Bug#9341)
8694 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8696 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8697 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8699 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8701 * shell.el (shell-parse-pcomplete-arguments): New function.
8702 (shell-completion-vars): Use it instead (bug#9160).
8704 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8707 strings and comments (bug#9333).
8709 * emacs-lisp/debug.el (debug-arglist): New function.
8710 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8711 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8713 2011-08-22 Juri Linkov <juri@jurta.org>
8715 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8716 Revert regexp that highlights output switches to its old
8717 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8719 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8720 to check for empty output (bug#9226).
8722 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8724 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8725 symbol-constituent as the default, as that stops font-lock from
8726 working properly (Bug#8843).
8728 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8730 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8731 `coding-system-for-*' around the process open call to avoid
8732 auth-source side effects.
8733 (smtpmail-try-auth-methods): Expand the secret password.
8734 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8737 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8739 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8741 * emacs-lisp/find-func.el (find-function-noselect): New arg
8744 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8745 signal an error for built-in functions (Bug#6664).
8747 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8750 (smtpmail-try-auth-methods): Use it.
8752 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8754 * font-lock.el (font-lock-fontify-region)
8755 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8756 (font-lock-default-unfontify-buffer)
8757 (font-lock-default-fontify-region)
8758 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8760 * progmodes/compile.el (compilation-error-properties):
8761 Fix confusion between file struct and message struct (Bug#9319).
8762 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8765 * net/browse-url.el (browse-url-firefox): Don't call
8766 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8768 2011-08-20 Glenn Morris <rgm@gnu.org>
8770 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8772 * tutorial.el (tutorial--default-keys): Update some default bindings.
8774 * files.el (hack-local-variables): Fully ignore case for "mode:".
8776 2011-08-20 Alan Mackenzie <acm@muc.de>
8778 Resolve invalid use of a regexp in regexp-opt.
8780 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8781 detection for a java annotation.
8783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8784 detection for a java annotation.
8786 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8788 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8790 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8792 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8795 2011-08-20 Alan Mackenzie <acm@muc.de>
8797 Fontify CPP expressions correctly when starting in the middle of
8798 such a construct. Mainly for when jit-lock etc. starts a chunk
8801 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8803 (c-make-font-lock-search-form): New function, extracted from
8804 c-make-font-lock-search-function.
8805 (c-make-font-lock-search-function): Use the above function.
8806 (c-make-font-lock-context-search-function): New function.
8807 (c-cpp-matchers): Enhance the preprocessor expression case with
8809 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8810 which takes an expression.
8812 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8814 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8816 * window.el (display-buffer-reuse-window)
8817 (display-buffer-pop-up-window): Don't reuse or split a side
8820 2011-08-19 Glenn Morris <rgm@gnu.org>
8822 * files.el (hack-local-variables-prop-line, hack-local-variables):
8823 Downcase "Mode:". (Bug#9331)
8825 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8827 * international/characters.el: Add L and R categories.
8829 * subr.el (bidi-string-mark-left-to-right): Rename from
8830 string-mark-left-to-right. Use category search.
8832 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8834 2011-08-18 Juri Linkov <juri@jurta.org>
8836 * faces.el (error, warning, success): New faces with definitions
8837 copied from old default values of `font-lock-warning-face',
8838 `compilation-warning', `compilation-info' (bug#6117).
8840 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8842 * progmodes/compile.el (compilation-error): Inherit from `error'.
8843 (compilation-warning): Inherit from `warning'.
8844 (compilation-info): Inherit from `success'.
8846 * dired.el (dired-marked): Inherit from `warning'.
8847 (dired-flagged): Inherit from `error'.
8849 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8851 * mail/smtpmail.el (auth-source): Require to avoid problems with
8852 binding variables (bug#9298). Also clean up some unused
8855 * net/network-stream.el (network-stream-open-starttls):
8856 Support using starttls.el without using gnutls-cli.
8858 2011-08-17 Juri Linkov <juri@jurta.org>
8860 * progmodes/grep.el (rgrep): Handle the case when
8861 `grep-find-command' is a cons cell (bug#9278).
8863 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8865 * window.el (display-buffer-pop-up-frame): Run frame creation
8866 function with BUFFER current (as special-display-popup-frame
8867 does). Reported by Drew Adams.
8869 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8871 * epa-mail.el: Simplify GnuPG group expansion using
8873 (epa-mail-group-alist, epa-mail-group-modtime)
8874 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8875 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8876 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8879 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8881 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8883 2011-08-16 Alan Mackenzie <acm@muc.de>
8885 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8886 Correct, to avoid the inside of macros.
8888 2011-08-16 Richard Stallman <rms@gnu.org>
8890 * epa-mail.el: Handle GnuPG group definitions.
8891 (epa-mail-group-alist, epa-mail-group-modtime)
8892 (epa-mail-gnupg-conf-file): New variables.
8893 (epa-mail-parse-groups, epa-mail-sync-groups)
8894 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8895 (epa-mail-expand-recipients): New functions.
8896 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8898 * mail/rmail.el (rmail-epa-decrypt): New command.
8900 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8901 Don't bind buffer-read-only, just inhibit-read-only.
8902 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8903 (epa-decrypt-armor-in-region): Make error message clearer.
8905 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8907 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8908 and "a2b" to "ab" for `prefix'.
8910 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8912 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8914 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8915 Fourquet (Bug#8804).
8917 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8919 * startup.el (argi): Declare as global variable (bug#9275).
8921 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8923 * subr.el (string-mark-left-to-right): Search the entire string
8924 for RTL script, not just the terminating character. Doc fix.
8926 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8930 (js--regexp-literal, js-syntax-propertize-function): Remove.
8931 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8932 (js-mode-map): Don't rebind electric keys.
8933 (js-insert-and-indent): Remove.
8934 (js-mode): Setup electric-layout and electric-indent instead.
8936 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8938 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8940 * epa.el (epa-progress-callback-function): Fix the logic of
8941 displaying progress.
8942 * epa-file.el (epa-file-insert-file-contents): Make progress
8943 display more user-friendly.
8944 (epa-file-write-region): Ditto.
8946 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8948 * subr.el (string-mark-left-to-right): New function.
8950 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8951 Use string-mark-left-to-right.
8952 (list-buffers-noselect): Caller changed.
8954 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8955 Use string-mark-left-to-right.
8956 (tabulated-list-print): Recenter after moving point.
8958 2011-08-10 Juri Linkov <juri@jurta.org>
8960 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8961 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8962 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8964 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8966 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8969 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8971 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8972 character. (Bug#6594)
8974 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8976 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8977 (image-dired--with-db-file): New macro.
8978 (image-dired-write-tags, image-dired-remove-tag)
8979 (image-dired-create-gallery-lists, image-dired-write-comments)
8980 (image-dired-get-comment, image-dired-mark-tagged-files)
8981 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8982 (image-dired-gallery-generate): Use insert-file-contents.
8984 * time.el (display-time-world-list, display-time-world-display):
8985 * time-stamp.el (time-stamp-string):
8986 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8987 set-time-zone-rule (Bug#7337).
8989 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8991 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8992 (epg-error-to-string, epg-errors-to-string): New function.
8993 (epg-wait-for-completion): Reverse errors list.
8994 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8995 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8996 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8997 (epg-sign-keys, epg-generate-key-from-file)
8998 (epg-generate-key-from-string): Format errors by using
8999 epg-errors-to-string (bug#9255).
9000 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9002 2011-08-07 Juri Linkov <juri@jurta.org>
9004 * faces.el (list-faces-display): Remove extra angle bracket
9005 from `help-mode-map'.
9007 * info.el (Info-history-toc-nodes): Doc fix.
9009 * longlines.el (longlines-mode): Doc fix.
9011 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9013 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9014 of statements and in a few more cases (bug#9183).
9016 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9018 (cl-transform-lambda): Use them (bug#9239).
9020 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9022 * window.el (display-buffer-same-window)
9023 (display-buffer-same-frame, display-buffer-other-window)
9024 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9025 (pop-to-buffer-other-window)
9026 (pop-to-buffer-same-frame-other-window)
9027 (pop-to-buffer-other-frame): Make them defuns.
9028 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9030 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9032 * subr.el (make-composed-keymap): Move from C. Change calling
9033 convention, and improve docstring to bring attention to a subtle point.
9034 * minibuffer.el (completing-read-default): Adjust accordingly.
9036 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9038 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9039 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9041 * net/trampver.el: Update release number.
9043 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9048 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9050 * mail/sendmail.el (sendmail-query-once): Restore the current
9051 buffer after querying (bug#9074).
9053 * dired.el (dired-flagged): Use different faces for marked and
9054 flagged files (bug#6117).
9056 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9059 * ido.el (ido-mode): Switch off the message if called
9062 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9063 before 587, since it appears that that's more likely to work for
9066 * cus-edit.el (custom-file): When running under emacs -q, always
9067 refuse to save the customizations, even if the .emacs file doesn't
9070 * info.el: Remove the `Info-beginning-of-buffer' function
9073 * net/network-stream.el (network-stream-open-starttls):
9074 Use `starttls-available-p' to see whether starttls.el can be used.
9076 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9078 * window.el (display-buffer-in-window): Don't set dedicated status
9079 of window here (Bug#9215).
9080 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9081 (display-buffer-pop-up-side-window)
9082 (display-buffer-in-side-window): Set dedicated status of window here.
9084 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9086 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9087 before binding generated-autoload-file.
9089 2011-08-01 Deniz Dogan <deniz@dogan.se>
9091 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9093 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9095 Sync with Tramp 2.2.2.
9097 * net/trampver.el: Update release number.
9099 2011-07-30 Juri Linkov <juri@jurta.org>
9101 * dired-aux.el (dired-touch-initial): Remove function.
9102 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9103 current time, and `default' to the last modification time of the
9104 current marked file (bug#6887).
9106 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9108 * simple.el (goto-line): Use string-to-number to provide a
9109 numeric argument to read-number (bug#9163).
9111 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9113 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9114 connection process, it could be nil.
9116 2011-07-27 Leo Liu <sdl.web@gmail.com>
9118 Simplify url handling in rcirc-mode.
9120 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9121 (rcirc-browse-url-at-mouse): Remove.
9122 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9124 2011-07-26 Alan Mackenzie <acm@muc.de>
9126 Fontify bitfield declarations properly.
9128 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9129 (c-symbol-chars): Now exported as a lang variable.
9130 (c-not-primitive-type-keywords): New lang variable.
9132 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9133 QT keyword "more" to prevent "more slots: ...." being spuriously
9134 parsed as a bitfield declaration.
9136 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9137 Refactor and enhance to handle bitfield declarations.
9138 (c-punctuation-in): New function.
9139 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9140 declarations properly.
9142 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9144 * calendar/icalendar.el (icalendar--all-events): Take care of
9145 multiple vcalendars in a single file.
9146 (icalendar--convert-float-to-ical): Checkdoc fixes.
9148 2011-07-25 Deniz Dogan <deniz@dogan.se>
9150 * image.el (insert-image): Clarifying docstring.
9152 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9154 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9155 `tramp-send-command-and-check' if there is no error.
9156 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9158 2011-07-22 Alan Mackenzie <acm@muc.de>
9160 Prevent cc-langs.elc being loaded at run time.
9162 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9165 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9166 "(require 'cc-langs)". Quote a form so it will evaluate at
9167 (cc-mode's) compilation time.
9169 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9171 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9174 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9176 * window.el (display-buffer-pop-up-window)
9177 (display-buffer-pop-up-side-window)
9178 (display-buffer-in-side-window): Call display-buffer-set-height
9179 and display-buffer-set-width after setting the new window's
9180 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9182 2011-07-20 Sam Steingold <sds@gnu.org>
9184 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9185 (etags-tags-included-tables): Call `convert-standard-filename' on
9186 the file names contained in TAGS so that windows Emacs can handle
9187 TAGS files created by cygwin ctags.
9189 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9191 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9192 which apparently didn't work.
9194 2011-07-19 Roland Winkler <winkler@gnu.org>
9196 * proced.el (proced-send-signal): For *Marked Processes* buffer
9197 put point at beginning of buffer.
9199 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9201 * proced.el (proced-format): Make header lines align with the text
9204 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9206 * view.el (view-buffer): Allow running in `special' modes if we're
9207 visiting a file (bug#8615).
9209 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9211 * window.el (display-buffer-alist-of-strings-p)
9212 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9214 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9217 2011-07-18 Alan Mackenzie <acm@muc.de>
9219 Fontify declarators properly when, e.g., a jit-lock chunk begins
9220 inside a declaration.
9222 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9224 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9226 (c-complex-decl-matchers): Insert reference to
9227 c-font-lock-enclosing-decls.
9229 * progmodes/cc-engine.el (c-backward-single-comment):
9230 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9231 to nil around calls to (forward-comment -1).
9233 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9235 * image.el (put-image): Doc typo fix.
9237 * progmodes/etags.el (tags-search): Doc typo fix.
9239 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9240 password if we get errors 550 to 554.
9242 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9244 * net/gnutls.el (gnutls-log-level): Remove.
9246 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9247 indentation character (bug#6380).
9249 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9251 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9252 to clarify what the problem is (bug#4291).
9254 * simple.el (current-kill): Clarify what
9255 `interprogram-paste-function' does (bug#7500).
9256 (auto-fill-mode): Document `auto-fill-function' in relation to
9257 `auto-fill-mode' (bug#2470).
9259 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9261 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9262 method if slot is read-only (bug#9035).
9264 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9266 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9267 * window.el (pop-to-buffer): Select window used even if it was
9268 selected before, see discussion of (Bug#8615), (Bug#6954).
9269 Pass argument NORECORD on to select-frame-set-input-focus.
9271 2011-07-15 Glenn Morris <rgm@gnu.org>
9273 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9276 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9278 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9279 (gnutls-negotiate): Use it.
9281 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283 * net/gnutls.el (gnutls-negotiate):
9284 Upcase `gnutls-algorithm-priority'.
9286 2011-07-15 Glenn Morris <rgm@gnu.org>
9288 * jka-compr.el (jka-compr-verbose): Move from here...
9289 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9290 Add missing :version tag.
9291 * info.el: No need to require jka-compr when compiling.
9293 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9295 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9296 (gnutls-negotiate): Use it.
9298 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9300 * info.el (Info-beginning-of-buffer): New command.
9301 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9302 announcing `b' as the key (bug#8325).
9303 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9305 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9307 * international/mule-cmds.el
9308 (describe-specified-language-support): Make the error message
9311 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9313 * isearch.el (isearch-barrier): Add a doc string, since it's
9314 mentioned in a function doc string (bug#8678).
9316 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9318 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9319 buffer argument (Bug#9083) and self-identifying label argument.
9321 2011-07-15 Glenn Morris <rgm@gnu.org>
9323 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9325 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327 * man.el (Man-fontify-manpage): Fix message when formatting the
9328 man page (bug#7929).
9330 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9332 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9333 argument LRM; if non-nil, append an invisible LRM character to the
9335 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9336 last argument non-nil, when formatting buffer names.
9337 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9338 paragraph direction.
9340 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9342 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9343 the man page name (bug#7929).
9345 * image.el (put-image): Mention the `put-image' overlay property
9348 * scroll-bar.el (set-scroll-bar-mode): Mention that
9349 `scroll-bar-mode' lists the values (bug#7772).
9351 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9354 * rect.el (apply-on-rectangle): Return the point after the last
9356 (string-rectangle): Go to the point after the last operation
9359 * printing.el (pr-toggle-region): Clarify the documentation
9360 slightly (bug#7493).
9362 * time.el (display-time-update):
9363 Allow `display-time-mail-function' to return nil (bug#7158).
9364 Fix suggested by Detlev Zundel.
9366 * vc/diff.el (diff): Clarify the order the file names are read
9369 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9370 the doc string (bug#7015).
9372 * font-lock.el (font-lock-maximum-decoration): Mention what
9373 numeric levels mean (bug#6935).
9375 * startup.el (initial-buffer-choice): Don't mention the `none'
9376 selection, which is against policy.
9378 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9380 * window.el (display-buffer-normalize-special):
9381 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9383 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9385 * subr.el (version<, version<=, version=): Mention "-CVS" and
9386 "-12345" alpha version numbers.
9388 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9390 * bindings.el: Add advertised binding for set-mark-command
9393 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9395 * bindings.el (mode-line-other-buffer):
9396 * bookmark.el (bookmark-bmenu-2-window):
9397 * bs.el (bs-cycle-next, bs-cycle-previous):
9398 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9401 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9404 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9406 * follow.el (follow-debug-message, follow-redisplay):
9407 * jka-cmpr-hook.el (with-auto-compression-mode):
9408 Fix typos in docstrings.
9410 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9412 * subr.el (with-silent-modifications): Clarify somewhat what the
9413 macro inhibits (bug#6525).
9415 * simple.el (eval-expression): Note what it does if called
9416 interactively (bug#6495).
9418 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9420 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9421 Use pop-to-buffer buffer-or-name if it is nil.
9423 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9424 Remove switch-to-buffer.
9426 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9428 * files.el (make-directory): Clarify that an error will be raised
9429 if there's an error (bug#6397).
9431 * startup.el (initial-buffer-choice): Add `none' as a choice
9434 * subr.el (add-hook): Clarify section about buffer-local hooks
9437 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9439 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9441 * tabify.el (untabify): Preserve the current column so that point
9442 doesn't move (bug#6032).
9444 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9446 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9447 Rewrite to avoid awkward possessive "s" (bug#5986).
9449 2011-07-13 Glenn Morris <rgm@gnu.org>
9451 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9452 (dired-insert-directory): Give a message the first time
9453 if ls is found not to support --dired.
9455 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9457 * simple.el (toggle-truncate-lines): Clarify what is toggled
9458 (bug#5580). Text by Drew Adams.
9460 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9462 * simple.el (blink-matching-open): Make the error message from the
9463 last change less verbose.
9465 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9467 * font-lock.el (font-lock-comment-face): Use the high contrast
9468 "yellow" color for font-lock-comment-face on low color terminals
9469 using a dark background color (bug#4221).
9471 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9473 * dired.el (dired-insert-set-properties): Make the doc string
9474 reflect what it does now (bug#5325).
9476 * simple.el (blink-matching-open): Say that we were unable to find
9477 the match within the limit, if we're limited (bug#5122).
9479 * international/mule-cmds.el (prefer-coding-system): Add an
9482 * progmodes/etags.el (tags-search): Document `file-list-form'
9485 2011-07-13 Lawrence Mitchell <wence@gmx.li>
9487 * net/browse-url.el (browse-url-default-browser)
9488 (browse-url-browser-function): Make the default browser choice a
9489 bit more logical (bug#4300). Also clean up the doc string.
9491 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9493 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9494 binary endings (bug#4440).
9496 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9498 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9499 which can be pretty annoying (bug#8971).
9501 * jka-compr.el (jka-compr-verbose): New variable, and use
9502 throughout (bug#8971).
9504 * info.el (Info-find-file): Fall back on the installation
9505 directory if we can't find the info node anywhere else.
9507 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9509 * vc/vc.el (vc-revert-file):
9510 Don't set file time-stamp in the past. (Bug#5181)
9512 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9514 * files.el (after-find-file): Give a better error message when
9515 trying to find a symlink that points to a file that doesn't exist
9518 * progmodes/cc-vars.el: Remove (probably) misleading comment
9521 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9523 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9525 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9527 * mouse-sel.el: Hack restoring functionality, while keeping
9528 compatibility with 2010-07-03 changes to mouse selection.
9529 (mouse-sel-primary-overlay): New var.
9530 (mouse-sel-selection-alist): Use it.
9531 (mouse-sel-mode): Doc fix; remove points that are default features
9534 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
9536 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9537 Fix previous fix (bug#2490).
9539 2011-07-12 Roland Winkler <winkler@gnu.org>
9541 * textmodes/bibtex.el (bibtex-initialize):
9542 Use pop-to-buffer-same-window.
9543 (bibtex-search-entries): Fix interactive call.
9545 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9548 Fontise bytecomp Error lines more correctly (bug#2490).
9549 Fix suggested by Johan BockgĂ¥rd.
9551 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9553 * dired-x.el (dired-guess-default): Use `delete-dups'.
9555 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
9557 * dired.el (dired-mark-prompt):
9558 * dired-aux.el (dired-read-shell-command): Doc fix.
9560 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9562 * mail/sendmail.el (sendmail-query-once):
9563 Use `customize-save-variable' unconditionally, now that it works under
9566 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9568 * cus-edit.el (custom-file): Take an optional no-error variable.
9569 (customize-save-variable): Set the variable, and give a warning if
9570 running under "emacs -q".
9572 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9574 * loadhist.el (unload-feature-special-hooks):
9575 Add `auto-coding-functions', `fill-nobreak-predicate' and
9576 `find-directory-functions' (bug#5327).
9578 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9580 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9582 * cus-edit.el (custom-guess-name-alist): -alist variables should
9583 use the `alist' type (bug#3120). Suggested by Drew Adams.
9585 * printing.el: Add documentation to all the `pr-toggle-' commands.
9587 2011-07-11 Leo Liu <sdl.web@gmail.com>
9589 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9590 backends where it makes sense (bug#2623).
9592 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9594 * dired-x.el (dired-guess-default): Remove duplicate shell command
9596 (dired-guess-default): Fix grammar in doc string (bug#2028).
9597 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9599 * subr.el (remove-duplicates): New conveniency function.
9601 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9603 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9606 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9608 * window.el (display-buffer-normalize-default): Don't invert
9609 meaning of even-window-heights. Reported by Eli Zaretskii
9612 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9614 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9616 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9618 * window.el (display-buffer): Fix arguments to
9619 display-buffer-reuse-window in last change.
9621 * faces.el (link): Use a less saturated blue on light backgrounds.
9623 * startup.el (fancy-startup-text, fancy-about-text)
9624 (fancy-startup-tail): Use font-lock faces, for background safety.
9626 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9628 * emulation/viper-cmd.el (viper-change-state-to-vi):
9629 Limit triggering of abbrev expansion (Bug#9038).
9631 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9633 * window.el (display-buffer-default-specifiers): Remove.
9634 (display-buffer-macro-specifiers): Remove default specifiers.
9635 (display-buffer-alist): Default to nil.
9636 (display-buffer-reuse-window): New optional argument other-window.
9637 (display-buffer-pop-up-window): Allow splitting internal
9638 windows. Check whether a live window was created.
9639 (display-buffer-other-window-means-other-frame)
9640 (display-buffer-normalize-arguments): Rename to
9641 display-buffer-normalize-argument and rewrite. Set the
9642 other-window specifier.
9643 (display-buffer-normalize-special): New function.
9644 (display-buffer-normalize-options): Rename to
9645 display-buffer-normalize-default and rewrite.
9646 (display-buffer-normalize-options-inhibit): Remove.
9647 (display-buffer-normalize-specifiers): Rewrite.
9648 (display-buffer): Process other-window specifier and call
9649 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9651 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9652 (display-buffer-alist-set): Don't handle 'unset default values.
9653 (display-buffer-in-window, display-buffer-alist-set):
9654 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9655 <tassilo@member.fsf.org>.
9657 2011-07-09 Leo Liu <sdl.web@gmail.com>
9659 * register.el (insert-register): Restore accidental change on
9660 2011-06-26. (Bug#9028)
9662 2011-07-09 Glenn Morris <rgm@gnu.org>
9664 * subr.el (remq): Handle the empty list. (Bug#9024)
9666 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9668 * mail/sendmail.el (send-mail-function): No longer delay custom
9670 * custom.el (custom-initialize-delay): Doc fix.
9672 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9676 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9678 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9679 human-friendly prompt.
9681 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9684 provided by a particular plugin.
9686 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9688 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9689 save customizations (with "emacs -Q"), just set the variable
9690 instead of erroring out.
9692 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9694 2011-07-08 Juri Linkov <juri@jurta.org>
9696 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9697 (archive-zip-update-case): Use 7z if found by `executable-find'.
9698 The order of searching the available programs is the same as in
9699 `archive-zip-extract' (bug#8968).
9701 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9703 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9704 (menu-bar-options-menu): Tweak descriptions.
9706 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9709 menu items into verb phrases (bug#1421). Also refill to fit under
9712 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9714 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9715 (Info-read-node-name): Doc fix (Bug#1084).
9717 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9718 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9719 (end-of-sexp, beginning-of-sexp)
9720 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9721 (forward-symbol, forward-same-syntax, word-at-point)
9722 (sentence-at-point): Doc fix (Bug#1144).
9724 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9726 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9727 should cover it (bug#1281).
9729 * cus-edit.el (custom-show): Mark as obsolete.
9731 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9732 negotiation fails, then possibly try again with a non-encrypted
9733 connection (bug#9017).
9735 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9738 2011-07-07 Richard Stallman <rms@gnu.org>
9740 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9741 property, and handle its changed format.
9742 Look for the correct line number.
9743 Use file's line contents (but not past first =) to find
9744 correct line in message.
9746 2011-07-07 Kenichi Handa <handa@m17n.org>
9748 * international/characters.el (build-unicode-category-table):
9750 (unicode-category-table): Set it by unicode-property-table-internal.
9752 * international/mule-cmds.el (char-code-property-alist): Move to
9754 (get-char-code-property): Call unicode-property-table-internal to
9755 load a file. Call get-unicode-property-internal where necessary.
9756 (put-char-code-property): Call unicode-property-table-internal to
9757 load a file. Call put-unicode-property-internal where necessary.
9758 put-unicode-property-internal where necessary.
9759 (char-code-property-description):
9760 Call unicode-property-table-internal to load a file.
9762 * international/charprop.el:
9763 * international/uni-bidi.el:
9764 * international/uni-category.el:
9765 * international/uni-combining.el:
9766 * international/uni-comment.el:
9767 * international/uni-decimal.el:
9768 * international/uni-decomposition.el:
9769 * international/uni-digit.el:
9770 * international/uni-lowercase.el:
9771 * international/uni-mirrored.el:
9772 * international/uni-name.el:
9773 * international/uni-numeric.el:
9774 * international/uni-old-name.el:
9775 * international/uni-titlecase.el:
9776 * international/uni-uppercase.el: Regenerate.
9778 * loadup.el: Load international/charprop.el before
9779 international/characters.
9781 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9783 * window.el (next-buffer, previous-buffer): Signal an error if
9784 called from a minibuffer window.
9786 * bindings.el: Revert 2011-07-04 change.
9788 2011-07-06 Richard Stallman <rms@gnu.org>
9790 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9791 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9792 Treat markers like ints.
9793 (rmail-mime-entity): Doc fix.
9795 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9797 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9798 defcustom again for backwards compatibility.
9800 * simple.el (shell-command-on-region): Fill.
9802 * dired-aux.el (dired-kill-line): Add a doc string.
9804 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9805 to "\\sw\\|\\s_" (bug#358).
9807 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9808 (dired-unmark-backward): Ditto.
9809 (dired-flag-backup-files): Ditto.
9811 * dired-x.el (dired-mark-sexp): Ditto.
9813 2011-07-06 Richard Stallman <rms@gnu.org>
9815 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9816 (rmail-mime-entity): New arg TRUNCATED.
9817 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9819 (rmail-mime-save): Warn if entity is truncated.
9820 (rmail-mime-toggle-hidden): Likewise, for showing.
9821 (rmail-mime-process-multipart): Record when an entity is truncated.
9823 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9824 if ENTITY is a string.
9826 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9828 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9829 of faces when `M-C-x'-ing their definitions (bug#8378).
9830 Also clean up the code slightly.
9832 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9833 because that makes the colors go away.
9835 * mail/sendmail.el (send-mail-function): Change the default to
9836 `sendmail-query-once'.
9837 (sendmail-query-once): Add an autoload cookie.
9839 * net/network-stream.el (network-stream-open-starttls): Try using
9840 a plain connection even if the server offered STARTTLS, and we
9841 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9842 capability. This should make smtpmail.el work in slightly more
9845 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9847 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9849 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9851 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9853 * progmodes/sql.el: Version 3.0
9854 (sql-product-alist): Add product :completion-object,
9855 :completion-column, and :statement attributes.
9856 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9857 (sql-mode-syntax-table): Mark all punctuation.
9858 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9860 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9861 (sql-mode-oracle-font-lock-keywords): Improve.
9862 (sql-oracle-show-reserved-words): New function for development.
9863 (sql-product-font-lock): Simplify for source code buffers.
9864 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9866 (sql-highlight-product): Set product specific syntax table.
9867 (sql-mode-map): Add statement movement functions.
9868 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9870 (sql-statement-regexp, sql-beginning-of-statement)
9871 (sql-end-of-statement, sql-signum): New functions.
9872 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9873 (sql-show-sqli-buffer): Bug fix.
9874 (sql-interactive-mode): Store connection data as buffer local.
9875 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9876 with sql-interactive-mode.
9877 (sql-save-connection): Save buffer local settings.
9878 (sql-connection-menu-filter): Change menu entry name.
9879 (sql-product-interactive): Bug fix.
9880 (sql-preoutput-hold): New variable.
9881 (sql-interactive-remove-continuation-prompt): Bug fixes.
9882 (sql-debug-redirect): New variable.
9883 (sql-str-literal): New function.
9884 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9886 (sql-oracle-save-settings, sql-oracle-restore-settings)
9887 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9888 (sql-completion-object, sql-completion-column)
9889 (sql-completion-sqlbuf): New variables.
9890 (sql-build-completions-1, sql-build-completions)
9891 (sql-try-completion): New functions.
9892 (sql-read-table-name): Use them.
9893 (sql-contains-names): New buffer local variable.
9894 (sql-list-all, sql-list-table): Use it.
9895 (sql-oracle-completion-types): New variable.
9896 (sql-oracle-completion-object, sql-sqlite-completion-object)
9897 (sql-postgres-completion-object): New functions.
9899 2011-07-06 Glenn Morris <rgm@gnu.org>
9901 * window.el (pop-to-buffer): Doc fix.
9903 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9905 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9907 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9909 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9911 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9913 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9915 * button.el (button): Inherit from link face. Suggested by Dan
9918 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9920 * progmodes/gdb-mi.el: Fit in 80 columns.
9921 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9924 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9925 if imenu is simply not configured (bug#8941).
9927 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9929 * allout.el (allout-post-undo-hook): New allout outline-change
9930 event hook to signal undo activity.
9931 (allout-post-command-business): Run allout-post-undo-hook if an
9933 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9934 * allout-widgets.el (allout-widgets-after-undo-function):
9935 Ensure the integrity of the current item's decoration after it has been
9936 in the vicinity of an undo.
9937 (allout-widgets-mode): Include allout-widgets-after-undo-function
9938 on the new allout-post-undo-hook.
9940 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9943 Let define-derived-mode define it.
9944 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9945 cycles of abbrev-table inheritance (bug#8998).
9947 2011-07-05 Roland Winkler <winkler@gnu.org>
9949 * textmodes/bibtex.el: Add support for biblatex.
9950 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9951 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9952 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9953 (bibtex-entry-alist, bibtex-field-alist): New variables.
9954 (bibtex-entry-field-alist): Obsolete alias for
9955 bibtex-BibTeX-entry-alist.
9956 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9957 (bibtex-set-dialect): New command.
9958 (bibtex-entry-type, bibtex-entry-head)
9959 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9960 Bind via bibtex-set-dialect.
9961 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9962 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9963 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9964 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9965 Define via bibtex-set-dialect.
9966 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9967 Obey bibtex-no-opt-remove-re.
9968 (bibtex-vec-push, bibtex-vec-incr): New functions.
9969 (bibtex-format-entry, bibtex-field-list)
9970 (bibtex-print-help-message, bibtex-validate)
9971 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9973 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * progmodes/compile.el (compilation-goto-locus):
9976 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9977 * bs.el (bs-cycle-next, bs-cycle-previous):
9978 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9979 * bindings.el (mode-line-other-buffer):
9980 * autoinsert.el (auto-insert):
9981 * arc-mode.el (archive-extract):
9982 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9984 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9986 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9987 Fix check of `emacs-lock-unlockable-modes'.
9988 Coerce true values of `emacs-lock--try-unlocking' to t.
9990 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9992 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9993 * emacs-lock.el: New file.
9995 2011-07-05 Julien Danjou <julien@danjou.info>
9997 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9998 than `boundp' to check if face is set.
10000 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10002 * register.el (registerv-make):
10003 * window.el (window-min-height): Fix typos in docstrings.
10005 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10007 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10010 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10012 * server.el (server-execute): Catch quit and call
10013 `server-return-error' to pass the error back to emacsclient and
10014 close the connection (bug#8942).
10016 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10018 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10019 insecure exception for current topic. Also note that auto-saves
10020 are handled differently.
10022 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10023 State variables for tracking auto-save inhibition situation.
10025 (allout-write-contents-hook-handler): Rename from
10026 'allout-write-file-hook-handler', and describe how it depends on
10027 write-contents-functions sensitivity to non-nil value to prevent
10030 (allout-auto-save-hook-handler): Remove. auto-save does not check
10031 this in individual buffers, only in the starting buffer, so this
10032 is not the right way for us to inhibit auto-save in a buffer
10033 according to its condition.
10035 (allout-mode): Use new allout-write-contents-hook-handler, and
10036 only with write-contents-functions. Remove auto-save provisions -
10037 they're implemented elsewhere.
10039 (allout-before-change-handler): If undo is in progress, note that
10040 for attention of allout-post-command-business.
10042 (allout-post-command-business): If the command we're following was
10043 an undo, check for change in the status of encrypted items and
10044 adjust auto-save inhibitions accordingly.
10046 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10047 according to whether there are or aren't any plain-text topics
10048 pending encryption.
10050 (allout-inhibit-auto-save-info-for-decryption):
10051 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10052 if there are plain-text topics pending encryption.
10054 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10055 buffer-saved-size and some allout state to not inhibit auto-saves
10056 if there are no longer any plain-text topics pending encryption.
10058 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10059 No longer provide for exemption of the current topic.
10061 2011-07-04 Juri Linkov <juri@jurta.org>
10063 Add 7z operations to delete and save changed members (bug#8968).
10064 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10066 (archive-7z-write-file-member): New function.
10067 (archive-7z-summarize): Fix the number of dashes in the
10070 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10072 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10075 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10077 * bindings.el: Ignore next-buffer and previous-buffer in
10078 minibuffer-local-map.
10080 * font-lock.el (font-lock-builtin-face): Change light background
10081 color to dark slate blue (Bug#6693).
10083 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10085 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10087 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10090 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10091 Add switch-to-buffer.
10093 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10095 * isearch.el (isearch-search-fun-function): Clarify further the
10096 meaning of the function returned.
10098 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10100 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10102 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10103 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10105 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10106 `tramp-default-remote-path' does not exist.
10107 (tramp-send-command-and-read): New optional argument NOERROR.
10108 (tramp-open-connection-setup-interactive-shell)
10109 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10110 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10111 (tramp-process-sentinel): Flush also process' connection property.
10112 (tramp-sh-handle-start-file-process): Do not set process
10113 sentinel. It is done now ...
10114 (tramp-maybe-open-connection): ... here. (Bug#8929)
10116 2011-07-04 MON KEY <monkey@sandpframing.com>
10118 * play/animate.el (animate-string): Doc fixes and allow changing
10119 the buffer name (bug#5417).
10121 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10123 * play/animate.el (animation-buffer-name): Rename from *animate*.
10125 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10127 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10128 This is simpler and helps future-proof the code.
10129 (timer-until): Use time-subtract and float-time.
10130 (timer--time-less-p): Use time-less-p.
10132 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10134 * type-break.el (timep): Use the value of `float-time' to avoid a
10135 byte-compiler warning.
10137 * server.el (server-eval-and-print): Return any result, even nil.
10139 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10141 * type-break.el: Accept time formats that the builtins accept.
10142 (timep, type-break-time-difference): Accept any format that
10143 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10144 This is simpler and helps future-proof the code.
10145 (type-break-time-difference): Round rather than ignoring
10146 subseconds components.
10148 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150 * info.el (Info-apropos-matches): Make non-interactive, since it
10151 doesn't seem to do anything useful as a command (bug#8829).
10153 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10155 * frame.el (frame-background-mode, frame-set-background-mode):
10156 Move from faces.el.
10157 (frame-default-terminal-background): New function.
10159 * custom.el (custom-push-theme): Don't record faces in `changed'
10160 theme; this doesn't work correctly for per-frame face settings.
10161 (disable-theme): Use face-set-after-frame-default to reset faces.
10162 (custom--frame-color-default): New function.
10164 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10166 * dired.el (dired-flagging-regexp): Remove unused variable
10169 2011-03-29 Kevin Ryde <user42@zip.com.au>
10171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10172 `perl-Test2' extend to match possible "fail #N" rep count
10175 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10177 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10178 `smtpmail-via-smtp' now returns the error instead of nil.
10180 * isearch.el (isearch-search-fun-function): Clarify the doc string
10183 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10185 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10186 unnecessary spaces (bug#8987).
10188 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10190 * net/network-stream.el (open-network-stream): Use the
10191 :end-of-capability command thoughout.
10193 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10195 * net/network-stream.el (open-network-stream): Add the
10196 :end-of-capability command parameter, used by pop3.el.
10198 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10200 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10202 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10203 for list)" (bug#6475).
10205 * files.el (file-expand-wildcards): Ignore non-readable
10206 sub-directories while trying to find matches instead of signaling
10207 an error (bug#6297).
10209 * man.el (Man-reference-regexp): Allow matching possible
10210 word-wrapped references (bug#6289).
10212 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10213 for consistency with the other vc buffers (bug#6197).
10214 (vc-checkin): Ditto.
10216 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10218 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10220 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10222 * custom.el (defcustom): Clarify that :set is only used in the
10223 Customize user interface (bug#6089).
10225 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10226 associated with a file, refuse to run instead of erroring out
10229 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10230 the doc string, since it appears that using `fill-column' always
10231 controls the width (bug#7845).
10233 * simple.el (shell-command-on-region): Say where the error output
10234 went if `shell-command-default-error-buffer' is set (bug#6857).
10236 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10238 * allout.el (allout-yank-processing): Adjust cursor position for
10239 backwards-deleted space.
10241 (allout-rebullet-heading): Register changes with
10242 allout-exposure-changed-hook, so the modified topic is properly
10245 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10247 * minibuffer.el (completion-in-region): Document PREDICATE
10250 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10251 of keyword/argument pairs (bug#6904).
10253 * replace.el (multi-occur):
10254 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10256 2011-07-02 Drew Adams <drew.adams@oracle.com>
10258 * dired.el (dired-mark-if): Make the message about whether it's
10259 marking or unmarking clearer (bug#8523).
10261 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10263 * disp-table.el (display-table-print-array): New function.
10264 (describe-display-table): Use it to print the vectors more pretty
10267 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10269 * window.el (window-state-get-1): Don't assign clone numbers.
10270 Add clone-of item to list of window parameters.
10271 (window-state-put-2): Don't process clone numbers.
10272 (display-buffer-alist): Fix doc-string.
10274 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10276 * subr.el (remq): Don't allocate if it's not needed.
10277 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10278 (keymap--merge-bindings): New functions.
10279 (keymap-canonicalize): Use them to refine the canonicalization.
10280 * minibuffer.el (minibuffer-local-completion-map)
10281 (minibuffer-local-must-match-map): Move initialization from C.
10282 (minibuffer-local-filename-completion-map): Move initialization from C;
10283 don't inherit from anything here.
10284 (minibuffer-local-filename-must-match-map): Make obsolete.
10285 (completing-read-default): Use make-composed-keymap to combine
10286 minibuffer-local-filename-completion-map with either
10287 minibuffer-local-must-match-map or
10288 minibuffer-local-filename-completion-map.
10290 2011-07-01 Glenn Morris <rgm@gnu.org>
10292 * type-break.el (type-break-time-sum): Use dolist.
10294 * textmodes/flyspell.el (flyspell-word-search-backward):
10295 Replace CL function.
10297 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * mouse.el (mouse--strip-first-event): New function.
10300 (function-key-map): Use it to map fringe clicks to normal clicks
10303 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10304 (vc-bzr-revision-completion-table): Add support for annotate and date.
10306 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10307 inherit from parent.
10309 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10311 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10312 (dired-show-file-type): Doc fixup (bug#8818).
10314 * dired.el (dired-mode): Fix up the doc string as suggested by
10315 Drew Adams (bug#8817).
10317 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10318 cookie, since the manual says that it should be possible to add
10319 this function to `find-file-hook' (bug#8709).
10321 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10323 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10324 here. Noted Ted Zlatanov as the maintainer.
10325 (cfengine-common-settings, cfengine-common-syntax): New functions
10326 to set up common things between `cfengine-mode' and
10328 (cfengine3-mode): New mode.
10329 (cfengine3-defuns cfengine3-defuns-regex
10330 (cfengine3-class-selector-regex cfengine3-category-regex)
10331 (cfengine3-vartypes cfengine3-font-lock-keywords)
10332 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10333 (cfengine3-indent-line): Add from cfengine3.el.
10335 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10337 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10339 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10341 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10343 * window.el (same-window-buffer-names, same-window-regexps)
10344 (same-window-p, special-display-frame-alist)
10345 (special-display-popup-frame, special-display-function)
10346 (special-display-buffer-names, special-display-regexps)
10347 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10348 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10349 (split-window-preferred-function, split-height-threshold)
10350 (split-width-threshold, even-window-heights)
10351 (display-buffer-mark-dedicated, window-splittable-p)
10352 (split-window-sensibly, window-safely-shrinkable-p):
10354 (display-buffer): Don't spread args with function specifier
10355 because special-display-popup-frame won't like it.
10357 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10359 Time-stamp simplifications and fixes.
10360 These improve accuracy slightly, and future-proof the code
10361 against some potential changes to current-time format.
10363 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10364 by using time-since and float-time.
10366 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10367 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10368 + NNN microseconds".
10370 * type-break.el (type-break-time-sum): Rewrite using time-add.
10372 * play/hanoi.el (hanoi-current-time-float): Remove.
10373 All uses replaced by float-time.
10375 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10376 This yields a more-accurate answer.
10377 (rng-time-to-float): Remove; no longer needed.
10379 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10381 * calendar/timeclock.el (timeclock-seconds-to-time):
10382 Defalias to seconds-to-time, since they're the same thing.
10384 * emacs-lisp/elp.el (elp-elapsed-time):
10385 * emacs-lisp/benchmark.el (benchmark-elapse):
10386 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10388 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * window.el (bury-buffer): Don't iconify the only frame.
10391 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10392 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10394 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10396 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10397 Add mouse-yank-primary.
10399 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10401 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10403 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10405 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10406 (find-library-name): Use it to find relative load names when provided
10407 absolute file name (bug#8803).
10409 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10411 * textmodes/flyspell.el (flyspell-word): Consider words that
10412 differ only in case as potential doublons (bug#5687).
10414 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10415 Remove two rather uninteresting debugging-like messages to make
10416 debbugs.el more silent.
10418 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10419 a password-like phrase.
10421 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10423 * progmodes/cc-guess.el: New file.
10425 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10427 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10428 derived from `c-basic-common-init'.
10430 * progmodes/cc-mode.el (top-level): Require cc-guess.
10431 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10433 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10435 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10437 2011-06-30 Alan Mackenzie <acm@muc.de>
10439 * progmodes/cc-engine.el (c-guess-continued-construct):
10440 Correct the handling of template-args-cont, particularly for when font
10441 lock is disabled. Name this case as "CASE G".
10443 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10445 * allout.el (allout-yank-processing): Fix injection of extra space
10446 between bullet and non-whitespace character in first topic when
10447 pasting, ensuring that the actual spacing in the pasted topic
10448 following the bullet char is preserved. This extra space was
10449 causing pasted encrypted topics to get a decrypted status even
10450 when the content was actually still encrypted. Now the decryption
10451 status from before the paste is preserved.
10453 (allout-flag-region): Set all allout overlays so they evaporate
10454 when reduced to zero length (evanescent), to prevent overlay
10457 2011-06-30 Glenn Morris <rgm@gnu.org>
10459 * w32-fns.el (w32-charset-info-alist): Declare.
10461 * find-dired.el (find-grep-options): Simplify.
10463 * term/ns-win.el (ns-set-resource): Declare.
10465 * ses.el (row, col): Declare dynamic variables honestly.
10467 * textmodes/reftex-parse.el (index-tags): Declare.
10469 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10471 * cus-edit.el (customize-push-and-save): New function.
10473 * files.el (hack-local-variables-confirm): Use it.
10475 * custom.el (load-theme): New arg NO-CONFIRM.
10476 Use customize-push-and-save (Bug#8720).
10477 (custom-enabled-themes): Doc fix.
10479 * cus-theme.el (customize-create-theme)
10480 (custom-theme-merge-theme): Callers to load-theme changed.
10482 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10484 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10485 short URLs have at least one dot in them (bug #7614).
10487 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10488 nil, because using a pty is apparently too slow (bug #895).
10490 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10492 * mail/sendmail.el (sendmail-query-once): New function.
10493 (sendmail-query-once-function): New variable.
10495 2011-06-29 Glenn Morris <rgm@gnu.org>
10497 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10499 * ses.el (top-level): Require cl when compiling.
10500 (ses-set-localvars): Fix error statement.
10501 Call it at compile time to silence a storm of warnings.
10503 2011-06-29 Martin Rudalics <rudalics@gmx.at>
10505 * window.el (normalize-live-buffer): Rename to
10506 window-normalize-buffer.
10507 (normalize-live-frame): Rename to window-normalize-frame.
10508 (normalize-any-window): Rename to window-normalize-any-window.
10509 (normalize-live-window): Rename to window-normalize-live-window.
10510 (make-window-atom): Rename to window-make-atom.
10511 (window-resize-reset): Rename to window--resize-reset.
10512 (window-resize-reset-1): Rename to window--resize-reset-1.
10513 (resize-mini-window): Rename to window--resize-mini-window.
10514 (resize-subwindows-skip-p): Rename to
10515 window--resize-subwindows-skip-p.
10516 (resize-subwindows-normal): Rename to
10517 window--resize-subwindows-normal.
10518 (resize-subwindows): Rename to window--resize-subwindows.
10519 (resize-other-windows): Rename to window--resize-siblings.
10520 (resize-this-window): Rename to window--resize-this-window.
10521 (resize-root-window): Rename to window--resize-root-window.
10522 (resize-root-window-vertically): Rename to
10523 window--resize-root-window-vertically.
10524 (normalize-buffer-to-display): Rename to
10525 window-normalize-buffer-to-display.
10526 (normalize-buffer-to-switch-to): Rename to
10527 window-normalize-buffer-to-switch-to.
10528 Correspondingly update all callers of the functions listed
10530 (display-buffer-alist, display-buffer-normalize-arguments)
10531 (display-buffer-normalize-options, display-buffer)
10532 (display-buffer-alist-set): Use "function" instead of
10535 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
10537 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10538 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10539 debbugs.gnu.org. Mention acknowledgment email.
10541 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10543 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10544 buffer multibyteness, since it shouldn't matter.
10546 2011-06-28 Martin Rudalics <rudalics@gmx.at>
10548 * window.el (display-buffer-in-side-window): Handle dedicated
10549 windows as in display-buffer-reuse-window.
10550 (display-buffer-normalize-alist): Use value of override
10552 (display-buffer-normalize-specifiers): Use value of
10553 other-window-means-other-frame specifier.
10554 (display-buffer-alist): Rewrite some texts in widgets.
10555 (display-buffer): Spread arguments when calling function
10556 specified by fun-with-args.
10558 2011-06-28 Deniz Dogan <deniz@dogan.se>
10560 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10563 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10564 selectors (Bug#5732).
10565 (css-proprietary-nmstart-re): Use `regexp-opt'.
10567 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10569 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10570 (eshell-ls-date-format): New defcustom.
10571 (eshell-ls-file): Use it.
10573 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10575 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10577 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10579 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10580 (ange-ftp-make-tmp-name): New arg.
10581 (ange-ftp-file-local-copy): Use it.
10583 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10585 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10586 no-conversion (Bug#8870).
10588 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10590 * window.el (window-right, window-left, window-child)
10591 (window-child-count, window-last-child)
10592 (window-iso-combination-p, walk-window-tree-1)
10593 (window-atom-check-1, window-tree-1, delete-window)
10594 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10595 new naming conventions - window-vchild, window-hchild,
10596 window-next and window-prev are now called window-top-child,
10597 window-left-child, window-next-sibling and window-prev-sibling
10599 (resize-window-reset): Rename to window-resize-reset.
10600 (resize-window-reset-1): Rename to window-resize-reset-1.
10601 (resize-window): Rename to window-resize.
10602 (window-min-height, window-min-width)
10603 (resize-mini-window, resize-this-window, resize-root-window)
10604 (resize-root-window-vertically, adjust-window-trailing-edge)
10605 (enlarge-window, shrink-window, maximize-window)
10606 (minimize-window, delete-window, quit-restore-window)
10607 (split-window, balance-windows, balance-windows-area-adjust)
10608 (balance-windows-area, window-state-put-2)
10609 (display-buffer-even-window-sizes, display-buffer-set-height)
10610 (display-buffer-set-width, set-window-text-height)
10611 (fit-window-to-buffer): Rename all "resize-window" prefixed
10612 calls to use the "window-resize" prefix convention.
10613 (display-buffer-alist): Fix symbol for label specifier.
10614 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10615 corresponding specifier.
10616 Reported by Juanma Barranquero <lekktu@gmail.com>.
10618 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10620 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10622 (ses-call-printer): Does not pass an empty string to formatter when the
10623 cell is empty to keep from barking printer Calc math-format-value.
10625 2011-06-27 Richard Stallman <rms@gnu.org>
10627 * battery.el (battery-mode-line-limit): New variable.
10628 (battery-update): Handle it.
10630 * mail/rmailmm.el (rmail-mime-process-multipart):
10631 Handle truncated messages.
10633 2011-06-27 Glenn Morris <rgm@gnu.org>
10635 * progmodes/flymake.el (flymake-err-line-patterns):
10636 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10638 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10640 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10641 (ses--clean-!, ses--clean-_): New functions.
10642 (ses-range): Add configurability of readout order, and conversion
10645 * ses.el (ses-repair-cell-reference-all): New function.
10646 (ses-cell-symbol): Set macro as safe, so that it can be used in
10649 * ses.el: Update cycle detection algorithm.
10650 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10651 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10652 (ses-set-localvars): New function.
10653 (ses-make-cell): Add property-list as a cell element.
10654 (ses-cell-property-get-fun, ses-cell-property-get)
10655 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10656 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10658 (ses-cell-property-set, ses-cell-property-pop)
10659 (ses-cell-property-get-handle): New macro.
10660 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10661 New aliases, used for code readability.
10662 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10664 (ses-self-reference-early-detection): New defcustom.
10665 (ses-formula-references): Robustify against self-referring cells.
10666 (ses-mode): Use ses-set-localvars.
10667 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10668 before lauching the update processing.
10669 (ses-initialize-Dijkstra-attempt): New function.
10670 (ses-recalculate-cell): Update for cycle detection based on
10671 Dijkstra algorithm.
10673 * ses.el: Fix commenting and indenting convention.
10675 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10677 * bs.el (bs-cycle-next): Complete last change.
10679 2011-06-27 Drew Adams <drew.adams@oracle.com>
10681 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10683 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10685 * net/network-stream.el (network-stream-open-starttls):
10686 Don't re-get capabilities unless we've reestablished connection.
10687 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10689 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10690 to binary to possibly avoid line encoding issues on Windows (among
10693 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10695 * net/network-stream.el (open-network-stream): Return an :error
10696 saying what the problem was, if possible.
10698 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10701 * net/network-stream.el (network-stream-open-starttls): If we
10702 wanted to use STARTTLS, and the server offered it, but we weren't
10703 able to because we had no STARTTLS support, then close the connection.
10704 (open-network-stream): Return an :error element, if present.
10706 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10708 * hl-line.el (hl-line-sticky-flag): Doc fix.
10709 (global-hl-line-sticky-flag): New option (Bug#8323).
10710 (global-hl-line-highlight): Obey it.
10712 * vc/vc.el (vc-revert-show-diff): Default to t.
10714 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10716 * allout-widgets.el (allout-widgets-post-command-business):
10717 Stop decorating intermediate isearch matches. They're not being
10718 undecorated when an isearch is continued past, and isearch
10719 automatically collapses them. This leads to "widget leaks", where
10720 decorated items accumulate in collapsed areas. Lines with lots of
10721 hidden widgets can slow down cursor travel, substantially.
10722 Too much complicated machinery would be needed to ensure undecoration,
10723 so we're doing without this nicety.
10725 (allout-widgets-tally-string): Don't try to do a hash-table-count
10726 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10727 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10728 *Messages* when allout-widgets-maintain-tally is t.
10730 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10732 * window.el (display-buffer-normalize-argument): Rename to
10733 display-buffer-normalize-arguments. Handle special meaning of
10734 LABEL argument. Respect special-display-function when popping up
10735 a new frame. Fix code searching for a window showing the buffer
10737 (display-buffer-normalize-specifiers):
10738 Call display-buffer-normalize-arguments.
10739 (display-buffer-in-window): Don't undedicate the window if its
10740 buffer remains the same.
10741 Reported by Drew Adams <drew.adams@oracle.com>.
10742 (display-buffer-alist): Add choice for same-window macro
10744 (display-buffer): Mention special meaning of LABEL argument in
10745 doc-string. Fix quoting. Don't pop up a new frame even as
10748 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10750 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10751 avoid deleting the current window in some cases (bug#8911).
10753 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10755 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10758 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10760 * net/network-stream.el (network-stream-open-starttls):
10761 Use built-in TLS support if `gnutls-available-p' is true.
10762 (network-stream-open-tls): Ditto.
10764 2011-06-26 Leo Liu <sdl.web@gmail.com>
10766 * register.el (registerv): New struct.
10767 (registerv-make): New function.
10768 (jump-to-register, describe-register-1, insert-register):
10769 Support the jump-func, print-func and insert-func slot of a registerv
10772 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10774 * vc/vc.el (vc-revert-show-diff): New defcustom.
10775 (vc-diff-internal): New arg specifying diff buffer.
10776 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10777 reuse an existing *vc-diff* buffer (Bug#8927).
10779 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10781 2011-06-26 Glenn Morris <rgm@gnu.org>
10783 * progmodes/f90.el (f90-critical-indent): New option.
10784 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10785 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10786 (f90-mode): Doc fix.
10787 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10788 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10789 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10790 (f90-match-end): Handle block, critical.
10792 2011-06-25 Glenn Morris <rgm@gnu.org>
10794 * calendar/diary-lib.el (diary-included-files): Doc fix.
10795 (diary-include-files): New function, extracted from
10796 diary-include-other-diary-files and diary-mark-included-diary-files.
10797 (diary-include-other-diary-files, diary-mark-included-diary-files):
10798 Just call diary-include-files.
10799 (diary-mark-entries): Reset diary-included-files on first call.
10801 * calendar/diary-lib.el (diary-mark-entries)
10802 (diary-mark-included-diary-files):
10803 Visit included diary-files in temp buffers.
10805 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10806 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10807 (f90-start-block-re, f90-imenu-generic-expression)
10808 (f90-looking-at-program-block-start, f90-no-block-limit):
10809 Add support for submodules.
10811 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10812 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10814 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10816 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10817 buffer-file-type before setting its value, to avoid disastrous
10818 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10820 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10822 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10824 * ses.el (ses-unload-function):
10825 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10827 * proced.el (proced-unload-function):
10828 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10830 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10832 * server.el (server-create-window-system-frame): Add parameters arg.
10833 (server-process-filter): Doc fix. Handle frame-parameters.
10835 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10837 Fix bug#8730, bug#8781.
10839 * loadhist.el (unload--set-major-mode): New function.
10840 (unload-feature): Use it.
10842 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10843 (python-unload-function): New function.
10845 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10849 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10851 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10852 the candidates list.
10854 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10856 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10858 2011-06-23 Richard Stallman <rms@gnu.org>
10860 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10861 (rmail-variables): Set next-error-move-function.
10862 (rmail-what-message): Take argument POS.
10863 (rmail-next-error-move): New function.
10865 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10868 messages for adjacent non-terminals.
10870 2011-06-23 Richard Stallman <rms@gnu.org>
10872 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10873 (rmail-show-message-1): Preserve buffer modified flag.
10874 (rmail-start-mail): Don't specify use of rmail-mail-return;
10875 that's done by mail-bury now.
10876 (rmail-mail-return): Handle arg NEWBUF.
10878 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10880 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10883 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10885 * window.el (get-lru-window, get-mru-window)
10886 (get-largest-window): Never return a minibuffer window.
10887 (display-buffer-pop-up-window): Fix a bug that could lead to
10888 reusing the minibuffer window.
10889 (display-buffer): Pass original specifier argument to
10890 display-buffer-function instead of the normalized one.
10891 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10893 2011-06-22 Leo Liu <sdl.web@gmail.com>
10895 * minibuffer.el (completing-read-function)
10896 (completing-read-default): Move from minibuf.c
10898 2011-06-22 Richard Stallman <rms@gnu.org>
10900 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10901 to Rmail even if not started by a special Rmail command.
10903 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10904 Copy the buffer currently showing just one message.
10906 2011-06-22 Roland Winkler <winkler@gnu.org>
10908 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10909 (bibtex-clean-entry): First delete the old key so that a
10910 customized algorithm for generating the new key does not get
10911 confused by the old key.
10912 (bibtex-url): Obey regexp of first step.
10913 (bibtex-search-entries): Do not use add-to-list with local
10916 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10918 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10919 stored a user name, then query for the password first, instead of
10920 waiting for SMTP to give an error message and the trying again.
10922 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10924 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10925 BUFFER in call-process.
10927 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10929 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10931 (smtpmail-try-auth-methods): Require user name and password from
10934 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10936 * window.el (display-buffer-default-specifiers)
10937 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10938 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10939 (split-window): Normalize SIDE argument (Bug#8916).
10941 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10942 (special-display-frame-alist, special-display-popup-frame):
10943 Remove duplicate declarations. These are now in window.el.
10945 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10947 * mail/smtpmail.el (smtpmail-via-smtp):
10948 Set :use-starttls-if-possible so that we always use STARTTLS if the
10949 server supports it. SMTP servers that support STARTTLS commonly
10952 * net/network-stream.el (network-stream-open-starttls): Support
10953 upgrading to STARTTLS always, even if we don't have built-in support.
10954 (open-network-stream): Add the :always-query-capabilities keyword.
10956 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10957 upgrades with `open-network-stream', and rely solely on
10958 auth-source for all credentials. Big changes throughout the file,
10960 (smtpmail-auth-credentials): Remove.
10961 (smtpmail-starttls-credentials): Remove.
10962 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10965 * net/network-stream.el (network-stream-open-starttls):
10966 Provide support for client certificates both for external and built-in
10968 (auth-source): Require.
10969 (open-network-stream): Document the :client-certificate keyword.
10970 (network-stream-certificate): Change cert-cert to cert and
10973 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10975 * net/tramp-cache.el (top): Don't load the persistency file when
10976 "emacs -Q" has been called.
10978 2011-06-21 Tim Harper <timcharper@gmail.com>
10980 * term/ns-win.el (ns-initialize-window-system):
10981 Set application-specific `ApplePressAndHoldEnabled' system
10982 resource to NO as it is not yet supported by the NS port.
10984 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10986 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10987 (list-dynamic-libraries): ...not here.
10989 2011-06-21 Leo Liu <sdl.web@gmail.com>
10991 * subr.el (sha1): Implement sha1 using secure-hash.
10993 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10995 * window.el (display-buffer-alist): In default value do not
10996 enforce searching a window on any but the selected frame.
10997 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10998 (display-buffer-select-window): Remove function.
10999 (display-buffer-in-window): When a window on another frame gets
11000 reused, do not select it any more but just raise its frame if
11001 necessary (Bug#8851) and (Bug#8856).
11002 (display-buffer-normalize-options): Handle pop-up-frames related
11003 options more faithfully.
11004 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11005 window if it is on another frame.
11006 (display-buffer-alist, display-buffer-default-specifiers):
11007 Don't make new frame unsplittable by default.
11008 (display-buffer-normalize-argument): Fix doc-string typo and use
11009 'same-frame-other-window instead of 'other-window when associating
11010 with display-buffer-macro-specifiers.
11012 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
11014 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11016 (5x5-mode-map, 5x5-mode-menu): Bind them.
11017 (5x5-draw-grid): Tweak the solver's rendering.
11019 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11021 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11022 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11024 2011-06-21 Drew Adams <drew.adams@oracle.com>
11026 * menu-bar.el: Use function variable instead of switch-to-buffer.
11027 (menu-bar-select-buffer-function): New variable.
11028 (menu-bar-update-buffers): Use it (bug#8876).
11030 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11035 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11037 * x-dnd.el (x-dnd-version-from-flags)
11038 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11039 and long as number (Bug#8899).
11040 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11042 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11044 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11045 (completion-try-completion, completion-all-completions): Compute the
11046 metadata argument if it's missing; make it optional (bug#8795).
11048 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11049 (widget-complete): Use new :completion-function property.
11050 (widget-completions-at-point): New function.
11051 (default): Use :completion-function instead of :complete.
11052 (widget-default-completions): Rename from widget-default-complete;
11054 (widget-string-complete, widget-file-complete, widget-color-complete):
11056 (file, symbol, function, variable, coding-system, color):
11057 * international/mule-cmds.el (default-input-method, charset)
11058 (language-info-custom-alist):
11059 * cus-edit.el (face): Use new property :completions.
11061 * progmodes/pascal.el (pascal-completions-at-point): New function.
11062 (pascal-mode): Use it.
11063 (pascal-mode-map): Use completion-at-point.
11064 (pascal-toggle-completions): Make obsolete.
11065 (pascal-complete-word, pascal-show-completions):
11066 * progmodes/octave-mod.el (octave-complete-symbol):
11067 Redefine as obsolete alias.
11068 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11069 Signal absence of completion info for old Octave,
11070 (inferior-octave-complete): Redefine as obsolete alias.
11071 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11072 (meta-completions-at-point): Rename from meta-complete-symbol and
11073 adapt it for use on completion-at-point-functions.
11074 (meta-common-mode): Use it.
11075 (meta-looking-at-backward, meta-match-buffer): Remove.
11076 (meta-complete-symbol): Redefine as obsolete alias.
11077 (meta-common-mode-map): Use completion-at-point.
11078 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11079 (makefile-mode-map): Use completion-at-point.
11080 (makefile-completions-at-point): Rename from makefile-complete and
11081 adapt it for use on completion-at-point-functions.
11082 (makefile-mode): Use it.
11083 (makefile-complete): Redefine as obsolete alias.
11085 2011-06-20 Deniz Dogan <deniz@dogan.se>
11087 * net/rcirc.el: Delete trailing whitespaces once and for all.
11089 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11091 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11093 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11095 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11097 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11099 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11101 * window.el (display-buffer-other-window-means-other-frame):
11102 Call display-buffer-normalize-alist.
11103 (display-buffer-normalize-specifiers-1): Rename to
11104 display-buffer-normalize-argument. New argument other-frame.
11106 (display-buffer-normalize-specifiers-2): Rename to
11107 display-buffer-normalize-options.
11108 (display-buffer-normalize-alist-1): New function.
11109 (display-buffer-normalize-specifiers-3): Rename to
11110 display-buffer-normalize-alist.
11111 Call display-buffer-normalize-alist-1.
11112 (display-buffer-normalize-options-inhibit): New variable.
11113 (display-buffer-normalize-specifiers): Rewrite calling
11114 display-buffer-normalize-alist,
11115 display-buffer-normalize-argument, and
11116 display-buffer-normalize-options. Don't call the latter if
11117 display-buffer-normalize-options-inhibit is non-nil.
11118 (frame-auto-delete): New option.
11119 (window-deletable-p): Use frame-auto-delete.
11120 (window-list-no-nils, window-state-ignored-parameters)
11121 (window-state-get-1, window-state-get, window-state-put-list)
11122 (window-state-put-1, window-state-put-2, window-state-put):
11124 (display-buffer-normalize-options): Move special-display-p group
11125 after pop-up-frame group (Bug#8851) and (Bug#8856).
11127 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11129 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11131 (rx-submatch-n): New function.
11134 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11137 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11139 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11141 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11142 anytime existing face settings are present (Bug#8889).
11144 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11145 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11146 Remove unused argument.
11148 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11150 * window.el (display-buffer-default-specifiers):
11151 Remove pop-up-frame. Add pop-up-window-min-height,
11152 pop-up-window-min-width, and another reuse-window specifier
11153 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11154 (display-buffer-normalize-specifiers-2):
11155 Handle split-height-threshold and split-width-threshold also when
11156 pop-up-windows is unset. Add a reuse-window specifier for the
11157 case popping up a new window fails.
11158 (special-display-popup-frame): Remove double quoting.
11159 (display-buffer-normalize-specifiers-1): Fix thinko.
11161 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11163 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11164 according to comint-completion-addsuffix.
11166 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11167 (pcomplete-suffix-list): Mark as obsolete.
11168 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11169 pcomplete-seen in the closure.
11170 (pcomplete-comint-setup): Setup completion-at-point as well.
11171 (pcomplete--entries): New function.
11172 (pcomplete--env-regexp): New var.
11173 (pcomplete-entries): Rewrite to work with partial-completion and
11174 without relying on pcomplete-suffix-list.
11175 (pcomplete-pare-list): Remove, unused.
11177 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11179 * window.el (display-buffer-alist): Set pop-up-window-min-height
11180 and pop-up-window-min-width in default value. Reported by
11181 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11182 other-window-means-other-frame.
11183 (display-buffer-macro-specifiers): Comment out entry for
11184 other-window specifier.
11185 (display-buffer-other-window-means-other-frame): New function.
11186 (display-buffer-normalize-specifiers-1): New arguments
11187 buffer-name and label. Treat other-window case specially.
11188 (display-buffer-normalize-specifiers-2): Treat other-window case
11190 (display-buffer-normalize-specifiers-3): New function.
11191 (display-buffer-normalize-specifiers):
11192 Call display-buffer-normalize-specifiers-3.
11194 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11196 * window.el (same-window-p): Fix two typos introduced when
11197 adding with-no-warnings.
11198 (display-buffer-normalize-specifiers-1): Don't check
11199 pop-up-frames for 'unset initialization.
11200 (display-buffer-normalize-specifiers-2): Major rewrite using
11201 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11202 (pop-up-frames, display-buffer-reuse-frames)
11203 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11204 Suggested by David Engster <deng@randomsample.de>.
11205 (even-window-heights): Initialize to 'unset.
11206 (display-buffer-alist-set): Handle new 'unset initializations.
11207 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11210 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11212 * window.el (display-buffer-normalize-specifiers-1):
11213 Respect current value of pop-up-frames for most reasonable values of
11214 second argument of display-buffer (Bug#8865).
11215 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11216 (switch-to-buffer-other-window-same-frame)
11217 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11219 (display-buffer): Don't check noninteractive when calling
11220 display-buffer-pop-up-frame.
11221 (display-buffer-pop-up-frame): Never pop up a frame in
11222 noninteractive mode (Bug#8857).
11223 (enlarge-window, shrink-window): Don't report an error when the
11224 window can't be resized as requested (Bug#8862).
11226 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11230 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11232 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11234 2011-06-15 Alan Mackenzie <acm@muc.de>
11236 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11237 for declarators, disable knr checking to speed up for normal files.
11238 2: Refactor, replacing a sequence of nested if forms by a cond form.
11240 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11242 * net/network-stream.el (open-network-stream): Add the keyword
11243 :always-query-capabilities for the case where you want to force a
11244 `plain' network connection, but the protocol still requires the
11245 capabilitiy command (i.e., SMTP and EHLO).
11247 * subr.el (process-live-p): Rename from `process-alive-p' for
11248 consistency with other `-live-p' functions.
11250 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11252 * window.el (same-window-buffer-names, same-window-regexps)
11253 (special-display-frame-alist, special-display-popup-frame)
11254 (special-display-function, special-display-buffer-names)
11255 (special-display-regexps, pop-up-frame-alist)
11256 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11257 (pop-up-windows, split-window-preferred-function)
11258 (split-height-threshold, split-width-threshold, even-window-heights)
11259 (display-buffer-mark-dedicated): Don't encourage the use of
11260 display-buffer-alist from Elisp code.
11262 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11264 * progmodes/python.el (python-mode): Derive from prog-mode.
11265 * progmodes/ps-mode.el (ps-mode):
11266 * progmodes/mixal-mode.el (mixal-mode):
11267 * progmodes/cfengine.el (cfengine-mode):
11268 * progmodes/ld-script.el (ld-script-mode): Likewise.
11270 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11272 * window.el (display-buffer-alist): Trim default value to avoid
11273 popping up a new frame (Bug#8857) or reusing an arbitrary window
11275 (display-buffer): Do not fall back on popping up a new frame in
11276 batch mode (Bug#8857).
11278 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11280 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11281 (custom-theme-summary): New function.
11282 (customize-themes): Use it.
11284 2011-06-13 Glenn Morris <rgm@gnu.org>
11286 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11288 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11290 * help.el (help-window): Remove variable.
11291 (help-window-point-marker, temp-buffer-max-height)
11292 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11293 (help-print-return-message): Don't set help-window.
11294 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11295 (help-window-setup-finish): Remove.
11296 (help-window-display-message, help-window-setup)
11297 (with-help-window): Major rewrite based on new
11298 display-buffer-window variable.
11300 * help-mode.el (help-mode-finish): Remove help-window related
11303 * view.el (view-exits-all-viewing-windows): Remove reference to
11304 view-return-to-alist in doc-string.
11305 (view-return-to-alist): Make obsolete.
11306 (view-buffer): Call pop-to-buffer-same-window and remove
11308 (view-buffer-other-window): Call pop-to-buffer-other-window and
11309 simplify code. Ignore second argument.
11310 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11311 simplify code. Ignore second argument.
11312 (view-return-to-alist-update): Make obsolete.
11313 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11314 Rewrite using quit-restore window parameters.
11315 (view-mode-exit): Rename second argument to EXIT-ONLY.
11316 Rewrite using quit-restore-window.
11317 (View-exit, View-exit-and-edit, View-leave, View-quit)
11318 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11319 appropriate arguments.
11320 (view-end-message): Use quit-restore window parameter.
11322 * window.el (display-buffer-function): Rewrite doc-string.
11323 (display-buffer-window, display-buffer-alist): New variables.
11324 (display-buffer-split-specifiers)
11325 (display-buffer-side-specifiers)
11326 (display-buffer-macro-specifiers): New constants.
11327 (display-buffer-even-window-sizes, display-buffer-set-height)
11328 (display-buffer-set-width, display-buffer-select-window)
11329 (display-buffer-in-window, display-buffer-reuse-window)
11330 (display-buffer-split-window-1, display-buffer-split-window)
11331 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11332 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11333 (display-buffer-in-side-window, normalize-buffer-to-display)
11334 (display-buffer-normalize-specifiers-1)
11335 (display-buffer-normalize-specifiers-2)
11336 (display-buffer-normalize-specifiers, display-buffer-frame):
11338 (display-buffer): Major rewrite.
11339 (display-buffer-other-window, display-buffer-other-frame)
11340 (pop-to-buffer, switch-to-buffer-other-window)
11341 (switch-to-buffer-other-frame): Rewrite.
11342 (display-buffer-same-window, display-buffer-same-frame)
11343 (display-buffer-same-frame-other-window)
11344 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11345 (pop-to-buffer-other-window)
11346 (pop-to-buffer-same-frame-other-window)
11347 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11348 (switch-to-buffer-other-window-same-frame): New functions.
11349 (same-window-p, special-display-p): Rewrite disabling warnings.
11351 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11352 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11354 (same-window-buffer-names, same-window-regexps)
11355 (special-display-frame-alist, special-display-popup-frame)
11356 (special-display-function, special-display-buffer-names)
11357 (special-display-regexps, pop-up-frame-alist)
11358 (pop-up-frame-function, split-window-preferred-function)
11359 (split-height-threshold, split-width-threshold)
11360 (even-window-heights): Make obsolete.
11362 2011-06-12 Glenn Morris <rgm@gnu.org>
11364 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11365 Misc simplifications.
11367 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11369 * window.el (window-safely-shrinkable-p): Restore function which
11370 was inadvertently removed in change from 2011-06-11. Declare as
11373 * calendar/calendar.el (calendar-generate-window):
11374 Use window-iso-combined-p instead of combination of one-window-p and
11375 window-safely-shrinkable-p.
11377 2011-06-12 Glenn Morris <rgm@gnu.org>
11379 * progmodes/fortran.el (fortran-mode-syntax-table):
11380 * progmodes/f90.el (f90-mode-syntax-table):
11381 Set % to punctuation. (Bug#8820)
11382 (f90-find-tag-default): Remove, no longer needed.
11384 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11386 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11388 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11390 * image.el (image-animated-p): Return animation delay in seconds.
11391 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11392 (image-animate-timeout): Remove DELAY argument. Don't assume
11393 every subimage has the same delay; get it from image-animated-p.
11394 (image-animate): Caller changed.
11396 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11398 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11399 to ignored backtrace functions.
11401 2011-06-11 Glenn Morris <rgm@gnu.org>
11403 * calendar/appt.el (appt-disp-window-function): Doc fix.
11404 (appt-check): Handle overlapping appointments. (Bug#8337)
11406 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11408 * window.el (window-tree-1, window-tree): New functions, moving
11409 the latter to window.el.
11410 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11411 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11412 (bw-refresh-edges): Remove.
11413 (balance-windows-1, balance-windows-2): New functions.
11414 (balance-windows): Rewrite in terms of window tree functions,
11415 balance-windows-1 and balance-windows-2.
11416 (bw-adjust-window): Remove.
11417 (balance-windows-area-adjust): New function with functionality of
11418 bw-adjust-window but using resize-window.
11419 (set-window-text-height): Rewrite doc-string.
11420 Use normalize-live-window and resize-window.
11421 (enlarge-window-horizontally, shrink-window-horizontally):
11422 Rename argument to DELTA.
11423 (window-buffer-height): New function.
11424 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11425 Rewrite using new window resize routines.
11426 (kill-buffer-and-window, mouse-autoselect-window-select):
11427 Use ignore-errors instead of condition-case.
11428 (quit-window): Call delete-frame instead of delete-windows-on
11429 for the only buffer on frame.
11431 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11433 * loadup.el (top-level): Load window before files for the sake
11434 of replace-buffer-in-windows.
11436 * files.el (read-buffer-to-switch)
11437 (switch-to-buffer-other-window)
11438 (switch-to-buffer-other-frame, display-buffer-other-frame):
11441 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11442 (previous-buffer): Move to window.el.
11444 * bindings.el (unbury-buffer): Move to window.el.
11446 * window.el (delete-other-windows-vertically): Move after
11447 definition of delete-other-windows.
11448 (other-window, delete-windows-on, replace-buffer-in-windows):
11449 Move here from window.c.
11450 (record-window-buffer, unrecord-window-buffer)
11451 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11452 (switch-to-next-buffer): New functions.
11453 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11454 from simple.el. Call switch-to-next-buffer.
11455 (previous-buffer): Move here from simple.el.
11456 Call switch-to-prev-buffer.
11457 (bury-buffer): Move here from buffer.c. Switch to previous
11458 buffer when window cannot be deleted.
11459 (unbury-buffer): Move here from bindings.el.
11460 (ctl-x-map): Move binding for other-window from window.c to
11462 (read-buffer-to-switch, switch-to-buffer-other-window)
11463 (switch-to-buffer-other-frame): Move here from files.el.
11464 (normalize-buffer-to-switch-to): New functions.
11465 (switch-to-buffer): Move here from buffer.c.
11466 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11468 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11470 * window.el (window-min-height, window-min-width): Move here
11471 from window.c. Add defcustoms and rewrite doc-strings.
11472 (resize-mini-window, resize-window): New functions.
11473 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11474 Move here from window.c.
11475 (maximize-window, minimize-window): New functions.
11476 (delete-window, delete-other-windows, split-window): Move here
11478 (window-split-min-size): New function.
11479 (split-window-keep-point): Mention split-window-above-each-other
11480 instead of split-window-vertically.
11481 (split-window-above-each-other, split-window-vertically):
11482 Rename split-window-vertically to split-window-above-each-other
11483 and provide defalias for old definition.
11484 (split-window-side-by-side, split-window-horizontally):
11485 Rename split-window-horizontally to split-window-side-by-side
11486 and provide defalias for the old definition.
11487 (ctl-x-map): Move bindings for delete-window,
11488 delete-other-windows and enlarge-window here from window.c.
11489 Replace bindings for split-window-vertically and
11490 split-window-horizontally by bindings for
11491 split-window-above-each-other and split-window-side-by-side.
11493 * cus-start.el (all): Remove entries for window-min-height and
11494 window-min-width. Add entries for window-splits and
11497 2011-06-09 Glenn Morris <rgm@gnu.org>
11499 * calendar/appt.el (appt-mode-line): New function.
11500 (appt-check, appt-disp-window): Use it.
11502 * files.el (hack-one-local-variable-eval-safep):
11503 Allow minor-modes with explicit +/-1 arguments.
11505 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11507 * term/xterm.el (xterm): Add defgroup.
11508 (xterm-extra-capabilities): Add defcustom to supply known xterm
11509 capabilities, skip querying them, or query them (default).
11510 (terminal-init-xterm): Use it.
11511 (terminal-init-xterm-modify-other-keys): New function to set up
11512 modifyOtherKeys support to simplify `terminal-init-xterm'.
11514 2011-06-09 Martin Rudalics <rudalics@gmx.at>
11516 * window.el (resize-window-reset, resize-window-reset-1)
11517 (resize-subwindows-skip-p, resize-subwindows-normal)
11518 (resize-subwindows, resize-other-windows, resize-this-window)
11519 (resize-root-window, resize-root-window-vertically)
11520 (window-deletable-p, window-or-subwindow-p)
11521 (frame-root-window-p): New functions.
11523 2011-06-09 Glenn Morris <rgm@gnu.org>
11525 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11526 (ange-ftp-get-files): Use it.
11528 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11530 * mail/sendmail.el (mail-recover-1, mail-recover):
11531 * files.el (recover-file, recover-session):
11532 Handle dired-listing-switches not being just a single short option.
11534 2011-06-09 Glenn Morris <rgm@gnu.org>
11536 * calendar/appt.el (appt-display-message, appt-disp-window):
11537 Handle lists of appointments.
11539 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11541 * window.el (one-window-p): Move down in code.
11542 Rewrite doc-string.
11543 (window-current-scroll-bars): Rewrite doc-string.
11544 Normalize live window argument.
11545 (walk-windows, get-window-with-predicate, count-windows):
11546 Rewrite doc-string. Use window-list-1.
11547 (window-in-direction-2, window-in-direction, get-mru-window):
11550 2011-06-08 Reuben Thomas <rrt@sc3d.org>
11552 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11553 Doc fix (Bug#8713).
11555 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
11557 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11559 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11561 * loadhist.el (unload-feature-special-hooks):
11562 Add `comint-output-filter-functions'.
11564 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11566 * calendar/appt.el (appt-check): Move some initializations into the let.
11568 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11570 * window.el (window-height): Defalias to window-total-height.
11571 (window-width): Defalias to window-body-width.
11573 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11575 * image-mode.el (image-toggle-animation): New command.
11576 (image-mode-map): Bind it to RET.
11577 (image-mode): Update message.
11578 (image-toggle-display-image): Avoid a spurious cache flush.
11579 (image-transform-rotation): Doc fix.
11580 (image-transform-properties): Return quickly in the normal case.
11581 (image-animate-loop): Rename from image-animate-max-time.
11583 * image.el (image-animate-max-time): Move to image-mode.el.
11584 (create-animated-image): Remove unnecessary function.
11585 (image-animate): Rename from image-animate-start. New arg.
11586 (image-animate-stop): Remove; just use image-animate-timer.
11587 (image-animate-timer): Use car-safe.
11588 (image-animate-timeout): Rename argument.
11590 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11592 * window.el (get-lru-window, get-largest-window): Move here from
11593 window.c. Rename first argument to ALL-FRAMES.
11594 Rephrase doc-strings.
11595 (get-buffer-window-list): Rewrite using window-list-1.
11596 Rephrase doc-string.
11597 (window-safe-min-height, window-safe-min-width): New constants.
11598 (window-size-ignore, window-min-size, window-min-size-1)
11599 (window-sizable, window-sizable-p, window-size-fixed-1)
11600 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11601 (window-max-delta-1, window-max-delta, window-resizable)
11602 (window-resizable-p, window-total-height, window-total-width)
11603 (window-body-width): New functions.
11604 (window-full-height-p, window-full-width-p): Rewrite using
11606 (window-body-height): Rewrite using window-body-size.
11608 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11610 * window.el (window-right, window-left, window-child)
11611 (window-child-count, window-last-child, window-any-p)
11612 (normalize-live-buffer, normalize-live-frame)
11613 (normalize-any-window, normalize-live-window)
11614 (window-iso-combination-p, window-iso-combined-p)
11615 (window-iso-combinations)
11616 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11617 (windows-with-parameter, window-with-parameter)
11618 (window-atom-root, make-window-atom, window-atom-check-1)
11619 (window-atom-check, window-side-check, window-check):
11621 (ignore-window-parameters, window-sides, window-sides-vertical)
11622 (window-sides-slots): New variables.
11623 (window-size-fixed): Move down in code. Minor doc-string fix.
11625 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11627 * comint.el (comint-dynamic-complete-as-filename)
11628 (comint-dynamic-complete-filename): Correctly call
11629 completion-in-region.
11631 2011-06-05 Deniz Dogan <deniz@dogan.se>
11633 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11636 2011-06-05 Deniz Dogan <deniz@dogan.se>
11638 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11639 (rcirc): Use it to prompt for encryption.
11641 2011-06-05 Roland Winkler <winkler@gnu.org>
11643 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11644 (bibtex-search-entries): New command bound to C-c C-a.
11645 (bibtex-display-entries): New function.
11647 2011-06-05 Roland Winkler <winkler@gnu.org>
11649 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11650 (bibtex-insert-kill): After yanking insert newline if necessary.
11651 (bibtex-initialize): Call bibtex-string-files-init only once.
11652 (bibtex-mode): Do not call easy-menu-add.
11653 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11654 (bibtex-yank): Set arg properly if nil.
11656 2011-06-05 Roland Winkler <winkler@gnu.org>
11658 * textmodes/bibtex.el (bibtex-search-entry-globally):
11660 (bibtex-search-entry): Use it.
11662 2011-06-05 Roland Winkler <winkler@gnu.org>
11664 * textmodes/bibtex.el (bibtex-entry-format): New option
11666 (bibtex-format-entry, bibtex-reformat): Honor this option.
11667 (bibtex-parse-entry): Return fields in proper order.
11669 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11671 * doc-view.el (doc-view-remove-if): Move computation of result out
11672 of `dolist' to silence misleading lexical-binding warning.
11674 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11676 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11677 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11679 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11681 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11684 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11686 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11687 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11688 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11689 (tramp-parse-putty):
11690 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11691 (tramp-completion-function-alist-ssh)
11692 (tramp-completion-function-alist-telnet)
11693 (tramp-completion-function-alist-su)
11694 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11697 * net/tramp-ftp.el:
11699 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11700 load "tramp.el" `tramp-set-completion-function'.
11702 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * shell.el: Require and use pcomplete.
11705 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11706 (shell-completion-vars): Set pcomplete-default-completion-function.
11708 2011-06-04 Deniz Dogan <deniz@dogan.se>
11710 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11713 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11715 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11717 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11719 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11720 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11721 * vc/log-view.el (log-view-beginning-of-defun):
11722 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11723 (smerge-refine-forward, smerge-refine-chopup-region):
11724 Silence warning for unused `dotimes' counter variables.
11726 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * net/tramp.el (tramp-with-progress-reporter): Rename from
11729 with-progress-reporter. Use `declare'.
11730 * net/tramp-smb.el:
11732 * net/tramp-gvfs.el: Update all uses.
11734 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11736 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11737 buffer isn't killed before making it current.
11739 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11741 Silence various byte-compiler warnings.
11742 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11743 `access-type' and new obsolescence format.
11744 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11746 (byte-compile-check-variable): New `access-type' argument.
11747 Only warn if the access-type is obsolete.
11748 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11749 (byte-compile-variable-set): Adjust callers.
11750 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11751 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11752 setting it as obsolete.
11753 * simple.el (minibuffer-completing-symbol):
11754 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11755 access as obsolete.
11756 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11758 * international/quail.el (quail-mouse-choose-completion): Remove unused
11759 code referring to obsolete var.
11760 (quail-choose-completion-string): Remove.
11761 * server.el (server-clients-with, server-kill-buffer-query-function)
11762 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11763 * proced.el (proced-send-signal):
11764 * emacs-lisp/lisp.el (lisp-complete-symbol):
11765 Replace completion-annotate-function with completion-extra-properties.
11767 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11769 * simple.el (goto-line): Use read-number.
11770 (overriding-map-is-bound): Remove.
11771 (saved-overriding-map): Change default.
11772 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11773 Take the map as argument.
11774 (universal-argument, negative-argument, digit-argument): Use it.
11775 (restore-overriding-map): Adjust.
11776 (do-auto-fill): Use fill-forward-paragraph.
11777 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11779 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11780 (minibuffer-inactive-mode): New major mode.
11781 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11782 the *Messages* buffer" hack.
11783 (mouse-popup-menubar): Don't burp if the event is a normal key.
11785 Miscellaneous tweaks.
11786 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11787 lexical scoping as in subr.el's dolist and dotimes.
11788 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11789 Silence compiler warning.
11790 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11791 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11792 * international/ccl.el (ccl-compile): Trivial simplification.
11793 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11794 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11795 `printflag' argument.
11796 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11797 Purecopy the whole obsolescence data.
11799 2011-06-01 Leo Liu <sdl.web@gmail.com>
11801 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11802 improve doc-string as suggested by Marco Pessotto
11803 <melmothx@gmail.com>.
11804 (rcirc-print): Fix last change.
11806 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * minibuffer.el (complete-with-action): Return nil for the metadata and
11809 boundaries of non-functional tables.
11810 (completion-table-dynamic): Return nil for the metadata.
11811 (completion-table-with-terminator): Add default case, using
11812 complete-with-action.
11813 (completion--metadata): New function.
11814 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11815 to try and avoid pathological performance problems.
11816 (completion--embedded-envvar-table): Return `category' metadata.
11818 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820 * subr.el (process-alive-p): New tiny convenience function.
11822 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11825 content but also its previous major mode.
11827 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11829 * emacs-lisp/debug.el (debug): Restore the previous content of the
11830 *Backtrace* buffer when we exit with C-M-c.
11832 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * minibuffer.el: Add metadata method to completion tables.
11835 (completion-category-overrides): New defcustom.
11836 (completion-metadata, completion--field-metadata)
11837 (completion-metadata-get, completion--styles)
11838 (completion--cycle-threshold): New functions.
11839 (completion-try-completion, completion-all-completions):
11840 Add `metadata' argument to choose completion-styles.
11841 (completion--do-completion): Use metadata to choose cycling.
11842 (completion-all-sorted-completions): Use metadata for sorting.
11843 Remove :completion-cycle-penalty which is not needed any more.
11844 (completion--try-word-completion): Add `metadata' argument.
11845 (minibuffer-completion-help): Check metadata for annotation function
11847 (completion-file-name-table): Return `category' metadata.
11848 (minibuffer-completing-file-name): Make obsolete.
11849 * simple.el (minibuffer-completing-symbol): Make obsolete.
11850 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11851 completion-try-completion.
11853 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11857 2011-05-30 Leo Liu <sdl.web@gmail.com>
11859 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11860 (rcirc-print): Decode all incoming messages (bug#8744).
11861 (rcirc-decode-coding-system): Allow value nil for automatic coding
11864 2011-06-01 Glenn Morris <rgm@gnu.org>
11866 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11868 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11870 * image.el (image-animate-max-time): Allow nil and t values.
11872 (create-animated-image): Doc fix.
11873 (image-animate-start): Remove second arg; just use
11874 image-animate-max-time.
11875 (image-animate-timeout): Doc fix. Args changed.
11877 * image-mode.el (image-toggle-display-image): Ensure that the
11878 image spec passed to the animate timer is the same object as in
11879 the buffer's display property (Bug#6981).
11880 (image-transform-properties): Doc fix.
11882 * image.el (image-animate-max-time): Default to nil.
11884 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11886 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11887 entire buffer list (Bug#8184).
11889 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11891 * image.el (imagemagick-types-inhibit)
11892 (imagemagick-register-types): Doc fix.
11894 2011-05-29 Deniz Dogan <deniz@dogan.se>
11896 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11899 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11901 * select.el: Don't perform clipboard-manager saving in hooks;
11902 leave the hooks empty.
11904 2011-05-28 Leo Liu <sdl.web@gmail.com>
11906 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11907 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11908 (occur-edit-mode): New major mode (Bug#8463).
11909 (occur-after-change-function): New function.
11910 (occur-engine): Give Occur tags a read-only property.
11912 2011-05-28 Kevin Ryde <user42@zip.com.au>
11914 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11916 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11918 * bindings.el (help-echo): Make the initial non-indicator dash
11919 empty on graphical terminals (Bug#7295).
11921 * files.el (auto-mode-alist): Move config rule after the
11922 in-stripping one (Bug#8547).
11924 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11926 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11927 setting (Bug#8740).
11929 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11931 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11932 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11935 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11937 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11939 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11941 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11942 (hs-hide-block-at-point, hs-find-block-beginning)
11943 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11946 2011-05-28 Glenn Morris <rgm@gnu.org>
11948 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11950 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11952 * help-fns.el (describe-function-1): If the function is a derived
11953 major mode, print the parent mode.
11955 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11956 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11958 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * minibuffer.el (completion--capf-wrapper): Check applicability before
11961 returning non-nil for non-exclusive completion data.
11962 * progmodes/etags.el (tags-completion-at-point-function):
11963 * info-look.el (info-lookup-completions-at-point): Mark as
11965 (info-complete): Adjust accordingly.
11967 * info-look.el: Convert to lexical-binding and completion-at-point.
11968 (info-lookup-completions-at-point): New function.
11969 (info-complete): Use it and completion-in-region.
11971 2011-05-28 Drew Adams <drew.adams@oracle.com>
11973 * isearch.el: Let M-e start with point at the first mismatched char.
11974 (isearch-fail-pos): New function.
11975 (isearch-edit-string): Use it.
11977 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11979 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11981 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11983 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11984 traversal functions for avl-trees.
11985 (avl-tree--stack): New struct.
11986 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11987 (avl-tree-enter): Add optional `updatefun' arg.
11988 (avl-tree--do-enter): Add optional `updatefun' arg.
11989 Change return value.
11990 (avl-tree-delete): Add optional `test' and `nilflag' args.
11991 (avl-tree--do-delete): Add `test' and `nilflag' args.
11992 Change return value.
11993 (avl-tree-member): Add optional `nilflag'
11994 (avl-tree-member-p): New function.
11995 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11996 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11997 (avl-tree-stack-empty-p): New functions.
11999 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12000 avl-tree--del-balance1 and make it work both ways.
12001 (avl-tree--del-balance2): Remove.
12002 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12003 make it work both ways.
12004 (avl-tree--enter-balance2): Remove.
12005 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12007 (avl-tree--mapc, avl-tree-map): Add direction argument.
12009 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12011 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12013 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12015 * select.el: Support clipboard managers with built-in function
12016 x-clipboard-manager-save, via delete-frame-functions and
12018 (xselect-convert-to-targets): Add MULTIPLE target to list.
12019 (xselect-convert-to-save-targets): New function.
12021 2011-05-27 Kenichi Handa <handa@m17n.org>
12023 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12024 let-binding rfc2047-encode-encoded-words to nil.
12026 2011-05-27 Glenn Morris <rgm@gnu.org>
12028 * mail/emacsbug.el: Don't require url-util.
12030 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12032 * files.el (set-auto-mode):
12033 Also respect mode: entries at the end of the file. (Bug#8586)
12035 2011-05-26 Glenn Morris <rgm@gnu.org>
12037 * files.el (hack-local-variables-prop-line, hack-local-variables):
12038 Downcase mode names, as seems to be traditional.
12039 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12041 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12042 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12044 2011-05-25 Julien Danjou <julien@danjou.info>
12046 * textmodes/rst.el (rst-define-level-faces): Do not define face
12047 symbol if it is already defined.
12049 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12051 * play/5x5.el (5x5-new-game, 5x5-randomize):
12052 Reset 5x5-solver-output to nil when a new grid is cast.
12053 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12054 these debugging traces, as defmacro breaks the compiled code.
12056 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12058 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12060 2011-05-24 Leo Liu <sdl.web@gmail.com>
12062 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12063 (vc-bzr-sha1): Adapt.
12065 * sha1.el: Remove. Function `sha1' is now builtin.
12067 * bindings.el: Provide sha1 feature.
12069 2011-05-24 Kenichi Handa <handa@m17n.org>
12071 * mail/sendmail.el: Require `rfc2047'.
12072 (mail-insert-from-field): Do not perform RFC2047 encoding.
12073 (mail-encode-header): New function.
12074 (sendmail-send-it): Set buffer-file-coding-system of the work
12075 buffer to the return value of select-message-coding-system.
12076 Call mail-encode-header.
12078 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12080 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12082 * mail/supercite.el (sc-default-cite-frame):
12083 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12085 2011-05-24 Glenn Morris <rgm@gnu.org>
12087 * progmodes/python.el (brm-menu): Declare.
12089 * emulation/viper.el (viper-set-hooks): Declare.
12091 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12092 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12093 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12094 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12095 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12096 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12098 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12100 Add an :exit-function for completion-at-point.
12102 * minibuffer.el (completion--done): New fun.
12103 (completion--do-completion): Use it. New arg `expect-exact'.
12104 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12105 since completion--do-completion does it for us now.
12106 (minibuffer-force-complete): Use completion--done and
12107 completion--replace. Handle sole-completion case with more care.
12108 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12109 (completion-extra-properties): New var.
12110 (completion-annotate-function): Make obsolete.
12111 (minibuffer-completion-help): Adjust accordingly.
12112 Use completion-list-insert-choice-function.
12113 (completion-at-point, completion-help-at-point):
12114 Bind completion-extra-properties.
12115 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12116 * simple.el (completion-list-insert-choice-function): New var.
12117 (completion-setup-function): Preserve it.
12118 (choose-completion): Pay attention to it, shuffle the code a bit.
12119 (choose-completion-string): New arg `insert-function'.
12121 * textmodes/bibtex.el: Convert to lexical binding.
12122 (bibtex-mode-map): Use completion-at-point.
12123 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12124 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12125 (bibtex-complete): Define as obsolete alias.
12126 (bibtex-complete-internal): Remove.
12127 (bibtex-format-entry): Remove unused sub-group in regexp.
12128 * shell.el (shell--command-completion-data)
12129 (shell-environment-variable-completion):
12130 * pcomplete.el (pcomplete-completions-at-point):
12131 * comint.el (comint--complete-file-name-data): Use :exit-function
12132 instead of completion-table-with-terminator so it also works for
12135 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12137 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12139 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12142 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12144 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12146 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12147 customization variable and implement: If non-nil, auto-fill will
12148 be inhibited while on topic's header line.
12150 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12152 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12153 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12154 always have a solution in grid size = 5 cases.
12155 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12156 (5x5-solver-output, 5x5-log-buffer): New vars.
12157 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12158 Make these variables buffer local to achieve 5x5 multi-session-ness.
12159 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12160 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12161 (5x5-solve-suggest): New funs.
12162 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12163 randomize a grid so that we ensure that there is always a solution.
12164 (5x5-make-random-grid): Allow other movement than flipping.
12166 2011-05-23 Kevin Ryde <user42@zip.com.au>
12168 * emacs-lisp/advice.el (ad-read-advised-function):
12169 Use `function-called-at-point' as the default, if it has
12170 advice and passes PREDICATE.
12172 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12174 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12175 byte-compile-lambda if it's actually a lambda.
12177 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12178 Fix function quoting. Use backquote better.
12180 2011-05-22 Yuanle Song <sylecn@gmail.com>
12182 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12183 matching (Bug#8516).
12185 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12187 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12188 different face (Bug#8178).
12190 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12192 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12193 defface (Bug#8144).
12195 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12198 funcall as well (bug#8712). Warn when performing those conversions.
12199 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12201 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12203 2011-05-22 Glenn Morris <rgm@gnu.org>
12205 * files.el (hack-local-variables-prop-line): Small simplifications.
12206 (hack-local-variables, hack-local-variables-prop-line):
12207 If MODE-ONLY, return the mode, rather than just `t'.
12209 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12211 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12213 2011-05-21 Glenn Morris <rgm@gnu.org>
12215 * files.el (hack-local-variables-prop-line, hack-local-variables):
12216 If only interested in the mode, don't bother doing the other stuff.
12218 * image-mode.el (image-after-revert-hook):
12219 Redraw all frames on which the image is visible. (Bug#8567)
12221 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12223 * wid-edit.el (widget-checklist-match-inline):
12224 Fix 2011-04-19 change. (Bug#8649)
12226 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12228 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12229 Also allow singlespace after single-letter capitals followed by a dot.
12231 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12232 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12234 2011-05-20 Nix <nix@esperi.org.uk>
12236 * files.el (basic-save-buffer-2):
12237 Fix handling of break-hardlink-on-save with non-existent files.
12239 2011-05-19 Deniz Dogan <deniz@dogan.se>
12241 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12242 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12244 2011-05-19 Glenn Morris <rgm@gnu.org>
12246 * progmodes/f90.el (f90-type-def-re):
12247 Handle "type, bind(c)". (Bug#8691)
12249 * emacs-lisp/autoload.el (batch-update-autoloads):
12250 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12252 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12254 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12255 property for the correct connection in case of multihops.
12257 2011-05-18 Glenn Morris <rgm@gnu.org>
12259 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12260 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12262 Rationalize calendar handling of day and month abbrev-arrays.
12263 * calendar/calendar.el (calendar-customized-p): New function.
12264 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12265 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12267 (calendar-abbrev-length, calendar-day-abbrev-array)
12268 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12269 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12270 Elements may no longer be nil.
12271 (calendar-day-name, calendar-month-name):
12272 Update for changed nature of abbrev arrays.
12273 * calendar/diary-lib.el (diary-name-pattern):
12274 Update for changed nature of abbrev arrays.
12275 (diary-mark-entries-1): Update calendar-make-alist calls.
12276 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12277 * calendar/cal-html.el (cal-html-day-abbrev-array):
12278 Simply inherit from calendar-day-abbrev-array.
12280 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12282 * progmodes/grep.el (grep-mode): Disable default
12283 compilation-directory-matcher setting (bug#8684).
12285 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12287 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12288 instead of "head" and "tail". There were problems with SunOS 5.9,
12289 and it performs better.
12291 2011-05-17 Glenn Morris <rgm@gnu.org>
12293 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12295 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12296 Replace obsolete function.
12298 * shell.el (pcomplete-parse-arguments-function): Declare.
12300 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12301 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12302 (appt-check): Doc fixes.
12303 (appt-disp-window-function, appt-delete-window-function):
12304 Remove needless special case in custom :type.
12305 (appt-display-count): Default to 0, not nil.
12306 (appt-check): Reset appt-display-count to 0, not nil.
12308 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12310 * progmodes/python.el (python-font-lock-keywords):
12311 Add the Python 3.X keyword "nonlocal" (bug#8639).
12313 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12315 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12317 2011-05-16 Kevin Ryde <user42@zip.com.au>
12319 * info-look.el (makefile-automake-mode): New setups, looking in
12320 automake manual, then makefile-mode.
12321 (makefile-mode): Remove automake manual, have it just in
12322 makefile-automake-mode since there's various things different or
12323 not relevant to plain make.
12324 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12325 believe a hypothetical automake-mode would go to makefile-mode,
12326 not the other way around.
12328 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12330 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12331 hunk-end tags (Bug#8672).
12333 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12334 vc-annotate-show-diff-revision-at-line (Bug#8671).
12336 2011-05-14 Glenn Morris <rgm@gnu.org>
12338 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12339 in the middle of an existing one with multiple authors. (Bug#8645)
12340 (change-log-font-lock-keywords): Also handle multiple author lines
12341 with leading tabs. (Bug#8644)
12343 * calendar/appt.el (appt-check): Rename some local variables.
12344 Some simplification/reordering.
12346 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12347 (feedmail-sendmail-f-doesnt-sell-me-out)
12348 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12349 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12350 (feedmail-queue-runner-message-sender): Set :version.
12351 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12352 (bbdb-dwim-net-address, vm-mail): Declare.
12353 (feedmail-binmail-gnulinuxish-template):
12354 Rename from feedmail-binmail-linuxish-template.
12355 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12356 Use insert-buffer-substring.
12358 2011-05-14 Bill Carpenter <bill@carpenter.org>
12360 * mail/feedmail.el (feedmail-patch-level): Increase.
12361 (feedmail-debug): New custom group.
12362 (feedmail-confirm-outgoing-timeout)
12363 (feedmail-sendmail-f-doesnt-sell-me-out)
12364 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12365 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12366 (feedmail-sender-line, feedmail-from-line)
12367 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12368 (feedmail-spray-this-address)
12369 (feedmail-spray-address-fiddle-plex-list)
12370 (feedmail-queue-use-send-time-for-date)
12371 (feedmail-queue-use-send-time-for-message-id)
12372 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12373 (feedmail-buffer-eating-function):
12375 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12376 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12377 (feedmail-message-action-scroll-down): New functions.
12378 (feedmail-queue-directory, feedmail-queue-draft-directory):
12379 Use expand-file-name.
12380 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12381 Remove C-v help entry.
12382 (feedmail-queue-buffer-file-name): New variable.
12383 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12384 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12385 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12386 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12387 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12388 (feedmail-message-action-toggle-spray)
12389 (feedmail-run-the-queue-no-prompts)
12390 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12391 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12392 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12393 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12394 (feedmail-envelope-deducer, feedmail-fiddle-from)
12395 (feedmail-fiddle-sender, feedmail-default-date-generator)
12396 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12397 (feedmail-fiddle-spray-address)
12398 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12399 (feedmail-fiddle-list-of-fiddle-plexes)
12400 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12401 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12402 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12403 Change default. Doc fix.
12404 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12405 (feedmail-binmail-linuxish-template): New constant.
12406 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12407 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12408 (feedmail-send-it): Add debug call.
12409 Use feedmail-queue-buffer-file-name, and
12410 feedmail-send-it-immediately-wrapper.
12411 (feedmail-message-action-send): Add debug call.
12412 Use feedmail-send-it-immediately-wrapper.
12413 (feedmail-queue-express-to-queue): Add debug call.
12414 Run feedmail-queue-express-hook.
12415 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12416 (feedmail-message-action-help-blat):
12417 Rename from feedmail-queue-send-edit-prompt-help-first.
12418 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12419 Check line-endings. Handle errors better.
12420 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12421 Doc fix. Add debug call.
12422 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12423 Use feedmail-queue-send-edit-prompt-inner.
12424 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12425 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12426 from feedmail-queue-send-edit-prompt.
12427 (feedmail-queue-send-edit-prompt-help)
12428 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12429 (feedmail-tidy-up-slug): Add debug call.
12430 Respect feedmail-queue-slug-suspect-regexp.
12431 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12432 (feedmail-dump-message-to-queue): Add debug call.
12433 Expand queue-directory.
12434 (feedmail-dump-message-to-queue): Change message slightly.
12435 Use feedmail-say-chatter.
12436 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12437 (feedmail-send-it-immediately-wrapper): New function.
12438 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12439 Insert empty string rather than newline. Handle full-frame case.
12440 Use catch/throw. Use feedmail-say-chatter.
12441 (feedmail-fiddle-from): Try mail-host-address.
12442 (feedmail-default-message-id-generator): Doc fix.
12443 Bind system-time-locale. Handle missing end.
12444 (feedmail-fiddle-x-mailer): Add debug call.
12445 Handle feedmail-x-mailer-line being nil.
12446 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12447 Add debug call. Use buffer-substring-no-properties.
12448 (feedmail-say-debug, feedmail-say-chatter): New functions.
12449 (feedmail-find-eoh): Give an explicit error.
12451 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12453 * net/newst-treeview.el (newsticker-treeview-face): Change default
12454 family from helvetica to sans.
12455 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12456 etc/images/newsticker.
12458 * net/newst-reader.el (newsticker-feed-face): Change default
12459 family from helvetica to sans.
12461 * net/newst-plainview.el (newsticker-new-item-face)
12462 (newsticker-old-item-face, newsticker-immortal-item-face)
12463 (newsticker-obsolete-item-face, newsticker-date-face)
12464 (newsticker-statistics-face): Change default family from
12466 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12467 etc/images/newsticker.
12469 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12470 (newsticker--process-auto-mark-filter-match): Tell user about
12473 2011-05-13 Didier Verna <didier@xemacs.org>
12475 Common Lisp indentation improvements on defmethod and lambda-lists.
12476 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12478 (lisp-lambda-list-keyword-parameter-indentation)
12479 (lisp-lambda-list-keyword-parameter-alignment)
12480 (lisp-lambda-list-keyword-alignment): New customizable user options.
12481 (lisp-indent-defun-method): Improve docstring.
12482 (extended-loop-p): Fix comment.
12483 (lisp-indent-lambda-list-keywords-regexp): New variable.
12484 (lisp-indent-lambda-list): New function.
12485 (lisp-indent-259): Use it.
12486 (lisp-indent-defmethod): Support for more than one
12487 method qualifier and properly indent methods lambda-lists.
12488 (defgeneric): Provide a missing common-lisp-indent-function property.
12490 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12493 bounds for the empty string (bug#8667).
12495 2011-05-13 Glenn Morris <rgm@gnu.org>
12497 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12499 * mail/sendmail.el (sendmail-program): Try executable-find first.
12500 (sendmail-send-it): `sendmail-program' cannot be unbound.
12502 * calendar/appt.el (appt-make-list): Simplify.
12503 (appt-time-msg-list): Doc fix.
12504 (appt-check): Change mode-line message at the time of the appointment.
12506 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12508 * progmodes/ld-script.el (ld-script-keywords)
12509 (ld-script-builtins): Update keywords list.
12511 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12513 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12515 * shell.el (shell-completion-vars): New function.
12517 * simple.el (read-shell-command): Use it.
12518 (blink-matching-open): No need for " [...]" in minibuffer-message.
12520 2011-05-12 Glenn Morris <rgm@gnu.org>
12522 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12523 (appt-check): Simplify.
12525 2011-05-12 Eli Zaretskii <eliz@gnu.org>
12527 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
12528 literal "/dev/null".
12530 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12535 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
12537 * progmodes/which-func.el (which-function):
12538 Use add-log-current-defun instead of add-log-current-defun-function,
12539 which might not be defined (Bug#8260).
12541 2011-05-12 Glenn Morris <rgm@gnu.org>
12543 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12544 Let byte-compile-initial-macro-environment always take precedence.
12546 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12548 * net/rcirc.el: Add support for SSL/TLS connections.
12549 (rcirc-server-alist): New field `encryption'.
12550 (rcirc): Check `encryption' settings.
12551 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12552 Merge make-local-variable into `set'.
12553 (rcirc--connection-open-p): New function.
12554 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12555 the process is not a network process (e.g. running gnutls-cli).
12556 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12557 Make rcirc-(en|de)code-coding-system local here.
12558 (rcirc-mode): Merge make-local-variable into `set'.
12559 (rcirc-parent-buffer): Make permanent buffer-local.
12560 (rcirc-multiline-minor-mode): Don't do it here.
12561 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12562 there's no server buffer.
12564 2011-05-11 Glenn Morris <rgm@gnu.org>
12566 * newcomment.el (comment-kill): Prefix "unused" local.
12568 * term/w32console.el (get-screen-color): Declare.
12570 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12571 Handle symbol elements of byte-compile-initial-macro-environment.
12573 2011-05-10 Leo Liu <sdl.web@gmail.com>
12575 * bookmark.el (bookmark-bmenu-mode-map):
12576 Bind bookmark-bmenu-search to `/'.
12578 * mail/footnote.el: Convert to utf-8 encoding.
12579 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12580 (Footnote-unicode): New function.
12581 (footnote-style-alist): Add unicode style to the list.
12582 (footnote-style): Doc fix.
12584 2011-05-10 Jim Meyering <meyering@redhat.com>
12586 Fix doubled-word typos.
12587 * international/quail.el (quail-insert-kbd-layout): and and -> and
12588 * kermit.el: and and -> and
12589 * net/ldap.el (ldap-search-internal): to to -> to
12590 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12591 * progmodes/js.el (js-mode): and and -> and
12592 * textmodes/artist.el (artist-move-to-xy): at at -> at
12593 (artist-draw-region-trim-line-endings): if if -> if
12594 And Safetyc -> Safety.
12595 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12597 2011-05-10 Glenn Morris <rgm@gnu.org>
12598 Stefan Monnier <monnier@iro.umontreal.ca>
12600 * files.el (hack-one-local-variable-eval-safep):
12601 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12603 2011-05-10 Glenn Morris <rgm@gnu.org>
12605 * calendar/diary-lib.el (diary-list-entries-hook)
12606 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12607 (diary-nongregorian-marking-hook, diary-list-entries)
12608 (diary-include-other-diary-files, diary-mark-entries)
12609 (diary-mark-included-diary-files): Doc fixes.
12611 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12613 * misc.el: Require tabulated-list.el during compilation.
12615 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12617 * progmodes/compile.el (compilation-start):
12618 Run compilation-filter-hook for the async case too.
12619 (compilation-filter-hook): Doc fix.
12621 2011-05-09 Deniz Dogan <deniz@dogan.se>
12623 * wdired.el: Remove outdated installation comment. Fix usage
12626 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12628 * misc.el: Implement new command `list-dynamic-libraries'.
12629 (list-dynamic-libraries--loaded-only-p): New variable.
12630 (list-dynamic-libraries--refresh): New function.
12631 (list-dynamic-libraries): New command.
12633 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12635 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12636 Fix the ant regexp to handle end-line and end-column info from jikes.
12637 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12638 higher priority to avoid clobbering by gnu.
12640 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12642 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12643 if the face has existing theme settings (Bug#8454).
12645 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12647 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12648 Only match variables declared via `my' or `our' (Bug#8261).
12650 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12651 special file names `.' and `..' (Bug#8259).
12653 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12655 * progmodes/grep.el (grep-mode-font-lock-keywords):
12656 Remove buffer-changing entries.
12657 (grep-filter): New function.
12658 (grep-mode): Add it to compilation-filter-hook.
12660 * progmodes/compile.el (compilation-filter-hook)
12661 (compilation-filter-start): New defvars.
12662 (compilation-filter): Call compilation-filter-hook prior to
12663 updating the process mark.
12665 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12667 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12669 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12671 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12672 mailclient-send-it even if window-system is nil. (Bug#8595)
12674 * term/w32console.el (terminal-init-w32console):
12675 Call get-screen-color and use its output to set the frame
12676 background-mode. (Bug#8597)
12678 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12680 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12681 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12683 (defgeneric, eieio--defmethod): Use them.
12684 (eieio-defgeneric): Remove.
12685 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12687 2011-05-07 Glenn Morris <rgm@gnu.org>
12689 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12690 Use let rather than let*.
12691 (timeclock-find-discrep): Remove unused local.
12693 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12695 * calendar/appt.el (appt-time-msg-list): Doc fix.
12697 2011-05-06 Noah Friedman <friedman@splode.com>
12699 * apropos.el (apropos-print-doc): Only use
12700 emacs-lisp-docstring-fill-column when it is bound to an integer,
12701 per that variable's documentation.
12703 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12705 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12706 and warnings are not silently discarded (e.g. use -d instead of -P).
12708 2011-05-06 Glenn Morris <rgm@gnu.org>
12710 * calendar/appt.el (appt-message-warning-time): Doc fix.
12711 (appt-warning-time-regexp): New option.
12712 (appt-make-list): Respect appt-message-warning-time.
12714 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12716 (diary-add-to-list): Strip comments from the displayed string.
12717 (diary-mode): Set comment-start and comment-end.
12719 * vc/diff-mode.el (smerge-refine-subst): Declare.
12720 (diff-refine-hunk): Don't require smerge-mode when compiling.
12722 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12724 * simple.el (list-processes): Return nil as the docstring says.
12726 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12728 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12730 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12731 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12732 determining of binary transfer. (Bug#7383)
12734 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12736 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12737 Fix port computation bug. (Bug#8618)
12739 2011-05-05 Glenn Morris <rgm@gnu.org>
12741 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12743 * simple.el (shell-dynamic-complete-functions)
12744 (comint-dynamic-complete-functions): Declare.
12746 * net/network-stream.el (gnutls-negotiate):
12747 * simple.el (tabulated-list-print): Fix declarations.
12749 * progmodes/gud.el (syntax-symbol, syntax-point):
12750 Remove unnecessary and incorrect declarations.
12752 * emacs-lisp/check-declare.el (check-declare-scan):
12753 Handle byte-compile-initial-macro-environment in bytecomp.el
12755 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12757 Fix earlier half-done eieio-defmethod change (bug#8338).
12758 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12759 Streamline and change calling convention.
12760 (defmethod): Adjust accordingly and simplify.
12761 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12762 new eieio--defmethod.
12763 (slot-boundp): Minor CSE simplification.
12765 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12767 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12768 (glasses-make-readable): Use glasses-separate-capital-groups.
12770 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12772 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12773 (warning-series): Doc fix.
12774 (display-warning): Don't try to create the buffer if we just found it.
12776 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12778 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12779 (autoload-find-generated-file): New function.
12780 (generate-file-autoloads): Bind generated-autoload-file to
12782 (update-file-autoloads, update-directory-autoloads):
12783 Use autoload-find-generated-file. If called interactively, prompt for
12784 output file (Bug#7989).
12785 (batch-update-autoloads): Doc fix.
12787 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12789 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12791 2011-05-04 Glenn Morris <rgm@gnu.org>
12793 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12794 function, so it follows changes in calendar-date-style.
12795 (diary-fancy-date-matcher): New function.
12796 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12797 (diary-fancy-font-lock-fontify-region-function):
12798 Use diary-fancy-date-pattern as a function.
12800 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12801 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12803 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12805 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12806 instead of positional arguments. Allow :keylist and :crlfiles
12808 (open-gnutls-stream): Call it.
12810 * net/network-stream.el (network-stream-open-starttls): Adjust to
12811 call `gnutls-negotiate' with :process and :hostname arguments.
12813 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12815 * minibuffer.el (completion--message): New function.
12816 (completion--do-completion, minibuffer-complete)
12817 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12818 (completion--do-completion): Don't ignore completion-auto-help when in
12821 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12822 internal encoding (e.g. tibetan zero is not whitespace).
12823 (global-whitespace-mode): Prefer save-current-buffer.
12824 (whitespace-trailing-regexp): Remove useless save-match-data.
12825 (whitespace-empty-at-bob-regexp): Minor simplification.
12827 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12829 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12831 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
12833 * textmodes/ispell.el (ispell-add-per-file-word-list):
12834 Use `concat' to create string for insertion.
12836 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12838 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12839 Avoid open-line which runs post-self-insert-hook.
12840 (bibtex-fill-entry): Remove unused `end' var.
12842 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12844 * textmodes/ispell.el (ispell-add-per-file-word-list):
12845 Protect against `nil' value of `comment-start' (Bug#8579).
12847 2011-05-03 Leo Liu <sdl.web@gmail.com>
12849 * isearch.el (isearch-yank-pop): New command.
12850 (isearch-mode-map): Bind it to `M-y'.
12851 (isearch-forward): Mention it.
12853 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * simple.el (minibuffer-complete-shell-command): Remove.
12856 (minibuffer-local-shell-command-map): Use completion-at-point.
12857 (read-shell-command): Setup completion vars here instead.
12858 (read-expression-map): Bind TAB to symbol completion.
12860 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12861 error directly rather via storing it into `results'.
12863 2011-05-02 Leo Liu <sdl.web@gmail.com>
12865 * vc/diff.el: Fix description.
12867 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12869 * server.el (server-eval-at): New function.
12871 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873 * net/network-stream.el (open-network-stream): Take a :nowait
12874 parameter and pass it on to `make-network-process'.
12875 (network-stream-open-plain): Ditto.
12877 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12879 * faces.el (face-spec-set-match-display): Don't match toolkit
12880 options on terminal frames.
12882 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * progmodes/pascal.el: Use lexical binding.
12885 (pascal-mode-map): Remove author preferences.
12887 * pcomplete.el (pcomplete-std-complete): Don't abuse
12888 completion-at-point.
12890 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12892 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12893 removing code that has been dead since 1991 or so.
12895 * startup.el (command-line): When warning about "_emacs", use a
12896 delayed warning to allow the user to filter it out.
12898 2011-04-28 Deniz Dogan <deniz@dogan.se>
12900 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12901 user has not joined.
12903 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12906 aren't any completions at point.
12908 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12910 * subr.el (display-delayed-warnings): New function.
12911 (delayed-warnings-hook): New variable.
12913 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12915 * minibuffer.el (completion-at-point, completion-help-at-point):
12916 Don't presume that a given completion-at-point-function will always
12917 use the same calling convention.
12919 * pcomplete.el (pcomplete-completions-at-point):
12920 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12921 pcomplete-seen is non-nil.
12922 (pcomplete-comint-setup): Also recognize the new comint/shell
12923 completion functions.
12924 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12925 pcomplete-seen is non-nil.
12927 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12929 * calendar/icalendar.el (diary-lib): Add require statement.
12930 (icalendar--create-uid): Read out a uid from a text-property on
12931 the first character in the entry. This allows for code to add its
12932 own uid to the entry.
12933 (icalendar--convert-float-to-ical): Add export of
12934 `diary-float'-entries save for those with the optional DAY
12937 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12939 * subr.el (shell-quote-argument): Use alternate escaping strategy
12940 when we spot a variable reference in a string.
12942 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12944 * cus-start.el (all): Define customization for debug-on-event.
12946 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12948 * subr.el (shell-quote-argument): Escape correctly under Windows.
12950 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12952 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12954 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12956 * net/tramp.el (tramp-process-actions): Add POS argument.
12957 Delete region between POS and (pos).
12959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12960 Use `nil' position in `tramp-process-actions' call.
12961 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12963 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12964 position in `tramp-process-actions' call.
12966 * net/trampver.el: Update release number.
12968 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * custom.el (defcustom): Obey lexical-binding.
12972 Fix octave-inf completion problems reported by Alexander Klimov.
12973 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12974 Inherit from octave-mode-syntax-table.
12975 (inferior-octave-mode): Set info-lookup-mode.
12976 (inferior-octave-completion-at-point): New function.
12977 (inferior-octave-complete): Use it and completion-in-region.
12978 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12979 comint-filename-completion.
12980 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12981 symbol elements which shouldn't be word elements.
12982 (octave-font-lock-keywords, octave-beginning-of-defun)
12983 (octave-function-header-regexp): Adjust regexps accordingly.
12984 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12986 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12988 * net/gnutls.el (gnutls-errorp): Declare before first use.
12990 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12992 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12993 verify-error, and verify-hostname-error parameters. Check whether
12994 default trustfile exists before going to use it. Add missing
12995 argument to gnutls-message-maybe call. Return value.
12996 Reported by Claudio Bley <claudio.bley@gmail.com>.
12997 (open-gnutls-stream): Add usage example.
12999 * net/network-stream.el (network-stream-open-starttls): Give host
13000 parameter to `gnutls-negotiate'.
13001 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13002 * subr.el (shell-quote-argument): Escape correctly under Windows.
13004 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13006 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13007 Use correct match group (bug#8438).
13009 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13011 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13012 (package-menu--generate): New arg specifying packages to show.
13013 (package-menu-refresh, package-menu-execute, list-packages):
13015 (package-show-package-list): New function, replacing deleted
13016 package--list-packages (renamed because it is non-internal).
13018 * finder.el (finder-list-matches): Use package-show-package-list
13019 instead of deleted package--list-packages.
13021 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13022 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13023 (vc-annotate-mode-map): Bind it to RET.
13025 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13027 * progmodes/etags.el (next-file): Don't use set-buffer to change
13028 buffers (Bug#8478).
13030 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13032 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13034 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13035 (apropos-accumulator): Doc fix.
13036 (apropos-function, apropos-macro, apropos-command)
13037 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13038 (apropos-plist): Add face property.
13039 (apropos-symbols-internal): Fix indentation.
13040 (apropos-print): Simplify help, and recognize apropos-multi-type.
13041 (apropos-print-doc): Use button-type-get to extract the button's
13042 face property. Fill docstring (Bug#8352).
13044 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13046 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13048 * play/mpuz.el (mpuz-silent): Doc fix.
13049 (mpuz-mode-map): Use mapc.
13050 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13051 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13052 Fix typos in docstrings.
13054 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13055 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13057 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13059 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13061 * minibuffer.el (completion--do-completion): Avoid the "Next char
13062 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13064 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13065 mouse-2 into unread-command-events, it is interpreted correctly.
13067 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13068 (image-toggle-display): Doc fix.
13070 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13072 * textmodes/page.el (what-page): Use line-number-at-pos to
13073 calculate line number (Bug#6825).
13075 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13077 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13078 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13079 Pass argument NO-DEFAULT to `find-tag-interactive'.
13081 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13083 Lexical-binding cleanup.
13085 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13086 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13087 * progmodes/ada-prj.el (ada-prj-initialize-values)
13088 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13089 (ada-prj-show-value):
13090 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13091 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13092 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13093 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13094 * progmodes/bug-reference.el (bug-reference-push-button):
13095 * progmodes/fortran.el (fortran-line-length):
13096 * progmodes/glasses.el (glasses-change):
13097 * progmodes/octave-mod.el (octave-fill-paragraph):
13098 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13099 (python-pdbtrack-grub-for-buffer, python-sentinel):
13100 * progmodes/sql.el (sql-save-connection):
13101 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13102 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13103 Mark unused parameters.
13105 * progmodes/compile.el (compilation--flush-directory-cache)
13106 (compilation--flush-parse, compile-internal): Mark unused parameters.
13107 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13108 (compilation-next-error-function): Remove unused variable `timestamp'.
13110 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13111 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13113 * progmodes/dcl-mode.el (dcl-end-of-command):
13114 Remove unused variable `start'.
13115 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13116 (dcl-option-value-basic, dcl-option-value-offset)
13117 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13118 Mark unused parameters.
13119 (dcl-save-local-variable): Remove unused variable `val'.
13122 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13123 Mark unused parameters.
13124 (delphi-ignore-changes): Move before first use.
13125 (delphi-charset-token-at): Remove unused variable `start'.
13126 (delphi-else-start): Remove unused variable `if-count'.
13127 (delphi-comment-block-start, delphi-comment-block-end):
13128 Remove unused variable `kind'.
13129 (delphi-indent-line): Remove unused variable `new-point'.
13131 * progmodes/ebrowse.el (ebrowse-files-list)
13132 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13133 Mark unused parameters. Don't quote `lambda'.
13134 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13135 Don't quote `lambda'.
13136 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13137 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13138 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13139 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13140 Use `ignore-errors'.
13141 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13142 (ebrowse-view/find-file-and-search-pattern)
13143 (ebrowse-view/find-member-declaration/definition):
13144 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13145 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13146 Rename parameter PREFIX-ARG to PREFIX.
13147 (ebrowse-tags-read-name): Remove unused variables `start' and
13149 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13152 * progmodes/etags.el (local-find-tag-hook): Declare.
13153 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13154 Mark unused parameters.
13156 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13157 (executable-interpret): Mark unused parameter.
13159 * progmodes/flymake.el (flymake-process-sentinel)
13160 (flymake-after-change-function)
13161 (flymake-create-temp-with-folder-structure)
13162 (flymake-get-include-dirs-dot): Mark unused parameters.
13163 (flymake-safe-delete-directory): Remove unused variable `err'.
13165 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13166 (speedbar-timer-fn, speedbar-line-text)
13167 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13168 (speedbar-center-buffer-smartly): Declare functions.
13169 (gdb-find-watch-expression): Remove unused variable `array'.
13170 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13171 (gdb-starting): Mark unused parameters.
13172 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13173 (gdb-table-string): Remove unused variable `res'.
13174 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13175 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13176 (gdb-display-buffer): Remove unused variable `cur-size'.
13178 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13179 allow lexical-binding compilation.
13180 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13181 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13182 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13183 Mark unused parameters.
13184 (gud-gdb-marker-filter): Remove unused variable `match'.
13185 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13186 lambda expressions and funcall them, instead of using `fset'.
13188 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13189 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13191 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13192 variable `header-beg'; use `let'.
13194 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13195 `restart', `last-sexp' and `at-do'.
13197 * progmodes/js.el (js--debug): Mark unused parameter.
13198 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13199 (js--splice-into-items): Remove unused variable `item'.
13200 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13202 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13203 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13204 (makefile-complete): Remove unused variable `try'.
13205 (makefile-fill-paragraph, makefile-match-function-end):
13206 Mark unused parameters.
13208 * progmodes/octave-inf.el (inferior-octave-complete):
13209 Remove unused variable `proc'.
13210 (inferior-octave-output-digest): Mark unused parameter.
13212 * progmodes/perl-mode.el (perl-calculate-indent):
13213 Remove unused variable `err'.
13215 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13216 (prolog-indent-line): Mark unused parameters.
13217 (prolog-indent-line): Remove unused variable `beg'.
13219 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13220 (reporter-dont-compact-list): Declare.
13222 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13223 Remove unused variable `char'.
13224 (sh-debug): Mark unused parameter.
13225 (sh-get-indent-info): Remove unused variable `start'.
13226 (sh-calculate-indent): Remove unused variable `var'.
13228 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13229 (simula-electric-keyword): Remove unused variable `null'.
13230 (simula-search-backward, simula-search-forward): Remove unused
13231 variables `begin' and `end'.
13233 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13234 Remove unused variable `pos'.
13235 (vera-electric-tab, vera-comment-uncomment-region):
13236 Mark unused parameters.
13237 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13239 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13241 * emacs-lisp/package.el (package--builtins, package-alist)
13242 (package-load-descriptor, package-built-in-p, package-activate)
13243 (define-package, package-installed-p)
13244 (package-compute-transaction, package-buffer-info)
13245 (package--push): Doc fix. Distinguish more clearly between
13246 version strings and version lists.
13248 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13250 Lexical-binding cleanup.
13252 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13253 (5x5-make-mutate-best):
13254 * play/fortune.el (fortune-in-buffer):
13255 * play/gomoku.el (gomoku-init-display):
13256 * play/solitaire.el (solitaire, solitaire-do-check):
13257 * play/tetris.el (tetris-default-update-speed-function):
13258 Mark unused parameters.
13260 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13261 (bubbles--shift): Remove unused variable `char-org'.
13262 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13263 (bubbles--show-images): Remove unused variable `char'.
13265 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13266 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13267 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13268 (decipher-analyze-buffer): Use ?\s.
13269 (decipher-make-checkpoint): Remove unused variable `mapping'.
13271 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13273 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13274 Remove unused variable `result'; use `let'.
13276 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13277 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13278 (gametree-children-shown-p, gametree-compute-reduced-score):
13279 Use `ignore-errors'.
13281 * play/handwrite.el (ps-lpr-switches): Declare.
13282 (handwrite): Remove unused variables `pmin' and `lastp'.
13284 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13286 * play/landmark.el (landmark-init-display)
13287 (landmark-update-naught-weights): Mark unused parameters.
13288 (landmark-y): Remove unused variable `noise'. Simplify.
13289 (landmark-human-plays): Remove unused variable `score'.
13291 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13292 (mpuz-try-proposal): Remove unused variable `game'.
13294 * play/zone.el (life-patterns): Declare.
13296 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13298 * vc/vc.el (ediff-vc-internal): Declare function.
13300 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13302 * shell.el: Use lexical-binding and std completion UI.
13303 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13304 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13305 comint-preoutput-filter-functions rather than on
13306 comint-output-filter-functions.
13307 (shell-command-completion, shell--command-completion-data)
13308 (shell-filename-completion, shell-environment-variable-completion)
13309 (shell-c-a-p-replace-by-expanded-directory): New functions.
13310 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13311 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13312 (shell-dynamic-complete-environment-variable): Use them.
13313 (shell-dynamic-complete-as-environment-variable)
13314 (shell-dynamic-complete-as-command): Remove.
13315 (shell-match-partial-variable): Match past point.
13316 * comint.el: Clean up use of completion-at-point-functions.
13317 (comint-completion-at-point): New function.
13318 (comint-mode): Use it completion-at-point-functions.
13319 (comint-dynamic-complete): Make it obsolete.
13320 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13321 (comint-c-a-p-replace-by-expanded-history): New function.
13322 (comint-dynamic-complete-functions)
13323 (comint-replace-by-expanded-history): Use it.
13324 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13325 termination strings. Try harder to avoid second try-completion.
13326 (completion-in-region-mode-map): Disable bindings that don't work yet.
13328 * comint.el: Use lexical-binding. Require CL.
13329 (comint-dynamic-complete-functions): Use comint-filename-completion.
13330 (comint-completion-addsuffix): Tweak custom type.
13331 (comint-filename-completion, comint--common-suffix)
13332 (comint--common-quoted-suffix, comint--table-subvert)
13333 (comint--complete-file-name-data): New functions.
13334 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13335 (comint-dynamic-list-filename-completions): Use them.
13336 (comint-dynamic-simple-complete): Make obsolete.
13338 * minibuffer.el (completion-in-region-mode):
13339 Keep completion-in-region-mode--predicate global.
13340 (completion-in-region--postch):
13341 Assume completion-in-region-mode--predicate is not null.
13343 * progmodes/flymake.el (flymake-start-syntax-check-process):
13344 Obey `dir'. Simplify.
13346 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13347 we're in VC after all.
13349 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13351 * vc/vc.el (vc-diff-build-argument-list-internal)
13352 (vc-version-ediff, vc-ediff): New commands.
13353 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13355 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13357 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13360 * obsolete/erc-hecomplete.el: Make obsolete.
13361 * obsolete/: Standardize obsolescence info in the header.
13363 2011-04-20 Glenn Morris <rgm@gnu.org>
13365 * calendar/solar.el (solar-horizontal-coordinates):
13366 Use the longitude argument rather than `calendar-longitude'.
13367 (solar-date-next-longitude): Remove unused locals.
13369 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13371 * whitespace.el: New version 13.2.1.
13373 2011-04-20 felix <EmacsWiki> (tiny change)
13375 * whitespace.el (global-whitespace-mode): Keep highlight when
13376 switching between major modes on a file.
13378 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13380 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13381 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13382 multi-line comments as well.
13384 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13386 Lexical-binding cleanup.
13388 * arc-mode.el (archive-mode-revert):
13389 * cmuscheme.el (scheme-interactively-start-process):
13390 * custom.el (custom-initialize-delay):
13391 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13392 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13393 * emacs-lock.el (emacs-lock-clear-sentinel):
13394 * ezimage.el (defezimage):
13395 * follow.el (follow-avoid-tail-recenter):
13396 * fringe.el (set-fringe-mode-1):
13397 * generic-x.el (bat-generic-mode-compile):
13398 * help-mode.el (help-info-variable, help-do-xref)
13399 (help-mode-revert-buffer):
13400 * help.el (view-emacs-todo):
13401 * iswitchb.el (iswitchb-completion-help):
13402 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13403 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13404 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13405 * locate.el (locate-update):
13406 * longlines.el (longlines-encode-region)
13407 (longlines-after-change-function):
13408 * outline.el (outline-isearch-open-invisible):
13409 * ps-def.el (declare-function, charset-dimension, char-width)
13411 * ps-mule.el (ps-mule-plot-string):
13412 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13413 (recentf-edit-list-select, recentf-edit-list-validate)
13414 (recentf-open-files-action):
13415 * rect.el (delete-whitespace-rectangle-line)
13416 (rectangle-number-line-callback):
13417 * register.el (window-configuration-to-register)
13418 (frame-configuration-to-register):
13419 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13420 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13421 (xselect-convert-to-targets, xselect-convert-to-delete)
13422 (xselect-convert-to-filename, xselect-convert-to-charpos)
13423 (xselect-convert-to-lineno, xselect-convert-to-colno)
13424 (xselect-convert-to-os, xselect-convert-to-host)
13425 (xselect-convert-to-user, xselect-convert-to-class)
13426 (xselect-convert-to-name, xselect-convert-to-integer)
13427 (xselect-convert-to-atom, xselect-convert-to-identity):
13428 * subr.el (declare, ignore, process-kill-without-query)
13429 (text-clone-maintain):
13430 * terminal.el (te-get-char, te-tic-sentinel):
13431 * tool-bar.el (tool-bar-make-keymap):
13432 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13433 * type-break.el (type-break-mode, type-break-noninteractive-query):
13434 * view.el (View-back-to-mark):
13435 * wid-browse.el (widget-browse-action, widget-browse-widget)
13436 (widget-browse-widgets, widget-browse-sexp):
13437 * widget.el (define-widget-keywords):
13438 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13439 Mark unused parameters.
13441 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13442 (align-areas): Remove unused variable `look'.
13443 (align-region): Remove unused variables `real-end' and `pos-list'.
13445 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13447 * bindings.el (mode-line-modified, mode-line-remote):
13448 Mark unused parameters.
13449 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13451 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13452 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13454 * comint.el (comint-history-isearch-pop-state)
13455 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13456 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13457 (comint-substitute-in-file-name): Doc fix.
13459 * completion.el (cmpl-statistics-block): Mark unused parameter.
13460 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13461 (save-completions-to-file, load-completions-from-file):
13462 Remove unused local variable `e'.
13464 * composite.el (compose-chars): Remove unused variable `len'.
13465 (lgstring-insert-glyph): Remove unused variable `g'.
13466 (compose-glyph-string): Remove unused variables `ascent',
13467 `descent', `lbearing' and `rbearing'.
13468 (compose-glyph-string-relative): Remove unused variables
13469 `lbearing', `rbearing' and `wadjust'.
13470 (compose-gstring-for-graphic): Remove unused variables `header',
13471 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13472 (compose-gstring-for-terminal): Remove unused variables `header'
13473 and `nchars'. Use `let', not `let*'.
13475 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13476 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13477 (Custom-buffer-done, custom-buffer-create-internal)
13478 (custom-browse-visibility-action, custom-browse-group-tag-action)
13479 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13480 (widget-magic-mouse-down-action, custom-toggle-parent)
13481 (custom-add-parent-links, custom-toggle-hide-variable)
13482 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13483 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13484 (custom-face-menu-create, custom-variable-menu-create, get)
13485 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13486 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13487 (customize-apropos): Remove unused variable `tests'.
13488 (custom-group-value-create): Remove unused variable `hidden-p'.
13489 (sort-fold-case): Declare.
13491 * cus-theme.el (custom-reset-standard-faces-list)
13492 (custom-reset-standard-variables-list): Declare.
13493 (customize-create-theme, custom-theme-revert, custom-theme-write)
13494 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13495 Mark unused parameters.
13497 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13499 * delim-col.el (delimit-columns-max): Move defvar before first use.
13501 * descr-text.el (describe-char-categories): Don't quote `lambda'.
13502 (describe-char): Don't quote `lambda'. Mark unused parameter.
13504 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13505 (auto-insert): Declare.
13506 (desktop-restore-file-buffer): Rename desktop-* parameters;
13508 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13509 (desktop-buffer): Rename desktop-* parameters.
13511 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13512 (dframe-reposition-frame-xemacs, dframe-help-echo)
13513 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13514 Mark unused parameters.
13516 * dired-aux.el (backup-extract-version-start, overwrite-query)
13517 (overwrite-backup-query, rename-regexp-query)
13518 (rename-non-directory-query): Declare.
13519 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13520 (dired-add-entry): Remove unused variable `orig-file-name'.
13521 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13522 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13523 `dired-copy-preserve-time' directly.
13524 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13525 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13527 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13528 (dired-virtual-revert, dired-make-relative-symlink):
13529 Mark unused parameters.
13530 (manual-program): Declare.
13531 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13532 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13533 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13535 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13537 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13539 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13542 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13544 * electric.el (Electric-command-loop): Rename parameter
13545 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13547 * expand.el (expand-in-literal): Remove unused variable `here'.
13549 * facemenu.el (facemenu-add-new-color):
13550 Remove unused variable `docstring'.
13552 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13553 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13554 (face-attr-construct): Mark unused parameter. Doc fix.
13555 (read-color): Remove unused variable `hex-string'.
13557 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13558 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13559 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13560 (display-buffer-other-frame): Remove unused variable `old-window'.
13561 (kill-buffer-hook): Declare.
13562 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13563 Mark unused parameters.
13564 (after-find-file): Pass 1 to `auto-save-mode', not t.
13566 * files-x.el (auto-insert): Declare.
13567 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13569 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13570 variable `buf'. Mark unused parameter.
13571 (find-lisp-insert-directory): Mark unused parameter.
13573 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13574 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13575 (format-common-tail): Remove, unused.
13576 (format-deannotate-region): Remove unused variable `loc'.
13577 (format-annotate-region): Remove unused variable `p'.
13578 (format-annotate-single-property-change): Remove unused variables
13579 `default' and `tail'.
13581 * forms.el (read-file-filter): Declare.
13582 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13584 * frame.el (frame-creation-function-alist): Mark unused parameter.
13585 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13587 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13588 Remove unused parameters.
13589 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13590 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13592 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13593 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13594 (hfy-prepare-tag-map): Mark unused parameters.
13595 (htmlfontify-buffer): Use `called-interactively-p'.
13597 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13598 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13599 (ibuffer-do-occur): Mark unused parameters.
13600 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13601 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13603 * ibuffer.el: Don't quote `lambda'.
13604 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13605 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13606 Mark unused parameters.
13608 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13609 (ido-completing-read): Mark unused parameters.
13610 (ido-copy-current-word): Mark unused parameters;
13611 remove unused variable `name'.
13612 (ido-sort-merged-list): Remove unused parameter `dirs'.
13614 * ielm.el (ielm-input-sender): Mark unused parameter.
13615 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13616 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13617 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13618 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13619 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13621 * image-dired.el (image-dired-display-thumbs): Remove unused
13622 variables `curr-file' and `count'.
13623 (image-dired-remove-tag): Remove unused variable `start'.
13624 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13625 variable `curr-file'
13626 (image-dired-rotate-original): Remove unused variable `temp-file'.
13627 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13628 Remove unused variable `file'.
13629 (image-dired-gallery-generate): Remove unused variable `curr'.
13630 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13632 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13634 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13636 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13638 * isearch.el (minibuffer-history-symbol): Declare.
13639 (isearch-edit-string): Remove unused variable `err'.
13640 (isearch-message-prefix, isearch-message-suffix):
13641 Mark unused parameters.
13643 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13645 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13647 * makesum.el (double-column): Remove unused variable `cnt'.
13649 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13650 (ido-ignore-item-temp-list): Declare.
13652 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13653 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13654 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13655 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13658 * mouse-sel.el (mouse-extend-internal):
13659 Remove unused variable `orig-window-frame'.
13661 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13662 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13663 Move declarations before first use.
13664 (pcomplete-opt): Mark unused parameters; doc fix.
13666 * proced.el (proced-revert): Mark unused parameter.
13667 (proced-send-signal): Remove unused variable `err'.
13669 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13670 Rename parameter PREFIX-ARG to ARG.
13671 (ps-basic-plot-string, ps-basic-plot-whitespace):
13672 Mark unused parameters.
13674 * replace.el (replace-count): Define.
13675 (occur-revert-function): Mark unused parameters.
13676 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13677 (isearch-case-fold-search, isearch-string): Declare.
13678 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13679 bind `case-fold-search'. Remove unused variables `beg' and `end',
13681 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13682 COUNT and bind `replace-count'.
13683 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13686 * savehist.el (print-readably, print-string-length): Declare.
13688 * shadowfile.el (shadow-expand-cluster-in-file-name):
13689 Remove unused variable `cluster'.
13690 (shadow-copy-file): Remove unused variable `i'.
13691 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13692 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13693 (shadow-define-literal-group, shadow-define-regexp-group)
13694 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13696 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13697 (shell): Use `called-interactively-p'.
13698 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13700 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13701 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13702 (delete-backward-char): Remove unused variable `ocol'.
13703 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13704 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13705 (event-apply-hyper-modifier, event-apply-shift-modifier)
13706 (event-apply-control-modifier, event-apply-meta-modifier):
13707 Mark unused parameters.
13708 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13709 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13711 * speedbar.el (speedbar-ignored-directory-expressions)
13712 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13713 (speedbar-find-file, speedbar-dir-follow)
13714 (speedbar-directory-buttons-follow, speedbar-tag-find)
13715 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13716 (speedbar-buffers-line-directory, speedbar-buffer-click):
13717 Mark unused parameters.
13718 (speedbar-tag-file): Remove unused variable `mode'.
13719 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13721 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13723 * talk.el (talk): Remove unused variable `display'.
13725 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13726 (tar-write-region-annotate): Mark unused parameter.
13728 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13729 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13730 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13731 warning by another.
13733 * time-stamp.el (time-stamp-string-preprocess):
13734 Remove unused variable `require-padding'.
13736 * tree-widget.el (widget-glyph-enable): Declare.
13737 (tree-widget-action): Mark unused parameter.
13739 * w32-fns.el (x-get-selection): Mark unused parameter.
13740 (autoload-make-program, generated-autoload-file): Declare.
13742 * wdired.el (wdired-revert): Mark unused parameters.
13743 (wdired-xcase-word): Remove unused variable `err'.
13745 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13746 (whitespace-help-scroll): Remove unused variable `data-help'.
13748 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13749 (widget-image-insert, widget-after-change, default)
13750 (widget-default-format-handler, widget-default-notify)
13751 (widget-default-prompt-value, widget-info-link-action)
13752 (widget-url-link-action, widget-function-link-action)
13753 (widget-variable-link-action, widget-file-link-action)
13754 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13755 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13756 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13757 (widget-insert-button-action, widget-delete-button-action, visibility)
13758 (widget-documentation-link-action, widget-documentation-string-action)
13759 (widget-const-prompt-value, widget-regexp-match, symbol)
13760 (widget-coding-system-prompt-value)
13761 (widget-key-sequence-value-to-external, sexp)
13762 (widget-sexp-value-to-internal, character, vector, cons)
13763 (widget-choice-prompt-value, widget-boolean-prompt-value)
13764 (widget-color--choose-action): Mark unused parameters.
13765 (widget-item-match-inline, widget-choice-match-inline)
13766 (widget-checklist-match, widget-checklist-match-inline)
13767 (widget-group-match): Rename parameter VALUES to VALS.
13768 (widget-field-value-set): Remove unused variable `size'.
13769 (widget-color-action): Remove unused variables `value' and `start'.
13771 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13772 variable `dir'. Doc fix.
13773 (windmove-find-other-window): Don't pass it.
13775 * window.el (count-windows): Mark unused parameter.
13776 (bw-adjust-window): Remove unused variable `err'.
13778 * woman.el (woman-file-name): Remove unused variable `default'.
13779 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13780 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13781 (global-font-lock-mode): Declare.
13782 (woman-decode-region): Mark unused parameter.
13783 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13785 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13786 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13787 (x-dnd-handle-moz-url): Remove unused variable `title'.
13788 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13790 * xml.el (xml-parse-tag, xml-parse-attlist):
13791 Remove unused variable `pos'.
13793 2011-04-19 Glenn Morris <rgm@gnu.org>
13795 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13796 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13797 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13798 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13799 * calendar/cal-html.el (cal-html-insert-minical):
13800 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13801 (calendar-mark-date-pattern):
13802 Prefix "unused" locals.
13804 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13805 optional argument `style'.
13807 * calendar/appt.el (appt-make-list):
13808 * calendar/cal-china.el (calendar-chinese-date-string):
13809 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13810 (diary-hebrew-yahrzeit):
13811 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13812 * calendar/calendar.el (calendar-generate-window):
13813 * calendar/time-date.el (time-to-days):
13814 Remove unused local variables.
13816 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13818 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13819 glyphless-char-display table.
13820 (tabulated-list-glyphless-char-display): New var.
13822 2011-04-18 Sam Steingold <sds@gnu.org>
13824 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13825 to acknowledgments.
13827 2011-04-17 Glenn Morris <rgm@gnu.org>
13829 * calendar/diary-lib.el (diary-sexp-entry):
13830 * calendar/holidays.el (holiday-sexp):
13831 Set debug-on-error rather than the removed stack-trace-on-error.
13833 2011-04-16 Glenn Morris <rgm@gnu.org>
13835 * progmodes/f90.el: Use lexical-binding.
13836 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13838 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13840 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13841 (mail-mode): Setup mailalias completion here instead.
13842 * mail/mailalias.el: Use lexical-binding.
13843 (pattern, mailalias-done): Declare dynamic.
13844 (mail-completion-at-point-function): New function, from mail-complete.
13845 (mail-complete): Use it.
13846 (mail-completion-expand): New function.
13847 (mail-get-names): Use it.
13848 (mail-directory, mail-directory-process, mail-directory-stream):
13849 Don't use `pattern' for lexically bound arg.
13851 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13853 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13854 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13855 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13857 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13858 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13859 (byte-interactive-p): Define them again, for use when inlining
13862 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13864 * loadup.el: Use `string-to-number', not `string-to-int'.
13866 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13868 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13869 gud-gdb-complete-command.
13870 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13871 (gud-gdb-completion-at-point): New function.
13872 (gud-gdb-completions): Remove.
13874 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13876 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13877 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13878 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13879 whether `executable-find' is bound.
13881 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13883 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13885 * minibuffer.el (completion-in-region-mode-predicate)
13886 (completion-in-region-mode--predicate): New vars.
13887 (completion-in-region, completion-in-region--postch)
13888 (completion-in-region-mode): Use them.
13889 (completion--capf-wrapper): Also return the hook function.
13890 (completion-at-point, completion-help-at-point):
13891 Adjust and provide a predicate.
13893 Preserve arg names for advice of subr and lexical functions (bug#8457).
13894 * help-fns.el (help-function-arglist): Consolidate the subr and
13895 new-byte-code cases. Add argument `preserve-names' to extract names
13896 from the docstring when needed.
13897 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13898 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13899 (ad-arglist): Use help-function-arglist's new arg.
13900 (ad-definition-type): Use cond.
13902 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13904 * autorevert.el (auto-revert-handler):
13905 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13906 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13907 Don't quote lambda.
13909 * image-mode.el (image-transform-set-scale):
13910 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13912 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13914 * net/network-stream.el (network-stream-open-starttls): Only do
13915 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13916 Upgrades via gnutls-cli are too slow to be done opportunistically.
13918 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13920 * dframe.el (dframe-current-frame): Remove spurious quote.
13922 2011-04-12 Glenn Morris <rgm@gnu.org>
13924 * calendar/cal-tex.el (cal-tex-end-document):
13925 Try to automatically use latin1 input if needed.
13927 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13928 Don't try to cons a mark onto an empty element.
13930 2011-04-11 Leo Liu <sdl.web@gmail.com>
13932 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13934 (ido-kill-buffer-at-head): Support killing virtual buffers.
13936 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13938 * minibuffer.el (completion-show-inline-help): New var.
13939 (completion--do-completion, minibuffer-complete)
13940 (minibuffer-force-complete, minibuffer-complete-word):
13941 Inhibit minibuffer messages if completion-show-inline-help is nil.
13943 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13944 to avoid interference from inline help (Bug#5849).
13946 2011-04-10 Leo Liu <sdl.web@gmail.com>
13948 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13951 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13953 * image-mode.el (image-toggle-display-image): Signal an error if
13955 (image-transform-mode, image-transform-resize)
13956 (image-transform-set-rotation): Doc fix.
13957 (image-transform-set-resize): Delete.
13958 (image-transform-set-scale, image-transform-fit-to-height)
13959 (image-transform-fit-to-width): Handle image-toggle-display-image
13960 and image-transform-resize directly.
13962 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13964 * doc-view.el (doc-view-fit-width-to-window)
13965 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13966 New functions for fitting the shown image to the Emacs window size.
13967 (doc-view-mode-map): Add bindings for the new functions.
13969 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13971 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13972 Fix typo in docstring.
13974 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13976 * files.el (file-size-human-readable): Produce one digit after
13977 decimal, like "ls -lh" does.
13979 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13980 the file size representation.
13982 * simple.el (list-processes): If async subprocesses are not
13983 available, error out with a clear error message.
13985 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13987 * help.el (help-form-show): New function, to be called from C.
13988 Put help-form output in a buffer named differently than *Help*.
13990 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13992 * files.el (file-size-human-readable): New function.
13994 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13995 computing the representation inline. Don't require `cl'.
13997 2011-04-08 Glenn Morris <rgm@gnu.org>
13999 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14001 * net/browse-url.el (browse-url-firefox):
14002 Test system-type, not system-configuration.
14004 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14005 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14006 Use log-edit-empty-buffer-p. (Bug#7598)
14008 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14009 (rlogin-mode-map): Initialize in the defvar.
14010 (rlogin): Use ignore-errors.
14012 * replace.el (occur-mode-map): Some fixes for menu items.
14014 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14016 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14018 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14020 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14021 issuing unused warnings.
14023 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14026 * simple.el: Lisp reimplement of list-processes. Based on an
14027 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14028 (process-menu-mode): New major mode.
14029 (list-processes--refresh, list-processes):
14030 (process-menu-visit-buffer): New functions.
14032 * files.el (save-buffers-kill-emacs): Don't assume any return
14033 value of list-processes, which is undocumented anyway.
14035 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14037 * emacs-lisp/tabulated-list.el: New file.
14039 * emacs-lisp/package.el: Use Tabulated List mode.
14040 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14041 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14042 table format using Tabulated List mode variables.
14043 (package--push): New macro, replacing package-list-maybe-add.
14044 (package-menu--generate): Use package--push. Renamed from
14045 package--generate-package-list.
14046 (package-menu-refresh, list-packages): Use it.
14047 (package-menu--print-info): Rename from package-print-package.
14048 Return insertion data instead of inserting it directly.
14049 (package-menu-describe-package, package-menu-execute):
14050 Use tabulated-list-get-id.
14051 (package-menu-mark-delete, package-menu-mark-install)
14052 (package-menu-mark-unmark, package-menu-backup-unmark)
14053 (package-menu-mark-obsolete-for-deletion):
14054 Use tabulated-list-put-tag.
14055 (package--list-packages, package-menu-revert)
14056 (package-menu-get-package, package-menu-get-version)
14057 (package-menu-sort-by-column): Functions deleted.
14058 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14059 (package-menu--status-predicate, package-menu--version-predicate)
14060 (package-menu--name-predicate)
14061 (package-menu--description-predicate): Handle arguments in the
14062 Tabulated List format.
14063 (package-list-packages-no-fetch): Call list-packages.
14065 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14067 * files.el (after-find-file-from-revert-buffer): Remove variable.
14068 (after-find-file): Don't bind it.
14069 (revert-buffer-in-progress-p): New variable.
14070 (revert-buffer): Bind it.
14071 Pass nil for `after-find-file-from-revert-buffer'.
14073 * saveplace.el (save-place-find-file-hook): Use new variable
14074 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14076 2011-04-06 Glenn Morris <rgm@gnu.org>
14078 * Makefile.in (AUTOGEN_VCS): New variable.
14079 (autoloads): Use $AUTOGEN_VCS.
14081 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14082 * calendar/calendar.el (calendar-mode-map):
14083 Check for toolkit scroll bars. (Bug#8305)
14085 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14087 * minibuffer.el (completion-in-region--postch)
14088 (completion-in-region-mode): Remove unnecessary messages.
14090 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14092 * font-lock.el (font-lock-refresh-defaults):
14093 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14094 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14096 * info.el (Info-directory-list, Info-read-node-name-2)
14097 (Info-split-parameter-string): Doc fixes.
14098 (Info-virtual-nodes): Reflow docstring.
14099 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14100 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14101 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14102 Fix typos in docstrings.
14103 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14104 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14105 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14106 (Info-restore-desktop-buffer): Mark unused parameters.
14107 (Info-directory-find-file, Info-directory-find-node)
14108 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14109 (Info-virtual-index-find-node, Info-apropos-find-file)
14110 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14111 Mark unused parameters; fix typos in docstrings.
14112 (Info-virtual-index): Remove unused local variable `nodename'.
14114 2011-04-05 Deniz Dogan <deniz@dogan.se>
14116 * net/rcirc.el: Update my e-mail address.
14117 (rcirc-mode-map): Remove M-o binding.
14119 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14121 * startup.el (command-line): Save the cursor's theme-face
14122 directly, instead of using face-override-spec.
14124 * custom.el (load-theme): Minor optimization in assigning faces.
14126 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14128 * help-fns.el (describe-variable): Complete all variables having
14129 documentation, including keywords.
14130 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14132 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14134 Convert to lexical-binding.
14136 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14137 (bs--get-marked-string, bs--get-modified-string)
14138 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14139 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14140 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14142 * ehelp.el (electric-help-execute-extended)
14143 (electric-help-ctrl-x-prefix):
14144 * hexl.el (hexl-revert-buffer-function):
14145 * linum.el (linum-after-change, linum-after-scroll):
14146 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14148 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14150 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14157 * epg.el: Use lexical binding.
14159 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14161 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14163 * textmodes/flyspell.el (flyspell-word): Recognize default
14164 dictionary case for flyspell-mark-duplications-exceptions.
14165 Use regexp matching for languages.
14166 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14167 default dictionary (Bug#7926).
14169 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14171 * emacs-lisp/package.el (package--with-work-buffer):
14172 Recognize https URLs.
14174 * net/network-stream.el: Move from gnus/proto-stream.el.
14175 Change prefix to network-stream throughout.
14176 (open-protocol-stream): Merge into open-network-stream, leaving
14177 open-protocol-stream as an alias. Handle nil BUFFER args.
14179 * subr.el (open-network-stream): Move to net/network-stream.el.
14181 2011-04-02 Glenn Morris <rgm@gnu.org>
14183 * find-dired.el (find-exec-terminator): New option.
14184 (find-ls-option): Test for -ls support.
14185 (find-ls-subdir-switches): Test for -b in find-ls-option.
14186 (find-dired, find-grep-dired): Doc fixes.
14187 (find-dired): Use find-exec-terminator.
14189 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14190 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14191 (find-name-arg): Remove purecopy.
14193 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14194 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14195 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14196 accordingly. Don't add the null-device if not needed.
14198 * files.el (save-some-buffers): Doc fix.
14200 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14202 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14204 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14206 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14207 Use `dolist' rather than `mapcar'.
14209 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14211 Add lexical binding.
14213 * subr.el (apply-partially): Use new closures rather than CL.
14214 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14215 (dolist, dotimes): Use slightly different expansion for lexical code.
14216 (functionp): Move to C.
14217 (letrec): New macro.
14218 (with-wrapper-hook): Use it and apply-partially instead of CL.
14219 (eval-after-load): Preserve lexical-binding.
14220 (save-window-excursion, with-output-to-temp-buffer): Turn them
14223 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14225 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14227 (help-add-fundoc-usage): Don't add `Not documented'.
14228 (help-function-arglist): Handle closures, subroutines, and new
14229 byte-code-functions.
14230 (help-make-usage): Remove leading underscores.
14231 (describe-function-1): Handle closures.
14232 (describe-variable): Use special-variable-p for completion.
14234 * files.el (lexical-binding): Declare safe.
14236 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14237 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14238 (pcase): Add `let' pattern.
14239 Change memoization so it actually works.
14240 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14241 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14244 * emacs-lisp/macroexp.el: Use lexical binding.
14245 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14246 Don't convert ' to #' without checking that it's indeed quoting
14249 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14250 Use eval-sexp-add-defvars.
14251 (eval-sexp-add-defvars): New fun.
14253 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14255 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14257 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14258 than the internal `byte-compile-lambda'.
14259 (defmethod): Don't hide code under quotes.
14260 (eieio-defmethod): New `code' argument.
14262 * emacs-lisp/eieio-comp.el: Remove.
14264 * emacs-lisp/edebug.el (edebug-eval-defun)
14265 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14266 (edebug-toggle): Avoid `eval'.
14268 * emacs-lisp/disass.el (disassemble-internal): Handle new
14270 (disassemble-1): Handle new byte codes.
14272 * emacs-lisp/cl.el (pushnew): Silence warning.
14274 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14275 (cl-byte-compile-throw): Remove.
14276 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14278 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14281 * emacs-lisp/cconv.el: New file.
14283 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14284 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14285 (byte-compile-initial-macro-environment):
14286 Handle declare-function here.
14287 (byte-compile--lexical-environment): New var.
14288 (byte-stack-ref, byte-stack-set, byte-discardN)
14289 (byte-discardN-preserve-tos): New lap codes.
14290 (byte-interactive-p): Don't use any more.
14291 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14293 (byte-compile-lapcode): Use them and handle new lap codes.
14294 (byte-compile-obsolete): Remove.
14295 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14296 (byte-compile-arglist-warn): Check late def of inlinable funs.
14297 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14298 since they should have been expanded by now.
14299 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14300 (byte-compile-from-buffer): Remove unused second arg.
14301 (byte-compile-preprocess): New function.
14302 (byte-compile-toplevel-file-form): New function to distinguish
14303 file-form calls from outside from file-form calls from hunk-handlers.
14304 (byte-compile-file-form): Simplify.
14305 (byte-compile-file-form-defsubst): Remove.
14306 (byte-compile-file-form-defmumble): Simplify now that
14307 byte-compile-lambda always returns a byte-code-function.
14308 (byte-compile): Preprocess.
14309 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14310 Remove, not used any more.
14311 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14312 (byte-compile-make-args-desc): New funs.
14313 (byte-compile-lambda): Handle lexical functions. Always return
14314 a byte-code-function.
14315 (byte-compile-reserved-constants): New var, to make up room for
14316 closed-over variables.
14317 (byte-compile-constants-vector): Obey it.
14318 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14319 (byte-compile-macroexpand-declare-function): New function.
14320 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14321 byte-code-functions.
14322 (byte-compile-form): Check obsolescence here.
14323 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14324 (byte-compile-variable-ref): Remove.
14325 (byte-compile-dynamic-variable-op): New fun.
14326 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14327 (byte-compile-variable-set): New funs.
14328 (byte-compile-discard): Add 2 args.
14329 (byte-compile-stack-ref, byte-compile-stack-set)
14330 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14331 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14332 macroexpand-all instead.
14333 (byte-compile-quote-form): Remove.
14334 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14335 (byte-compile-bind, byte-compile-unbind): New funs.
14336 (byte-compile-let): Handle let* and lexical binding.
14337 (byte-compile-let*): Remove.
14338 (byte-compile-catch, byte-compile-unwind-protect)
14339 (byte-compile-track-mouse, byte-compile-condition-case):
14340 Handle a new :fun-body form, used for lexical scoping.
14341 (byte-compile-save-window-excursion)
14342 (byte-compile-with-output-to-temp-buffer): Remove.
14343 (byte-compile-defun): Simplify.
14344 (byte-compile-stack-adjustment): New fun.
14345 (byte-compile-out): Use it.
14346 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14348 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14351 * emacs-lisp/byte-opt.el: Use lexical binding.
14352 (byte-inline-lapcode): Remove (to bytecomp).
14353 (byte-compile-inline-expand): Pay attention to inlining to/from
14354 lexically bound code.
14355 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14357 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14358 any more and don't call compiler-macros.
14359 (byte-compile-splice-in-already-compiled-code): Remove.
14360 (byte-code): Don't inline any more.
14361 (disassemble-offset): Receive `bytes' as argument rather than via
14363 (byte-compile-tag-number): Declare before first use.
14364 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14365 `return' even if make-spliceable.
14366 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14367 obsolete interactive-p.
14368 (byte-optimize-lapcode): Optimize new lap-codes.
14369 Don't trip up on new form of `byte-constant' lap code.
14371 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14373 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14375 * custom.el (custom-initialize-default, custom-declare-variable):
14378 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14380 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14381 (COMPILE_FIRST): Add macroexp and cconv.
14382 * makefile.w32-in: Mirror changes in Makefile.in.
14384 * vc/cvs-status.el:
14388 * vc/smerge-mode.el:
14389 * textmodes/bibtex-style.el:
14390 * textmodes/css.el:
14398 * emacs-lisp/smie.el:
14401 * abbrev.el: Use lexical binding.
14403 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14405 * info.el (info-display-manual): New function.
14407 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14409 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14411 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14413 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14414 an entry for that server in rcirc-authinfo. (Bug#8385)
14416 2011-03-31 Glenn Morris <rgm@gnu.org>
14418 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14420 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14422 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14424 * progmodes/python.el (python-default-interpreter)
14425 (python-python-command-args, python-jython-command-args)
14426 (python-which-shell, python-which-args, python-which-bufname)
14427 (python-file-queue, python-comint-output-filter-function)
14428 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14429 variables and functions.
14431 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14433 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14434 (completion-in-region-mode): New minor mode.
14435 (completion-in-region): Use it.
14436 (completion-in-region--data, completion-in-region-mode-map): New vars.
14437 (completion-in-region--postch): New function.
14438 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14440 (completion--capf-wrapper): New function.
14441 (completion-at-point): Use it to track well-behavedness of
14443 (completion-help-at-point): New command.
14445 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14447 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14448 syntax class to search for whitespace on a single line
14449 (Message-ID: <4D938140.4030905@redhat.com>).
14451 2011-03-30 Leo Liu <sdl.web@gmail.com>
14453 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14455 (edit-abbrevs-map): Bind them here.
14456 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14458 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14460 * allout.el (allout-hide-by-annotation, allout-flag-region):
14461 Reduce possibility of overlay leakage by making them volatile.
14463 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14464 hash is not shared between buffers. Mode initialization is
14465 responsible for giving it a useful starting value.
14466 (allout-item-span): Reduce possibility of overlay leakage by
14467 making them volatile.
14468 (allout-widgets-count-buttons-in-region): Add diagnostic function
14469 for tracking down button overlay leaks.
14471 2011-03-29 Leo Liu <sdl.web@gmail.com>
14473 * ido.el (ido-read-internal): Use the default history var
14474 minibuffer-history if no HISTORY is specified.
14476 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14478 * net/imap.el (imap-shell-open, imap-process-connection-type):
14479 Use imap-process-connection-type for 'shell' streams as well as
14480 Kerberos, SSL, other subprocesses.
14482 2011-03-28 Leo Liu <sdl.web@gmail.com>
14484 * abbrev.el (abbrev-table-empty-p): New function.
14485 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14486 nonempty ones. (Bug#5937)
14488 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14490 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14492 2011-03-27 Leo Liu <sdl.web@gmail.com>
14494 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14495 for foreground and background colors.
14496 (ansi-color-make-color-map): Adapt.
14498 2011-03-25 Leo Liu <sdl.web@gmail.com>
14500 * midnight.el (midnight-time-float): Remove. Note it calculates
14501 the microsecond component incorrectly and seconds-to-time does the
14503 Remove redundant (require 'timer).
14505 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14506 (ido-completions): Remove unused arguments. (Bug#8329)
14508 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14510 * minibuffer.el (completion--flush-all-sorted-completions):
14511 Remove itself from hook.
14512 (completion-at-point): Let the functions perform the completion
14513 immediately and return nil or t.
14514 * comint.el (comint-dynamic-complete-functions): Now identical to
14515 completion-at-point-functions.
14516 (comint-dynamic-list-input-ring): Remove unused var `index'.
14517 (comint--match-partial-filename, comint--unquote&expand-filename):
14518 New funs, split from comint-match-partial-filename.
14519 (comint-dynamic-complete): Use completion-at-point.
14520 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14522 2011-03-24 Drew Adams <drew.adams@oracle.com>
14524 * thingatpt.el: Support `defun'.
14526 2011-03-23 Leo Liu <sdl.web@gmail.com>
14528 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14530 * help-mode.el (help-mode-finish): Tweak regexp.
14532 2011-03-23 Glenn Morris <rgm@gnu.org>
14534 * eshell/esh-opt.el (eshell-eval-using-options):
14535 Do not bind unused local variable `eshell-option-stub'.
14537 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14539 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14541 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14542 keymap variable in `with-no-warnings' to avoid a warning when the
14543 keymap has been already `defconst'ed.
14545 2011-03-22 Leo Liu <sdl.web@gmail.com>
14547 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14548 encode all chars in abbrevs; otherwise use emacs-mule or
14549 utf-8-emacs. (Bug#8308)
14551 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
14553 * simple.el (backward-delete-char-untabify):
14554 Avoid warning about using `delete-backward-char'.
14556 * image.el (image-type-file-name-regexps): Make it variable.
14557 `imagemagick-register-types' modifies it, and the user may want
14558 to add new extensions for known image types.
14559 (imagemagick-register-types): Throw error if not using ImageMagick.
14561 2011-03-22 Leo Liu <sdl.web@gmail.com>
14563 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14564 located before rcirc-prompt-end-marker.
14565 (rcirc-complete): Error if point is not after rcirc prompt.
14566 Handle the case when table is nil.
14567 (rcirc-user-authenticated): Define to fix compiler warning.
14569 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14571 * custom.el (custom--inhibit-theme-enable): Make it affect only
14572 custom-theme-set-variables and custom-theme-set-faces.
14573 (provide-theme): Ignore custom--inhibit-theme-enable.
14574 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14575 (custom-enabling-themes): Delete variable.
14576 (enable-theme): Accept only loaded themes as arguments.
14577 Ignore the special custom-enabled-themes variable.
14578 (custom-enabled-themes): Forbid themes from setting this.
14579 Eliminate use of custom-enabling-themes.
14580 (custom-push-theme): Quote "changed" custom var entry.
14582 2011-03-21 Leo Liu <sdl.web@gmail.com>
14584 * ido.el (ido-read-internal): Add ido-selected to history instead
14587 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14589 * subr.el (deferred-action-list, deferred-action-function):
14592 2011-03-21 Leo Liu <sdl.web@gmail.com>
14594 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14595 change on 2011-02-13 (bug#8309).
14597 * minibuffer.el (read-file-name-function): Change default value.
14598 (read-file-name--defaults): Rename from read-file-name-defaults.
14599 (read-file-name-default): Rename from read-file-name.
14600 (read-file-name): Call read-file-name-function.
14602 2011-03-21 Glenn Morris <rgm@gnu.org>
14604 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14607 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14609 * cus-theme.el: Add missing provide statement.
14610 (customize-create-theme): Extract theme value correctly.
14611 (custom-theme-visit-theme): Autoload.
14612 (customize-create-theme): Prompt before inserting default faces.
14614 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14616 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14617 units and musical notes.
14619 2011-03-20 Leo Liu <sdl.web@gmail.com>
14621 * ido.el (ido-read-internal): Use completing-read-default.
14622 (ido-completing-read): Fix compatibility with completing-read.
14624 2011-03-20 Christian Ohler <ohler@gnu.org>
14626 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14627 (ert-delete-all-tests): Use `called-interactively-p' rather than
14629 (ert--make-xrefs-region): Respect END.
14631 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14633 * dired-aux.el (dired-create-directory): Signal an error if the
14634 directory already exists (Bug#8246).
14636 * facemenu.el (list-colors-display): Call list-faces-display
14637 inside with-help-window.
14638 (list-colors-print): Use display property to align the final
14639 column, instead of checking window-width.
14641 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14643 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14644 windows-nt systems.
14645 (emerge-protect-metachars): Quote correctly for ms-dos and
14646 windows-nt systems.
14648 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14650 * info.el (info-initialize): Replace all uses of `:' with
14651 path-separator for compatibility with non-Unix systems.
14652 Cache quoting of path-separator. (Bug#8258)
14654 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14656 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14657 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14658 (mouse-avoidance-mode): Fix typos in docstrings.
14660 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14662 * startup.el (package-subdirectory-regexp): Move from package.el.
14663 Omit \\` and \\', and let callers add them.
14665 * emacs-lisp/package.el (package-strip-version)
14666 (package-load-all-descriptors): Add \\` and \\' to
14667 package-subdirectory-regexp before using it.
14668 (package-untar-buffer): New arg DIR; ensure that file untars only
14669 into this expected directory. Remove superfluous delete-region.
14670 (package-unpack): Caller changed.
14671 (package-tar-file-info): Use package-subdirectory-regexp.
14673 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14675 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14676 diff-mode-shared-map (bug#8284).
14677 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14679 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14681 * calendar/time-date.el (format-seconds): Use assoc instead of
14682 assoc-string, since assoc-string doesn't exist in XEmacs.
14684 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14686 * custom.el (custom-known-themes): Reflow docstring.
14687 (custom-theme-load-path): Fix typo in docstring.
14688 (load-theme): Fix typo in error message.
14689 (custom-available-themes, custom-variable-theme-value):
14690 Use `let', not `let*'.
14692 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14694 * calc/README: Mention inclusion of musical notes.
14696 * calc/calc-units.el (calc-lu-quant): Rename from
14697 `calc-logunits-quantity'.
14698 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14699 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14700 (calc-db): Rename from `calc-dblevel'.
14701 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14702 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14703 (calc-np): Rename from `calc-nplevel'.
14704 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14705 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14706 (calc-lu-plus): Rename from `calc-logunits-add'.
14707 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14708 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14709 (calc-lu-minus): Rename from `calc-logunits-sub'.
14710 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14711 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14712 (calc-lu-times): Rename from `calc-logunits-mul'.
14713 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14714 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14715 (calc-lu-divide): Rename from `calc-logunits-div'.
14716 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14717 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14719 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14720 functions being autoloaded.
14722 * calc/calc.el (calc-lu-power-reference): Rename from
14723 `calc-logunits-power-reference'.
14724 (calc-lu-field-reference): Rename from
14725 `calc-logunits-field-reference'.
14727 * calc/calc-help.el (calc-l-prefix-help):
14728 Mention musical note functions.
14730 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14732 * minibuffer.el (completion-all-sorted-completions):
14733 Use :completion-cycle-penalty text property if present.
14735 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14737 * allout.el (allout-yank-processing): Adjust for new rebulleting
14738 regime so bullet being yanked is used without prompting the user
14741 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14743 * startup.el (command-line): Warn the user that _emacs is deprecated.
14745 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14747 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14748 (delphi-verbose, delphi-comment-face, delphi-string-face)
14749 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14750 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14751 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14752 (delphi-new-comment-line, delphi-font-lock-defaults)
14753 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14754 Fix typos in docstrings.
14756 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14758 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14759 Invert the roles of character and string values for INSTEAD, so a
14760 string is used for the more common case of a defaulting prompt.
14762 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * progmodes/ruby-mode.el (ruby-backward-sexp):
14765 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14766 * play/gamegrid.el (gamegrid-make-face):
14767 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14768 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14769 * notifications.el (notifications-notify):
14770 * net/xesam.el (xesam-search-engines):
14771 * net/quickurl.el (quickurl-list-insert):
14772 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14774 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14776 * startup.el (command-line): Update package subdirectory regexp.
14778 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14780 * allout.el (allout-abbreviate-flattened-numbering)
14781 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14783 * subr.el (read-char-choice): Only show the cursor after the prompt,
14784 not after the answer.
14786 2011-03-15 Kevin Ryde <user42@zip.com.au>
14788 * help-fns.el (variable-at-point): Skip leading quotes, if any
14791 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14793 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14796 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14798 * shell.el (shell): When called interactively, offer to change the
14799 shell file name on remote hosts.
14801 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14803 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14804 integration for LDAP parameters. The host, base, user or binddn,
14805 and secret tokens can be specified in a netrc file, for instance.
14806 This is optional because an `auth-source' parameter must be
14807 specified in the search attributes.
14809 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14811 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14813 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14815 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14816 into declaration. Remove redundant and harmful binding.
14818 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14820 * files.el (file-ownership-preserved-p): Pass `integer' as an
14821 explicit 2nd argument to `file-attributes'. If the file's owner
14822 is the Administrators group on Windows, and the current user is
14823 Administrator, consider that a match.
14825 * server.el (server-ensure-safe-dir): Consider server directory
14826 safe on MS-Windows if its owner is the Administrators group while
14827 the current Emacs user is Administrator. Use `=' to compare
14828 numerical UIDs, since they could be integers or floats.
14830 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14832 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14834 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14836 Sync with Tramp 2.2.1.
14838 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14840 * net/trampver.el: Update release number.
14842 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14844 * progmodes/compile.el (compilation--previous-directory): Fix up
14845 various nil/dead-marker mismatches (bug#8014).
14846 (compilation-directory-properties, compilation-error-properties):
14847 Don't call it at a position past the one we're about to change.
14849 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14850 Disable obsolescence warnings in the file that declares it.
14852 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14854 * allout-widgets.el (allout-widgets-tally):
14855 Initialize allout-widgets-tally as a hash table rather than nil to
14856 prevent mode-line redisplay warnings. Also, clarify the module
14857 description and fix a comment typo.
14859 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14861 * help-fns.el (describe-variable): Don't complete keywords.
14862 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14864 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14866 * emacs-lisp/package.el (package-version-join): Impose a standard
14867 string representation for pre/alpha/beta version lists.
14868 (package-unpack-single): Standardize the directory name by passing
14869 it through package-version-join.
14870 (package-strip-rcs-id): Accept any version string that does not
14871 signal an error in version-to-list.
14873 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14875 * simple.el (delete-trailing-whitespace): Return nil for the
14876 benefit of `write-file-functions'.
14878 2011-03-10 Glenn Morris <rgm@gnu.org>
14880 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14882 * vc/vc-git.el (vc-git-program): New option.
14883 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14884 (vc-git--call): Use it.
14886 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14888 * cus-edit.el (Custom-newline): If no button at point, look
14889 for a subgroup button at start-of-line. (Bug#2298)
14891 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14893 2011-03-10 Julien Danjou <julien@danjou.info>
14895 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14896 `cursor-type' is nil.
14898 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14900 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14902 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14904 * allout.el: Change so yank of distinctive-bullet items
14905 preserves the existing header prefix, rebulleting it if necessary,
14906 rather than replacing it. This is necessary for proper operation
14907 of cooperative addons like allout-widgets.
14908 (allout-make-topic-prefix, allout-rebullet-heading):
14909 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14910 value as alternate bullet to be used, instead of prompting the user
14911 for a bullet character.
14913 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14916 Do not use `tramp-file-name-port', because this returns also
14917 `tramp-default-port'.
14919 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14921 * net/rcirc.el (rcirc-handler-001): Remove useless
14922 with-rcirc-process-buffer.
14923 (rcirc-check-auth-status): Swap arguments to string-match.
14925 2011-03-09 Glenn Morris <rgm@gnu.org>
14927 * shell.el (shell-mode):
14928 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14930 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14931 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14933 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14935 * emacs-lisp/package.el (package-refresh-contents)
14936 (package-menu-execute): Use condition-case-no-debug.
14938 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14940 * simple.el (shell-command-to-string): Use `process-file'.
14942 * emacs-lisp/package.el (package-tar-file-info): Handle also
14945 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14946 Use `equal' for upload base check.
14948 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14950 * textmodes/texinfo.el (texinfo-environments):
14951 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14953 2011-03-08 Glenn Morris <rgm@gnu.org>
14955 * cus-start.el (cursor-in-non-selected-windows):
14956 Fix :set quoting oddness. (Bug#8192)
14958 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14959 in some setf expressions. (Bug#2159)
14961 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14963 * custom.el (custom-available-themes): Return themes in
14964 alphabetical order.
14966 See ChangeLog.15 for earlier changes.
14968 ;; Local Variables:
14972 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14974 This file is part of GNU Emacs.
14976 GNU Emacs is free software: you can redistribute it and/or modify
14977 it under the terms of the GNU General Public License as published by
14978 the Free Software Foundation, either version 3 of the License, or
14979 (at your option) any later version.
14981 GNU Emacs is distributed in the hope that it will be useful,
14982 but WITHOUT ANY WARRANTY; without even the implied warranty of
14983 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14984 GNU General Public License for more details.
14986 You should have received a copy of the GNU General Public License
14987 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.