1 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
4 (with-no-warnings): Use `declare'.
6 * whitespace.el (whitespace-enable-predicate): New variable.
7 (whitespace-enable-predicate): Use it.
9 * comint.el (comint-send-input, comint-snapshot-last-prompt)
10 (comint-output-filter, comint-update-fence):
11 Use with-silent-modifications.
13 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
15 * replace.el (occur-read-regexp-defaults-function): New var.
16 (occur-read-regexp-defaults): New defun.
17 (occur-read-primary-args): Propagate above change (bug#13892).
19 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
21 * mouse.el (mouse-drag-track): Remove left-over debugging code.
23 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
25 Major rewrite due to changed D-Bus interface of GVFS 1.14.
27 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
28 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
29 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
31 (tramp-gvfs-file-name-handler-alist) [directory-files]
32 [directory-files-and-attributes, file-exists-p, file-modes]:
33 Use Tramp default handler.
34 [file-acl, file-selinux-context, process-file, set-file-acl]:
35 [set-file-modes, set-file-selinux-context, shell-command]:
36 [start-file-process]: Remove handler.
37 [verify-visited-file-modtime]: New handler.
38 (tramp-gvfs-dbus-string-to-byte-array)
39 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
40 calls of `dbus-string-to-byte-array' and
41 `tramp-gvfs-dbus-byte-array-to-string'.
42 (tramp-gvfs-handle-copy-file)
43 (tramp-gvfs-handle-delete-directory)
44 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
45 (tramp-gvfs-handle-file-directory-p)
46 (tramp-gvfs-handle-file-executable-p)
47 (tramp-gvfs-handle-file-name-all-completions)
48 (tramp-gvfs-handle-file-readable-p)
49 (tramp-gvfs-handle-file-writable-p)
50 (tramp-gvfs-handle-insert-directory)
51 (tramp-gvfs-handle-insert-file-contents)
52 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
53 (tramp-gvfs-handle-set-visited-file-modtime)
54 (tramp-gvfs-handle-write-region): Rewrite.
55 (tramp-gvfs-handle-file-acl)
56 (tramp-gvfs-handle-file-selinux-context)
57 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
58 (tramp-gvfs-handle-set-file-modes)
59 (tramp-gvfs-handle-set-file-selinux-context)
60 (tramp-gvfs-handle-shell-command)
61 (tramp-gvfs-handle-start-file-process)
62 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
63 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
64 over the symlinks. Fix user handling.
65 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
67 (tramp-gvfs-connection-mounted-p): Handle different names of the
69 (tramp-gvfs-mount-spec-entry): New defun.
70 (tramp-gvfs-mount-spec): Use it.
71 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
72 there is a share name. Handle different names of the D-Bus
74 (tramp-gvfs-maybe-open-connection): Set connection properties
75 needed for `tramp-check-cached-permissions'.
76 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
79 * net/tramp.el (tramp-backtrace): Move up.
80 (tramp-error): Apply a backtrace into the debug buffer when
82 (tramp-file-mode-type-map, tramp-file-mode-from-int)
83 (tramp-file-mode-permissions, tramp-get-local-uid)
84 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
87 * net/tramp-sh.el (tramp-file-mode-type-map)
88 (tramp-check-cached-permissions, tramp-file-mode-from-int)
89 (tramp-file-mode-permissions, tramp-get-local-uid)
90 (tramp-get-local-gid): Move to tramp.el.
92 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
94 Separate mouse-1-click-follows-link from mouse-drag-region.
95 * mouse.el (mouse--down-1-maybe-follows-link): New function.
96 (key-translation-map): Use it to implement mouse-1-click-follows-link.
97 (mouse-drag-line, mouse-drag-track):
98 Remove mouse-1-click-follows-link code.
99 (mouse--remap-link-click-p): Remove.
101 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
103 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
104 (hi-lock-read-regexp-defaults): New defun.
105 (hi-lock-line-face-buffer, hi-lock-face-buffer)
106 (hi-lock-face-phrase-buffer): Propagate above change.
107 Update docstring (bug#13892).
109 * subr.el (find-tag-default-as-regexp): New defun.
110 * replace.el (read-regexp): Propagate above change.
112 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
114 * calc/calc-units.el (calc-convert-units): Fix the way that default
115 new units are stored.
117 2013-03-07 Matthias Meulien <orontee@gmail.com>
119 * bookmark.el: Define a face to highlight bookmark names in
120 bookmark menu buffers, where the default is a bold face similarly
121 to buffer names in buffer menu buffers.
122 (bookmark-menu-bookmark): New face to highlight bookmark names.
123 (bookmark-insert-location): Remove duplicated text property to
124 conform to buffer list (see `list-buffers').
125 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
126 `bookmark-menu-bookmark' to bookmark names.
128 2013-03-07 Matthias Meulien <orontee@gmail.com>
129 Karl Fogel <kfogel@red-bean.com>
131 * bookmark.el: Display the bookmark list header similarly to the
132 buffer list header (see `list-buffers'), where the default is now
133 an immovable/immutable header line.
134 (bookmark-bmenu-use-header-line): New variable.
135 (bookmark-bmenu-inline-header-height): New name for
136 `bookmark-bmenu-header-height', to avoid confusion with the code
137 for the new immovable header. All references changed.
138 (bookmark-bmenu-set-header): New function.
139 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
140 Conditionalize header construction accordingly.
141 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
142 the inline header height.
143 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
144 Conditionalize the skipping of the inline header height.
146 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
148 * progmodes/js.el (js--multi-line-declaration-indentation):
149 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
151 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
153 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
154 Only propertize regexp when not inside a string (Bug#13885).
156 2013-03-06 Alan Mackenzie <acm@muc.de>
158 Correct the position of point in some line-up functions.
159 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
160 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
161 point at column 0 rather than at a random place in the line.
163 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
165 * net/tramp-compat.el (tramp-compat-delete-directory):
166 Implement TRASH argument.
168 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
170 Keep pre-existing highlighting in completion candidates (Bug#13250).
171 * minibuffer.el (completions-first-difference): State that the
172 face is "added" in the docstring.
173 (completions-common-part): Same. And don't inherit from default.
174 (completion-hilit-commonality): Prepend 'completions-common-part
175 and 'completion-first-difference faces to the 'face property,
176 instead of replacing the value(s).
177 (completion--insert-strings): Same with 'completions-annotations face.
178 (completion-hilit-commonality): Use 'face instead of
179 'font-lock-face, because it gets priority if the completion
180 strings already have 'face set.
182 2013-03-04 Alan Mackenzie <acm@muc.de>
184 Replace `last-command-event' by `last-command-char' in XEmacs.
185 * progmodes/cc-defs.el (c-last-command-char): New macro.
186 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
187 (c-semi&comma-no-newlines-before-nonblanks)
188 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
189 in place of `last-command-event'.
190 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
191 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
192 (c-electric-paren, c-electric-continued-statement): Use the new
193 macro in place of `last-command-event'.
195 2013-03-04 Glenn Morris <rgm@gnu.org>
197 * files.el (inhibit-local-variables-regexps):
198 Add .diff and .patch. (Bug#13862)
200 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
202 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
203 whether the "su" command is available on the device.
205 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
207 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
208 (tramp-adb-handle-process-file): Remove superfluous setting.
209 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
210 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
211 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
213 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
215 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
216 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
217 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
218 Use dict-key rather than dict-name for the error message.
220 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
222 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
223 when reverting (bug#13831).
225 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
227 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
228 Always expand affix-file before storing to protect against changed
230 (ispell-print-if-debug): Make sure message is printed at the end
233 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
235 * net/tramp.el (tramp-obsolete-methods): New defconst.
236 (tramp-warned-obsolete-methods): New defvar.
237 (tramp-find-method): Check for obsolete methods. Map them to a
238 replacement method if appropriate.
240 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
242 (top): Remove completion functions for "scp1", "scp2", "ssh1",
245 2013-02-28 Dale Sedivec <dale@codefu.org>
247 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
248 Return valid syntax-table property value when converting
249 quotes within text from string syntax to punctuation syntax (bug#13844).
251 2013-02-28 Juri Linkov <juri@jurta.org>
253 * dired-aux.el (dired-diff): If file at point is a backup file,
254 use its original as the default value, and reverse the order
255 of arguments to the `diff' call. Doc fix. (Bug#13772)
257 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
259 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
260 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
262 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
264 Initial support for hunspell dictionaries auto-detection (Bug#13639)
266 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
267 Ask hunspell about available and default dictionaries.
268 (ispell-parse-hunspell-affix-file): Extract relevant info from
270 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
271 `ispell-dictionary-alist' entry for given dictionary after info
272 provided by `ispell-parse-hunspell-affix-file'.
273 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
274 of parsed hunspell dicts and associated affix files.
275 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
276 of parsed hunspell dicts and associated parameters.
277 (ispell-set-spellchecker-params):
278 Call `ispell-find-hunspell-dictionaries' if hunspell and not
280 (ispell-start-process):
281 Call `ispell-hunspell-fill-dictionary-entry' for current
282 dictionary if it is not initialized.
284 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
286 * imenu.el: Comment nitpicks.
288 2013-02-28 Sam Steingold <sds@gnu.org>
290 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
291 See <http://stackoverflow.com/questions/14720205>.
293 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
295 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
296 (net-utils-mode): Use it.
297 (net-utils--revert-cmd): New var.
298 (net-utils-run-simple): Set it, and remove bogus interactive spec.
299 (traceroute): Use net-utils-run-simple.
301 2013-02-28 Glenn Morris <rgm@gnu.org>
303 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
305 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
307 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
308 (doc-view-fallback-mode): Remove overlays here.
309 (doc-view-toggle-display): Instead of here. Don't throw away
310 image-mode-winprops-alist.
311 (doc-view-goto-page): Don't mess with hscroll.
313 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
315 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
316 &optional (bug#13819).
318 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-adb.el (tramp-adb-parse-device-names)
321 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
323 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
325 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
326 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
327 defined. POSIX environments fall back to the "C" locale then and
328 emit a warning, which shall be suppressed.
330 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
332 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
333 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
335 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
337 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
339 2013-02-25 Juri Linkov <juri@jurta.org>
341 * replace.el (read-regexp): Let-bind `default' to the first
342 element of `defaults' if it's a list, otherwise it should be
343 a string or nil. Let-bind `suggestions' to `defaults' if it's
344 a list, otherwise make a list with the string value. Doc fix.
347 2013-02-25 Eli Zaretskii <eliz@gnu.org>
349 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
350 that match "\`\.#", to avoid compiling lock files, even if they
351 are readable (as they are on MS-Windows).
353 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
355 * files.el (basic-save-buffer): Remove redundant directory-creation.
357 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
359 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
360 Add option to force `pi' to remain symbolic.
361 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
362 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
363 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
364 derivatives, when necessary.
366 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
368 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
369 (ps-mode-octal-region): Use string-make-unibyte.
371 2013-02-23 Glenn Morris <rgm@gnu.org>
373 * emulation/viper-cmd.el (viper-submit-report):
374 * progmodes/ps-mode.el (ps-mode-maintainer-address):
375 * progmodes/vera-mode.el (vera-mode-help-address):
376 * textmodes/artist.el (artist-maintainer-address):
377 * textmodes/reftex.el (reftex-report-bug):
378 * vc/ediff-util.el (ediff-submit-report):
379 Add bug-gnu-emacs to bug report address.
381 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
382 Remove bug report entries.
383 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
385 * emacs-lisp/bytecomp.el (byte-compile-level): New.
386 (byte-compile-file, byte-compile-from-buffer):
387 Use separate input/output buffers for each level of recursive
388 byte-compile-file calls. (Bug#13787)
390 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
392 * net/tramp.el (tramp-methods): Fix docstring.
393 (tramp-ssh-controlmaster-options): Rename it from
394 `tramp-ssh-controlmaster-template'. Return a string.
395 (tramp-default-method): Adapt check for
396 `tramp-ssh-controlmaster-options'.
398 * net/tramp-sh.el (tramp-methods):
399 Replace `tramp-ssh-controlmaster-template' by "%c".
400 (tramp-do-copy-or-rename-file-out-of-band)
401 (tramp-maybe-open-connection): Use it in format spec. Ensure,
402 that it is applied for the first hop only.
404 2013-02-22 Juri Linkov <juri@jurta.org>
406 * isearch.el (isearch-lazy-highlight-new-loop):
407 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
408 to `isearch-other-end' if it is not nil. (Bug#13402)
410 * replace.el (replace-highlight): Let-bind `isearch-other-end'
413 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
414 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
415 and `isearch-error' to nil.
417 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
419 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
421 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
422 Handle multibyte file names.
424 2013-02-22 Glenn Morris <rgm@gnu.org>
426 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
427 (sgml-transformation-function): Give it a :set function.
430 * cmuscheme.el (scheme-buffer):
431 * progmodes/inf-lisp.el (inferior-lisp-buffer):
432 * progmodes/tcl.el (inferior-tcl-buffer):
433 * textmodes/tex-mode.el (tex-command): Doc fixes.
435 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
437 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
439 2013-02-21 Bastien Guerry <bzg@gnu.org>
441 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
443 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
445 * progmodes/python.el (python-info-current-defun):
446 Enhance match-data cluttering prevention.
448 2013-02-21 Glenn Morris <rgm@gnu.org>
450 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
451 loaded while outline-regexp is let bound. (Bug#9584)
453 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
455 * progmodes/python.el (python-info-current-defun): Fix failed
456 defun name retrieval because of unwanted match-data cluttering.
458 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
460 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
461 defconst. Apply independent check for ControlPersist.
463 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
464 temporarily, via "env".
466 2013-02-21 Glenn Morris <rgm@gnu.org>
468 * info.el (Info-enable-edit): Remove.
469 (Info-edit): Disable it rather than using Info-enable.
470 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
471 (Info-cease-edit): Make editing of Info files obsolete.
473 * informat.el (Info-tagify):
474 Handle buffers not visiting files. (Bug#13763)
476 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
478 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
480 2013-02-21 Glenn Morris <rgm@gnu.org>
482 * files.el (basic-save-buffer): Move check for existing parent
483 directory after hooks. (Bug#13773)
485 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
487 * simple.el (command-execute): Move from C. Add obsolete check.
488 (extended-command-history): Move from C.
490 2013-02-20 Ulrich Müller <ulm@gentoo.org>
492 * jka-cmpr-hook.el (jka-compr-compression-info-list)
493 (jka-compr-mode-alist-additions): Handle .txz suffix for
494 XZ-compressed tar archives (bug#13770).
496 2013-02-20 Bastien Guerry <bzg@gnu.org>
498 * outline.el (outline-regexp, outline-heading-end-regexp):
499 Make variables, not options (bug#13731).
501 2013-02-20 Glenn Morris <rgm@gnu.org>
503 * image.el (image-current-frame): Change from variable to function.
504 (image-show-frame): Rename from image-nth-frame. Update callers.
505 * image-mode.el (image-multi-frame): New variable.
506 (image-mode-map, image-mode, image-goto-frame):
507 Use image-multi-frame rather than image-current-frame.
508 (image-mode, image-goto-frame): Use image-current-frame as
509 function rather than as variable.
511 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
512 * emacs-lisp/cl-macs.el (cl--make-type-test)
513 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
515 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
517 * net/tramp-cache.el (tramp-get-hash-table): New defun.
518 (tramp-get-file-property, tramp-set-file-property)
519 (tramp-get-connection-property, tramp-set-connection-property): Use it.
520 (tramp-flush-file-property, tramp-flush-directory-property):
521 Rename argument to KEY.
522 (tramp-flush-connection-property): Simplify a little bit.
523 (tramp-connection-property-p): New defun.
524 (top): Reapply saved values only if there isn't a corresponding
525 entry in `tramp-connection-properties'.
527 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
529 * progmodes/python.el (python-indent-context):
530 Fix python-info-line-ends-backslash-p call.
531 (python-info-line-ends-backslash-p)
532 (python-info-beginning-of-backslash): Respect line-number argument.
533 (python-info-current-line-comment-p):
534 Fix behavior when not at beginning-of-line.
535 (python-util-position): Remove function.
536 (python-util-goto-line): New function.
538 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
540 * eshell/em-unix.el (eshell/su): Require tramp.
541 (eshell/sudo): Require tramp. Remove now unnecessary check.
543 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
544 `tramp-current-connection' in order to avoid an error when several
545 commands are invoked in a short time in eshell and friends.
547 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
549 Cleanup some of EIEIO's namespace.
550 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
551 Use it to define all the class-* and object-* field accessors (renamed
552 to eieio--class-* and eieio--object-*). Update all uses.
553 (eieio--class-num-slots, eieio--object-num-slots): Rename from
554 class-num-slots and object-num-slots.
555 (eieio--check-type): New macro.
556 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
557 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
558 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
559 (object-assoc-list-safe): Use it.
560 (eieio-defclass): Tighten regexp.
561 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
562 Remove unreachable code.
563 (object-class-fast): Declare obsolete.
564 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
565 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
566 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
567 Rename from class-name, object-name, object-set-name-string,
568 object-class, object-class-name, class-parents, class-children,
569 class-precedence-list, class-parent; with obsolete alias.
570 (class-of, class-direct-superclasses, class-direct-subclasses):
572 (eieio-defmethod): Use `memq'; remove unreachable code.
573 * emacs-lisp/eieio-base.el (eieio-persistent-read):
574 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
575 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
578 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
580 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
581 Use font-lock-keyword-face for macros and special forms (bug#8345).
583 2013-02-17 Didier Verna <didier@didierverna.net>
585 * net/network-stream.el (network-stream-open-starttls):
586 Check that response to the starttls-command is non-nil. (Bug#13706)
588 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
590 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
591 Don't assume all identifier chars have syntax word.
592 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
593 Remove bar-not-symbol. Adjust callers.
594 (lisp-mode-variables): Don't set a font-lock-syntax-table.
596 2013-02-17 Leo Liu <sdl.web@gmail.com>
598 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
600 2013-02-17 Glenn Morris <rgm@gnu.org>
602 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
604 * image-mode.el (image-mode-map): Add image-dired menu entry.
606 * image-dired.el (tumme): Make this alias obsolete.
608 2013-02-16 Glenn Morris <rgm@gnu.org>
610 * image.el (image-animated-types): Remove.
611 (image-multi-frame-p): Rename from image-animated-p, and generalize.
612 (image-animated-p): Make obsolete alias.
613 (image-animate, image-nth-frame, image-animate-timeout):
614 Use image-multi-frame-p.
615 (image-animate-timeout): If no delay, use image-default-frame-delay.
616 * image-mode.el (image-mode, image-toggle-animation):
617 Use image-multi-frame-p. (Bug#763, bug#10739)
618 (image-mode): Adjust startup message for a multi-frame image.
620 * image-mode.el (image-mode-map): Give it a menu.
622 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
624 * net/tramp-cache.el (tramp-connection-properties): New customer
626 (tramp-get-connection-property): Use it.
628 * net/tramp-compat.el (top): Require 'trampver.
630 * net/tramp-sh.el (tramp-remote-process-environment):
631 Set tramp-autoload cookie.
633 2013-02-16 Kevin Ryde <user42@zip.com.au>
635 * info-look.el (info-lookup-select-mode): If major-mode has no
636 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
638 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
640 * replace.el (read-regexp): Tighten the regexp that matches tag.
641 When tag is retrieved with `find-tag-default', use regexp that
642 matches tag at point. Also update docstring (Bug#13687).
644 2013-02-16 Eli Zaretskii <eliz@gnu.org>
646 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
647 add watch for the file, not its parent directory, since w32notify
648 sets up the watch for the directory internally. (Bug#13725)
650 2013-02-16 Glenn Morris <rgm@gnu.org>
652 * image.el (image-default-frame-delay): New variable.
653 (image-animated-p): Use image-default-frame-delay.
654 (image-minimum-frame-delay): New constant.
655 (image-animate-timeout): Use image-minimum-frame-delay.
657 * image.el (image-nth-frame): New, split from image-animate-timeout.
658 (image-animate-timeout): Use image-nth-frame.
659 * image-mode.el (image-goto-frame, image-next-frame)
660 (image-previous-frame): New commands.
661 (image-mode-map): Add new frame commands.
663 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
665 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
666 If col-desc already has help-echo, use it. (Bug#13563)
668 2013-02-16 Glenn Morris <rgm@gnu.org>
670 * image.el (image-current-frame): New variable.
671 (image-animate-timeout): Set image-current-frame.
672 * image-mode.el (image-mode): For animated images,
673 display a frame counter via mode-line-process.
675 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
677 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
679 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
681 2013-02-15 Alan Mackenzie <acm@muc.de>
683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
684 global minor mode has been enabled, call the minor mode function
685 for a new buffer once only, after the major mode hook, whilst
686 allowing that hook explicitly to disable the minor mode.
687 (MODE-disable-in-buffer): New (generated) function.
688 (disable-MODE): New (generated) buffer local variable.
690 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
692 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
693 `iswitchb-next-match' and `iswitchb-prev-match' resply.
694 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
695 `ido-next-match' and `ido-prev-match' resply.
696 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
697 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
698 `icomplete-backward-completions' (Bug#13708).
700 2013-02-15 Glenn Morris <rgm@gnu.org>
702 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
704 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
706 * net/goto-addr.el (goto-address-fontify): Add start and end args.
707 (goto-address-fontify-region): Use them instead of narrowing, so
708 syntax-ppss has access to the whole buffer.
710 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
712 * progmodes/python.el: Explain how to restore "cc-mode"-like
713 forward-sexp movement in header documentation (Bug#13642).
714 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
715 comments and strings (GH bug 114).
717 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
719 * progmodes/python.el (python-info-current-defun): Fix current
720 defun detection (Bug#13618).
722 2013-02-15 Chong Yidong <cyd@gnu.org>
724 * xml.el (xml-parse-string): Fix typo in handling of bad character
727 2013-02-15 Glenn Morris <rgm@gnu.org>
729 * play/fortune.el (fortune-compile): Simplify and fix previous change.
731 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
733 * net/tramp.el (tramp-debug-message):
734 Add `tramp-condition-case-unless-debug'.
735 (tramp-debug-on-error): New defvar.
736 (tramp-condition-case-unless-debug): New defun.
737 (tramp-file-name-handler): Use it.
739 2013-02-14 Juri Linkov <juri@jurta.org>
741 * info.el (Info-isearch-filter): Treat non-nil values of
742 `search-invisible' including its default value `open'
743 like the value `t' to match hidden text. (Bug#13402)
745 2013-02-14 Glenn Morris <rgm@gnu.org>
747 * help-fns.el (find-lisp-object-file-name): Give special treatment
748 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
750 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
752 * net/quickurl.el (quickurl-save-urls):
753 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
755 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
757 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
758 depth for unfinished percent literal. Not using it in the caller.
759 (ruby-move-to-block): Jump over multiline literals of all types,
760 ignoring code-looking contents inside them.
761 (ruby-add-log-current-method): Improve performance at the expense
762 of accuracy. `ruby-block-contains-point' is relatively slow, so
763 only use it for method and singleton class blocks.
765 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
767 Use ControlMaster where applicable. (Bug#13677)
769 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
770 replacing `tramp-detect-ssh-controlmaster'.
771 (tramp-default-method): Use it.
773 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
774 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
776 [scpc, rsyncc]: Remove methods.
777 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
779 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
780 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
782 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
784 * emacs-lisp/package.el (package--initialized): Move before first use.
786 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
788 * icomplete.el (icomplete-hide-common-prefix): New user option.
789 (icomplete-first-match): New face.
790 (icomplete-completions): Correct handling of "complete but not
793 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
795 * descr-text.el (describe-char): Display the script (bug#13698).
797 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
799 * tmm.el: Use lexical-binding and current-active-maps.
800 (tmm-menubar): Use map-keymap and pcase.
801 (tmm--completion-table): New function.
802 (tmm-prompt): Use it to fix the menu order.
803 (tmm-get-keybind): Use current-active-maps.
805 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
807 Add dired-hide-details-mode. (Bug#6799)
809 * locate.el (locate-mode): Set parent mode property to dired-mode.
811 * find-dired.el (find-dired): Call dired-insert-set-properties on
812 initial information line. Set process mark on end of buffer.
813 (find-dired-sentinel):
814 Call dired-insert-set-properties on summary.
816 * dired.el (dired-hide-details-hide-symlink-targets)
817 (dired-hide-details-hide-information-lines): New options.
818 (dired-insert-directory):
819 Set properties after final treatment of output.
820 (dired-insert-set-properties):
821 Set dired-hide-details-* properties.
822 (dired-mode-map): Bind dired-hide-details-mode.
823 (dired-mode): Set buffer-invisibility-spec to a list.
824 (dired-next-line): Skip hidden lines.
825 (dired-previous-line): Use dired-next-line.
826 (dired-hide-details-mode): New minor mode.
827 (dired-hide-details-update-invisibility-spec): New function.
829 2013-02-13 Glenn Morris <rgm@gnu.org>
831 * play/yow.el: Move to obsolete/. (Bug#9384)
833 2013-02-13 Juri Linkov <juri@jurta.org>
835 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
836 to select `ediff-control-frame' and set input focus correctly on Xfce.
839 2013-02-13 Juri Linkov <juri@jurta.org>
841 * image-mode.el (image-mode-map):
842 * doc-view.el (doc-view-mode-map):
843 * vc/ediff-util.el (ediff-setup-keymap):
844 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
846 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
848 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
849 performance. Instead of recalculating indentation fully for each
850 line, sum up indentation depth based only on visited lines.
851 (ruby-parse-partial): Increase the depth after "do" even when END
853 (ruby-parse-partial): When END is in the middle of a percent
854 literal, increase the depth if the delimiter chars belong to the
857 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
859 * play/fortune.el (fortune-compile): Also make the compiled file
860 if it does not exist at all, not just if it is old. (Bug#5338)
862 2013-02-13 Glenn Morris <rgm@gnu.org>
864 * emacs-lisp/package.el (package-menu-execute): Doc fix.
866 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
868 * lisp/emacs-lisp/package.el (package-menu-execute):
869 Add optional noquery argument. (Bug#13625)
871 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
873 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
874 if DIR exists and PARENTS is non-nil.
876 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
878 * progmodes/js.el (js--multi-line-declaration-indentation):
879 Silence byte-compiler warning.
881 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
885 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
886 only if it doesn't exist.
888 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
891 2013-02-12 Tassilo Horn <tsdh@gnu.org>
893 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
894 UserInstallation when calling soffice to work around LibreOffice
897 2013-02-12 Glenn Morris <rgm@gnu.org>
899 * files.el (basic-save-buffer):
900 Offer to create a non-existing directory. (Bug#3016)
902 * calc/calc-graph.el (calc-graph-show-dumb):
903 * calendar/calendar.el (calendar-mode-map):
904 * cus-edit.el (custom-mode-map):
905 * ehelp.el (electric-help-map):
906 * emulation/vip.el (vip-mode-map):
907 * epa.el (epa-key-list-mode-map):
908 * info.el (Info-mode-map):
909 * mail/rmail.el (rmail-mode-map):
910 * mail/rmailsum.el (rmail-summary-mode-map):
911 * man.el (Man-mode-map):
912 * net/newst-plainview.el (newsticker-mode-map):
913 * progmodes/cpp.el (cpp-edit-mode-map):
914 * progmodes/grep.el (grep-mode-map):
915 * progmodes/idlw-help.el (idlwave-help-mode-map):
916 * simple.el (special-mode-map):
917 * startup.el (splash-screen-keymap):
918 * view.el (view-mode-map):
919 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
921 2013-02-11 Elias Pipping <pipping@lavabit.com>
923 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
926 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
928 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
930 2013-02-11 Glenn Morris <rgm@gnu.org>
932 * vc/diff.el (diff-use-labels): New variable.
933 (diff-no-select): Use --label rather than -L, and first
934 check that it is supported. (Bug#11067)
936 * files.el (enable-dir-local-variables): New variable.
937 (hack-dir-local-variables): Respect enable-dir-local-variables.
938 * tutorial.el (help-with-tutorial):
939 Ignore directory-local variables. (Bug#11127)
941 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
942 (vc-svn-global-switches): ... to here. (Bug#13513)
944 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
946 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
947 Handle "foo (bar, default: xxx): " prompts.
949 2013-02-10 Chong Yidong <cyd@gnu.org>
951 * files.el (basic-save-buffer-1): Do not set
952 buffer-file-coding-system-explicit (Bug#4533).
954 * mail/emacsbug.el (report-emacs-bug): Change binding of
955 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
957 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
959 * calc/calc.el (calc-allow-units-as-numbers): New variable.
960 * calc/calc-units.el (calc-convert-units): Use new variable.
962 2013-02-09 Eli Zaretskii <eliz@gnu.org>
964 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
966 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
969 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
970 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
971 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
972 coding-system-for-write instead.
974 * jka-compr.el (jka-compr-write-region): Don't bind
977 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
980 * files.el (file-name-buffer-file-type-alist): Remove defvar.
981 (insert-file-contents-literally): Remove reference to
982 file-name-buffer-file-type-alist.
984 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
986 (find-buffer-file-type-match, find-buffer-file-type): Remove.
987 (find-buffer-file-type-coding-system): Remove references to
988 find-buffer-file-type-match, find-buffer-file-type, and
990 Don't put find-buffer-file-type-coding-system into
991 file-coding-system-alist.
992 (find-file-binary, find-file-text): Bind coding-system-for-read
993 instead of file-name-buffer-file-type-alist.
995 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
997 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
998 converter (Bug#13622).
999 (doc-view-unoconv-program): Make obsolete alias.
1000 (doc-view-odf->pdf-converter-program): New variable.
1001 (doc-view-odf->pdf-converter-function): New variable.
1002 (doc-view-mode-p): Use it.
1003 (doc-view-odf->pdf-converter-unoconv):
1004 Rename from `doc-view-odf->pdf-converter-unoconv'.
1005 (doc-view-odf->pdf-converter-soffice): New function.
1006 (doc-view-convert-current-doc):
1007 Use `doc-view-odf->pdf-converter-function'.
1009 2013-02-09 Chong Yidong <cyd@gnu.org>
1011 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1012 view-echo-area-messages (Bug#13340).
1014 * help.el (view-echo-area-messages): Use display-buffer.
1016 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1019 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1022 Eval body right away, now that we do eager macroexpansion (bug#13605).
1024 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1025 (fundamental-mode): Use run-mode-hooks.
1027 * eshell/esh-proc.el (eshell/kill): Fix last change.
1028 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1030 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1032 * eshell/esh-proc.el (eshell/kill): Rewrite.
1034 * eshell/em-ls.el (show-almost-all): Declare.
1035 (eshell-do-ls): Add support for -A argument.
1037 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1039 * icomplete.el (icomplete-forward-completions)
1040 (icomplete-backward-completions): Handle corner case (bug#13602).
1042 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1044 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1045 be nil. Handle this. (Bug#13636)
1047 2013-02-07 Richard Stallman <rms@gnu.org>
1049 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1050 `save-buffer-coding-system'.
1052 2013-02-07 Alan Mackenzie <acm@muc.de>
1054 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1055 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1056 (c-parse-state-get-strategy): Don't return 'BOD any more.
1057 (c-append-lower-brace-pair-to-state-cache):
1058 Extra parameter HERE instead of narrowing.
1059 Widen to top of buffer before searching backwards for a brace pair.
1060 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1061 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1062 Narrow to parameter HERE, in place of being called narrowed.
1063 (c-remove-stale-state-cache): Extra parameter HERE in place of
1064 narrowing. Check there's an open brace in the cache before
1065 searching for its match.
1066 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1067 (c-parse-state-1): Don't narrow here for 'forward strategy,
1068 instead passing extra parameter HERE to several functions.
1069 Remove 'BOD strategy.
1071 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1073 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1074 used to install the package.
1076 2013-02-06 Glenn Morris <rgm@gnu.org>
1078 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1079 if we can't get user input. (Bug#6567)
1081 * startup.el (command-line): If simple.el is missing,
1082 test and warn about for some possible causes.
1084 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1086 * cus-start.el (all): Add ns-use-native-fullscreen.
1088 2013-02-05 Glenn Morris <rgm@gnu.org>
1090 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1092 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1093 Fix directory creation in fallback case.
1095 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1097 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1098 (vc-update-change-log): Use dolist.
1100 2013-02-04 Chong Yidong <cyd@gnu.org>
1102 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1104 (thing-at-point-beginning-of-url-regexp): New var.
1105 (thing-at-point-uri-schemes): Update list of URI schemes.
1106 (thing-at-point-url-regexp): Variable deleted.
1107 (thing-at-point-markedup-url-regexp): Disallow newlines.
1108 (thing-at-point-newsgroup-regexp)
1109 (thing-at-point-newsgroup-heads)
1110 (thing-at-point-default-mail-uri-scheme): New variables.
1111 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1112 method to find the possible bounds of the URI at point.
1113 New optional argument to find ill-formed URIs.
1114 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1115 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1116 the scheme-adding heuristics from ffap-url-at-point.
1117 (thing-at-point--bounds-of-well-formed-url): New function.
1118 Do parens matching to decide whether to include parens in the URI
1121 * ffap.el: Require thingatpt.
1122 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1123 All URI-valid characters are now recognized (Bug#5673).
1124 (ffap-string-at-point): Use use-region-p.
1125 (ffap-url-regexp): Extra character is handled by thing-at-point.
1126 (ffap-string-at-point-mode-alist): Allow parentheses.
1127 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1128 Convert to aliases; code moved to thingatpt.el.
1129 (ffap-gnus-hook): Use setq-local.
1131 2013-02-04 Glenn Morris <rgm@gnu.org>
1133 * emacs-lisp/ert.el (ert--explain-format-atom):
1134 Don't try to print non-characters as characters. (Bug#13543)
1136 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1138 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1139 (tramp-backtrace): New defun.
1140 (tramp-handle-insert-file-contents): Use `visit' when inserting
1143 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1144 Use `remote-file-name-inhibit-cache'.
1146 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1148 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1151 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1152 current-load-list (bug#13366).
1154 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1156 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1157 Identify g++ template instantiation trace. (Bug#12287)
1158 (compilation-mode-hook, compilation-start-hook)
1159 (compilation-window-height): Simplify docstrings. (Bug#13379)
1161 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * mouse.el (mouse-drag-track): Always deactivate the mark before
1164 running the final event's command since that command is in charge of
1165 activating the mark if needed (bug#13523).
1167 2013-02-02 Juri Linkov <juri@jurta.org>
1169 * replace.el (perform-replace): Move let-bindings of isearch-*
1170 variables deeper to the loop that searches for the next match.
1171 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1172 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1175 * isearch.el (isearch-search-fun-default): Check for null
1176 first element of isearch-cmds as a precaution when it's used
1177 with inactive isearch.
1179 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1181 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1182 error when buffer in question is narrowed so position 1 is out of
1185 2013-02-02 Glenn Morris <rgm@gnu.org>
1187 * textmodes/remember.el (remember-clipboard): Doc fix.
1189 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1192 properties (bug#13179).
1194 2013-02-02 Juri Linkov <juri@jurta.org>
1196 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1197 instead of hard-coded default face `match'. (Bug#9438)
1199 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1201 * vc/vc-arch.el (vc-arch-registered):
1202 * vc/vc-bzr.el (vc-bzr-registered):
1203 * vc/vc-cvs.el (vc-cvs-registered):
1204 * vc/vc-git.el (vc-git-registered):
1205 * vc/vc-hg.el (vc-hg-registered):
1206 * vc/vc-mtn.el (vc-mtn-registered):
1207 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1210 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1211 prefix argument. (Bug#11656)
1213 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1217 2013-02-01 Glenn Morris <rgm@gnu.org>
1219 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1220 if the backend is known not to support it.
1222 * imenu.el (imenu-default-create-index-function):
1223 Tweak infinite loop test to check for forward motion as well as none.
1225 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1227 * net/soap-client.el (soap-invoke): Encode the string for
1228 `url-request-data' as UTF-8.
1229 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1231 2013-02-01 Glenn Morris <rgm@gnu.org>
1233 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1235 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1237 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1239 * net/tramp.el (tramp-tramp-file-p): Comment check for
1240 `string-as-unibyte'. The function does not exist on XEmacs, and
1241 likely we need another approach.
1243 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1244 `tramp-gw-*' variables are bound.
1246 2013-01-31 Glenn Morris <rgm@gnu.org>
1248 * files.el (basic-save-buffer-2): Choose coding system for
1249 writing the file before backing it up, to reduce delay between
1250 backing up and writing the new version. (Bug#13522)
1252 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1254 * simple.el (cycle-spacing): New command.
1255 (just-one-space): Use it.
1257 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1260 (opascal-newline-always-indents): Remove custom.
1261 (opascal-tab, opascal-newline): Remove commands.
1262 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1263 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1264 (opascal-save-match-data): Remove, use save-match-data instead.
1265 (opascal-save-state): Use with-silent-modifications.
1267 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1270 2013-01-30 Juri Linkov <juri@jurta.org>
1272 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1273 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1274 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1276 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1279 column if we're just deleting the backslashes.
1280 (makefile-fill-paragraph): Use eolp.
1282 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1284 * autorevert.el (auto-revert-use-notify): Fix docstring.
1286 2013-01-30 Leo Liu <sdl.web@gmail.com>
1288 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1290 2013-01-30 Glenn Morris <rgm@gnu.org>
1292 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1293 unread-command-events twice in some cases. This tries to implement
1294 the 2012-07-26 changes in a different way. (Bug#13560)
1296 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1298 * progmodes/python.el
1299 (python-pdbtrack-comint-output-filter-function): Enhancements on
1300 stacktrace detection. (thanks @gnovak)
1302 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1304 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1305 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1307 (jit-lock-register): Use setq-local.
1309 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1311 * calc-units.el (math-default-units-table): Remove initial value.
1312 (calc-convert-units): Treat expressions where all the units cancel as
1313 if they didn't have units.
1315 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1317 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1318 (tramp-completion-reread-directory-timeout): Fix type.
1319 (tramp-connection-min-time-diff): New defcustom.
1321 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1323 2013-01-30 Glenn Morris <rgm@gnu.org>
1325 * imenu.el (imenu-default-create-index-function):
1326 Put back a version of the infinite loop test removed 2013-01-23.
1328 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1330 * progmodes/python.el (python-shell-parse-command):
1331 Find python-shell-interpreter with modified environment.
1333 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1337 2013-01-29 Alan Mackenzie <acm@muc.de>
1339 Amend to fontify /regexp/s in actions correctly.
1340 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1341 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1342 are no longer included.
1343 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1344 What used to be these variables without "-line" in the name.
1345 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1346 (c-awk-non-arith-op-bra-re): Now also matches {.
1347 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1348 "return", and "case".
1349 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1351 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1352 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1354 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1356 * autorevert.el (auto-revert-use-notify):
1357 Use `custom-initialize-default' for initialization. (Bug#13583)
1359 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1361 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1362 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1363 in `tramp-file-name-handler'.
1364 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1366 (tramp-compute-multi-hops): Check, whether
1367 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1369 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1374 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1376 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1377 checks made superfluous by the \_< operator.
1378 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1379 temporarily) broken indentation.
1380 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1381 Highlight nested constants, too. \_< broke that.
1383 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1388 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1390 * autorevert.el (auto-revert-handler): Notifications which result
1391 from a saved file shall not be taken into account. (Bug#13557)
1393 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1395 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1396 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1397 (lisp-mode): Pass t for it. (Bug#13556)
1399 2013-01-25 Alan Mackenzie <acm@muc.de>
1401 AWK Mode: Fix indentation bug at top level. Bug #12274.
1403 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1404 just before CASE 5D.
1406 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1408 * net/socks.el (socks-nslookup-host): Use string-to-number.
1410 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1412 * autorevert.el (auto-revert-remote-files)
1413 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1414 (auto-revert-notify-enabled, auto-revert-use-notify)
1415 (auto-revert-notify-watch-descriptor-hash-list)
1416 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1417 (auto-revert-notify-event-descriptor)
1418 (auto-revert-notify-event-action)
1419 (auto-revert-notify-event-file-name): Doc fix.
1420 (global-auto-revert-mode): Reorder checks.
1421 (auto-revert-notify-rm-watch): Respect changed values of
1422 `auto-revert-notify-watch-descriptor-hash-list'.
1423 (auto-revert-notify-add-watch): Check for
1424 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1425 `inotify-add-watch'. Watch `default-directory' instead of
1426 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1427 has a changed meaning now. (Bug#13540)
1428 (auto-revert-notify-handler): Change implementation wrt events
1429 returning from a directory.
1430 (auto-revert-handler): Reorder implementation for checks of remote
1432 (auto-revert-buffers): Fix parentheses error.
1434 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1436 * progmodes/python.el: Enhancements to header documentation about
1437 skeletons. (Bug#5716)
1439 * imenu.el (imenu-default-create-index-function): Remove useless
1440 infinite loop check. (Bug#13438)
1442 2013-01-25 Alan Mackenzie <acm@muc.de>
1444 Fix a bug in the state cache mechanism. Refactor this a bit.
1446 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1447 `cache-pos' element from the return value.
1448 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1449 buffer to enable proper searching from beyond HERE. Amend the
1450 test for detecting the sought brace pair. Amend the value written
1451 to the "brace desert cache" when the brace isn't found.
1452 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1453 and several other variables analogously.
1454 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1455 parameter to a locally calculated variable.
1456 (c-parse-state-1): Change the calling conventions to the two
1457 defuns involving `cache-pos'.
1459 2013-01-25 Chong Yidong <cyd@gnu.org>
1461 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1463 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1465 * paren.el (show-paren-function): Make sure to set 'priority and
1466 'face only if the overlay does exist.
1468 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1470 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1472 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1474 (tramp-sh-handle-set-file-acl): Improve error checking.
1476 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1478 * doc-view.el (doc-view-display): Force mode line update until all
1479 document is converted. Suggested by Stefan Monnier (Bug#13164).
1481 2013-01-23 Bastien Guerry <bzg@gnu.org>
1483 * paren.el (show-paren-function): Make sure an overlay exists
1484 before trying to delete it. Also use `pos' as a position only
1485 when it is an integer.
1487 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1489 * play/gametree.el (gametree-break-line-here): Use point-marker.
1491 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1493 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1494 Mark descriptive parts with `display' property.
1496 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1498 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1499 New variable to map standard dict names to hunspell ones.
1500 (ispell-set-spellchecker-params): Make sure specific dict names
1501 are used for standard dicts with hunspell.
1503 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1505 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1506 chars for note (%N) and url (%U).
1507 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1509 2013-01-21 Juri Linkov <juri@jurta.org>
1511 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1512 in addition to existing separate binding `meta f10' in `global-map'.
1515 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1517 Improve XEmacs compatibility.
1519 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1521 * net/tramp-adb.el (top): Require `time-date'.
1522 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1523 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1524 Use `tramp-file-name-handler'.
1525 (tramp-adb-maybe-open-connection):
1526 Use `tramp-compat-set-process-query-on-exit-flag'.
1528 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1529 Use `tramp-compat-funcall'.
1531 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1532 `tramp-compat-funcall'.
1534 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1536 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1537 reimplementation using "adb shell command ..." instead of running
1538 remote shell interactively.
1540 2013-01-20 Glenn Morris <rgm@gnu.org>
1542 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1543 Add native profiler menu entries.
1545 * profiler.el (profiler-running-p): New function.
1546 (profiler-cpu-profile): Use profiler-running-p.
1547 (profiler-report-mode-map): Add some more menu entries.
1549 2013-01-19 Glenn Morris <rgm@gnu.org>
1551 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1552 fixes 2012-12-07 change. (Bug#13499)
1554 2013-01-19 Leo Liu <sdl.web@gmail.com>
1556 * dired.el (dired-get-marked-files): Prune erroneous values due to
1557 last change. (Bug#13152)
1559 2013-01-19 Glenn Morris <rgm@gnu.org>
1561 * progmodes/etags.el (tags-table-check-computed-list):
1562 Preserve point in tags buffer. (Bug#13412)
1564 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1566 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1567 Chong Yidong <cyd@gnu.org>
1569 * image-mode.el (image-next-file, image-previous-file):
1570 New commands (Bug#8453).
1571 (image-mode-map): Bind them to n and p.
1572 (image-mode--images-in-directory): New helper function.
1574 2013-01-19 Chong Yidong <cyd@gnu.org>
1576 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1577 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1578 save and restore the old window configuration.
1580 2013-01-18 Leo Liu <sdl.web@gmail.com>
1582 * progmodes/js.el: Tweak autoload cookie for alias.
1584 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1586 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1587 buffer local, again. This was lost with the fix on 2013-01-12.
1589 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1591 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1592 order to support several eshell buffers in parallel.
1594 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1596 * autorevert.el (auto-revert-use-notify): In the :set function, do
1597 not modify `kill-buffer-hook'.
1598 (auto-revert-notify-rm-watch):
1599 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1600 (auto-revert-notify-add-watch): Do not call
1601 `auto-revert-notify-rm-watch', but add it to a buffer local
1604 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1607 call to `eval' rather than a backquoted lambda.
1609 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1611 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1612 to return an explicit nil.
1613 (advice--remove-function): Change accordingly.
1615 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1616 the use of nadvice.el.
1618 * progmodes/which-func.el (which-function): Silence imenu errors
1621 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1623 * progmodes/sql.el: (sql-imenu-generic-expression):
1624 (sql-mode-font-lock-object-name): Match schema qualified names.
1625 (sql-connect): Use string keys.
1626 (sql-product-interactive): Wait for interpreter prompt.
1627 (sql-comint-oracle): Set process coding based on NLS_LANG.
1629 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1631 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1632 (sql-interactive-remove-continuation-prompt):
1633 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1635 2013-01-14 Leo Liu <sdl.web@gmail.com>
1637 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1640 2013-01-14 Glenn Morris <rgm@gnu.org>
1642 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1643 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1645 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1647 * progmodes/python.el (python-nav-end-of-statement):
1648 Fix cornercase when handling multiline strings.
1650 2013-01-13 Richard Stallman <rms@gnu.org>
1652 * mail/sendmail.el (mail-position-on-field): Add doc string.
1654 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1655 Get current message boundaries and pass them to
1656 message-forward-make-body-mime. Minor style changes.
1658 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1660 * cus-start.el (all): Avoid warnings about
1661 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1663 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1665 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1667 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1670 (jit-lock--debug-fontifying): New var.
1671 (jit-lock--debug-fontify): New function.
1672 * subr.el (condition-case-unless-debug): Don't prevent catching the
1673 error, just let the debbugger run.
1674 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1675 timer code and don't drop errors silently.
1677 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1679 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1680 `permanent-local' property.
1681 (auto-revert-notify-handler): Use `file-equal-p'.
1683 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1685 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1686 file notification by ACTION. For filtering by file name, compare
1687 only the non-directory part of the file name.
1689 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * autorevert.el: Use cl-lib instead of cl.
1693 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1694 (vc-bzr-checkin): Use it.
1695 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1696 will preserve match-data.
1698 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1700 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1701 (js--declaration-keyword-re): New var.
1702 (js--multi-line-declaration-indentation): New function.
1703 (js--proper-indentation): Use it.
1705 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1707 * calc/calc.el (calc-highlight-selections-with-faces)
1709 * comint.el (comint-history-isearch-message):
1710 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1711 * ffap.el (ffap-string-at-point-region, ffap-next)
1712 (ffap-string-at-point, ffap-string-around)
1713 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1715 * font-lock.el (font-lock-keywords-alist)
1716 (font-lock-removed-keywords-alist):
1717 * help-mode.el (help-xref-symbol-regexp):
1718 * info.el (Info-find-emacs-command-nodes):
1719 * international/mule.el (add-to-coding-system-list):
1720 * isearch.el (isearch-message-function, isearch-fail-pos):
1721 * misearch.el (multi-isearch-next-buffer-function):
1722 * newcomment.el (comment-box):
1723 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1724 (pr-setting-database):
1725 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1726 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1727 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1728 (pike-font-lock-keywords-3):
1729 * progmodes/compile.el (compile):
1730 * progmodes/etags.el (tags-table-files)
1731 (tags-table-files-function, tags-included-tables-function):
1732 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1733 (gdb-restore-windows):
1734 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1735 (ps-n-up-filling-database):
1736 * server.el (server-buffer, server-log):
1737 * simple.el (newline, delete-backward-char, delete-forward-char)
1738 (minibuffer-history-isearch-message, kill-line, track-eol)
1739 (temporary-goal-column):
1740 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1741 (flyspell-default-deplacement-commands):
1742 * textmodes/ispell.el (ispell-accept-output):
1743 * textmodes/sgml-mode.el (html-tag-help):
1744 * vc/compare-w.el (compare-ignore-whitespace)
1745 (compare-ignore-case, compare-windows-dehighlight):
1746 * vc/diff.el (diff):
1747 * whitespace.el (whitespace-point)
1748 (whitespace-font-lock-refontify, whitespace-bob-marker)
1749 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1751 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1753 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1754 (auto-revert-notify-rm-watch): Ignore errors.
1755 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1756 inotify, and '(size last-write-time) for w32notify.
1757 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1758 watch fails - this is a fallback to the file modification check.
1759 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1760 (auto-revert-notify-event-action)
1761 (auto-revert-notify-event-file-name): New defuns.
1762 (auto-revert-notify-handler): Use them. Implement first
1763 plausibility checks.
1764 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1766 2013-01-11 Julien Danjou <julien@danjou.info>
1768 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1769 max are almost equal. Also return the correct value for V which is
1770 already between 0 and 1.
1772 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1774 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1776 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1778 * autorevert.el (auto-revert-notify-rm-watch)
1779 (auto-revert-notify-add-watch): Fix typos in w32notify function
1782 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1784 * autorevert.el (auto-revert-notify-enabled): Move up.
1785 (auto-revert-use-notify): New defcustom.
1786 (auto-revert-mode, global-auto-revert-mode)
1787 (auto-revert-notify-add-watch, auto-revert-handler)
1788 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1789 `auto-revert-notify-enabled'.
1791 2013-01-10 Elias Pipping <pipping@exherbo.org>
1793 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1794 * doc-view.el (doc-view-document->bitmap):
1795 Use doc-view-single-page-converter-function instead of
1796 single-page-converter arg; adjust callers.
1798 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1800 * progmodes/which-func.el (which-function): Understand Semantic's use
1801 of overlays in imenu--index-alist.
1803 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1805 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1806 (Man-man-k-use-anchor): New var.
1807 (Man-parse-man-k): New function.
1808 (Man-completion-table): Use it.
1809 (man): Flush the completion cache between uses.
1811 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1813 * autorevert.el: Add file watch support.
1814 (auto-revert-notify-enabled): New defconst.
1815 (auto-revert-notify-watch-descriptor-hash-list)
1816 (auto-revert-notify-watch-descriptor)
1817 (auto-revert-notify-modified-p): New defvars.
1818 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1819 (auto-revert-notify-handler): New defuns.
1820 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1821 when mode is disabled.
1822 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1823 (auto-revert-buffers): Add file watches for active buffers.
1825 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1827 * cus-start.el (toplevel): Only allow float values for
1828 scroll-up-aggressively and scroll-down-aggressively.
1829 Allow any number for line-spacing.
1831 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1834 (doc-view-pdf->png-converter-function): Use mupdf if available.
1835 (doc-view-djvu->png-converter-function)
1836 (doc-view-ps->png-converter-function): Remove.
1837 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1838 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1839 (doc-view-already-converted-p): Adjust accordingly.
1840 (doc-view-mode-p): Simplify.
1841 (doc-view-enlarge): Use setq-local.
1842 (doc-view-pdf->png-converter-ghostscript)
1843 (doc-view-djvu->png-converter-ddjvu)
1844 (doc-view-pdf->png-converter-mupdf): Rework to call
1845 doc-view-start-process directly.
1846 (doc-view-pdf/ps->png): Simplify accordingly.
1847 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1848 (doc-view-document->bitmap): Rename from doc-view-document->png.
1849 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1850 (doc-view-set-slice-from-bounding-box): Fix completion table.
1851 (doc-view-mode): Use add-hook for after-revert-hook.
1853 2013-01-10 Glenn Morris <rgm@gnu.org>
1855 * emacs-lisp/authors.el (authors-ignored-files)
1856 (authors-valid-file-names, authors-renamed-files-alist):
1857 Add some more entries.
1859 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1861 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1862 `t' pseudo-window entry.
1864 2013-01-10 Alan Mackenzie <acm@muc.de>
1866 Fix bugs in the c-parse-state mechanism. Reuse some markers
1867 instead of continually generating new ones.
1869 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1870 (c-state-old-cpp-end-marker): New variables.
1871 (c-append-lower-brace-pair-to-state-cache): Start a backward
1872 search for "}" definitively outside CPP constructs.
1873 (c-remove-stale-state-cache): Inform the caller of a need to
1874 search back for a brace pair in certain circumstances.
1875 (c-state-maybe-marker): New macro.
1876 (c-parse-state): Reuse markers when appropriate.
1878 2013-01-10 Glenn Morris <rgm@gnu.org>
1880 * simple.el (execute-extended-command): Doc fix.
1881 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1883 2013-01-10 Chong Yidong <cyd@gnu.org>
1885 * faces.el (read-face-name): Doc fix.
1887 2013-01-10 Roland Winkler <winkler@gnu.org>
1889 * emacs-lisp/crm.el: Allow any regexp for separators.
1890 (crm-default-separator): All spaces around the default comma separator.
1891 (crm--completion-command): New macro.
1892 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1893 (crm-complete-and-exit): Handle non-single-char separators.
1895 2013-01-09 Elias Pipping <pipping@lavabit.com>
1897 * doc-view.el: Add support for DjVu (bug#13164).
1898 (doc-view-djvu->png-converter-function): New config var.
1899 (doc-view-single-page-converter-function, doc-view--image-type)
1900 (doc-view--image-file-extension): New vars.
1901 (doc-view-mode): Initialize them.
1902 (doc-view-goto-page): Use them.
1903 (doc-view-mode-p): Add support for ddjvu.
1904 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1905 (doc-view-set-up-single-converter): New funs.
1906 (doc-view-pdf/ps->png): Extend for djvu.
1907 (doc-view-document->png): Rename from doc-view-pdf->png.
1908 (doc-view-convert-current-doc): Handle djvu.
1909 (doc-view-insert-image, doc-view-display)
1910 (doc-view-already-converted-p): Don't hardcode png.
1911 (doc-view-set-doc-type): Recognize djvu docs.
1913 2013-01-09 Elias Pipping <pipping@lavabit.com>
1915 * doc-view.el: Add support for mupdf converter (bug#13164).
1916 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1917 (doc-view-ps->png-converter-function): New config vars.
1918 (doc-view-pdf->png-converter-ghostscript)
1919 (doc-view-ps->png-converter-ghostscript)
1920 (doc-view-pdf->png-converter-mupdf): New functions.
1921 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1923 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1925 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1926 first in session cache: When `tramp-own-remote-path' is in
1927 `tramp-remote-path', the remote path is only set in the session
1930 2013-01-09 Glenn Morris <rgm@gnu.org>
1932 * emacs-lisp/trace.el (trace-function-foreground)
1933 (trace-function-background): Doc fix.
1935 2013-01-09 Juri Linkov <juri@jurta.org>
1937 * international/mule-cmds.el (read-char-by-name): Move let-binding
1938 of completion-ignore-case around completing-read to fix regression
1939 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1940 `string-match-p' using the nil value of `case-fold-search' and
1941 `completion-ignore-case' in `completion-pcm--all-completions'.
1944 2013-01-09 Glenn Morris <rgm@gnu.org>
1946 * progmodes/compile.el (compilation-parse-errors):
1947 Fix typo. (Bug#13369)
1949 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1951 * comint.el (comint-send-input): Check size of buffer before
1952 waiting for process output, in case already accepted. (Bug#13290)
1954 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1957 * net/tramp-adb.el (tramp-adb-get-toolbox):
1958 Fix misspelling of 'unknown'.
1960 2013-01-08 Juri Linkov <juri@jurta.org>
1962 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1963 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1964 Use underline style wave on terminals that support it. (Bug#13000)
1966 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1969 the predicate returns nil.
1971 * simple.el: Use lexical-binding.
1972 (primitive-undo): Use pcase.
1973 (minibuffer-history-isearch-push-state): Use a closure.
1975 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1977 * simple.el (primitive-undo): Move from undo.c.
1979 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1982 (cvs-mode-remove-handled): Use it (bug#13380).
1984 * emacs-lisp/nadvice.el (advice--tweak): New function.
1985 (advice--remove-function, advice--subst-main): Use it.
1987 * emacs-lisp/advice.el: Update commentary.
1989 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1991 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1992 Remove spurious entry.
1994 2013-01-08 Glenn Morris <rgm@gnu.org>
1996 * net/tramp.el (tramp-default-host-alist): Add :version.
1998 2013-01-08 Juri Linkov <juri@jurta.org>
2000 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2001 single completion. (Bug#12456)
2002 (info--manual-names): Expand node completions into an explicit list
2003 before appending it to another list. Filter out internal buffers
2004 with the leading space in the buffer name. (Bug#10771)
2006 2013-01-08 Juri Linkov <juri@jurta.org>
2008 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2009 that defaults to the Top node.
2010 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2011 the short format (FILENAME) goes to the Top node.
2012 (Info-build-node-completions): Rename arg `file' to `filename'.
2015 2013-01-07 Bastien Guerry <bzg@gnu.org>
2017 * menu-bar.el (menu-bar-search-documentation-menu):
2018 Use `apropos-user-option' and fix the help message.
2020 2013-01-07 Bastien Guerry <bzg@gnu.org>
2022 * apropos.el (apropos-do-all): Update docstring.
2023 (apropos-user-option-button): New face.
2024 (apropos-user-option): Rename from `apropos-variable' and update
2026 (apropos-variable): Rewrite, now show all variables by default.
2027 (apropos-print): Mention "User option" instead of "Variable" when
2028 printing doc for user options. (Bug#13276)
2030 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2032 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2033 Handle filename correctly, when parsing "source -> target" symlink
2035 (tramp-adb-handle-set-file-times): New defun.
2037 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2039 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2040 advice list when the interactive-spec of ad-Advice-* changes.
2042 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2044 * wid-edit.el (widget-default-get): Work for inlined elements.
2047 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2049 * net/tramp.el (tramp-default-host-alist): New defcustom.
2050 (tramp-find-host): Use it.
2051 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2052 `eshell-directory-change-hook'.
2054 * net/tramp-adb.el (top): Add adb specific entry in
2055 `tramp-default-host-alist'.
2056 (tramp-adb-file-name-host): Remove function.
2057 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2058 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2060 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2062 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2064 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2066 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2068 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2069 consist of more than one digit.
2070 (tramp-adb-file-name-handler-alist):
2071 Use `tramp-handle-file-exists-p' consistently.
2072 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2073 (tramp-adb-handle-file-exists-p): Remove function.
2074 (tramp-adb-file-name-host): New defun.
2075 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2077 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2079 2013-01-06 Chong Yidong <cyd@gnu.org>
2081 * vc/vc.el (vc-next-action): Detect buffer modifications
2082 conflicting with locking VCS operation (Bug#11490).
2084 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2086 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2088 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2089 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2091 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2093 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2094 parsing of ls output using regular expression (handle filenames
2095 with spaces). Use virtual device number.
2096 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2099 2013-01-04 Daiki Ueno <ueno@gnu.org>
2101 * epg.el: Silence byte-compiler warnings.
2102 (epg--start): Use delete-char instead of delete-backward-char.
2103 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2105 2013-01-04 Daiki Ueno <ueno@gnu.org>
2107 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2108 Suggested by Eli Zaretskii <eliz@gnu.org>.
2110 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2112 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2113 non-negative integers. Otherwise, the default values are used.
2114 (tramp-convert-file-attributes): Convert uid and gid to integers.
2116 2013-01-04 Glenn Morris <rgm@gnu.org>
2118 * term.el (term-handle-colors-array): Ensure face attributes
2119 are fully specified, not nil. (Bug#13337)
2121 * term.el (term-default-fg-color, term-default-bg-color):
2124 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2125 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2126 rather than 'jka-compr being loaded. (Bug#13338)
2128 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2130 * icomplete.el (icomplete-completions):
2131 Honor icomplete-prospects-height once more following
2132 2012-11-29 changes. (Bug#13224)
2134 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2136 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2137 of called-interactively-p as well (bug#13237).
2139 * view.el (view--enable, view--disable): Rename from view-mode-enable
2140 and view-mode-disable and assume it's called from view-mode.
2141 (view-mode-enable, view-mode-disable): Redefine as obsolete
2142 compatibility layer above view-mode.
2143 (view-mode-enter): Call `view-mode'.
2145 * files.el (after-find-file): Call `view-mode'.
2147 * doc-view.el (doc-view-scale-internally): New var.
2148 (doc-view-enlarge, doc-view-insert-image): Obey it.
2150 2013-01-03 Daiki Ueno <ueno@gnu.org>
2152 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2155 2013-01-03 Glenn Morris <rgm@gnu.org>
2157 * mail/rmail.el (rmail-set-header-1): Ignore case.
2158 Handle multi-line headers. (Bug#13330)
2160 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2161 Handle paragraph starting at beginning of buffer.
2163 * subr.el (eval-after-load): Don't purecopy the form, so that it
2164 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2166 * emacs-lisp/byte-run.el (defun): Place cl declarations
2167 after any interactive spec. (Bug#13265)
2169 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2171 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2172 defun. Don't check for DECL if DOCSTRING isn't a string.
2175 2013-01-02 Glenn Morris <rgm@gnu.org>
2177 * eshell/em-cmpl.el (eshell-pcomplete):
2178 More thoroughly imitate pcomplete. (Bug#13293)
2180 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2181 Return nil for empty path elements. (Bug#13296)
2183 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2185 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2186 order to improve efficiency (Based on Daniel Colascione's
2187 <dancol@dancol.org> patch). (Bug#13182)
2189 2013-01-02 Glenn Morris <rgm@gnu.org>
2191 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2193 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2195 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2196 neither DOCSTRING nor DECL was given. (Bug#13316)
2198 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2200 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2202 (tramp-do-copy-or-rename-file): Ignore errors when calling
2203 `set-file-extended-attributes'.
2205 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2206 Add handler for `file-acl'.
2207 (tramp-smb-handle-file-acl): New defun.
2209 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2211 * calc/README: Mention ISO 8601 week-numbering dates.
2213 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2215 * view.el (view-mode-enable): New argument run-view-mode-hook.
2216 Run view-mode-hook only when it's non-nil (Bug#13315).
2217 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2220 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2222 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2223 (No device connected, invalid device name). (Bug #13299)
2225 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2227 * window.el (window-resizable--p): Rename to window-resizable-p.
2228 (window-resize-no-error): New function.
2230 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2231 broken in fix from 2012-12-28.
2233 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2235 * subr.el (special-form-p): Don't signal errors on undef aliases.
2237 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2239 * calc/calc-forms.el (math-parse-date): Try using
2240 `math-parse-iso-date' when it looks like it might be needed.
2241 Allow times of 24:00.
2242 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2245 2012-12-30 Glenn Morris <rgm@gnu.org>
2247 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2248 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2249 (rmail-summary-displayed, rmail-summary): Declare.
2250 (mairix-rmail-display): Just require rmail.
2252 2012-12-30 Chong Yidong <cyd@gnu.org>
2254 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2255 check for the tarball contents.
2257 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2259 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2260 tarfile content listings (Bug#13136).
2262 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2264 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2265 Insert the undecoded text of the message being forwarded. (Bug#9521)
2267 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2269 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2270 integers, if they are real numbers. (Bug#13282)
2272 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2273 Return `t' on success.
2275 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2276 Add handler for `set-file-selinux-context'.
2278 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2280 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2281 (tramp-sh-handle-set-file-acl): Return `t' on success.
2283 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2285 * files.el (backup-buffer-copy, basic-save-buffer-2):
2286 If set-file-extended-attributes fails, fall back on set-file-modes
2287 instead of signaling an error. (Bug#13298)
2288 (basic-save-buffer): Likewise.
2290 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2292 * progmodes/python.el: Support other commands triggering
2293 python-indent-line so indentation cycling continues to work.
2294 (python-indent-trigger-commands): New defcustom.
2295 (python-indent-line): Use it.
2297 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2299 * progmodes/python.el (python-shell-send-region): Add blank lines
2300 for non sent code so backtraces remain correct.
2302 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2304 * progmodes/python.el: Remove cl dependency.
2305 (python-syntax-count-quotes): Replace incf call.
2306 (python-fill-string): Replace setf call.
2308 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2310 * info.el (info-other-window): New arg, for consistency with info.
2312 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2314 * mail/rmail.el (rmail-maybe-display-summary):
2315 Rewrite (Bug#13066).
2317 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2319 * epg.el (epg--start): Modify process-environment locally.
2321 2012-12-28 Daiki Ueno <ueno@gnu.org>
2323 * epg.el: Support pinentry-curses.
2324 Suggested by Werner Koch in
2325 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2326 (epg-agent-file, epg-agent-mtime): New variable.
2327 (epg--start): Record the modified time of gpg-agent socket file,
2328 to restore Emacs frame after pinentry-curses termination.
2329 (epg-wait-for-completion): Restore Emacs frame here.
2331 2012-12-27 Juri Linkov <juri@jurta.org>
2333 * info.el (Info-file-completions): New variable.
2334 (Info-read-node-name-1): Complete node names in the Info file
2335 when a file name is given. Call `Info-build-node-completions'
2337 (Info-build-node-completions): Add new arg `file'. When it is
2338 non-nil, visit it in a temporary buffer and cache its completions in
2339 `Info-current-file-completions'. Move most of the function body to
2340 `Info-build-node-completions-1'.
2341 (Info-build-node-completions-1): New function with the body from
2342 `Info-build-node-completions'. (Bug#12456)
2344 2012-12-27 Juri Linkov <juri@jurta.org>
2346 * frame.el (frame-maximization-style): Remove user option.
2347 (cycle-frame-maximized): Remove function.
2348 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2349 (toggle-frame-fullscreen): New command bound to <f11> instead of
2350 `toggle-frame-maximized'.
2351 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2353 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2355 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2357 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2358 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2359 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2360 for `file-accessible-directory-p'. (Bug#13275)
2362 2012-12-27 Sam Steingold <sds@gnu.org>
2364 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2365 continuations, see <http://stackoverflow.com/questions/3582436>.
2367 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2369 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2370 "module" and "def" to have indentation before them.
2371 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2373 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2375 2012-12-27 Alan Mackenzie <acm@muc.de>
2377 Speed up fontification where there's large brace blocks.
2378 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2379 to a call of c-beginning-of-decl-1.
2381 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2383 * comint.el (comint-adjust-window-point): New function.
2384 (comint-postoutput-scroll-to-bottom):
2385 Call comint-adjust-window-point (Bug#13248).
2387 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2389 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2391 (auto-mode-alist): Associate .gemspec files with ruby-mode
2392 (https://bugs.ruby-lang.org/issues/5453).
2394 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2396 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2397 Suppress coloring, if possible (required for BusyBox based systems like
2399 (tramp-adb-handle-file-attributes)
2400 (tramp-adb-handle-insert-directory)
2401 (tramp-adb-handle-file-name-all-completions): Use it.
2402 (tramp-adb-get-toolbox): New defun. Check for remote shell
2403 implementation (BusyBox or Toolbox).
2405 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2407 * startup.el (initial-buffer-choice): Allow function as value
2409 (command-line-1): Handle case where initial-buffer-choice
2410 specifies a function.
2411 * server.el (server-execute): Handle case where
2412 initial-buffer-choice specifies a function.
2414 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2416 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2418 (smtpmail-try-auth-methods): Forget the user name/password if the
2419 login is unsuccessful (bug#12424).
2421 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2423 * notifications.el (notifications-notify): Protect body with
2424 `with-demoted-errors'.
2426 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2427 Check properties of remote device. Restart connection, if there is a
2430 2012-12-21 Chong Yidong <cyd@gnu.org>
2432 * sort.el (sort-subr): Doc fix (Bug#13056).
2434 2012-12-21 Bastien Guerry <bzg@gnu.org>
2436 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2438 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2440 * simple.el (process-file): Overwrite stderr file, if exists.
2442 2012-12-21 Daiki Ueno <ueno@gnu.org>
2444 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2445 (epg-error): Set `error-message' property.
2447 2012-12-21 Chong Yidong <cyd@gnu.org>
2449 * international/mule-cmds.el (read-char-by-name): Signal an error
2450 if the user does not supply a valid character (Bug#13177).
2452 * simple.el (transpose-subr-1): Preserve marker positions by
2453 changing the insertion sequence (Bug#13122).
2455 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2457 * simple.el (kill-region): Deactivate mark even for empty regions
2460 2012-12-21 Chong Yidong <cyd@gnu.org>
2462 * help-fns.el (describe-variable): Make sure we get the right
2463 buffer name (Bug#13105). Suggested by Kelly Dean.
2465 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2467 * comint.el (comint-redirect-previous-input-string): New variable.
2468 (comint-redirect-setup, comint-redirect-cleanup)
2469 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2470 (comint-redirect-preoutput-filter): Fix verbose message.
2472 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2474 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2475 is too long for Tramp. See discussion in
2476 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2478 * progmodes/compile.el (compilation-start): Remove line escape
2481 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2483 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2486 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2488 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2489 following non-comment text (bug#13207).
2490 (lm-header-multiline): Continuation lines need to be indented more than
2492 (lm-homepage): New function.
2493 (lm-with-file): Don't be confused if narrowing is in effect.
2495 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2498 very beginning of a hunk (e.g. killing the first line).
2500 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2502 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2503 and text properties from returned ACL string.
2504 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2505 for "setfacl" command.
2507 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2509 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2510 `tramp-cleanup-this-connection', when the process has died.
2513 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2517 2012-12-17 Kevin Ryde <user42@zip.com.au>
2519 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2521 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2523 Add support for preserving ACL entries of files.
2525 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2526 `set-file-acl' handlers.
2528 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2529 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2531 * net/tramp-compat.el (tramp-compat-copy-file):
2532 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2534 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2535 Add `file-acl' and `set-file-acl' handlers.
2536 (tramp-gvfs-handle-copy-file):
2537 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2538 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2541 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2542 Add `file-acl' and `set-file-acl' handlers.
2543 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2544 (tramp-sh-handle-set-file-acl): New defuns.
2545 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2546 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2549 Add `file-acl' and `set-file-acl' handlers.
2550 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2552 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2554 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2555 use pop-to-buffer with NORECORD argument t. As buffer name, use
2556 *Metahelp* with a leading space (Bug#13190).
2558 2012-12-16 Romain Francoise <romain@orebokech.com>
2560 * files.el (file-extended-attributes)
2561 (set-file-extended-attributes): New functions.
2562 (backup-buffer): Use them to handle both SELinux context and ACL
2564 (backup-buffer-copy): Work with an alist of extended attributes,
2565 rather than an SELinux context.
2566 (basic-save-buffer-2): Ditto.
2568 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2570 * battery.el (battery-bsd-apm): New function.
2572 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2574 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2575 standard date formats.
2577 2012-12-15 Juri Linkov <juri@jurta.org>
2579 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2580 `isearch-insert-char-by-name'.
2581 (with-isearch-suspended): New defmacro with body mostly from
2582 `isearch-edit-string' except the part that sets
2583 `isearch-new-string' and `isearch-new-message'.
2584 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2585 body that sets `isearch-new-string' and `isearch-new-message'.
2586 (isearch-insert-char-by-name): New command.
2587 * international/mule-cmds.el (read-char-by-name): Let-bind
2588 `enable-recursive-minibuffers' to t.
2589 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2591 2012-12-15 Juri Linkov <juri@jurta.org>
2593 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2596 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2598 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2599 the prompt. (Bug#13045)
2601 2012-12-14 Glenn Morris <rgm@gnu.org>
2603 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2604 Try to include filename in non-bytecomp warning. (Bug#13132)
2606 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2608 Fix permissions bugs with setgid directories etc. (Bug#13125)
2609 * files.el (backup-buffer): Don't rely on 9th output of
2610 file-attributes, as it's now a placeholder. Instead, use the new
2611 optional arg of file-ownership-preserved-p.
2612 (file-ownership-preserved-p): New optional arg GROUP.
2613 Fix mishandling of setuid directories that would cause this
2614 function to return t when it should have returned nil.
2615 Document what happens if the file does not exist, and when
2616 it's not known whether the ownership will be preserved.
2617 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2619 (tramp-get-local-gid): Use group-gid for integer, as that's
2620 faster and more reliable.
2622 2012-12-14 Julien Danjou <julien@danjou.info>
2624 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2625 Update keywords list, data type and PL/pgSQL.
2627 2012-12-14 Dave Abrahams <dave@boostpro.com>
2629 * vc/ediff-util.el (ediff-buffer-type): New function.
2630 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2631 rather than taking it as as argument.
2632 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2634 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2636 * json.el: Add pretty-print option (bug#12634).
2637 (json-encoding-separator, json-encoding-default-indentation)
2638 (json--encoding-current-indentation, json-encoding-pretty-print)
2639 (json-encoding-lisp-style-closings): New vars.
2640 (json--with-indentation): New macro.
2641 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2642 (json-encode-array): Use it to obey json-encoding-pretty-print.
2643 (json-pretty-print-buffer, json-pretty-print): New commands.
2645 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2647 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2648 Extract `ruby-syntax-propertize-expansions'.
2649 (ruby-syntax-propertize-expansions): Only change syntax on
2650 certain string delimiters, to punctuation. This way the common
2651 functions like forward-word and thing-at-point still work.
2652 (ruby-match-expression-expansion): Improve readability.
2653 (ruby-block-contains-point): New function.
2654 (ruby-add-log-current-method): Handle several edge cases.
2656 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2658 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2659 unload-feature finishes even when aborting an ongoing edebug session.
2660 Also, do not worry about edebug-mode, unload-feature takes care of it.
2662 2012-12-13 Andreas Schwab <schwab@suse.de>
2664 * net/tls.el (tls-program): Update customize type.
2666 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2668 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2669 (edebug-setup-hook, cl-read-load-hooks): Use it.
2670 (edebug-unload-function): New function. (Bug#13163)
2672 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2674 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2675 Otherwise, there could be errors in autoloading. (Bug#13151)
2677 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2679 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2682 2012-12-13 Alan Mackenzie <acm@muc.de>
2684 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2685 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2686 around `forward-comment' not recognizing ^M as whitespace.
2688 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2690 * progmodes/python.el (python-skeleton-class)
2691 (python-skeleton-def): Do not add space after defun name.
2693 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2696 (cl--symbol-function): Remove (now that funbound is like nil).
2698 2012-12-12 Glenn Morris <rgm@gnu.org>
2700 * button.el (button--area-button-p): Fix typo.
2702 2012-12-12 Sam Steingold <sds@gnu.org>
2704 * frame.el (frame-maximization-style): New user option.
2705 (toggle-frame-maximized): Toggle frame maximization according to
2706 `frame-maximization-style', bound to <f11>.
2707 (cycle-frame-maximized): Cycle between all maximization styles and
2708 non-maximized frame, bound to shift-<f11>.
2710 2012-12-12 David Cadé <codename68@gmail.com>
2712 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2714 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2716 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2717 (eieio-override-prin1): Don't quote kewords and booleans.
2718 (object-write) <eieio-default-superclass>: Don't put closing parens
2719 on new line, avoid needless empty lines, align values that are objects
2720 with the slot keyword (instead of beginning on the same line).
2721 (eieio-list-prin1): Align value with slot keyword; increase
2722 eieio-print-depth before printing members of the list.
2724 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2726 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2727 a display text-property.
2728 (report-emacs-bug-hook): Don't bother deleting it any more.
2730 * hilit-chg.el (highlight-save-buffer-state): Delete.
2731 Use with-silent-modifications instead.
2732 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2734 * button.el: Handle buttons in display text-properties.
2735 (button--area-button-p, button--area-button-string):
2736 Use (STRING . STRING-POS) representation instead of just STRING.
2738 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2740 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2741 subdirectory be skipped.
2743 2012-12-11 Glenn Morris <rgm@gnu.org>
2745 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2747 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2748 Treat preprocessor lines embedded in continuations like comments.
2749 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2751 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2753 * calc/calc.el (calc-standard-date-formats): Add more date
2755 * calc/calc-forms.el (math-parse-iso-date): New function.
2756 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2757 (math-parse-iso-date-validate): Add extra error checking.
2758 (calc-date-notation): Add ability to access new date formats.
2760 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2762 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2763 font-lock as well as when there's no text-property.
2765 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2767 * hi-lock.el: Refine the choice of default face.
2768 (hi-lock-keyword->face): New function. Use it wherever we used
2770 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2771 (hi-lock--last-face): Remove var.
2772 (hi-lock--unused-faces): New var to replace it.
2773 (hi-lock-read-face-name): Use/maintain it.
2774 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2775 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2776 if it has another face.
2778 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2780 * subr.el (w32notify-handle-event): New function.
2781 (inotify-handle-event): Doc fix.
2783 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2785 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2787 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2789 * simple.el (just-one-space): Doc fix.
2791 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2793 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2795 2012-12-10 Le Wang <l26wang@gmail.com>
2797 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2798 narrowed buffer (bug#12361).
2800 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2802 * vc/vc-hooks.el (vc-state): Doc fix.
2804 2012-12-10 Glenn Morris <rgm@gnu.org>
2806 * mail/rmail.el (rmail-maybe-display-summary):
2807 Preserve buffer, in case select-window changes it. (Bug#13066)
2809 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2811 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2812 cl-load-hook where they belong.
2814 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2818 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2820 Parallelize byte compilation on MS-Windows.
2821 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2822 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2823 (WINS_BASIC): Define as concatenation of the above.
2824 (compile): Subdivide into 4 separate and independent jobs that can
2826 (compile0-CMD, compile0-SH): New targets for compiling
2827 COMPILE_FIRST files, which are prerequisites for the rest of the
2829 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2830 New targets for parallel compilation with cmd.exe.
2831 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2832 compiling under a Unixy shell.
2834 2012-12-09 Chong Yidong <cyd@gnu.org>
2836 * simple.el (set-mark-default-inactive): Delete this
2837 accidentally-introduced option.
2838 (set-mark-command, exchange-point-and-mark): Remove calls.
2840 2012-12-09 Glenn Morris <rgm@gnu.org>
2842 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2843 Respect a defcustom's :set function, if appropriate. (Bug#109)
2844 (eval-defun): Doc fix.
2846 2012-12-08 Juri Linkov <juri@jurta.org>
2848 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2849 (Info-fontify-node, Info-bookmark-make-record): Remove the
2850 file extension from Info-current-file (Bug#13016).
2852 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2854 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2855 point, still provide some default.
2856 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2857 names, since we don't use it right now. Actually return the list.
2858 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2860 2012-12-07 Chong Yidong <cyd@gnu.org>
2862 * novice.el (disabled-command-function): Remove a spurious help
2863 xref (Bug#13043). Suggested by Kelly Dean.
2865 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2866 syntax is specified (Bug#13025).
2868 * info.el (Info-set-mode-line): Remove the file extension from
2869 Info-current-file if there is one (Bug#13016).
2871 2012-12-07 Glenn Morris <rgm@gnu.org>
2873 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2874 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2875 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2876 and rmail-mime-decoded. (Bug#9841)
2878 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2879 (batch-unrmail, unrmail): Doc fixes.
2880 (unrmail): Respect unrmail-mbox-format.
2881 * mail/rmail.el (rmail-mbox-format): New option.
2882 (rmail-show-message-1): Respect rmail-mbox-format.
2884 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2886 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2888 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2890 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2891 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2892 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2893 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2894 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2895 (cl-progv): Don't rely on dynamic scoping to find the body.
2896 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2897 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2898 (cl-declaim): Use backquotes.
2899 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2900 Use "cl--" prefix for the object's tag.
2902 * ses.el: Use advice-add/remove.
2903 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2904 (copy-region-as-kill, yank): Use advice-add.
2905 (ses-unload-function): Use advice-remove.
2907 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2909 * button.el: Make them work in header-lines (bug#12817).
2910 (button-map): Add bindings for header-line and mode-line use.
2911 (button-get, button-put, button-label): `button' may now be a string.
2912 (button-activate): Don't make it a defsubst.
2913 (button--area-button-p, button--area-button-string): New functions.
2914 (make-text-button): Fix the return value when `beg' was a string.
2915 (push-button): Handle the mode-line case.
2917 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2920 (sql-signum): Remove. Use `cl-signum' instead.
2921 (sql-read-passwd): Remove; use read-passwd instread.
2922 (sql-get-login-ext): Use read-string.
2923 (sql-get-login): Use dolist and pcase.
2924 (sql--completion-table): Rename from sql-try-completion.
2925 Use complete-with-action.
2926 (sql-mode): Don't change abbrev-all-caps globally.
2927 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2928 (sql-postgres-completion-object): Initialize vars in their `let'.
2929 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2930 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2931 (sql-comint-interbase): Use a single append, without setq.
2932 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2934 * hi-lock.el: Rework the default face and the serialize regexp code.
2935 (hi-lock--auto-select-face-defaults): Remove.
2936 (hi-lock-string-serialize-serial): Remove.
2937 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2939 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2941 (hi-lock-set-pattern): Adjust accordingly.
2942 (hi-lock--regexps-at-point): Simplify accordingly.
2943 (hi-lock--auto-select-face-defaults): Remove.
2944 (hi-lock--last-face): New var to replace it.
2945 (hi-lock-read-face-name): Rewrite (bug#11095).
2946 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2948 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2950 * net/tramp.el (tramp-replace-environment-variables):
2951 Hide compiler warning.
2952 (tramp-file-name-for-operation): Remove `executable-find',
2953 `start-process', `call-process' and `call-process-region'.
2955 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2957 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2960 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2962 2012-12-06 Chong Yidong <cyd@gnu.org>
2964 * ffap.el (ffap-replace-file-component): Fix typo.
2966 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2969 fix open-paren-like token test (bug#12785).
2971 2012-12-06 Glenn Morris <rgm@gnu.org>
2973 * mail/rmailsum.el (rmail-new-summary): Tweak for
2974 rmail-maybe-display-summary changing buffer. (Bug#13066)
2976 2012-12-06 Juri Linkov <juri@jurta.org>
2978 * info.el (Info-fontify-node): Don't hide the last newline.
2981 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2983 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2984 so as to enable message-read-from-minibuffer to expand mail aliases.
2986 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2989 the `intangible' property.
2990 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2992 2012-12-05 Deniz Dogan <deniz@dogan.se>
2994 * net/rcirc.el (rcirc-urls): Update documentation.
2995 (rcirc-condition-filter): New function.
2996 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2997 and exclude consecutive duplicate URLs (Bug#6082).
2999 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3001 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3002 Check return code of copy command.
3004 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3005 Use group `tramp'. Add version.
3007 2012-12-05 Chong Yidong <cyd@gnu.org>
3009 * ffap.el (ffap-url-regexp): Don't require matching at front of
3011 (ffap-url-p): If only a substring matches, return that.
3012 (ffap-url-at-point): Use the return value of ffap-url-p.
3013 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3014 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3015 (ffap-guess-file-name-at-point): Likewise.
3016 (ffap-replace-file-component): Fix typo.
3018 * info.el (info-display-manual): Add existing Info buffers, whose
3019 files may not be in Info-directory-list, to the completion.
3020 (info--manual-names): New helper function.
3022 2012-12-05 Glenn Morris <rgm@gnu.org>
3024 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3025 New functions, for detecting and resolving conflicts. (Bug#10709)
3027 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3029 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3030 (hi-lock-auto-select-face-defaults): New buffer local variable.
3031 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3032 (hi-lock-unface-buffer): Prompt user with useful defaults.
3033 With prefix arg, unhighlight all hi-lock patterns in buffer.
3035 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3037 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3039 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3041 * Makefile.in (TRAMP_SRC):
3042 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3044 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3046 * net/tramp-adb.el: New package.
3048 2012-12-04 Chong Yidong <cyd@gnu.org>
3050 * terminal.el: Move to obsolete/.
3052 * longlines.el: Move to obsolete/.
3054 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3055 Remove code referring to longlines mode.
3057 2012-12-03 Juri Linkov <juri@jurta.org>
3059 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3061 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3063 * textmodes/ispell.el (ispell-init-process)
3064 (ispell-start-process, ispell-internal-change-dictionary):
3065 Make sure personal dictionary name is expanded after initial
3066 `default-directory' value. Use expanded strings for
3067 keep/restart checks and for value (Bug#13019).
3069 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3071 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3073 2012-12-03 Leo Liu <sdl.web@gmail.com>
3075 * files.el (dir-locals-read-from-file): Check file non-empty
3076 before reading. (Bug#13038)
3078 2012-12-03 Glenn Morris <rgm@gnu.org>
3080 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3081 Remove any version extension before checking filename. (Bug#13006)
3082 (jka-compr-compression-info-list): Belated :version bump.
3084 2012-12-03 Chong Yidong <cyd@gnu.org>
3086 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3088 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3089 (buffer-menu): Doc fix (Bug#12294).
3091 2012-12-03 Roland Winkler <winkler@gnu.org>
3093 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3094 of diary-show-all-entries in the diary buffer (Bug#12994).
3096 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3098 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3099 "<STDIN>". This is binary safe.
3101 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3103 * calc/calc-forms.el (math-absolute-from-iso-dt)
3104 (math-date-to-iso-dt, math-parse-iso-date-validate)
3105 (math-iso-dt-to-date): New functions.
3106 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3107 (math-fd-isoweekday): New variables.
3108 (calc-date-notation, math-parse-standard-date, math-format-date)
3109 (math-format-date-part): Add support for more formatting codes.
3111 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3113 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3114 current buffer's file name when called interactively (Bug#12488).
3116 2012-12-02 Juri Linkov <juri@jurta.org>
3118 * info.el (info-display-manual): Don't clobber an existing Info
3119 buffer (Bug#10770). Add completion (Bug#10771).
3121 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3123 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3124 before using it for comparison (Bug#5297).
3126 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3128 * textmodes/css-mode.el (css-current-defun-name): New function.
3131 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3132 (html-mode): Use it.
3134 2012-12-01 Chong Yidong <cyd@gnu.org>
3136 Modularize add-log-current-defun (Bug#2224).
3137 Suggested by Jari Aalto.
3139 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3140 (add-log-current-defun): Move mode-specific code to other files.
3141 (add-log-lisp-like-modes, add-log-c-like-modes)
3142 (add-log-tex-like-modes): Variables deleted.
3144 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3145 (lisp-mode-variables): Use it.
3147 * progmodes/cc-mode.el (c-common-init):
3148 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3149 add-log-current-defun-function.
3151 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3154 * progmodes/perl-mode.el (perl-current-defun-name): New.
3155 (perl-mode): Use it.
3157 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3158 Use lisp-current-defun-name.
3160 * textmodes/tex-mode.el (tex-current-defun-name): New.
3161 (tex-common-initialization): Use it.
3163 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3164 (texinfo-mode): Use it.
3166 2012-12-01 Chong Yidong <cyd@gnu.org>
3168 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3169 * progmodes/autoconf.el (autoconf-mode):
3170 * progmodes/js.el (js-mode):
3171 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3172 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3173 * progmodes/perl-mode.el (perl-mode):
3174 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3175 * textmodes/css-mode.el (css-mode):
3176 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3177 (sgml-tags-invisible, sgml-guess-indent):
3178 * textmodes/tex-mode.el (tex-common-initialization)
3179 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3180 (doctex-mode, plain-tex-mode, latex-mode):
3181 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3183 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3185 * vc/vc-hg.el (vc-hg-next-revision):
3186 Ensure use of default "tip" output format. (Bug#6968)
3188 2012-12-01 Kim F. Storm <storm@cua.dk>
3190 * startup.el (fancy-startup-tail): Add a clickable link
3193 2012-12-01 Chong Yidong <cyd@gnu.org>
3195 * startup.el (fancy-startup-tail): Improve the message about
3196 auto-save files (Bug#2176).
3198 * files.el (recover-session): Improve the descriptive message, and
3199 use substitute-command-keys.
3201 2012-12-01 Glenn Morris <rgm@gnu.org>
3203 * ido.el (ido-file-internal):
3204 Handle other-window, other-frame for dired. (Bug#13036)
3206 2012-11-30 Glenn Morris <rgm@gnu.org>
3208 * icomplete.el (icomplete-separator): Fix :version.
3210 2012-11-30 Chong Yidong <cyd@gnu.org>
3212 * shell.el (shell): For C-u M-x shell, use an inactive shell
3213 buffer as the default (Bug#1975).
3214 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3215 (shell-mode): Use them to reapply ansi colorization if Shell mode
3218 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3220 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3222 2012-11-30 Samuel Bronson <naesten@gmail.com>
3224 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3225 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3227 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3229 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3230 by move-to-column (Bug#3234).
3232 2012-11-30 Chong Yidong <cyd@gnu.org>
3234 * longlines.el (longlines-wrap-line, longlines-encode-region):
3235 Preserve text properties (Bug#1425).
3237 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3239 * vc/vc.el (vc-register): Allow registering a file which is
3240 already registered with a different backend (Bug#10589).
3242 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3243 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * icomplete.el: Change separator; add ido-style commands.
3246 (icomplete-show-key-bindings): Remove custom var.
3247 (icomplete-get-keys): Remove function.
3248 (icomplete-forward-completions, icomplete-backward-completions):
3250 (icomplete-minibuffer-map): New var.
3251 (icomplete-minibuffer-setup): Use it.
3252 (icomplete-exhibit): Don't delay if the list of completions is known.
3253 (icomplete-separator): New custom.
3254 (icomplete-completions): Use it.
3255 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3256 (minibuffer-force-complete-and-exit): New command.
3257 (minibuffer--complete-and-exit): New function extracted from
3258 minibuffer-complete-and-exit.
3259 (minibuffer-complete-and-exit): Use it.
3261 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3262 error message when the file doesn't exist (bug#12974).
3264 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3266 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3268 2012-11-29 Glenn Morris <rgm@gnu.org>
3270 * files.el (hack-dir-local-variables): Warn if try to set
3271 coding via dir-locals, since it doesn't work. (Bug#7169)
3273 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3274 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3275 Set buffer-local value of desktop-save-buffer.
3276 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3278 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3279 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3281 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3282 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3284 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3287 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3289 * calc/calc-forms.el (calc-date-notation): Fix regexp
3290 used to find time codes. Fix symbol for seconds.
3292 2012-11-27 Glenn Morris <rgm@gnu.org>
3294 * emacs-lisp/derived.el (derived-mode-make-docstring):
3295 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3297 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3300 lexically scoped variables (bug#13005).
3302 2012-11-27 Glenn Morris <rgm@gnu.org>
3304 * vc/vc-hooks.el (vc-mistrust-permissions):
3305 Default to t, to avoid data-loss. (Bug#11490)
3307 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3309 * progmodes/python.el (python-indent-guess-indent-offset):
3310 If indentation is guessed make python-indent-offset buffer-local.
3312 Fix Imenu regression.
3313 * progmodes/python.el (python-nav-beginning-of-defun):
3314 Fix forward movement when statement(s) separates point from defun.
3315 (python-imenu-prev-index-position): New function.
3317 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3319 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3321 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3322 Don't set buffer-file-type. Return nil. (Bug#12989)
3324 2012-11-27 Glenn Morris <rgm@gnu.org>
3326 * hippie-exp.el (hippie-expand-try-functions-list):
3327 Re-autoload it. (Bug#12982)
3329 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3331 * descr-text.el (describe-char-padded-string):
3332 Call internal-char-font only on GUI frames. (Bug#11964)
3334 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3336 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3337 and obsoletion message.
3339 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3342 the constructs to keep outside of the `cl-block' (bug#12977).
3344 2012-11-27 Chong Yidong <cyd@gnu.org>
3346 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3347 keep reading until we get the up-event anyway, in order to process
3348 the up-event for mouse-1-click-follows-link (Bug#12971).
3350 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3352 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3353 base function is not yet defined (bug#12965).
3354 (ad-activate-advised-definition): Use ad-compile-function.
3355 (ad-activate): Use cond.
3357 2012-11-25 Leo Liu <sdl.web@gmail.com>
3359 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3362 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3364 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3365 reftex-section-info-function in order to be compatible with
3366 Texinfo integration.
3368 * textmodes/reftex.el (reftex-section-pre-regexp)
3369 (reftex-section-post-regexp, reftex-section-info-function):
3371 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3372 reftex-section-post-regexp, and reftex-section-info-function in order
3373 to be compatible with Texinfo integration.
3375 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3376 use reftex-section-pre-regexp variable in order to be compatible with
3377 Texinfo integration.
3379 2012-11-25 Chong Yidong <cyd@gnu.org>
3381 * faces.el: Make face-spec-set more analogous to setq.
3382 (face-spec-set): Change the third arg to specify whether this
3383 function is being called via defface, customize, or a third party.
3384 Set the appropriate symbol properties. Clear the override spec if
3385 setting via Custom. Initialize face if necessary. (Bug#4988)
3386 (face-spec-recalc): Allow theme faces to completely replace the
3387 defface spec, in the same way as custom faces (Bug#8454).
3389 * cus-face.el (custom-declare-face): Move face initialization to
3391 (custom-theme-set-faces): Don't initialize the face name here, as
3392 that is now done in face-spec-set.
3394 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3395 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3396 Simplify by using the new arg to face-spec-set.
3398 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3399 reset face-override-spec too, and use custom-declare-face.
3401 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3403 * term/ns-win.el (ns-initialize-window-system): Move creation of
3404 fontsets here (Bug#11964).
3406 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3408 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3411 2012-11-24 Chong Yidong <cyd@gnu.org>
3413 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3416 * custom.el (custom-theme-set-variables): Use a topological sort
3417 for ordering by custom dependencies (Bug#12952).
3418 (custom--sort-vars, custom--sort-vars-1): New functions.
3420 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3423 lexical-binding (bug#12938).
3425 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3427 * image-mode.el (image-transform-check-size): Use assertions only
3428 for images of type imagemagick.
3430 Otherwise no error, image-transform-fit-to-{width,height} is
3431 silently ignored, as before. Doc fix.
3433 2012-11-24 Chong Yidong <cyd@gnu.org>
3435 * faces.el (color-defined-p): Doc fix (Bug#12853).
3437 2012-11-24 Juri Linkov <juri@jurta.org>
3439 * dired.el (dired-mark): Add optional arg `interactive'.
3440 Check for `use-region-p' if `interactive' is non-nil.
3441 (dired-unmark, dired-flag-file-deletion): Add optional arg
3442 `interactive'. Call `dired-mark' with the arg `interactive'.
3445 * wdired.el: Revert 2012-10-17 change partly and replace it with
3446 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3447 (wdired-finish-edit): Add marks for new file names to
3448 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3449 after `revert-buffer'.
3450 (wdired-do-renames): Remove calls to `dired-remove-file',
3451 `dired-add-file', `dired-add-entry'. (Bug#11795)
3453 2012-11-24 Alan Mackenzie <acm@muc.de>
3455 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3457 Fix bugs in the state cache. Enhance a debugging mechanism.
3458 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3459 "brace at column zero" strategy for C++.
3460 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3461 (c-parse-state-point): New variable.
3462 (c-record-parse-state-state): Record old parse state with
3463 `copy-tree'. Record previous value of point.
3464 (c-debug-parse-state-double-cons): New debugging function.
3465 (c-debug-parse-state): Call the above new function.
3466 (c-toggle-parse-state-debug): Output a confirmatory message.
3468 * progmodes/cc-mode.el (c-before-change, c-after-change):
3469 Call c-invalidate-state-cache from `c-before-change' instead of
3472 2012-11-23 Chong Yidong <cyd@gnu.org>
3474 * find-cmd.el (find-constituents): Add executable, ipath,
3475 readable, samefile, writable, daystart, regextype (Bug#12856).
3477 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3481 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3483 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3484 definition. This fixes a bootstrap failure.
3485 (calc-gregorian-switch): In menu, put dates before regions.
3486 This is easier to follow, lines up better in the menu, and lets us
3487 coalesce regions that switch at the same time. Give country
3488 names, not "Vatican", as that's better for non-expert users.
3489 Use names that are stable between the date of switch and now, e.g.,
3490 Bohemia and Moravia (which existed then and now) and not
3491 Czechoslovakia (which didn't exist then and doesn't exist now).
3492 What is now the U.S. mostly did not switch at the same time as
3493 Britain, so omit the U.S. Correct spelling of "Britain".
3494 Catholic Switzerland was too much of a mess, so omit it.
3496 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3498 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3499 after the variable is changed.
3501 2012-11-21 Daniel Colascione <dancol@dancol.org>
3503 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3504 in SQL declarations for font-lock.
3505 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3507 2012-11-21 Glenn Morris <rgm@gnu.org>
3509 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3510 (face-italic-p): Add optional argument "inherit".
3512 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3513 Remove -p suffix from names, for consistency with other set-face-*.
3514 (set-face-inverse-video): Fix interactive spec.
3515 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3516 * textmodes/table.el (table--update-cell-face):
3517 Use set-face-inverse-video rather than now obsolete alias.
3519 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3521 * simple.el (line-move): Don't call line-move-partial if
3522 scroll-conservatively is in effect. (Bug#12927)
3524 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3527 Fallback on completion-at-point rather than
3528 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3529 (eshell-cmpl-initialize): Setup completion-at-point.
3531 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3533 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3535 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3537 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3538 are remote, check out-of-band property for both.
3540 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3542 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3545 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3547 More minor time fixes.
3548 * calendar/time-date.el: Commentary fix.
3549 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3550 too much other code depends on (0 0) time stamps.
3551 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3552 Add a couple of FIXME comments.
3554 Minor cleanup for times as lists of four integers.
3555 * files.el (dir-locals-directory-cache):
3556 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3558 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3559 * ps-bdf.el (bdf-file-newer-than-time):
3560 Process four-integers time stamps, not two. Doc fixes.
3562 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * uniquify.el (uniquify-managed): Use defvar-local.
3565 (rename-buffer, create-file-buffer): Advise with advice-add.
3566 (uniquify-unload-function): Unadvise accordingly.
3568 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3569 (trace-buffer): Don't purecopy.
3570 (trace-entry-message, trace-exit-message): Add `context' arg.
3571 (trace--timer): New var.
3572 (trace-make-advice): Adjust for use in nadvice.
3573 Add `context' argument. Delay `display-buffer' via a timer.
3574 (trace-function-internal): Use advice-add.
3575 (trace--read-args): New function.
3576 (trace-function-foreground, trace-function-background): Use it.
3577 (trace-function): Rename to trace-function-foreground and redefine as
3578 an alias to that new name.
3579 (untrace-function, untrace-all): Adjust to the use of nadvice.
3581 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3583 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3585 * subr.el (called-interactively-p-functions): New var.
3586 (internal--called-interactively-p--get-frame): New macro.
3587 (called-interactively-p, interactive-p): Rewrite in Lisp.
3588 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3589 (called-interactively-p-functions): Use it.
3590 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3591 (called-interactively-p-functions): Use it.
3592 * allout.el (allout-called-interactively-p): Don't assume
3593 called-interactively-p is a subr.
3595 2012-11-20 Glenn Morris <rgm@gnu.org>
3597 * profiler.el (profiler-report-mode-map): Add a menu.
3598 No need to bind `q' because we derive from special-mode.
3599 (profiler-report-find-entry): Handle calls from the menu-bar.
3601 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3603 * emacs-lisp/byte-run.el (defun-declarations-alist):
3604 Allow a compiler-macro to be a lambda expression.
3606 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3608 (python-syntax-context): Add compiler-macro.
3609 (python-font-lock-keywords): Simplify with De Morgan.
3611 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3613 * files.el (load-file): Require match in minibuffer selection, as was
3614 the case in Emacs-20 before we changed the spec to allow .elc files
3617 * json.el: Don't require cl since we don't use it.
3618 * color.el: Don't require cl.
3619 (color-complement): `caddr' -> `nth 2'.
3621 * calendar/time-date.el (time-to-seconds): De-obsolete.
3623 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3625 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3627 (math-date-to-julian-dt): Adjust the initial approximation for the
3628 year to deal with the new definition of the DATE.
3630 2012-11-19 Daniel Colascione <dancol@dancol.org>
3632 * term/w32-win.el (cygwin-convert-path-from-windows):
3633 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3635 2012-11-18 Chong Yidong <cyd@gnu.org>
3637 * filecache.el (file-cache--read-list): New function.
3638 (file-cache-add-directory-list, file-cache-add-file-list)
3639 (file-cache-delete-file-list, file-cache-delete-directory-list):
3640 Use it to read a list of files or directories (Bug#12846).
3641 (file-cache-add-file, file-cache-add-directory)
3642 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3643 (file-cache-delete-directory): Print an message.
3645 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3647 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3648 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3650 2012-11-18 Glenn Morris <rgm@gnu.org>
3652 * image.el (insert-image, insert-sliced-image): Doc fix.
3654 2012-11-18 Chong Yidong <cyd@gnu.org>
3656 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3659 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3661 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3662 response when the target file is in a subdirectory (Bug#12757).
3664 2012-11-18 Chong Yidong <cyd@gnu.org>
3666 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3668 2012-11-18 Glenn Morris <rgm@gnu.org>
3670 * emacs-lisp/cl-lib.el (face-underline-p):
3671 Use set-face-underline rather than the alias set-face-underline-p.
3673 * window.el (with-temp-buffer-window): Doc fix.
3674 * subr.el (with-output-to-temp-buffer):
3675 Add doc xref to with-temp-buffer-window.
3677 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3679 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3680 * calc/calc.el (math-format-date-cache): Declare.
3682 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3684 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3685 It also uses January 1, 1 AD as its day number 1.
3686 * calc/calc-forms.el (math-julian-date-beginning)
3687 (math-julian-date-beginning-int): Implement this.
3689 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3691 * descr-text.el (quail-find-key):
3692 * dired.el (desktop-file-name):
3693 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3694 * generic-x.el (comint-mode, comint-exec):
3695 * image-dired.el (widget-forward):
3696 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3697 (speedbar-change-expand-button-char)
3698 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3699 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3700 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3701 (widget-field-action, widget-value-set):
3702 * speedbar.el (imenu--make-index-alist):
3703 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3704 (ring-length, ring-insert):
3705 * vcursor.el (compare-windows-skip-whitespace):
3706 * woman.el (dired-get-filename):
3709 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3711 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3713 * calc/calc.el (calc-gregorian-switch): New variable.
3715 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3716 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3717 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3718 (math-leap-year-p): Add option to distinguish between Julian
3719 and Gregorian calendars.
3720 (math-day-number): Use `math-day-in-year' to do the computations.
3721 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3722 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3723 to do the computations.
3724 (math-date-to-dt): Use `math-date-to-julian-dt' and
3725 `math-date-to-gregorian-dt' to do the computations.
3726 (calcFunc-weekday, math-format-date-part): Use the new version of
3727 the DATE to determine the weekday.
3728 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3731 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3733 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3734 Cygwin; otherwise use 'file:'. (Bug#12914)
3735 (cygwin-convert-path-from-windows): Declare, to avoid
3736 byte-compiler warnings.
3738 2012-11-17 Andreas Politz <politza@fh-trier.de>
3740 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3741 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3742 prefix and negative numeric prefix args (Bug#12795).
3744 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3746 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3747 Don't signal an error with a score that is too low to add to the
3748 list of top scores. (Bug#12779)
3750 2012-11-17 Chong Yidong <cyd@gnu.org>
3752 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3754 * filecache.el (file-cache-add-file): Handle relative file name in
3755 the argument (Bug#12694).
3757 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3759 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3761 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3765 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3767 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3769 * window.el (enlarge-window, shrink-window): Don't mention return
3770 value in doc-string (Bug#12896).
3771 (window--display-buffer): Don't resize frames - it won't work
3772 with all window managers and defeat pop-up-frame-alist.
3773 (display-buffer-alist): In doc-string explain that CONDITION can
3774 be a function and which arguments are passed to it (Bug#12854).
3775 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3776 expressions (Bug#12854).
3777 (display-buffer): Pass ACTION argument to
3778 display-buffer-assq-regexp.
3780 2012-11-16 Glenn Morris <rgm@gnu.org>
3782 * window.el (fit-frame-to-buffer-bottom-margin)
3783 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3785 * faces.el (face-underline-p): Use face-attribute-specified-or.
3787 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3789 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3791 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3793 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3795 2012-11-16 Glenn Morris <rgm@gnu.org>
3797 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3798 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3800 * faces.el (face-underline-p): Doc fix. Handle :underline being
3801 things other than `t' (a string, a list).
3802 (face-inverse-video-p): Doc fix.
3803 (set-face-underline): Rename it back from set-face-underline-p.
3804 Doc fix. Allow interactive input of values other than t.
3805 (read-face-attribute): Apply formatting to :underline,
3806 since like :box and :stipple it can take list values.
3808 * term.el (ansi-term): Don't let C-x escape-char binding
3809 clobber the more standard C-c binding. (Bug#12842)
3811 * subr.el (set-temporary-overlay-map): Doc fix.
3813 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3815 * window.el (record-window-buffer)
3816 (display-buffer-record-window): When copying the markers to
3817 window-point preserve window-point-insertion-type. (Bug#12588)
3819 2012-11-16 Glenn Morris <rgm@gnu.org>
3821 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3822 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3823 Use new names for hooks rather than obsolete aliases.
3825 2012-11-15 Daniel Colascione <dancol@dancol.org>
3827 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3828 prefix instead of "file:" so that when FILE-NAME begins with "//",
3829 as it does when the target file is on a network share, url-handler
3832 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3835 a preactivated advice from an old advice.el; they're not compatible!
3837 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3839 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3840 Fix string-spec case.
3842 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3844 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3846 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3847 (advice--buffer-local-function-sample): New var.
3848 (advice--set-buffer-local, advice--buffer-local): New functions.
3849 (add-function, remove-function): Use them.
3851 2012-11-15 Drew Adams <drew.adams@oracle.com>
3853 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3855 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3858 potential binding of print-gensym to t, and prettify (back)quotes in
3859 case they appear in args's default values (bug#12884).
3861 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3864 (advice-eval-interactive-spec): New function.
3865 (advice--make-interactive-form): Support around advice (bug#12844).
3867 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3869 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3870 more strict. Add docstring.
3871 (ruby-expression-expansion-re): Extract from
3872 `ruby-match-expression-expansion'.
3873 (ruby-syntax-propertize-function): After everything else, search
3874 for expansions in string literals, mark their insides as
3875 whitespace syntax and save match data for font-lock.
3876 (ruby-font-lock-keywords): Use the 2nd group from expression
3878 (ruby-match-expression-expansion): Use the match data saved to the
3879 text property in ruby-syntax-propertize-function.
3881 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3886 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3888 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3889 start/end keyword a bit harder. Works with different values of N.
3891 (ruby-end-of-block): Update accordingly.
3893 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3895 * woman.el (woman-file-name): Don't mess with unread-command-events
3898 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3899 Remove out of date self-require hack.
3900 (ad-do-advised-functions): Use simple `dolist'.
3901 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3902 (ad-advice-definition): Redefine as functions.
3903 (ad-advice-classes): Move before first use.
3904 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3905 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3906 (ad--defalias-fset): Remove functions.
3907 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3908 (ad-get-orig-definition): Rewrite.
3909 (ad-make-advised-definition-docstring): Change base docstring.
3910 (ad-real-orig-definition): Rewrite.
3911 (ad-map-arglists): Change name of called function.
3912 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3913 (ad-make-advised-definition): Simplify.
3914 (ad-assemble-advised-definition): Tweak for new calling context.
3915 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3916 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3917 function and call ad-activate if needed.
3918 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3919 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3920 (ad-compile-function): Compile ad-Advice-*.
3921 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3922 (ad-start-advice, ad-stop-advice): Remove.
3924 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3926 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3927 period before class method names, not after. Remove handling of
3928 one impossible case. Add comments.
3930 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3932 * emacs-lisp/advice.el: Remove support for freezing.
3933 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3934 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3935 Remove support for `freeze'.
3937 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3938 override the default.
3939 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3941 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3944 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3946 (advice--strip-macro): New function.
3947 (advice--defalias-fset): Use them to handle macros.
3948 (advice-add): Use them.
3949 (advice-member-p): Correctly handle macros.
3951 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3953 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3954 Never font-lock the beginning of singleton class as heredoc.
3956 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3960 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3962 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3963 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3964 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3966 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3968 Fix end-of-defun misbehavior.
3969 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3970 python-beginning-of-defun-function. Handle nested defuns
3972 (python-nav-end-of-defun): Rename from
3973 python-end-of-defun-function. Ensure forward movement.
3974 (python-info-current-defun): Reimplement to work as intended
3975 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3976 parent defuns as soon as possible.
3978 2012-11-13 Glenn Morris <rgm@gnu.org>
3980 * progmodes/flymake.el (flymake-error-bitmap)
3981 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3982 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3984 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3986 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3987 backward, always stop at indentation. Reverts the change from
3988 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3990 2012-11-13 Glenn Morris <rgm@gnu.org>
3992 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3993 Add ibuffer-filter-by-derived-mode.
3995 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3996 the same name shadowing each other.
3998 * window.el (with-temp-buffer-window): Doc tweak.
4000 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4002 * help.el (temp-buffer-max-height):
4003 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4004 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4006 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4008 * emacs-lisp/nadvice.el: New package.
4009 * subr.el (special-form-p): New function.
4010 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4011 (elp-all-instrumented-list): Remove var.
4012 (elp-not-profilable): Remove elp-wrapper.
4013 (elp-profilable-p): Use autoloadp and special-form-p.
4014 (elp--advice-name): New const.
4015 (elp-instrument-function): Use advice-add.
4016 (elp--instrumented-p): New predicate.
4017 (elp-restore-function): Use advice-remove.
4018 (elp-restore-all, elp-reset-all): Use mapatoms.
4019 (elp-set-master): Use elp--instrumented-p.
4020 (elp--make-wrapper): Rename from elp-wrapper, return a function
4021 suitable for advice-add. Use cl-inf.
4022 (elp-results): Use mapatoms+elp--instrumented-p.
4023 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4024 (debug-function-list): Remove var.
4025 (debug): Rename arg, and then let-bind it explicitly inside.
4026 (debugger-setup-buffer): Rename arg.
4027 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4028 (debugger-frame-number): Adjust to new debug-on-entry setup.
4029 (debug--implement-debug-on-entry): Rename from
4030 implement-debug-on-entry, add argument.
4031 (debugger-special-form-p): Remove, use special-form-p instead.
4032 (debug-on-entry): Use advice-add.
4033 (debug--function-list): New function.
4034 (cancel-debug-on-entry): Use it, along with advice-remove.
4035 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4036 (debugger-list-functions): Use debug--function-list instead of
4037 debug-function-list.
4038 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4039 (ad-special-form-p): Remove, use special-form-p instead.
4040 (ad-set-advice-info): Use add-function and remove-function.
4041 (ad--defalias-fset): Adjust accordingly.
4043 2012-11-10 Glenn Morris <rgm@gnu.org>
4045 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4046 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4047 (report-emacs-bug-create-existing-bugs-buffer)
4048 (report-emacs-bug-parse-query-results)
4049 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4051 * term.el (term-default-fg-color, term-default-bg-color):
4052 Make obsolete, rather than just saying "deprecated" in the doc.
4054 * term.el (term): Rename from `term-face'.
4055 (term-current-face, ansi-term-color-vector)
4056 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4059 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4061 * server.el (server-create-window-system-frame): Handle Nextstep
4062 specially (Bug#12780).
4064 2012-11-10 Glenn Morris <rgm@gnu.org>
4066 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4067 Unautoload, and make obsolete. (Bug#7449)
4069 2012-11-10 Chong Yidong <cyd@gnu.org>
4071 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4072 rename from diff-remove-trailing-whitespace (Bug#12831).
4074 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4076 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4077 miscompilation of trace.el.
4079 2012-11-10 Glenn Morris <rgm@gnu.org>
4081 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4083 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4088 2012-11-10 Chong Yidong <cyd@gnu.org>
4090 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4091 a defcustom with an appropriate :set function.
4092 (minibuffer-default--in-prompt-regexps): New function.
4094 2012-11-10 Glenn Morris <rgm@gnu.org>
4096 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4097 (define-modify-macro): Doc fixes.
4099 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4100 (gv-define-simple-setter): Update doc of `fix-return'.
4102 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4105 twice when `fix-return' is set (bug#12813).
4107 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4108 gv-define-simple-setter (bug#12812).
4110 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4113 2012-11-10 Glenn Morris <rgm@gnu.org>
4115 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4117 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4118 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4119 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4120 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4122 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4124 2012-11-10 Leo Liu <sdl.web@gmail.com>
4126 * ido.el (ido-set-matches-1): Improve flex matching performance by
4127 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4129 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4132 (ad--defalias-fset): New function.
4133 (ad-safe-fset): Remove.
4134 (ad-make-freeze-definition): Use cl-letf*.
4136 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * subr.el (dolist): Don't bind VAR in RESULT.
4140 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4141 (fset, documentation): Don't save real def since we don't advise.
4142 (ad-do-advised-functions): Remove problematic `result-form'.
4143 (ad-safe-fset): `ad-real-fset' => `fset'.
4144 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4145 uses CL's dolist internally.
4146 (ad-arglist): Remove unused arg `name'.
4147 (ad-docstring, ad-make-advised-docstring):
4148 `ad-real-documentation' => `documentation'.
4149 (warning-suppress-types): Declare.
4150 (ad-set-arguments): Simple CSE.
4151 (ad-recover-normality): Sanity check.
4153 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4154 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4156 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4158 * ses.el: symbol to coordinate mapping is made by symbol property
4159 `ses-cell'. This means that the same mapping is done for all SES
4160 sheets. That is good enough for cells with standard A1 names, but
4161 not for named cell. So a hash map is added for the latter.
4162 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4163 (ses-sym-rowcol): Use hashmap for named cell.
4164 (ses-is-cell-sym-p): New defun.
4165 (ses-decode-cell-symbol): New defun.
4166 (ses-create-cell-variable): Add cell to hashmap when name is not
4168 (ses-rename-cell): Check that cell new name is not already in
4169 spreadsheet with the use of ses-is-cell-sym-p
4170 (ses-rename-cell): Use hash map for named cells, but accept also
4171 renaming back to A1-like.
4173 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * emacs-lisp/advice.el: Use new dynamic docstrings.
4176 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4177 Use dynamic-docstring-function instead of ad-advice-info.
4178 (ad--make-advised-docstring): New function extracted from
4179 ad-make-advised-docstring.
4180 (ad-make-advised-docstring): Use it.
4181 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4183 (sql-help): Use it with dynamic-docstring-function.
4185 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4187 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * files.el (hack-one-local-variable--obsolete): New function.
4190 (hack-one-local-variable): Use it for obsolete settings.
4192 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4195 * progmodes/js.el (js--filling-paragraph): New var.
4196 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4197 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4200 2012-11-08 Julien Danjou <julien@danjou.info>
4202 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4203 `auto-mode-alist' (Bug#12835).
4205 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4207 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4208 (perl--prettify-symbols-alist): New const.
4209 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4211 (perl-font-lock-keywords-2): Use them.
4212 (perl-electric-noindent-p): New function.
4213 (perl-mode): Use it to set up electric-indent-mode.
4214 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4215 (perl-mode-map): Remove bindings for them.
4216 (perl-imenu-generic-expression, perl-outline-level):
4217 Match functions&packages in column>0.
4219 * env.el (env--substitute-vars-regexp): New const.
4220 (substitute-env-vars): Use it. Add `only-defined' arg.
4221 * net/tramp.el (tramp-replace-environment-variables): Use it.
4223 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4224 Byte-compile *before* eval in eval-and-compile.
4225 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4226 (byte-compile-file-form-autoload): Don't hide actual definition.
4227 (byte-compile-maybe-guarded): Accept `functionp' as well.
4229 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4231 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4233 * notifications.el (notifications-get-server-information-method):
4235 (notifications-get-capabilities): Fix docstring.
4236 (notifications-get-server-information): New defun.
4238 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4240 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4243 * textmodes/ispell.el: Experimental support for support debugging.
4244 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4246 (ispell-print-if-debug): New function to print stuff to
4247 `ispell-debug-buffer' if debugging is enabled.
4248 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4249 show some debugging info.
4250 (ispell-buffer-with-debug): New function that creates a debugging
4251 buffer and calls `ispell-buffer' with debugging enabled.
4253 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4254 comment in autoconf mode. (Bug#12768)
4256 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4258 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4259 frame-first-window, frame-root-window, frame-selected-window,
4260 minibuffer-selected-window, minibuffer-window,
4261 window-absolute-pixel-edges, window-at, window-body-height,
4262 window-body-width, window-display-table, window-combination-limit,
4263 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4264 window-inside-edges, window-inside-pixel-edges, window-left-child,
4265 window-left-column, window-margins, window-next-buffers,
4266 window-next-sibling, window-new-normal, window-new-total,
4267 window-normal-size, window-parameter, window-parameters, window-parent,
4268 window-pixel-edges, window-point, window-prev-buffers,
4269 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4270 window-start, window-text-height, window-top-child, window-top-line,
4271 window-total-height, window-total-width and window-use-time to the list
4272 of functions without side-effects.
4273 (toplevel): Add window-valid-p to the list of error-free functions
4274 without side-effects.
4276 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4278 * textmodes/ispell.el (ispell-program-name):
4279 Update spellchecker parameters when customized.
4281 2012-11-04 Glenn Morris <rgm@gnu.org>
4283 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4285 2012-11-04 Chong Yidong <cyd@gnu.org>
4287 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4288 same-window-* variables.
4290 2012-11-04 Juri Linkov <juri@jurta.org>
4292 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4293 (isearch-describe-key, isearch-describe-mode): Use a display
4294 action instead of binding same-window-* variables (Bug#10040).
4296 2012-11-03 Glenn Morris <rgm@gnu.org>
4298 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4299 Rename handler properties back from cl-- to cl-. (Bug#12788)
4301 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4303 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4305 * term/pc-win.el: Don't load term/internal from here.
4307 * loadup.el: Load term/internal from here.
4309 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4311 * progmodes/python.el (inferior-python-mode): Fix hang in
4312 jit-lock (Bug#12645).
4314 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4316 * window.el (switch-to-visible-buffer)
4317 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4319 2012-11-03 Glenn Morris <rgm@gnu.org>
4321 * emacs-lisp/cl-lib.el (cl--random-time):
4322 Rename from cl-random-time. (Bug#12773)
4323 (cl--gensym-counter, cl--random-state): Update callers.
4324 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4326 2012-11-03 Chong Yidong <cyd@gnu.org>
4328 * cus-start.el: Make cursor-type customizable (Bug#11633).
4330 2012-11-02 Glenn Morris <rgm@gnu.org>
4332 * filecache.el: No need to load find-lisp when compiling.
4333 (find-lisp-find-files): Autoload it.
4334 (file-cache-add-directory-recursively): Don't require find-lisp.
4336 * image.el (image-type-from-file-name): Trivial simplification.
4338 * emacs-lisp/bytecomp.el (byte-compile-eval):
4339 Decouple "noruntime" and "cl-functions" warnings.
4341 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4343 * play/gomoku.el (gomoku-display-statistics): Update mode line
4344 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4346 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4348 * window.el (quit-restore-window): If the window has been
4349 created on an existing frame and ended up as the sole window on
4350 that frame, do not delete it (Bug#12764).
4352 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4355 Rename from sh--inside-arithmetic-expression, handle more cases
4358 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4359 (sh-font-lock-open-heredoc): Use it (bug#12770).
4361 2012-10-30 Glenn Morris <rgm@gnu.org>
4363 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4365 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4367 2012-10-29 Chong Yidong <cyd@gnu.org>
4369 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4370 function key is stored in a keyboard macro (Bug#4894).
4372 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4374 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4376 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4378 (diff-unified->context, diff-context->unified)
4379 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4381 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4383 * files.el (find-alternate-file): Only ask one question (bug#12487).
4385 2012-10-29 Chong Yidong <cyd@gnu.org>
4387 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4388 Suggested by Dan Nicolaescu (Bug#6326).
4390 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4392 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4394 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4396 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4398 * face-remap.el (face-remap-add-relative): Handle the case where a
4399 face-remapping-alist entry is a cons cell (Bug#12762).
4401 2012-10-29 Kevin Ryde <user42@zip.com.au>
4403 * woman.el (woman-parse-numeric-value): Handle picas correctly
4406 2012-10-29 Glenn Morris <rgm@gnu.org>
4408 * emacs-lisp/cl.el (defsetf): Doc fix.
4410 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4413 syntax to the matching opener, if any (bug#12547).
4414 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4415 matching open as a "case-(".
4416 (sh-smie-rc-grammar): Add a corresponding rule for it.
4418 2012-10-28 Daniel Hackney <dan@haxney.org>
4420 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4421 "PKGNAME-autoloads.el" in case we created it.
4423 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4425 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4426 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4427 (completion--twq-all): Disable too-strict assertions.
4429 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4431 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4433 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4434 text to match the real keybindings.
4436 2012-10-27 Juri Linkov <juri@jurta.org>
4438 * wdired.el (wdired-keep-marker-rename): New defcustom.
4439 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4442 * dired.el (dired-keep-marker-rename): Add reference to
4443 `wdired-keep-marker-rename' in the docstring.
4444 Add default character value ?R to display initially in
4445 Customization UI instead of ?@.
4447 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4449 * window.el (display-buffer): In doc-string describe
4450 window-height and window-width alist entries.
4452 * time.el (display-time-world): Restore fit-window-to-buffer
4455 2012-10-27 Chong Yidong <cyd@gnu.org>
4457 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4459 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4461 * minibuffer.el (completion-category-overrides): New completion
4462 category `bookmark' (bug#11131).
4464 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4466 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4467 Silence bogus compiler warnings for ad-do-it.
4469 * bookmark.el (bookmark-completing-read): Set the completion category
4470 to `bookmark' (bug#11131).
4472 2012-10-26 Bastien <bzg@altern.org>
4473 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * face-remap.el: Use lexical-binding.
4476 (text-scale-adjust): Improve docstring. Use itself for the temporary
4477 overlay-map bindings, so as to repeat the "Use..." message each time.
4479 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4481 * emacs-lisp/macroexp.el (macroexp--expand-all):
4482 Obey byte-compile-warning-enabled-p (bug#12486).
4484 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4485 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4487 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4489 * mouse.el (mouse-drag-line): Move last form into preceding when
4492 * help.el (resize-temp-buffer-window): Fix doc-string.
4494 2012-10-25 David Engster <deng@randomsample.de>
4496 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4497 Remove. This feature is already integrated in imenu.
4499 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4500 always loaded. Require `speedbar' unconditionally.
4502 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4506 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4508 * net/ldap.el (ldap-search-internal): The official ldif format starts
4509 with a "version: 1" header (bug#12724).
4511 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4514 2012-10-25 Glenn Morris <rgm@gnu.org>
4516 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4518 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * minibuffer.el (minibuffer-force-complete): Use one more marker
4521 for the temporary-overlay-map command (bug#12619).
4523 2012-10-24 Chong Yidong <cyd@gnu.org>
4525 * time.el (display-time-world-mode): Derive from special-mode.
4526 (display-time-world): Use display-buffer (Bug#12708).
4527 (display-time-world-mode-map): Variable deleted.
4528 (display-time-world-display): Wrap the final delete-char inside
4531 2012-10-24 Chong Yidong <cyd@gnu.org>
4533 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4536 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4538 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * minibuffer.el (completion--all-sorted-completions-location): New var.
4541 (completion--cache-all-sorted-completions)
4542 (completion--flush-all-sorted-completions): Use it.
4543 (completion-in-region, completion-in-region--postch)
4544 (completion-at-point, completion-help-at-point): Use markers in
4545 completion-in-region--data (bug#12619).
4547 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * progmodes/compile.el (compilation-start): Try to handle common
4550 quoting of `cd' argument (bug#12640).
4552 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4555 2012-10-23 Glenn Morris <rgm@gnu.org>
4557 * progmodes/gud.el (gud-menu-map):
4558 Check gdb-active-process is bound. (Bug#12358)
4560 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4562 * repeat.el (repeat): Set real-this-command (bug#12232).
4564 * htmlfontify.el (hfy-post-html-hook):
4565 * filesets.el (filesets-cache-fill-content-hook):
4566 * arc-mode.el (archive-extract-hook):
4567 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4568 * net/rcirc.el (rcirc-sentinel-functions)
4569 (rcirc-receive-message-functions, rcirc-activity-functions)
4570 (rcirc-print-functions):
4571 * net/dbus.el (dbus-event-error-functions):
4572 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4573 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4574 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4575 * term/sun.el (sun-raw-prefix-hooks):
4576 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4578 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4580 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4581 Set `tramp-chunksize' to 1. This improves the performance.
4582 (tramp-smb-wait-for-output): Add timeout to
4583 `tramp-accept-process-output' calls.
4585 2012-10-23 Chong Yidong <cyd@gnu.org>
4587 * faces.el (font-list-limit): Define as an obsolete variable.
4589 * startup.el (command-line):
4590 * cus-start.el: Don't refer to font-list-limit.
4592 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4594 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * subr.el (internal-temp-output-buffer-show): Rename from
4597 temp-output-buffer-show, since previously compiled files expect this name.
4599 2012-10-23 Glenn Morris <rgm@gnu.org>
4601 * image.el (image-type-from-file-name): If multiple types match,
4602 return the first one that is supported. (Bug#9045)
4604 2012-10-22 Glenn Morris <rgm@gnu.org>
4606 * image.el (imagemagick-enabled-types): Doc fix.
4608 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4610 * progmodes/which-func.el (which-func-current): The hash-table may have
4611 an explicit nil (bug#12338).
4613 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4615 * electric.el (electric-pair-delete-selection-self-insert-function):
4616 Rename to electric-pair-will-use-region, return a boolean.
4617 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4619 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4620 (delete-selection-pre-hook): Use use-region-p.
4621 (delete-selection-self-insert-function): Remove.
4622 (self-insert-command): Obey self-insert-uses-region-functions.
4623 (self-insert-iso): Revert to previous setting, since we don't actually
4624 know what that command does.
4625 (delete-selection-self-insert-hooks): Remove.
4627 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4629 * delsel.el (delete-selection-helper): New function, extracted from
4630 delete-selection-pre-hook.
4631 (delete-selection-pre-hook): Use it.
4632 (delete-selection-self-insert-function): New function.
4633 (delete-selection-self-insert-hooks): New hook.
4634 (self-insert-command, self-insert-iso): Use it.
4635 * electric.el (electric-pair-syntax): New function, extracted from
4636 electric-pair-post-self-insert-function.
4637 (electric-pair-post-self-insert-function): Use it.
4638 (electric-pair-delete-selection-self-insert-function): New function.
4639 (electric-pair-mode): Require delsel and setup
4640 delete-selection-self-insert-hooks (bug#11520).
4642 2012-10-20 Chong Yidong <cyd@gnu.org>
4644 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4645 no changes to show (Bug#12586).
4647 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4648 list explicitly (Bug#12571).
4650 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4652 * progmodes/flymake.el (flymake-create-temp-inplace):
4655 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4657 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4659 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4661 * calc/calc-units.el (math-extract-units): Properly extract powers
4664 2012-10-20 Daniel Colascione <dancol@dancol.org>
4666 * frame.el (make-frame): Set x-display-name as we used to in order
4667 to unbreak creating an X11 frame from an Emacs daemon started
4670 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4672 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4673 the same completion-field (bug#12221).
4675 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4677 * emacs-lisp/debug.el (debug): Record height of debugger window
4678 also when debugger will be back (Bug#8789).
4680 2012-10-18 Chong Yidong <cyd@gnu.org>
4682 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4683 Convert to defcustom.
4684 (gdb-get-source-file): Don't bind pop-up-windows.
4686 * progmodes/gud.el (gud-display-line): Don't specially re-use
4687 other frames for the gdb-mi case (Bug#12648).
4689 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4691 * emacs-lisp/advice.el: Clean up commentary a bit.
4692 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4693 (byte-code-function-p): Never redefine.
4695 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4697 2012-10-18 Glenn Morris <rgm@gnu.org>
4699 * dired.el (dired-sort-toggle): Some ls implementations only allow
4700 a single option string. (Bug#12666)
4702 * minibuffer.el (completion-cycle-threshold): Doc fix.
4704 2012-10-17 Kenichi Handa <handa@gnu.org>
4706 * international/mule.el (set-keyboard-coding-system):
4707 Recover input meta mode when the new coding system doesn not use 8-bit.
4708 Supply TERMINAL arg to set-input-meta-mode.
4710 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4712 * wdired.el (wdired-old-marks): New variable.
4713 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4714 (wdired-do-renames): Move point with renamed file and don't lose
4715 mark status (Bug#11795).
4717 2012-10-16 Juri Linkov <juri@jurta.org>
4719 * replace.el (query-replace-help): Mention multi-buffer replacement
4720 keys in the Help message. (Bug#12655)
4722 2012-10-15 Chong Yidong <cyd@gnu.org>
4724 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4726 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4728 * window.el (display-buffer): Doc fix.
4730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4731 Adjust the msft regexp to the output of Studio 2010, and move msft
4732 before edg-1. See the discussion on emacs-devel,
4733 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4736 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4739 (oset): Move uses of object-class-fast macro after its definition.
4741 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4743 2012-10-13 Chong Yidong <cyd@gnu.org>
4745 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4746 enabled, re-enable it (Bug#11963).
4748 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4750 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4751 non-nil, restore window configuration (Bug#12623).
4753 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * help-fns.el (describe-variable, describe-function-1):
4756 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4758 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4760 2012-10-12 Glenn Morris <rgm@gnu.org>
4762 * mail/rmailsum.el (rmail-header-summary):
4763 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4765 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4767 * progmodes/python.el (python-mode-map):
4768 Replace subtitute-key-definition with proper command remapping.
4769 (python-nav--up-list): Fix behavior for blocks on the same level.
4771 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4773 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4775 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4776 changes to the format of load-history.
4778 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4779 completion-ignore-case in case that var is buffer-local (bug#12615).
4781 2012-10-11 Kenichi Handa <handa@gnu.org>
4783 * international/eucjp-ms.el: Re-generated.
4785 2012-10-10 Kenichi Handa <handa@gnu.org>
4787 * select.el (xselect--encode-string): If a coding is specified for
4788 selection, and that is compatible with COMPOUND_TEXT, use it.
4790 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4792 * window.el (switch-to-buffer-preserve-window-point): New option.
4794 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4796 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4799 Don't document nil as a useful value (bug#12583).
4801 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4803 * net/tramp.el (tramp-debug-message):
4804 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4805 (with-tramp-progress-reporter): Rename from
4806 `tramp-with-progress-reporter'.
4807 (with-tramp-file-property, with-tramp-connection-property):
4808 Move from tramp-cache.el, rename from `with-file-property' and
4809 `with-connection-property', respectively.
4811 * net/tramp-cache.el: Remove `with-file-property' and
4812 `with-connection-property'.
4815 * net/tramp-gvfs.el:
4817 * net/tramp-smb.el: Adapt callees.
4819 * net/trampver.el: Update release number.
4821 2012-10-09 Glenn Morris <rgm@gnu.org>
4823 * w32-fns.el (set-message-beep):
4824 * term/w32-win.el (set-message-beep): Update declarations.
4826 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4828 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4829 (mode-line-widen, mode-line-input-method-map)
4830 (mode-line-coding-system-map, mode-line-remote)
4831 (mode-line-unbury-buffer, mode-line-bury-buffer)
4832 (mode-line-next-buffer, mode-line-previous-buffer):
4833 Replace save-selected-window+select-window => with-selected-window.
4835 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4836 * progmodes/cc-vars.el (bq-process): Remove, unused.
4838 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4840 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4842 Implemented `backward-up-list'-like navigation.
4843 * progmodes/python.el (python-nav-up-list)
4844 (python-nav-backward-up-list): New functions.
4845 (python-mode-map): Define substitute key for backward-up-list to
4846 python-nav-backward-up-list.
4848 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4850 * progmodes/python.el (python-fill-paragraph): Rename from
4851 python-fill-paragraph-function. Fixed fill-paragraph for
4852 decorators (Bug#12605).
4854 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4856 * progmodes/python.el (python-shell-output-filter): Handle extra
4857 carriage return in OSX (Bug#12409).
4859 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4861 Fix shell handling of unbalanced quotes and parens in output.
4862 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4863 (python-syntax-propertize-function): Use it.
4864 (python-shell-output-syntax-table): New var.
4865 (inferior-python-mode): Prevent unbalanced parens/quotes from
4866 previous output mess with current input context.
4868 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4870 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4871 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4873 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4875 * ffap.el (ffap-replace-file-component): Support Tramp file name
4876 syntax, not only ange-ftp's one.
4878 2012-10-08 Glenn Morris <rgm@gnu.org>
4880 * cus-start.el (message-log-max): Set :version.
4882 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4884 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4886 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4887 the minibuffer window (Bug#10851).
4889 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4891 Enhancements on forward-sexp movement.
4892 * progmodes/python.el (python-nav-beginning-of-statement)
4893 (python-nav-end-of-statement): Return point-marker.
4894 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4895 (python-info-current-symbol)
4896 (python-info-statement-starts-block-p): Rename from
4897 python-info-beginning-of-block-p.
4898 (python-info-statement-ends-block-p): Rename from
4899 python-info-end-of-block-p.
4900 (python-info-beginning-of-statement-p)
4901 (python-info-end-of-statement-p)
4902 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4905 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4907 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4908 frame-selected-windows.
4910 2012-10-08 Daniel Colascione <dancol@dancol.org>
4912 * battery.el (battery-status-function): Check for
4913 w32-battery-status itself, not system-time windows-nt.
4915 * frame.el: Require cl-lib.
4916 (display-format-alist): New variable mapping frame types to
4917 functions that initialize them.
4918 (window-system-for-display): New function: interprets
4919 display-format-alist.
4920 (make-frame-on-display): Remove existing display-selection logic
4921 and just forward to make-frame, which will now DTRT.
4922 (make-frame): Restructure to use window-system-for-display to
4923 figure out how to create a frame on a given display.
4924 (display-mouse-p): Look for frame-type w32, not a particular
4927 * loadup.el: Load w32 lisp code when we have the w32 feature.
4929 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4930 system-type windows-nt.
4932 * server.el (server-create-window-system-frame): Look for window
4934 (server-proces-filter): Only force a window system when windows-nt
4935 _and_ w32. Explain why.
4937 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4938 of window systems we configure for the mode.
4940 * startup.el (command-line): Mark window system is initialized
4941 after we've done it.
4943 * common-win.el (x-select-text): Look for w32, not windows-nt.
4945 * ns-win.el: Require cl-lib. Add ourselves to
4946 display-format-alist.
4947 (ns-initialize-window-system): Assert we're not initialized twice.
4949 * w32-win.el: Enable lexical binding; require cl-lib; add
4950 ourselves to display-format-alist.
4951 (w32-handle-dropped-file): Convert incoming dropped files from
4952 Windows paths to Cygwin ones before passing them on to the rest of
4954 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4955 (w32-initialize-window-system): Assert we're not initialized twice.
4957 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4958 (x-initialize-window-system): Assert we're not initialized twice.
4960 * w32-common-fns.el: New File.
4961 (w32-version, w32-using-nt, w32-get-clipboard-data)
4962 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4963 (w32-charset-info-alist, x-last-selected, text)
4964 (x-get-selection-value, x-selection-value): Move here.
4966 * w32-fns.el: Require w32-common-fns.
4967 (w32-version, w32-using-nt, w32-get-clipboard-data)
4968 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4969 (w32-charset-info-alist, x-last-selected, text)
4970 (x-get-selection-value, x-selection-value): Move to
4974 (w32-allow-system-shell, w32-system-shells): Define only in
4977 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4979 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4980 (read-passwd): Remove a few more potential sources of leaks.
4982 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4984 * progmodes/python.el (inferior-python-mode)
4985 (python-shell-make-comint): Fix initialization of local
4986 variables copied from parent buffer.
4988 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4990 * term/ns-win.el (ns-read-file-name): Update declaration to match
4992 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4993 it is set when font is acted upon.
4995 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4997 Enhancements to indentation.
4998 * progmodes/python.el (python-indent-context): Give priority to
4999 inside-string context. Make comments indentation markers.
5000 (python-indent-region): Do not mess with strings, unless it's the
5001 enclosing set of quotes.
5003 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * window.el (internal--before-save-selected-window)
5006 (internal--after-save-selected-window): New functions extracted from
5007 save-selected-window. Make sure we return the `alist' we construct.
5008 (save-selected-window): Use them.
5010 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5011 Use with-selected-window.
5013 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5014 forms that define macros (bug#12593).
5016 2012-10-07 Kenichi Handa <handa@gnu.org>
5018 * international/mule-conf.el (compound-text-with-extensions):
5019 Add :mime-charset property as x-ctext.
5021 2012-10-07 Stefan Merten <smerten@oekonux.de>
5023 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5024 (rst-indent-literal-normal, rst-indent-literal-minimized)
5025 (rst-indent-comment): Correct :version tag.
5026 (rst-official-cvs-rev): Correct version string.
5028 2012-10-07 Glenn Morris <rgm@gnu.org>
5030 * mail/rmailmm.el (rmail-mime-process-multipart):
5031 Do not confuse a multipart message with an epilogue
5032 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5034 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5036 Fix shell output retrieval and comint-prompt-regexp init.
5037 * progmodes/python.el (inferior-python-mode):
5038 (python-shell-make-comint): Fix initialization of
5039 comint-prompt-regexp from copied file local variables.
5040 (python-shell-fetched-lines): Remove var.
5041 (python-shell-output-filter-in-progress): Rename from
5042 python-shell-fetch-lines-in-progress.
5043 (python-shell-output-filter-buffer): Rename from
5044 python-shell-fetch-lines-string.
5045 (python-shell-fetch-lines-filter): Delete function.
5046 (python-shell-output-filter): New function.
5047 (python-shell-send-string-no-output): Use them.
5049 2012-10-07 Glenn Morris <rgm@gnu.org>
5051 * hi-lock.el (hi-lock-process-phrase):
5052 Try to make it less fragile. (Bug#7161)
5054 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5056 2012-10-06 Glenn Morris <rgm@gnu.org>
5058 * ehelp.el (electric-help-mode): Use help-mode rather than
5059 non-existent mode `help'.
5060 (electric-help-map): Use button-buffer-map. (Bug#10917)
5062 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5063 (reftex-create-bibtex-footer): Fix custom types.
5065 * progmodes/sh-script.el (sh-indent-after-continuation):
5066 Add explicit :group.
5068 * textmodes/rst.el (rst-preferred-decorations)
5069 (rst-shift-basic-offset): Clarify obsolescence versions.
5071 * profiler.el (profiler): Add missing group :version tag.
5072 * avoid.el (mouse-avoidance-banish-position):
5073 * proced.el (proced-renice-command):
5074 * calc/calc.el (calc-ensure-consistent-units):
5075 * calendar/icalendar.el (icalendar-import-format-uid):
5076 * net/tramp.el (tramp-save-ad-hoc-proxies):
5077 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5078 * progmodes/flymake.el (flymake-error-bitmap)
5079 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5080 * progmodes/sh-script.el (sh-indent-after-continuation):
5081 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5082 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5083 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5084 (vhdl-array-index-record-field-in-sensitivity-list)
5085 (vhdl-indent-comment-like-next-code-line):
5086 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5087 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5088 (reftex-cite-key-separator, reftex-create-bibtex-header)
5089 (reftex-create-bibtex-footer):
5090 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5091 (rst-indent-literal-normal, rst-indent-literal-minimized)
5092 (rst-indent-comment): Add missing custom :version tags.
5094 * calendar/timeclock.el (timeclock-modeline-display):
5095 Add missing obsolete alias for renamed user option.
5097 * strokes.el (strokes-modeline-string):
5098 * emulation/crisp.el (crisp-mode-modeline-string):
5099 * eshell/esh-mode.el (eshell-status-in-modeline):
5100 Aliases to defcustoms must come before the defcustom.
5102 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5103 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5104 (cal-tex-cursor-week-monday): Doc fixes.
5105 (cal-tex-cursor-week2-summary): Doc fix.
5106 Rename from cal-tex-cursor-week-at-a-glance.
5108 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5109 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5111 * calendar/calendar.el (calendar-mode-map):
5112 Add cal-tex-cursor-week2-summary.
5114 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5118 * subr.el (read-passwd-map): New var.
5119 (read-passwd): Use `read-string' again.
5120 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5122 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5124 * register.el (append-to-register, prepend-to-register):
5125 Deactivate mark, as does `copy-to-register' (bug#12389).
5127 2012-10-06 Chong Yidong <cyd@gnu.org>
5129 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5131 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5133 * international/characters.el: Fix simple mistake ((car chars) ->
5134 elt), delete duplicated code.
5136 2012-10-06 Glenn Morris <rgm@gnu.org>
5138 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5140 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5142 * color.el (color-hsl-to-rgb): Fix incorrect results for
5143 small and large hue values. (Bug#12559)
5145 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5147 Enhancements to docstring formatting when filling paragraphs.
5148 * progmodes/python.el (python-fill-docstring-style): Rename from
5149 python-fill-string-style. Added new style.
5150 (python-fill-string): Use new style. Better checks for
5153 2012-10-05 Glenn Morris <rgm@gnu.org>
5155 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5157 * color.el (color-name-to-rgb, color-rgb-to-hex)
5158 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5159 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5160 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5161 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5163 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5165 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5167 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5168 to get the correct size across symlinks.
5170 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5172 2012-10-04 Juri Linkov <juri@jurta.org>
5174 * replace.el (query-replace-interactive): Declare obsolete.
5175 (query-replace-read-from): Add the last incremental search string
5176 to the list of default values accessible via M-n.
5177 (map-query-replace-regexp): Use `read-regexp'.
5178 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5179 (map-query-replace-regexp, replace-string, replace-regexp):
5180 Fix docstrings to replace mentions of `query-replace-interactive'
5181 with alternatives. (Bug#12526)
5183 2012-10-04 Juri Linkov <juri@jurta.org>
5185 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5186 (dired-pop-to-buffer): Declare obsolete.
5187 (dired-mark-pop-up): Doc fix.
5189 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5191 Allow user to set docstring style for fill-paragraph.
5192 * progmodes/python.el
5193 (python-fill-comment-function, python-fill-string-function)
5194 (python-fill-decorator-function, python-fill-paren-function):
5195 Remove :safe for defcustoms.
5196 (python-fill-string-style): New defcustom
5197 (python-fill-paragraph-function): Enhance context detection.
5198 (python-fill-string): Honor python-fill-string-style settings.
5200 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5202 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5203 after setting its buffer (Bug#10805).
5205 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5207 Fix cornercase for string syntax.
5208 * progmodes/python.el (python-syntax-propertize-function):
5209 Simplify and enhance the regexp for unescaped quotes. Now it also
5210 matches quotes in weird situations like the single quote in
5212 (python-syntax-stringify): Simplify num-quotes detecting code.
5214 2012-10-03 Glenn Morris <rgm@gnu.org>
5216 * help-macro.el (three-step-help):
5217 Revert 2012-09-29 change. (Bug#12567)
5219 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5221 * menu-bar.el (kill-this-buffer): Don't do anything when
5222 `menu-frame' is not alive or visible (Bug#8184).
5224 * emacs-lisp/debug.el (debug): When quitting the debugger window
5225 restore current buffer (Bug#12502).
5227 2012-10-02 Chong Yidong <cyd@gnu.org>
5229 * progmodes/hideif.el (hif-lookup, hif-defined):
5230 Handle semantic-c-takeover-hideif.
5232 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5234 Change sampling interval units from ms to ns.
5235 * profiler.el (profiler-sampling-interval): Change units
5236 from ms to ns, multiplying the default by 1000000 so that
5238 (profiler-report-cpu-line-format): Give enough room for
5239 the maximum counters on 64-bit hosts.
5240 (profiler-report-render-calltree-1): Call them "CPU samples",
5241 not "Time (ms)", since they are not milliseconds now (and
5244 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5246 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5247 Fix querying BBDB for entries without a last name (Bug#11580).
5249 2012-10-02 Chong Yidong <cyd@gnu.org>
5251 * emacs-lisp/eieio.el: Restore Version header.
5253 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5255 * vc/diff-mode.el (diff--auto-refine-data): New var.
5256 (diff-hunk): Use it to delay refinement.
5257 (diff-mode): Remove overlays when we turn off font-lock.
5259 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5260 (table-initialize-table-fixed-width-mode)
5261 (table-set-table-fixed-width-mode): Remove functions.
5262 (table-command-list): Move initialization into declaration.
5263 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5264 (table-with-cache-buffer): Use `declare'.
5265 (table-span-cell): Simplify via CSE.
5266 (table-fixed-width-mode): Use define-minor-mode.
5267 (table-call-interactively, table-funcall, table-apply): Remove.
5268 (table-function): New function, to replace them.
5270 * bookmark.el (bookmark-search-pattern): Remove var.
5271 (bookmark-read-search-input): Remove function.
5272 (bookmark-bmenu-search): Reimplement using a minibuffer.
5274 * faces.el (modeline): Remove obsolete face name.
5276 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5277 and give a non-nil default value.
5278 (add-change-log-entry): Simplify accordingly.
5280 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5282 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5283 (vc-git-log-edit-toggle-amend): New function.
5284 (vc-git-log-edit-toggle-signoff): New function.
5285 (vc-git-log-edit-mode): New major mode.
5286 (vc-git-log-edit-mode-map): Keymap for it.
5287 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5289 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5291 (log-edit-toggle-header): New function.
5292 (log-edit-extract-headers): Accept function values in HEADERS alist.
5294 2012-10-01 David Engster <deng@randomsample.de>
5296 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5297 from symbol property and change message to be more consistent with
5299 (eieio-describe-generic): Add filename for each implementation.
5300 Fix indices for generic and normal methods.
5301 (eieio-method-def, eieio-class-def): New buttons.
5302 (eieio-help-find-method-definition)
5303 (eieio-help-find-class-definition): New functions.
5304 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5305 class, constructor and method definitions.
5307 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5308 information in symbol property.
5309 (scoped-class): Remove.
5310 (eieio-slot-name-index, call-next-method): Check if it is bound.
5312 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5314 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5315 (eieio-custom-mode): New major mode.
5316 (eieio-customize-object): Use it.
5318 2012-10-01 Eric Ludlam <zappo@gnu.org>
5320 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5321 specifying the expected class, and whether subclassing is allowed.
5322 (eieio-persistent-convert-list-to-object):
5323 (eieio-persistent-validate/fix-slot-value)
5324 (eieio-persistent-slot-type-is-class-p): New functions.
5325 (eieio-named::slot-missing): Doc fix.
5327 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5328 Stop using unused publd variable.
5330 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5331 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5332 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5333 (eieio-speedbar-handle-click): Do not specify a class for the
5334 method. Fixes method invocation order problems with EDE.
5336 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5339 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5341 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5343 * bookmark.el (bookmark-version-control): Give tags in the
5344 :type choices (Bug#12309), and improve doc string.
5345 (bookmark-write-file): Bind `print-circle' to `t' to allow
5346 circular custom bookmark types. (Bug#12503)
5348 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5350 Revert the FOLLOW-SYMLINKS change for file-attributes.
5351 * files.el (remote-file-name-inhibit-cache, after-find-file):
5352 * time.el (display-time-file-nonempty-p): Undo last change.
5354 * profiler.el (profiler-sampling-interval): Change default back to 1.
5355 See Stefan Monnier in
5356 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5358 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5360 Shell output catching a la gud-gdb.
5361 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5362 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5364 (python-shell-fetch-lines-filter): New function.
5365 (python-shell-send-string-no-output): Use them.
5367 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5369 * profiler.el (profiler-sampling-interval): Rename from
5370 profiler-sample-interval.
5371 (profiler-sampling-interval): Default to 10.
5372 (profiler-find-profile): New command (was profiler-find-log).
5373 (profiler-find-profile-other-window): New command.
5374 (profiler-find-profile-other-frame): New command.
5375 (profiler-profile): Introduce API-level data structure.
5377 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5379 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5380 * files.el (remote-file-name-inhibit-cache):
5381 * time.el (display-time-file-nonempty-p): Use it.
5382 * files.el (after-find-file): Don't chase links before calling
5383 file-exists-p, as file-exists-p already does the right thing.
5385 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5387 Merge from standalone RefTeX repository.
5389 The following ChangeLog entries are shortened versions of the
5390 original ones with file paths adapted. A not so strongly edited
5391 version of the original ChangeLog can be found in the commit log.
5393 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5394 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5395 Correctly handle new value type returned by `reftex-citation'.
5397 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5398 that entries with whitespace at various places are found.
5399 Doc fix. Include entries that are cross-referenced from cited entries.
5400 Include @String definitions in the resulting bib file. Add header
5401 and footer defined in `reftex-create-bibtex-header' and
5402 `reftex-create-bibtex-footer'.
5403 (reftex-do-citation): Make it possible again to insert
5404 non-existent entries. Save match data when asking for optional
5405 arguments. Return all keys, not just the first one.
5406 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5407 all citations in the same line.
5408 (reftex-parse-bibtex-entry): Accept additional optional argument
5409 `raw' and keep quotes or braces if it is non-nil. Match fields
5410 containing hyphens besides word constituents.
5411 (reftex-get-string-refs): New function.
5412 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5413 and ask if it should be reread in case it did.
5414 (reftex-pop-to-bibtex-entry)
5415 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5416 entries with spaces or tabs in front of arguments.
5417 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5418 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5419 Match entries containing numbers and symbol constituents.
5420 (reftex-do-citation, reftex-figure-out-cite-format):
5421 Use `reftex-cite-key-separator'.
5423 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5424 (reftex-mouse-view-crossref): Explain why point is set.
5426 * textmodes/reftex-global.el: Whitespace changes.
5428 * textmodes/reftex-index.el: Move provide statement to end of
5430 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5431 (reftex-index-visit-phrases-buffer): Set marker when visiting
5432 buffer. This allows for returning from the phrases file to the
5433 file one was just editing instead of the file where the last
5434 phrases was added from.
5435 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5436 punctuation syntax as it usually is not used as string quote in
5437 TeX-related modes and may occur unmatched. The change also
5438 prevents fontification of quoted content.
5439 (reftex-index-phrases-mode): Use it.
5441 * textmodes/reftex-parse.el (reftex-parse-from-file):
5442 Move backward one char if a `\' was matched after a section macro.
5443 (reftex-parse-from-file): Use beginning of match instead of end as
5446 * textmodes/reftex-ref.el: Adapt creation of
5447 `reftex-<package>-<macro>' functions to new structure of
5448 `reftex-ref-style-alist'.
5449 (reftex-reference): Use `reftex-ref-style-list' function.
5450 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5451 reference macro if `reftex-ref-macro-prompt' is non-nil.
5452 (reftex-reference): Pass refstyle to `reftex-format-special'.
5453 Determine reference macro by looking at
5454 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5455 Use only one special format function.
5456 (reftex-varioref-vref, reftex-fancyref-fref)
5457 (reftex-fancyref-Fref): Remove definitions. The functions are now
5458 generated from `reftex-ref-style-alist'.
5459 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5461 (reftex-format-special): New function.
5463 * textmodes/reftex-sel.el
5464 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5465 of `reftex-ref-style-alist'. Remove code for testing macro type.
5466 (reftex-select-toggle-varioref)
5467 (reftex-select-toggle-fancyref): Remove.
5468 (reftex-select-cycle-ref-style-internal)
5469 (reftex-select-cycle-ref-style-forward)
5470 (reftex-select-cycle-ref-style-backward): New functions.
5471 (reftex-select-label-map): Use `v' and `V' for general cycling
5472 through reference styles. Add `p' for switching between number
5473 and page reference types.
5475 * textmodes/reftex-toc.el (reftex-re-enlarge):
5476 Call `enlarge-window' only if there is something to do because in Emacs
5477 the horizontal version throws an error even if the parameter is 0.
5479 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5480 (reftex-plug-into-AUCTeX): Doc fix.
5481 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5482 string. Adapt to new name.
5483 (reftex-ref-style-alist): Change structure so that it is not
5484 possible to use multiple different package names within a style.
5485 Remove the symbols for symbols for macro type distinction.
5486 Add characters for macro selection.
5487 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5488 (reftex-create-bibtex-footer): New variables.
5489 (reftex-format-ref-function): Mention third argument of special
5491 (reftex-ref-style-alist, reftex-ref-style-default-list):
5493 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5494 to new implementation. Mark as obsolete. Add compatibility code
5495 for honoring the variable values in case they are set.
5496 (reftex-cite-format-builtin, reftex-bibliography-commands):
5497 Add support for ConTeXt.
5498 (reftex-format-ref-function, reftex-format-cite-function):
5500 (reftex-cite-key-separator): New variable.
5502 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5503 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5504 `reftex-syntax-table' because parens have to retain their paren
5505 syntax in order for parsing of BibTeX entries like @book(...) to
5507 (reftex-in-comment): Do not error out if `comment-start-skip' is
5508 not set. Deal correctly with escaped comment characters.
5509 (reftex-tie-multifile-symbols): Add doc string.
5510 Initialize `reftex-ref-style-list'.
5511 (reftex-untie-multifile-symbols): Add doc string.
5512 (reftex-add-index-macros): Doc fix.
5513 (reftex-ref-style-activate, reftex-ref-style-toggle)
5514 (reftex-ref-style-list): New functions.
5515 (reftex-mode-menu): Use them. Adapt to new structure of
5516 `reftex-ref-style-alist'.
5517 (reftex-select-with-char): Kill the RefTeX Select buffer when
5519 (reftex-remove-if): New function.
5520 (reftex-erase-all-selection-and-index-buffers)
5521 (reftex-mode-menu): Reference styles are now computed from
5522 `reftex-ref-style-alist'. Fix typo.
5523 (reftex-report-bug): New function.
5524 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5525 algorithms with O(n log n). Introduce optional argument SORT (not
5528 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5530 Enhancements for triple-quote string syntax.
5531 * progmodes/python.el (python-syntax-propertize-function):
5532 Match both quote cases in one regexp.
5533 (python-syntax-stringify): Handle matches properly.
5535 2012-09-30 Juri Linkov <juri@jurta.org>
5537 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5538 to nil around the call to `insert' to prevent
5539 directory time modification by lock_file. (Bug#2295)
5540 * tar-mode.el (tar-summarize-buffer): Idem.
5542 2012-09-30 Juri Linkov <juri@jurta.org>
5544 * facemenu.el (list-colors-sort): Add option "Luminance".
5545 (list-colors-sort-key): Implement it.
5547 * vc/diff-mode.el (diff-refine-removed):
5548 * vc/ediff-init.el (ediff-fine-diff-A):
5549 * vc/smerge-mode.el (smerge-refined-removed):
5550 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5552 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5554 * term/ns-win.el (x-file-dialog): New function.
5556 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5558 * ido.el (ido-max-directory-size): Default to nil; the current
5559 default is small for POSIX systems, and impractical on Windows 7
5560 now that lstat returns directory sizes for NTFS.
5562 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5564 In buffer display functions handle window-height/window-width
5565 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5566 * window.el (window--display-buffer): New argument ALIST.
5567 Obey window-height and window-width alist entries.
5568 (window--try-to-split-window): New argument ALIST.
5569 Bind window-combination-limit to t when the window's size shall be
5570 changed and window-combination-limit equals `window-size'.
5571 (display-buffer-in-atom-window)
5572 (display-buffer-in-major-side-window)
5573 (display-buffer-in-side-window, display-buffer-same-window)
5574 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5575 (display-buffer-pop-up-window, display-buffer-below-selected)
5576 (display-buffer-at-bottom, display-buffer-in-previous-window)
5577 (display-buffer-use-some-window): Adjust all callers of
5578 window--display-buffer and window--try-to-split-window.
5579 (fit-frame-to-buffer): New option.
5580 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5582 (display-buffer-in-major-side-window): Evaluate window-height /
5583 window-width alist entries.
5585 * help.el (temp-buffer-resize-frames)
5586 (temp-buffer-resize-regexps): Remove options.
5587 (temp-buffer-resize-mode): Adjust doc-string.
5588 (resize-temp-buffer-window): Don't consult
5589 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5590 temp-buffer-resize-frames.
5592 * dired.el (dired-mark-pop-up):
5593 Call display-buffer-below-selected with a fit-window-to-buffer alist
5596 2012-09-30 Chong Yidong <cyd@gnu.org>
5598 * server.el (server-host): Document the security implications.
5599 (server-auth-key): Doc fix.
5601 * startup.el (initial-buffer-choice): Doc fix.
5603 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5605 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5608 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5610 * help-fns.el (help-fns--obsolete): Fix last change.
5612 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5614 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5615 (minor-mode-map-alist): Remove redundant code.
5617 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5618 visited in a buffer.
5619 (cvs-insert-visited-file): New function.
5620 (find-file-hook): Use it.
5622 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5624 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5626 (log-edit-empty-buffer-p): Don't require a space after a header.
5628 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5630 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5632 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5633 a proper minor-mode.
5635 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5637 2012-09-29 Glenn Morris <rgm@gnu.org>
5639 * winner.el (winner-mode): Remove variable (let define-minor-mode
5641 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5643 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5644 (winner-mode): Use define-minor-mode.
5646 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5647 the full definition in loaddefs, rather than duplicating it.
5649 * help-macro.el (three-step-help): No need to autoload defcustom.
5651 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5652 (inferior-lisp-program, inferior-lisp-load-command)
5653 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5654 No need to autoload defcustoms.
5656 * hippie-exp.el (hippie-expand-try-functions-list)
5657 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5658 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5659 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5660 (hippie-expand-only-buffers): No need to autoload defcustoms.
5661 * progmodes/vhdl-mode.el (vhdl-line-expand):
5662 Explicitly load hippie-exp, so it does not get autoloaded
5663 while hippie-expand-try-functions-list is let-bound.
5665 2012-09-28 Glenn Morris <rgm@gnu.org>
5667 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5669 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5670 Only "cl.el" counts as cl these days.
5672 2012-09-28 Juri Linkov <juri@jurta.org>
5674 Display archive errors in the echo area instead of inserting
5677 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5678 to STDERR-TEST that can be a regexp matching a successful output.
5679 Create a temporary file and redirect stderr to it. Search for
5680 STDERR-TEST in the stderr output and display it in the echo area
5681 if no match is found.
5682 (archive-extract-by-file): New function like
5683 `archive-extract-by-stdout' but extracting archives to files
5684 and looking for successful matches in stdout. Function body is
5685 mostly copied from `archive-rar-extract'.
5686 (archive-rar-extract): Use `archive-extract-by-file'.
5687 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5689 2012-09-28 Leo Liu <sdl.web@gmail.com>
5691 * pcomplete.el (pcomplete-show-completions):
5692 Use minibuffer-message to make pcomplete usable in minibuffer.
5694 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5696 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5698 * type-break.el: Use lexical-binding.
5699 (type-break-mode): Use define-minor-mode.
5701 * emacs-lisp/pcase.el (pcase--mark-used): New.
5702 (pcase--u1): Use it (bug#12512).
5704 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5705 in load-history with the right file name.
5707 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5709 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5710 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5711 (doc-view-get-bounding-box): Make bounding box slicing work for
5712 ODF and DVI documents.
5714 2012-09-28 Glenn Morris <rgm@gnu.org>
5716 * type-break.el (type-break-mode, type-break-interval)
5717 (type-break-good-rest-interval, type-break-keystroke-threshold):
5718 No need to autoload.
5719 (type-break-good-rest-interval, type-break-keystroke-threshold):
5722 2012-09-28 Chong Yidong <cyd@gnu.org>
5724 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5727 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5729 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5731 2012-09-27 Glenn Morris <rgm@gnu.org>
5733 * faces.el (x-display-name): Declare (for without-x builds).
5735 * linum.el (linum-format): Don't autoload it. Improve :type.
5737 * progmodes/tcl.el: Don't require outline when compiling.
5738 (outline-regexp, outline-level): Declare.
5739 * textmodes/sgml-mode.el: Don't require outline when compiling.
5740 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5742 * term.el (term-ansi-reset):
5743 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5745 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5746 files for RCS and SCCS. (Bug#9781)
5748 2012-09-27 Chong Yidong <cyd@gnu.org>
5750 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5751 change; value should be t.
5753 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5755 * image-mode.el: Use lexical-binding.
5756 (image-mode-winprops): Use t to stand for the window of
5757 a buffer that's not displayed.
5758 * doc-view.el (doc-view-new-window-function): Handle the new
5760 (doc-view-enlarge): Make it a real nop if the size is not changed.
5761 (doc-view-display): Handle the case where the buffer is not (yet?)
5762 displayed in any window.
5763 (doc-view-saved-settings): New var.
5764 (doc-view-mode): Use it.
5765 (doc-view-fallback-mode): Set it.
5767 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5768 Set lexical-binding.
5769 (minibuffer-eldef-shorten-default): New var.
5770 (minibuffer-default-in-prompt-regexps): Use it for new default.
5771 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5773 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5775 * international/uni-bidi.el:
5776 * international/uni-category.el:
5777 * international/uni-name.el:
5778 * international/uni-numeric.el: Regenerate.
5780 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5781 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * profiler.el: New file.
5785 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5788 (testcover-reinstrument): Simplify with CSE.
5790 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5792 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5794 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5796 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5797 (verilog-auto-input, verilog-auto-insert-lisp)
5798 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5799 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5800 (verilog-auto-unused, verilog-auto-wire)
5801 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5802 newline. Reported by Andrew Jones.
5803 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5804 Reported by Brad Dobbie.
5805 (verilog-batch-delete-trailing-whitespace):
5806 Create verilog-batch-delete-trailing-whitespace.
5807 Reported by Brad Dobbie.
5808 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5809 parameters from another module. Reported by Dan Katz.
5810 (verilog-auto, verilog-auto-assign-modport)
5811 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5812 AUTOINOUTMODPORT for UVM interface module shell generation.
5813 Reported by Brad Dobbie.
5814 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5816 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5817 Reported by Matt Martin.
5819 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5821 * window.el (window--resize-child-windows): When resizing child
5822 windows proportionally, process them in reverse order to
5823 preserve the "when splitting a window the new one gets the odd
5825 (window--resize-root-window-vertically): When resizing the
5826 minibuffer window try to affect only windows at the bottom of the
5829 2012-09-25 Chong Yidong <cyd@gnu.org>
5831 * subr.el (declare): Doc fix.
5833 * help-fns.el (help-fns--obsolete): Handle macros properly.
5835 2012-09-25 Chong Yidong <cyd@gnu.org>
5837 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5838 this function obsolete.
5840 * calendar/cal-x.el (calendar-two-frame-setup)
5841 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5842 * calendar/calendar.el (american-calendar, european-calendar)
5843 (calendar-for-loop):
5844 * comint.el (comint-dynamic-simple-complete)
5845 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5846 * desktop.el (desktop-load-default):
5847 * dired-x.el (dired-omit-here-always)
5848 (dired-hack-local-variables, dired-default-directory):
5849 * emacs-lisp/derived.el (derived-mode-class):
5850 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5851 * emacs-lock.el (toggle-emacs-lock):
5852 * epa.el (epa-display-verify-result):
5853 * epg.el (epg-sign-keys, epg-start-sign-keys)
5854 (epg-passphrase-callback-function):
5855 * eshell/esh-util.el (eshell-for):
5856 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5857 (eshell-add-to-window-buffer-names):
5858 * files.el (locate-file-completion):
5859 * imenu.el (imenu-example--create-c-index)
5860 (imenu-example--create-lisp-index)
5861 (imenu-example--lisp-extract-index-name)
5862 (imenu-example--name-and-position):
5863 * international/mule-cmds.el (princ-list):
5864 * international/mule-diag.el (decode-codepage-char):
5865 * international/mule-util.el (detect-coding-with-priority):
5866 * iswitchb.el (iswitchb-read-buffer):
5867 * mail/mailalias.el (mail-complete):
5868 * mail/sendmail.el (mail-sent-via):
5869 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5870 (mouse-major-mode-menu):
5871 * password-cache.el (password-read-and-add):
5872 * pcomplete.el (pcomplete-parse-comint-arguments):
5873 * progmodes/sh-script.el (sh-maybe-here-document):
5874 * replace.el (query-replace-regexp-eval):
5875 * savehist.el (savehist-load):
5876 * simple.el (choose-completion-delete-max-match):
5877 * term.el (term-dynamic-simple-complete):
5878 * vc/ediff-init.el (ediff-check-version):
5879 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5880 * vc/vc.el (vc-diff-switches-list):
5881 * view.el (view-return-to-alist-update): Likewise.
5883 * subr.el (eval-next-after-load, makehash, insert-string)
5884 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5886 (mode-line-inverse-video): Variable deleted.
5888 * international/mule-util.el (string-to-sequence): Remove.
5890 * calendar/calendar.el (calendar-version):
5891 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5892 (icalendar-convert-diary-to-ical):
5893 * cus-edit.el (custom-mode):
5894 * ansi-color.el (ansi-color-unfontify-region):
5895 * international/latin1-disp.el (latin1-char-displayable-p):
5896 * progmodes/cwarn.el (turn-on-cwarn-mode):
5897 * progmodes/which-func.el (which-func-update-1):
5898 Use define-obsolete-function-alias.
5900 * net/newst-backend.el (newsticker-cache-filename):
5901 * net/newst-treeview.el (newsticker-groups-filename):
5902 Fix incorrect obsolescence declaration.
5904 * allout.el (allout-passphrase-hint-string): Likewise.
5905 (allout-init): Use a declare form to mark obsolete.
5907 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5908 this applies to functions.
5910 * iswitchb.el (iswitchb-read-buffer): Move code of
5911 iswitchb-define-mode-map here, and delete that obsolete function.
5913 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5914 font-lock-reference-face.
5916 2012-09-25 Glenn Morris <rgm@gnu.org>
5918 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5921 * eshell/em-term.el (eshell-term-name):
5922 Default to term-term-name. (Bug#12485)
5924 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5926 * progmodes/python.el (python-shell-send-buffer): Better handling
5927 of "if __name__ == '__main__':" conditionals when sending the buffer.
5929 2012-09-24 Glenn Morris <rgm@gnu.org>
5931 * eshell/esh-cmd.el (eshell-find-alias-function):
5932 Tighten up file-name regexp. (Bug#12499)
5934 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5936 Enhancements for triple-quote string syntax.
5937 * progmodes/python.el (python-quote-syntax): Remove.
5938 (python-syntax-propertize-function): New value.
5939 (python-syntax-count-quotes, python-syntax-stringify):
5942 2012-09-24 Chong Yidong <cyd@gnu.org>
5944 * mail/supercite.el (sc-version): Remove obsolete function.
5945 (sc-describe): Don't mark as obsolete, since it is bound.
5946 (sc-submit-bug-report): Remove.
5948 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5949 (cvs-commit-buffer-require-final-newline): Remove.
5950 (log-edit-require-final-newline)
5951 (log-edit-changelog-full-paragraphs): Default to t.
5953 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5954 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5955 * vc/vc.el (vc-checkout-carefully): Likewise.
5957 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5958 (emerge-version): Remove.
5960 * progmodes/compile.el (compile-internal): Remove.
5961 (compilation-parse-errors-function): Fix typo.
5963 * international/mule.el (set-char-table-default): Remove.
5964 (set-coding-priority, make-coding-system, generic-char-p)
5965 (charset-list, charset-bytes, charset-id): Use declare to mark
5966 functions as obsolete.
5968 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5969 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5970 * vc/vc-hooks.el (vc-default-registered): Don't use
5971 vc-master-templates.
5973 * font-lock.el (font-lock-reference-face):
5974 Use define-obsolete-variable-alias.
5976 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5977 * calendar/calendar.el (calendar-font-lock-keywords):
5978 * calendar/diary-lib.el (diary-font-lock-keywords)
5979 (diary-fancy-font-lock-keywords):
5980 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5981 * textmodes/reftex-index.el (reftex-insert-index):
5982 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5983 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5984 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5985 * progmodes/prolog.el (prolog-font-lock-keywords):
5986 * progmodes/idlwave.el (idlwave-idl-keywords):
5987 * progmodes/ada-mode.el (ada-font-lock-keywords):
5988 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5990 2012-09-24 Glenn Morris <rgm@gnu.org>
5992 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5994 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5996 * progmodes/python.el (python-indent-line): More consistent cursor
5999 2012-09-23 Stefan Merten <smerten@oekonux.de>
6001 * textmodes/rst.el: Fix compiler warning.
6003 2012-09-23 Roland Winkler <winkler@gnu.org>
6005 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6006 Transcribe also LaTeX hyphenation.
6007 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6008 bibtex-reformat-previous-options.
6010 2012-09-23 Roland Winkler <winkler@gnu.org>
6012 * proced.el (proced-renice-command): New variable.
6013 (proced-marked-processes): New function.
6014 (proced-with-processes-buffer): New macro.
6015 (proced-send-signal): Use them.
6016 (proced-renice): New command bound to r.
6018 2012-09-23 Roland Winkler <winkler@gnu.org>
6020 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6021 ibuffer-saved-filter-groups has one element, shortcut the call of
6022 completing-read. (Bug#12331)
6024 2012-09-23 Chong Yidong <cyd@gnu.org>
6026 * bindings.el (mode-line-toggle-read-only):
6027 * bs.el (bs-toggle-readonly):
6028 * buff-menu.el (Buffer-menu-toggle-read-only):
6029 * dired.el (dired-toggle-read-only):
6030 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6032 2012-09-23 Chong Yidong <cyd@gnu.org>
6034 * image.el (image-type-available-p): Adapt to init-image-library
6037 2012-09-22 Juri Linkov <juri@jurta.org>
6039 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6040 `dired-toggle-read-only'. (Bug#12462)
6042 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6044 * subr.el (temp-output-buffer-show): New function.
6045 (with-output-to-temp-buffer): Call temp-output-buffer-show
6046 instead of internal-temp-output-buffer-show.
6048 2012-09-22 Chong Yidong <cyd@gnu.org>
6050 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6053 * repeat.el (repeat): Doc fix (Bug#12348).
6055 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6058 * simple.el (shell-command-on-region): Doc fix.
6059 (read-only-mode): Doc fix.
6061 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6063 * emacs-lisp/timer.el (run-with-idle-timer)
6064 (timer-activate-when-idle): Warn against reinvoking an idle timer
6065 from within its own timer action. (Bug#12447)
6067 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6069 * cus-start.el (window-combination-limit): Add new optional
6071 * window.el (temp-buffer-window-show)
6072 (window--try-to-split-window): Handle new values of
6073 window-combination-limit (Bug#1806).
6074 (split-window): Test window-combination-limit for t instead of
6076 (display-buffer-at-bottom): New buffer display action function.
6077 * help.el (temp-buffer-resize-regexps): New option.
6078 (temp-buffer-resize-mode): Rewrite doc-string.
6079 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6080 Don't resize reused window. Suggested by Glenn Morris.
6082 2012-09-22 Stefan Merten <smerten@oekonux.de>
6084 * textmodes/rst.el: Revamp section title faces.
6085 (rst-official-version)
6086 (rst-package-emacs-version-alist): Sync with official version
6088 (rst-faces-defaults, rst-set-level-default)
6089 (rst-level-face-max, rst-level-face-base-color)
6090 (rst-level-face-base-light, rst-level-face-format-light)
6091 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6092 (rst-adornment-faces-alist): Match new setup.
6093 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6094 (rst-level-5, rst-level-6): New faces.
6096 2012-09-22 Chong Yidong <cyd@gnu.org>
6098 * simple.el (undo): Handle indirect buffers (Bug#8207).
6100 2012-09-21 Leo Liu <sdl.web@gmail.com>
6102 IDO: Disable match re-ordering for buffer switching.
6103 * ido.el (ido-buffer-disable-smart-matches): New variable.
6104 (ido-set-matches-1): Use it. (Bug#2042)
6106 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6108 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6109 Fix 2011-05-17 change. (Bug#12418)
6111 2012-09-21 Leo Liu <sdl.web@gmail.com>
6113 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6115 2012-09-21 Glenn Morris <rgm@gnu.org>
6117 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6118 Be more robust about locating simple.el.
6120 2012-09-21 Glenn Morris <rgm@gnu.org>
6122 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6124 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6126 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6128 2012-09-20 Juri Linkov <juri@jurta.org>
6130 * replace.el (query-replace-read-from): Use `read-regexp' instead
6131 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6132 (occur-read-primary-args): Use `read-regexp' instead of
6134 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6135 `read-from-minibuffer'.
6136 * isearch.el (isearch-occur): Use `read-regexp' instead of
6138 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6139 `read-from-minibuffer'.
6140 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6141 of `read-string'. (Bug#7567)
6143 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6144 and allow accepting a list of strings prepended to a list of
6145 standard default values. Doc fix. (Bug#12321)
6147 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6149 * replace.el (read-regexp): Don't add ": " when PROMPT already
6150 ends with a colon and space. (Bug#12321)
6152 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6154 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6157 2012-09-20 Stefan Merten <smerten@oekonux.de>
6159 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6160 Fixes feature request bug#11711.
6161 (rst-mode): Create `imenu-create-index-function'.
6162 (rst-get-stripped-line): Delete after refactoring.
6163 (rst-section-tree, rst-section-tree-rec)
6164 (rst-section-tree-point): Refactor and document properly.
6165 (rst-imenu-find-adornments-for-position)
6166 (rst-imenu-convert-cell, rst-imenu-create-index):
6169 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6171 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6172 (macroexp--expand-all): Use it.
6173 (macroexp--funcall-and-return): Remove by folding it into its sole
6174 caller (macroexp--warn-and-return).
6175 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6176 Use macroexp--obsolete-warning.
6178 * calc/calc.el: Fix last change by removing the whole chunk, since it
6179 was only needed back when Calc was not bundled.
6181 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6183 * emacs-lisp/debug.el (debug): Restore assignment to
6184 debugger-old-buffer removed on 2012-09-08.
6186 2012-09-20 Juri Linkov <juri@jurta.org>
6188 * dired-aux.el (dired-diff): Remove (require 'diff) since
6189 `diff-latest-backup-file' is now autoloaded.
6191 2012-09-20 Chong Yidong <cyd@gnu.org>
6193 * vc/diff.el (diff-latest-backup-file): Autoload.
6195 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6197 * calc/calc.el: Remove redundant autoload shape check.
6198 (sel-mode): Don't defvar.
6199 (calc-get-stack-element): Add `sel-mode' arg instead.
6200 (calc-top, calc-top-list): Pass it this additional argument.
6201 * calc/calc-store.el (calc-store-map):
6202 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6203 (calc-map-equation, calc-outer-product, calc-inner-product):
6204 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6206 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6208 2012-09-19 Juri Linkov <juri@jurta.org>
6210 * dired-aux.el (dired-diff): Add (require 'diff) because
6211 `diff-latest-backup-file' is not autoloaded.
6212 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6213 of `dired-get-filename' to t to not report error when there is
6214 no default file on the current line.
6216 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6219 macroexp--eval-if-compile.
6220 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6221 (macroexp--expand-all): Use them (bug#12371).
6223 * doc-view.el (doc-view-guess-paper-size)
6224 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6226 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6228 New feature: set optimal slice from BoundingBox information.
6229 * doc-view.el (doc-view-mode-map): Add keybinding.
6230 (doc-view-menu): Add menu entry.
6231 (doc-view-set-slice): Adapt docstring.
6232 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6233 (doc-view-scale-bounding-box)
6234 (doc-view-set-slice-from-bounding-box): New functions.
6235 (doc-view-paper-sizes): New defvar.
6237 2012-09-19 Glenn Morris <rgm@gnu.org>
6239 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6240 (byte-compile-log-warning): Autoload. (Bug#12371)
6242 * calendar/calendar.el (calendar-american-month-header)
6243 (calendar-european-month-header, calendar-iso-month-header)
6244 (calendar-month-header): New options.
6245 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6246 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6248 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6250 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6252 2012-09-18 Juri Linkov <juri@jurta.org>
6254 * dired-aux.el (dired-diff): Restore original functionality of
6255 getting the default value, but keep new feature of using the
6256 latest existing backup file (`diff-latest-backup-file').
6258 2012-09-18 Juri Linkov <juri@jurta.org>
6260 * dired.el (dired-mark): If the region is active in Transient Mark
6261 mode, mark all files in the active region. Doc fix.
6262 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6263 Doc fix. (Bug#10624)
6265 2012-09-18 Juri Linkov <juri@jurta.org>
6267 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6268 attributes for M-n are pulled from the file at point.
6269 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6270 Suggested by Drew Adams. (Bug#10624)
6272 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6274 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6275 whitespace after "end".
6276 (ruby-do-end-to-brace): Collapse block to one line if it fits
6279 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6281 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6283 (debug): Don't remove debugger window when debugger is expected
6286 2012-09-18 Chong Yidong <cyd@gnu.org>
6288 * custom.el (defface): Doc fix.
6290 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6292 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6294 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6295 to initialize query-on-exit; then test that instead (bug#12288).
6297 2012-09-17 Stefan Merten <smerten@oekonux.de>
6299 * textmodes/rst.el: Add support for `testcover'.
6300 (rst-defcustom-testcover, rst-testcover-add-compose)
6301 (rst-testcover-add-1value): New functions.
6302 (rst-portable-mark-active-p): Replace by `use-region-p'.
6303 (rst-update-section, rst-classify-adornment)
6304 (rst-find-title-line): Mark `1value' forms.
6305 (rst-classify-adornment): Remove superfluous form.
6306 (rst-update-section, rst-get-adornments-around)
6307 (rst-adornment-complete-p, rst-get-next-adornment)
6308 (rst-adjust, rst-promote-region)
6309 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6310 (rst-find-pfx-in-region, rst-section-tree-rec)
6311 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6312 (rst-toc-node, rst-toc, rst-forward-section)
6313 (rst-iterate-leftmost-paragraphs)
6314 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6315 (rst-bullet-list-region)
6316 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6317 (rst-compile-find-conf, rst-compile)
6318 (rst-repeat-last-character): Fix style.
6320 2012-09-17 Chong Yidong <cyd@gnu.org>
6322 * comint.el (comint--complete-file-name-data): Don't add a space
6323 if the status is `sole'; that adds a gratuitous space in the
6324 completion-cycling case (Bug#12092).
6326 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6328 2012-09-17 Richard Stallman <rms@gnu.org>
6330 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6331 only in the mime-shown mode, not in raw mode.
6332 (rmail-mime): Toggle off mime by displaying the message without
6333 mime processing. (Bug#12305)
6335 * mail/rmail.el (rmail-retry-failure):
6336 Turn off mime processing first. (Bug#12037)
6338 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6340 2012-09-17 Chong Yidong <cyd@gnu.org>
6342 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6343 (shell-dynamic-complete-functions): Convert to defcustom.
6344 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6346 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6347 * comint.el (comint-prompt-read-only):
6348 * custom.el (defcustom):
6349 * hi-lock.el (hi-lock-mode):
6350 * ibuffer.el (ibuffer-formats):
6351 * ielm.el (ielm-prompt-read-only):
6352 * novice.el (disable-command):
6353 * saveplace.el (toggle-save-place):
6354 * speedbar.el (speedbar-supported-extension-expressions):
6355 * startup.el (auto-save-list-file-prefix, init-file-user)
6356 (after-init-hook, inhibit-startup-echo-area-message):
6357 * strokes.el (strokes-help):
6358 * time-stamp.el (time-stamp):
6359 * calendar/calendar.el (calendar, diary-file):
6360 * calendar/diary-lib.el (diary-mail-entries, diary)
6361 (diary-list-entries-hook):
6362 * calendar/holidays.el (holidays, calendar-holidays):
6363 * calendar/lunar.el (lunar-phases):
6364 * calendar/solar.el (sunrise-sunset):
6365 * emulation/edt.el (edt-load-keys):
6366 * emulation/viper.el (viper-mode):
6367 * eshell/em-alias.el (eshell-command-aliases-list):
6368 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6369 * international/ogonek.el (ogonek-information):
6370 * net/tramp-cmds.el (tramp-bug):
6371 * net/quickurl.el (quickurl-reread-hook-postfix):
6372 * play/decipher.el (decipher-font-lock-keywords):
6373 * progmodes/cc-styles.el (c-set-style):
6374 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6375 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6376 * progmodes/octave-mod.el (octave-mode):
6377 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6378 * progmodes/verilog-mode.el (verilog-read-defines):
6379 * textmodes/two-column.el (2C-mode): Likewise.
6381 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6383 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6384 that holds many addresses.
6386 2012-09-16 Chong Yidong <cyd@gnu.org>
6388 * align.el (align-areas): Call the indication function with
6389 positions instead of markers for arguments (Bug#12343).
6391 * files.el (parse-colon-path): Use split-string (Bug#12351).
6393 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6394 (display-buffer-function): Mark as obsolete.
6396 * progmodes/compile.el (compilation-parse-errors): Accept list
6397 values similar to font-lock-keywords (Bug#12136).
6398 Suggested by Oleksandr Manzyuk.
6399 (compilation-error-regexp-alist): Doc fix.
6401 2012-09-15 Glenn Morris <rgm@gnu.org>
6403 * version.el (emacs-bzr-version-bzr): New function.
6404 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6406 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6407 checkouts, check the parent dirstate matches the branch.
6408 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6411 * version.el (emacs-bzr-version): Doc fix.
6412 (emacs-bzr-version-dirstate): New function.
6413 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6414 is local try and check that it matches the branch. If not, just
6415 use dirstate information. (Bug#12441)
6417 2012-09-14 Juri Linkov <juri@jurta.org>
6419 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6422 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6424 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6426 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6427 Remove obsolete byte-compiler hack that tried to silence some warnings.
6428 (edebug-submit-bug-report): Remove.
6429 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6430 Remove aliases, use the un-prefixed name instead.
6431 (edebug-pop-to-buffer): Consider other frames.
6432 (edebug-original-read):: Make it more obvious that it's always defined.
6433 (edebug--make-form-data-entry, edebug--form-data-name)
6434 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6435 single-dashed name, and implement with cl-defstruct.
6436 (edebug-set-form-data-entry): Use the standard accessors.
6437 (edebug-make-top-form-data-entry): Use push.
6438 (edebug-no-match): Drop useless `funcall'.
6439 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6441 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6442 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6443 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6444 (easy-menu-define, with-custom-print): Remove redundant specs.
6445 (edebug-outside-overriding-local-map)
6446 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6447 (edebug--display): Bind unread-command-events directly to nil rather
6448 than binding it to unread-command-events and later setting it to nil.
6449 (edebug--display): Kill edebug-eval-buffer here...
6450 (edebug--recursive-edit): ...rather than here.
6451 Bind standard-output and standard-input.
6452 (edebug-eval): Check cl-macroexpand-all is fboundp.
6453 (edebug-temp-display-freq-count): Fix last change.
6455 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6456 * subr.el (noreturn, 1value): Add `debug' spec.
6457 * emacs-lisp/advice.el: Require cl-lib.
6458 (ad-copy-tree): Remove, use copy-tree instead.
6459 (ad-dolist): Remove use dolist or cl-dolist instead.
6460 (ad-do-return): Remove, use cl-return instead.
6461 (defadvice): Add `debug' spec.
6463 2012-09-13 Juri Linkov <juri@jurta.org>
6465 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6468 2012-09-13 Glenn Morris <rgm@gnu.org>
6470 * calc/calc.el (math-compose-expr):
6471 * calc/calc-ext.el (math-compose-expr):
6472 * progmodes/cc-defs.el (cl-macroexpand-all):
6473 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6474 (cl-macroexpand-all): Update declarations.
6476 * vc/vc.el: No need to require ediff.
6477 (ediff-load-version-control): Declare.
6478 (ediff-vc-internal): Fix declaration.
6479 (vc-version-ediff): Require ediff.
6481 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6483 Use a more backwards-compatible timer format (Bug#12430).
6484 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6485 being right after USECS, as that better supports old code that
6486 inadvisedly looked directly at the timer vector.
6488 2012-09-13 Kenichi Handa <handa@gnu.org>
6490 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6491 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6492 `coding-priority' property of these language environment.
6494 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6496 Fix glitches caused by addition of psec to timers (Bug#12430).
6497 * image.el (image-animate-timer):
6498 * time.el (display-time-world-timer):
6499 Use timer--function and timer--args rather than raw access to
6502 2012-09-13 Glenn Morris <rgm@gnu.org>
6504 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6505 If not compiling a file, try using load-file-name.
6507 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6511 (edebug-update-eval-list): Use `push'.
6513 * emacs-lisp/edebug.el: Use lexical-binding.
6514 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6515 Mark unused args with underscore.
6516 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6517 (edebug-form-data): Use defvar-local.
6518 (edebug-make-before-and-after-form, edebug-make-after-form):
6520 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6521 Not dynamically scoped any more.
6522 (edebug--enter-trace): Add arguments `function' and `args'.
6523 Rename from edebug-enter-trace.
6524 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6525 (edebug--update-coverage): Add `after-index' and `value' args.
6526 Rename from edebug-update-coverage.
6527 (edebug-slow-after): Call it accordingly.
6528 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6529 edebug-recursive-edit.
6530 (edebug--display): Call it accordingly. Add args `value',
6531 `offset-index', and `arg-mode'. Rename from edebug-display.
6532 (edebug-debugger, edebug): Call it accordingly.
6533 (edebug-eval-display-list): Use dolist.
6535 2012-09-12 Juri Linkov <juri@jurta.org>
6537 * info.el (Info-search): Don't check for isearch-mode and
6538 isearch-regexp before let-binding search-spaces-regexp to
6539 Info-search-whitespace-regexp.
6540 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6541 search-whitespace-regexp if isearch-lax-whitespace or
6542 isearch-regexp-lax-whitespace is non-nil.
6543 (Info-mode): Don't set local variable search-whitespace-regexp.
6544 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6546 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6549 (debugger-env-macro): Remove support for unread-command-char.
6551 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6552 the temporary map re-appearing on emulation-mode-map-alists.
6554 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6557 * ehelp.el (with-electric-help): Accept functions in
6558 electric-help-form-to-execute.
6559 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6560 And replace unread-command-char -> unread-command-events.
6562 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6564 Sync with Tramp 2.2.6.
6566 * net/tramp.el (tramp-accept-process-output): Don't use
6567 JUST-THIS-ONE in the XEmacs case.
6569 * net/trampver.el: Update release number.
6571 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6573 * emacs-lisp/debug.el (debugger-previous-window-height):
6575 (debug): When debugger-jumping-flag is non-nil try to restore
6576 height of debugger window. (Bug#8789)
6578 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6581 overriding-local-map and pre/post-command-hook here.
6582 (edebug-recursive-edit): Do it here instead (bug#12345).
6583 (edebug-outside-unread-command-char): Remove all uses of
6584 unread-command-char.
6586 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6587 inhibit-debugger is bound instead.
6589 2012-09-11 Bastien Guerry <bzg@gnu.org>
6591 * subr.el (set-temporary-overlay-map): Add a docstring.
6594 2012-09-11 Bastien Guerry <bzg@gnu.org>
6596 * minibuffer.el (completion-table-subvert): Fix docstring.
6599 2012-09-11 Bastien Guerry <bzg@gnu.org>
6601 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6603 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6605 * progmodes/sql.el: Version 3.1
6606 (sql-db2-escape-newlines): New variable.
6607 (sql-escape-newlines-filter): Use it.
6609 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6611 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6613 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6615 * vc/diff-mode.el (diff-mode-menu):
6616 Bind diff-remove-trailing-whitespace.
6618 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6620 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6621 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6622 (emacs-lisp-byte-code-mode): New functions.
6623 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6624 (eval-defun-2): Remove bogus interactive spec.
6625 (lisp-indent-line): Remove redundant whole-exp code, now done in
6626 indent-according-to-mode.
6627 (save-match-data): Remove redundant indent data.
6629 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6632 2012-09-09 Juri Linkov <juri@jurta.org>
6634 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6635 (replace-lax-whitespace, query-replace-regexp)
6636 (query-replace-regexp-eval, replace-regexp): Doc fix.
6637 (perform-replace, replace-highlight): Let-bind
6638 isearch-lax-whitespace to replace-lax-whitespace and
6639 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6641 * isearch.el (isearch-query-replace): Let-bind
6642 replace-lax-whitespace to isearch-lax-whitespace and
6643 replace-regexp-lax-whitespace to
6644 isearch-regexp-lax-whitespace. (Bug#10885)
6646 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6650 2012-09-09 Alan Mackenzie <acm@muc.de>
6652 * progmodes/cc-engine.el (c-state-cache-init):
6653 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6654 (c-record-parse-state-state):
6655 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6657 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6659 * register.el (register-separator): Rename from
6660 separator-register. All uses changed. Doc fix.
6661 (register): Fix version.
6663 2012-09-09 Chong Yidong <cyd@gnu.org>
6665 * replace.el (query-replace-map): Bind four new symbols for
6666 requesting window scrolling.
6668 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6669 query-replace-map (Bug#8948).
6671 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6673 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6674 since they are now in query-replace-map.
6676 * window.el (scroll-other-window-down): Make the arg optional.
6678 2012-09-09 Chong Yidong <cyd@gnu.org>
6680 * files.el (hack-local-variables-confirm): Use quit-window to kill
6681 the *Local Variables* buffer.
6683 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6685 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6686 not just expect to be at its beginning. Adjust callees.
6687 Succeed when do-end block has no space before the pipe character.
6688 (ruby-brace-to-do-end): When the original block is one-liner,
6689 convert to multiline. Reindent the result.
6691 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6693 * register.el (register): New group.
6694 (separator-register): New user option.
6695 (increment-register): Route it to `append-to-register', if
6696 register contains text. Implication is that `C-x r +' can now be
6697 used for appending to a text register (bug#12217).
6698 (append-to-register, prepend-to-register): Add separator based on
6699 `separator-register'.
6701 2012-09-08 Alan Mackenzie <acm@muc.de>
6703 AWK Mode: make auto-newline work when there's "==" in the pattern.
6704 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6706 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6707 Test more rigorously for "=" token.
6709 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6711 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6712 Only fail when reached LIMIT.
6714 2012-09-08 Chong Yidong <cyd@gnu.org>
6716 * dired.el (dired-mode-map): Don't bind M-=.
6718 * dired-aux.el (dired-diff): Use backup file as default.
6720 2012-09-08 Drew Adams <drew.adams@oracle.com>
6722 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6724 2012-09-08 Chong Yidong <cyd@gnu.org>
6726 * subr.el (syntax-after, syntax-class): Doc fix.
6728 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6730 * window.el (display-buffer-in-previous-window): New buffer
6731 display action function.
6733 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6734 (debugger-previous-window): New variable.
6735 (debug): Rewrite using display-buffer-in-previous-window,
6736 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6738 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6742 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6744 * progmodes/python.el (python-shell-send-string):
6745 When default-directory is remote, create temp file on remote
6747 (python-shell-send-file): When file is remote, pass local view of
6748 file paths to remote Python interpreter. (Bug#12340)
6750 2012-09-07 Chong Yidong <cyd@gnu.org>
6752 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6754 * files.el (after-find-file): Don't fail on a read-only buffer if
6755 require-final-newline is `visit' or `visit-save' (Bug#11156).
6757 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6759 * userlock.el (ask-user-about-supersession-threat):
6760 Use read-char-choice (Bug#12093).
6762 2012-09-07 Chong Yidong <cyd@gnu.org>
6764 * subr.el (buffer-narrowed-p): New function.
6766 * ses.el (ses-widen):
6767 * simple.el (count-words--buffer-message):
6768 * net/browse-url.el (browse-url-of-buffer): Use it.
6770 * simple.el (count-words-region): Don't signal an error if there
6771 is a non-nil prefix arg and the mark is not set.
6773 * help.el (describe-key-briefly): Allow the message to be seen
6774 when invoked from the minibuffer (Bug#7014).
6776 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6778 * progmodes/ruby-mode.el (ruby-end-of-defun)
6779 (ruby-beginning-of-defun): Simplify, allow indentation before
6780 block beginning and end keywords.
6781 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6782 (ruby-end-of-defun): Expect that the point is at the beginning of
6785 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6789 (cl--make-usage-args): Strip _ from argument names.
6791 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6793 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6794 obsolete alias speedbar-key-map.
6795 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6796 (vhdl-index-menu-init): Don't use obsolete variable
6797 font-lock-maximum-size.
6799 2012-09-06 Chong Yidong <cyd@gnu.org>
6801 * frame.el (window-system-version): Mark as obsolete.
6803 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6804 of obsolete variable speedbar-key-map.
6806 2012-09-06 Juri Linkov <juri@jurta.org>
6808 * replace.el (replace-lax-whitespace): New defcustom.
6809 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6810 (replace-string, replace-regexp): Mention it in docstrings.
6811 (perform-replace, replace-highlight): Let-bind
6812 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6813 to the values of replace-lax-whitespace and regexp-flag.
6814 Don't let-bind search-whitespace-regexp. (Bug#10885)
6816 * isearch.el (isearch-query-replace): Let-bind
6817 replace-lax-whitespace instead of let-binding
6818 replace-search-function and replace-re-search-function.
6819 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6820 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6821 (isearch-toggle-symbol): Set isearch-regexp to nil
6822 in isearch-word mode (like in isearch-toggle-word).
6824 2012-09-06 Juri Linkov <juri@jurta.org>
6826 * replace.el (replace-search-function)
6827 (replace-re-search-function): Set default values to nil.
6828 (perform-replace): Let-bind isearch-related variables based on
6829 replace-related values, call `isearch-search-fun' and let-bind
6830 the result to `search-function'. Remove code that sets
6831 `search-function' and `search-string' separately for
6833 (replace-highlight): Add new argument `delimited-flag' and
6834 rename other arguments to the names used in `perform-replace'.
6835 Let-bind `isearch-word' to the argument `delimited-flag'.
6836 (Bug#10885, bug#10887)
6838 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6840 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6841 ruby-beginning-of-indent, simplify, allow all keywords to have
6842 indentation before them.
6843 (ruby-beginning-of-indent): Adjust for above. Search until the
6844 found point is not inside a string or comment.
6845 (ruby-font-lock-keywords): Allow symbols to start with "@"
6846 character, give them higher priority than variables.
6847 (ruby-syntax-propertize-function)
6848 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6849 matchers. Expression expansions are not comments when inside a
6850 string, and there comment syntax status is irrelevant.
6851 (ruby-match-expression-expansion): New function. Check that
6852 expression expansion is inside a string, and it's not escaped.
6853 (ruby-font-lock-keywords): Use it.
6855 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6857 * help.el (temp-buffer-max-height): New default value.
6858 (temp-buffer-resize-frames): New option.
6859 (resize-temp-buffer-window): Optionally resize frame.
6861 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6862 (fit-frame-to-buffer): New function.
6864 2012-09-05 Glenn Morris <rgm@gnu.org>
6866 * emulation/cua-rect.el (cua--init-rectangles):
6867 * textmodes/picture.el (picture-mode-map):
6868 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6869 like forward-char and backward-char. (Bug#12317)
6871 2012-09-05 Leo Liu <sdl.web@gmail.com>
6873 * progmodes/flymake.el (flymake-warning-re): New variable.
6874 (flymake-parse-line): Use it.
6876 2012-09-05 Glenn Morris <rgm@gnu.org>
6878 * calendar/holidays.el (holiday-christian-holidays):
6879 Rename an entry. (Bug#12289)
6881 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6886 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * loadup.el: Load macroexp. Remove hack.
6889 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6890 (macroexp--expand-all): Use it to get better warnings.
6891 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6892 (internal-macroexpand-for-load): New functions.
6893 (macroexp--pending-eager-loads): New var.
6894 (emacs-startup-hook): New hack to replace one in loadup.el.
6895 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6896 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6897 (cl-psetf): Simplify.
6898 (cl-defstruct): Add indent rule.
6900 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6902 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6903 over `user-mail-address' for the SMTP MAIL FROM envelope.
6904 (smtpmail-via-smtp): Ditto.
6906 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6908 * progmodes/ruby-mode.el: Clean up keybindings.
6909 (ruby-mode-map): Don't bind ruby-electric-brace,
6910 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6911 backward-kill-word, reindent-then-newline-and-indent.
6912 (ruby-mark-defun): Remove.
6913 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6914 (ruby-mode): Set local beginning-of-defun-function and
6915 end-of-defun-function values.
6917 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6919 * window.el (temp-buffer-window-setup-hook)
6920 (temp-buffer-window-show-hook): New hooks.
6921 (temp-buffer-window-setup, temp-buffer-window-show)
6922 (with-temp-buffer-window): New functions.
6923 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6924 (special-display-popup-frame): Make sure the window used shows BUFFER.
6926 * help.el (temp-buffer-resize-mode): Fix doc-string.
6927 (resize-temp-buffer-window): New optional argument WINDOW.
6929 * files.el (recover-file, save-buffers-kill-emacs):
6930 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6932 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6934 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6935 remote definition of `default-directory', ensure we can connect.
6937 2012-09-02 Juri Linkov <juri@jurta.org>
6939 Toggle whitespace matching mode with M-s SPC.
6940 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6942 * isearch.el (search-whitespace-regexp): Doc fix.
6943 Remove cons cell customization.
6944 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6945 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6947 (isearch-forward, isearch-forward-regexp): Doc fix.
6948 (isearch-toggle-lax-whitespace): New command.
6949 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6950 (re-search-forward-lax-whitespace)
6951 (re-search-backward-lax-whitespace): New functions.
6952 (isearch-whitespace-regexp): Remove function.
6953 (isearch-query-replace): Let-bind replace-search-function and
6954 replace-re-search-function.
6955 (isearch-occur): Let-bind search-spaces-regexp according to the
6956 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6957 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6958 condition for C-q SPC.
6959 (isearch-search-fun-default): Use new functions mentioned above.
6960 (isearch-search-forward, isearch-search-backward): Remove functions.
6961 (isearch-search): Don't let-bind search-spaces-regexp.
6962 (isearch-lazy-highlight-space-regexp): Remove variable.
6963 (isearch-lazy-highlight-lax-whitespace)
6964 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6965 (isearch-lazy-highlight-new-loop): Use them.
6966 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6968 2012-09-02 Chong Yidong <cyd@gnu.org>
6970 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6972 2012-09-02 Glenn Morris <rgm@gnu.org>
6974 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6976 2012-09-01 Glenn Morris <rgm@gnu.org>
6978 * term.el: Tidy up menu definitions.
6979 (term-mode-map): Use easymenu for In/Out, Complete menus.
6980 (term-pager-break-map): Initialize in the defvar.
6981 (term-terminal-menu, term-signals-menu): Define with easymenu.
6982 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6983 (term-pager-menu): New, extracted from term-process-pager.
6984 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6985 (term-update-mode-line): Propertize line/char and page items.
6986 (term-process-pager): Move keymap initialization elsewhere.
6988 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6990 * window.el (switch-to-prev-buffer): Handle additional values of
6991 BURY-OR-KILL argument. Don't switch in minibuffer window.
6992 (switch-to-next-buffer): Don't switch in minibuffer window.
6993 (quit-restore-window): New function based on quit-window.
6994 Handle additional values of former KILL argument.
6995 (quit-window): Call quit-restore-window with appropriate
6996 interpretation of KILL argument.
6997 (display-buffer-below-selected): New buffer display action
7000 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7002 * minibuffer.el (completion-at-point-functions): Complete docstring
7005 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7007 Better seed support for (random).
7008 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7009 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7010 * play/mpuz.el, play/tetris.el, play/zone.el:
7011 * calc/calc-comb.el (math-init-random-base):
7012 * play/blackbox.el (bb-init-board):
7013 * play/life.el (life):
7014 * server.el (server-use-tcp):
7015 * type-break.el (type-break):
7016 Remove unnecessary call to (random t).
7017 * net/sasl.el (sasl-unique-id-function):
7018 Change (random t) to (random), now that the latter is more random.
7019 * play/life.el (life-initialized): Remove no-longer-needed var.
7021 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7023 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7024 Consider frame's buffer predicate when choosing the buffer.
7027 2012-08-30 Richard Stallman <rms@gnu.org>
7029 * simple.el (special-mode-map): Delete binding for `z'.
7031 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7033 * progmodes/compile.el (compilation-always-kill): Doc fix.
7035 2012-08-30 Chong Yidong <cyd@gnu.org>
7037 * window.el (display-buffer-reuse-frames): Make the obsolescence
7038 message more informative.
7040 2012-08-30 Glenn Morris <rgm@gnu.org>
7042 * paren.el (show-paren-delay):
7043 Add a :set function. Doc fix. (Bug#12297)
7045 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7047 * progmodes/compile.el (compilation-always-kill): New var.
7048 (compilation-start): Use it.
7050 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7052 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7053 * files.el (read-only-mode): Move to simple.el.
7055 * files.el (read-only-mode): New minor mode.
7056 (toggle-read-only): Use it and mark obsolete.
7057 (find-file--read-only):
7058 * vc/vc.el (vc-next-action, vc-checkout):
7059 * vc/vc-cvs.el (vc-cvs-checkout):
7060 * obsolete/vc-mcvs.el (vc-mcvs-update):
7061 * ffap.el (ffap--toggle-read-only): Update callers.
7063 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7065 * eshell/esh-ext.el (eshell-external-command): Do not examine
7066 remote shell scripts.
7067 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7069 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7072 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7074 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7076 2012-08-28 Leo Liu <sdl.web@gmail.com>
7078 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7079 completion-at-point. (Bug#12220)
7081 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7083 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7085 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7088 be buffer-local; add delete-trailing-whitespace (bug#12259).
7090 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7092 * progmodes/hideif.el (hif-compress-define-list):
7093 Fix typo. (Bug#11951)
7095 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7097 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7098 buffer local setting.
7100 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7101 rcirc-encode-coding-system.
7103 2012-08-28 Leo Liu <sdl.web@gmail.com>
7105 * net/rcirc.el (rcirc-split-message): New function.
7106 (rcirc-send-message): Use it. (Bug#12051)
7108 2012-08-28 Juri Linkov <juri@jurta.org>
7110 * info.el (Info-fontify-node): Hide empty lines at the end of
7111 the node. (Bug#12272)
7113 2012-08-27 Drew Adams <drew.adams@oracle.com>
7115 * dired.el (dired-pop-to-buffer): Make window start at beginning
7116 of buffer (Bug#12281).
7118 2012-08-26 Chong Yidong <cyd@gnu.org>
7120 * window.el (special-display-regexps, special-display-frame-alist)
7121 (special-display-buffer-names, special-display-function)
7122 (display-buffer-reuse-frames): Mark as obsolete.
7124 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7126 * help.el (help-print-return-message): Don't treat
7127 display-buffer-reuse-frames specially.
7129 2012-08-26 Chong Yidong <cyd@gnu.org>
7131 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7132 New variable, replacing gdb-frame-parameters.
7133 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7134 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7135 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7136 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7137 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7138 the functions directly with gdb-display-buffer-other-frame-action.
7139 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7140 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7141 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7142 (gdb-display-registers-buffer): Define directly.
7143 (def-gdb-display-buffer): Macro deleted.
7144 (gdb-display-buffer): Remove second and third args, callers don't
7145 use them. Defer to the default display-buffer behavior, apart
7146 from making windows dedicated.
7147 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7149 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7151 * window.el (display-buffer-pop-up-frame): Handle a
7152 pop-up-frame-parameters alist entry.
7153 (display-buffer): Document it.
7155 2012-08-26 Chong Yidong <cyd@gnu.org>
7157 * isearch.el (search-whitespace-regexp): Make string and nil
7158 values apply to both ordinary and regexp search. Allow a cons
7159 cell value to distinguish between the two.
7160 (isearch-whitespace-regexp, isearch-search-forward)
7161 (isearch-search-backward): New functions.
7162 (isearch-occur, isearch-search-fun-default, isearch-search)
7163 (isearch-lazy-highlight-new-loop): Use them.
7164 (isearch-forward, isearch-forward-regexp): Doc fix.
7166 2012-08-26 Chong Yidong <cyd@gnu.org>
7168 * faces.el (help-argument-name): Always inherit from italic
7171 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7173 * window.el (window--even-window-heights): Even heights when
7174 WINDOW and the selected window form a vertical combination.
7175 (display-buffer-use-some-window): Provide that window used gets
7176 sized back by quit-window. (Bug#11880) and (Bug#12091)
7178 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7180 Fix file time stamp problem with bzr and CVS (Bug#12001).
7181 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7182 in the file's time stamp, since the version control system loses
7185 2012-08-22 Juri Linkov <juri@jurta.org>
7187 * info.el (Info-fontify-node): Hide the suffix of the
7188 Info file name in the header line. (Bug#12187)
7190 2012-08-22 Glenn Morris <rgm@gnu.org>
7192 * calendar/cal-tex.el (cal-tex-weekly-common):
7193 Restore leading blank page.
7195 2012-08-22 Le Wang <l26wang@gmail.com>
7197 * misc.el (forward-to-word, backward-to-word): Activate or extend
7198 the region under `shift-select-mode'. (Bug#12231)
7200 2012-08-22 Bastien Guerry <bzg@gnu.org>
7202 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7203 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7204 gives details on why the space is never needed.
7206 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7208 * window.el (walk-window-tree, window-with-parameter):
7209 New optional argument MINIBUF to control whether these functions
7210 should run on the minibuffer window.
7211 (window-at-side-list): Don't operate on minibuffer window.
7212 (window-in-direction): Simplify and rewrite doc-string.
7213 (window--size-ignore): Rename to window--size-ignore-p.
7215 (display-buffer-in-atom-window, window--major-non-side-window)
7216 (window--major-side-window, display-buffer-in-major-side-window)
7217 (delete-side-window, display-buffer-in-side-window):
7219 (window--side-check, window-deletable-p, delete-window)
7220 (delete-other-windows, split-window): Handle side windows and
7221 atomic windows appropriately.
7222 (window--display-buffer): Call display-buffer-record-window also
7223 when the window buffer did not change.
7225 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7227 * help-fns.el (help-fns--key-bindings):
7228 Abbreviate non-symbol remap targets. (Bug#12174)
7230 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7232 * dired.el (dired-mark-remembered): Don't clobber point.
7235 2012-08-22 Glenn Morris <rgm@gnu.org>
7237 * progmodes/bug-reference.el (bug-reference): New custom group.
7238 (bug-reference-bug-regexp): Make it a defcustom.
7240 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7242 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7243 (js-paren-indent-offset, js-square-indent-offset)
7244 (js-curly-indent-offset): Add :safe (Bug#12257).
7246 2012-08-22 Edward O'Connor <hober0@gmail.com>
7248 * json.el (json-key-format): Add error properties.
7249 (json-encode-key): New function.
7250 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7251 Use json-encode-key.
7253 2012-08-22 Glenn Morris <rgm@gnu.org>
7255 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7256 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7257 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7258 Update for above change.
7260 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7262 * cus-face.el (custom-face-attributes): Fix customize type for the
7263 :underline attribute. (Bug#11805)
7265 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7267 * window.el (window-point-1, set-window-point-1): Remove.
7268 (window-in-direction, record-window-buffer)
7269 (set-window-buffer-start-and-point, split-window-below)
7270 (window--state-get-1, display-buffer-record-window):
7271 Replace calls to window-point-1 and set-window-point-1 by calls to
7272 window-point and set-window-point respectively.
7274 2012-08-21 Glenn Morris <rgm@gnu.org>
7276 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7277 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7280 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7281 (cal-tex-shortday): New function.
7282 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7283 (cal-tex-cursor-filofax-daily): Use the above.
7285 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7287 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7288 (cal-tex-cursor-filofax-week): Use them.
7290 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7292 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7293 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7295 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7296 (cal-tex-end-document): Don't rely on buffer name.
7298 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7300 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7301 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7302 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7305 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7306 (cal-tex-cursor-week, cal-tex-cursor-week2)
7307 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7308 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7309 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7310 (cal-tex-insert-preamble, cal-tex-b-document)
7311 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7312 Improve cal-tex-cmd usage.
7314 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7315 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7316 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7317 (cal-tex-weekly-paper): New function.
7318 (cal-tex-cursor-week, cal-tex-cursor-week2)
7319 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7320 (cal-tex-cursor-day): Use it.
7322 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7323 (cal-tex-cursor-filofax-week): Remove leading blank page.
7325 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7326 Add autoload cookie. For now at least, don't use color, since
7327 no other cal-tex function does.
7329 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7330 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7331 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7333 2012-08-21 Juri Linkov <juri@jurta.org>
7335 * info.el (Info-file-attributes): New variable.
7336 (info-insert-file-contents): Add file attributes to
7337 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7338 `Info-toc-nodes' when previous modtime of the Info file is less
7340 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7341 of info.el. (Bug#12230)
7343 2012-08-20 Glenn Morris <rgm@gnu.org>
7345 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7346 * calendar/holidays.el (calendar-holiday-list):
7347 Report errors with display-warning rather than beep'n'sleep.
7349 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7351 * net/tramp.el (tramp-accept-process-output): Accept only output
7352 from PROC. Otherwise, process filters and sentinels might be
7353 confused. (Bug#12145)
7355 2012-08-20 Chong Yidong <cyd@gnu.org>
7357 * descr-text.el (describe-text-properties-1): Use overlays-in to
7358 report on empty overlays (Bug#3322).
7360 2012-08-20 Glenn Morris <rgm@gnu.org>
7362 * mail/rmailout.el (rmail-output-read-file-name):
7363 Trap and report errors in rmail-output-file-alist elements.
7365 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7366 since most non-font-lock faces are not also variables).
7368 2012-08-20 Edward Reingold <reingold@iit.edu>
7370 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7371 New function. (Bug12160)
7373 2012-08-19 Glenn Morris <rgm@gnu.org>
7375 * mail/rmailout.el (rmail-output-read-file-name):
7376 Fix previous change (when the alist is nil or does not match).
7378 2012-08-19 Chong Yidong <cyd@gnu.org>
7380 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7383 2012-08-18 Chong Yidong <cyd@gnu.org>
7385 * simple.el (yank-handled-properties): New defcustom.
7386 (yank-excluded-properties): Add font-lock-face and category.
7389 * subr.el (remove-yank-excluded-properties):
7390 Obey yank-handled-properties. The special handling of font-lock-face
7391 and category is now done this way, instead of being hard-coded.
7392 (insert-for-yank-1): Remove font-lock-face handling.
7393 (yank-handle-font-lock-face-property)
7394 (yank-handle-category-property): New function.
7396 2012-08-17 Glenn Morris <rgm@gnu.org>
7398 * mail/rmailout.el (rmail-output-read-file-name):
7399 Check rmail-output-file-alist against the full message body
7400 in the correct rmail buffer. (Bug#12214)
7402 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7404 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7405 Eliminate superfluous prompt. (Bug#12203)
7407 2012-08-17 Chong Yidong <cyd@gnu.org>
7409 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7410 font spec, set the font directly (Bug#3228).
7412 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7414 * window.el (delete-window): Fix last fix.
7416 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7418 * window.el (window-valid-p): Move to window.c.
7419 (window-child, window-child-count, window-last-child)
7420 (window-normalize-window, window-combined-p)
7421 (window-combinations, window-atom-root, window-min-size)
7422 (window-sizable, window-sizable-p, window-size-fixed-p)
7423 (window-min-delta, window-max-delta, window--resizable)
7424 (window--resizable-p, window-resizable, window-total-size)
7425 (window-full-height-p, window-full-width-p, window-body-size)
7426 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7427 (minimize-window, window-deletable-p, delete-window)
7428 (delete-other-windows, set-window-buffer-start-and-point)
7429 (next-buffer, previous-buffer, split-window, balance-windows-2)
7430 (set-window-text-height, window-buffer-height)
7431 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7432 (truncated-partial-width-window-p): Minor code adjustments.
7433 In doc-strings state whether the argument window has to denote a
7434 live, valid or any window.
7436 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7438 * progmodes/subword.el (subword-forward-function)
7439 (subword-backward-function, subword-forward-regexp)
7440 (subword-backward-regexp): New variables.
7441 (subword-forward, subword-forward-internal, subword-backward-internal):
7442 Use new variables, eg so that different "word" definitions
7443 can be easily used. (Bug#11411)
7445 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7448 for composite selectors.
7449 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7450 operation just because we can't find a previous revision.
7452 2012-08-15 Chong Yidong <cyd@gnu.org>
7454 * frame.el (set-frame-font): Accept font objects.
7456 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7458 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7460 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7462 * man.el (Man-overstrike-face, Man-underline-face)
7463 (Man-reverse-face): Remove variables.
7464 (Man-overstrike, Man-underline, Man-reverse): New faces.
7465 (Man-fontify-manpage): Use them instead of the variables.
7466 (Man-cleanup-manpage): Comment change.
7467 (Man-ansi-color-map): New variable.
7468 (Man-fontify-manpage): Use it.
7469 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7471 Implement ANSI SGR parameters 22-27 (bug#12146).
7472 * ansi-color.el (ansi-colors): Doc fix.
7473 (ansi-color-context, ansi-color-context-region): Doc fix.
7474 (ansi-color--find-face): New function.
7475 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7476 Rename the local variable `face' to `codes' since it is now a list of
7477 ansi codes. Doc fix.
7478 (ansi-color-get-face): Remove.
7479 (ansi-color-parse-sequence): New function, derived from
7480 ansi-color-get-face.
7481 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7484 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * subr.el (read-passwd): Allow use from a minibuffer.
7488 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7490 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7491 inside comments and strings as identifiers.
7493 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7494 expression to evaluate. This allows to evaluate expressions with
7495 embedded whitespace.
7496 (gud-tooltip-tips): Add a blank before the newline in the
7497 message-box text, for the benefit of message-box emulation on
7500 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7501 messages from GDB, pop them up in a tooltip to give feedback to
7503 (gdb-tooltip-print-1): Quote the expression to evaluate.
7504 This allows to evaluate expressions with embedded whitespace.
7505 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7506 if the TTY name is nil or empty (which happens when communicating
7507 with the inferior via pipes, e.g. on MS-Windows).
7508 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7509 don't send that to the GUD buffer.
7511 2012-08-14 Glenn Morris <rgm@gnu.org>
7513 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7514 Optimize away setq-default with no args, as for setq. (Bug#12195)
7516 2012-08-14 Chong Yidong <cyd@gnu.org>
7518 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7520 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7523 2012-08-14 Glenn Morris <rgm@gnu.org>
7525 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7527 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7529 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7530 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7531 Use cached shell name.
7533 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7535 * progmodes/python.el (python-shell-send-string):
7536 (python-shell-send-setup-code): Do not use `format' with `message'.
7538 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7540 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7541 (ruby-percent-literal-beg-re): New constant.
7542 (ruby-syntax-general-delimiters-goto-beg): Rename to
7543 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7544 (ruby-syntax-propertize-general-delimiters): Rename to
7545 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7546 popular term. Adjust comments everywhere.
7547 (ruby-syntax-propertize-percent-literal): Only propertize when not
7548 inside a simple string or comment. When the literal is unclosed,
7549 leave the text after it unpropertized.
7550 (ruby-syntax-methods-before-regexp): New constant.
7551 (ruby-syntax-propertize-function): Use it to recognize regexps.
7552 Don't look at the text after regexp, just use the whitelist.
7554 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7556 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7557 non-nil always load the compiled file if it exists. (Bug#12197)
7559 2012-08-14 Chong Yidong <cyd@gnu.org>
7561 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7562 (hi-lock-set-pattern): When deciding whether to use font lock or
7563 overlays, look at font-lock-mode instead of font-lock-fontified
7565 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7566 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7568 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7570 * subr.el (internal--after-with-selected-window): Fix typo
7573 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7575 Use `completion-table-dynamic' for completion functions.
7576 * progmodes/python.el
7577 (python-shell-completion--do-completion-at-point)
7578 (python-shell-completion--get-completions):
7580 (python-shell-completion-complete-at-point): New function.
7581 (python-completion-complete-at-point): Use it.
7583 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7585 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7586 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7588 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7590 * subr.el (function-get): Refine `autoload' arg so it can also
7591 autoload functions for gv.el (bug#12191).
7592 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7595 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7596 Prefer pcase-let over destructuring-bind.
7597 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7598 Also, remove whitespace as we go, rather than after accumulating the
7601 * subr.el (internal--before-with-selected-window)
7602 (internal--after-with-selected-window): Fix typo seleted->selected.
7603 (with-selected-window): Adjust callers.
7604 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7606 2012-08-13 Bastien Guerry <bzg@gnu.org>
7608 * window.el (special-display-popup-frame): Minor docstring
7609 enhancement. (Bug#12172)
7611 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7613 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7615 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7618 * files.el (hack-local-variables-filter): Remove useless eval.
7620 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7622 * subr.el (with-selected-window): Fix last change.
7624 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * subr.el (internal--before-with-seleted-window)
7627 (internal--after-with-seleted-window): New functions.
7628 (with-selected-window): Use them, to replace dependency on
7631 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7633 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7634 binding for `newline'.
7635 (ruby-move-to-block): When moving backward, stop at block opening,
7637 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7638 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7639 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7640 `ruby-toggle-block'.
7642 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * ibuffer.el (ibuffer-do-toggle-read-only):
7645 * dired.el (dired-toggle-read-only):
7646 * buff-menu.el (Buffer-menu-toggle-read-only):
7647 * bindings.el (mode-line-toggle-read-only):
7648 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7650 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7652 * descr-text.el (describe-char): Put the overlays over the
7653 "displayed as" character.
7655 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7657 * calc/calc-units.el (math-default-units-table): Give an
7659 (math-put-default-units): Add options to put composite units and
7660 unit systems in the default units table.
7661 (calc-convert-units): Send composite units to
7662 `math-put-default-units' when appropriate.
7664 2012-08-11 Glenn Morris <rgm@gnu.org>
7666 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7668 * tutorial.el (help-with-tutorial):
7669 * emacs-lisp/copyright.el (copyright-update-directory):
7670 * emacs-lisp/autoload.el (autoload-find-generated-file)
7671 (autoload-find-file): Disable local eval: (for insurance).
7673 * files.el (hack-local-variables-filter): If an eval: form is not
7674 known to be safe, and enable-local-variables is :safe, then ignore
7675 the form totally, as is done for non-eval forms. (Bug#12155)
7676 This is CVE-2012-3479.
7678 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7681 (rx-form): Simplify.
7683 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7685 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7686 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7687 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7688 (ruby-syntax-propertize-function): Adjust for changes in
7689 `ruby-syntax-propertize-heredoc'.
7691 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7693 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7694 binding (use `M-;' instead).
7695 (ruby-singleton-class-p): New function.
7696 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7698 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7702 2012-08-10 Chong Yidong <cyd@gnu.org>
7704 * progmodes/python.el (python-shell-get-process-name): Don't mess
7705 with same-window-buffer-names.
7707 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7708 (eshell-remove-from-window-buffer-names): Make obsolete.
7709 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7710 (eshell): Just use pop-to-buffer-same-window instead.
7712 2012-08-10 Chong Yidong <cyd@gnu.org>
7714 * bindings.el: Bind M-= back to count-words-region.
7716 * simple.el (count-words-region): Accept a prefix arg for acting
7717 on the entire buffer.
7718 (count-words--buffer-message): New helper function.
7720 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7723 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7724 (event-start, event-end): Use posn-at-point to return a more
7726 (posnp): New function.
7727 * mouse.el (popup-menu-normalize-position): Use it.
7729 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7731 * mouse.el (popup-menu-normalize-position): New function.
7732 (popup-menu): Use `popup-menu-normalize-position' to normalize
7733 the form for POSITION argument.
7735 * term/x-win.el (x-menu-bar-open):
7736 Use the value returend from (posn-at-point) as position
7737 passed to `popup-menu'.
7739 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7741 * calc/calccomp.el (math-compose-expr): Add extra argument
7742 indicating that parentheses should be put around products in
7743 denominators. Give multiplication precedence over division during
7746 2012-08-09 Chong Yidong <cyd@gnu.org>
7748 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7749 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7750 (Man-untabify-command, manual-program): Convert to defcustom
7753 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7755 * descr-text.el (describe-char): Don't insert extra newlines
7758 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7759 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7761 * align.el (align-region): Delete temporary markers (Bug#10047).
7762 Plus some code cleanups.
7764 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7766 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7767 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7768 (python-shell-internal-last-output): Use make-local-variable
7769 instead of make-variable-buffer-local.
7771 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7773 * progmodes/python.el: Enhancements to forward-sexp.
7774 (python-nav-forward-sexp): Rename from
7775 python-nav-forward-sexp-function.
7776 (python-nav--forward-sexp, python-nav--backward-sexp):
7779 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7781 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7782 modes and simplification modes.
7784 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * delsel.el (delete-selection-pre-hook): Don't propagate the
7787 file-supersession signals (bug#12161).
7789 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7792 (cl-map-extents): Add compatibility aliases (bug#12135).
7794 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7796 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7797 tests by `ignore-error'.
7798 (tramp-find-shell): Open also a new shell, when cache is already
7799 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7801 2012-08-08 Juri Linkov <juri@jurta.org>
7803 * bookmark.el: Add `defaults' property to the bookmark record.
7804 (bookmark-current-buffer): Doc fix.
7805 (bookmark-make-record): Add `defaults' property with default values
7806 to the bookmark record.
7807 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7808 with `bookmark-insert-current-bookmark'.
7809 (bookmark-set): Get `defaults' property from the bookmark record
7810 and use it in `read-from-minibuffer'.
7811 (bookmark-insert-current-bookmark): Remove function.
7813 * info.el (Info-bookmark-make-record): Add `defaults' property
7814 with values of canonical Info node name, the current Info file
7815 name and the current Info node name. (Bug#12107)
7817 2012-08-08 Juri Linkov <juri@jurta.org>
7819 * files.el (basic-save-buffer): Use `buffer-name' as the default
7820 of `read-file-name' when buffer is not visiting a file (bug#12128).
7822 2012-08-08 Juri Linkov <juri@jurta.org>
7824 * info.el (Info-isearch-search): Doc fix.
7825 (Info-search): Change search-failed message from "initial node" to
7826 "end of node" (bug#12078).
7827 (Info-isearch-search): Change `isearch-string-state' to
7828 `isearch--state-string'.
7830 2012-08-08 Glenn Morris <rgm@gnu.org>
7832 * language/persian.el: Remove file.
7833 * language/misc-lang.el: Move unique part of persian.el here.
7834 * loadup.el: Remove language/persian.
7836 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7838 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7840 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7842 * progmodes/python.el: Fix defsubst warning.
7843 (python-syntax-context) Rename from python-info-ppss-context.
7844 (python-syntax-context-type): Rename from
7845 python-info-ppss-context-type.
7846 (python-syntax-comment-or-string-p): Rename from
7847 python-info-ppss-comment-or-string-p.
7849 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7851 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7853 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7855 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7856 a defcustom that is quoted with backquote.
7858 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7859 Fix handling of interactive spec when the body uses return.
7860 (math-do-arg-check, math-define-function-body): Use backquote forms.
7861 * calc/calc-ext.el (math-defcache): Likewise.
7862 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7863 * allout.el (allout-new-exposure): Likewise.
7864 * calc/calcalg2.el (math-tracing-integral): Likewise.
7865 * info.el (Info-last-menu-item): Likewise.
7866 * emulation/vip.el (vip-loop): Likewise.
7867 * textmodes/artist.el (artist-funcall): Likewise.
7868 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7869 Construct menu-item directly.
7871 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7874 2012-08-07 Chong Yidong <cyd@gnu.org>
7876 * simple.el (deactivate-mark): Preserve text properties when
7877 saving the primary selection (Bug#8384).
7879 2012-08-07 Kevin Ryde <user42@zip.com.au>
7881 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7882 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7883 and continue processing (Bug#12110).
7885 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7887 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7888 syntax-propertize-function (bug#10095).
7890 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7893 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7894 describe-function-1.
7895 (describe-function-1): Use them. Move compiler macro after sig.
7896 (help-fns--compiler-macro): Use function-get. Assume we're already in
7897 standard-output. Adjust layout to new call order.
7899 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7900 re-binding a symbol that has a symbol-macro (bug#12119).
7902 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7904 * language/persian.el: New file. (Bug#11812)
7905 * loadup.el: Add language/persian.el.
7907 2012-08-06 Chong Yidong <cyd@gnu.org>
7909 * window.el (window--maybe-raise-frame): New function.
7910 (window--display-buffer): Split off from here.
7911 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7912 (display-buffer-pop-up-window, display-buffer-use-some-window):
7913 Obey an inhibit-switch-frame action alist entry.
7914 (display-buffer): Update doc.
7916 * replace.el (occur-after-change-function): Avoid losing focus by
7917 using the inhibit-switch-frame display parameter (Bug#12139).
7919 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7921 Make internal shell process buffer names start with space.
7922 * progmodes/python.el (python-shell-make-comint): Add optional
7924 (run-python-internal): Use it.
7925 (python-shell-internal-get-or-create-process): Check for new
7926 internal buffer names.
7928 2012-08-06 Glenn Morris <rgm@gnu.org>
7930 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7931 Do less getting and setting of environment variables.
7933 2012-08-05 Chong Yidong <cyd@gnu.org>
7935 * proced.el (proced): Add substitution string to docstring to
7936 trigger autoloading of the proced library on C-h f (Bug#1768).
7938 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7939 Don't show defvars which have no second argument (Bug#8638).
7941 * imenu.el (imenu-generic-expression): Move documentation here
7942 from imenu--generic-function.
7943 (imenu--generic-function): Refer to imenu-generic-expression.
7945 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7947 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7948 indentation declaration.
7949 (viper-loop): Add indentation declaration (Bug#7025).
7951 2012-08-05 Chong Yidong <cyd@gnu.org>
7953 * help-fns.el (describe-variable): Add hyperlink for
7954 directory-local variables files. Improve buffer-local and
7955 permanent-local reporting; suggested by MON KEY (Bug#6644).
7957 * help-mode.el (help-dir-local-var-def): New button type.
7959 * files.el (kill-buffer-hook): Provide a defvar.
7961 2012-08-05 Glenn Morris <rgm@gnu.org>
7963 * eshell/esh-ext.el (eshell/addpath):
7964 Also update eshell-path-env. (Bug#12013)
7966 2012-08-05 Chong Yidong <cyd@gnu.org>
7968 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7970 * fringe.el (fringe-styles): Add docstring.
7971 (fringe--check-mode): New function.
7972 (set-fringe-mode, set-fringe-style): Use it.
7973 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7975 * files.el (set-auto-mode): Fix invalid setq call.
7977 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7979 * isearch.el: Misc simplification; use defstruct.
7980 (isearch-mode-map): Dense maps now work like sparse ones.
7981 (isearch--state): New defstruct.
7982 (isearch-string-state, isearch-message-state, isearch-point-state)
7983 (isearch-success-state, isearch-forward-state)
7984 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7985 (isearch-wrapped-state, isearch-barrier-state)
7986 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7987 replaced by defstruct's accessors.
7988 (isearch--set-state): Rename from isearch-top-state and change
7990 (isearch-push-state): Use new isearch--get-state.
7991 (isearch-toggle-word): Disable regexp when enabling word.
7992 (isearch-message-prefix): Remove unused arg _c-q-hack.
7993 (isearch-message-suffix): Remove unused arg _ellipsis.
7995 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7997 * simple.el (list-processes--refresh): For a server use :host or
7998 :local as the address.
7999 (list-processes): Doc fix.
8001 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8003 * lisp/mpc.el: Support password in host argument.
8004 (mpc--proc-connect): Parse and use new password element.
8005 Set mpc-proc variable instead of returning process.
8006 (mpc-proc): Adjust accordingly.
8008 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8010 * whitespace.el (whitespace-display-mappings): Use Unicode
8011 codepoints, instead of emacs-mule codepoints. See
8012 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8015 * files.el (file-truename): Don't skip symlink-chasing part on
8016 windows-nt. Incorporate the resolution of 8+3 short aliases on
8017 Windows into the loop that recursively chases symlinks.
8018 Compare directory and its parent case-insensitively on MS-Windows and
8021 2012-08-03 Chong Yidong <cyd@gnu.org>
8023 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8025 * sort.el (sort-regexp-fields): Doc fix.
8027 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8029 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8030 labels regex position point at the expected place.
8032 2012-08-03 MON KEY <monkey@sandpframing.com>
8034 * net/imap.el (imap-interactive-login, imap-authenticate)
8035 (imap-mailbox-lsub, imap-mailbox-list)
8036 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8037 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8038 (imap-parse-response): Doc fix.
8040 2012-08-03 João Távora <joaotavora@gmail.com>
8042 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8043 if sexp scanning does not move point (Bug#5734).
8045 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8047 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8048 Add listings, minted, and ctable packages.
8049 (reftex-label-alist-builtin): Move listings, minted, and ctable
8050 entries before LaTeX.
8051 (reftex-label-alist): Docfix.
8053 2012-08-02 Bastien Guerry <bzg@gnu.org>
8055 * replace.el (occur): Fix docstring (bug#12122).
8057 2012-08-02 Glenn Morris <rgm@gnu.org>
8059 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8061 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8063 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8064 * international/mule-cmds.el: Create
8065 inactivate-current-input-method-function as an obsolete alias for
8066 deactivate-current-input-method-function. See Katsumi Yamaoka in
8067 <http://bugs.gnu.org/10150#46>.
8069 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8071 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8074 2012-08-01 Glenn Morris <rgm@gnu.org>
8076 * progmodes/autoconf.el (autoconf-definition-regexp):
8077 Add AH_TEMPLATE, adjust submatch numbering.
8078 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8079 (autoconf-current-defun-function): Update for above change.
8080 (autoconf-current-defun-function): First skip to end of current word.
8082 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8084 * calendar/cal-html.el (cal-html-insert-agenda-days):
8085 Fix typo. (Bug#12018)
8087 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8089 Shell processes: enhancements to startup and CEDET compatibility.
8090 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8091 (python-shell-make-comint): accept-process-output at startup.
8092 (run-python-internal): Set inferior-python-mode-hook to nil.
8093 (python-shell-internal-get-or-create-process): call sit-for.
8094 (python-preoutput-result): Add obsolete alias.
8095 (python-shell-internal-send-string): Use it.
8096 (python-shell-send-setup-code): Remove call to
8097 accept-process-output.
8099 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8101 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8104 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8106 * calc-mode.el (calc-basic-simplification-mode): Rename from
8107 `calc-limited-simplification-mode'.
8108 (calc-alg-simplification-mode): New function.
8109 (calc-set-simplify-mode): Adjust message.
8111 * calc.el (calc-set-mode-line): Adjust mode line display for
8112 basic simplification mode.
8114 * calc-help.el (calc-m-prefix-help): Update help message.
8116 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8117 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8119 2012-07-31 Bastien Guerry <bzg@gnu.org>
8121 * man.el (man): Fix comment. (bug#12101)
8123 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8125 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8126 Don't return a non-nil value when no suitable buffer was found.
8128 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8130 * progmodes/python.el (run-python-internal): Disable font lock for
8133 2012-07-30 Stefan Merten <smerten@oekonux.de>
8135 * textmodes/rst.el: Silence `checkdoc-ispell'.
8136 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8137 (rst-official-version, rst-official-cvs-rev)
8138 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8139 (rst-mode-map): New key binding.
8141 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8143 Update .PHONY listings in makefiles.
8144 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8145 autoloads, update-subdirs, updates, bzr-update, update-authors,
8146 compile-onefile, compile-calc, backup-compiled-files,
8147 compile-after-backup, compile-one-process, mh-autoloads,
8148 bootstrap-clean, distclean, maintainer-clean.
8150 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8152 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8153 (calc-set-mode-line): Don't display "AlgSimp ".
8155 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8156 (calc-lim-simplify-mode): New function.
8157 (calc-set-simplify-mode): Default to 'alg.
8158 (calc-default-simplify-mode): Make algebraic simplifications
8161 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8162 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8164 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8165 indicate new simplification modes.
8167 * calc/README: Mention new default simplification mode.
8169 * calc/calc.el (math-normalize-error): New variable.
8170 (math-normalize): Set `math-normalize-error' to t
8171 when there's an error.
8173 * calc/calc-alg.el (math-simplify): Don't simplify when
8174 `math-normalize' returns an error.
8176 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8178 * international/mule-cmds.el (set-locale-environment): Revert last
8179 change, since display-graphic-p returns nil when this function is
8180 called during startup. Instead...
8182 * term/w32console.el (terminal-init-w32console): ...setup the
8183 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8185 2012-07-29 Juri Linkov <juri@jurta.org>
8187 * simple.el (goto-line): Don't display default line number in the
8188 prompt because it should be displayed by `read-number' (bug#9952).
8189 Add the current line number to the defaults of `goto-line' to
8190 allow its easier modification by users with `M-n' (bug#9201).
8192 * subr.el (read-number): Support multiple default values like in
8193 other minibuffer reading functions. Replace `read' with
8194 `string-to-number' for consistency with `number-to-string'.
8196 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8198 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8199 * emulation/viper-init.el (viper-deactivate-input-method-action):
8200 Rename from viper-inactivate-input-method-action.
8201 (viper-deactivate-input-method):
8202 Rename from viper-inactivate-input-method.
8203 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8204 * international/mule-cmds.el (deactivate-input-method):
8205 Rename from inactivate-input-method.
8206 Also run input-method-deactivate-hook.
8207 (deactivate-current-input-method-function):
8208 Rename from inactivate-current-input-method-function.
8209 (input-method-deactivate-hook): New hook.
8210 (input-method-inactivate-hook): Mark obsolete.
8211 (inactivate-input-method): Mark obsolete.
8213 * international/quail.el (quail-activate):
8214 Also run quail-deactivate-hook.
8215 (quail-deactivate): Rename from quail-inactivate.
8216 * international/robin.el (robin-activate):
8217 Also run robin-deactivate-hook.
8218 (robin-deactivate): Rename from robin-inactivate.
8220 2012-07-29 Chong Yidong <cyd@gnu.org>
8222 * simple.el (indicate-copied-region): New function.
8223 (kill-ring-save): Split off from here.
8225 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8226 (kill-rectangle): Set deactivate-mark to t on read-only error.
8228 * register.el (copy-to-register, copy-rectangle-to-register):
8229 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8230 (append-to-register, prepend-to-register): Call indicate-copied-region.
8232 2012-07-29 Juri Linkov <juri@jurta.org>
8234 * simple.el (async-shell-command-buffer): New defcustom.
8235 (shell-command): Use it. (Bug#4719)
8237 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8239 * international/mule-cmds.el (set-locale-environment): In a
8240 console session on MS-Windows, set up keyboard and terminal
8241 encoding from the OEM codepage, not the ANSI codepage.
8244 2012-07-28 Chong Yidong <cyd@gnu.org>
8246 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8249 2012-07-28 Leo Liu <sdl.web@gmail.com>
8251 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8252 the alist (bug#12029).
8254 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8256 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8257 (compile-always, compile-first)
8258 ($(lisp)/calendar/cal-loaddefs.el)
8259 ($(lisp)/calendar/diary-loaddefs.el)
8260 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8261 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8262 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8263 instead of on update-subdirs.
8264 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8266 2012-07-28 Chong Yidong <cyd@gnu.org>
8268 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8269 directory if vc-deduce-backend returns nil (Bug#7350).
8271 * simple.el (delete-trailing-lines): New option.
8272 (delete-trailing-whitespace): Obey it (Bug#11879).
8274 2012-07-28 David Engster <deng@randomsample.de>
8276 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8277 Explanation of new 'symbol-qnames feature in doc-strings.
8278 (xml-maybe-do-ns): Return expanded names as plain symbols if
8279 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8280 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8282 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8284 Consistent completion in inferior python with emacs -nw.
8285 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8286 binding in inferior-python-mode-map with "\t".
8287 (python-shell-completion-complete-at-point)
8288 (python-completion-complete-at-point): Remove interactive spec.
8290 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8292 * calc/calccomp.el (math-compose-expr): Undo previous change.
8294 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8296 * progmodes/python.el (python-mode-map): Add keybinding for
8298 (python-shell-make-comint): Fix pop-to-buffer call.
8299 (run-python): Autoload. New arg SHOW.
8300 (python-shell-get-or-create-process): Do not pop python process
8303 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8305 * notifications.el (notifications-on-action-signal)
8306 (notifications-on-closed-signal): Use also the bus address for the map.
8307 (notifications-notify, notifications-close-notification)
8308 (notifications-get-capabilities): Add optional argument BUS.
8310 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8312 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8313 Add support for the lstlisting and minted environments, and for the
8315 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8316 labels written in keyvals syntax.
8318 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8320 * calc/calccomp.el (math-compose-expr): Use parentheses when
8321 there is a product in the denominator of a fraction.
8323 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8325 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8326 ($(lisp)/calendar/diary-loaddefs.el)
8327 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8328 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8329 Fixes failures in parallel bootstrap because subdirs.el is being
8330 rewritten while the autoload files are built at the same time,
8331 which needs to load subdirs.el.
8333 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8335 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8336 (mouse-drag-line): Don't exit tracking when a switch-frame or
8337 switch-window event occurs (Bug#12006).
8339 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * mouse.el (popup-menu): Fix last change.
8343 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8345 Autoload from Lisp with more care. Follow aliases when looking for
8346 function properties.
8347 * subr.el (autoloadp): New function.
8348 (symbol-file): Use it.
8349 (function-get): New function.
8350 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8352 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8353 (lisp-indent-function):
8354 * emacs-lisp/gv.el (gv-get):
8355 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8356 * emacs-lisp/byte-opt.el (byte-optimize-form):
8357 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8358 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8360 * emacs-lisp/cl.el: Don't propagate function properties any more.
8362 * speedbar.el (speedbar-add-localized-speedbar-support):
8363 * emacs-lisp/disass.el (disassemble-internal):
8364 * desktop.el (desktop-load-file):
8365 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8366 (describe-function-1):
8367 * emacs-lisp/find-func.el (find-function-noselect):
8368 * emacs-lisp/elp.el (elp-instrument-function):
8369 * emacs-lisp/advice.el (ad-has-proper-definition):
8370 * apropos.el (apropos-safe-documentation, apropos-macrop):
8371 * emacs-lisp/debug.el (debug-on-entry):
8372 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8373 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8374 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8376 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8378 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8379 function, not an obsolete variable (Bug#12046).
8381 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8383 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8385 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8387 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8388 window only if it is still live (Bug#12034).
8390 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8392 * subr.el (redirect-frame-focus): Add advertised calling
8393 convention (Bug#12030).
8395 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8397 Prefer typical American spelling for "acknowledgment".
8398 * vc/add-log.el (change-log-acknowledgment): Rename from
8399 change-log-acknowledgement, with an alias for the old name.
8401 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8403 * calc-alg.el (math-simplify-divide): Don't cross multiply
8404 in an equation when the lhs is a variable.
8406 2012-07-24 Julien Danjou <julien@danjou.info>
8408 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8411 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8413 * startup.el (command-line): Don't display an empty user name in
8414 the error message about non-existent home directory, when
8415 init-file-user was set to an empty string. See
8416 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8417 for the details and context.
8419 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8421 * ses.el (ses-cell-formula-aset): New macro.
8422 (ses-cell-references-aset): New macro.
8423 (ses-cell-p): New function.
8424 (ses-rename-cell): Do no longer rely on complex operations like
8425 ses-cell-set-formula or ses-set-cell to change the cell and handle
8426 the undo at the same time, but rather use lower level new macros
8427 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8428 the undo directly. Refresh the mode line.
8430 2012-07-21 Leo Liu <sdl.web@gmail.com>
8432 * progmodes/cc-cmds.el (c-defun-name):
8433 Use match-string-no-properties instead for consistency.
8435 2012-07-20 Leo Liu <sdl.web@gmail.com>
8437 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8440 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8442 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8445 * progmodes/bug-reference.el, misearch.el: Provide themselves
8448 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8449 of narrowed buffer (bug#11966).
8451 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8453 * ses.el (ses-rename-cell): Set new name also in reference list of
8454 cells of which the renamed cell depends.
8456 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8458 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8459 to check whether menu-bar is shown or not. If not shown,
8460 show the menu-bar as a popup menu instead of using tmm.
8461 * mouse.el (popup-menu): Accept `point' as `position' argument.
8463 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8465 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8466 up inside string symbol literal (bug#11923).
8468 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8470 * startup.el (fancy-startup-text): Read the whole tutorial, not
8471 just its first 256 bytes. Prevents gibberish in display of the
8474 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8476 Drop idle buffer compaction due to an absence of the
8478 * compact.el: Remove.
8480 2012-07-19 Sam Steingold <sds@gnu.org>
8482 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8483 vc-bzr-pull & vc-bzr-merge-branch.
8484 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8485 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8486 for consistency with compilation-error-regexp-alist.
8487 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8488 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8489 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8490 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8492 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * emacs-lisp/chart.el: Use lexical-binding.
8495 (chart-emacs-storage): Don't hardcode the list of entries.
8497 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8499 Next round of tweaks caused by Fgarbage_collect changes.
8500 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8502 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8504 Compact buffers when idle.
8505 * compact.el: New file.
8507 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * subr.el (eventp): Presume that if it looks vaguely like an event,
8510 it's an event (bug#10190).
8512 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8514 Enhancements to ppss related code (thanks Stefan).
8515 * progmodes/python.el (python-indent-context)
8516 (python-indent-calculate-indentation, python-indent-dedent-line)
8517 (python-indent-electric-colon, python-nav-forward-block)
8518 (python-mode-abbrev-table)
8519 (python-info-assignment-continuation-line-p): Simplify checks
8521 (python-info-continuation-line-p): Cleanup.
8522 (python-info-ppss-context): Do not catch 'quote.
8523 (python-info-ppss-context-type)
8524 (python-info-ppss-comment-or-string-p): Simplify.
8526 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8528 * progmodes/python.el: Enhancements to eldoc support.
8529 (python-info-current-symbol): New function.
8530 (python-eldoc-at-point): Use python-info-current-symbol.
8531 (python-info-current-defun): Fix cornercase on first defun scan.
8532 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8533 and signal error when no inferior python process is available.
8535 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8537 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8538 assume it's always t.
8539 (vc-git-registered): Remove caching, the function is only called
8541 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8543 2012-07-18 Chong Yidong <cyd@gnu.org>
8545 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8547 * simple.el (count-words): Report on narrowing (Bug#9959).
8549 * bindings.el: Bind M-= to count-words.
8551 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8553 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8555 * progmodes/sh-script.el (sh-imenu-generic-expression):
8556 Capture a function with `function' keyword and without parentheses
8557 like "function FOO" (bug#11856).
8559 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8561 * window.el (split-window-sensibly): Make WINDOW argument
8564 2012-07-18 Chong Yidong <cyd@gnu.org>
8566 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8568 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8569 and make C-x 8 RET exit isearch (Bug#11439).
8571 * international/iso-transl.el: Move isearch-mode-map key
8572 definitions to isearch.el.
8574 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8576 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8577 (eieio-defclass): Use gv-define-setter when possible.
8579 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8581 Reflect recent changes in Fgarbage_collect.
8582 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8583 reflect new format of data returned by Fgarbage_collect.
8585 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8587 New utility functions + python-info-ppss-context fix (Bug#11910).
8588 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8589 (python-info-ppss-comment-or-string-p): New functions.
8590 (python-info-ppss-context): Small fix for string check.
8592 2012-07-17 Juri Linkov <juri@jurta.org>
8594 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8595 (dired-do-async-shell-command): Don't add `*' at the end of the
8596 command (Bug#11815).
8597 (dired-do-shell-command): Doc fix.
8598 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8599 Join the individual commands using either "&" or ";" as the
8600 separator depending on the values of these trailing characters.
8601 At the end re-add the trailing "&". (Bug#10598)
8603 * simple.el (async-shell-command): Sync the interactive spec with
8604 `shell-command'. Doc fix.
8605 (shell-command): Doc fix.
8607 2012-07-17 Juri Linkov <juri@jurta.org>
8609 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8611 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8613 Final renames and doc fixes for movement commands (bug#11899).
8614 * progmodes/python.el (python-nav-beginning-of-statement):
8615 Rename from python-nav-statement-start.
8616 (python-nav-end-of-statement): Rename from
8617 python-nav-statement-end.
8618 (python-nav-beginning-of-block): Rename from
8619 python-nav-block-start.
8620 (python-nav-end-of-block): Rename from python-nav-block-end.
8622 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8624 * progmodes/python.el (python-shell-send-string-no-output):
8625 Allow accept-process-output to quit, keeping shell process ready for
8626 future interactions (Bug#11868).
8628 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8632 * emacs-lisp/elint.el (elint-find-args-in-code):
8633 Use help-function-arglist, so as to handle lexical byte-code.
8635 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8638 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8641 Avoid spuriously marking the buffer as modified because of c-is-sws.
8643 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8644 as not-a-comment (bug#11946).
8646 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8647 for uninterned vars.
8649 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8650 Use read-event since we don't really want to read chars but bytes.
8652 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8653 $$..$$ but also $..$ using regexps (bug#11953).
8654 Use tex-verbatim for \url and \path.
8655 (tex-font-lock-keywords): Define as defconst like the others.
8656 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8658 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8660 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8661 alias for insert-char.
8663 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8665 * progmodes/python.el: Simplified imenu implementation.
8666 (python-nav-jump-to-defun): Remove command.
8667 (python-mode-map): Use `imenu' instead.
8668 (python-nav-list-defun-positions-cache)
8669 (python-imenu-include-defun-type, python-imenu-make-tree)
8670 (python-imenu-subtree-root-label, python-imenu-index-alist):
8672 (python-nav-list-defun-positions, python-nav-read-defun)
8673 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8674 (python-imenu-make-tree, python-imenu-create-index):
8676 (python-mode): Update to interact with imenu by setting
8677 `imenu-extract-index-name-function' only.
8679 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8681 * progmodes/python.el: Enhancements to navigation commands.
8682 (python-nav-backward-sentence)
8683 (python-nav-forward-sentence): Remove.
8684 (python-nav-backward-statement, python-nav-forward-statement)
8685 (python-nav-statement-start, python-nav-statement-end)
8686 (python-nav-backward-block, python-nav-forward-block)
8687 (python-nav-block-start, python-nav-block-end)
8688 (python-nav-forward-sexp-function)
8689 (python-info-current-line-comment-p)
8690 (python-info-current-line-empty-p): New functions.
8691 (python-indent-context): Use `python-nav-statement-start'.
8693 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8695 * eshell/em-ls.el (eshell/ls): Use `apply'.
8697 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8698 multi-hops, instead of Tramp internals.
8700 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8702 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8703 when F1 and F2 are located on different hosts.
8705 2012-07-14 Chong Yidong <cyd@gnu.org>
8707 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8708 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8709 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8710 (xterm-mouse--read-event-sequence-1000)
8711 (xterm-mouse--read-event-sequence-1006): New functions. For old
8712 mouse protocol, handle M-mouse-X events correctly.
8713 (xterm-mouse-event): New arg specifying mouse protocol.
8714 (turn-on-xterm-mouse-tracking-on-terminal)
8715 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8716 sequence to toggle extended coordinates on newer XTerms.
8717 This appears to be harmless on terminals which do not support this.
8719 2012-07-14 Leo Liu <sdl.web@gmail.com>
8721 Add fringe bitmap indicators for flymake. (Bug#11253)
8722 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8723 (flymake-make-overlay): New arg BITMAP.
8724 (flymake-error-bitmap, flymake-warning-bitmap)
8725 (flymake-fringe-indicator-position): New user variables.
8727 * fringe.el: New bitmap exclamation-mark.
8729 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8731 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8734 2012-07-14 Chong Yidong <cyd@gnu.org>
8736 * electric.el (electric-pair-post-self-insert-function): Fix pair
8737 insertion in empty-region case (Bug#11520).
8739 2012-07-14 Chong Yidong <cyd@gnu.org>
8741 * bindings.el: Consolidate ctl-x-r-map bindings.
8742 Bind copy-rectangle-as-kill to C-x r w.
8744 * rect.el, register.el: Move bindings to bindings.el.
8746 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8748 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8750 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8752 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8754 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8756 * bindings.el (top): Use `mapc' instead of `mapcar'.
8758 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8760 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8762 * progmodes/sql.el (sql-comint): Suppress the check for program on
8763 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8766 2012-07-13 Chong Yidong <cyd@gnu.org>
8768 * bindings.el: Assign a non-nil permanent-local property to
8769 per-buffer variables which lack a default value (Bug#11930).
8771 * help-fns.el (describe-variable): In the "automatically becomes
8772 local" notice, take note of permanent-local variables.
8774 2012-07-13 Chong Yidong <cyd@gnu.org>
8776 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8777 to allow printing the message when called from Lisp.
8779 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8780 Remove toggle-read-only.
8782 * bs.el (bs-toggle-readonly):
8783 * buff-menu.el (Buffer-menu-toggle-read-only):
8784 Remove with-no-warnings around toggle-read-only.
8786 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8787 Remove with-no-warnings around toggle-read-only.
8788 (ffap-read-only, ffap-read-only-other-window)
8789 (ffap-read-only-other-frame): Callers changed.
8791 * help-mode.el: Don't require view package.
8792 (help-mode-finish): Set buffer-read-only instead of calling
8795 * bindings.el (mode-line-toggle-read-only):
8796 * dired.el (dired-toggle-read-only):
8797 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8798 with non-nil second arg.
8800 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8801 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8804 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8806 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8809 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8811 More CL cleanups and reduction of use of cl.el.
8812 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8813 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8814 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8815 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8816 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8817 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8818 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8819 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8820 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8821 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8822 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8823 * eshell/em-cmpl.el, eshell/em-banner.el:
8824 * calendar/parse-time.el: Use cl-lib.
8825 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8826 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8827 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8828 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8829 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8830 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8831 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8832 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8833 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8834 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8835 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8836 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8837 `lambda' rather than with `quote'.
8838 (eshell-do-opt): Adjust accordingly.
8839 (eshell-process-option): Simplify.
8840 * eshell/esh-var.el:
8841 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8842 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8843 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8844 to `pcase--dontcare'.
8845 * emacs-lisp/cl.el (labels): Mark obsolete.
8846 (cl--letf, letf): Move to cl-lib.
8847 (cl--letf*, letf*): Remove.
8848 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8849 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8850 (cl-progv): Rewrite.
8851 (cl--letf, cl-letf): Move from cl.el.
8852 (cl-letf*): New macro.
8853 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8855 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8857 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8859 2012-07-11 Chong Yidong <cyd@gnu.org>
8861 * vc/log-edit.el (log-edit-vc-backend): New variable.
8862 (log-edit): Doc fix.
8864 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8865 argument of log-edit to set up all local variables.
8866 (vc-start-logentry): New optional arg specifying VC backend.
8868 * vc/vc.el (vc-checkin): Use it.
8869 (vc-deduce-fileset): Handle Log Edit buffers.
8870 (vc-diff): Make first argument optional too.
8872 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8874 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8876 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8877 command, just in case. The function is not needed anymore.
8878 (eshell-external-command): Do not call `eshell-remote-command'.
8880 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8882 Reduce use of (require 'cl).
8883 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8884 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8885 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8886 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8887 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8888 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8889 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8890 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8891 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8892 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8893 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8894 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8895 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8896 (byte-compile-unfold-bcf, byte-compile-check-variable):
8897 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8898 (byte-compile-nilconstp):
8899 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8900 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8902 * emacs-lisp/gv.el (cond): Make it a valid place.
8903 (if): Simplify slightly.
8905 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8906 (pcase--self-quoting-p): New function.
8907 (pcase--u1): Use it.
8909 2012-07-10 Glenn Morris <rgm@gnu.org>
8911 * emacs-lisp/authors.el (authors-fixed-entries):
8912 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8914 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8916 Rename configure.in to configure.ac (Bug#11603).
8917 * emacs-lisp/authors.el (authors-canonical-file-name):
8918 * progmodes/autoconf.el (autoconf-mode):
8919 Prefer configure.ac to configure.in.
8921 2012-07-08 Chong Yidong <cyd@gnu.org>
8923 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8924 Implement the mouse-1-click-follows-link handling properly.
8926 * info.el (Info-link-keymap): Use follow-link mechanism for
8927 header-line links (Bug#374).
8929 * simple.el (deactivate-mark): Do not set the primary selection
8930 if another program has acquired it (Bug#11772).
8932 2012-07-07 Kevin Ryde <user42@zip.com.au>
8934 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8935 (woman-decode-region): Replace escaped-escapes without destroying
8936 bold or underline (Bug#11552).
8937 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8939 2012-07-07 Chong Yidong <cyd@gnu.org>
8941 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8942 (interprogram-cut-function, interprogram-paste-function):
8943 Mention that we typically mean the clipboard.
8945 2012-07-06 Glenn Morris <rgm@gnu.org>
8947 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8949 * files.el (toggle-read-only): Restrict message to interactive use.
8951 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8953 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8955 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8957 2012-07-06 Glenn Morris <rgm@gnu.org>
8959 * Makefile.in (compile-one-process): Rename from "recompile".
8961 * Makefile.in (bzr-update): "compile" is the same as "recompile
8962 autoloads", but parallelizable, so use that instead.
8964 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8966 * window.el (quit-window): Always restore window height when
8967 it's saved in quit-restore parameter (Bug#11810).
8969 2012-07-06 Glenn Morris <rgm@gnu.org>
8971 * simple.el (kill-whole-line): Doc tweak.
8973 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8975 * files.el (file-relative-name): Compare file names
8976 case-insensitively if on MS-Windows or MS-DOS, or if
8977 read-file-name-completion-ignore-case is non-nil. Don't use
8978 case-fold-search for this purpose. (Bug#11827)
8980 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8982 * calendar/cal-dst.el (calendar-current-time-zone):
8983 Return calendar-current-time-zone-cache if non-nil.
8985 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8986 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8988 * calendar/cal-dst.el (calendar-current-time-zone):
8989 Return calendar-current-time-zone-cache if non-nil.
8991 2012-07-06 Glenn Morris <rgm@gnu.org>
8993 * Makefile.in (cvs-update): Remove old alias.
8995 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8997 Sync with Tramp 2.2.6-pre.
8999 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9000 compatible declaration.
9002 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9003 Protect `list-load-path-shadows' call.
9005 * net/tramp-compat.el (top): Require packages, which aren't
9006 autoloaded anymore for XEmacs. Protect call of
9007 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9008 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9009 it hurts at least for SXEmacs.
9010 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9011 standard-value for `temporary-file-directory'.
9013 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9014 Redirect stderr to /dev/null.
9015 (tramp-sh-handle-write-region): uid and gid can be floats.
9016 Reported by Russell Sim <russell.sim@gmail.com>.
9017 (tramp-sh-handle-vc-registered): Hide errors.
9018 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9019 and `start-file-process'.
9020 (tramp-maybe-open-connection): Check also whether `non-essential'
9023 2012-07-04 Chong Yidong <cyd@gnu.org>
9025 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9026 (xml-parse-tag): Likewise, and avoid changing entity tables.
9027 (xml-syntax-table): Define from scratch, making sure not to give
9028 x2000 and other Unicode spaces whitespace syntax, since those are
9030 (xml-parse-fragment): Delete unused function.
9031 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9032 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9033 (xml-entity-ref, xml-pe-reference-re)
9034 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9035 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9036 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9037 (xml-entity-value-re): Use syntax references in regexps where
9038 possible; no need to define inside a let-binding.
9039 (xml-parse-dtd): Use xml-pe-reference-re.
9040 (xml-entity-or-char-ref-re): New defconst.
9041 (xml-parse-string, xml-substitute-special): Use it.
9043 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9046 (find-file--read-only): New function.
9047 (find-file-read-only, find-file-read-only-other-window)
9048 (find-file-read-only-other-frame): Use it.
9049 (insert-file-contents-literally): Don't `fset'.
9050 (get-free-disk-space): Use locate-dominating-file.
9052 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9053 function is already compiled.
9055 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9057 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9059 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9060 files on the same host.
9062 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9064 * help-fns.el (describe-function-1): Only call
9065 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9067 2012-07-03 Chong Yidong <cyd@gnu.org>
9069 * xml.el: Protect parser against XML bombs.
9070 (xml-entity-expansion-limit): New variable.
9071 (xml-parse-string, xml-substitute-special): Use it.
9072 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9074 2012-07-03 Glenn Morris <rgm@gnu.org>
9076 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9077 Allow linking to specific messages in debbugs reports (eg 123#5).
9079 2012-07-02 Chong Yidong <cyd@gnu.org>
9081 * xml.el: Fix entity and character reference expansion, allowing
9082 them to expand into markup as per XML spec.
9083 (xml-default-ns): New variable.
9084 (xml-entity-alist): Use XML spec definitions for lt and amp.
9085 (xml-parse-region): Make first two arguments optional.
9086 Discard text properties.
9087 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9088 All callers changed.
9089 (xml-parse-tag): Call xml-parse-tag-1. For backward
9090 compatibility, this function should not modify buffer contents.
9091 (xml-parse-tag-1): Fix opening-tag regexp.
9092 (xml-parse-string): Rewrite, handling entity and character
9093 references properly.
9094 (xml--entity-replacement-text): Signal an error if a parameter
9095 entity is undefined.
9097 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * comint.el (comint-output-filter): Filter out repeated prompts.
9101 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9102 and file-name-absolute-p.
9103 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9106 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9109 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9110 Rename from byte-compile--refiy-function. All uses changed.
9112 2012-07-01 Chong Yidong <cyd@gnu.org>
9114 * xml.el (xml--parse-buffer): New function. Move most of
9115 xml-parse-region here.
9116 (xml-parse-region): Copy region into a temporary buffer, since
9117 parameter entity substitution requires changing buffer contents.
9118 Use xml--parse-buffer.
9119 (xml-parse-file): Use xml--parse-buffer.
9120 (xml-parse-dtd): Make parameter entity substitution work right.
9121 Use proper regexps for ELEMENT declarations (Bug#7172).
9123 2012-06-30 Glenn Morris <rgm@gnu.org>
9125 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9127 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9128 Remove outdated and unnecessary dbus declarations.
9130 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9132 * emacs-lisp/timer.el (timer-until): Subtract results of
9133 float-time, instead of taking float-time of the result of
9134 time-subtract, since float-time signals an error for negative time
9137 2012-06-30 Chong Yidong <cyd@gnu.org>
9139 * xml.el (xml-*-re): Convert defvars into defconsts, and
9140 eval-and-compile them so eval-and-compile works on derivatives.
9141 (xml--entity-replacement-text): Use eval-and-comple.
9143 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9145 * vc/vc-git.el (vc-git-registered): Use cache property
9147 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9148 `vc-git-working-revision' in order to benefit from the cache.
9149 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9151 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9153 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9154 removed (likely outside Emacs). (Bug#11757)
9156 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9158 * emacs-lisp/cl-lib.el: Require macroexp.
9160 2012-06-30 Chong Yidong <cyd@gnu.org>
9162 * xml.el: Implement XML parameter entities.
9163 (xml-parameter-entity-alist): New variable.
9164 (xml-parse-region, xml-parse-fragment): Preserve previous values
9165 of xml-entity-alist and xml-parameter-entity-alist, so that
9166 repeated calls on different documents do not change them.
9167 (xml-parse-tag): Fix doctype regexp.
9168 (xml--entity-replacement-text): New function.
9169 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9170 properly requires url retrieval which is unimplemented.
9171 (xml-escape-string): Doc fix.
9173 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9175 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9177 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9179 * fringe.el (fringe-mode): Doc fix.
9181 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9183 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9185 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9186 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9188 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9190 * calendar/cal-dst.el (calendar-current-time-zone):
9191 Return calendar-current-time-zone-cache if non-nil.
9193 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9195 * progmodes/which-func.el (which-func-format):
9196 Add mouse-face. (Bug#11698)
9198 2012-06-29 Leo Liu <sdl.web@gmail.com>
9200 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9202 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * minibuffer.el (minibuffer-confirm-exit-commands):
9205 Add completion-at-point (bug#11725).
9207 2012-06-29 Glenn Morris <rgm@gnu.org>
9209 * progmodes/f90.el (f90-font-lock-keywords-2):
9210 Add some preprocessor elements. (Bug#10499)
9212 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9215 Use syntax-propertize (bug#11739).
9217 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9219 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9221 2012-06-28 Julien Danjou <julien@danjou.info>
9223 * term.el (term-handle-colors-array): Use a set of new faces to
9224 color the terminal. Also uses :inverse-video property.
9225 (term-default-fg-color): Set to nil by default, deprecate in favor
9227 (term-default-bg-color): Set to nil by default, deprecate in favor
9229 (term-current-face): Use `term-face' by default.
9230 (term-bold-attribute): Variable deleted.
9232 2012-06-28 Glenn Morris <rgm@gnu.org>
9234 * simple.el (completion-list-mode-finish):
9235 Don't use toggle-read-only. (Since completion-list-mode has
9236 a special mode-class, it wasn't doing anything extra anyway.)
9238 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9240 Make inlining of other-mode interpreted functions work (bug#11799).
9241 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9242 (byte-compile): Use it to fix compilation of lexical-binding closures.
9243 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9244 function, if needed.
9246 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9248 * help-mode.el (help-make-xrefs): Don't just withstand
9249 cyclic-variable-indirection but any error in documentation-property.
9251 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9253 * bindings.el (bindings--define-key): New function.
9254 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9255 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9256 * bindings.el: Use it to purecopy define-key bindings.
9258 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9260 * emacs-lisp/cl.el (flet): Mark obsolete.
9261 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9262 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9263 * progmodes/js.el (js-c-fill-paragraph):
9264 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9265 (ebrowse-switch-member-buffer-to-derived-class):
9266 * play/5x5.el (5x5-solver): Use cl-flet.
9268 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9269 (cl--symbol-function): New macro.
9270 (cl--letf, cl--letf*): Use it.
9272 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9273 Strip "toggle-" if any.
9275 2012-06-27 Glenn Morris <rgm@gnu.org>
9277 * info.el (Info-default-directory-list): Move here from paths.el.
9278 * paths.el: Remove file, which is now empty.
9279 * loadup.el: No longer load "paths".
9281 * custom.el (custom-initialize-delay): Doc fix.
9283 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9284 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9285 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9286 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9287 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9288 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9289 * eshell/eshell.el (eshell-defgroup): Remove alias.
9291 2012-06-27 Chong Yidong <cyd@gnu.org>
9293 * help.el (help-enable-auto-load): New variable.
9295 * help-fns.el (help-fns--autoloaded-p): New function.
9296 (describe-function-1): Refer to a function as "autoloaded" if it
9297 was autoloaded at any time in the past. Perform autoloading if
9298 help-enable-auto-load is non-nil.
9300 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9302 * makefile.w32-in (compile, compile-always): Depend on
9303 update-subdirs, not on subdirs.el. Otherwise, several different
9304 sub-targets of 'bootstrap' running in parallel could
9305 simultaneously write to subdirs.el, producing a garbled file.
9307 2012-06-26 Sam Steingold <sds@gnu.org>
9309 * files.el (file-name-base): New convenience function.
9310 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9311 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9312 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9313 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9314 * textmodes/ispell.el, textmodes/reftex-ref.el:
9315 * textmodes/tex-mode.el: Use it.
9316 Did not touch cedet and org because they are maintained elsewhere.
9318 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9320 * calendar/calendar.el (calendar-exit): Don't try to delete or
9321 iconify last frame. See:
9322 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9324 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9326 * server.el (server-process-filter): Remember dir in the
9327 process's `server-client-directory' properties.
9329 2012-06-24 Chong Yidong <cyd@gnu.org>
9331 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9334 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9336 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9338 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9340 * help-fns.el (describe-variable): Don't croak when doc is not found.
9341 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9342 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9343 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9344 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9345 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9347 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9349 2012-06-23 Chong Yidong <cyd@gnu.org>
9351 * info.el (Info-mouse-follow-link): Accept symbol values of
9352 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9353 (Info-fontify-node): Use Info-link-keymap for all navigation
9354 buttons, with link-args property to perform the desired action.
9355 (Info-link-keymap): Doc fix.
9356 (Info-next-link-keymap, Info-prev-link-keymap)
9357 (Info-up-link-keymap): Delete now-unused keymaps.
9359 2012-06-23 Chong Yidong <cyd@gnu.org>
9361 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9363 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9366 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9368 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9370 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9373 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9374 the requote function doesn't work properly (bug#11714).
9376 2012-06-23 Glenn Morris <rgm@gnu.org>
9378 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9380 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9382 Further GV/CL cleanups.
9383 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9385 (gv--defun-declaration): New function.
9386 (defun-declarations-alist): Use it.
9387 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9388 (gv-place): Autoload.
9389 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9390 original definition of dotimes and dolist.
9391 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9392 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9393 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9394 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9395 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9396 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9397 to the function's definition.
9398 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9402 * env.el: Don't use CL.
9404 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9406 Support higher-resolution time stamps (Bug#9000).
9408 * calendar/time-date.el (with-decoded-time-value): New arg
9409 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9410 (encode-time-value): New optional arg PICO. New type 3.
9411 (time-to-seconds) [!float-time]: Support the new picoseconds
9412 component if it's used.
9413 (seconds-to-time, time-subtract, time-add):
9414 Support ps-resolution time stamps as well.
9416 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9417 (timerp): Timer vectors now have length 9, not 8.
9418 (timer--time): Support new-style (4-part) time stamps.
9419 (timer-next-integral-multiple-of-time): Time stamps now have
9420 picosecond resolution, so take a bit more care about rounding.
9421 (timer-relative-time, timer-inc-time): New optional arg psecs.
9422 (timer-set-time-with-usecs): Set psecs to 0.
9423 (timer--activate): Check psecs component, too.
9425 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9427 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9429 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9430 Move the non-essential binding to the post/pre-command-hook where it is
9431 more obviously correct.
9433 * subr.el (read-passwd): Don't use a history at all.
9434 * savehist.el (savehist-save): Remove password saved accidentally
9435 because of the above bug.
9437 2012-06-22 Bastien Guerry <bzg@gnu.org>
9439 * files.el (toggle-read-only): Display a message telling whether
9440 the buffer is read-only or not (bug#11726).
9442 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9444 * emacs-lisp/gv.el: New file.
9445 * subr.el (push, pop): Extend to generalized variables.
9446 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9447 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9448 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9449 gv-define-simple-setter, and gv-define-expander.
9450 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9451 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9452 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9453 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9454 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9456 (cl-defstruct): Don't define setf-method any more.
9457 * emacs-lisp/cl.el (flet): Don't autoload.
9458 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9459 (define-setf-expander, defsetf, define-modify-macro)
9460 (cl-struct-setf-expander): Move from cl-lib.el.
9461 * emacs-lisp/syntax.el:
9462 * emacs-lisp/ewoc.el:
9463 * emacs-lisp/smie.el:
9464 * emacs-lisp/cconv.el:
9465 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9466 (timer--time): Use gv-define-simple-setter.
9467 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9468 to avoid coding-system problems in subr.el. Adjust all users.
9469 (macroexp--maxsize, macroexp-small-p): New functions.
9470 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9471 * scroll-bar.el (scroll-bar-mode):
9472 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9473 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9474 * winner.el (winner-configuration, winner-make-point-alist)
9475 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9476 * files.el (locate-file-completion-table): Avoid list*.
9478 2012-06-22 Chong Yidong <cyd@gnu.org>
9480 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9481 (dired-create-files): Doc fix (Bug#11329).
9482 (dired-do-copy): Doc fix (Bug#11334).
9483 (dired-mark-read-string): Doc fix (Bug#11553).
9485 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9486 Doc fix (Bug#11326).
9487 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9488 (dired-dwim-target): Doc fix.
9490 * wdired.el (wdired-mode): Doc fix.
9492 2012-06-22 Glenn Morris <rgm@gnu.org>
9494 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9495 (pcmpl-rpm-cache-stamp-file): New constant.
9496 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9497 (pcmpl-rpm-packages): Optionally cache list of packages.
9499 * pcmpl-rpm.el (pcmpl-rpm): New group.
9500 (pcmpl-rpm-query-options): New option.
9501 (pcmpl-rpm-packages): No need to inline it.
9502 Use pcmpl-rpm-query-options.
9504 * calendar/calendar.el (calendar-in-read-only-buffer):
9505 Avoid some needless mode changes.
9507 2012-06-21 Chong Yidong <cyd@gnu.org>
9509 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9510 (desktop-path): Remove . from the default value (Bug#10977).
9511 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9513 2012-06-20 Chong Yidong <cyd@gnu.org>
9515 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9517 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9519 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9522 2012-06-20 Chong Yidong <cyd@gnu.org>
9524 * term.el (term-window-width): Handle the case of a missing right
9526 (term-check-size): Use window-text-height (Bug#5445).
9527 (term-mode): Use define-derived-mode. Minor cleanups.
9528 Set font-lock-defaults (Bug#7692).
9529 (term-move-columns, term-insert-char, term-emulate-terminal)
9530 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9532 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9534 * net/ange-ftp.el (ange-ftp-get-passwd):
9535 Bind `enable-recursive-minibuffers'.
9536 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9538 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9540 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9542 2012-06-19 Glenn Morris <rgm@gnu.org>
9544 * progmodes/python.el (python-mode): Derive from prog-mode.
9546 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9548 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9549 (edt-user-menu-bar-update-buffers): New functions.
9550 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9552 2012-06-19 Chong Yidong <cyd@gnu.org>
9554 * subr.el (with-selected-window): Preserve the selected window's
9555 terminal's top-frame (Bug#4702).
9557 * window.el (save-selected-window): Likewise.
9559 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9561 * progmodes/python.el (python-rx-constituents): Move backquote.
9562 (python-skeleton-define, python-define-auxiliary-skeleton):
9565 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9567 * minibuffer.el (read-file-name-default): Revert the patch from
9570 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9572 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9573 (pcase--u1, pcase--q1): Don't use apply-partially.
9575 2012-06-18 Glenn Morris <rgm@gnu.org>
9577 * progmodes/python.el (python-proc, python-buffer)
9578 (python-send-receive, python-send-string): Fix obsolete versions.
9580 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9582 * window.el (special-display-p): Completely remove stringp
9583 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9585 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9587 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9589 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9591 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9592 * net/tramp-sh.el (tramp-maybe-open-connection):
9593 Throw if `non-essential' is non-nil.
9595 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9597 * window.el (special-display-p): Signal an error if BUFFER-NAME
9598 is not a string (Bug#11713).
9600 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9602 * progmodes/python.el (python-info-beginning-of-backslash):
9603 Rename from python-info-beginning-of-backlash, as a spelling fix.
9605 2012-06-17 Chong Yidong <cyd@gnu.org>
9607 * term.el (term-emulate-terminal): If term-check-size is called,
9608 move point to the process mark without resetting point (Bug#4635).
9610 2012-06-17 Glenn Morris <rgm@gnu.org>
9612 * international/mule-cmds.el (mule-menu-keymap)
9613 (set-language-environment, set-locale-environment): Doc tweaks.
9615 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9617 * cus-face.el (custom-face-attributes): Add wave-style underline
9619 * faces.el (set-face-attribute): Update docstring to describe
9620 wave-style underline attribute.
9622 2012-06-16 Chong Yidong <cyd@gnu.org>
9624 * term/xterm.el (terminal-init-xterm): Discard input before
9625 querying background mode (Bug#10959).
9627 2012-06-16 Stefan Merten <smerten@oekonux.de>
9629 * textmodes/rst.el: Added and corrected some comments.
9630 (rst-re-alist-def): Improve symbol syntax.
9631 (rst-mode-syntax-table): Correct syntax entries.
9632 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9633 (rst-official-version, rst-official-cvs-rev): Update version
9636 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9638 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9639 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9641 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9643 * progmodes/python.el: New python.el merge.
9644 (python-guess-indent): Obsolete var.
9645 (python-indent-guess-indent-offset): New defcustom.
9646 (python-indent): Obsolete var.
9647 (python-indent-offset): New defcustom.
9648 (python-python-command, python-jython-command): Delete var.
9649 (python-shell-interpreter): New defcustom.
9650 (python-pdbtrack-do-tracking-p): Delete var.
9651 (python-pdbtrack-activate): New defcustom.
9652 (python-use-skeletons): Obsolete var.
9653 (python-skeleton-autoinsert): New defcustom.
9654 (inferior-python-filter-regexp, python-continuation-offset)
9655 (python-honour-comment-indentation, python-indent-string-contents)
9656 (python-jython-packages, python-mode-hook)
9657 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9658 (python-shell-prompt-alist)
9659 (python-source-modes): Delete defcustoms.
9660 (python-check-buffer-name, python-eldoc-setup-code)
9661 (python-eldoc-string-code, python-ffap-setup-code)
9662 (python-ffap-string-code, python-fill-comment-function)
9663 (python-fill-decorator-function, python-fill-paren-function)
9664 (python-fill-string-function, python-imenu-include-defun-type)
9665 (python-imenu-make-tree, python-imenu-subtree-root-label)
9666 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9667 (python-shell-compilation-regexp-alist)
9668 (python-shell-completion-module-string-code)
9669 (python-shell-completion-pdb-string-code)
9670 (python-shell-completion-setup-code)
9671 (python-shell-completion-string-code)
9672 (python-shell-enable-font-lock, python-shell-exec-path)
9673 (python-shell-extra-pythonpaths)
9674 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9675 (python-shell-process-environment)
9676 (python-shell-prompt-block-regexp)
9677 (python-shell-prompt-output-regexp)
9678 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9679 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9680 (python-shell-virtualenv-path): New defcustoms.
9681 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9682 (inferior-python-mode-syntax-table, python--prompt-regexp)
9683 (python-buffer, python-command python-python-command)
9684 (python-default-template, python-imports, python-indent-index)
9685 (python-indent-list, python-indent-list-length)
9686 (python-mode-running, python-pdbtrack-is-tracking-p)
9687 (python-preoutput-continuation, python-preoutput-leftover)
9688 (python-preoutput-result, python-preoutput-skip-next-prompt)
9689 (python-prev-dir/file, python-recursing)
9690 (python-saved-check-command, python-version-checked)
9691 (python-which-func-length-limit)
9692 (view-return-to-alist): Delete vars.
9693 (python-check-custom-command, python-dotty-syntax-table)
9694 (python-imenu-index-alist, python-indent-current-level)
9695 (python-indent-dedenters, python-indent-levels)
9696 (python-nav-beginning-of-defun-regexp)
9697 (python-nav-list-defun-positions-cache)
9698 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9699 (python-shell-internal-buffer)
9700 (python-skeleton-available): New vars.
9701 (def-python-skeleton): Delete macro.
9702 (python-skeleton-define): New macro.
9703 (python-define-auxiliary-skeleton, python-rx): New macros.
9704 (python-insert-class): Delete command.
9705 (python-skeleton-class): New command.
9706 (python-insert-def): Delete command.
9707 (python-skeleton-def): New command.
9708 (python-insert-for): Delete command.
9709 (python-skeleton-for): New command.
9710 (python-insert-if): Delete command.
9711 (python-skeleton-if): New command.
9712 (python-insert-try/except, python-insert-try/finally): Delete commands.
9713 (python-skeleton-try): New command.
9714 (python-insert-while): Delete command.
9715 (python-skeleton-while): New command.
9716 (python-backspace): Delete command.
9717 (python-indent-dedent-line-backspace): New command.
9718 (python-electric-colon): Delete command.
9719 (python-indent-electric-colon): New command.
9720 (python-guess-indent): Delete command.
9721 (python-indent-guess-indent-offset): New command.
9722 (python-shift-left): Delete command.
9723 (python-indent-shift-left): New command.
9724 (python-shift-right): Delete command.
9725 (python-indent-shift-right): New command.
9726 (python-find-function): Delete command.
9727 (python-nav-jump-to-defun): New command.
9728 (python-next-statement): Delete command.
9729 (python-nav-forward-sentence): New command.
9730 (python-previous-statement): Delete command.
9731 (python-nav-backward-sentence): New command.
9732 (python-fill-paragraph): Delete command.
9733 (python-fill-paragraph-function): New command.
9734 (python-send-buffer): Delete command.
9735 (python-shell-send-buffer): New command.
9736 (python-send-defun): Delete command.
9737 (python-shell-send-defun): New command.
9738 (python-send-region, python-send-region-and-go): Delete commands.
9739 (python-shell-send-region)
9740 (python-shell-switch-to-shell): New commands.
9741 (python-send-string): Delete command.
9742 (python-shell-send-string): New command.
9743 (python-switch-to-python): Delete command.
9744 (python-shell-switch-to-shell): New command.
9745 (python-describe-symbol): Delete command.
9746 (python-eldoc-at-point): New command.
9747 (python--set-prompt-regexp, python-args-to-list)
9748 (python-after-info-look, python-check-version)
9749 (python-check-comint-prompt, python-find-imports)
9750 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9751 (python-unload-function, python-expand-template)
9752 (python-maybe-jython, python-preoutput-filter)
9753 (python-pdbtrack-get-source-buffer)
9754 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9755 (python-pdbtrack-toggle-stack-tracking)
9756 (python-pdbtrack-track-stack-file, python-initial-text)
9757 (python-first-word, python-comment-line-p, python-send-command)
9758 (python-setup-brm, python-sentinel, python-set-proc)
9759 (python-skip-out, python-input-filter, python-outdent-p)
9760 (python-outline-level, python-backslash-continuation-line-p)
9761 (python-end-of-block, python-end-of-statement, python-mark-block)
9762 (python-beginning-of-block, python-beginning-of-statement)
9763 (python-blank-line-p, python-beginning-of-string)
9764 (python-open-block-statement-p): Delete functions.
9765 (python-indent-line, python-indent-line-1): Delete functions.
9766 (python-indent-line): New function.
9767 (python-indentation-levels): Delete function.
9768 (python-indent-calculate-levels): New function.
9769 (python-proc): Delete function.
9770 (python-shell-get-process): New function.
9771 (python-send-receive): Delete function.
9772 (python-shell-send-string-no-output): New function.
9773 (python-module-path): Delete function.
9774 (python-ffap-module-path): New function.
9775 (python-completion-at-point)
9776 (python-symbol-completions): Delete functions.
9777 (python-completion-complete-at-point): New function.
9778 (python-load-file): Delete function.
9779 (python-shell-send-file): New function.
9780 (python-calculate-indentation): Delete function.
9781 (python-indent-calculate-indentation): New function.
9782 (python-skip-comments/blanks): Delete function.
9783 (python-util-forward-comment): New function.
9784 (python-continuation-line-p): Delete function.
9785 (python-info-continuation-line-p): New function.
9786 (python-which-func, python-current-defun): Delete function.
9787 (python-info-current-defun): New function.
9788 (python-beginning-of-defun): Delete function.
9789 (python-nav-beginning-of-defun): New function.
9790 (python-close-block-statement-p)
9791 (python-block-end-p): Delete function.
9792 (python-info-closing-block): New function.
9793 (python-comint-output-filter-function)
9794 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9795 (python-fill-comment, python-fill-decorator, python-fill-paren)
9796 (python-fill-string, python-imenu-make-element-tree)
9797 (python-imenu-make-tree, python-imenu-tree-assoc)
9798 (python-indent-context, python-indent-dedent-line)
9799 (python-indent-line-function)
9800 (python-indent-post-self-insert-function)
9801 (python-indent-toggle-levels)
9802 (python-info-assignment-continuation-line-p)
9803 (python-info-beginning-of-backlash)
9804 (python-info-block-continuation-line-p)
9805 (python-info-closing-block-message)
9806 (python-info-line-ends-backslash-p)
9807 (python-info-looking-at-beginning-of-defun)
9808 (python-info-ppss-context, python-info-ppss-context-type)
9809 (python-nav-list-defun-positions, python-nav-read-defun)
9810 (python-nav-sentence-end, python-nav-sentence-start)
9811 (python-pdbtrack-comint-output-filter-function)
9812 (python-pdbtrack-set-tracked-buffer)
9813 (python-shell-calculate-exec-path)
9814 (python-shell-calculate-process-environment)
9815 (python-shell-completion--do-completion-at-point)
9816 (python-shell-completion--get-completions)
9817 (python-shell-completion-complete-at-point)
9818 (python-shell-completion-complete-or-indent)
9819 (python-shell-get-or-create-process)
9820 (python-shell-get-process-name)
9821 (python-shell-internal-get-or-create-process)
9822 (python-shell-internal-get-process-name)
9823 (python-shell-internal-send-string, python-shell-make-comint)
9824 (python-shell-parse-command, python-shell-send-setup-code)
9825 (python-skeleton-add-menu-items)
9826 (python-util-clone-local-variables, python-util-position)
9827 (run-python-internal, python-indentation-levels)
9828 (python-nav-beginning-of-defun)
9829 (python-completion-complete-at-point): New functions.
9830 (run-python): Change arguments. New API requirements.
9832 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9834 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9837 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9838 (macroexp--expand-all): Use it.
9840 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9841 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9842 Use `cl-function' instead.
9844 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9846 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9847 Suggested by Stefan Monnier while discussing bug#11657.
9849 2012-06-14 Sam Steingold <sds@gnu.org>
9851 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9853 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9855 * play/doctor.el (doctor-doc): Remove parameter and use
9856 doctor-sent instead of sent.
9857 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9859 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * files.el: Require cl-lib.
9862 (file-name-non-special): Replace case -> cl-case.
9864 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9866 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9867 mapping from #' to function*.
9869 2012-06-13 Chong Yidong <cyd@gnu.org>
9871 * mouse.el (mouse-drag-track): Do not set the mark if the user
9872 releases the mouse without selecting anything (Bug#11588).
9874 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9877 as well (bug#11646).
9879 * loadup.el: Count byte-code functions as well.
9881 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9882 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9884 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9885 (bug#11649). Add cl-defun and cl-defmacro.
9887 2012-06-13 Drew Adams <drew.adams@oracle.com>
9889 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9892 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9894 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9895 Otherwise, it blocks in batch mode.
9897 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9899 * help-mode.el (bookmark-make-record-default): Declare.
9901 2012-06-13 Chong Yidong <cyd@gnu.org>
9903 * emacs-lisp/package.el (list-packages): Compute a list of
9904 packages that are newly-available since the last list-packages
9906 (package-menu--new-package-list): New var.
9907 (package-menu--generate, package-menu--print-info)
9908 (package-menu--status-predicate, package-menu-mark-install):
9909 Handle new status label "new".
9911 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9913 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9914 conversion to backquotes.
9916 2012-06-12 Chong Yidong <cyd@gnu.org>
9918 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9919 Rename from gud-inhibit-global-bindings.
9921 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9923 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9924 hook from nxml-glyph-set-hook.
9926 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9929 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9931 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9932 Convert to defcustom.
9934 2012-06-12 Drew Adams <drew.adams@oracle.com>
9936 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9938 (help-mode): Use them.
9940 2012-06-11 Glenn Morris <rgm@gnu.org>
9942 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9943 Use preprocessor face for directives.
9944 (fortran-directive-re): Doc fix.
9946 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9949 conversion to backquotes (bug#11652).
9951 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9952 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9953 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9954 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9955 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9956 (cl-ninth, cl-tenth): Mark them as inlinable.
9957 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9958 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9959 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9960 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9961 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9962 (cl-list*, cl-adjoin): Don't put an autoload manually.
9963 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9964 (cl--compiler-macro-list*): Add autoload cookie.
9965 (cl--compiler-macro-cXXr): New function.
9967 * help-fns.el (help-fns--compiler-macro): New function extracted from
9968 describe-function-1; follow aliases and use `compiler-macro' property.
9969 (describe-function-1): Use it.
9971 2012-06-11 Chong Yidong <cyd@gnu.org>
9973 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9974 is uninstalled, if imagemagick is installed.
9976 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9978 * emacs-lisp/cl-lib.el: Use lexical-binding.
9979 (cl-map-extents, cl-maclisp-member): Remove.
9980 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9981 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9982 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9983 * emacs-lisp/cl-extra.el: Use lexical-binding.
9984 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9985 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9986 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9987 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9988 * emacs-lisp/cl-seq.el: Use lexical-binding.
9989 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9990 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9991 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9992 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9993 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9996 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9998 Sync with Tramp 2.2.6-pre.
10000 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10001 `print-length' and `print-level' to nil, in order to avoid
10002 truncation. Reported by Christopher Schmidt
10003 <christopher@ristopher.com>.
10005 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10007 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10009 (tramp-compat-copy-directory): Add optional argument
10010 COPY-CONTENTS. It is not handled yet.
10012 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10013 (tramp-ftp-file-name-p): Simplify.
10015 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10016 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10019 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10020 (tramp-methods): Do not use `tramp-password-end-of-line'.
10021 (tramp-completion-function-alist-putty): Handle UNIX case.
10022 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10023 (tramp-do-file-attributes-with-stat)
10024 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10025 gid as real numbers. They could run out of integer range on cygwin.
10026 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10027 (tramp-sh-handle-expand-file-name): Handle hops.
10028 (tramp-open-connection-setup-interactive-shell):
10029 Use `tramp-cleanup'. Move check for busyboxes ...
10030 (tramp-find-shell): ... here. Simplify implementation.
10031 Set "remote-shell" property also for alternative shells.
10032 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10033 If failing, a regular file would be written otherwise.
10034 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10035 (tramp-find-inline-encoding): Cache the coding commands in the
10036 process cache. Apply test command on the remote side, if defined.
10037 (tramp-find-inline-compress): Cache the compress commands in the
10039 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10040 when requested. Handle hops.
10041 (tramp-current-connection): New defvar.
10042 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10043 Throw `suppress', if there was a failed connection shortly before.
10044 Handle user interrupt. (Bug#10187)
10045 (tramp-get-inline-compress, tramp-get-inline-coding):
10046 Read connection properties from the process cache.
10048 * net/tramp-smb.el (tramp-smb-server-version)
10049 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10051 (tramp-smb-prompt): Extend for powershell prompt.
10052 (tramp-smb-file-name-handler-alist): Add handlers for
10053 `process-file', `shell-command' and `start-file-process'.
10054 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10055 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10056 (tramp-smb-file-name-p): Simplify.
10057 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10058 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10059 (tramp-smb-shell-quote-argument): New defuns.
10060 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10061 Implement using "tar". By this, time-stamps are preserved.
10062 (tramp-smb-handle-copy-file): Handle also the case of directories.
10063 (tramp-smb-do-file-attributes-with-stat)
10064 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10065 Use `tramp-get-connection-buffer').
10066 (tramp-smb-handle-rename-file): Use "rename", when source and
10067 target are on the same share.
10068 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10069 Use `tramp-smb-server-version'.
10070 (tramp-smb-wait-for-output): Remove prompt.
10072 * net/tramp.el (top): Require 'cl.
10073 (tramp-methods, tramp-rsh-end-of-line):
10074 Remove `tramp-password-end-of-line' from docstring.
10075 (tramp-save-ad-hoc-proxies): New defcustom.
10076 (tramp-completion-function-alist): Adapt docstring.
10077 (tramp-default-password-end-of-line): Remove defcustom.
10078 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10079 (tramp-user-regexp, tramp-file-name-regexp-unified)
10080 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10081 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10082 (tramp-remote-file-name-spec-regexp): New defconst.
10083 (tramp-file-name-structure): Extend structure for hops.
10084 (tramp-get-method-parameter): Move up.
10085 (tramp-file-name-p, tramp-dissect-file-name)
10086 (with-parsed-tramp-file-name): Handle hops.
10087 (tramp-file-name-hop): New defun.
10088 (tramp-make-tramp-file-name): New optional arg HOP.
10089 (tramp-message-show-progress-reporter-message): New defvar.
10090 (tramp-with-progress-reporter): Use it. We cannot use
10091 `tramp-message-show-message' here, because this suppresses also
10093 (tramp-error-with-buffer): Suppress buffer view, if
10094 `tramp-message-show-message' is nil.
10095 Use `tramp-get-connection-buffer'.
10096 (tramp-cleanup): New defun.
10097 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10098 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10099 an error unchanged.
10100 (tramp-completion-handle-file-name-all-completions): Handle hops.
10101 Fix an error when called from ido.
10102 (tramp-completion-dissect-file-name): Use better local variable
10103 name. Add hop to the vector.
10104 (tramp-handle-insert-file-contents): Use progress-reporter for the
10106 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10108 (tramp-check-for-regexp): Simplify search.
10109 (tramp-enter-password): Remove it. Move implementation ...
10110 (tramp-action-password): ... here.
10111 (tramp-mode-string-to-int, tramp-local-host-p)
10112 (tramp-make-tramp-temp-file, tramp-read-passwd)
10113 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10114 Set tramp-autoload cookie.
10116 * net/trampver.el: Update release number.
10118 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10119 Michael Albinus <michael.albinus@gmx.de>
10121 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10122 (tramp-parse-group, tramp-parse-file)
10123 (tramp-parse-shostkeys-sknownhosts): New defuns.
10124 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10125 (tramp-parse-shosts-group, tramp-parse-sconfig)
10126 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10127 (tramp-parse-sknownhosts, tramp-parse-hosts)
10128 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10130 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10131 (tramp-parse-putty-group): Don't narrow.
10132 (tramp-parse-putty): Make a loop.
10133 (tramp-file-name-handler): Catch the `suppress' signal.
10135 2012-06-11 Chong Yidong <cyd@gnu.org>
10137 * image.el (imagemagick-register-types): Put the ImageMagick entry
10138 at the end of image-type-file-name-regexps.
10140 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10142 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10143 (pcase, pcase-let*, pcase-dolist): Use them.
10145 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * emacs-lisp/pcase.el (pcase--let*): New function.
10148 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10149 (pcase--expand): Use macroexp-let².
10151 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10154 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10155 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10156 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10157 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10158 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10160 2012-06-10 Glenn Morris <rgm@gnu.org>
10162 * mail/rmail.el (rmail-yank-current-message): Leave point at
10163 correct position. (Bug#11660)
10165 2012-06-10 Chong Yidong <cyd@gnu.org>
10167 * allout-widgets.el: Fix code header.
10169 2012-06-10 Chong Yidong <cyd@gnu.org>
10171 * cus-edit.el (customize-changed-options-previous-release):
10174 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10176 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10178 2012-06-09 Chong Yidong <cyd@gnu.org>
10180 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10182 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10184 * window.el (special-display-popup-frame): Don't use
10185 window--display-buffer (Bug#11651).
10187 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10189 Fix parallel builds: make sure loaddefs.el is not being written
10190 while Lisp files are compiled.
10191 (compile): Don't depend on 'mh-autoloads'.
10192 (compile-CMD, compile-SH): Depend on 'autoloads'.
10193 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10195 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10197 2012-06-09 Chong Yidong <cyd@gnu.org>
10199 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10200 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10201 Doc fixes (Bug#11225).
10203 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10206 a function if there's a clear indication that it has a compiler-macro.
10207 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10208 (macro-declarations-alist): Add arglist to declaration functions.
10209 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10210 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10211 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10212 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10213 Also add autoload to find the compiler macro.
10214 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10215 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10216 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10217 (cl--compiler-macro-get): New functions, replacing calls to
10218 cl-define-compiler-macro.
10219 (cl-typep) [compiler-macro]: Use macroexp-let².
10221 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10223 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10224 string properly, fixes Bug#11473.
10226 2012-06-08 Chong Yidong <cyd@gnu.org>
10228 * faces.el (set-face-attribute): Doc fix.
10229 (modify-face): Don't use :bold and :italic.
10230 (error, warning, success): Tweak definitions.
10232 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10233 (custom-modified, custom-set, custom-changed, custom-themed)
10234 (custom-saved, custom-button, custom-button-mouse)
10235 (custom-button-pressed, custom-state, custom-comment-tag)
10236 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10237 (custom-group-subtitle): Use new-style face specs.
10238 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10239 (custom-set-face, custom-changed-face, custom-saved-face)
10240 (custom-button-face, custom-button-pressed-face)
10241 (custom-documentation-face, custom-state-face)
10242 (custom-comment-face, custom-comment-tag-face)
10243 (custom-variable-tag-face, custom-variable-button-face)
10244 (custom-face-tag-face, custom-group-tag-face-1)
10245 (custom-group-tag-face): Remove obsolete face alias.
10247 * epa.el (epa-validity-high, epa-validity-medium)
10248 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10249 (epa-field-name, epa-field-body):
10250 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10251 (font-lock-keyword-face, font-lock-builtin-face)
10252 (font-lock-function-name-face, font-lock-variable-name-face)
10253 (font-lock-type-face, font-lock-constant-face):
10254 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10255 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10256 * speedbar.el (speedbar-button-face, speedbar-file-face)
10257 (speedbar-directory-face, speedbar-tag-face)
10258 (speedbar-selected-face, speedbar-highlight-face)
10259 (speedbar-separator-face):
10260 * whitespace.el (whitespace-newline, whitespace-space)
10261 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10262 (whitespace-line, whitespace-space-before-tab)
10263 (whitespace-space-after-tab, whitespace-indentation)
10264 (whitespace-empty):
10265 * emulation/cua-base.el (cua-global-mark):
10266 * eshell/em-prompt.el (eshell-prompt):
10267 * net/newst-plainview.el (newsticker-new-item-face)
10268 (newsticker-old-item-face, newsticker-immortal-item-face)
10269 (newsticker-obsolete-item-face, newsticker-date-face)
10270 (newsticker-statistics-face, newsticker-default-face):
10271 * net/newst-reader.el (newsticker-feed-face)
10272 (newsticker-extra-face, newsticker-enclosure-face):
10273 * net/newst-treeview.el (newsticker-treeview-face)
10274 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10275 (newsticker-treeview-immortal-face)
10276 (newsticker-treeview-obsolete-face)
10277 (newsticker-treeview-selection-face):
10278 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10279 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10280 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10281 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10282 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10283 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10284 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10286 * progmodes/vera-mode.el (vera-font-lock-number)
10287 (vera-font-lock-function, vera-font-lock-interface):
10288 * textmodes/table.el (table-cell): Use new-style face specs, and
10289 don't use the old :bold and :italic attributes.
10291 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10292 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10293 (ebrowse-member-class, ebrowse-progress): Likewise.
10294 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10295 (ebrowse-file-name-face, ebrowse-default-face)
10296 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10297 (ebrowse-progress-face): Remove obsolete faces.
10299 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10300 Inherit from error and warning faces respectively.
10302 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10304 (flyspell-incorrect-face, flyspell-duplicate-face):
10305 Remove obsolete aliases.
10307 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10309 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10312 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * startup.el (argv, argi): Make lexically scoped.
10315 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10316 * emacs-lisp/cl-macs.el: Use lexical-binding.
10317 Rename cl-bind-* to cl--bind-*.
10318 * files.el: Don't require `cl' since it doesn't use it.
10319 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10321 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10323 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10324 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10325 instead of calling external sort utility.
10326 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10328 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10330 * descr-text.el (describe-char): Mention how to insert the
10331 character, if the current input method doesn't support it.
10332 See the discussion in this thread for the details:
10333 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10335 2012-06-08 Sam Steingold <sds@gnu.org>
10337 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10338 XF86Back to previous-buffer.
10339 (minibuffer-local-map): Bind them to next-history-element and
10340 previous-history-element respectively.
10341 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10342 help-go-back respectively.
10343 * info.el (Info-mode-map): Bind them to Info-history-forward and
10344 Info-history-back respectively.
10345 These are the keys next to Up on the ThinkPad keyboard.
10347 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10349 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10350 * emacs-lisp/cl-macs.el: Provide itself.
10351 (cl--labels-convert-cache): New var.
10352 (cl--labels-convert): New function.
10353 (cl-flet, cl-labels): New implementation with new semantics, relying on
10355 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10356 (cl-closure-vars, cl--function-convert-cache)
10357 (cl--function-convert): Move from cl-macs.el.
10358 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10359 rename by removing the "cl-" prefix.
10360 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10362 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10364 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10365 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10366 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10367 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10368 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10369 (cl-hash-table-count): Add old compatibility aliases.
10371 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10372 Use macroexpand-all-environment instead.
10373 (cl--old-macroexpand): New var.
10374 (cl--sm-macroexpand): New function.
10375 (cl-symbol-macrolet): Use it during macro expansion.
10376 (cl--function-convert-cache): New var.
10377 (cl--function-convert): New function, extracted from
10378 cl-macroexpand-all.
10379 (cl-lexical-let): Use it.
10381 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10382 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10383 (cl-member): Remove old alias.
10385 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10386 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10387 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10388 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10389 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10390 (cl-macroexpand-cmacs): Remove var.
10391 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10392 Use macroexpand-all instead.
10394 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10397 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10398 (macroexp-copyable-p): New functions and macros.
10399 * emacs-lisp/edebug.el (edebug-unwrap):
10400 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10401 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10402 (pcase--let*): Remove.
10403 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10404 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10405 macroexp-const-p instead.
10406 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10408 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10409 instead of "cl-" for internal definitions. Use macroexp-const-p.
10410 (cl-old-bc-file-form): Remove var.
10411 (cl-const-exprs-p): Remove fun.
10412 (cl-labels, cl-macrolet): Use backquote.
10413 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10414 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10415 (cl-define-setf-expander): Rename from cl-define-setf-method.
10416 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10418 * international/mule-cmds.el: Don't require CL.
10419 (view-hello-file): Don't use `letf'.
10421 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * tmm.el (tmm-prompt): Use string-prefix-p.
10424 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10425 (tmm-add-prompt): Use minibuffer-completion-help.
10426 (tmm-delete-map): Remove.
10428 * subr.el (kbd): Make it its own function.
10430 2012-06-07 Stefan Merten <smerten@oekonux.de>
10432 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10433 Silence compiler warnings. Fix versions.
10434 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10435 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10436 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10437 (rst-package-emacs-version-alist): Correct Emacs version to
10438 represent major merge with upstream.
10439 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10441 2012-06-06 Glenn Morris <rgm@gnu.org>
10443 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10444 Only print environment variables if set.
10446 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10448 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10449 (macroexp--cons): Rename from maybe-cons.
10450 (macroexp--accumulate): Rename from macroexp-accumulate.
10451 (macroexp--all-forms): Rename from macroexpand-all-forms.
10452 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10453 (macroexp--expand-all): Rename from macroexpand-all-1.
10455 2012-06-06 Sam Steingold <sds@gnu.org>
10457 * calendar/calendar.el (calendar-in-read-only-buffer):
10458 Call `special-mode' to enable the standard read-only keybindings.
10460 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10463 with "loading" messages (bug#11635).
10465 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10467 * files.el (enable-remote-dir-locals): New option.
10468 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10470 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10471 Ensure, that the temp directory is local.
10473 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10474 `temporary-file-directory'.
10476 * progmodes/python.el (python-send-region): Ensure, that the
10477 temporary file is created also in the remote case.
10479 2012-06-06 Glenn Morris <rgm@gnu.org>
10481 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10482 (vc-rcs-update-changelog): Use it.
10484 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10486 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10487 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10488 (vc-sccs-diff): Replace use of the external vcdiff script.
10490 2012-06-05 Glenn Morris <rgm@gnu.org>
10492 * ledit.el: Move to obsolete/.
10494 2012-06-05 Sam Steingold <sds@gnu.org>
10496 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10499 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * emacs-lisp/cust-print.el: Move to obsolete.
10503 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10504 compiler-macro expansion.
10506 Add native compiler-macro support.
10507 * emacs-lisp/macroexp.el (macroexpand-all-1):
10508 Support compiler-macros directly. Properly follow aliases and apply
10509 the compiler macros more thoroughly.
10510 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10511 macroexpand now properly follows aliases.
10512 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10513 (cl-compiler-macroexpand): Use new prop.
10514 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10516 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10518 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10520 * window.el (get-lru-window, get-mru-window, get-largest-window):
10521 New argument NOT-SELECTED to avoid picking the selected window.
10522 (window--display-buffer-1, window--display-buffer-2): Replace by
10523 new function window--display-buffer
10524 (display-buffer-same-window, display-buffer-reuse-window)
10525 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10526 Use window--display-buffer.
10527 (display-buffer-use-some-window): Remove temporary dedication
10528 hack by calling get-lru-window and get-largest-window with
10529 NOT-SELECTED argument non-nil. Call window--display-buffer.
10531 2012-06-05 Glenn Morris <rgm@gnu.org>
10533 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10534 Replace external vcdiff script.
10536 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10540 2012-06-04 Chong Yidong <cyd@gnu.org>
10542 * image.el (imagemagick-types-inhibit): Revert last change.
10544 (imagemagick-enabled-types): Remove CIN and EPS*.
10546 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10548 * emacs-lisp/cl-lib.el: Rename from cl.el.
10549 * emacs-lisp/cl.el: New compatibility file.
10550 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10551 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10552 to obey the "cl-" prefix.
10553 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10555 2012-06-03 Glenn Morris <rgm@gnu.org>
10557 * emacs-lisp/authors.el (authors-aliases): Addition.
10559 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10562 2012-06-03 Stefan Merten <smerten@oekonux.de>
10564 * textmodes/rst.el: Add comments.
10565 (rst-transition, rst-adornment): New faces.
10566 (rst-adornment-faces-alist): Make default safe to reevaluate.
10568 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10569 Improve customization tags.
10570 (rst-define-level-faces): Clarify meaning.
10572 2012-06-03 Chong Yidong <cyd@gnu.org>
10574 * progmodes/compile.el (compilation-mode-line-fail)
10575 (compilation-mode-line-run, compilation-mode-line-exit):
10577 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10579 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10581 * progmodes/which-func.el (which-func-update-ediff-windows):
10582 New function. Use it in ediff-select-hook (Bug#11478).
10584 2012-06-03 Chong Yidong <cyd@gnu.org>
10586 * bindings.el: Remove explicit help text from format-mode-line.
10587 It is now supplied by mode-line-default-help-echo.
10588 (mode-line-front-space, mode-line-end-spaces)
10589 (mode-line-misc-info): New variables.
10590 (mode-line-modes, mode-line-position): Move the default value to
10591 the variable definition.
10592 (mode-line-default-help-echo): New defcustom.
10593 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10594 (mode-line-modified-help-echo): New functions.
10595 (mode-line-mule-info, mode-line-modified): Use them.
10596 (mode-line-eol-desc, propertized-buffer-identification):
10597 Consistency fixes for help text.
10598 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10599 set-buffer-file-coding-system (Bug#289).
10600 (mode-line-mule-info-help-echo): Update help text.
10602 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * simple.el (execute-extended-command): Set real-this-command
10607 2012-06-02 Chong Yidong <cyd@gnu.org>
10609 Remove incorrect uses of "modeline" in comments, docstrings, and
10610 function/variable names (Bug#10329).
10612 * cus-edit.el (mode-line):
10613 * dframe.el (dframe-mouse-hscroll):
10614 * emacs-lisp/re-builder.el:
10615 * emacs-lisp/easy-mmode.el (define-minor-mode):
10616 * frame.el (set-frame-name):
10617 * help.el (lookup-minor-mode-from-indicator):
10618 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10619 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10620 (c-toggle-hungry-state):
10621 * progmodes/antlr-mode.el (antlr-language-alist):
10622 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10623 * progmodes/vhdl-mode.el (vhdl-mode):
10624 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10625 * term/ns-win.el (ns-face-at-pos):
10626 * term/sup-mouse.el (sup-mouse-report):
10627 * textmodes/flyspell.el (flyspell-mode-line-string):
10628 * textmodes/ispell.el (ispell-highlight-face):
10629 * textmodes/reftex-global.el:
10630 * vc/vc-arch.el (vc-arch-mode-line-string):
10631 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10632 * vc/vc-git.el (vc-git-mode-line-string):
10633 * vc/vc-hooks.el (vc-display-status)
10634 (vc-default-mode-line-string):
10635 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10637 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10639 * dired.el (dired-sort-set-mode-line): Rename from
10640 dired-sort-set-modeline. All callers changed.
10642 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10643 eshell-status-in-modeline.
10645 * foldout.el (foldout-mode-line-string): Rename from
10646 foldout-modeline-string. All callers changed.
10647 (foldout-update-mode-line): Rename from foldout-update-modeline.
10649 * subr.el (redraw-modeline): Make into obsolete alias.
10651 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10652 timeclock-modeline-display. Make old name an alias.
10653 (timeclock-update-mode-line): Likewise. All callers changed.
10654 (timeclock-mode-line-display): No need to check before using
10656 (timeclock-relative, timeclock-day-over-hook)
10657 (timeclock-use-elapsed, timeclock-mode-string)
10658 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10660 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10661 crisp-mode-modeline-string.
10663 * play/solitaire.el (solitaire-build-mode-line): Rename from
10664 solitaire-build-modeline. All callers changed.
10666 * play/zone.el (zone-hiding-mode-line): Rename from
10667 zone-hiding-modeline. All callers changed.
10668 (zone): Remove unusued `modeline-hidden-level' property.
10670 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10671 xscheme-modeline-initialize. All callers changed.
10673 * strokes.el (strokes-lighter): Rename from
10674 strokes-modeline-string.
10676 * textmodes/sgml-mode.el (html-face-tag-alist)
10677 (html-tag-face-alist): Use mode-line face instead of obsolete
10680 2012-06-02 Stefan Merten <smerten@oekonux.de>
10682 * textmodes/rst.el: Always require `cl'.
10683 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10685 2012-06-02 Chong Yidong <cyd@gnu.org>
10687 * image.el (imagemagick-enabled-types): Rename from
10688 imagemagick-types-enable. Add many more types.
10689 (imagemagick-types-inhibit): Change default to nil.
10690 (imagemagick-filter-types): Caller changed.
10692 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * emacs-lisp/cl-macs.el: Use backquotes.
10695 (cl-transform-function-property): Use eval-and-compile rather than
10697 (defstruct): Use declare-function instead of with-no-warnings.
10699 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10700 (byte-compile-output-docform): Re-add the print-circle bindings.
10701 (byte-compile-fix-header): Use #$ just because it's shorter.
10702 (byte-compile-output-file-form): Remove defun/defmacro.
10704 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10706 * simple.el (choose-completion): Remove now obsolete binding for
10709 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10711 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10712 in order to avoid "Stack overflow in regexp matcher".
10714 2012-05-31 Glenn Morris <rgm@gnu.org>
10716 * image.el: For clarity, call imagemagick-register-types at
10717 top-level, rather than relying on a custom :initialize.
10718 (imagemagick-types-enable): New option. (Bug#11557)
10719 (imagemagick-filter-types): New function. (Bug#7406)
10720 (imagemagick-register-types): Use imagemagick-filter-types.
10721 If disabling support, remove elements altogether rather
10722 than using an impossible regexp.
10723 (imagemagick-types-inhibit): Give it the default init function.
10725 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10728 Handle arbitrary file name lengths (Bug#11585).
10730 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10732 * desktop.el (desktop-read): Clear previous and next buffers for
10733 all windows and bury *Messages* buffer (bug#11556).
10735 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10737 Add `declare' for `defun'. Align `defmacro's with it.
10738 * emacs-lisp/easy-mmode.el (define-minor-mode)
10739 (define-globalized-minor-mode): Don't autoload the var definitions.
10740 * emacs-lisp/byte-run.el: Use lexical-binding.
10741 (defun-declarations-alist, macro-declarations-alist): New vars.
10742 (defmacro, defun): Use them.
10743 (make-obsolete, define-obsolete-function-alias)
10744 (make-obsolete-variable, define-obsolete-variable-alias):
10746 (macro-declaration-function): Mark obsolete.
10747 * emacs-lisp/autoload.el: Use lexical-binding.
10748 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10750 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10752 * textmodes/ispell.el (ispell-with-no-warnings):
10754 (ispell-kill-ispell, ispell-change-dictionary):
10755 Use `called-interactively-p' for Emacs instead of obsolete
10758 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10761 (macro-declaration-function): Move var from C code.
10762 (macro-declaration-function): Define function with defalias.
10763 * emacs-lisp/macroexp.el (macroexpand-all-1):
10764 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10765 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10766 defun/defmacro any more.
10767 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10768 Provide fallback for unknown arglist.
10769 (byte-compile-arglist-warn): Change calling convention.
10770 (byte-compile-output-file-form): Move print-vars binding.
10771 (byte-compile-output-docform): Simplify accordingly.
10772 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10773 (byte-compile-defmacro-declaration): Remove.
10774 (byte-compile-file-form-defmumble): Generalize to defalias.
10775 (byte-compile-output-as-comment): Return byte-positions.
10776 Simplify callers accordingly.
10777 (byte-compile-lambda): Use `assert'.
10778 (byte-compile-defun, byte-compile-defmacro): Remove.
10779 (byte-compile-file-form-defalias):
10780 Use byte-compile-file-form-defmumble.
10781 (byte-compile-defalias-warn): Remove.
10783 2012-05-29 Stefan Merten <smerten@oekonux.de>
10785 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10786 possible. Fix authors. Improve comments. Improve loading of `cl'.
10788 (rst-mode-abbrev-table): Merge definition.
10789 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10790 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10792 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10794 * calendar/icalendar.el
10795 (icalendar-export-region): Export UID properly.
10797 2012-05-29 Leo Liu <sdl.web@gmail.com>
10798 * calendar/icalendar.el (icalendar-import-format):
10799 Add `icalendar-import-format-uid' (Bug#11525).
10800 (icalendar-import-format-uid): New.
10801 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10804 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10807 different alternative patterns.
10808 (pcase-codegen): Be more careful to preserve identity.
10809 (pcase--u1): Don't forget to mark vars as used.
10811 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10812 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10813 (byte-compile-from-buffer): ...rather than here.
10815 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10816 functions from byte-compile-function-environment.
10818 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10820 * window.el (window-deletable-p): Avoid deleting the root window
10821 of a frame with an active minibuffer.
10823 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10825 * simple.el (choose-completion): Use quit-window (Bug#11567).
10827 2012-05-29 Chong Yidong <cyd@gnu.org>
10829 * whitespace.el (whitespace-cleanup): Fix usage of
10830 whitespace-empty-at-bob-regexp (Bug#11492).
10832 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10834 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10835 revert (Bug#11488).
10837 2012-05-29 Juri Linkov <juri@jurta.org>
10839 * isearch.el (isearch-mode-map): Bind `M-s _' to
10840 `isearch-toggle-symbol'. Bind `M-s c' to
10841 `isearch-toggle-case-fold'.
10842 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10843 (isearch-forward): Add `M-s _' to the docstring.
10844 (isearch-forward-symbol, isearch-toggle-case-fold)
10845 (isearch-symbol-regexp): New functions. (Bug#11381)
10847 2012-05-29 Juri Linkov <juri@jurta.org>
10849 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10850 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10851 a function, call it to get the regexp.
10852 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10853 property `isearch-message-prefix' instead of the string "word ".
10854 (isearch-search-fun-default): For the case of `isearch-word',
10855 return a lambda that calls re-search-forward/re-search-backward
10856 with a regexp returned by `word-search-regexp' or by the function
10859 2012-05-29 Juri Linkov <juri@jurta.org>
10861 * isearch.el (isearch-search-fun-default): New function.
10862 (isearch-search-fun): Move default part to the new function
10863 `isearch-search-fun-default'.
10864 (isearch-search-fun-function): Set the default value to
10865 `isearch-search-fun-default'. (Bug#11381)
10867 * comint.el (comint-history-isearch-end):
10868 Use `isearch-search-fun-default'.
10869 (comint-history-isearch-search): Use `isearch-search-fun-default'
10870 and remove spacial case for `isearch-word'.
10871 (comint-history-isearch-wrap): Remove spacial case for
10874 * hexl.el (hexl-isearch-search-function):
10875 Use `isearch-search-fun-default'.
10877 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10878 Use `word-search-regexp' for `isearch-word'.
10880 * misearch.el (multi-isearch-search-fun):
10881 Use `isearch-search-fun-default'.
10883 * simple.el (minibuffer-history-isearch-search):
10884 Use `isearch-search-fun-default' and remove spacial case for
10886 (minibuffer-history-isearch-wrap): Remove spacial case for
10889 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10890 Remove spacial case for `isearch-word'.
10891 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10893 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10895 Decrease XEmacs incompatibilities.
10896 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10897 Use `string-match'.
10898 (flyspell-delete-region-overlays): Use alternative definition for
10900 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10901 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10902 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10903 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10904 `define-obsolete-face-alias' under XEmacs, but old method.
10906 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10907 `with-no-warnings' definition or Emacs alias.
10908 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10909 (ispell-word): Do not use `region-p' if XEmacs.
10911 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10913 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10914 Check for `ispell-dictionary-base-alist' instead of full
10915 `ispell-dictionary-alist'.
10916 (ispell-init-process): Show spellchecker when starting new Ispell
10919 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10921 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10922 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10924 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10926 * version.el (motif-version-string, gtk-version-string)
10927 (ns-version-string): Declare.
10929 2012-05-27 Juri Linkov <juri@jurta.org>
10931 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10932 after the `eval-defun-1' specialcaseing
10933 like in `edebug-eval-defun' (bug#10181).
10935 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10936 like in `eval-defun-1'.
10938 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10940 * mail/sendmail.el (mail-yank-region):
10941 Recognize rmail-yank-current-message in addition to insert-buffer.
10942 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10943 a *mail* buffer created through rmail-start-mail with sendmail as
10946 2012-05-27 Chong Yidong <cyd@gnu.org>
10948 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10949 Default to 256 (Bug#11267).
10951 * help.el (describe-mode): Doc fix.
10953 2012-05-26 Glenn Morris <rgm@gnu.org>
10955 * w32-fns.el (w32-init-info): Remove.
10956 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10958 * info.el (info-initialize): For self-contained NS builds, put the
10959 included info/ directory at the front. (Bug#2791)
10961 * paths.el (Info-default-directory-list): Make it a defcustom,
10962 mainly so that we can use custom-initialize-delay.
10964 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10966 * subr.el (buffer-has-markers-at): Mark obsolete.
10968 * subr.el (lambda): Use declare.
10970 * emacs-lisp/lisp-mode.el (lambda):
10971 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10973 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10975 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10977 2012-05-26 Glenn Morris <rgm@gnu.org>
10979 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10981 2012-05-25 Glenn Morris <rgm@gnu.org>
10983 * paths.el: Remove no-byte-compile.
10984 * loadup.el: No need to load paths.el uncompiled.
10986 * image.el (imagemagick-types-inhibit): Doc fix.
10988 * version.el: Remove no-byte-compile and associated formatting.
10989 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10990 is ancient code from when there was an "inc-vers.el".
10992 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * progmodes/gdb-mi.el: Minor style changes.
10995 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10996 Turn into minor modes.
10997 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10998 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10999 (gdb-shell): Remove unneeded let-binding.
11000 (gdb-get-many-fields): Eliminate O(n²) behavior.
11002 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11004 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11005 platforms that don't link in fontset.c.
11007 2012-05-25 Juri Linkov <juri@jurta.org>
11009 Use the same diff color scheme as in modern VCSes (bug#10181).
11011 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11012 to avoid confusion with `diff-added' that now uses green colors.
11013 (diff-removed): Use shades of red.
11014 (diff-added): Use shades of green.
11015 (diff-changed): Leave just the yellow color.
11016 (diff-use-changed-face): New variable.
11017 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11018 how to highlight context diff changes.
11019 (diff-refine-change): Use shades of yellow.
11020 (diff-refine-removed): New face that uses shades of red.
11021 (diff-refine-added): New face that uses shades of green.
11022 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11023 `diff-refine-removed' in the call to `smerge-refine-subst'
11024 depending on the value of `diff-use-changed-face'.
11026 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11027 (smerge-other): Use shades of green.
11028 (smerge-base): Use shades of yellow.
11029 (smerge-refined-change): Empty face.
11030 (smerge-refined-removed): New face that uses shades of red.
11031 (smerge-refined-added): New face that uses shades of green.
11032 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11033 args `props-r' and `props-a', and use them. Doc fix.
11034 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11035 on its value use different faces `smerge-refined-change',
11036 `smerge-refined-removed', `smerge-refined-added' in the call to
11037 `smerge-refine-subst'.
11039 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11040 Add face condition `min-colors 88' with shades of red.
11041 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11042 `min-colors 88' with shades of green.
11043 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11044 `min-colors 88' with shades of yellow.
11046 2012-05-24 Glenn Morris <rgm@gnu.org>
11048 * paths.el (prune-directory-list, remote-shell-program): Move to...
11049 * files.el (prune-directory-list, remote-shell-program): ...here.
11050 For the latter, delay initialization, prefer ssh, just search PATH.
11052 * paths.el (term-file-prefix): Move to faces.el (the only user).
11053 * faces.el (term-file-prefix): Move here, make it a defcustom.
11055 * paths.el (news-directory, news-path, news-inews-program):
11056 Move to gnus/nnspool.el.
11058 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11060 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11061 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11062 Make the latter a defcustom, with a delayed initialization.
11064 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11065 These were deleted from Gnus itself late 2010.
11067 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11069 * progmodes/which-func.el (which-func-ff-hook):
11070 Check against user-error, not error.
11072 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11073 cl-specs.el, which no longer exists.
11075 2012-05-22 Glenn Morris <rgm@gnu.org>
11077 * info.el (info-emacs-bug): New command.
11078 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11079 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11081 2012-05-21 Glenn Morris <rgm@gnu.org>
11083 * makefile.w32-in (update-subdirs-SH):
11084 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11086 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11088 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11090 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11091 Simplify Maven regexp, and make sure the file can't start with a space
11094 2012-05-21 Glenn Morris <rgm@gnu.org>
11096 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11097 Scrap superfluous subshells.
11099 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11102 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11104 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11106 * calc/calc.el (calc-ensure-consistent-units): New variable.
11108 * calc/calc-units.el (math-consistent-units-p)
11109 (math-check-unit-consistency): New functions.
11110 (calc-quick-units, calc-convert-units):
11111 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11113 (calc-extract-units): Fix typo.
11115 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11119 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11120 (flyspell-default-deplacement-commands): Don't spell check after
11121 repeated window/frame switches (e.g. triggered by mouse-movement).
11122 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11123 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11124 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11125 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11126 Remove unused vars.
11127 (flyspell-get-casechars, flyspell-get-not-casechars):
11128 Simplify; Don't bother removing a ] just to add it back.
11129 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11131 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11133 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11135 (math-function-table): Add support for more C functions.
11137 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11139 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11140 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11141 Protect delay handling for otherchars against empty otherchars.
11143 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11145 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11146 their respective macro declarations.
11147 * skeleton.el (define-skeleton):
11148 * progmodes/compile.el (define-compilation-mode):
11149 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11150 (define-ibuffer-filter):
11151 * emacs-lisp/generic.el (define-generic-mode):
11152 * emacs-lisp/easy-mmode.el (define-minor-mode)
11153 (define-globalized-minor-mode):
11154 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11155 * emacs-lisp/byte-run.el (defsubst):
11156 * custom.el (deftheme): Add doc-string metadata.
11158 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11162 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11164 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11166 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11167 * emacs-lisp/cl-macs.el: Idem.
11168 * emacs-lisp/cl-specs.el: Remove.
11170 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11172 Minor renaming of internal CL functions and variables.
11173 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11174 (cl--position): Rename from cl-position.
11175 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11176 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11177 (cl--random-state): Rename from *random-state*.
11179 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11182 parens around the arg list (bug#11499).
11184 2012-05-17 Juri Linkov <juri@jurta.org>
11186 * isearch.el (word-search-regexp, word-search-backward)
11187 (word-search-forward, word-search-backward-lax)
11188 (word-search-forward-lax): Move functions from search.c
11189 (bug#10145, bug#11381).
11191 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11193 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11194 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11195 Delay for otherchars as for normal word components.
11197 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11199 * minibuffer.el (completion--sifn-requote): Fix last change.
11200 (minibuffer-local-must-match-filename-map):
11201 Move define-obsolete-variable-alias before its var.
11203 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11207 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11209 (completion--string-equal-p): New function.
11210 (completion--twq-all): Use it to get better assertion failure data.
11212 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11213 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11214 (shell--requote-argument): New functions.
11215 (shell-completion-vars): Use them.
11216 (shell--parse-pcomplete-arguments): Rename from
11217 shell-parse-pcomplete-arguments.
11218 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11219 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11220 Obey comint-file-name-quote-list.
11222 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11223 (smie-indent-keyword): Use it.
11225 2012-05-14 Stefan Merten <smerten@oekonux.de>
11227 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11229 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11231 * net/rlogin.el (rlogin-mode-map): Fix last change.
11233 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11235 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11236 the following \r\n using a single `process-send-string', since the
11237 Lotus SMTP server refuses to accept any commands if they are sent
11238 with two `process-send-string's (Bug#11444).
11240 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11242 * shell.el (shell-parse-pcomplete-arguments):
11243 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11245 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11247 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11248 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11249 (image-transform-width, image-transform-fit-width): New functions.
11250 (image-transform-properties): Use them.
11251 (image-transform-check-size): New function.
11252 (image-toggle-display-image): Use it (for testing).
11253 (image-transform-set-rotation): Reduce angle mod 360.
11254 Delete obsolete comment.
11256 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11258 * image-mode.el: Fix scaling (bug#11399).
11259 (image-transform-resize): Doc fix.
11260 (image-transform-properties): Default scale is 1 and height should
11263 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11265 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11266 than hard-coding `car', to fix misbehavior when moving forward.
11268 2012-05-13 Chong Yidong <cyd@gnu.org>
11270 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11271 (tabulated-list-entries, tabulated-list-padding)
11272 (tabulated-list-sort-key): Make permanent-local.
11274 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11275 (electric-buffer-list): Put electric buffer menu
11276 command descriptions in this docstring, instead of the docstring
11277 of electric-buffer-menu-mode. Code cleanups.
11278 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11279 Electric-buffer-menu-mode.
11280 (electric-buffer-update-highlight): Minor code cleanup.
11282 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11284 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11287 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11289 Move define-obsolete-variable-alias before the var's definition.
11290 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11291 * tooltip.el (tooltip-hook):
11292 * textmodes/reftex-toc.el (reftex-toc-map):
11293 * textmodes/reftex-sel.el (reftex-select-label-map)
11294 (reftex-select-bib-map):
11295 * textmodes/reftex-index.el (reftex-index-map)
11296 (reftex-index-phrases-map):
11297 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11298 * progmodes/meta-mode.el (meta-mode-map):
11299 * novice.el (disabled-command-hook):
11300 * loadhist.el (unload-hook-features-list):
11301 * frame.el (blink-cursor):
11302 * files.el (find-file-not-found-hooks, write-file-hooks)
11303 (write-contents-hooks):
11304 * emulation/tpu-edt.el (GOLD-map):
11305 * emacs-lock.el (emacs-lock-from-exiting):
11306 * emacs-lisp/generic.el (generic-font-lock-defaults):
11307 * emacs-lisp/chart.el (chart-map):
11308 * dos-fns.el (register-name-alist):
11309 * dired-x.el (dired-omit-files-p):
11310 * desktop.el (desktop-enable):
11311 * cus-edit.el (custom-mode-hook):
11312 * buff-menu.el (buffer-menu-mode-hook):
11313 * bookmark.el (bookmark-read-annotation-text-func)
11314 (bookmark-exit-hooks):
11315 * allout.el (allout-mode-deactivate-hook)
11316 (allout-exposure-change-hook, allout-structure-added-hook)
11317 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11318 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11319 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11320 comes before the corresponding variable's definition.
11322 2012-05-12 Chong Yidong <cyd@gnu.org>
11324 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11325 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11326 (Buffer-menu-mode-map): Bind it.
11327 (Buffer-menu--pretty-name): Add a mouse-face property.
11329 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11331 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11332 (prolog-upper-case-string, prolog-lower-case-string)
11333 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11334 (prolog-use-smie, prolog-smie-grammar): New vars.
11335 (prolog-smie-forward-token, prolog-smie-backward-token)
11336 (prolog-smie-rules): New funs.
11337 (prolog-comment-indent): Remove.
11338 (prolog-mode-variables): Use default comment indentation instead.
11340 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11341 (prolog-mode): Don't call them any more.
11342 (prolog-electric-colon, prolog-electric-dash)
11343 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11345 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11347 * minibuffer.el (completion--twq-all): Again, allow case differences.
11349 * term.el: Move keymap initialization code to be more idiomatic.
11350 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11351 (term-terminal-menu): Move initialization into declaration.
11352 (term-escape-char): Let the user set it in her .emacs.
11354 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11355 Provide SMIE-based indentation (not enabled by default yet).
11356 (sh-mode-map): Don't bind electric keys.
11357 Use electric-pair-mode instead of skeleton-pair.
11358 (sh-assignment-regexp): Fit within 80 columns.
11359 (sh-indent-supported): Specify actual shell name instead of boolean.
11360 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11361 (sh-maybe-here-document): Use it. Make obsolete.
11362 (sh-electric-here-document-mode) New minor mode.
11363 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11364 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11365 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11366 (sh-smie-rc-grammar, sh-use-smie): New vars.
11367 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11368 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11369 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11370 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11371 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11372 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11373 (sh-set-shell): Use smie-setup if requested.
11375 * term.el (term-set-escape-char): Properly set term-escape-char.
11376 See http://stackoverflow.com/questions/10524656.
11378 2012-05-10 Chong Yidong <cyd@gnu.org>
11380 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11381 Use url-generic-parse-url, and handle host names and Windows
11382 filenames properly.
11383 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11384 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11385 URL schemes to work on.
11386 (ffap--toggle-read-only): New function.
11387 (ffap-read-only, ffap-read-only-other-window)
11388 (ffap-read-only-other-frame): Use it.
11389 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11390 necessary for ffap-url-unwrap-remote.
11392 2012-05-10 Dave Abrahams <dave@boostpro.com>
11394 * cus-start.el (create-lockfiles): Add it.
11396 2012-05-09 Chong Yidong <cyd@gnu.org>
11398 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11399 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11401 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11405 2012-05-09 Chong Yidong <cyd@gnu.org>
11407 * ansi-color.el (ansi-color-process-output): Check for validity of
11408 comint-last-output-start before using it. This avoids a bad
11409 interaction with gdb-mi's input/output buffer.
11411 2012-05-09 Glenn Morris <rgm@gnu.org>
11413 * files.el (dir-locals-read-from-file):
11414 Mention dir-locals in any error message.
11416 2012-05-09 Chong Yidong <cyd@gnu.org>
11418 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11419 package (Bug#11410).
11421 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11422 variables into description.
11424 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11426 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11427 shell-delimiter-argument-list (bug#11348).
11428 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11430 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11432 * textmodes/rst.el: Silence byte-compiler warnings.
11433 (rst-re-alist, rst-reset-section-caches): Move around.
11434 (rst-re): Use `characterp', not `char-valid-p'.
11435 (font-lock-beg, font-lock-end): Declare.
11437 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11438 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11440 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11442 2012-05-08 Glenn Morris <rgm@gnu.org>
11444 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11446 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11448 * vc/log-edit.el: Add GNU coding standards highlighting.
11449 (log-edit-font-lock-gnu-style)
11450 (log-edit-font-lock-gnu-keywords): New vars.
11451 (log-edit-font-lock-keywords): New fun.
11452 (log-edit-mode): Don't fold case in font-lock.
11453 (log-edit-font-lock-keywords): Do not assume case-folding.
11455 * imenu.el: Misc cleanup. Make docstrings out of comments.
11456 Use lexical-binding.
11457 (imenu--index-alist, imenu--last-menubar-index-alist)
11458 (imenu-menubar-modified-tick): Use defvar-local.
11459 (imenu--split-menu): Remove unused var.
11460 (imenu--cleanup-seen): Declare as global.
11461 (imenu--cleanup): Use dolist.
11463 * subr.el (defvar-local): Add debug spec and doc-string position.
11465 2012-05-08 Glenn Morris <rgm@gnu.org>
11467 * language/burmese.el, language/cham.el, language/czech.el:
11468 * language/english.el, language/georgian.el, language/greek.el:
11469 * language/japanese.el, language/khmer.el, language/korean.el:
11470 * language/lao.el, language/misc-lang.el, language/romanian.el:
11471 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11472 * language/thai.el, language/utf-8-lang.el:
11473 Remove no-byte-compile setting.
11475 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11477 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11479 * progmodes/make-mode.el (makefile-browse):
11480 Remove unnecessary interactive. (Bug#11324)
11482 2012-05-07 Glenn Morris <rgm@gnu.org>
11484 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11486 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11488 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11490 * loadup.el: Preload newcomment.el.
11491 * newcomment.el: Move autoload-only code to toplevel.
11493 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11494 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11495 Handle new :right-align column property.
11496 (tabulated-list-print-col): Idem, plus use `display' text-property to
11497 try and preserve alignment for variable pitch fonts.
11499 2012-05-07 Chong Yidong <cyd@gnu.org>
11501 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11502 (tabulated-list-use-header-line): New var.
11503 (tabulated-list-init-header): Use it.
11504 (tabulated-list-print-fake-header): New function.
11505 (tabulated-list-print): Use it.
11506 (tabulated-list-sort-button-map): Add non-header-line commands.
11507 (tabulated-list-init-header): Add column name property to basic
11509 (tabulated-list-col-sort): Handle non-header-line button case.
11510 (tabulated-list--sort-by-column-name): Fix a corner case.
11512 * buff-menu.el (list-buffers--refresh):
11513 Handle Buffer-menu-use-header-line.
11515 2012-05-06 Chong Yidong <cyd@gnu.org>
11517 * buff-menu.el: Convert to Tabulated List mode.
11518 (Buffer-menu-buffer+size-width): Make obsolete.
11519 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11520 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11521 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11522 documentation into docstring of buffer-menu.
11523 (Buffer-menu-toggle-files-only): Add an informative message.
11524 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11525 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11526 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11527 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11528 (Buffer-menu-execute, Buffer-menu-select)
11529 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11530 (Buffer-menu-bury): Use Tabulated List machinery.
11531 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11532 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11534 (list-buffers--refresh): New function.
11535 (list-buffers-noselect): Use it.
11536 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11537 (Buffer-menu--pretty-file-name): New helper functions.
11539 * loadup.el: Preload tabulated-list.
11541 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11542 tabulated-list-sort-column.
11543 (tabulated-list-init-header): Add the initial aligning space even
11544 if tabulated-list-padding is zero.
11546 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11548 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11549 whose cdr is not a cons cell correctly (bug#11038).
11551 2012-05-06 Chong Yidong <cyd@gnu.org>
11553 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11554 Accept additional plist in column descriptors.
11555 (tabulated-list-init-header): Obey it.
11556 (tabulated-list-get-entry): New function.
11557 (tabulated-list-put-tag): Use it. Use string-width instead of
11559 (tabulated-list--column-number): New function.
11560 (tabulated-list-print): Use it.
11561 (tabulated-list-print-col): New function.
11562 Set `tabulated-list-column-name' property on each column's text.
11563 (tabulated-list-print-entry): Use it.
11564 (tabulated-list-delete-entry, tabulated-list-set-col):
11566 (tabulated-list-sort-column): New command (Bug#11337).
11568 * buff-menu.el (list-buffers): Move C-x C-b binding from
11569 buff-menu.el to bindings.el.
11571 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11572 :advertised-binding feature.
11574 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11576 * progmodes/compile.el (compilation-internal-error-properties):
11577 Calculate start position correctly when end-col is set but
11578 end-line is not (Bug#11382).
11580 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11582 * man.el (Man-unindent): Use text-property-default-nonsticky to
11583 prevent untabify from inheriting face properties (Bug#11408).
11585 2012-05-05 Stefan Merten <smerten@oekonux.de>
11587 * textmodes/rst.el: Major merge with upstream development up to
11588 Docutils SVN r7399 / rst.el V1.2.1.
11590 Clarify maintainership and authors.
11592 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11593 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11594 (rst-official-version, rst-official-cvs-rev, rst-version)
11595 (rst-package-emacs-version-alist): New functions and variables
11596 for version information.
11598 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11599 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11600 (rst-mode-syntax-table, rst-mode): New and corrected functions
11601 and variables representing reStructuredText features.
11603 (rst-re): New function for reStructuredText regexes. Use in
11606 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11607 (rst-mode-map): Rebind keys.
11609 (rst-mode-lazy, rst-font-lock-keywords)
11610 (rst-font-lock-extend-region)
11611 (rst-font-lock-extend-region-internal)
11612 (rst-font-lock-extend-region-extend)
11613 (rst-font-lock-find-unindented-line-limit)
11614 (rst-font-lock-find-unindented-line-match)
11615 (rst-adornment-level, rst-font-lock-adornment-level)
11616 (rst-font-lock-adornment-match)
11617 (rst-font-lock-handle-adornment-pre-match-form)
11618 (rst-font-lock-handle-adornment-matcher): Major revision of
11619 font-locking. Integrate with other code. Use `jit-lock-mode'.
11621 (rst-preferred-adornments, rst-adjust-hook)
11622 (rst-new-adornment-down, rst-preferred-bullets)
11623 (rst-preferred-bullets, rst-indent, rst-indent-width)
11624 (rst-indent-field, rst-indent-literal-normal)
11625 (rst-indent-literal-minimized, rst-indent-comment): Change,
11626 extend and improve customization.
11628 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11629 (rst-normalize-cursor-position, rst-get-decoration)
11630 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11631 (rst-rstrip, rst-toc-insert-find-delete-contents)
11632 (rst-shift-fill-region, rst-compute-bullet-tabs)
11633 (rst-debug-print-tabs, rst-debug-mark-found)
11634 (rst-shift-region-guts, rst-shift-region-right)
11635 (rst-shift-region-left, rst-use-char-classes)
11636 (rst-font-lock-keywords-function)
11637 (rst-font-lock-indentation-point)
11638 (rst-font-lock-find-unindented-line-begin)
11639 (rst-font-lock-find-unindented-line-end)
11640 (rst-font-lock-find-unindented-line)
11641 (rst-font-lock-adornment-point, rst-font-lock-level)
11642 (rst-adornment-level-alist): Remove functions and variables.
11644 (rst-compare-adornments, rst-get-adornment-match)
11645 (rst-suggest-new-adornment, rst-get-adornments-around)
11646 (rst-adornment-complete-p, rst-get-next-adornment)
11647 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11648 (rst-straighten-adornments): Standardize function names to
11649 use "adornment" instead of "decoration". Correct callers.
11650 Similar standardizing in many places.
11652 (rst-update-section, rst-adjust, rst-promote-region)
11653 (rst-enumerate-region, rst-bullet-list-region)
11654 (rst-repeat-last-character): Correct use of `interactive'.
11656 (rst-classify-adornment, rst-find-all-adornments)
11657 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11658 (rst-find-leftmost-column, rst-repeat-last-character):
11659 Refactor functions.
11661 (rst-find-title-line, rst-reset-section-caches)
11662 (rst-get-adornments-around, rst-adjust-adornment-work)
11663 (rst-arabic-to-roman, rst-roman-to-arabic)
11664 (rst-insert-list-pos, rst-insert-list-new-item)
11665 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11668 (rst-all-sections, rst-section-hierarchy)
11669 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11672 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11673 configuration instead of only buffer. Change where necessary.
11675 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11676 (rst-shift-region, rst-adaptive-fill): New functions for
11677 indentation and filling.
11679 (rst-comment-line-break, rst-comment-indent)
11680 (rst-comment-insert-comment, rst-comment-region)
11681 (rst-uncomment-region): New functions for handling comments.
11683 (rst-compile): Quote shell arguments.
11685 (rst-compile-pdf-preview, rst-compile-slides-preview):
11686 Delete temporary files after use.
11688 2012-05-05 Glenn Morris <rgm@gnu.org>
11690 * calendar/cal-html.el: Optionally include holidays in the output.
11691 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11692 (cal-html-holidays): New option.
11693 (cal-html-css-default): Add holiday entry.
11694 (holiday-in-range): Autoload it.
11695 (cal-html-htmlify-entry): Add optional class argument.
11696 (cal-html-htmlify-list): Add optional holidays argument.
11697 (cal-html-insert-agenda-days): Include holidays in the output.
11698 (cal-html-one-month): Maybe include holidays.
11700 * calendar/holidays.el (holiday-in-range):
11701 Move here from cal-tex-list-holidays.
11702 * calendar/cal-tex.el (cal-tex-list-holidays):
11703 Make it an obsolete alias for holiday-in-range. Update all callers.
11705 2012-05-05 Chong Yidong <cyd@gnu.org>
11707 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11710 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11712 * files.el (file-auto-mode-skip): New var.
11713 (set-auto-mode-1): Use it.
11715 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * repeat.el: Use lexical-binding.
11718 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11719 (repeat-undo-count): Remove.
11721 * progmodes/octave-mod.el (octave-abbrev-start):
11722 * progmodes/f90.el (f90-abbrev-start):
11723 * face-remap.el (text-scale-adjust):
11724 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11726 * emacs-lisp/pcase.el (pcase--let*): New function.
11727 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11729 (pcase--split-pred): Be more clever about ruling out overlap between
11730 a predicate and some constant pattern.
11731 (pcase--q1): Use `null' instead of (eq foo nil).
11733 * subr.el (setq-local, defvar-local): New macros.
11734 (kbd): Redefine as an alias.
11735 (with-selected-window): Leave unrelated frames alone.
11736 (set-temporary-overlay-map): New function.
11738 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11740 * subr.el (user-error): New function.
11741 * window.el (switch-to-buffer):
11742 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11743 (smerge-match-conflict):
11744 * simple.el (previous-matching-history-element)
11745 (next-matching-history-element, goto-history-element, undo-more)
11747 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11748 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11749 (next-file, tags-loop-scan, list-tags, complete-tag):
11750 * progmodes/compile.el (compilation-loop):
11751 * mouse.el (mouse-minibuffer-check):
11752 * man.el (Man-bgproc-sentinel, Man-goto-page):
11753 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11754 (Info-history-forward, Info-follow-reference, Info-menu)
11755 (Info-extract-menu-item, Info-extract-menu-counting)
11756 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11757 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11758 (Info-next-reference, Info-prev-reference, Info-index)
11759 (Info-index-next, Info-follow-nearest-node)
11760 (Info-copy-current-node-name):
11761 * imenu.el (imenu--make-index-alist)
11762 (imenu-default-create-index-function, imenu-add-to-menubar):
11763 * files.el (basic-save-buffer, recover-file):
11764 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11765 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11766 (checkdoc-message-text, checkdoc-defun):
11767 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11768 * cus-edit.el (customize-changed-options, customize-rogue)
11769 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11770 (custom-variable-mark-to-reset-standard)
11771 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11773 * completion.el (check-completion-length):
11774 * comint.el (comint-search-arg)
11775 (comint-previous-matching-input-string-position)
11776 (comint-previous-matching-input)
11777 (comint-replace-by-expanded-history-before-point, comint-send-input)
11778 (comint-copy-old-input, comint-backward-matching-input)
11779 (comint-goto-process-mark, comint-set-process-mark):
11780 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11781 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11783 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11785 * dabbrev.el (dabbrev--ignore-case-p): New function.
11786 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11789 * files.el (automount-dir-prefix): Mark as obsolete.
11791 2012-05-04 Glenn Morris <rgm@gnu.org>
11793 * patcomp.el, play/bruce.el: Move to obsolete/.
11795 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11797 Fix minor Y10k bugs.
11798 * arc-mode.el (archive-unixdate):
11799 * autoinsert.el (auto-insert-alist):
11800 * calc/calc-forms.el (math-this-year):
11801 * emacs-lisp/copyright.el (copyright-current-year)
11802 (copyright-update-year, copyright):
11803 * tar-mode.el (tar-clip-time-string):
11804 * time.el (display-time-update):
11805 Don't assume years have 4 digits.
11807 2012-05-04 Chong Yidong <cyd@gnu.org>
11809 * dos-w32.el (file-name-buffer-file-type-alist)
11810 (direct-print-region-use-command-dot-com):
11811 * ffap.el (ffap-menu-regexp):
11812 * find-file.el (ff-special-constructs):
11813 * follow.el (follow-debug):
11814 * forms.el (forms--debug):
11815 * iswitchb.el (iswitchb-all-frames):
11816 * ido.el (ido-all-frames):
11817 * emacs-lisp/timer.el (timer-max-repeats):
11818 * mail/feedmail.el (feedmail-mail-send-hook)
11819 (feedmail-mail-send-hook-queued):
11820 * mail/footnote.el (footnote-signature-separator):
11821 * mail/mailabbrev.el (mail-alias-separator-string)
11822 (mail-abbrev-mode-regexp):
11823 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11824 * progmodes/idlwave.el (idlwave-libinfo-file)
11825 (idlwave-default-completion-case-is-down)
11826 (idlwave-library-routines): Convert defvars to defcustoms.
11828 * mail/rmail.el (rmail-decode-mime-charset):
11829 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11830 (idlwave-shell-fix-inserted-breaks)
11831 (idlwave-shell-activate-alt-keybindings)
11832 (idlwave-shell-use-breakpoint-glyph):
11833 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11835 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11837 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11839 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11841 * progmodes/verilog-mode.el (font-lock-keywords):
11842 Fix mis-highligting auto. Reported by Craig Barner.
11843 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11844 defines from global name space. Reported by Dan Dever.
11845 (verilog-auto-reset, verilog-auto-reset-widths)
11846 (verilog-auto-tieoff): Support using unbased numbers for
11847 AUTORESET and AUTOTIEOFF.
11848 (verilog-submit-bug-report): Update variable list.
11849 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11850 parenthesis from not matching. Reported by Michael Rytting.
11851 (verilog-auto-template-lint): Fix hash error when linting modules
11852 with no used templates.
11853 (verilog-warn, verilog-warn-error)
11854 (verilog-warn-fatal): When non-interactive report multiple
11855 warnings before exiting. Suggested by Brad Dobbie.
11856 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11857 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11858 to report unused template errors. Reported by Brad Dobbie.
11859 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11860 nets, bug438. Reported by Vns Blore.
11861 (verilog-auto-inout-module, verilog-auto-reg)
11862 (verilog-read-decls, verilog-read-sub-decls-sig)
11863 (verilog-signals-edit-wire-reg, verilog-signals-with):
11864 Fix passing of Verilog data types in ANSI input/output ports
11865 such as "output logic" into the AUTOs. Special case "wire" and
11866 "reg" for backwards compatibility presuming Verilog 2001.
11867 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11868 (verilog-preprocess): Fix replication of preprocess output.
11869 Reported by Brad Dobbie.
11870 (verilog-auto-inst-interfaced-ports):
11871 Create verilog-auto-inst-interfaced-ports, bug429.
11872 Reported by Julian Gorfajn.
11873 (verilog-after-save-font-hook)
11874 (verilog-before-save-font-hook): New variable.
11875 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11876 (verilog-save-font-mods): Wrap disabling fontification, reported
11878 (verilog-do-indent, verilog-pretty-declarations-auto)
11879 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11880 Reported by Pierre-David Pfister.
11881 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11882 of class declarations, bug292. Reported by Kevin Heilman.
11883 (verilog-read-decls): Fix 'parameter type' not appearing in
11884 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11885 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11886 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11887 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11888 Reported by David Kravitz.
11890 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11892 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11893 assignment with tests in ifs and for loops.
11894 (verilog-extended-complete-re, verilog-complete-reg): Change so
11895 that DPI inport functions don't look like fuction declarations.
11896 (verilog-pretty-expr): Don't line up assignment
11897 operations to the test and increment in if and for loops
11898 (verilog-extended-complete-re, verilog-complete-reg): Change so
11899 that DPI inport functions don't look like fuction declarations.
11901 2012-05-03 Kenichi Handa <handa@m17n.org>
11903 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11904 decoding, and show a warning message without signaling an error
11907 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * emacs-lisp/bytecomp.el
11910 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11911 since cconv.el might have introduced :fun-body, internal-make-closure,
11912 and friends for bytecomp to handle (bug#11391).
11913 * custom.el (defcustom): Avoid ((λ ..) ..).
11915 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11917 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11919 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11921 * notifications.el (dbus-debug):
11922 * term/linux.el (gpm-mouse-enable):
11923 * term/screen.el (xterm-register-default-colors): Declare.
11925 2012-05-02 Chong Yidong <cyd@gnu.org>
11927 * cus-start.el (gc-cons-percentage, exec-suffixes)
11928 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11929 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11930 (make-cursor-line-fully-visible, void-text-area-pointer)
11931 (font-list-limit): Add customization data.
11933 * allout.el (allout-exposure-change-functions)
11934 (allout-structure-added-functions)
11935 (allout-structure-deleted-functions)
11936 (allout-structure-shifted-functions): Rename abnormal hooks from
11937 *-hook, and convert to defcustoms.
11938 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11939 Convert to defcustoms.
11940 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11942 * allout-widgets.el: Hook callers changed.
11944 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11946 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11947 the yanked message in preference to the default value of
11948 buffer-file-coding-system.
11950 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11952 * window.el (display-buffer--action-function-custom-type):
11955 2012-05-02 Alan Mackenzie <acm@muc.de>
11957 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11959 2012-05-01 Glenn Morris <rgm@gnu.org>
11961 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11963 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11965 * cus-edit.el (custom-variable-documentation): Simplify with format.
11967 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11968 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * simple.el (suggest-key-bindings, execute-extended-command):
11971 Move from keyboard.c.
11973 2012-05-01 Chong Yidong <cyd@gnu.org>
11975 * follow.el: Eliminate advice.
11976 (set-process-filter, process-filter, sit-for): Advice deleted.
11977 (follow-mode-off-hook): Obsolete hook removed.
11978 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11980 (follow-auto): Use a :set function.
11981 (follow-mode): Rewritten. Don't advise process filters.
11982 (follow-switch-to-current-buffer-all, follow-scroll-up)
11983 (follow-scroll-down): Assume follow-mode is bound.
11984 (follow-comint-scroll-to-bottom)
11985 (follow-align-compilation-windows): New functions.
11986 (follow--window-sorter): New function.
11987 (follow-all-followers): Use it to explicitly sort windows by their
11988 positions; don't make assumptions about next-window order.
11989 (follow-windows-start-end, follow-delete-other-windows-and-split)
11990 (follow-calc-win-start): Doc fix.
11991 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11992 vertical-motion unnecessarily.
11993 (follow-adjust-window): New function.
11994 (follow-post-command-hook): Use it.
11995 (follow-call-set-process-filter, follow-call-process-filter)
11996 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11997 (follow-stop-intercept-process-output, follow-generic-filter):
11999 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12000 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12001 New functions, replacing advice on scroll-bar-* commands.
12002 (follow-mwheel-scroll): New function (Bug#4112).
12004 * comint.el (comint-adjust-point): New function.
12005 (comint-postoutput-scroll-to-bottom): Use it.
12006 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12008 2012-05-01 Glenn Morris <rgm@gnu.org>
12010 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12011 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12012 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12013 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12014 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12015 Remove no-byte-compile setting.
12017 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12019 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12020 all-completions code to not return a number in the last cdr.
12022 2012-04-30 Leo Liu <sdl.web@gmail.com>
12024 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12027 2012-04-29 Chong Yidong <cyd@gnu.org>
12029 * follow.el (follow-calc-win-end): Rewrite to handle partial
12030 screen lines correctly (Bug#8390).
12031 (follow-avoid-tail-recenter): Minor cleanup.
12033 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12035 Avoid the obsolete `assoc' package.
12036 * speedbar.el (speedbar-refresh): Avoid adelete.
12037 (speedbar-file-lists): Simplify and avoid aput.
12038 * man.el (Man--sections, Man--refpages): New vars, replacing
12039 Man-sections-alist and Man-refpages-alist.
12040 (Man-build-section-alist, Man-build-references-alist):
12041 Use them; avoid aput.
12042 (Man--last-section, Man--last-refpage): New vars.
12043 (Man-follow-manual-reference): Use them.
12044 Use the `default' arg of completing-read.
12045 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12047 2012-04-27 Chong Yidong <cyd@gnu.org>
12049 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12051 * startup.el (x-apply-session-resources): New function.
12053 * term/ns-win.el (ns-initialize-window-system):
12054 * term/w32-win.el (w32-initialize-window-system):
12055 * term/x-win.el (x-initialize-window-system): Use it to properly
12056 set menu-bar-mode and other vars from X resources, even if the
12057 initial frame is not a window-system frame (Bug#2299).
12059 * subr.el (read-key): Avoid running filter function when setting
12060 up temporary tool bar entries (Bug#9922).
12062 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12064 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12067 2012-04-27 Chong Yidong <cyd@gnu.org>
12069 * select.el (xselect--encode-string): New function, split from
12070 xselect-convert-to-string.
12071 (xselect-convert-to-string): Use it.
12072 (xselect-convert-to-filename, xselect-convert-to-os)
12073 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12074 returned strings are properly encoded (Bug#11315).
12076 2012-04-27 Chong Yidong <cyd@gnu.org>
12078 * simple.el (delete-active-region): Move to killing custom group.
12080 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12082 * progmodes/which-func.el (which-func-current): Quote %
12083 characters for mode-line processing.
12085 2012-04-27 Chong Yidong <cyd@gnu.org>
12087 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12088 reaching eob (Bug#11286).
12090 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12092 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12093 (gdb): Make it buffer-local and init to zero.
12094 (gdb-control-commands-regexp): New variable.
12095 (gdb-send): Don't wrap in "-interpreter-exec console" if
12096 gdb-control-level is positive. Increment gdb-control-level
12097 whenever the command matches gdb-control-commands-regexp, and
12098 decrement it each time the command is "end". (Bug#11279)
12100 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12102 * window.el (adjust-window-trailing-edge, enlarge-window)
12103 (shrink-window, window-resize):
12104 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12105 windows (Bug#11276).
12107 2012-04-27 Chong Yidong <cyd@gnu.org>
12109 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12110 fix "missing prefix" warning. All callers changed.
12112 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12114 * emacs-lisp/assoc.el: Move to obsolete/.
12116 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12120 * term/ns-win.el (ns-define-service):
12121 * progmodes/pascal.el (pascal-goto-defun):
12122 * progmodes/js.el (js--read-tab):
12123 * progmodes/etags.el (tags-lazy-completion-table):
12124 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12125 * emacs-lisp/ewoc.el (ewoc--wrap):
12126 * emacs-lisp/assoc.el (aput, adelete, amake):
12127 * doc-view.el (doc-view-convert-current-doc):
12128 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12130 2012-04-26 Chong Yidong <cyd@gnu.org>
12132 * image.el (image-type-from-buffer): Only return supported image
12135 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12136 value, for symmetry with diff-end-of-hunk.
12137 (diff-split-hunk, diff-find-source-location)
12138 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12139 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12140 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12141 compute the relevant hunk or file properly (Bug#6005).
12142 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12144 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * vc/vc.el: Replace lexical-let by lexical-binding.
12154 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12155 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12156 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12158 2012-04-26 Chong Yidong <cyd@gnu.org>
12160 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12161 (diff-mode-shared-map): Bind it to / and [remap undo].
12163 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12164 (ediff-window-setup-function): Use it as the default, to set up
12165 windows based on whether the current frame is graphical (Bug#2138).
12166 (ediff-choose-window-setup-function-automatically): Make obsolete.
12168 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12170 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12172 * ffap.el: Remove old code for obsolete package.
12173 (ffap-complete-as-file-p): Remove.
12175 Use completion-table-with-quoting for comint and pcomplete.
12176 * comint.el (comint--unquote&requote-argument)
12177 (comint--unquote-argument, comint--requote-argument): New functions.
12178 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12179 (comint-quote-filename): Use regexp-opt-charset.
12180 (comint--common-suffix, comint--common-quoted-suffix)
12181 (comint--table-subvert): Remove.
12182 (comint-unquote-function, comint-requote-function): New vars.
12183 (comint--complete-file-name-data): Use them with
12184 completion-table-with-quoting.
12185 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12186 * pcomplete.el (pcomplete-arg-quote-list)
12187 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12188 (pcomplete-unquote-argument-function): Default to non-nil.
12189 (pcomplete-unquote-argument): Simplify.
12190 (pcomplete--common-quoted-suffix): Remove.
12191 (pcomplete-requote-argument-function): New var.
12192 (pcomplete--common-suffix): New function.
12193 (pcomplete-completions-at-point): Use completion-table-with-quoting
12194 and completion-table-subvert.
12196 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12197 (minibuffer--double-dollars): Preserve properties.
12198 (completion--sifn-requote): New function.
12199 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12201 * minibuffer.el: Add support for completion of quoted/escaped data.
12202 (completion-table-with-quoting, completion-table-subvert): New funs.
12203 (completion--twq-try, completion--twq-all): New functions.
12204 (completion--nth-completion): New function.
12205 (completion-try-completion, completion-all-completions): Use it.
12207 2012-04-25 Leo Liu <sdl.web@gmail.com>
12209 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12210 Use compilation-message if available to find real filename.
12212 2012-04-25 Chong Yidong <cyd@gnu.org>
12214 * vc/diff-mode.el (diff-setup-whitespace): New function.
12215 (diff-mode): Use it.
12217 * vc/diff.el (diff-sentinel):
12218 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12219 Whitespace mode variables based on diff style (Bug#8612).
12221 2012-04-25 Leo Liu <sdl.web@gmail.com>
12223 * progmodes/python.el (python-send-region): Add suffix .py to the
12226 * files.el (auto-mode-alist): Use javascript-mode instead.
12228 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12230 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12232 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12233 (soap-resolve-references-for-array-type): Hack to prevent self
12234 references, see Bug#9.
12235 (soap-parse-envelope): Report the contents of the 'detail' node
12236 when receiving a fault reply.
12237 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12239 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12240 (soap-inspect-simple-type): New function.
12242 * net/soap-client.el (soap-simple-type): New struct.
12243 (soap-default-xsd-types, soap-default-soapenc-types)
12244 (soap-decode-basic-type, soap-encode-basic-type):
12245 support unsignedInt and double basic types.
12246 (soap-resolve-references-for-simple-type)
12247 (soap-parse-simple-type, soap-encode-simple-type): New function.
12248 (soap-parse-schema): Parse xsd:simpleType declarations.
12250 * net/soap-client.el (soap-default-xsd-types)
12251 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12252 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12253 the local name of "soapenc:Array".
12254 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12255 decoding integer, byte and anyURI xsd types.
12257 2012-04-25 Chong Yidong <cyd@gnu.org>
12259 * cus-edit.el (custom-buffer-create-internal): Update header text.
12261 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12263 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12264 settings on 'system-type', not on 'window-system'. On MS-Windows,
12265 set interactive-mode on in GDB.
12267 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12269 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12270 (ruby-syntax-propertize-regexp): Remove.
12271 (ruby-syntax-propertize-function): Split regexp into chunks.
12272 Match following code directly.
12274 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12276 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12277 (ruby-syntax-propertize-regexp): New function.
12278 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12279 by a special keyword.
12281 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12282 (ruby-syntax-general-delimiters-goto-beg)
12283 (ruby-syntax-propertize-general-delimiters): New functions.
12284 (ruby-syntax-propertize-function): Use them to handle GDL.
12285 (ruby-font-lock-keywords): Move old handling of GDL...
12286 (ruby-font-lock-syntactic-keywords): .. to here.
12287 (ruby-calculate-indent): Adjust indentation for GDL.
12289 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12291 * notifications.el (top): Remove unneeded declarations.
12292 (notifications-specification-version): Change to "1.2".
12293 (notifications-interface, notifications-notify-method)
12294 (notifications-close-notification-method): Fix docstring.
12295 (notifications-get-capabilities-method): New defconst.
12296 (notifications-notify): Add :action-items, :resident and
12297 :transient hints. Change "image_data" to "image-data" and
12298 "image_path" to "image-path".
12299 (notifications-get-capabilities): New defun.
12301 2012-04-24 Leo Liu <sdl.web@gmail.com>
12303 * progmodes/python.el: Move hideshow setup to the end.
12305 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12307 * window.el (handle-select-window): Clear echo area since this is
12308 no more done by read_char (Bug#11304).
12310 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12312 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12313 and `/ M' to filter-derived-mode.
12314 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12315 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12316 (ibuffer-mark-by-mode): Use default rather than initial-input.
12317 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12319 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12321 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12322 (ibuffer-filter-by-derived-mode): New filter.
12323 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12325 2012-04-23 Andreas Politz <politza@fh-trier.de>
12327 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12329 2012-04-23 Chong Yidong <cyd@gnu.org>
12331 * cus-edit.el (customize-apropos, customize-apropos-options):
12332 Disable matching of non-option variables (Bug#11176).
12333 (customize-option, customize-option-other-window)
12334 (customize-changed-options): Doc fix.
12335 (customize-apropos-options, customize-apropos-faces)
12336 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12338 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12339 Fix word list splitting (Bug#11132).
12340 (apropos-symbol, apropos-keybinding, apropos-label)
12341 (apropos-property, apropos-function-button)
12342 (apropos-variable-button, apropos-misc-button): New faces.
12343 (apropos-symbol-face, apropos-keybinding-face)
12344 (apropos-label-face, apropos-property-face, apropos-match-face):
12345 Variables removed (Bug#8396).
12346 (apropos-library-button, apropos-format-plist, apropos-print)
12347 (apropos-print-doc, apropos-describe-plist): Callers changed.
12349 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12351 * net/xesam.el (xesam-mode-map): Use let-bound map in
12352 initialization. (Bug#11292)
12354 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12356 Preserve ispell session localwords when switching back to
12359 * textmodes/ispell.el (ispell-buffer-session-localwords):
12360 New buffer-local variable to hold buffer session localwords.
12361 (ispell-kill-ispell): Add option 'clear to delete session
12363 (ispell-command-loop, ispell-change-dictionary)
12364 (ispell-buffer-local-words): Preserve session localwords when
12367 * textmodes/flyspell.el (flyspell-process-localwords)
12368 (flyspell-do-correct): Preserve session localwords when needed.
12370 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12372 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12373 using obsolete `translation-table-for-input'.
12374 (ispell-word, ispell-process-line, ispell-complete-word):
12375 Use plain `insert' instead of removed `ispell-insert-word'.
12377 2012-04-22 Chong Yidong <cyd@gnu.org>
12379 * cus-edit.el (custom-variable-menu)
12380 (custom-variable-reset-saved, custom-face-menu)
12381 (custom-face-reset-saved): If there is no saved value, make the
12382 "reset-saved" operation bring back the default (Bug#9509).
12383 (custom-face-state): Properly detect themed faces.
12385 * faces.el (face-spec-set): Stop supporting deprecated form of
12388 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12390 Move functions from C to Lisp. Make non-blocking method calls
12391 the default. Implement further D-Bus standard interfaces.
12393 * net/dbus.el (dbus-message-internal): Declare function.
12394 Remove unneeded function declarations.
12395 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12396 (dbus-message-type-method-return, dbus-message-type-error)
12397 (dbus-message-type-signal): Declare variables. Remove local
12399 (dbus-interface-dbus, dbus-interface-peer)
12400 (dbus-interface-introspectable, dbus-interface-properties)
12401 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12403 (dbus-interface-objectmanager): New defconst.
12404 (dbus-call-method, dbus-call-method-asynchronously)
12405 (dbus-send-signal, dbus-method-return-internal)
12406 (dbus-method-error-internal, dbus-register-service)
12407 (dbus-register-signal, dbus-register-method): New defuns, moved
12409 (dbus-call-method-handler, dbus-setenv)
12410 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12412 (dbus-call-method-non-blocking): Make it an obsolete function.
12413 (dbus-unregister-object, dbus-unregister-service)
12414 (dbus-handle-event, dbus-register-property)
12415 (dbus-property-handler): Obey the new structure of
12416 `bus-registered-objects'.
12417 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12418 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12419 Use `dbus-call-method'.
12421 2012-04-22 Chong Yidong <cyd@gnu.org>
12423 * cus-edit.el (custom-commands, custom-reset-menu)
12424 (Custom-reset-standard): Tweak labels.
12425 (custom-reset-button-menu): Change default to t.
12426 (custom-buffer-create-internal): For the custom-reset-button-menu
12427 case, put the revert button first.
12428 (custom-group-subtitle): New face.
12429 (custom-group-value-create): Align docstring to a specific column.
12431 * wid-edit.el (widget-documentation-link-add): Don't handle
12432 indentation in this function.
12433 (widget-documentation-string-indent-to): New function.
12434 (widget-documentation-string-value-create): Use it.
12436 * autorevert.el (auto-revert):
12437 * epg-config.el (epg):
12438 * ibuffer.el (ibuffer):
12441 * eshell/eshell.el (eshell):
12442 * net/ange-ftp.el (ange-ftp):
12443 * progmodes/ebnf2ps.el (postscript):
12444 * progmodes/flymake.el (flymake):
12445 * progmodes/prolog.el (prolog):
12446 * progmodes/verilog-mode.el (verilog-mode):
12447 * progmodes/which-func.el (which-func):
12448 * term/xterm.el (xterm):
12449 * textmodes/picture.el (picture):
12450 * textmodes/tildify.el (tildify):
12451 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12452 customization buffers.
12454 2012-04-22 Alan Mackenzie <acm@muc.de>
12456 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12457 Adding a ) can hide the resulting (..) from searches. Fix it.
12458 Bound the backward search to the position of the existing (.
12460 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12462 * progmodes/verilog-mode.el (verilog-mode): Check whether
12463 which-func-modes is t before adding verilog-mode.
12464 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12466 2012-04-21 Leo Liu <sdl.web@gmail.com>
12468 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12470 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12472 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12473 filling of the last column of a table (Bug#5635).
12474 (woman-find-next-control-line): New arg, specifying an additional
12475 regexp component for the control line.
12476 (woman2-roff-buffer): Use it.
12477 (woman-break-table): New function.
12478 (woman2-TS): Use it.
12480 2012-04-21 Chong Yidong <cyd@gnu.org>
12482 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12483 (woman-horizontal-escapes, woman-negative-vertical-space)
12484 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12485 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12487 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * minibuffer.el (completion-file-name-table): Complete user names.
12491 2012-04-20 Leo Liu <sdl.web@gmail.com>
12493 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12496 2012-04-20 Chong Yidong <cyd@gnu.org>
12498 * server.el (server-execute): Respect initial-buffer-choice if it
12499 is a string and there are no files to open (Bug#2825).
12500 (server-create-window-system-frame, server-create-tty-frame):
12501 Don't switch buffers here.
12502 (server-process-filter): Only try to open a window system frame if
12503 compiled with graphical support (Bug#8314).
12505 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12507 * battery.el (battery-echo-area-format): Display remaining time
12508 for sysfs backend too (Bug#11269).
12509 (battery-linux-sysfs): Fix conditional for the charge.
12511 2012-04-20 Chong Yidong <cyd@gnu.org>
12513 * progmodes/gdb-mi.el (gdb): Revert previous change.
12514 (gdb-inferior-io--init-proc): New function.
12515 (gdb-init-1): Use it.
12516 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12517 responsible for allocating a new pty and hooking it to gdb when
12518 the old pty gets an EIO due to process exit.
12519 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12520 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12521 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12523 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12525 * window.el (window-min-size, window-sizable, window-min-delta)
12526 (window-max-delta, window--resizable, window-resizable)
12527 (window-total-size, window-full-height-p, window-full-width-p)
12528 (window-in-direction, window--resize-mini-window, window-resize)
12529 (window--resize-child-windows-normal)
12530 (window--resize-child-windows, window--resize-siblings)
12531 (window--resize-this-window, adjust-window-trailing-edge)
12532 (enlarge-window, shrink-window): Doc fixes.
12534 2012-04-20 Chong Yidong <cyd@gnu.org>
12536 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12537 New function to call delete-process on the gdb-inferior buffer's pty.
12538 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12539 pty process (Bug#11273).
12540 (gdb-update): New arg to suppress talking to the gdb process.
12541 (gdb-done-or-error): Use it.
12542 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12543 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12544 sentinel not being called.
12546 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12548 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12550 2012-04-20 Glenn Morris <rgm@gnu.org>
12552 * net/network-stream.el (open-network-stream): Doc fix.
12554 2012-04-20 Chong Yidong <cyd@gnu.org>
12556 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12558 2012-04-20 Alan Mackenzie <acm@muc.de>
12560 Ensure searching for keywords is case sensitive.
12562 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12563 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12564 (c-defun-name, c-mark-function, c-cpp-define-name)
12565 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12566 (c-context-line-break): Bind case-fold-search to nil.
12568 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12569 Bind case-fold-search to nil.
12571 2012-04-20 Chong Yidong <cyd@gnu.org>
12573 * mail/sendmail.el (mail-bury): Call return action with the right
12574 Rmail buffer (Bug#11242).
12576 * server.el (server-process-filter): Handle corner case where both
12577 tty and nowait options are present (Bug#11102).
12579 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12581 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12582 (top level): Put into the executable the ident-style '$Id:' tag on
12583 windows-nt as well.
12585 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12587 * electric.el (electric-indent-post-self-insert-function): Check that
12588 electric-indent-mode is enabled in current buffer.
12590 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12592 * imenu.el (imenu-progress-message): Restore; it is "used" in
12593 erc/erc-imenu.el and net/snmp-mode.el.
12595 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12597 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12598 (mouse-avoidance-nudge-mouse): Remove unused binding.
12600 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12602 * descr-text.el (describe-char):
12603 * progmodes/python.el (python-describe-symbol):
12604 Don't call `toggle-read-only', set `buffer-read-only'.
12606 * imenu.el (imenu-default-goto-function): Mark unused args.
12607 (imenu-progress-message): Remove obsolete macro; all callers changed.
12609 * subr.el (keymap-canonicalize): Remove unused binding.
12610 (read-passwd): Mark unused arg.
12612 * tutorial.el (tutorial--display-changes): Remove unused binding.
12613 (tutorial--save-tutorial-to): Remove unused variable.
12615 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12616 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12617 (package-generate-autoloads, package-menu--generate)
12618 (package-menu--find-upgrades): Remove unused bindings.
12620 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12621 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12622 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12623 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12624 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12625 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12626 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12627 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12628 (cua-delete-char-rectangle): Mark unused args.
12629 (cua-align-rectangle): Remove unused binding.
12631 * mail/rmail.el (compilation--message->loc)
12632 (epa--find-coding-system-for-mime-charset): Declare.
12634 * net/dbus.el (dbus-register-service): Declare.
12635 (dbus-name-owner-changed-handler): Remove unused binding.
12637 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12638 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12639 (nxml-scan-backward-within): Mark unused arg.
12640 (nxml-dynamic-markup-word): Remove unused binding.
12642 * mouse.el (mouse-menu-major-mode-map):
12643 * emacs-lisp/authors.el (authors-scan-change-log)
12644 (authors-add-to-author-list):
12645 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12646 * emacs-lisp/smie.el (smie-auto-fill):
12647 * mail/sendmail.el (mail-bury):
12648 * mail/unrmail.el (unrmail):
12649 * net/tls.el (open-tls-stream):
12650 * textmodes/picture.el (picture-mouse-set-point):
12651 Remove unused bindings.
12653 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12655 * net/tramp.el (tramp-action-password): Let-bind
12656 `enable-recursive-minibuffers' to t.
12658 2012-04-18 Sam Steingold <sds@gnu.org>
12660 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12661 instead of 'string to accommodate values like [f11].
12662 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12663 * progmodes/gdb-mi.el: Likewise.
12665 2012-04-18 Leo Liu <sdl.web@gmail.com>
12667 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12669 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12672 2012-04-18 Chong Yidong <cyd@gnu.org>
12674 * simple.el (line-move): Use forward-line if in batch mode
12677 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12679 * files.el (after-find-file): Do not try to add a final newline if
12680 the buffer is read-only (Bug#11156).
12682 2012-04-17 Richard Stallman <rms@gnu.org>
12684 * mail/rmail.el (rmail-start-mail):
12685 Pass (rmail-mail-return...) for the return-action.
12686 Pass (rmail-yank-current-message...) for the yank-action.
12687 (rmail-yank-current-message): New function.
12688 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12689 (rmail-reply): Likewise.
12690 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12692 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12693 buffer, not the last. Reject temp buffers. Use the rmail-mode
12694 buffer, not newbuf.
12696 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12698 * server.el (server-ensure-safe-dir): Simplify.
12700 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12702 * emacs-lisp/smie.el: Provide smarter auto-filling.
12703 (smie-auto-fill): New function.
12704 (smie-setup): Use it.
12706 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12708 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12710 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12711 (comment-indent): Use it.
12713 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12715 * ses.el: The overall change is to add cell renaming, that is
12716 setting fancy names for cell symbols other than name matching
12717 "\\`[A-Z]+[0-9]+\\'" regexp .
12718 (ses-localvars): Add ses--renamed-cell-symb-list.
12719 (ses-create-cell-variable): New defun.
12720 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12721 (ses-relocate-formula): Relocate formulas only for cells the
12722 symbols of which are not renamed, i.e. symbols whose names do not
12723 match regexp "\\`[A-Z]+[0-9]+\\'".
12724 (ses-relocate-all): Relocate values only for cells the symbols of
12725 which are not renamed.
12726 (ses-load): Create cells variables as the (ses-cell ...) are read,
12727 in order to check row col consistency with cell symbol name only
12728 for cells that are not renamed.
12729 (ses-replace-name-in-formula): New defun.
12730 (ses-rename-cell): New defun.
12732 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12734 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12735 New option (bug#11118).
12736 (perl-calculate-indent): Respect it.
12738 2012-04-17 Glenn Morris <rgm@gnu.org>
12740 * dired-aux.el (dired-mark-read-string): Doc fix.
12742 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12744 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12745 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12747 2012-04-17 Glenn Morris <rgm@gnu.org>
12749 * mouse.el (mouse-drag-track):
12750 * speedbar.el (speedbar-frame-mode):
12751 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12753 2012-04-16 Leo Liu <sdl.web@gmail.com>
12755 * progmodes/python.el: Trivial cleanup.
12757 2012-04-16 Glenn Morris <rgm@gnu.org>
12759 * vc/vc.el (vc-string-prefix-p):
12760 * vc/pcvs-util.el (cvs-string-prefix-p):
12761 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12762 * mpc.el (mpc-string-prefix-p):
12763 Make all of these into obsolete aliases for string-prefix-p.
12765 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12767 * textmodes/two-column.el: Move custom options to the start.
12768 (frame-width): Remove compat definition.
12769 (2C-associate-buffer, 2C-dissociate):
12770 Use with-current-buffer rather than save-excursion.
12771 (2C-dissociate): Force a mode-line update.
12772 (2C-autoscroll): Use ignore-errors.
12774 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12777 * emacs-lisp/cl-extra.el (*random-state*):
12778 Remove unnecessary declaration.
12780 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12782 * play/cookie1.el (cookie-snarf):
12783 Give an explicit error if input file cannot be read.
12785 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12787 * progmodes/perl-mode.el (c-macro-expand):
12788 Remove unnecessary autoload (it is in loaddefs.el).
12790 * textmodes/picture.el (picture-desired-column)
12791 (picture-update-desired-column): Convert comments to doc-strings.
12792 (picture-substitute): Remove function.
12793 (picture-mode-map): Initialize in the defvar.
12795 * woman.el: Remove eval-after-load for tar-mode.
12796 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12797 (woman-tar-extract-file): Autoload it.
12799 * frame.el (automatic-hscrolling): Make this alias obsolete.
12801 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12803 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12804 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12805 (ispell-dictionary-base-alist): Revert to original XEmacs
12806 friendly version for default. [:alpha:] will be added in
12807 `ispell-set-spellchecker-params' if needed.
12809 2012-04-16 Chong Yidong <cyd@gnu.org>
12811 * image.el (imagemagick--file-regexp): New variable.
12812 (imagemagick-register-types): Use it.
12813 (imagemagick-types-inhibit): Add :set function. Allow new value
12814 of t to inhibit all types.
12816 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12817 so we can preload it.
12819 * loadup.el (fboundp): Preload regexp-opt, needed by
12820 imagemagick-register-types.
12822 2012-04-15 Chong Yidong <cyd@gnu.org>
12824 * frame.el (scrolling): Remove nearly unused customization group.
12826 * scroll-all.el (scroll-all-mode): Move to windows group.
12828 2012-04-15 Chong Yidong <cyd@gnu.org>
12830 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12832 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12834 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12835 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12837 2012-04-15 Glenn Morris <rgm@gnu.org>
12839 * simple.el (process-file-side-effects): Doc fix.
12841 2012-04-15 Glenn Morris <rgm@gnu.org>
12843 * international/mule-cmds.el (set-language-environment): Doc fix.
12845 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12847 * server.el (server-auth-key, server-generate-key): Doc fixes.
12848 (server-get-auth-key): Doc fix. Use `string-match-p'.
12849 (server-start): Reflow docstring.
12851 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12853 * server.el (server-generate-key): `called-interactively-p'
12854 requires a parameter.
12856 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12858 * server.el (server-auth-key): New variable.
12859 (server-generate-key, server-get-auth-key): New function.
12860 (server-start): Use the new variable and functions to allow
12861 setting a permanent server key (bug#9423).
12863 2012-04-14 Leo Liu <sdl.web@gmail.com>
12865 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12867 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12870 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12871 Emacs uses American spelling.
12873 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12875 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12876 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12877 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12878 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12880 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * progmodes/which-func.el (which-func-modes): Change default.
12884 2012-04-14 Kim F. Storm <storm@cua.dk>
12886 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12887 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12889 2012-04-14 Chong Yidong <cyd@gnu.org>
12891 * custom.el (custom-theme-set-variables): Doc fix.
12893 2012-04-14 Glenn Morris <rgm@gnu.org>
12895 * international/mule.el (set-auto-coding-for-load): Doc fix.
12897 2012-04-14 Alan Mackenzie <acm@muc.de>
12899 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12900 imenu work again for Objective C Mode. Correct the *-index values,
12901 these having been disturbed by a previous change in 2011-08.
12903 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12904 Correct two search limits.
12906 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12908 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12910 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12912 * international/characters.el: Fix sorting.
12914 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12916 * international/characters.el: Add more missing Latin case pairs.
12918 2012-04-14 Glenn Morris <rgm@gnu.org>
12920 * files.el (dir-locals-set-class-variables): Doc fix.
12922 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12924 * international/characters.el: Add set-case-syntax-pair call for
12925 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12926 counterpart. (Bug#11209)
12928 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12930 2012-04-14 Glenn Morris <rgm@gnu.org>
12932 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12934 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12936 * textmodes/ispell.el (ispell-dictionary-base-alist):
12937 Add data for Hebrew.
12939 2012-04-14 Chong Yidong <cyd@gnu.org>
12941 * net/rcirc.el (rcirc-cmd-quit):
12942 Revert 2012-03-18 change (Bug#11192).
12944 2012-04-14 Glenn Morris <rgm@gnu.org>
12946 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12948 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12950 * minibuffer.el (completion-in-region-mode-map):
12951 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12953 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12955 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12957 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12959 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12960 to allow `C-M-f' and `C-M-b' to move to the nearest path
12961 separator (bug#9511).
12963 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12965 * avoid.el: Require cl when compiling. And also move the
12966 `provide' to the end.
12968 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12970 * avoid.el (mouse-avoidance-banish-position): New variable.
12971 (mouse-avoidance-banish-destination): Use it (bug#10165).
12973 2012-04-13 Leo Liu <sdl.web@gmail.com>
12975 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12977 2012-04-13 Ken Brown <kbrown@cornell.edu>
12979 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12980 this is no longer needed now that cygstart understands file:// URLs.
12981 (browse-url-filename-alist): For the same reason, don't modify
12982 file:// URLs on Cygwin.
12984 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12986 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12987 the region on shift if the binding is already shifted (bug#11221).
12989 2012-04-12 Glenn Morris <rgm@gnu.org>
12991 * mail/mailpost.el: Move to obsolete/.
12993 2012-04-12 Drew Adams <drew.adams@oracle.com>
12995 * imenu.el (imenu--generic-function): Ignore invisible definitions
12998 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13000 * hexl.el (hexl-bits): New variable.
13001 (hexl-options): Mention the variable in the doc string.
13002 (hexl-rulerise, hexl-line-displen): New functions.
13003 (hexl-mode): Mention the new variable.
13004 (hexl-mode, hexl-current-address, hexl-current-address):
13006 (hexl-ascii-start-column): New function.
13007 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13008 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13010 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13012 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13013 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13014 the encoding, as expected by hunspell.
13016 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13018 * battery.el (battery--linux-sysfs-regexp): New const.
13019 (battery-status-function): Use it. Remove yeeloong special case.
13020 (battery-yeeloong-sysfs): Remove.
13021 (battery-echo-area-format): Remove yeeloong special case.
13023 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13025 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13026 Reported by Noah Friedman.
13028 * subr.el (read-passwd): Use read-string.
13030 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13032 * vcursor.el (vcursor-move): Increase the priority of the overlay
13035 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13037 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13038 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13040 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13042 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13043 define-minor-mode (bug#10760).
13045 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13047 * progmodes/grep.el (rgrep): Tweak the find command line so
13048 that directories matching `grep-find-ignored-files' won't be
13049 pruned (bug#10351).
13051 2012-04-11 Chong Yidong <cyd@gnu.org>
13053 * startup.el (command-line): Remove support for long-obsolete
13054 variable font-lock-face-attributes.
13056 2012-04-11 Glenn Morris <rgm@gnu.org>
13058 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13060 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13062 * window.el (window--state-get-1): Obey window-point-insertion-type.
13064 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13066 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13067 to previous function when point is on the first character of a
13068 function. Take care of that in `narrow-to-defun' (bug#6157).
13070 2012-04-11 Glenn Morris <rgm@gnu.org>
13072 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13073 not just file-errors.
13075 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13076 (vc-bzr-sha1): Use internal sha1.
13078 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13080 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13082 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13084 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13085 that start in the middle of the line (bug#10496).
13087 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13089 * battery.el (battery-linux-proc-acpi): Only one battery is
13090 discharged at a time, but that seems to confuse battery.el when
13091 computing `rate-type' for the battery not being discharged
13094 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13096 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13098 * international/quail.el: Use dolist and simplify.
13099 (quail-define-package, quail-update-keyboard-layout)
13100 (quail-define-rules): Use dolist.
13101 (quail-insert-kbd-layout, quail-get-translation): CSE.
13103 * tmm.el: Use dolist, remove left over hook.
13104 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13106 (calendar-load-hook): Don't mess with it.
13108 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13109 Use derived-mode-p. Run the diff asynchronously.
13111 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13113 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13115 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13117 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13118 (list-dynamic-libraries--loaded): New function.
13119 (list-dynamic-libraries--refresh): Use it.
13121 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13123 * progmodes/python.el (python-fill-paragraph):
13124 Make python-fill-region in a multiline string work when font-lock is
13125 disabled (bug#7018).
13127 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13129 * language/european.el (cp775): Add oem/legacy (en)coding on
13130 DOS/MS Windows for the Baltic languages. There are still plenty
13131 of texts written in this encoding/codepage (bug#6519).
13133 2012-04-10 Glenn Morris <rgm@gnu.org>
13135 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13136 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13138 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13140 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13141 next-line "n" and previous-line "p" in order to make recentf more
13142 consistent with ibuffer, dired or org-mode (bug#9387).
13144 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13146 * image.el (put-image): Return the overlay created instead of the
13147 optional input string (bug#7834). Note that this may break code
13148 that is (for some reason or other) depending on `put-image'
13149 returning the string.
13151 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13153 * simple.el (zap-to-char): Allow zapping using input methods
13156 * textmodes/fill.el (fill-region): Leave point and mark where they
13157 were before filling (bug#5399).
13159 2012-04-09 Glenn Morris <rgm@gnu.org>
13161 * version.el (emacs-bzr-get-version):
13162 Handle lightweight checkouts of local branches.
13164 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13166 * international/characters.el: Recover lost case pairs. (Bug#11209)
13168 2012-04-09 Chong Yidong <cyd@gnu.org>
13170 * custom.el (custom-variable-p): Return nil for non-symbol
13171 arguments instead of signaling an error.
13172 (user-variable-p): Obsolete alias for custom-variable-p.
13174 * apropos.el (apropos-variable):
13175 * files-x.el (read-file-local-variable):
13176 * simple.el (set-variable):
13177 * woman.el (woman-mini-help):
13178 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13180 2012-04-09 Glenn Morris <rgm@gnu.org>
13182 * startup.el (normal-top-level): Don't look for leim-list.el
13183 in places where it will not be found. (Bug#910)
13185 * international/mule-cmds.el (set-default-coding-systems):
13186 * files.el (normal-mode):
13187 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13188 This function was removed with ucs-tables.el in 2008.
13190 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13192 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13193 ispell-encoding8-command to "-i", without a trailing space.
13194 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13195 separate command-line arguments, to specify the encoding, since
13196 that's how hunspell expects it.
13198 2012-04-08 Glenn Morris <rgm@gnu.org>
13200 * loadup.el: Load bindings before cus-start.
13201 This reduces somewhat the number of "rogue" settings in emacs -Q.
13203 2012-04-07 Glenn Morris <rgm@gnu.org>
13205 * version.el (emacs-bzr-get-version): New function.
13206 (emacs-bzr-version): New variable.
13207 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13208 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13210 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13212 * international/uni-bidi.el, international/uni-category.el:
13213 * international/uni-combining.el, international/uni-decimal.el:
13214 * international/uni-decomposition.el, international/uni-digit.el:
13215 * international/uni-lowercase.el, international/uni-mirrored.el:
13216 * international/uni-name.el, international/uni-numeric.el:
13217 * international/uni-titlecase.el, international/uni-uppercase.el:
13218 Update for Unicode 6.1.
13220 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13222 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13224 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13226 * window.el (shrink-window): Mention the `window-min-height'
13227 variable in the doc string.
13229 2012-04-05 Bastien Guerry <bzg@altern.org>
13231 * color.el (color-lighten-name): Fix typo.
13233 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * server.el (server--on-display-p): New function.
13236 (server--on-display-p): Use it.
13238 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13240 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13243 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13245 * comint.el (comint--common-quoted-suffix): Check string boundary
13246 before comparing (bug#11158).
13247 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13249 2012-04-04 Chong Yidong <cyd@gnu.org>
13251 * minibuffer.el (completion-extra-properties): Doc fix.
13253 * subr.el (delayed-warnings-hook): Doc fix.
13255 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13257 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13258 selection (Bug#11159).
13259 (epa-insert-keys): Inform that the default public key will be
13260 exported if no key is selected.
13262 2012-04-04 Richard Stallman <rms@gnu.org>
13264 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13266 2012-04-03 Chong Yidong <cyd@gnu.org>
13268 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13269 mail-insert-file, not its obsolete alias mail-attach-file.
13271 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13273 * notifications.el (notifications-notify): Fix docstring.
13275 2012-04-02 Glenn Morris <rgm@gnu.org>
13277 * emacs-lisp/authors.el (authors-aliases): Another addition.
13279 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13281 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13282 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13283 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13285 2012-04-01 Chong Yidong <cyd@gnu.org>
13287 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13288 Handle root directory properly.
13289 (copy-directory): Caller changed.
13291 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13292 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13294 2012-03-31 Glenn Morris <rgm@gnu.org>
13296 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13298 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13300 * calendar/calendar.el (calendar-window-list)
13301 (calendar-hide-window): Restore. (Bug#11140)
13302 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13304 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13306 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13308 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13309 Check if file is a symlink (Bug#10489).
13311 * files.el (copy-directory): Likewise.
13313 2012-03-30 Chong Yidong <cyd@gnu.org>
13315 * image.el (imagemagick-types-inhibit)
13316 (imagemagick-register-types): Doc fix.
13318 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13320 * textmodes/ispell.el (ispell-get-extended-character-mode):
13321 Disable extended-char-mode for hunspell. hunspell does not support it
13322 and treats ~word as ordinary words in pipe mode.
13324 2012-03-30 Glenn Morris <rgm@gnu.org>
13326 * tutorial.el (help-with-tutorial): Ensure local variables don't
13327 happen to make the buffer read-only. (Bug#11127)
13329 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13332 (perl-calculate-indent): Return `noindent' in strings.
13334 2012-03-28 Sam Steingold <sds@gnu.org>
13336 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13337 instead of the broken adhockery which does not prevent calendar
13338 buffers from being displayed at random after exit.
13339 (calendar-window-list, calendar-hide-window): Remove the broken
13342 2012-03-28 Glenn Morris <rgm@gnu.org>
13344 * replace.el (query-replace-map): Doc fix.
13346 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13348 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13349 contents. (Bug#11109)
13351 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13355 (avl-tree--check, avl-tree--check-node): New funs.
13357 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13359 * window.el (switch-to-visible-buffer): New option.
13360 (switch-to-prev-buffer, switch-to-next-buffer):
13361 Observe switch-to-visible-buffer. Make sure that checking for a window
13362 showing a buffer already is done on the same frame.
13364 2012-03-27 Glenn Morris <rgm@gnu.org>
13366 * startup.el (mail-host-address): Doc fix.
13368 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13371 than 197 variables.
13373 2012-03-26 Ami Fischman <ami@fischman.org>
13375 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13377 2012-03-26 Glenn Morris <rgm@gnu.org>
13379 * files.el (save-buffers-kill-emacs): Doc fix.
13381 * startup.el (normal-top-level, command-line, command-line-1):
13382 Give them doc strings.
13384 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13386 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13387 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13389 2012-03-25 Chong Yidong <cyd@gnu.org>
13391 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13392 theme if it was previously enabled before (Bug#11031).
13394 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13395 spec with custom-face-get-current-spec if its :shown-value is not
13396 determined yet (Bug#9337).
13397 (customize-create-theme, custom-theme-revert): Doc fixes.
13399 * button.el (button-at): Minor addition to docstring.
13401 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13403 * vc/vc.el (vc-merge): Fix a prompt.
13405 2012-03-24 Chong Yidong <cyd@gnu.org>
13407 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13410 * button.el (button-at): Minor addition to docstring.
13412 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13414 * newcomment.el (comment-choose-indent): No space after BOL.
13416 2012-03-22 Sam Steingold <sds@gnu.org>
13418 * window.el (switch-to-prev-buffer): Revert last patch because the
13419 bug turned out to be an advertised feature (Elisp manual 28.14).
13421 2012-03-22 Glenn Morris <rgm@gnu.org>
13423 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13424 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13426 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13428 * net/network-stream.el (network-stream-open-starttls): Make error
13429 message under Windows be less misleading.
13431 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13433 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13434 understands (bug#9942).
13436 2012-03-22 Chong Yidong <cyd@gnu.org>
13438 * simple.el (end-of-visible-line): Handle return value of
13439 next-single-property-change properly (Bug#9371).
13441 2012-03-22 Kenichi Handa <handa@m17n.org>
13443 * international/quail.el (quail-insert-kbd-layout): Fix previous
13444 change. To avoid unwanted bidi reordering, use
13445 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13447 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13449 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13450 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13451 (ruby-beginning-of-indent): Be more careful with the difference
13452 between word-boundary and symbol boundary.
13453 (ruby-mode-syntax-table): Make : a symbol constituent.
13455 2012-03-21 Andreas Politz <politza@fh-trier.de>
13457 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13459 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13461 * progmodes/etags.el (tags-completion-at-point-function):
13464 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13466 2012-03-21 Sam Steingold <sds@gnu.org>
13468 * progmodes/etags.el (tags-completion-at-point-function):
13469 Avoid the error when point is inside the pattern.
13471 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13473 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13476 2012-03-21 Drew Adams <drew.adams@oracle.com>
13478 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13480 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13482 * ido.el (ido-set-current-directory, ido-read-internal)
13483 (ido-choose-completion-string, ido-completion-help): Handle nil
13484 value of ido-completion-buffer (Bug#11008).
13486 2012-03-21 Sam Steingold <sds@gnu.org>
13488 * window.el (switch-to-prev-buffer): Do not switch to a visible
13489 window previous buffer, just like with the frame previous buffers.
13491 2012-03-21 Chong Yidong <cyd@gnu.org>
13493 * faces.el (make-face, make-empty-face, copy-face):
13494 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13497 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13499 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13500 (widget-complete): Remove broken use of it.
13502 2012-03-20 Chong Yidong <cyd@gnu.org>
13504 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13505 Use string-width and truncate-string-width to handle arbitrary
13508 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13510 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13511 to draw rectangles, not squares. (Regression introduced by revno
13512 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13514 2012-03-18 Chong Yidong <cyd@gnu.org>
13516 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13517 it is not yet defined (for temacs).
13519 2012-03-18 Leo Liu <sdl.web@gmail.com>
13521 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13524 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13526 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13527 (ispell-choices-win-default-height, ispell-silently-savep)
13528 (ispell-dictionary-alist, ispell-encoding8-command)
13529 (ispell-check-version, ispell-aspell-find-dictionary)
13530 (ispell-valid-dictionary-list, ispell-words-keyword)
13531 (ispell-get-word, ispell-internal-change-dictionary)
13532 (ispell-region, ispell-skip-region-list)
13533 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13534 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13535 (ispell-message-text-end, ispell-message)
13536 (ispell-buffer-local-parsing): Doc fix.
13538 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13540 * htmlfontify.el: Add support for code block fontification for ODT
13541 export (Bug #9914).
13542 (hfy-optimisations): Define new option
13544 (hfy-fontify-buffer): Honor above setting.
13545 (hfy-begin-span, hfy-end-span): New routines factored out form
13546 `hfy-fontify-buffer'.
13547 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13548 that permit insertion of custom tags.
13549 (hfy-fontify-buffer): Use above handlers.
13550 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13551 (hfy-face-to-css): Re-defined to be a variable.
13552 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13553 over multiple runs. This is made possible by having the caller let
13554 bind a special variable `hfy-user-sheet-assoc'.
13555 (htmlfontify-string): New defun.
13556 (hfy-compile-face-map): Make sure that the last char in the
13557 buffer is correctly fontified.
13558 (hfy-face-resolve-face): Whitespace only change.
13560 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13562 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13563 message more clear.
13565 2012-03-16 Leo Liu <sdl.web@gmail.com>
13567 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13569 2012-03-16 Alan Mackenzie <acm@muc.de>
13571 Further optimize the handling of large macros.
13573 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13574 limit to a call of `c-literal-limits'.
13575 (c-determine-+ve-limit): New function.
13576 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13577 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13578 In CASE 5B, restrict a search limit to 500.
13579 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13581 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13582 Restrict macro bounds to +-500 from after-change's BEG END.
13584 2012-03-16 Leo Liu <sdl.web@gmail.com>
13586 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13588 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13590 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13591 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13593 2012-03-16 Glenn Morris <rgm@gnu.org>
13595 * view.el (view-buffer, view-buffer-other-window)
13596 (view-buffer-other-frame): Doc fixes re special mode-class.
13598 * subr.el (eval-after-load): If named feature is provided not from
13599 a file, run after-load forms. (Bug#10946)
13601 * calendar/calendar.el (calendar-insert-at-column):
13602 Handle non-unit-width characters a bit better. (Bug#10978)
13604 2012-03-15 Chong Yidong <cyd@gnu.org>
13606 * emacs-lisp/ring.el (ring-extend): New function.
13607 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13609 * comint.el (comint-read-input-ring)
13610 (comint-add-to-input-history): Grow comint-input-ring lazily.
13612 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13614 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13615 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13617 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13618 (imenu-add-to-menubar): Don't add a redundant index.
13619 (imenu-update-menubar): Handle a dynamically composed keymap.
13621 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13623 * mail/sendmail.el (mail-encode-header):
13624 Bind rfc2047-encode-encoded-words to nil.
13626 2012-03-13 Glenn Morris <rgm@gnu.org>
13628 * calendar/calendar.el (calendar-string-spread):
13629 Handle non-unit-width characters a bit better. (Bug#10978)
13631 2012-03-13 Leo Liu <sdl.web@gmail.com>
13633 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13634 directory and file as argument (Bug#10822).
13636 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13638 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13639 For dynamically generated code, follow $PC.
13640 (gdb-disassembly-handler-custom): Handle no function name case.
13642 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13644 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13645 * emulation/ws-mode.el (ws-query-replace):
13646 * sort.el (sort-regexp-fields):
13647 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13649 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13651 * dabbrev.el: Fix cycle completion order (bug#10963).
13652 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13653 (dabbrev-completion): Don't use an obarray; provide
13654 a cycle-sort-function.
13656 2012-03-12 Leo Liu <sdl.web@gmail.com>
13658 * simple.el (kill-new): Use equal-including-properties for comparison.
13659 (kill-do-not-save-duplicates): Doc fix.
13661 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13663 * dabbrev.el: Fix cycle completion (bug#10963).
13664 Use lexical binding and wrap to 80 columns.
13665 (dabbrev-completion): Delay computing the list of completions.
13667 2012-03-12 Kenichi Handa <handa@m17n.org>
13669 * international/quail.el (quail-insert-kbd-layout): Surround each
13670 row by LRO and PDF instead of inserting many LRMs. Pad the left
13671 and right of each non-spacing marks. Insert invisible space
13672 between lower and upper characters to prevent composition.
13674 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * minibuffer.el (minibuffer-complete): Don't get confused when the
13677 function is run twice via different commands (bug#10958).
13678 (complete-with-action): Fix docstring.
13680 2012-03-12 Chong Yidong <cyd@gnu.org>
13682 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13683 (nxml-completion-at-point-function): New function.
13684 (nxml-mode): Use it.
13685 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13687 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13688 Load generated autoloads file before byte compiling (Bug#10970).
13689 (package--make-autoloads-and-compile): New helper fun.
13691 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13693 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13695 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13697 * autorevert.el (auto-revert-handler): Ensure, that
13698 file-readable-p is applied only for local files or in
13699 auto-revert-tail-mode.
13701 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13703 * server.el (server-eval-at): Handle non-tcp connections.
13704 Decode result string.
13706 * server.el (server-msg-size): New constant.
13707 (server-reply-print): New function.
13708 (server-eval-and-print): Use it.
13709 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13710 Handle -print-nonl.
13712 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13714 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13717 2012-03-11 Chong Yidong <cyd@gnu.org>
13719 * simple.el (goto-line): Doc fix (Bug#9938).
13721 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13723 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13724 when finished (Bug#10963).
13726 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13728 * window.el (split-window-below): Fix bug in case where
13729 split-window-keep-point is nil (Bug#10971).
13731 2012-03-11 Juri Linkov <juri@jurta.org>
13733 * replace.el (replace-highlight): Set isearch-word to nil
13734 unconditionally. (Bug#10887)
13736 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13738 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13739 mairix-replace-illegal-chars; all callers changed. Don't remove
13740 ^, ~, and = characters: they are meaningful in mairix search specs.
13741 (mairix-widget-create-query): Add usage information about mairix
13742 search forms: negating words, searching for substrings, etc.
13744 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13746 * international/fontset.el (font-encoding-alist): Add an entry for
13747 ksx1001 (Bug#5667).
13749 2012-03-10 Richard Stallman <rms@gnu.org>
13751 * mail/sendmail.el (mail-encode-header):
13752 Set rfc2047-encode-encoded-words.
13754 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13756 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13757 view buffer means not swapped.
13758 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13759 (rmail-write-region-annotate): Error if real text has disappeared.
13761 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13763 2012-03-10 Chong Yidong <cyd@gnu.org>
13765 * emulation/cua-rect.el (cua--init-rectangles):
13766 * emulation/cua-base.el (cua--init-keymaps):
13767 Add delete-forward-char to remappings (Bug#9666).
13769 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13771 * speedbar.el (speedbar-unhighlight-one-tag-line):
13772 Avoid unhighlighting due to frame switching (Bug#10275).
13774 2012-03-10 Chong Yidong <cyd@gnu.org>
13776 * minibuffer.el (completion-in-region, completion-help-at-point):
13777 Give the completion field overlay a high priority (Bug#6830).
13779 * dired.el (dired-goto-file): Recognize absolute file name
13780 listings (Bug#7126).
13781 (dired-goto-file-1): New helper function.
13782 (dired-toggle-read-only): Inhibit warnings.
13784 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13786 * net/dbus.el (dbus-property-handler): Return empty array if
13787 there are no properties.
13789 2012-03-09 Leo Liu <sdl.web@gmail.com>
13791 * savehist.el (savehist-printable): Stricter check for string
13794 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13796 * mail/smtpmail.el (smtpmail-send-it):
13797 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13800 2012-03-09 Glenn Morris <rgm@gnu.org>
13802 * files.el (dir-locals-find-file):
13803 Don't check result is regular, readable.
13804 (dir-locals-read-from-file): Demote errors.
13806 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13808 * international/quail.el (quail-insert-kbd-layout):
13809 Insert invisible LRM characters before each character in a keyboard
13810 layout cell, to prevent their reordering by bidi display engine.
13811 For details, see the discussion in
13812 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13814 2012-03-08 Alan Mackenzie <acm@muc.de>
13816 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13817 the starting position; make it extend the marked region when
13818 invoked repeatedly - all under appropriate circumstances.
13819 Fixes bugs #5525, #10906.
13821 2012-03-08 Glenn Morris <rgm@gnu.org>
13823 * files.el (locate-dominating-file, dir-locals-find-file):
13824 Undo 2012-03-06 change.
13826 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13828 * international/quail.el (quail-help):
13829 Force bidi-paragraph-direction be left-to-right. See discussion in
13830 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13833 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13835 Avoid superfluous registering of signals. (Bug#10807)
13837 * notifications.el (notifications-on-action-object)
13838 (notifications-on-close-object): New defvars.
13839 (notifications-on-action-signal, notifications-on-closed-signal):
13840 Unregister the signal if not needed any longer.
13841 (notifications-notify): Register `notifications-action-signal' or
13842 `notifications-closed-signal', if :on-action or :on-close has been
13843 passed as argument.
13845 2012-03-07 Chong Yidong <cyd@gnu.org>
13847 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13850 2012-03-06 Glenn Morris <rgm@gnu.org>
13852 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13853 (x-disown-selection-internal, x-get-selection-internal):
13854 Doc fix (add arglist signatures). (Bug#10783)
13856 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13858 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13859 Handle breakpoints with no "type".
13861 2012-03-06 Glenn Morris <rgm@gnu.org>
13863 * files.el (locate-dominating-file): Add optional predicate argument.
13864 (dir-locals-find-file): Make use of above change.
13866 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13868 * info.el (Info-insert-dir): Also try "dir.gz".
13870 2012-03-06 Glenn Morris <rgm@gnu.org>
13872 * files.el (dir-locals-find-file):
13873 Ignore non-readable or non-regular files. (Bug#10928)
13875 * files.el (locate-dominating-file): Doc fix.
13877 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13879 * calendar/calendar.el (calendar-set-mode-line):
13880 `getenv' returns a string. (Bug#10951)
13882 2012-03-05 Leo Liu <sdl.web@gmail.com>
13884 * simple.el (backward-delete-char-untabify): Constrain point to
13887 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13889 2012-03-05 Chong Yidong <cyd@gnu.org>
13891 * simple.el (count-words): If called from Lisp, return the word
13892 count, for symmetry with `count-lines'. Arglist changed.
13893 (count-words--message): Args changed. Consolidate counting code
13894 from count-words and count-words-region.
13895 (count-words-region): Caller changed.
13896 (count-lines-region): Make it an obsolete alias.
13898 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13900 * saveplace.el (save-place-to-alist)
13901 (save-place-ignore-files-regexp): Allow value nil to disable this
13904 2012-03-04 Chong Yidong <cyd@gnu.org>
13906 * faces.el (face-spec-reset-face): For the default face, reset the
13907 attributes to default values (Bug#10748).
13909 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13911 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13912 previous patch: Check `message-send-mail-function', and not the
13913 default function (bug#10897).
13915 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13917 * notifications.el (notifications-on-action-signal)
13918 (notifications-on-closed-signal): Check for unique service name of
13919 incoming event. Fix error in removing entry.
13920 (top): Register for signals with wildcard service name.
13921 (notifications-notify): Use daemon unique service name for map entries.
13923 2012-03-04 Chong Yidong <cyd@gnu.org>
13925 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13927 2012-03-04 Glenn Morris <rgm@gnu.org>
13929 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13930 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13931 (expand-abbrev, define-abbrev-table): Doc fixes.
13933 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13935 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13936 `message-default-send-mail-function' and not `send-mail-function'
13937 when doing the prompting for `sendmail-query-once' before sending
13938 in Message buffers (bug#10897).
13940 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13941 This is inconsistent with all the other stream functions, which leave
13942 the setting up to the higher levels (if so wanted) (bug#10931).
13944 2012-03-02 Alan Mackenzie <acm@muc.de>
13946 Depessimize the handling of very large macros.
13948 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13949 (c-macro-cache-syntactic): New variables to implement a one
13950 element macro cache.
13951 (c-invalidate-macro-cache): New function.
13952 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13953 Adapt to use the new cache.
13954 (c-state-safe-place): Use better the cache of safe positions.
13955 (c-state-semi-nonlit-pos-cache)
13956 (c-state-semi-nonlit-pos-cache-limit):
13957 New variables for...
13958 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13959 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13960 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13961 Use c-state-semi-safe-place.
13963 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13964 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13966 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13968 * jka-compr.el (jka-compr-call-process):
13969 Apply `file-accessible-directory-p' only when the default directory is
13972 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13974 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13975 access of FILE2, if FILE1 does not exist.
13977 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13978 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13980 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13981 Add "PAGER=" to `process-environment'.
13983 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13985 * progmodes/sql.el: Bug fix
13986 (sql-get-login-ext): Save login values in globals.
13987 (sql-get-login): Use new version of `sql-get-login-ext'.
13988 (sql-interactive-mode): Set global `sql-connection' to nil.
13989 (sql-connect): Set global values for connection.
13990 (sql-product-interactive): Save global values as buffer local.
13992 2012-02-29 Leo Liu <sdl.web@gmail.com>
13994 * abbrev.el (define-abbrevs): Reset sys to nil.
13996 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13998 * files.el (file-equal-p): Rename from `files-equal-p'.
13999 Return nil when one or both files don't exist.
14000 (file-subdir-of-p): Now only top directory must exists,
14001 return nil if it doesn't.
14002 (copy-directory): No need to test with `file-subdir-of-p' after
14004 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14007 2012-02-28 Glenn Morris <rgm@gnu.org>
14009 * shell.el (shell-mode):
14010 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14011 * play/landmark.el (landmark-font-lock-face-O):
14012 * play/handwrite.el (handwrite):
14013 * play/gomoku.el (gomoku-O):
14014 * net/browse-url.el (browse-url-browser-display):
14015 * international/mule.el (define-charset):
14016 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14017 * filesets.el (filesets-find-file-delay):
14018 * eshell/em-xtra.el (eshell-xtra):
14019 * eshell/em-unix.el (eshell-grep):
14020 * emulation/viper.el (viper-mode):
14021 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14022 * emacs-lisp/easymenu.el (easy-menu-define):
14023 * calendar/timeclock.el (timeclock-use-display-time):
14025 * bookmark.el (bookmark-save-flag):
14026 Doc fix (standardize possessive apostrophe usage).
14028 2012-02-27 Chong Yidong <cyd@gnu.org>
14030 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14031 Fix key-binding lookup for ESC key (Bug#9146).
14033 * font-lock.el (font-lock-specified-p): Rename from
14034 font-lock-spec-present. Callers changed.
14036 2012-02-27 Daniel Hackney <dan@haxney.org>
14038 * emacs-lisp/package.el (package-compute-transaction):
14039 Handle holding a package version to t in package-load-list.
14041 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14043 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14044 (tramp-get-inode, tramp-get-device): Use cached values.
14046 2012-02-26 Alan Mackenzie <acm@muc.de>
14048 Check there is a font-lock specification before doing initial
14051 * font-core.el (font-lock-mode): Move the conditional from
14052 :after-hook to font-lock-initial-fontify.
14053 (font-lock-default-function): Move the check for a specification
14054 to font-lock-spec-present.
14056 * font-lock.el (font-lock-initial-fontify): Call ...
14057 (font-lock-spec-present): New function.
14059 2012-02-26 Jim Blandy <jimb@red-bean.com>
14061 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14062 (gdb-send): Apply it to the operand of the '-interpreter-exec
14063 console' command, so that we can pass arguments with (say) quotes
14064 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14066 2012-02-26 Chong Yidong <cyd@gnu.org>
14068 * help-fns.el (describe-function-1): Clarify description of
14069 remapping (Bug#10844).
14071 * files.el (files-equal-p): Doc fix.
14072 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14073 and quit the loop once a mismatch is found.
14075 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14077 * bs.el (bs--show-with-configuration): Don't throw an error
14078 if the window cannot be split; otherwise, subsequent calls to
14079 bs-show fail, restoring a stale window config. (Bug#10882)
14081 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14083 * term/ns-win.el (global-map): Bind ns-drag-file to
14084 ns-find-file (Bug#5855, Bug#10050).
14086 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14088 * calendar/parse-time.el (parse-time-string): Allow extractor to
14091 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14093 * net/tramp.el (tramp-file-name-for-operation):
14094 Add `files-equal-p' and `file-subdir-of-p'.
14096 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14097 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14098 Add COPY-CONTENTS argument.
14100 2012-02-25 Chong Yidong <cyd@gnu.org>
14102 Add custom groups for VC backends, for consistency with vc-bzr.
14104 * vc/vc-arch.el (vc-arch):
14105 * vc/vc-cvs.el (vc-cvs):
14106 * vc/vc-git.el (vc-git):
14107 * vc/vc-hg.el (vc-hg):
14108 * vc/vc-mtn.el (vc-mtn):
14109 * vc/vc-rcs.el (vc-rcs):
14110 * vc/vc-sccs.el (vc-sccs):
14111 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14112 All relevant defcustoms reassigned.
14114 2012-02-25 Chong Yidong <cyd@gnu.org>
14116 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14118 * term/x-win.el (x-initialize-window-system): Reduce default for
14119 x-selection-timeout to 5 seconds (Bug#8869).
14121 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14123 * files.el (files-equal-p, file-subdir-of-p): New functions.
14124 (copy-directory): Error when trying to copy a directory on itself.
14125 Add missing copy-contents arg to tramp handler.
14126 * dired-aux.el (dired-copy-file-recursive): Same.
14127 (dired-create-files): Modify destination when source is equal to
14128 dest when copying files.
14129 Return also when dest is a subdir of source. (Bug#10489)
14131 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14133 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14136 2012-02-23 Alan Mackenzie <acm@muc.de>
14138 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14139 parameter "after-hook:" to allow the expansion to run code after
14140 the execution of the mode hooks.
14142 * font-lock.el (font-lock-initial-fontify): New function extracted
14143 from font-lock-mode-internal.
14145 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14148 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14150 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14151 (completion--cache-all-sorted-completions): New function.
14152 (completion-all-sorted-completions): Use it.
14153 (completion--do-completion, minibuffer-force-complete):
14154 Use it to re-instate the flush hook.
14156 * icomplete.el (icomplete-completions): Replace last fix with a better
14159 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14161 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14162 when it might call us back infinitely (bug#10797).
14164 2012-02-23 Glenn Morris <rgm@gnu.org>
14166 * minibuffer.el (completion-category-overrides): Doc fix.
14168 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14170 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14171 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14173 2012-02-23 Glenn Morris <rgm@gnu.org>
14175 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14176 (authors-obsolete-files-regexps, authors-ignored-files)
14177 (authors-ambiguous-files, authors-renamed-files-alist):
14180 2012-02-23 Juri Linkov <juri@jurta.org>
14182 * isearch.el (isearch-occur): Sync interactive spec with occur's
14183 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14185 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14187 2012-02-22 Juri Linkov <juri@jurta.org>
14189 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14190 (ucs-insert): Doc fix. Check for hex digits in the string.
14191 Don't display `nil' in the error message. (Bug#10857)
14193 2012-02-22 Alan Mackenzie <acm@muc.de>
14195 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14197 2012-02-22 Glenn Morris <rgm@gnu.org>
14199 * ffap.el (ffap-c-path):
14200 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14202 2012-02-22 Chong Yidong <cyd@gnu.org>
14204 * custom.el (load-theme): Doc fix.
14206 2012-02-22 Glenn Morris <rgm@gnu.org>
14208 * dired-x.el (dired-guess-shell-alist-default):
14209 Remove escape sequences from nroff output. (Bug#172)
14211 2012-02-21 Glenn Morris <rgm@gnu.org>
14213 * vc/emerge.el (emerge-defvar-local):
14214 Set `permanent-local' property rather than unused `preserved'.
14216 * textmodes/picture.el (picture-delete-char): New alias.
14217 (picture-mode-map): Use it. (Bug#10860)
14218 (picture-mode): Doc fix.
14220 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14222 * newcomment.el (uncomment-region-default): Remove unused binding.
14224 2012-02-21 Glenn Morris <rgm@gnu.org>
14226 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14227 (picture-self-insert, picture-tab-chars): Doc fix.
14228 (picture-mode-map): Fix C-a, C-e.
14230 2012-02-20 Glenn Morris <rgm@gnu.org>
14232 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14234 2012-02-20 Leo Liu <sdl.web@gmail.com>
14236 * icomplete.el (icomplete-completions): Check FROM arg before
14237 passing to substring (Bug#10850).
14239 2012-02-19 Chong Yidong <cyd@gnu.org>
14241 * comint.el: Require ansi-color.
14242 (comint-output-filter-functions): Add ansi-color-process-output.
14244 * ansi-color.el: Don't set comint-output-filter-functions; it is
14245 now in the initial value defined in comint.el.
14246 (ansi-color-apply-face-function): New variable.
14247 (ansi-color-apply-on-region): Use it.
14248 (ansi-color-apply-overlay-face): New function.
14250 * shell.el (shell): No need to require ansi-color.
14251 (shell-mode): Use ansi-color-apply-face-function to highlight
14252 color escapes using font-lock-face property (Bug#10835).
14254 2012-02-19 Chong Yidong <cyd@gnu.org>
14256 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14257 mode-line formats (Bug#10839).
14259 2012-02-18 Glenn Morris <rgm@gnu.org>
14261 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14263 * mail/undigest.el (unforward-rmail-message): Doc fix.
14265 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14267 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14269 * international/characters.el (script-list): Sync with the latest
14270 Unicode Character Database.
14272 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14274 * international/titdic-cnv.el: Remove duplicate coding tag.
14275 * language/cham.el: Likewise.
14276 * language/tai-viet.el: Likewise.
14278 2012-02-18 Glenn Morris <rgm@gnu.org>
14280 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14281 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14282 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14283 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14284 * calendar/holidays.el (holiday-bahai-holidays)
14285 (calendar-holidays, list-holidays):
14286 Use utf-8 Bahá'í in doc-strings, menus, etc.
14288 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14290 * saveplace.el (save-place-ignore-files-regexp): New variable
14291 allowing for excluding files from saving their location of point.
14292 The default value matches the temporary commit message editing
14293 files from Git, SVN, Bazaar, and Mercurial.
14294 (save-place-to-alist): Use it.
14296 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14297 Stefan Monnier <monnier@iro.umontreal.ca>
14299 * newcomment.el (uncomment-region-default): Don't leave extra space
14300 when an arg is provided (bug#8150).
14302 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14304 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14306 2012-02-17 Glenn Morris <rgm@gnu.org>
14308 * net/socks.el: Require network-stream. (Bug#10599)
14310 2012-02-17 Kenichi Handa <handa@m17n.org>
14312 * international/charprop.el:
14313 * international/uni-name.el:
14314 * international/uni-old-name.el:
14315 * international/uni-comment.el: Regenerate.
14317 2012-02-16 Glenn Morris <rgm@gnu.org>
14319 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14320 Interactively in calendar buffer, give an error if not on a date.
14322 2012-02-15 Glenn Morris <rgm@gnu.org>
14324 * shell.el (shell-delimiter-argument-list):
14325 Revert 2011-02-17 change. (Bug#8027)
14327 2012-02-15 Chong Yidong <cyd@gnu.org>
14329 * minibuffer.el (completion-at-point-functions): Doc fix.
14331 * custom.el (defcustom): Doc fix; note use of defvar.
14333 2012-02-15 Glenn Morris <rgm@gnu.org>
14335 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14338 2012-02-14 Glenn Morris <rgm@gnu.org>
14340 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14342 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14344 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14345 way the ports list is computed.
14346 (smtpmail-query-smtp-server): Prompt the user for a port number if
14347 we can't connect to any of the standard ports (bug#10810).
14349 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14351 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14353 2012-02-13 Glenn Morris <rgm@gnu.org>
14355 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14357 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14359 * net/gnutls.el (gnutls-trustfiles): New variable.
14360 (gnutls-negotiate): Use it.
14362 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14364 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14365 does its stuff if Gnus is running.
14367 2012-02-13 Alan Mackenzie <acm@muc.de>
14369 Fix a loop in c-set-fl-decl-start.
14371 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14372 c-backward-syntactic-ws actually moves backwards.
14374 2012-02-13 Leo Liu <sdl.web@gmail.com>
14376 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14377 beginning so that all \C-o chars are removed.
14379 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14381 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14383 2012-02-12 Alan Mackenzie <acm@muc.de>
14385 Fix infinite loop with long macros.
14386 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14388 2012-02-12 Chong Yidong <cyd@gnu.org>
14390 * window.el (display-buffer): Doc fix (Bug#10785).
14392 2012-02-12 Glenn Morris <rgm@gnu.org>
14394 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14395 (x-disown-selection-internal, x-get-selection-internal):
14396 Sync docs with the xselect.c versions.
14398 * allout-widgets.el: Add missing license notice.
14400 2012-02-11 Glenn Morris <rgm@gnu.org>
14402 * select.el (x-get-selection-internal, x-own-selection-internal)
14403 (x-disown-selection-internal):
14404 * x-dnd.el (x-get-selection-internal): Update declarations.
14406 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14408 * window.el (window-sides-slots):
14409 * tool-bar.el (tool-bar-position):
14410 * term/xterm.el (xterm-extra-capabilities):
14411 * ses.el (ses-self-reference-early-detection):
14412 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14413 (verilog-auto-wire-type)
14414 (verilog-auto-delete-trailing-whitespace)
14415 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14416 (verilog-auto-tieoff-declaration):
14417 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14418 (sql-oracle-statement-starters, sql-oracle-scan-on):
14419 * progmodes/prolog.el (prolog-align-comments-flag)
14420 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14421 (prolog-left-indent-regexp, prolog-paren-indent-p)
14422 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14423 (prolog-types, prolog-mode-specificators)
14424 (prolog-determinism-specificators, prolog-directives)
14425 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14426 (prolog-electric-dot-flag)
14427 (prolog-electric-dot-full-predicate-template)
14428 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14429 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14430 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14431 (prolog-program-switches, prolog-prompt-regexp)
14432 (prolog-debug-on-string, prolog-debug-off-string)
14433 (prolog-trace-on-string, prolog-trace-off-string)
14434 (prolog-zip-on-string, prolog-zip-off-string)
14435 (prolog-use-standard-consult-compile-method-flag)
14436 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14437 (prolog-imenu-max-lines, prolog-info-predicate-index)
14438 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14439 (prolog-char-quote-workaround):
14440 * progmodes/cc-vars.el (c-defun-tactic):
14441 * net/tramp.el (tramp-encoding-command-interactive)
14442 (tramp-local-end-of-line):
14443 * net/soap-client.el (soap-client):
14444 * net/netrc.el (netrc-file):
14445 * net/gnutls.el (gnutls):
14446 * minibuffer.el (completion-category-overrides)
14447 (completion-cycle-threshold)
14448 (completion-pcm-complete-word-inserts-delimiters):
14449 * man.el (Man-name-local-regexp):
14450 * mail/feedmail.el (feedmail-display-full-frame):
14451 * international/characters.el (glyphless-char-display-control):
14452 * eshell/em-ls.el (eshell-ls-date-format):
14453 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14454 (lisp-lambda-list-keyword-parameter-indentation)
14455 (lisp-lambda-list-keyword-parameter-alignment):
14456 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14457 * dired-x.el (dired-omit-verbose):
14458 * cus-theme.el (custom-theme-allow-multiple-selections):
14459 * calc/calc.el (calc-highlight-selections-with-faces)
14460 (calc-lu-field-reference, calc-lu-power-reference)
14461 (calc-note-threshold):
14462 * battery.el (battery-mode-line-limit):
14463 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14464 (archive-7z-update):
14465 * allout.el (allout-prefixed-keybindings)
14466 (allout-unprefixed-keybindings)
14467 (allout-inhibit-auto-fill-on-headline)
14468 (allout-flattened-numbering-abbreviation):
14469 * allout-widgets.el (allout-widgets-auto-activation)
14470 (allout-widgets-icons-dark-subdir)
14471 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14472 (allout-widgets-theme-dark-background)
14473 (allout-widgets-theme-light-background)
14474 (allout-widgets-item-image-properties-emacs)
14475 (allout-widgets-item-image-properties-xemacs)
14476 (allout-widgets-run-unit-tests-on-load)
14477 (allout-widgets-time-decoration-activity)
14478 (allout-widgets-hook-error-post-time)
14479 (allout-widgets-track-decoration):
14480 Add missing :version tags to new defcustoms and defgroups.
14482 * progmodes/sql.el (sql-ansi-statement-starters)
14483 (sql-oracle-statement-starters): Add custom type.
14485 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14486 (prolog-system-version): Give it a type.
14488 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14490 * term/pc-win.el (x-select-text, x-selection-owner-p)
14491 (x-own-selection-internal, x-disown-selection-internal)
14492 (x-get-selection-internal): Sync doc strings and argument lists
14493 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14495 2012-02-11 Leo Liu <sdl.web@gmail.com>
14497 * progmodes/python.el (python-end-of-statement): Fix infinite
14500 2012-02-10 Glenn Morris <rgm@gnu.org>
14502 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14503 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14505 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14507 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14508 about SMTP before checking the From header.
14510 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14511 into own function for reuse by emacsbug.el.
14513 2012-02-10 Leo Liu <sdl.web@gmail.com>
14515 * subr.el (condition-case-unless-debug): Rename from
14516 condition-case-no-debug. All callers changed.
14517 (with-demoted-errors): Fix caller.
14519 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14520 * nxml/rng-valid.el (rng-do-some-validation):
14521 * emacs-lisp/package.el (package-refresh-contents)
14522 (package-menu-execute):
14523 * desktop.el (desktop-create-buffer):
14524 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14526 2012-02-10 Glenn Morris <rgm@gnu.org>
14528 * textmodes/bibtex.el:
14529 Add missing :version tags for new/changed defcustoms.
14531 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14533 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14535 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14536 (smtpmail-via-smtp): Use it, or fall back on the From address.
14537 (smtpmail-send-it): Ditto.
14539 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14541 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14542 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14543 (byte-compile-tmp-var): New const.
14544 (byte-compile-defvar): Use it to minimize .elc size.
14545 Just use `defvar' rather than simulate it (bug#10761).
14547 2012-02-09 Glenn Morris <rgm@gnu.org>
14549 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14551 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14554 * progmodes/compile.el (compilation-error-screen-columns)
14555 (compilation-first-column, compilation-filter-start): Doc fixes.
14557 * vc/log-view.el (log-view-toggle-entry-display):
14558 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14560 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14561 (report-emacs-bug-can-use-xdg-email):
14562 (report-emacs-bug-insert-to-mailer): Doc fixes.
14563 (report-emacs-bug): Message fix.
14565 * net/browse-url.el (browse-url-can-use-xdg-open)
14566 (browse-url-xdg-open): Doc fixes.
14568 * electric.el (electric-indent-mode, electric-pair-mode)
14569 (electric-layout-rules, electric-layout-mode): Doc fixes.
14570 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14572 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14574 * server.el (server-unselect-display): Don't inadvertently kill
14575 the current buffer. (Bug#10729)
14577 2012-02-08 Glenn Morris <rgm@gnu.org>
14579 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14580 (sql-list-table): Doc fixes.
14582 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14583 Comment out (does nothing).
14585 * completion.el (dynamic-completion-mode):
14586 * dirtrack.el (dirtrack-debug-mode):
14587 * electric.el (electric-layout-mode):
14588 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14589 * face-remap.el (text-scale-mode, buffer-face-mode):
14590 * iimage.el (iimage-mode):
14591 * image-mode.el (image-transform-mode):
14592 * minibuffer.el (completion-in-region-mode):
14593 * scroll-lock.el (scroll-lock-mode):
14594 * simple.el (next-error-follow-minor-mode):
14595 * tar-mode.el (tar-subfile-mode):
14596 * tooltip.el (tooltip-mode):
14597 * vcursor.el (vcursor-use-vcursor-map):
14598 * wid-browse.el (widget-minor-mode):
14599 * emulation/tpu-edt.el (tpu-edt-mode):
14600 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14601 * international/iso-ascii.el (iso-ascii-mode):
14602 * language/thai-util.el (thai-word-mode):
14603 * mail/supercite.el (sc-minor-mode):
14604 * net/goto-addr.el (goto-address-mode):
14605 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14606 * progmodes/cwarn.el (cwarn-mode):
14607 * progmodes/flymake.el (flymake-mode):
14608 * progmodes/glasses.el (glasses-mode):
14609 * progmodes/hideshow.el (hs-minor-mode):
14610 * progmodes/pascal.el (pascal-outline-mode):
14611 * textmodes/enriched.el (enriched-mode):
14612 * vc/smerge-mode.el (smerge-mode):
14613 Doc fixes (minor mode argument).
14615 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14617 * ls-lisp.el (ls-lisp-sanitize): New function.
14618 (ls-lisp-insert-directory): Use it to fix or remove any elements
14619 in file-alist with missing attributes. (Bug#4673)
14621 2012-02-07 Alan Mackenzie <acm@muc.de>
14623 Fix spurious recognition of c-in-knr-argdecl.
14625 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14626 putative K&R region.
14628 2012-02-07 Alan Mackenzie <acm@muc.de>
14630 * progmodes/cc-engine.el (c-forward-objc-directive):
14631 Prevent looping in "#pragma mark @implementation".
14633 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14635 * notifications.el (notifications-on-closed-signal): Make `reason'
14636 optional. (Bug#10744)
14638 2012-02-07 Glenn Morris <rgm@gnu.org>
14640 * emacs-lisp/easy-mmode.el (define-minor-mode):
14641 Doc fixes for the macro and the mode it defines.
14643 * image.el (imagemagick-types-inhibit): Doc fix.
14645 * cus-start.el (imagemagick-render-type): Add it.
14647 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14649 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14650 Set the default at load time, too, so that `font-lock-fontify-buffer'
14651 can be called without setting up the entire mode first. This fixes
14652 a bug in `mm-inline-text' with C MIME parts.
14654 2012-02-06 Chong Yidong <cyd@gnu.org>
14656 * simple.el (list-processes--refresh): Delete exited processes
14659 * comint.el (comint-next-prompt): next-single-char-property-change
14660 and prev-single-char-property-change never return nil (Bug#8657).
14662 * custom.el (defcustom): Doc fix (Bug#9711).
14664 2012-02-05 Chong Yidong <cyd@gnu.org>
14666 * cus-edit.el (custom-variable-reset-backup): Quote the value
14667 before storing it in the customized-value property (Bug#6712).
14668 (custom-display): Add a customization type tag.
14669 (custom-buffer-create-internal): Improve tooltip message.
14671 * wid-edit.el (widget-field-value-get): New optional arg to
14672 suppress trailing whitespace truncation.
14673 (character): Use it (Bug#2689).
14675 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14677 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14678 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14680 2012-02-05 Chong Yidong <cyd@gnu.org>
14682 * cus-edit.el (custom-variable-value-create): For mismatched
14683 types, show the current value (Bug#7600).
14685 * custom.el (defcustom): Doc fix.
14687 2012-02-05 Glenn Morris <rgm@gnu.org>
14689 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14691 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14693 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14694 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14695 (pp-last-sexp): Use `looking-at-p'.
14697 2012-02-04 Glenn Morris <rgm@gnu.org>
14699 * files.el (revert-buffer):
14700 Doc fix (mention revert-buffer-in-progress-p).
14702 * emacs-lisp/ert-x.el (ert-simulate-command):
14703 Check deferred-action-list (which is obsolete) is bound.
14705 * subr.el (with-wrapper-hook): Doc fixes.
14707 * simple.el (filter-buffer-substring-functions)
14708 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14710 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14712 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14713 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14715 2012-02-04 Leo Liu <sdl.web@gmail.com>
14717 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14719 2012-02-04 Glenn Morris <rgm@gnu.org>
14721 * image.el (image-extension-data): Add obsolete alias.
14723 * isearch.el (isearch-update): Doc fix.
14725 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14727 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14729 2012-02-03 Glenn Morris <rgm@gnu.org>
14731 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14732 (image-animate-timeout): Doc fix.
14734 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14736 2012-02-02 Glenn Morris <rgm@gnu.org>
14738 * server.el (server-auth-dir): Doc fix.
14739 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14741 * subr.el (run-mode-hooks): Doc fix.
14743 2012-02-02 Juri Linkov <juri@jurta.org>
14745 * image-mode.el (image-toggle-display-image): Remove tautological
14746 `major-mode' from the `derived-mode-p' test.
14748 2012-02-02 Kenichi Handa <handa@m17n.org>
14750 * composite.el (compose-region): Cancel previous change.
14752 2012-02-02 Kenichi Handa <handa@m17n.org>
14754 * composite.el (compose-region, compose-string): Signal error for
14755 a null string component (Bug#6988).
14757 2012-02-01 Chong Yidong <cyd@gnu.org>
14759 * view.el (view-buffer-other-window, view-buffer-other-frame):
14760 Handle special modes like view-buffer (Bug#10650).
14761 (view-buffer): Simplify.
14763 * frame.el (set-frame-font): Tweak meaning of third argument.
14765 * dynamic-setting.el (font-setting-change-default-font):
14766 Use set-frame-font (Bug#9982).
14768 2012-02-01 Glenn Morris <rgm@gnu.org>
14770 * progmodes/compile.el (compilation-internal-error-properties):
14771 Respect compilation-first-column in the "*compilation*" buffer.
14773 * emacs-lisp/easy-mmode.el (define-minor-mode):
14774 Relax :variable's test for a named function.
14776 2012-01-31 Alan Mackenzie <acm@muc.de>
14778 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14781 2012-01-31 Chong Yidong <cyd@gnu.org>
14783 * frame.el (set-frame-font): New arg ALL-FRAMES.
14785 * menu-bar.el (menu-set-font): Use set-frame-font.
14787 * faces.el (face-spec-reset-face): Don't apply unspecified
14788 attribute values to the default face.
14790 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14792 * progmodes/cwarn.el (cwarn): Remove dead link.
14793 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14794 Remove * from defcustom docstrings.
14795 (turn-on-cwarn-mode): Make obsolete.
14796 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14797 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14799 2012-01-31 Glenn Morris <rgm@gnu.org>
14801 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14802 Fix :variable handling of mode a symbol not equal to modefun.
14803 Allow named functions to be used as the cdr of :variable.
14805 2012-01-30 Glenn Morris <rgm@gnu.org>
14807 * emacs-lisp/authors.el (authors-fixed-entries):
14808 Remove reference to deleted file rnewspost.el.
14810 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14812 * window.el (window-with-parameter): Remove unused variable `windows'.
14813 (window--side-check): Remove unused variable `code'.
14814 (window--resize-siblings): Remove unused variable `first'.
14815 (adjust-window-trailing-edge): Remove unused variable `failed'.
14816 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14817 Use `let', not `let*'.
14818 (balance-windows-2): Remove unused variable `found'.
14819 (window--state-put-2): Remove unused variable `splits'.
14820 (window-state-put): Remove unused variable `selected'.
14821 (same-window-p): Use `string-match-p'.
14822 (display-buffer-assq-regexp): Remove unused variable `value'.
14823 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14824 Mark argument ALIST as ignored.
14825 (pop-to-buffer): Remove unused variable `old-window'.
14827 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14829 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14830 and .lzma compressed files.
14832 2012-01-29 Chong Yidong <cyd@gnu.org>
14834 * frame.el (window-system-default-frame-alist): Doc fix.
14836 * dynamic-setting.el (font-setting-change-default-font): Don't
14837 change the default face if SET-FONT argument is non-nil (Bug#9982).
14839 2012-01-29 Samuel Bronson <naesten@gmail.com>
14841 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14843 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14845 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14846 breakpoints in files outside current directory (Bug#6098).
14848 2012-01-29 Chong Yidong <cyd@gnu.org>
14850 * progmodes/python.el: Require ansi-color at top-level.
14852 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14853 Define and use in Emacs Lisp mode (Bug#9360).
14854 (lisp-mode-abbrev-table): Add doc.
14855 (lisp-mode-variables): Don't set local-abbrev-table.
14856 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14858 2012-01-28 Roland Winkler <winkler@gnu.org>
14860 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14862 2012-01-28 Roland Winkler <winkler@gnu.org>
14864 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14865 (bibtex-set-dialect): Use it. Either set global values of
14866 dialect-dependent variables or bind these variables buffer-locally
14868 (bibtex-mode): Call bibtex-set-dialect via
14869 hack-local-variables-hook.
14870 (bibtex-dialect): Update docstring.
14871 Add safe-local-variable predicate.
14872 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14873 bibtex-set-dialect.
14874 (bibtex-mode-map): Define menu for each dialect.
14875 (bibtex-entry): Fix docstring.
14877 2012-01-28 Chong Yidong <cyd@gnu.org>
14879 * eshell/esh-arg.el (eshell-quote-argument): New function.
14881 * eshell/esh-ext.el (eshell-invoke-batch-file):
14882 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14883 first arg to eshell-parse-command (Bug#10523).
14885 2012-01-28 Drew Adams <drew.adams@oracle.com>
14887 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14888 `default-directory' is non-nil.
14890 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14892 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14893 line that displays system-configuration-options. (Bug#9924)
14895 2012-01-28 Drew Adams <drew.adams@oracle.com>
14897 * descr-text.el (describe-char): Show information about POS, in
14898 addition to information about the character at POS. Improve and
14899 update the doc string. Change "code point" to "code point in
14900 charset", to avoid confusion with the character's Unicode code
14901 point shown above that. (Bug#10129)
14903 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14905 * descr-text.el (describe-char): Show the raw character, not only
14906 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14907 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14910 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14912 * emacs-lisp/package.el (package-install):
14913 Run package-refresh-contents if there is no archive yet (Bug#9798).
14915 2012-01-28 Chong Yidong <cyd@gnu.org>
14917 * emacs-lisp/package.el (package-maybe-load-descriptor):
14918 New function, split from package-maybe-load-descriptor.
14919 (package-maybe-load-descriptor): Use it.
14920 (package-download-transaction): Fully load required packages
14921 inside the loop, so that `require' calls work (Bug#10593).
14922 (package-install): No need to call package-initialize now.
14924 2012-01-28 Chong Yidong <cyd@gnu.org>
14926 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14928 * tooltip.el (tooltip-mode): Doc fix.
14929 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14931 * frame.el (set-cursor-color): Doc fix (Bug#352).
14933 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14934 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14936 * cus-edit.el (custom-buffer-create-internal): Fix search button
14937 action (Bug#10542).
14938 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14940 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14942 * dired.el (dired-mark-files-regexp):
14943 Include any subdirectory components. (Bug#10445)
14945 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14947 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14948 Handle [host]:port syntax. (Bug#10533)
14950 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14952 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14954 2012-01-26 Glenn Morris <rgm@gnu.org>
14956 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14957 * term.el (term-raw-escape-map): Use Control-X-prefix.
14958 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14960 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14962 * window.el (window-state-get, window--state-get-1): Don't deal
14963 with fixed-sizeness of windows. Simplify code.
14965 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14967 * window.el (window--state-get-1, window--state-put-2):
14968 Don't save and restore the mark.
14970 2012-01-25 Chong Yidong <cyd@gnu.org>
14972 * custom.el (custom-variable-p): Doc fix.
14974 2012-01-25 Glenn Morris <rgm@gnu.org>
14976 * dired.el (dired-goto-file): Handle some of the more common
14977 characters that `ls -b' escapes. (Bug#10596)
14979 * progmodes/compile.el (compilation-next-error-function):
14980 Respect compilation-first-column in the "*compilation*" buffer.
14981 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14983 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14985 2012-01-24 Glenn Morris <rgm@gnu.org>
14987 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14989 2012-01-24 Julien Danjou <julien@danjou.info>
14991 * color.el (color-rgb-to-hsl): Fix value computing.
14992 (color-hue-to-rgb): New function.
14993 (color-hsl-to-rgb): New function.
14994 (color-clamp, color-saturate-hsl, color-saturate-name)
14995 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14996 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14998 2012-01-24 Glenn Morris <rgm@gnu.org>
15000 * vc/vc-rcs.el (vc-rcs-create-tag):
15001 * vc/vc-sccs.el (vc-sccs-create-tag):
15002 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15004 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15006 * eshell/esh-util.el (eshell-read-hosts-file):
15007 Skip comment lines. (Bug#10549)
15009 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15011 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15013 * subr.el (display-delayed-warnings): Doc fix.
15014 (collapse-delayed-warnings): New function to collapse identical
15016 (delayed-warnings-hook): Add it.
15018 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15020 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15022 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15023 (tramp-default-user-alist): Don't add "pscp".
15024 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15025 property "login-as", if set. (Bug#10530)
15027 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15029 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15030 "plink1" and "psftp". (Bug#10530)
15032 2012-01-21 Kenichi Handa <handa@m17n.org>
15034 * international/mule-cmds.el (prefer-coding-system): Show a
15035 warning message if the default value of file-name-coding-system
15038 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15040 * windmove.el (windmove-reference-loc):
15041 Fix windmove-reference-loc miscalculation.
15043 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15045 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15048 2012-01-21 Glenn Morris <rgm@gnu.org>
15050 * international/mule.el (auto-coding-alist): Add .tbz.
15052 * files.el (local-enable-local-variables): Doc fix.
15053 (inhibit-local-variables-regexps): Rename from
15054 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15055 Doc fix. Add some extensions from auto-coding-alist.
15056 (inhibit-local-variables-suffixes):
15057 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15058 (inhibit-local-variables-p):
15059 New function, extracted from set-auto-mode-1.
15060 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15061 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15062 (hack-local-variables): Doc fix. Make the mode-only case
15063 respect enable-local-variables and friends.
15064 Respect inhibit-local-variables-regexps for file-locals, but
15065 not for directory-locals.
15066 (set-visited-file-name):
15067 Take account of inhibit-local-variables-regexps.
15068 Whether it applies may change as the file name is changed.
15069 * jka-cmpr-hook.el (jka-compr-install):
15070 * jka-compr.el (jka-compr-uninstall):
15071 Update for inhibit-first-line-modes-suffixes name change.
15073 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15075 * help-macro.el (make-help-screen): Temporarily restore original
15076 binding for minor-mode-map-alist (Bug#10454).
15078 2012-01-19 Julien Danjou <julien@danjou.info>
15080 * color.el (color-name-to-rgb): Use the white color to find the max
15081 color component value and return correctly computed values.
15082 (color-name-to-rgb): Add missing float conversion for max value.
15084 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15086 * window.el (window--state-get-1, window-state-get): Do not use
15087 special state value for window-persistent-parameters.
15088 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15089 (window--state-put-2): Reset all window parameters to nil before
15090 assigning values of persistent parameters.
15092 2012-01-18 Alan Mackenzie <acm@muc.de>
15094 Eliminate sluggishness and hangs in fontification of "semicolon
15097 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15098 Change value 10000 -> 3000.
15099 (c-state-safe-place): Reformulate so it doesn't stack up an
15100 infinite number of wrong entries in c-state-nonlit-pos-cache.
15101 (c-determine-limit-get-base, c-determine-limit): New functions to
15102 determine backward search limits disregarding literals.
15103 (c-find-decl-spots): Amend commenting.
15104 (c-cheap-inside-bracelist-p): New function which detects "={".
15106 * progmodes/cc-fonts.el
15107 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15109 (c-font-lock-declarations): Fix an occurrence of point being
15110 undefined. Check additionally for point being in a bracelist or
15111 near a macro invocation without a semicolon so as to avoid a
15112 fruitless time consuming search for a declarator. Give a more
15113 precise search limit for declarators using the new
15116 2012-01-18 Glenn Morris <rgm@gnu.org>
15118 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15119 (set-auto-mode): Doc fixes.
15121 2012-01-17 Glenn Morris <rgm@gnu.org>
15123 * isearch.el (search-nonincremental-instead): Fix doc typo.
15125 * dired.el (dired-insert-directory): Handle newlines in directory name.
15126 (dired-build-subdir-alist): Unescape newlines in directory name.
15128 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15130 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15131 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15132 (tramp-action-terminal): Use it. (Bug#10530)
15134 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15136 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15138 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15140 * window.el (window-state-ignored-parameters): Remove variable.
15141 (window--state-get-1): Rename argument MARKERS to IGNORE.
15142 Handle persistent window parameters. Make copy of clone-of
15143 parameter only if requested. (Bug#10348)
15144 (window--state-put-2): Install a window parameter only if it has
15145 a non-nil value or an existing parameter shall be overwritten.
15147 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15149 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15151 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15153 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15154 don't pass the (nil) value of `upnode' to string-match.
15156 2012-01-14 Chong Yidong <cyd@gnu.org>
15158 * startup.el (command-line): Fix X resource class for cursorColor.
15159 Fix values recognized by the cursorBlink resource.
15161 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15163 * epg.el (epg--make-temp-file): Avoid permission race condition
15164 when running on old Emacs versions (bug#10403).
15166 2012-01-14 Glenn Morris <rgm@gnu.org>
15168 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15170 2012-01-13 Alan Mackenzie <acm@muc.de>
15172 Fix filling for when filladapt mode is enabled.
15174 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15175 c-mask-paragraph, pass in `fill-paragraph' rather than
15176 `fill-region-as-paragraph'. (This is a reversion of a previous
15178 * progmodes/cc-mode.el (c-basic-common-init):
15179 Make fill-paragraph-handle-comment buffer local and set it to nil.
15181 2012-01-13 Glenn Morris <rgm@gnu.org>
15183 * dired.el (dired-switches-escape-p): New function.
15184 (dired-insert-directory): Use dired-switches-escape-p.
15185 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15187 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15189 2012-01-12 Glenn Morris <rgm@gnu.org>
15191 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15192 changes in adaptive-fill-regexp. (Bug#10276)
15194 2012-01-11 Alan Mackenzie <acm@muc.de>
15196 Fix Emacs bug #10463 - put `widen's around the critical spots.
15198 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15199 widen around each invocation of c-state-pp-to-literal. Remove an
15200 unused let variable.
15202 2012-01-11 Glenn Morris <rgm@gnu.org>
15204 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15207 2012-01-10 Chong Yidong <cyd@gnu.org>
15209 * net/network-stream.el (network-stream-open-starttls):
15210 Avoid emitting a confusing error message when the server gives a bad
15211 response to the capability command.
15213 2012-01-10 Glenn Morris <rgm@gnu.org>
15215 * mail/unrmail.el (unrmail): Tweak previous change.
15217 2012-01-09 Chong Yidong <cyd@gnu.org>
15219 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15221 2012-01-08 Alan Mackenzie <acm@muc.de>
15223 Optimize font locking in long enum definitions.
15225 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15226 arm to a cond form to handle enums.
15227 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15228 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15230 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15232 * files.el (move-file-to-trash): Preserve default file modes on error.
15235 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237 * faces.el (set-face-attribute): Clarify the meaning of the nil
15240 * subr.el (with-selected-frame): Mention that the selected frame
15241 is restored (bug#9980).
15243 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15246 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15247 (password-read): Don't autoload unused function.
15249 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15251 * progmodes/which-func.el (which-func-mode): Turn into a
15252 non-interactive function and mark as obsolete (bug#10428).
15254 2012-01-06 Chong Yidong <cyd@gnu.org>
15256 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15257 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15258 functions, along with 1 and -1.
15260 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15262 * time.el (display-time-load-average)
15263 (display-time-default-load-average): Doc fixes. See the thread
15265 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15268 2012-01-06 Glenn Morris <rgm@gnu.org>
15270 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15271 has no messages. (Bug#10377)
15273 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15274 than Info-edit. (Bug#10385)
15276 * time.el (display-time-load-average, display-time-next-load-average):
15279 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15280 local setting of buffer-read-only to the input buffer. (Bug#10419)
15282 * calendar/calendar.el (calendar-mode):
15283 Locally set scroll-margin to 0. (Bug#10379)
15285 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15287 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15289 2012-01-05 Glenn Morris <rgm@gnu.org>
15291 * eshell/em-unix.el (diff-no-select): Autoload it.
15292 (eshell/diff): Use diff-no-select. (Bug#10420)
15294 2012-01-05 Chong Yidong <cyd@gnu.org>
15296 * shell.el (shell-dynamic-complete-functions): Revert last change.
15297 (shell-command-completion-function): New function.
15298 (shell-completion-vars): Use it to implement
15299 shell-completion-execonly (Bug#10417).
15301 * custom.el (enable-theme): Don't set custom-safe-themes.
15303 * cus-theme.el (custom-theme-merge-theme):
15304 Ignore custom-enabled-themes and custom-safe-themes.
15306 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15308 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15309 first prompt in `sql-interacive-mode'.
15310 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15312 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15313 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15314 context of original buffer. Invoke `sql-login-hook'.
15316 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15318 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15319 letters in cite-prefix.
15321 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15325 2012-01-03 Chong Yidong <cyd@gnu.org>
15327 * shell.el (shell-dynamic-complete-functions):
15328 Put pcomplete-completions-at-point, so as to try
15329 comint-filename-completion first (Bug#10417).
15331 2012-01-02 Richard Stallman <rms@gnu.org>
15333 * battery.el (battery-status-function):
15334 Detect when to use battery-yeeloong-sysfs.
15335 (battery-echo-area-format): Add string for Yeeloong.
15336 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15337 (battery-yeeloong-sysfs): New function.
15339 2012-01-02 Chong Yidong <cyd@gnu.org>
15341 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15342 (dirtrack): Merge code for handling relative filenames in prompt
15343 from shell-dir-cookie-watcher.
15344 (dirtrack-debug-message): New arg to avoid excess format calls.
15346 * shell.el (shell-dir-cookie-re): Variable deleted.
15347 (shell-dir-cookie-watcher): Function deleted.
15348 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15349 with dirtrack-mode.
15351 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15353 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15354 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15357 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15359 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15361 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15363 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15364 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15366 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15368 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15369 also for alternative shells.
15370 (tramp-open-connection-setup-interactive-shell): Check, whether
15371 the shell is a busybox.
15372 (tramp-send-command): Don't suppress multiple prompts for
15373 busyboxes, it hurts.
15375 2011-12-28 Chong Yidong <cyd@gnu.org>
15377 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15378 (gdb-get-source-file): Move mode line update to
15379 gdb-get-source-file (Bug#10087).
15381 2011-12-25 Chong Yidong <cyd@gnu.org>
15383 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15384 gud-gdb-marker-filter without taking it as an argument.
15385 (gud-gdb-run-command-fetch-lines): Caller changed.
15386 (gud-gdb-completion-function): New variable.
15387 (gud-gdb-completion-at-point): Use it.
15388 (gud-gdb-completions-1): Split from gud-gdb-completions.
15390 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15391 function as separate arguments.
15392 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15393 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15394 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15395 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15396 (gdb-stopped, def-gdb-auto-update-trigger)
15397 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15398 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15400 (gud-gdbmi-completions): New function.
15401 (gdb): Use it for generating the completion table.
15403 2011-12-24 Alan Mackenzie <acm@muc.de>
15405 Introduce a mechanism to widen the region used in context font
15406 locking. Use this to protect declarations from losing their contexts.
15408 * progmodes/cc-langs.el (c-before-font-lock-functions):
15409 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15410 (c-before-context-fontification-functions): New defvar, a list of
15411 functions to be run just before context (etc.) font locking.
15413 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15414 New, functionality extracted from
15415 c-neutralize-syntax-in-and-mark-CPP.
15416 (c-in-after-change-fontification): New variable.
15417 (c-after-change): Set c-in-after-change-fontification.
15418 (c-set-fl-decl-start): Rejig its interface, so it can be called
15419 from both after-change and context fontifying.
15420 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15422 (c-standard-font-lock-fontify-region-function): New variable.
15423 (c-font-lock-fontify-region): New function.
15425 2011-12-24 Juri Linkov <juri@jurta.org>
15427 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15430 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15432 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15433 existence of source file. (Bug#10325)
15435 2011-12-23 Alan Mackenzie <acm@muc.de>
15437 Fix unstable fontification inside templates.
15439 * progmodes/cc-langs.el (c-before-font-lock-functions):
15440 Newly created from the singular version. The (c c++ objc) entry now
15441 additionally has c-set-fl-decl-start. The other languages (apart
15442 from AWK) have that as a single entry.
15444 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15445 The functionality for "local" declarations has been extracted to
15446 c-set-fl-decl-start.
15448 * progmodes/cc-mode.el (c-common-init, c-after-change):
15449 Changes due to pluralisation of c-before-font-lock-functions.
15450 (c-set-fl-decl-start): New function, extracted from
15451 c-font-lock-enclosing-decls and enhanced.
15453 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15455 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15457 2011-12-22 Juri Linkov <juri@jurta.org>
15459 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15461 2011-12-22 Chong Yidong <cyd@gnu.org>
15463 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15465 2011-12-21 Drew Adams <drew.adams@oracle.com>
15467 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15469 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15471 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15473 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15475 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15476 highlighting and support. Fix up comments for capitalization.
15477 (cfengine-mode-debug): New var.
15478 (cfengine3-mode): Change the modeline indicator to "CFE3".
15479 (cfengine3-font-lock-keywords): Improve defun highlighting.
15480 (cfengine2-actions): Rename from `cfengine-actions'.
15481 (cfengine2-font-lock-keywords): Rename from
15482 `cfengine-font-lock-keywords'.
15483 (cfengine2-imenu-expression): Rename from
15484 `cfengine-imenu-expression'.
15485 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15486 (cfengine2-beginning-of-defun): Rename from
15487 `cfengine-beginning-of-defun'.
15488 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15489 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15490 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15491 modeline indicator to "CFE2".
15492 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15493 (cfengine-mode-abbrevs): Mark obsolete.
15495 2011-12-21 Chong Yidong <cyd@gnu.org>
15497 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15500 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15502 * window.el (window-normalize-buffer-to-display): Remove.
15503 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15505 2011-12-19 Chong Yidong <cyd@gnu.org>
15507 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15508 Don't signal an error in a predicate function; return non-nil.
15509 (vc-dir-mark-file): Move the error here.
15510 (vc-dir-mark-unmark): If acting on the region, keep going if one
15511 of the entries cannot be marked/unmarked.
15512 (vc-dir-mark-all-files): If current entry is a directory, mark
15513 only child files, as documented.
15515 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15517 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15518 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15521 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15523 * term/ns-win.el (ns-get-selection-internal)
15524 (ns-store-selection-internal): Declare.
15525 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15526 Declare as obsolete.
15527 (ns-get-pasteboard, ns-paste-secondary):
15528 Use ns-get-selection-internal.
15529 (ns-set-pasteboard, ns-copy-including-secondary):
15530 Use ns-store-selection-internal.
15532 2011-12-17 Chong Yidong <cyd@gnu.org>
15534 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15535 (vc-deduce-fileset): Doc fix.
15537 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15539 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15541 2011-12-13 Sam Steingold <sds@gnu.org>
15543 * man.el (Man-getpage-in-background): When running under a
15544 window-system, ignore $MANWIDTH and $COLUMNS.
15546 2011-12-15 Kenichi Handa <handa@m17n.org>
15548 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15549 (setup-ethiopic-environment-internal): Comment out key-binding for
15550 ethio-toggle-punctuation.
15552 2011-12-13 Alan Mackenzie <acm@muc.de>
15554 Add the switch statement to AWK Mode.
15556 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15557 "default" to the keywords regexp.
15559 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15560 expression as the rest.
15561 (c-nonlabel-token-key): Allow string literals for AWK.
15562 Refactor for the other modes.
15564 Large brace-block initialisation makes CC Mode slow: Fix.
15565 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15566 routines. Limit backward searching in c-font-lock-enclosing.decl.
15568 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15569 pp-state and literal type in addition to the limits.
15570 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15571 (c-state-literal-at): Use the above new defun.
15572 (c-slow-in-literal, c-fast-in-literal): Remove.
15573 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15575 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15576 being in a literal. Add a limit for backward searching.
15578 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15581 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15585 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15587 * window.el (delete-other-windows): Use correct frame in call to
15588 window-with-parameter.
15590 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15592 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15593 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15594 (makefile-gmake-statements, makefile-makepp-statements):
15595 Use it and add new makepp keywords.
15596 (makefile-makepp-font-lock-keywords): Add new patterns.
15597 (makefile-match-function-end): Match new [...] and [[...]].
15599 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15601 * ses.el (ses-call-printer-return, ses-cell-property-get)
15602 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15603 (ses-create-cell-variable, ses-reset-header-string)
15604 (ses-cell-set-formula, ses-repair-cell-reference-all)
15605 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15606 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15607 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15608 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15609 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15610 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15611 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15612 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15613 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15614 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15615 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15616 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15618 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15620 * ses.el: The overall change is to add cell renaming, that is
15621 setting fancy names for cell symbols other than name matching
15622 "\\`[A-Z]+[0-9]+\\'" regexp .
15623 (ses-create-cell-variable): New defun.
15624 (ses-relocate-formula): Relocate formulas only for cells the
15625 symbols of which are not renamed, i.e. symbols whose names do not
15626 match regexp "\\`[A-Z]+[0-9]+\\'".
15627 (ses-relocate-all): Relocate values only for cells the symbols of
15628 which are not renamed.
15629 (ses-load): Create cells variables as the (ses-cell ...) are read,
15630 in order to check row col consistency with cell symbol name only
15631 for cells that are not renamed.
15632 (ses-replace-name-in-formula): New defun.
15633 (ses-rename-cell): New defun.
15635 2011-12-11 Chong Yidong <cyd@gnu.org>
15637 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15638 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15640 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15642 * window.el (other-window): Fix docstring.
15644 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15646 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15647 `from' or `to' address before taking its substring.
15648 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15649 encoded name is chopped in the middle of the encoded string, and
15650 thus displayed encoded.
15652 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15654 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15656 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15658 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15659 to use texinfo-update-node and commands that call it if the
15660 Texinfo file uses @node lines without next/prev/up pointers.
15661 Correct outdated description about texinfo-master-menu.
15662 (texinfo-all-menus-update, texinfo-master-menu)
15663 (texinfo-update-node, texinfo-every-node-update)
15664 (texinfo-multiple-files-update): Doc fix. Warn against updating
15665 all the @node lines.
15666 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15667 argument is numeric. Explain better in the doc string what the
15668 function really does.
15669 (texinfo-insert-master-menu-list): Improve the error message
15670 displayed if there's no menu in the Top node.
15671 (Bug#2975) See also this thread:
15672 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15674 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15676 * speedbar.el (speedbar-supported-extension-expressions):
15677 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15679 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15681 * printing.el (pr-mode-alist):
15682 * simple.el (filter-buffer-substring-functions)
15683 (completion-list-insert-choice-function):
15684 * window.el (window-with-parameter, window-atom-root)
15685 (window-sides-slots, window-size-fixed, window-min-delta)
15686 (window-max-delta, window--resize-mini-window)
15687 (window--resize-child-windows-normal, window-tree)
15688 (delete-other-windows, quit-window, split-window)
15689 (display-buffer-record-window, special-display-buffer-names)
15690 (special-display-regexps, special-display-popup-frame)
15691 (same-window-p, split-window-sensibly)
15692 (display-buffer-overriding-action, display-buffer-alist)
15693 (display-buffer-base-action, display-buffer, switch-to-buffer)
15694 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15695 (fit-window-to-buffer, recenter-positions)
15696 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15697 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15698 and remove unneeded backslashes in docstrings.
15700 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15702 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15704 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15705 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15707 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15708 when reading the makefile (bug#10116).
15710 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15715 2011-12-06 Glenn Morris <rgm@gnu.org>
15717 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15719 2011-12-06 Chong Yidong <cyd@gnu.org>
15721 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15723 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15725 * textmodes/table.el (table-shorten-cell): Fix typo.
15727 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15729 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15731 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15733 * descr-text.el (describe-char): Fix display of strong
15734 right-to-left characters and directional embeddings and overrides.
15736 * simple.el (what-cursor-position): Fix display of codepoints of
15737 strong right-to-left characters.
15739 2011-12-05 Chong Yidong <cyd@gnu.org>
15741 * faces.el (read-color): Doc fix.
15743 2011-12-05 Glenn Morris <rgm@gnu.org>
15745 * align.el (align--set-marker): Add doc-string.
15746 Don't try to move something that is not a marker. (Bug#10216)
15748 2011-12-04 Glenn Morris <rgm@gnu.org>
15750 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15751 overly zealous deletion of trailing whitespace.
15753 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15755 * server.el (server-delete-client): On Windows, do not try to delete
15757 (server-process-filter): On Windows, treat requests for a tty frame as
15758 if they were for a GUI frame if the running server is in GUI mode.
15760 2011-12-03 Glenn Morris <rgm@gnu.org>
15762 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15764 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15766 * electric.el: Streamline electric-indent's hook.
15767 (electric-indent-chars): Revert to simple list.
15768 (electric-indent-functions): New var.
15769 (electric-indent-post-self-insert-function): Use it.
15771 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15772 there's no inferior buffer (bug#10196).
15773 (prolog-consult-compile): Don't use toggle-read-only.
15775 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15777 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15778 interrupt. (Bug#10187)
15780 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15782 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15785 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15788 2011-12-02 Juri Linkov <juri@jurta.org>
15790 * info.el (Info-search): Display "end of manual" when Isearch
15791 reaches the end of single-file Info manual. (Bug#9918)
15793 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15795 * isearch.el (isearch-message-prefix): Run the input method part
15796 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15798 2011-12-02 Juri Linkov <juri@jurta.org>
15800 * isearch.el (isearch-occur): Use `word-search-regexp' for
15802 (isearch-search-and-update): Add condition for `isearch-word' and
15803 call `word-search-regexp'. (Bug#10145)
15805 2011-12-01 Glenn Morris <rgm@gnu.org>
15807 * eshell/em-hist.el (eshell-hist-initialize):
15808 Handle eshell-history-size nil and HISTSIZE set or unset.
15809 (eshell-history-file-name, eshell-history-size): Fix custom type.
15811 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15813 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15815 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15817 * progmodes/verilog-mode.el (verilog-pretty-expr):
15818 Rework verilog-pretty-expr to handle new assignment operators in system
15819 verilog, such as += *= and the like.
15820 (verilog-assignment-operator-re): Regular expression to find the
15821 assigment operator in a verilog assignment.
15822 (verilog-assignment-operation-re): Regular expression to find an
15823 assignment statement for pretty-expr.
15824 (verilog-in-attribute-p): Query returns true if point is in an
15825 attribute context; used to skip these for expression line up from
15827 (verilog-in-parameter-p): Query returns true if point is in an
15828 parameter definition context; used to skip these for expression
15829 line up from pretty-expr.
15830 (verilog-in-parenthesis-p): Query returns true if point is in a
15831 parenthetical expression, specifically ( ) but not [ ] or { };
15832 used by pretty-expr.
15833 (verilog-just-one-space): If there is no space, don't add one.
15834 (verilog-get-lineup-indent-2): Specifically skip just attribute
15835 contexts for expression lineup, rather than skipping all
15836 parenthetical expressions.
15837 (verilog-calculate-indent): Fix comment, and fix indent.
15838 (verilog-do-indent): Indent declarations in lists (suggested by
15840 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15842 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15845 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15847 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15848 parameters with embedded comments. Reported by Ray Stevens.
15849 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15850 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15851 Reported by Tim Holt.
15852 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15853 instantiated by upper module causing wrong expansion until AUTOed a
15854 second time. Reported by K C Buckenmaier.
15855 (verilog-diff-auto): Fix showing .* as a difference when
15856 `verilog-auto-star-save' off. Reported by Dan Dever.
15857 (verilog-auto-reset, verilog-read-always-signals)
15858 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15859 temporary signals in reset list if
15860 verilog-auto-reset-blocking-in-non is nil, and match assignment
15861 style to each signal's assignment type, bug381.
15862 Reported by Thomas Esposito.
15863 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15864 (verilog-uvm-statement-re): Support UVM indentation and
15865 highlighting, with old OVM keywords only.
15866 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15867 Support AUTOTIEOFF creating non-wire data types.
15868 Suggested by Jonathan Greenlaw.
15869 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15870 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15871 (verilog-inject-sense, verilog-read-inst-pins)
15872 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15873 Fix mismatching parenthesis inside commented out code when deleting
15874 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15875 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15876 non-numeric vector width. Reported by Alex Reed.
15877 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15878 detecting signals with parameter widths. Reported by Alex Reed.
15879 (verilog-auto-delete-trailing-whitespace):
15880 With `verilog-auto-delete-trailing-whitespace' remove trailing
15881 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15882 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15883 Fix verilog-scan-cache corruption when running user AUTO expansion
15884 hooks that call indentation routines.
15885 (verilog-simplify-range-expression): Fix typo ignoring lower case
15887 (verilog-delete-auto): Fix delete-autos to also remove user created
15888 automatics, as long as they start with AUTO.
15889 (verilog-batch-diff-auto, verilog-diff-auto)
15890 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15891 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15892 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15893 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15894 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15895 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15896 is disabled and its cache will get corrupt, causing AUTOS not to
15897 expand. Instead use only -quick functions.
15898 (verilog-scan-region): Fix scanning over escaped quotes.
15899 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15900 (verilog-re-search-backward-quick)
15901 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15902 related functions now ignore strings, to fix misparsing of strings
15903 with magic comments embedded in them.
15904 (verilog-read-auto-template):
15905 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15906 Reported by Brad Dobbie.
15907 (verilog-read-auto-template):
15908 Fix 'verilog-auto-inst-template-numbers' with comments.
15909 Reported by Brad Dobbie.
15910 (verilog-auto-inst, verilog-auto-inst-param)
15911 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15912 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15913 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15914 debugging templates without merge conflicts, bug357.
15915 Reported by Brad Dobbie.
15916 (verilog-read-auto-template):
15917 Fix verilog-auto-inst-template-numbers with multiple templates.
15918 Reported by Brad Dobbie.
15919 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15920 abbrevs so user won't be asked to save.
15921 (verilog-read-auto-lisp-present): Fix to start at beginning of
15922 buffer in case called outside of verilog-auto.
15923 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15924 to "X-2". Reported by Matthew Myers.
15925 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15926 all inputs from module templates. Reported by Leith Johnson.
15927 (verilog-module-inside-filename-p): Fix locating programs as with
15929 (verilog-auto-inst-port): Fix vl-width expressions when using
15930 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15931 (verilog-decls-get-regs, verilog-decls-get-signals,
15932 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15933 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15934 verilog-read-decls): Combine reg and wire structures into one var
15935 structure to represent SystemVerilog concepts.
15936 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15937 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15938 (verilog-auto-wire-type, verilog-insert-definition):
15939 Add verilog-auto-wire-type and AUTOLOGIC to support using
15940 SystemVerilog "logic" keyword instead of "wire"/"reg".
15941 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15942 to declares outputs that also have assignments (presumably in an
15943 ifdef or generate if so there's not a driver conflict).
15944 Reported by Matthew Myers.
15945 (verilog-auto-declare-nettype, verilog-insert-definition):
15946 Add verilog-auto-declare-nettype to fix declarations using
15947 `default_nettype none. Reported by Julian Gorfajn.
15948 (verilog-read-always-signals-recurse, verilog-read-decls)
15949 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15950 malformed end statement, bug325. Reported by Joshua Wise and
15952 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15953 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15954 when expanding .* in interfaces, bug320.
15955 Reported by Pierre-David Pfister.
15956 (verilog-read-module-name): Fix import statements between module
15957 name and open parenthesis, bug317.
15958 Reported by Pierre-David Pfister.
15959 (verilog-simplify-range-expression): Fix simplification of
15960 multiplications inside AUTOWIRE connections, bug303.
15961 (verilog-auto-inst-port): Support parameter expansion in
15962 multidimensional arrays.
15963 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15964 after "assert property". Reported by Julian Gorfajn.
15965 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15966 with multiplication, bug303.
15967 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15968 Reported by Jan Frode Lonnum.
15970 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15972 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15973 (hfy-shell-file-name, hfy-shell):
15974 * international/fontset.el (x-decompose-font-name): Fix typos.
15976 2011-11-29 Ken Brown <kbrown@cornell.edu>
15978 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15979 (gdb-version): Remove defvar.
15980 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15981 (gdb-gud-context-command, gdb-non-stop-handler)
15982 (gdb-current-context-command, gdb-stopped): Use it.
15983 (gdb-init-1): Enable pretty printing here.
15984 (gdb-non-stop-handler): Don't enable pretty-printing here.
15985 Check to see if the target supports non-stop mode; if not, turn off
15986 non-stop mode. Use the following.
15987 (gdb-check-target-async): New defun.
15988 (gud-watch, gdb-stopped): Fix whitespace.
15989 (gdb-get-source-file): Don't try to display the source file if
15990 `gdb-main-file' is nil.
15992 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15994 * align.el: Try to generate fewer markers (bug#10047).
15995 (align--set-marker): New macro.
15996 (align-region): Use it.
15998 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16000 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16002 2011-11-29 Chong Yidong <cyd@gnu.org>
16004 * indent.el (indent-for-tab-command, indent-according-to-mode):
16006 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16008 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16010 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16011 aware of remote file names. (Bug#10124)
16013 2011-11-29 Chong Yidong <cyd@gnu.org>
16015 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16017 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16019 * files.el (find-file): Don't use force-same-window (bug#10144).
16020 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16021 use pop-to-buffer if the selected window can't be used.
16022 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16024 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16026 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16029 2011-11-28 Chong Yidong <cyd@gnu.org>
16031 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16033 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16035 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16036 gdb-get-source-file-list on gdb-create-source-file-list.
16038 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16040 * whitespace.el (whitespace-newline): Use a different foreground
16041 color for 16-color light-background displays.
16043 2011-11-24 Chong Yidong <cyd@gnu.org>
16045 * window.el (display-buffer--special-action): Doc fix.
16047 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16049 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16050 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16051 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16052 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16053 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16054 (avl-tree-stack-first):
16055 * emacs-lisp/cconv.el (cconv--analyse-use):
16056 * net/gnutls.el (gnutls-negotiate): Fix typos.
16058 2011-11-24 Glenn Morris <rgm@gnu.org>
16060 * lpr.el (lpr-windows-system, lpr-lp-system):
16061 * mail/binhex.el (binhex-begin-line):
16062 * progmodes/grep.el (grep-history, grep-find-history):
16063 * textmodes/flyspell.el:
16064 * vc/pcvs-defs.el (cvs-global-menu):
16065 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16066 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16067 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16069 * net/tls.el: Fix case of "GnuTLS".
16071 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16073 * version.el (emacs-build-system): Give it a doc-string.
16075 2011-11-24 Juri Linkov <juri@jurta.org>
16077 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16079 2011-11-24 Glenn Morris <rgm@gnu.org>
16081 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16082 if called on a non-mime message just toggle the headers. (Bug#8006)
16084 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16086 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16087 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16088 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16089 (allout-rebullet-heading, allout-open-sibtopic)
16090 (allout-toggle-current-subtree-encryption)
16091 (allout-toggle-subtree-encryption, allout-encrypt-string)
16092 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16093 (allout-distinctive-bullets-string, allout-auto-activation):
16094 * window.el (window-normalize-buffer-to-display):
16095 * progmodes/verilog-mode.el (verilog-batch-indent):
16096 * textmodes/bibtex.el (bibtex-field-braces-opt)
16097 (bibtex-field-strings-opt):
16098 * vc/cvs-status.el (cvs-tree-merge):
16101 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16103 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16104 `non-essential' to t, in order to avoid remote connections.
16106 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16108 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16109 On MS-DOS and MS-Windows, compare with loaddefs.el
16110 case-insensitively.
16112 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16114 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16116 2011-11-23 Glenn Morris <rgm@gnu.org>
16118 * paths.el (rmail-file-name): Reformat the doc-string so that it
16121 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16122 (rmail-auto-file): Ignore case in the "special" field names,
16123 as mail-fetch-field does for all others.
16125 * mail/rmail.el (rmail-forward):
16126 * mail/rmailkwd.el (rmail-set-label):
16127 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16128 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16130 * mail/rmail.el (rmail-current-message): Doc fix.
16132 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16134 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16136 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16138 2011-11-22 Glenn Morris <rgm@gnu.org>
16140 * mail/rmailmm.el (test-rmail-mime-handler)
16141 (test-rmail-mime-bulk-handler)
16142 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16144 2011-11-21 Juri Linkov <juri@jurta.org>
16146 * calc/calc.el (calc-read-key-sequence):
16147 Let-bind `input-method-function' to nil. (Bug#10018)
16149 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16151 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16152 Tell the caller that the next line needs recomputation, even
16153 though it doesn't start a sexp (bug#10094).
16155 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16157 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16159 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16161 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16162 Use force-same-window.
16164 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16166 * descr-text.el (describe-char-unicode-data):
16167 * json.el (json-string-escape):
16168 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16169 (Footnote-unicode, Footnote-style-p):
16170 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16172 2011-11-20 Chong Yidong <cyd@gnu.org>
16174 * window.el (replace-buffer-in-windows): Restore interactive spec.
16176 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16178 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16180 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16181 (byte-compile-global-not-obsolete-vars): New var.
16182 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16184 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16186 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16188 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16189 * progmodes/pascal.el (electric-pascal-equal):
16190 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16191 * xml.el (xml-substitute-special): Fix typos.
16193 2011-11-20 Glenn Morris <rgm@gnu.org>
16195 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16196 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16198 (rmail-decode-mime-charset): Mark as obsolete.
16200 * mail/rmailsum.el (rmail-message-regexp-p-1):
16201 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16202 Before using mime functions, check they are set. (Bug#10077)
16204 2011-11-19 Juri Linkov <juri@jurta.org>
16206 * info.el (Info-finder-find-node): Use `package--builtins' instead
16207 of `package-alist'. Use node names formed by the pattern "Keyword "
16208 and the keyword name.
16210 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16212 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16214 2011-11-19 Juri Linkov <juri@jurta.org>
16216 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16217 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16218 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16219 `old-history', `old-history-forward'. Add let-binding
16220 `window-selected'. Remove calls to `kill-buffer',
16221 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16222 before calling `Info-find-node', so `Info-find-node-2' will reread
16223 the Info file. Restore window positions only when `window-selected'
16226 2011-11-19 Juri Linkov <juri@jurta.org>
16228 * isearch.el (isearch-lazy-highlight-new-loop):
16229 Remove condition `(not isearch-error)'. (Bug#9918)
16231 * misearch.el (multi-isearch-search-fun): Add condition
16232 `(not bound)' to ignore lazy-highlighting search.
16233 Add the search-failed message "end of multi" when the end of
16234 multi-sequence is reached. Uncapitalize the search-failed
16235 message "Repeat for next buffer".
16237 * info.el (Info-search): Add the search-failed message
16238 "end of the manual" when the end of the manual is reached
16241 2011-11-19 Juri Linkov <juri@jurta.org>
16243 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16244 Use non-destructive `remove' instead of `delete' because
16245 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16246 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16248 2011-11-19 Juri Linkov <juri@jurta.org>
16250 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16251 to nil instead of binding `search-ring' and `regexp-search-ring'.
16254 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16256 * simple.el (line-move): Force movement by logical lines for any
16257 hscrolled window, not only when auto-hscroll-mode is on.
16258 (line-move-visual): Update doc string to that effect. (Bug#10076)
16260 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16262 * language/european.el (macintosh): Define as alias for mac-roman.
16264 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16266 * mail/rmailmm.el (rmail-mime-display-header)
16267 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16268 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16269 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16270 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16271 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16273 (rmail-mime-entity-segment): To get past the tagline, move forward
16274 2 more lines, to account for the 2 empty lines that precede and
16275 follow the line with the buttons.
16276 (rmail-mime-update-tagline): Move one more line, to get past the
16277 empty line that follows the buttons in the tagline. (Bug#9520)
16279 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16281 * window.el (window-max-delta-1, window-min-delta-1)
16282 (window-min-size-1, window-state-get-1, window-state-put-1)
16283 (window-state-put-2): Use "window--" prefix.
16285 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16287 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16288 (smie-warning-count): New var.
16289 (smie-set-prec2tab): Use it.
16290 (smie-bnf->prec2): Improve warnings. Add docstring.
16291 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16292 (smie-bnf--set-class): New function.
16293 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16296 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16297 (compilation-error-properties, compilation-move-to-column):
16298 Handle compilation-first-column while in the target buffer.
16300 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16301 Don't hardcode point-min==1.
16303 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16304 (eshell-rewrite-for-command): Remove workaround.
16305 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16306 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16307 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16309 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16311 2011-11-17 Glenn Morris <rgm@gnu.org>
16313 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16314 Ignore buffer-local generated-autoload-file if it is the same
16315 as the global value. (Bug#10049)
16317 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16319 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16320 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16321 (reftex-toc-previous-heading, reftex-toc-max-level)
16322 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16323 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16324 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16325 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16326 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16327 (reftex-toc-rename-label, reftex-toc-visit-location)
16328 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16329 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16330 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16331 leaving "*toc*" only for references to the buffer.
16333 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16335 * window.el (window-resize, delete-window, split-window):
16336 Replace window-splits by window-combination-resize.
16337 * cus-start.el (window-splits): Replace by window-combination-resize.
16339 2011-11-17 Glenn Morris <rgm@gnu.org>
16341 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16342 Make bash entry derive from sh entry, not shell entry.
16344 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16346 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16349 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16351 * menu-bar.el (menu-bar-file-menu):
16352 * printing.el (pr-ps-utility):
16353 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16354 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16355 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16356 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16357 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16358 (icalendar--convert-cyclic-to-ical)
16359 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16360 (icalendar--convert-ical-to-diary)
16361 (icalendar--convert-recurring-to-diary)
16362 (icalendar--convert-non-recurring-all-day-to-diary)
16363 (icalendar-import-format-sample):
16364 * progmodes/idlw-shell.el (idlwave-shell-mode):
16365 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16366 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16367 (vhdl-ps-print-init): Fix typos.
16369 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16371 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16372 FSF and collapse date sequence, obscure author/maintainer email address
16373 better, remove extra version line, track relocation of author's webpage.
16375 * progmodes/python.el (python-pdbtrack-input-prompt)
16376 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16377 regular python pdb prompts. Adjustments shamelessly taken exactly as
16378 suggested in EmacsWiki page (tiny change):
16379 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16381 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16383 * expand.el (expand-pos, expand-index, expand-point):
16384 Remove redundant info from docstring.
16385 (expand-add-abbrevs): Doc fix.
16386 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16387 (expand-sample-perl-mode-expand-list): Fix typos.
16389 * net/dbus.el (dbus-event-member-name):
16390 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16391 * term/pc-win.el (msdos-create-frame-with-faces):
16392 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16394 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16396 * window.el (split-window, window-state-get-1)
16397 (window-state-put-1, window-state-put-2): Rename occurrences of
16398 window-nest to window-combination-limit.
16399 * cus-start.el (window-nest): Rename to window-combination-limit.
16401 2011-11-16 Chong Yidong <cyd@gnu.org>
16403 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16404 regexp (Bug#10033).
16406 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16408 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16409 `completing-read' will remove *Completions* and will preserve
16410 current-buffer for us.
16411 (tmm-add-prompt): Users of *Completions* will always (re)set its
16413 (tmm-old-comp-map): Remove.
16415 2011-11-16 Glenn Morris <rgm@gnu.org>
16417 * mail/rmailedit.el: Require rmailmm when compiling.
16418 (rmail-old-mime-state): New declaration.
16419 (rmail-edit-current-message): If editing a mime message,
16420 edit the "raw" message from the mbox buffer.
16421 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16423 2011-11-15 Glenn Morris <rgm@gnu.org>
16425 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16426 which wasn't being used. Add optional arg to force given state.
16427 (rmail-mime): Add optional arg to force given state.
16429 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16431 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16432 * frame.el (display-mm-dimensions-alist):
16433 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16434 (outline-move-subtree-down):
16435 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16436 (newsticker--treeview-do-get-node):
16437 * net/quickurl.el (quickurl-list-buffer-name):
16438 * progmodes/dcl-mode.el (dcl-mode):
16439 * progmodes/gdb-mi.el (gdb-mapcar*):
16440 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16442 2011-11-15 Glenn Morris <rgm@gnu.org>
16444 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16445 in a boolean sense, so just make it a boolean, and fix the doc.
16446 (rmail-show-mime-function, rmail-mime-feature)
16447 (rmail-require-mime-maybe): Doc fixes.
16448 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16450 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16452 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16454 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16455 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16456 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16457 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16459 2011-11-15 Glenn Morris <rgm@gnu.org>
16461 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16462 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16463 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16464 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16465 (rmail-mime, rmail-show-mime): Doc fixes.
16467 * term/ns-win.el (mode-line-frame-identification):
16468 Leave it alone. (Bug#10051)
16470 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16472 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16473 Handle empty buffers. (Bug#9978)
16475 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16477 * international/mule.el (define-charset):
16478 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16479 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16480 * progmodes/verilog-mode.el (verilog-backward-token):
16481 * textmodes/ispell.el (lookup-words):
16482 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16484 2011-11-14 Glenn Morris <rgm@gnu.org>
16486 * progmodes/executable.el
16487 (executable-make-buffer-file-executable-if-script-p):
16488 Handle file-modes returning nil.
16490 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16491 message - not necessary, and causes problems. (Bug#9831)
16493 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16495 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16497 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16498 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16499 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16501 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16503 * window.el (window-resize, delete-window): Use window-splits
16504 variable instead of function.
16505 (window-state-get-1, window-state-put-2, window-state-put):
16506 Don't deal with windows' splits status.
16508 2011-11-12 Glenn Morris <rgm@gnu.org>
16510 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16511 (apropos-documentation): Doc fixes.
16513 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16515 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16516 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16518 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16520 * electric.el (electric-indent-post-self-insert-function): Make it
16521 possible for a char to only indent in some circumstances.
16522 (electric-indent-mode): Simplify.
16524 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16526 * window.el (windows-with-parameter): Remove unused function.
16527 (windows-at-side): Rename to window-at-side-list.
16528 (window-check, window-atom-check, window-atom-check-1)
16529 (window-side-check, window-size-ignore, window-size-fixed-1)
16530 (window-in-direction-2): Prefix with "window--".
16531 (window-tree-1): Rename to window--subtree, fix doc-string.
16533 2011-11-11 Glenn Morris <rgm@gnu.org>
16535 * subr.el (eval-after-load): If FILE is already loaded,
16536 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16538 2011-11-10 Glenn Morris <rgm@gnu.org>
16540 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16541 Call svn via vc-svn-command rather than vc-do-command.
16542 (vc-svn-command): Add --non-interactive. (Bug#9993)
16543 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16545 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16546 Add toggle-read-only. (Bug#7292)
16547 * files.el (toggle-read-only): Mention that it should only
16548 be used interactively. (Bug#10006)
16550 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16552 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16553 Adjust regexp for OCaml warnings.
16555 * electric.el (electric-pair-post-self-insert-function): Let user
16556 turn it off buffer-locally (bug#9932).
16558 * progmodes/python.el (python-beginning-of-statement):
16559 Rewrite (bug#2703).
16561 * progmodes/compile.el: Better handle TABs (bug#9749).
16562 (compilation-internal-error-properties)
16563 (compilation-next-error-function): Obey the target buffer's
16564 compilation-error-screen-columns.
16566 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16568 * progmodes/meta-mode.el: Remove obsolete comments.
16569 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16570 Fix typos in docstrings.
16572 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16574 * window.el (window-size-fixed-p): Rewrite doc-string.
16575 (window-resizable-p): Rename to window--resizable-p. Update callers.
16576 (window--resizable): New function. Make all callers of
16577 window-resizable call window--resizable instead.
16578 (window-resizable): Rewrite in terms of window--resizable.
16580 2011-11-08 Glenn Morris <rgm@gnu.org>
16582 * progmodes/delphi.el (delphi-mode-syntax-table):
16583 Let define-derived-mode define a proper syntax table. (Bug#9994)
16585 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16587 * window.el: Stay away from defsubst.
16588 (window-list-no-nils): Remove.
16589 (window-state-get-1, window-state-get): Use backquote instead.
16591 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16593 * emacs-lisp/find-func.el (find-function-read):
16594 Fix incorrect use of default argument in `completing-read'.
16596 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16598 * window.el (display-buffer-function, special-display-function):
16599 Mention display-buffer-record-window but do not mention
16600 help-setup parameter in doc-strings.
16601 (window-min-delta): Fix doc-string typo.
16603 2011-11-08 Chong Yidong <cyd@gnu.org>
16605 * window.el (window-total-height, window-total-width): Doc fix.
16606 (window-body-size): Move from C.
16607 (window-body-height, window-body-width): Move to C.
16609 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16611 * window.el: Make special-display like display-buffer-alist (bug#9532).
16612 (display-buffer--special-action): New function, morphed
16613 from display-buffer--special.
16614 (display-buffer): Use it to handle special-display-buffers at higher
16615 priority (just after display-buffer-alist).
16616 (display-buffer-fallback-action, display-buffer--other-frame-action)
16617 (pop-to-buffer-same-window): Remove display-buffer--special.
16619 2011-11-07 Glenn Morris <rgm@gnu.org>
16621 * calendar/cal-menu.el (cal-menu-set-date-title):
16622 Do nothing if not in a calendar. (Bug#9976)
16624 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16626 * files.el (find-file): Always use selected-window.
16628 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16630 * window.el (window-combinations): Make WINDOW argument
16631 mandatory. Rewrite doc-string.
16632 (walk-window-subtree, window-atom-check, window-min-delta)
16633 (window-max-delta, window--resize-this-window)
16634 (window--resize-root-window-vertically, window-tree)
16635 (balance-windows, window-state-put): Rewrite doc-strings as to
16636 not mention the term "subwindow".
16637 (window--resize-subwindows-skip-p): Rename to
16638 window--resize-child-windows-skip-p.
16639 (window--resize-subwindows-normal): Rename to
16640 window--resize-child-windows-normal.
16641 (window--resize-subwindows): Rename to
16642 window--resize-child-windows.
16643 (window-or-subwindow-p): Rename to window--in-subtree-p.
16645 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16647 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16648 Ensure that mbox format messages end in two newlines (Bug#9974).
16650 2011-11-06 Chong Yidong <cyd@gnu.org>
16652 * window.el (window-combination-p): Function deleted; its
16653 side-effect is not used in any existing code.
16654 (window-combinations, window-combined-p): Call window-*-child
16657 2011-11-05 Chong Yidong <cyd@gnu.org>
16659 * window.el (window-valid-p): Rename from window-any-p.
16660 (window-size-ignore, window-state-get): Callers changed.
16661 (window-normalize-window): Rename from window-normalize-any-window.
16662 New arg LIVE-ONLY, replacing window-normalize-live-window.
16663 (window-normalize-live-window): Delete.
16664 (window-combination-p, window-combined-p, window-combinations)
16665 (walk-window-subtree, window-atom-root, window-min-size)
16666 (window-sizable, window-sizable-p, window-size-fixed-p)
16667 (window-min-delta, window-max-delta, window-resizable)
16668 (window-resizable-p, window-full-height-p, window-full-width-p)
16669 (window-current-scroll-bars, window-point-1, set-window-point-1)
16670 (window-at-side-p, window-in-direction, window-resize)
16671 (adjust-window-trailing-edge, maximize-window, minimize-window)
16672 (window-deletable-p, delete-window, delete-other-windows)
16673 (record-window-buffer, unrecord-window-buffer)
16674 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16675 (quit-window, split-window, window-state-put)
16676 (set-window-text-height, fit-window-to-buffer)
16677 (shrink-window-if-larger-than-buffer): Callers changed.
16679 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16681 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16682 rfc2047-decode-string.
16683 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16686 * window.el (window-body-height, window-body-width): Mention in
16687 the doc string that the return values are in frame's canonical
16690 2011-11-03 Alan Mackenzie <acm@muc.de>
16692 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16693 change in cc-engine.el.
16695 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16697 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16699 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16701 * window.el (quit-window): Call unrecord-window-buffer after
16702 showing another buffer in the window. (Bug#9937)
16703 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16705 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16707 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16708 Accept status with more than 9 shelves. (Bug#9935)
16709 Reported by Colin D Bennett <colin@gibibit.com>.
16711 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16713 * help.el (with-help-window): Don't reference
16714 temp-buffer-show-specifiers in doc-string.
16716 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16718 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16721 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16723 * whitespace.el: New version 13.2.2.
16724 (whitespace-newline-mode): Disable properly. Reported by Sarah
16727 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16729 * net/newst-treeview.el: Remove "Time-stamp".
16730 (newsticker--group-manage-orphan-feeds): Do not call
16731 newsticker--treeview-tree-update.
16732 (newsticker-treeview-update, newsticker-treeview):
16733 Call newsticker--treeview-tree-update if necessary.
16735 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16737 * window.el (window-iso-combination-p, window-iso-combined-p)
16738 (window-iso-combinations): Remove "iso-" infix.
16739 Suggested by Chong Yidong.
16740 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16741 (window-max-delta-1, window-resize, window--resize-siblings)
16742 (window--resize-this-window, adjust-window-trailing-edge)
16743 (split-window, balance-windows-1)
16744 (shrink-window-if-larger-than-buffer):
16745 * calendar/calendar.el (calendar-generate-window):
16746 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16748 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16750 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16751 in place (bug#9907).
16752 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16753 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16754 (eshell-structure-basic-command, eshell-rewrite-while-command)
16755 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16756 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16757 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16758 (eshell-do-pipelines-synchronously, eshell-eval-command):
16759 Use backquotes and prefer setq to set.
16760 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16761 (eshell-macrop): Use functionp.
16762 (eshell-do-eval): Handle multiple expressions in `while' body.
16764 2011-10-30 Chong Yidong <cyd@gnu.org>
16766 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16767 instead of set-mark (Bug#9810).
16769 2011-10-30 Chong Yidong <cyd@gnu.org>
16771 * window.el (split-window-below, split-window-right): Rename from
16772 split-window-above-each-other and split-window-side-by-side
16773 respectively. All callers changed.
16774 (split-window-sensibly, split-window-sensibly): Use them.
16775 (split-window-keep-point): Doc fix.
16777 * isearch.el: Add isearch-scroll property to split-window-below
16778 and split-window-right.
16780 * follow.el (follow-mode):
16781 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16782 * progmodes/ada-xref.el (ada-gdb-application):
16783 * emulation/vip.el (vip-buffer-in-two-windows):
16784 * image-dired.el (image-dired-dired-with-window-configuration):
16785 * dired-x.el (dired-do-find-marked-files):
16786 * dired.el (dired-pop-to-buffer):
16787 * bs.el (bs--show-with-configuration):
16788 * vc/emerge.el (emerge-setup-windows):
16789 * textmodes/two-column.el (2C-two-columns):
16790 * textmodes/reftex-toc.el (reftex-toc):
16791 * progmodes/gdb-mi.el (gdb-setup-windows):
16792 * progmodes/fortran.el (fortran-window-create):
16793 * net/newst-treeview.el (newsticker--treeview-window-init):
16794 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16795 * emulation/tpu-edt.el (tpu-gold-map):
16796 * emulation/crisp.el (crisp-mode-map):
16797 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16799 2011-10-29 Chong Yidong <cyd@gnu.org>
16801 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16803 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16805 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16806 forged Ispell output (Bug#7904).
16808 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16810 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16812 * doc-view.el: Avoid ugly errors about not finding nil.
16813 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16814 (doc-view-dvipdf-program, doc-view-unoconv-program)
16815 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16816 Avoid nil or absolute file name as default value.
16817 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16819 2011-10-28 Alan Mackenzie <acm@muc.de>
16821 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16823 2011-10-28 Alan Mackenzie <acm@muc.de>
16825 Amend the handling of c-beginning/end-of-defun in nested declaration
16828 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16829 cc-langs.el. Change it to a defcustom.
16831 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16834 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16835 Prevent "class foo : bar" being spuriously recognized as a label.
16837 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16838 Add parameter `inclusive' (to include enclosing braces in the region).
16839 (c-widen-to-enclosing-decl-scope): New function.
16840 (c-while-widening-to-decl-block): New macro.
16841 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16842 outward for defun boundaries, and correspondingly change symbol
16843 `respect-enclosure' to `go-outward'.
16844 (c-declaration-limits): Change algorithm to report only the "innermost"
16845 defun's boundaries.
16847 2011-10-28 Deniz Dogan <deniz@dogan.se>
16849 * net/rcirc.el (rcirc-mode): Use hard newlines.
16851 2011-10-28 Alan Mackenzie <acm@muc.de>
16853 Amend to indent and fontify macros "which include their own semicolon"
16854 correctly, using the "virtual semicolon" mechanism.
16856 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16858 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16859 Recode to scan one line at a time rather than having \n and \r
16860 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16861 (c-forward-label): Amend for virtual semicolons.
16862 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16864 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16865 of the new C macros.
16867 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16868 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16869 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16870 (c-opt-cpp-macro-define): Make into a full language variable.
16871 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16872 AWK Mode (including \n, \r) removed, no longer needed.
16874 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16875 Invoke c-make-macro-with-semi-re.
16877 * progmodes/cc-vars.el (c-macro-with-semi-re):
16878 (c-macro-names-with-semicolon): New variables.
16879 (c-make-macro-with-semi-re): New function.
16881 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16883 * vc/log-edit.el: Fill empty field rather than adding new one.
16884 (log-edit-add-field): New function.
16885 (log-edit-insert-changelog): Use it.
16887 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16889 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16891 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16893 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16894 (gdb--check-interpreter): New function.
16897 2011-10-27 Glenn Morris <rgm@gnu.org>
16899 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16900 (least-positive-float, least-negative-float)
16901 (least-positive-normalized-float, least-negative-normalized-float)
16902 (float-epsilon, float-negative-epsilon):
16903 Remove unnecessary declarations.
16905 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16906 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16907 (least-positive-float, least-negative-float)
16908 (least-positive-normalized-float, least-negative-normalized-float)
16909 (float-epsilon, float-negative-epsilon): Add doc-strings,
16910 based on those in cl.texi.
16912 * files.el (set-visited-file-name): If the major-mode changed,
16913 reload the local variables. (Bug#9796)
16915 2011-10-27 Chong Yidong <cyd@gnu.org>
16917 * subr.el (change-major-mode-after-body-hook): New hook.
16918 (run-mode-hooks): Run it.
16920 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16921 Use change-major-mode-before-body-hook.
16923 * simple.el (fundamental-mode):
16924 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16925 change introducing fundamental-mode-hook.
16927 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16929 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16931 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16933 * ido.el (ido-file-name-all-completions-1): Do not require
16934 tramp.el explicitly. (Bug#7583)
16936 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16938 * progmodes/octave-mod.el:
16939 * progmodes/octave-inf.el: Update maintainer.
16941 2011-10-26 Chong Yidong <cyd@gnu.org>
16943 * subr.el (with-wrapper-hook): Rewrite doc.
16945 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16947 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16948 filenames "/method:foo:". (Bug#9793)
16950 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16952 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16955 2011-10-24 Glenn Morris <rgm@gnu.org>
16957 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16959 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16961 * notifications.el: Add the requirement of a running D-Bus session
16962 bus to the Commentary.
16964 2011-10-24 Juri Linkov <juri@jurta.org>
16966 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16967 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16970 2011-10-24 Juri Linkov <juri@jurta.org>
16972 * info.el (Info-following-node-name-re): Add newline to the list
16973 of allowed characters for leading space. (Bug#9824)
16975 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16977 * progmodes/octave-inf.el (inferior-octave-mode-map):
16978 Fix C-c C-h binding.
16979 * progmodes/octave-mod.el (octave-help): Remove.
16981 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16983 Sync with Tramp 2.2.3.
16985 * net/tramp-cache.el (top): Pacify byte-compiler using
16986 `init-file-user' and `site-run-file'.
16988 * net/trampver.el: Update release number.
16990 2011-10-23 Chong Yidong <cyd@gnu.org>
16992 * files.el (toggle-read-only): Remove obsolete comment about
16995 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16996 for toggle-read-only. Note that this hasn't called vc-next-action
16997 since 2008-05-02, though it wasn't documented at the time.
16999 * vc/ediff-init.el (ediff-toggle-read-only-function):
17000 Use toggle-read-only.
17002 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17004 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17007 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17008 correct faulty logical expression.
17009 (c-parse-state-state, c-record-parse-state-state):
17010 (c-replay-parse-state-state): New defvar/defuns.
17011 (c-debug-parse-state): Use new functions.
17013 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17015 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17016 last fix. Use window-in-direction correctly.
17018 2011-10-21 Chong Yidong <cyd@gnu.org>
17020 * progmodes/idlwave.el (idlwave-mode):
17021 * progmodes/vera-mode.el (vera-mode): No need to set
17022 require-final-newline; that's done in prog-mode.
17023 Suggested by Stefan Monnier.
17025 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17027 * mouse.el (mouse-drag-window-above)
17028 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17029 (mouse-drag-mode-line-1, mouse-drag-header-line)
17030 (mouse-drag-vertical-line-rightward-window): Remove.
17031 (mouse-drag-line): New function.
17032 (mouse-drag-mode-line, mouse-drag-header-line)
17033 (mouse-drag-vertical-line): Call mouse-drag-line.
17034 * window.el (window-at-side-p, windows-at-side): New functions.
17036 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17038 * tar-mode.el (tar-grind-file-mode):
17039 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17041 2011-10-21 Chong Yidong <cyd@gnu.org>
17043 * progmodes/idlwave.el (idlwave-mode):
17044 * progmodes/vera-mode.el (vera-mode):
17045 Use mode-require-final-newline.
17047 2011-10-20 Glenn Morris <rgm@gnu.org>
17049 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17051 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17053 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17055 2011-10-20 Chong Yidong <cyd@gnu.org>
17057 * emulation/cua-base.el (cua-mode):
17058 * mail/footnote.el (footnote-mode):
17059 * mail/mailabbrev.el (mail-abbrevs-mode):
17060 * net/xesam.el (xesam-minor-mode):
17061 * progmodes/bug-reference.el (bug-reference-mode):
17062 * progmodes/cap-words.el (capitalized-words-mode):
17063 * progmodes/compile.el (compilation-minor-mode)
17064 (compilation-shell-minor-mode):
17065 * progmodes/gud.el (gud-tooltip-mode):
17066 * progmodes/hideif.el (hide-ifdef-mode):
17067 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17068 * progmodes/subword.el (subword-mode):
17069 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17070 * progmodes/which-func.el (which-function-mode):
17071 * term/tvi970.el (tvi970-set-keypad-mode):
17072 * term/vt100.el (vt100-wide-mode):
17073 * textmodes/flyspell.el (flyspell-mode):
17074 * textmodes/ispell.el (ispell-minor-mode):
17075 * textmodes/nroff-mode.el (nroff-electric-mode):
17076 * textmodes/paragraphs.el (use-hard-newlines):
17077 * textmodes/refill.el (refill-mode):
17078 * textmodes/reftex.el (reftex-mode):
17079 * textmodes/rst.el (rst-minor-mode):
17080 * textmodes/sgml-mode.el (html-autoview-mode)
17081 (sgml-electric-tag-pair-mode):
17082 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17083 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17084 * emulation/crisp.el (crisp-mode):
17085 * emacs-lisp/eldoc.el (eldoc-mode):
17086 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17087 minor mode behavior.
17089 2011-10-19 Juri Linkov <juri@jurta.org>
17091 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17092 the list of hard-coded chars with escape-glyph face.
17094 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17096 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17098 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17100 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17103 2011-10-19 Glenn Morris <rgm@gnu.org>
17105 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17106 Ignore ignored files. (Bug#9726)
17108 2011-10-19 Chong Yidong <cyd@gnu.org>
17110 Doc fix for minor modes, stating that an omitted argument enables
17111 the mode unconditionally when called from Lisp.
17113 * abbrev.el (abbrev-mode):
17114 * allout.el (allout-mode):
17115 * autoinsert.el (auto-insert-mode):
17116 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17117 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17118 (global-auto-revert-mode):
17119 * battery.el (display-battery-mode):
17120 * composite.el (global-auto-composition-mode)
17121 (auto-composition-mode):
17122 * delsel.el (delete-selection-mode):
17123 * desktop.el (desktop-save-mode):
17124 * dired-x.el (dired-omit-mode):
17125 * dirtrack.el (dirtrack-mode):
17126 * doc-view.el (doc-view-minor-mode):
17127 * double.el (double-mode):
17128 * electric.el (electric-indent-mode, electric-pair-mode):
17129 * emacs-lock.el (emacs-lock-mode):
17130 * epa-hook.el (auto-encryption-mode):
17131 * follow.el (follow-mode):
17132 * font-core.el (font-lock-mode):
17133 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17134 * help.el (temp-buffer-resize-mode):
17135 * hilit-chg.el (highlight-changes-mode)
17136 (highlight-changes-visible-mode):
17137 * hi-lock.el (hi-lock-mode):
17138 * hl-line.el (hl-line-mode, global-hl-line-mode):
17139 * icomplete.el (icomplete-mode):
17140 * ido.el (ido-everywhere):
17141 * image-file.el (auto-image-file-mode):
17142 * image-mode.el (image-minor-mode):
17143 * iswitchb.el (iswitchb-mode):
17144 * jka-cmpr-hook.el (auto-compression-mode):
17145 * linum.el (linum-mode):
17146 * longlines.el (longlines-mode):
17147 * master.el (master-mode):
17148 * mb-depth.el (minibuffer-depth-indicate-mode):
17149 * menu-bar.el (menu-bar-mode):
17150 * minibuf-eldef.el (minibuffer-electric-default-mode):
17151 * mouse-sel.el (mouse-sel-mode):
17152 * msb.el (msb-mode):
17153 * mwheel.el (mouse-wheel-mode):
17154 * outline.el (outline-minor-mode):
17155 * paren.el (show-paren-mode):
17156 * recentf.el (recentf-mode):
17157 * reveal.el (reveal-mode, global-reveal-mode):
17158 * rfn-eshadow.el (file-name-shadow-mode):
17159 * ruler-mode.el (ruler-mode):
17160 * savehist.el (savehist-mode):
17161 * scroll-all.el (scroll-all-mode):
17162 * scroll-bar.el (scroll-bar-mode):
17163 * server.el (server-mode):
17164 * shell.el (shell-dirtrack-mode):
17165 * simple.el (auto-fill-mode, transient-mark-mode)
17166 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17167 (line-number-mode, column-number-mode, size-indication-mode)
17168 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17169 * strokes.el (strokes-mode):
17170 * time.el (display-time-mode):
17171 * t-mouse.el (gpm-mouse-mode):
17172 * tool-bar.el (tool-bar-mode):
17173 * tooltip.el (tooltip-mode):
17174 * type-break.el (type-break-mode-line-message-mode)
17175 (type-break-query-mode):
17176 * view.el (view-mode):
17177 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17178 (global-whitespace-mode, global-whitespace-newline-mode):
17179 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17181 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17182 Fix autogenerated docstring.
17184 2011-10-19 Juri Linkov <juri@jurta.org>
17186 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17187 by checking environment variables "DESKTOP_SESSION" and
17188 "XDG_CURRENT_DESKTOP". (Bug#9779)
17190 2011-10-19 Juri Linkov <juri@jurta.org>
17192 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17193 (browse-url-chromium-program, browse-url-chromium-arguments):
17195 (browse-url-default-browser): Check for `browse-url-chromium' and
17196 call `browse-url-chromium-program'.
17197 (browse-url-chromium): New command. (Bug#9779)
17199 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17201 * facemenu.el (list-colors-duplicates): On Windows, detect more
17202 duplicates by assuming that only colors matching "^System" are
17203 special "system colors". (Bug#9722)
17205 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17207 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17208 to distinguish the author from the committer.
17210 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17212 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17214 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17216 * international/mule.el (sgml-html-meta-auto-coding-function):
17217 Add support for detecting encoding in HTML5 specified only as
17218 <meta charset="UTF-8">. Implementation just makes http-equiv and
17219 content-type parts from HTML4 encoding string optional. (Bug#9716)
17221 2011-10-18 Glenn Morris <rgm@gnu.org>
17223 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17225 2011-10-18 Chong Yidong <cyd@gnu.org>
17227 * faces.el (cursor): Doc fix.
17229 2011-10-17 Chong Yidong <cyd@gnu.org>
17231 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17233 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17235 * dirtrack.el (dirtrack): Support shell buffers with path
17236 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17238 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17240 * json.el: Bump version to 1.3 and note change in History.
17241 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17243 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17245 * comint.el (comint-insert-input, comint-send-input)
17246 (comint-get-old-input-default, comint-backward-matching-input)
17247 (comint-next-prompt): Use nil instead of `input' for field property of
17248 past user input (bug#114).
17250 * minibuffer.el (completion--replace): Inherit surrounding properties
17252 (minibuffer-complete-and-exit): Use it.
17254 * comint.el (comint--table-subvert): Quote the all-completions output
17257 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17259 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17261 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17262 window on right of selected. (Bug#9350) Reword other window
17263 entries and separate them from frame entries.
17265 2011-10-15 Glenn Morris <rgm@gnu.org>
17267 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17270 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17272 * net/network-stream.el (network-stream-open-starttls):
17273 Improve detection of failure due to lack of TLS support.
17275 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17276 putting the input text in front and in bold.
17278 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17280 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17282 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17285 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17286 unread-command-events rather than pushing yet-another event.
17288 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17290 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17291 the explanation of the possible choices. Make the options passed
17292 to completing-read shorter.
17294 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17296 * textmodes/flyspell.el (flyspell-large-region): Make sure
17297 extended character mode is used if defined (Bug#1339).
17299 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17301 * simple.el (what-cursor-position): Fix the display of the
17302 character info for LRE, LRO, RLE, and RLO characters by appending
17305 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17307 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17308 even in case of error; add debug spec; simplify data flow.
17309 (with-timeout-handler): Remove.
17311 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17313 Fix Bug#6019, Bug#9315.
17315 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17316 complete `buffer-file-name', the local file name part could look
17317 remotely (for example on VMS).
17319 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17320 `tramp-run-real-handler'.
17321 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17322 already quoted by '"'.
17324 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17325 Let `file-name-handler-alist' be nil, the local file name part
17326 could look remotely (for example on VMS).
17328 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17330 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17332 (flyspell-post-command-hook): ...to here.
17334 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17336 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17338 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17339 using completion. Protect against "slow" callers.
17340 Remove the "message hack".
17342 2011-10-11 Juri Linkov <juri@jurta.org>
17344 * isearch.el (isearch-lazy-highlight-word): New variable.
17345 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17348 2011-10-11 Glenn Morris <rgm@gnu.org>
17350 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17351 like f90-previous-statement does.
17353 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17355 * eshell/eshell.el (eshell-command): History should be saved
17356 only in interactive use, to avoid error.
17358 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17360 * minibuffer.el (completion-file-name-table): Fix last change,
17361 i.e. ignore normal errors but not the other ones.
17363 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17365 * window.el (special-display-buffer-names)
17366 (special-display-regexps): Remove some remnants of earlier
17367 changes from doc-strings.
17368 (quit-windows-on): New function.
17370 * vc/vc.el (vc-revert, vc-rollback):
17371 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17372 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17373 (Bug#6183) (Bug#7074) (Bug#7447)
17375 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17377 * window.el (frame-auto-hide-function): Add version tag.
17380 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17382 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17385 2011-10-09 Leo Liu <sdl.web@gmail.com>
17387 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17390 2011-10-08 Glenn Morris <rgm@gnu.org>
17392 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17393 before the first code statement zero indent. (Bug#9690)
17395 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17397 * simple.el (count-words-region): Always count in the region.
17398 Report the number of lines and characters too.
17399 (count-words): New command, which counts in the buffer if the
17400 region is inactive, as count-words-region used to.
17401 (count-words--message): New function. Handle plurals.
17402 (count-lines-region): Make it an alias for count-words-region.
17404 * bindings.el (esc-map): Replace count-lines-region with
17405 count-words-region.
17407 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17409 * window.el (window--delete): Delete dedicated frame
17410 unconditionally when argument KILL is non-nil. (Bug#9699)
17411 (switch-to-buffer): Fix doc-string typo.
17413 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17415 * eshell/eshell.el (eshell-command): Avoid using hooks.
17417 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17419 * bindings.el ([M-left],[M-right]): Bind to left-word and
17420 right-word respectively.
17422 2011-10-07 Glenn Morris <rgm@gnu.org>
17424 * cus-start.el (debug-on-quit): Fix custom type.
17426 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17428 * subr.el (define-key-after): Clarify that the function is not
17429 useful for non-menu keymaps.
17431 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17433 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17435 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17436 in current minibuffer (Fix bug with recursive minibuffers).
17438 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17440 * progmodes/gdb-mi.el (gdb): Doc fix.
17442 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17444 * window.el (frame-auto-hide-function): New option replacing
17445 frame-auto-delete. Suggested by Stefan Monnier.
17446 (window--delete): Call frame-auto-hide-function instead of
17447 investigating frame-auto-delete.
17448 (window-point-1, set-window-point-1): New functions.
17449 (window-in-direction, record-window-buffer, window-state-get-1)
17450 (display-buffer-record-window): Use window-point-1 instead of
17452 (set-window-buffer-start-and-point): Use set-window-point-1.
17454 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17456 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17458 2011-10-05 Glenn Morris <rgm@gnu.org>
17460 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17461 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17463 2011-10-05 Leo Liu <sdl.web@gmail.com>
17465 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17466 works with buffer object.
17468 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17470 * mpc.el (mpc-tool-bar-map): Add labels.
17472 2011-10-04 Glenn Morris <rgm@gnu.org>
17474 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17476 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17478 * window.el (window--delete): New function.
17479 (frame-auto-delete): Resuscitate option.
17480 (bury-buffer, replace-buffer-in-windows)
17481 (quit-window): Rewrite using window--delete.
17482 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17483 Pass display-buffer-mark-dedicated to window--display-buffer-2
17486 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17488 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17489 returns a list (bug#9554). Add remote file name completion.
17490 * comint.el (comint--table-subvert): Curry and get quote&unquote
17491 functions as arguments.
17492 (comint--complete-file-name-data): Adjust call accordingly.
17493 * pcomplete.el (pcomplete--table-subvert): Remove.
17494 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17496 * minibuffer.el (completion-table-case-fold): Use currying.
17497 (completion--styles-type, completion--cycling-threshold-type):
17499 (completion-styles, completion-category-overrides)
17500 (completion-cycle-threshold): Use them.
17501 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17502 completion-table-case-fold.
17504 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17506 * minibuffer.el (completion-category-overrides): Fix type of styles
17507 and add more user friendly tags (bug#9660).
17509 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17512 (mule-input-method-string): New widget.
17513 (default-input-method, language-info-custom-alist): Use it.
17515 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17517 * pcomplete.el: Require comint.
17518 (pcomplete--common-suffix): Remove.
17519 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17520 (pcomplete--table-subvert): Sync with comint--table-subvert.
17521 (pcomplete--entries): Use comint-completion-file-name-table.
17522 * comint.el (comint-unquote-filename): Simplify.
17523 (comint-completion-file-name-table): New function (bug#9616).
17524 (comint--complete-file-name-data): Use it.
17526 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17527 (pcmpl-gnu-tar-buffer): Remove.
17528 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17529 around. Make sure pcomplete-suffix-list is only changed temporarily.
17530 Don't look inside the tar's file if it's too large.
17532 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17534 * cus-edit.el (custom-mode-map):
17535 * epa.el (epa-key-list-mode-map):
17536 * man.el (Man-mode-map):
17537 * startup.el (splash-screen-keymap):
17538 * simple.el (special-mode-map): Use scroll-up-command and
17539 scroll-down-command.
17541 * progmodes/idlw-help.el (idlwave-help-mode-map):
17542 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17543 * net/newst-plainview.el (newsticker-mode-map):
17544 * emulation/ws-mode.el (wordstar-mode-map):
17545 * emulation/vi.el (vi-com-map):
17546 * calc/calc-graph.el (calc-graph-show-dumb):
17547 * term/sun.el (terminal-init-sun):
17548 * term/ns-win.el (global-map):
17549 * progmodes/grep.el (grep-mode-map):
17550 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17551 * mail/rmail.el (rmail-mode-map):
17552 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17554 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17555 custom-safe-themes as special.
17557 2011-10-01 Julien Danjou <julien@danjou.info>
17559 * notifications.el (notifications-notify): Fix docstring.
17561 2011-10-01 Per Starbäck <per@starback.se>
17563 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17565 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17567 * startup.el (command-line-1): Fix last fix by inserting
17568 initial-scratch-message into *scratch* before displaying it.
17569 (Bug#9605) and (Bug#9636)
17571 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17573 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17574 window is hscrolled, move by logical lines. (Bug#9607)
17575 (line-move-visual): Update the doc string to the above effect.
17577 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17579 * window.el (display-buffer-record-window): When WINDOW is the
17580 selected window use `point' instead of `window-point'. (Bug#9626)
17582 * startup.el (command-line-1): Use insert-before-markers when
17583 inserting initial-scratch-message. (Bug#9605)
17585 * help.el (help-window): Remove variable.
17587 2011-09-29 Glenn Morris <rgm@gnu.org>
17589 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17591 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17593 * descr-text.el (describe-char-categories): Accept category
17594 descriptions more than one line long.
17596 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17598 * simple.el (delete-trailing-whitespace): Fix last change.
17600 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17601 Don't confuse "y => 3" as the beginning of a `y' operation.
17603 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17604 object has more than 4 slots (bug#9613).
17606 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17608 * subr.el (with-output-to-temp-buffer):
17609 * net/quickurl.el (quickurl, quickurl-browse-url):
17610 Fix typos in docstrings.
17612 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17614 * minibuffer.el (completion-styles)
17615 (completion-category-overrides): Cross reference each other in doc
17618 2011-09-27 Glenn Morris <rgm@gnu.org>
17620 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17621 to split-string. (Bug#9606)
17623 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17625 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17628 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17630 * emacs-lisp/package.el (list-packages): Fix echo area message.
17632 2011-09-27 Leo Liu <sdl.web@gmail.com>
17634 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17636 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17638 * net/dbus.el (dbus-unregister-object): Don't release services for
17639 registered signals. (Bug#9581)
17641 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17643 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17644 function that picks between cfengine 2 and 3 support
17645 automatically. Update docs accordingly.
17647 2011-09-22 Kenichi Handa <handa@m17n.org>
17649 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17651 (indian-itrans-v5-table-for-tamil): New variable.
17652 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17654 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17656 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17657 that's true if the current command involved collapsing of text.
17658 It's reset to false at the beginning of the next command.
17659 (allout-post-command-business): Move the cursor to the beginning
17660 of entry if the cursor is hidden and collapsing activity just
17663 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17665 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17666 tracking (Bug#9541).
17668 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17670 * net/newst-reader.el (newsticker-html-renderer)
17671 (newsticker-show-news): Automatically load html rendering package
17672 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17673 because w3m-fill-column is let-bound" and the error "Symbol's value
17674 as variable is void: w3m-fill-column".
17676 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17678 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17679 Release services only if they are defined. (Bug#9581)
17681 2011-09-23 Richard Stallman <rms@gnu.org>
17683 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17684 distinguish start of paragraph from start of its text.
17686 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17688 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17689 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17690 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17692 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17694 * international/mule-diag.el (mule-diag): Insert a newline after
17695 each fontset description.
17697 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17699 * simple.el (delete-trailing-whitespace):
17700 Document last change; simplify.
17702 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17704 * simple.el (delete-trailing-whitespace): Also delete
17705 extra newlines at the end of the buffer.
17707 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17708 (picture-newline): Use forward-line so as to ignore fields.
17710 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17712 * subr.el (with-wrapper-hook): Fix edebug spec.
17714 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17716 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17719 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17721 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17722 Fix nasty bug using wrong cached values.
17724 2011-09-23 Alan Mackenzie <acm@muc.de>
17726 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17728 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17730 * window.el (pop-to-buffer): Ensure right window is selected if we
17731 chose another frame.
17733 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17735 * simple.el (what-cursor-position): Use get-char-property-change
17736 and next-single-char-property-change, to be able to show display
17737 properties that come from overlays as well as text properties.
17739 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17741 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17743 * cmuscheme.el (run-scheme, switch-to-scheme):
17744 * cus-edit.el (customize-group, custom-buffer-create)
17745 (customize-browse):
17747 * shell.el (shell):
17748 * mail/sendmail.el (mail):
17749 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17751 2011-09-22 Richard Stallman <rms@gnu.org>
17753 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17754 move back only to line beg, don't move back over blank lines.
17756 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17758 * files.el (copy-directory): Set directory attributes only in case
17759 they could be retrieved from the source directory. (Bug#9565)
17761 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17763 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17764 (hs-find-block-beginning, hs-hide-level-recursive):
17765 Ignore strings as well as comments. (Bug#9502)
17767 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17769 * progmodes/sql.el (sql-comint-postgres):
17770 Convert port number to a string. (Bug#9566)
17772 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17774 * window.el (quit-window): Undedicate window when switching to
17775 previous buffer. Reported by Thierry Volpiatto
17776 <thierry.volpiatto@gmail.com>.
17777 (special-display-popup-frame): When popping up a new frame reset
17778 its previous buffers to nil. Simplify code.
17780 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17782 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17783 and process filter, as done also in `shell-command'.
17785 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17787 * window.el (set-window-buffer-start-and-point):
17788 Call set-window-start with NOFORCE argument t.
17789 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17790 (quit-window): Reword doc-string. Handle new format of
17791 quit-restore parameter. Don't delete window if it has a
17792 previous buffer we can show instead of the present one.
17793 (display-buffer-record-window): Rewrite using a new format for
17794 the quit-restore window parameter
17795 (special-display-popup-frame, display-buffer-same-window)
17796 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17797 (display-buffer-pop-up-window, display-buffer-use-some-window):
17798 Adapt symbol passed to display-buffer-record-window.
17799 * help.el (help-window-setup): Handle new format of quit-restore
17802 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17804 * faces.el (face-list): Fix docstring (bug#9564).
17806 * window.el (display-buffer--action-function-custom-type):
17807 Don't include internal functions in the Custom interface.
17809 2011-09-20 Juri Linkov <juri@jurta.org>
17811 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17812 (Info-forward-node, Info-backward-node, Info-next-preorder)
17813 (Info-last-preorder): Use it. (Bug#9528)
17815 2011-09-20 Juri Linkov <juri@jurta.org>
17817 * info.el (Info-last-preorder): Visit last menu item only when
17818 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17820 2011-09-20 Julien Danjou <julien@danjou.info>
17822 * password-cache.el (password-cache-remove): Remove entries even if the
17823 value is nil, so that password with a nil value (negative caching) is
17824 possible to invalidate.
17826 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17828 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17829 all whitespace around breakpoint. (Bug#9553)
17830 (f90-find-breakpoint): Only break at whitespace inside a comment.
17832 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17834 * minibuffer.el (completion-file-name-table): Keep track of errors.
17835 (completion-table-with-predicate): Handle the case where pred1 is nil.
17836 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17838 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17840 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17841 (debugger-return-value): Signal an error if the debugging context does
17842 not await any return value.
17844 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17845 * image-mode.el (image-toggle-display-text)
17846 (image-toggle-display-image): Stay away from evil `intangible'.
17848 2011-09-19 Leo Liu <sdl.web@gmail.com>
17850 * replace.el (occur-revert-arguments): Make it permanent-local.
17851 (occur-mode): Don't call font-lock-defontify.
17853 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17855 * net/ldap.el (ldap-search-internal): Don't push empty search
17858 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17860 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17862 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17864 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17865 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17867 2011-09-18 Juri Linkov <juri@jurta.org>
17869 * buff-menu.el (Buffer-menu-mode-map):
17870 * dired.el (dired-mode-map):
17871 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17872 (lisp-interaction-mode-map):
17873 * emacs-lisp/package.el (package-menu-mode-map):
17874 * epa.el (epa-key-list-mode-map):
17875 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17876 (menu-bar-options-menu):
17877 * outline.el (outline-mode-menu-bar-map):
17878 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17879 * vc/vc-dir.el (vc-dir-menu-map):
17880 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17881 Capitalize non-function content words in menu item strings.
17883 * dired.el (dired-mode-map): Add menu item for
17884 `image-dired-dired-toggle-marked-thumbs'.
17886 2011-09-18 Juri Linkov <juri@jurta.org>
17888 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17889 to `isearch-case-fold-search' and restore its original value
17890 after the `isearch-mode' call.
17892 2011-09-18 Juri Linkov <juri@jurta.org>
17894 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17895 because `zgrep' returns 1 for successful matches (bug#9226).
17897 2011-09-18 Juri Linkov <juri@jurta.org>
17899 * info.el (Info-extract-menu-node-name): Check the second match
17900 for empty string (second test-case of bug#9528).
17901 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17902 intermediate nodes to the history (first test-case of bug#9528).
17904 2011-09-18 Juri Linkov <juri@jurta.org>
17906 * info.el (Info-mode-syntax-table): New variable.
17907 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17909 2011-09-18 Juri Linkov <juri@jurta.org>
17911 * info.el (Info-file-supports-index-cookies):
17912 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17913 outputs one more line for long file names (bug#4142).
17915 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17917 * newcomment.el (comment-normalize-vars): If prompting for
17918 comment-start, set comment-start-skip too (Bug#8424).
17920 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17922 * icomplete.el: Fix previous fix of Bug#5849.
17923 (icomplete-mode): Don't set completion-show-inline-help.
17924 (icomplete-minibuffer-setup): Set completion-show-inline-help
17925 locally during icompletion.
17927 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17929 * woman.el (woman2-process-escapes): Don't delete unrecognized
17930 escapes (Bug#7843).
17932 * files.el (inhibit-first-line-modes-regexps): Add image files.
17933 (hack-local-variables-prop-line): Return nil for malformed
17934 prop-lines (Bug#9044).
17936 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17938 * net/tramp.el (top): Don't require 'shell.
17939 (tramp-methods): Fix docstring.
17940 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17941 Return complete remote file name. Handle "smb" case.
17942 Use `tramp-tmpdir', if defined for the respective method.
17943 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17945 * net/tramp-compat.el (top): Require 'shell.
17947 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17948 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17949 `tramp-current-host'.
17950 (tramp-get-remote-tmpdir): Remove.
17952 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17953 `tramp-tmpdir' entries.
17954 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17955 (tramp-smb-handle-file-attributes): Ignore errors.
17956 (tramp-smb-wait-for-output): Check also for process end.
17958 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17960 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17961 when sending QUIT (bug#9312).
17963 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17965 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17966 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17967 occur-mode-display-occurrence.
17968 (occur-edit-mode): Add usage message.
17969 (occur-cease-edit): New command.
17970 (occur-after-change-function): Use text properties to find the
17971 position of the prefix text.
17972 (occur-engine): Set stickiness of prefix text properties.
17974 2011-09-17 Glenn Morris <rgm@gnu.org>
17976 * progmodes/etags.el (complete-tag):
17977 Fix call to completion-in-region. (Bug#9526)
17979 2011-09-17 Juri Linkov <juri@jurta.org>
17981 * textmodes/ispell.el (ispell-word): Add to the error message
17982 the word, ispell program name and current dictionary (bug#9121).
17983 (ispell-tex-arg-end): Capitalize "error" in the error message.
17985 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17987 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17990 2011-09-17 Juri Linkov <juri@jurta.org>
17992 * window.el (window-safe-min-height, window-safe-min-width):
17993 Fix typos (followup to bug#9522).
17995 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17997 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17999 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18001 * simple.el (line-move): If goal-column is set, move by logical
18002 lines, not by display lines. (Bug#971)
18003 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18004 to reflect the above change.
18006 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18008 * image.el (imagemagick-register-types): Use regexp-opt.
18010 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18012 * window.el (display-buffer-base-action): Rename from
18013 display-buffer-default-action. Make default value empty.
18014 (display-buffer-overriding-action): Convert to defvar.
18015 (display-buffer-fallback-action): New var.
18017 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18019 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18021 (package--add-to-archive-contents): If there is a duplicate entry
18022 with an older version, remove it.
18023 (package-menu-mark-delete, package-menu-mark-install)
18024 (package-menu-mark-unmark): Make unused args optional.
18025 (package-menu-mark-obsolete-for-deletion):
18026 Use package-menu-get-status instead of a regexp search.
18027 (package-menu-get-status): Use tabulated-list-entry.
18028 (package-menu-mark-upgrades): New command.
18029 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18030 (package-menu-execute): Do installation before deletion.
18031 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18032 instead of checking major-mode.
18033 (package-menu--find-upgrades): New function.
18035 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18037 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18038 passwords in the log buffer.
18039 (smtpmail-process-filter): Update the process marker so that the
18040 "broken by peer" status message is inserted in the right place.
18042 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18044 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18045 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18046 bibtex-completion-at-point-function.
18047 (bibtex-completion-at-point-function): Use them.
18049 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18051 * mpc.el (mpc-constraints-tag-lookup): New function.
18052 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18053 also to browser "album|playlist".
18055 2011-09-14 Juri Linkov <juri@jurta.org>
18057 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18058 (isearch-edit-string): Use length of `isearch-string' when
18059 `isearch-fail-pos' returns nil.
18060 (isearch-message): Remove duplicate code and call
18061 `isearch-fail-pos' with arg `t'.
18063 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18065 * replace.el (occur-mode-goto-occurrence): Don't force using other
18068 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18070 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18072 * window.el (display-buffer-window): Remove.
18073 (display-buffer-record-window): Use help-setup window parameter
18074 instead of variable display-buffer-window.
18075 (display-buffer-function, special-display-buffer-names)
18076 (special-display-function): Mention help-setup parameter instead
18077 of display-buffer-window in doc-string.
18078 * help.el (help-window-setup): New argument help-window.
18079 Use help-window-setup parameter instead of display-buffer-window.
18080 Reword some messages.
18081 (with-help-window): Pass window used for displaying the buffer
18082 to help-window-setup. Don't set display-buffer-window.
18084 2011-09-13 Glenn Morris <rgm@gnu.org>
18086 * emacs-lisp/debug.el (debugger-make-xrefs):
18087 Preserve point. (Bug#9462)
18089 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18091 * window.el (window-deletable-p): Use next-frame.
18093 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18095 * window.el (window-auto-delete): Remove.
18096 (window-deletable-p): Remove argument FORCE. Don't deal with
18097 dedication and previous buffers.
18098 (switch-to-prev-buffer): Don't delete window.
18099 (delete-windows-on): Delete a window's frame if and only if the
18100 window is dedicated.
18101 (replace-buffer-in-windows): Delete buffer's window or frame if
18102 and only if window is dedicated.
18103 (quit-window): Handle quit-restore as before last change.
18104 (bury-buffer): Delete window only if window-deletable-p returns t.
18106 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18108 * window.el (window-deletable-p): Never delete the last frame on a
18111 2011-09-13 Glenn Morris <rgm@gnu.org>
18113 * help.el (describe-key-briefly): Copy previous standard-output change.
18115 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18117 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18119 2011-09-13 Glenn Morris <rgm@gnu.org>
18121 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18122 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18124 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18126 * dired-aux.el (dired-mark-read-string): Don't return default
18127 value on empty input (Bug#9361).
18128 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18129 Omit initial minibuffer contents.
18130 (dired-do-chmod): Signal an error on empty input.
18131 (dired-mark-read-string): Don't return default on empty input.
18133 * files.el (file-modes-symbolic-to-number): Doc fix.
18135 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18137 * international/mule-cmds.el (ucs-completions): Remove.
18138 (read-char-by-name): Use complete-with-action instead; add metadata.
18140 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18142 * window.el (display-buffer--action-function-custom-type)
18143 (display-buffer--action-custom-type): New vars.
18144 (display-buffer-alist, display-buffer-default-action)
18145 (display-buffer-overriding-action): Add defcustom types.
18147 * frame.el (delete-other-frames): Doc fix (Bug#276).
18149 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18151 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18153 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18155 Change modes that used same-window-* vars to use switch-to-buffer.
18157 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18158 Use switch-to-buffer.
18160 * cus-edit.el (customize-group, custom-buffer-create)
18161 (customize-browse, custom-buffer-create-other-window):
18162 Use switch-to-buffer or switch-to-buffer-other-window.
18164 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18165 (Info-prev, Info-up, Info-speedbar-goto-node)
18166 (info-display-manual): Use switch-to-buffer.
18167 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18169 * mail/sendmail.el (mail): Use switch-to-buffer.
18170 (mail-recover): Use switch-to-buffer-other-window.
18172 * cmuscheme.el (run-scheme, switch-to-scheme):
18174 * shell.el (shell):
18175 * net/rlogin.el (rlogin):
18176 * net/telnet.el (telnet, rsh):
18177 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18179 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18181 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18183 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18185 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18186 so don't mention it (bug#9301).
18187 (dired-sort-toggle-or-edit): Clarify string further.
18189 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18190 match `x', `w32' and `ns', like the manual says (bug#9029).
18192 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18193 (process-kill-buffer-query-function): Mention the buffer name in
18196 * image-mode.el (image-next-line): The line parameter is mandatory
18199 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18200 which can be useful (bug#9301).
18202 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18204 * subr.el (match-string): Mention that the current buffer should
18205 be the same as the search was done in (bug#9282).
18207 * facemenu.el: Disable the remove-* commands if the mark isn't
18210 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18212 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18214 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18216 * replace.el (occur-mode-goto-occurrence)
18217 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18218 and display-buffer.
18220 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18223 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18224 special-display and same-window variables.
18225 (mail-other-window): Use switch-to-buffer-other-window.
18226 (mail-other-frame): USe switch-to-buffer-other-frame.
18228 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18229 Use display-buffer-other-frame.
18230 (gdb-display-gdb-buffer): Use pop-to-buffer.
18232 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18234 * progmodes/python.el: Don't set same-window-buffer-names.
18236 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18238 * window.el (display-buffer-alist): Add *Python*.
18240 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18242 * window.el (display-buffer-alist): Add entry for buffers
18243 previously handled same-window-*.
18244 (display-buffer-alist, display-buffer-default-action)
18245 (display-buffer-overriding-action): Mark as risky.
18246 (display-buffer-alist): Document action function changes.
18247 (display-buffer--same-window-action)
18248 (display-buffer--other-frame-action): New variables.
18249 (switch-to-buffer, display-buffer-other-frame): Use them.
18250 (display-buffer): Rename reuse-frame entry to reusable-frames.
18251 (display-buffer-reuse-selected-window): Function deleted.
18252 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18253 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18254 (display-buffer-special): New function.
18255 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18256 display-buffer-reuse-or-pop-window. Split off special-display
18257 part into display-buffer-special.
18258 (display-buffer-use-some-window): Don't perform any special
18259 pop-up-frames handling.
18260 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18261 (display-buffer--maybe-same-window): Rename from
18262 display-buffer-maybe-same-window.
18264 * info.el: Don't set same-window-regexps.
18265 (info-setup): New function.
18266 (info-other-window, info): Call it.
18268 * cus-edit.el: Don't set same-window-regexps.
18269 (customize-group): New argument.
18270 (customize-group-other-window): Use it.
18271 (customize-face, customize-face-other-window): Likewise.
18272 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18276 * progmodes/gud.el: Don't set same-window-regexps.
18281 * mail/sendmail.el:
18282 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18284 2011-09-10 Juri Linkov <juri@jurta.org>
18286 * isearch.el (isearch-edit-string): Remove obsolete mention of
18287 `C-w' (`isearch-yank-word-or-char') from docstring.
18288 (isearch-query-replace): Fix typo in docstring (bug#9466).
18290 2011-09-10 Juri Linkov <juri@jurta.org>
18292 * paren.el (show-paren-function): Don't show escaped parens.
18293 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18295 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18297 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18298 (mm-default-file-encoding): Remove autoload forms, they are
18299 replaced with autoload cookies in mml.el and mm-encode.el.
18300 (mail-add-attachment): New command.
18301 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18302 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18304 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18306 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18308 * simple.el (count-words-region): Use buffer if there's no region
18311 2011-09-09 Juri Linkov <juri@jurta.org>
18313 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18314 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18315 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18317 2011-09-09 Alan Mackenzie <acm@muc.de>
18319 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18320 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18322 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18324 Fix for Savannah bug#9392.
18325 * simple.el (mail-encode-mml): New defvar.
18327 * mail/rmail.el (mail-encode-mml): Add a defvar.
18328 (rmail-enable-mime-composing): Default to t.
18329 (rmail-forward): Use MIME method of forwarding only if both
18330 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18331 Set mail-encode-mml non-nil if the MIME method was used.
18333 * mail/sendmail.el (mml-to-mime): Add autoload form.
18334 (mail-encode-mml): Add a defvar.
18335 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18337 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18338 message through mml-to-mime, and reset mail-encode-mml to nil.
18340 2011-09-09 Glenn Morris <rgm@gnu.org>
18342 * woman.el (woman-if-body): When processing an .el block,
18343 do not delete the next .el block as well. (Bug#9447)
18344 (woman-special-characters): Add oq, cq, and hy characters.
18346 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18348 * window.el (window-deletable-p): Make sure window is live before
18349 invoking window-prev-buffers.
18351 2011-09-08 Leo Liu <sdl.web@gmail.com>
18353 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18355 2011-09-08 Juri Linkov <juri@jurta.org>
18357 * progmodes/compile.el (compilation-environment): Make it
18358 a defcustom (bug#8340).
18360 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18362 * window.el (frame-auto-delete): Rename to window-auto-delete.
18363 Make it control auto-deletion of windows and/or frames.
18364 (window-deletable-p): New argument FORCE. Rewrite conditions
18365 for deleting window/frame. (Bug#9419)
18366 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18367 Rewrite handling of case when window/frame can be deleted.
18368 (delete-windows-on): Call window-deletable-p with new FORCE
18369 argument t. (Bug#9456)
18371 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18373 * help-mode.el (help-mode): Restore autoload.
18375 2011-09-07 Juri Linkov <juri@jurta.org>
18377 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18378 `compilation-environment'. Set buffer-local
18379 `compilation-environment' to `thisenv' later after (funcall mode).
18382 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18383 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18384 instead of replacing its value. (Bug#8340)
18386 2011-09-07 Juri Linkov <juri@jurta.org>
18388 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18389 based on text properties put by `grep-filter' instead of matching
18391 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18392 to the value of `grep-error-screen-columns' (bug#9438).
18394 2011-09-07 Juri Linkov <juri@jurta.org>
18396 * simple.el (next-error-highlight, next-error-highlight-no-select):
18397 Doc fix (bug#9432).
18399 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18401 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18402 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18404 2011-09-07 Leo Liu <sdl.web@gmail.com>
18406 * net/rcirc.el (rcirc-mode): Conditionally initialize
18409 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18411 * emacs-lisp/find-func.el (find-function-C-source): Only set
18412 find-function-C-source-directory after checking that we found a source
18413 file there (bug#9440).
18415 2011-09-06 Alan Mackenzie <acm@muc.de>
18417 * isearch.el (isearch-other-meta-char): Wherever a key list is
18418 unread, "unread" the prefix arg, too. This fixes bug #8901.
18420 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18422 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18424 2011-09-05 Juri Linkov <juri@jurta.org>
18426 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18428 2011-09-05 Juri Linkov <juri@jurta.org>
18430 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18431 keeping point where processing of grep matches begins, and
18432 continue to delete remaining escape sequences from the same point.
18433 (grep-filter): Make leading zero optional in "0?1;31m" because
18434 git-grep emits "\033[1;31m" escape sequences unlike expected
18435 "\033[01;31m" as GNU Grep does (bug#9408).
18436 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18438 2011-09-05 Juri Linkov <juri@jurta.org>
18440 * subr.el (y-or-n-p): Capitalize "yes".
18442 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18444 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18445 `tramp-cache-unload-hook' where appropriate.
18446 (tramp-methods): Rename `tramp-remote-sh' to
18447 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18448 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18450 * net/tramp-sh.el (top): Don't require 'shell.
18451 (tramp-methods): Add `tramp-remote-shell' and
18452 `tramp-remote-shell-args' entries.
18453 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18454 (tramp-sh-handle-shell-command): Remove.
18455 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18456 Use `tramp-remote-shell'.
18458 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18460 * mail/sendmail.el (sendmail-query-once-function): Delete.
18461 (sendmail-query-once): Save directly to send-mail-function.
18462 Update message-send-mail-function too.
18464 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18466 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18468 * progmodes/python.el (python-mode-map): Use correct function to
18469 start python interpreter from menu-bar (as reported by Geert
18471 (inferior-python-mode-map): Fix typo.
18472 (python-shell-map): Remove.
18474 2011-09-03 Deniz Dogan <deniz@dogan.se>
18476 * net/rcirc.el (rcirc-print): Simplify code for
18477 rcirc-scroll-show-maximum-output. There is no need to walk
18478 through all windows to find the right one.
18480 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18482 * help.el (help-return-method): Doc fix.
18484 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18486 * window.el (window-deletable-p): Don't return a non-nil value
18487 when there's a buffer that was shown in the window before.
18489 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18490 Set window's previous buffers to nil.
18492 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18494 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18495 newline before and after the tag line, so it doesn't interfere
18496 with determining the paragraph direction of bidirectional text.
18498 2011-09-03 Leo Liu <sdl.web@gmail.com>
18500 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18502 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18504 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18505 (pop-to-buffer): Change interactive spec. Pass second argument
18506 directly to display-buffer.
18507 (display-buffer): Fix interactive spec. Use functionp to
18508 distinguish between a function and a list of functions.
18510 * abbrev.el (edit-abbrevs):
18511 * arc-mode.el (archive-extract):
18512 * autoinsert.el (auto-insert):
18513 * bookmark.el (bookmark-bmenu-list):
18514 * files.el (find-file):
18515 * view.el (view-buffer):
18516 * progmodes/compile.el (compilation-goto-locus):
18517 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18519 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18521 * window.el (display-buffer-alist): Doc fix.
18522 (display-buffer): Add docstring. Don't treat
18523 display-buffer-default specially.
18524 (display-buffer-reuse-selected-window)
18525 (display-buffer-same-window, display-buffer-maybe-same-window)
18526 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18527 (display-buffer-pop-up-window)
18528 (display-buffer-reuse-or-pop-window)
18529 (display-buffer-use-some-window): New functions.
18530 (display-buffer-default-action): Use them.
18531 (display-buffer-default): Delete.
18532 (pop-to-buffer-1): Fix choice of actions.
18534 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18536 * minibuffer.el (completion--insert-strings): Don't get confused by
18537 completion entries that end with an LF char.
18539 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18541 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18543 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18545 * window.el (display-buffer): Restore interactive spec.
18546 (display-buffer-same-window, display-buffer-other-window):
18548 (pop-to-buffer-1): New function. Use the above.
18549 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18550 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18552 * view.el (view-buffer-other-window, view-buffer-other-frame):
18553 Just use pop-to-buffer.
18555 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18557 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18559 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18561 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18563 2011-08-31 Richard Stallman <rms@gnu.org>
18565 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18566 of the separation of rmail-view-buffer from rmail-buffer.
18567 If you say no to "replace original", the decrypt is in the
18568 view buffer. If you say yes, the decrypt goes into the
18571 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18573 * window.el (display-buffer-window): Rewrite doc-string.
18574 (display-buffer-record-window): New function.
18575 (display-buffer-macro-specifiers)
18576 (display-buffer-even-window-sizes, display-buffer-set-height)
18577 (display-buffer-set-width, display-buffer-in-window)
18578 (display-buffer-reuse-window, display-buffer-split-specifiers)
18579 (display-buffer-side-specifiers, display-buffer-split-window-1)
18580 (display-buffer-split-window, display-buffer-split-atom-window)
18581 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18582 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18583 (display-buffer-other-window-means-other-frame)
18584 (display-buffer-normalize-special)
18585 (display-buffer-normalize-default)
18586 (display-buffer-normalize-argument)
18587 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18588 (display-buffer-normalize-specifiers, display-buffer-frame)
18589 (display-buffer-same-window, display-buffer-same-frame)
18590 (display-buffer-other-window)
18591 (display-buffer-same-frame-other-window)
18592 (display-buffer-other-frame, pop-to-buffer-same-window)
18593 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18594 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18595 (switch-to-buffer-same-frame)
18596 (switch-to-buffer-other-window-same-frame)
18597 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18598 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18599 (display-buffer-alist-set): Remove.
18600 (display-buffer-function, special-display-buffer-names)
18601 (special-display-regexps, special-display-function):
18602 In doc-string refer to display-buffer-window and quit-restore
18604 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18605 (special-display-frame-alist, special-display-popup-frame)
18606 (same-window-buffer-names, same-window-regexps, same-window-p)
18607 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18608 (split-window-preferred-function, split-height-threshold)
18609 (split-width-threshold, window-splittable-p)
18610 (split-window-sensibly, window--try-to-split-window)
18611 (window--frame-usable-p, even-window-heights)
18612 (window--even-window-heights, window--display-buffer-1)
18613 (window--display-buffer-2, display-buffer-other-frame):
18614 Restore old Emacs 23 code, order and doc-strings where applicable.
18615 (display-buffer-default, display-buffer-assq-regexp): New functions.
18616 (display-buffer-alist): Rewrite doc-string.
18617 (display-buffer-default-action)
18618 (display-buffer-overriding-action): New variables.
18619 (display-buffer, switch-to-buffer): Rewrite.
18620 (pop-to-buffer): Restore Emacs 23 behavior but use
18621 window-normalize-buffer-to-display.
18622 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18623 Restore Emacs 23 behavior but use
18624 window-normalize-buffer-to-switch-to.
18625 (pop-to-buffer-same-window): Rewrite.
18626 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18627 Rewrite using Emacs 23 options.
18629 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18631 * net/tramp.el (tramp-root-regexp): Remove.
18632 (tramp-completion-file-name-regexp-unified)
18633 (tramp-completion-file-name-regexp-separate)
18634 (tramp-completion-file-name-regexp-url): Don't use leading volume
18635 letter on w32 systems. (Bug#5303, Bug#9311)
18636 (tramp-drop-volume-letter): Simplify definition.
18637 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18639 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18641 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18644 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18646 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18648 2011-08-29 Juri Linkov <juri@jurta.org>
18650 * isearch.el (isearch-done): Don't display message "Mark saved"
18651 when arg `edit' is non-nil to prevent its flicker in the echo area.
18653 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18655 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18656 obsolete packages for deletion.
18658 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18660 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18661 (help-mode): Derive help-mode from special-mode. Don't invoke
18662 view-mode from help-mode.
18663 (help-xref-override-view-map): Remove.
18664 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18665 view-mode is not used anymore.
18667 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18669 * server.el (server-port): Doc fix.
18671 * cus-theme.el (custom-theme-choose-mode): Inherit from
18672 special-mode (Bug#9124).
18673 (custom-theme-choose-mode-map): Add special-mode to parent.
18675 2011-08-28 Alan Mackenzie <acm@muc.de>
18677 * progmodes/cc-fonts.el
18678 (c-make-font-lock-BO-decl-search-function): New function.
18679 (c-basic-matchers-after - "Fontify the clauses after various
18680 keywords"): Extract the three keyword lists for the 3 erroneous
18681 constructs from the list of four, and use the new function above
18682 in place of an old one.
18684 2011-08-28 Deniz Dogan <deniz@dogan.se>
18686 * net/rcirc.el (rcirc-insert-prev-input)
18687 (rcirc-insert-next-input): Remove unused argument.
18689 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18691 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18693 2011-08-27 Alan Mackenzie <acm@muc.de>
18695 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18696 handle function pointer parameters properly.
18698 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18700 * window.el (display-buffer-reuse-window): Fix case where
18701 selected window was reused with non-nil OTHER-WINDOW argument.
18704 2011-08-27 Deniz Dogan <deniz@dogan.se>
18706 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18707 oftc's NickServ messages.
18709 2011-08-27 Glenn Morris <rgm@gnu.org>
18711 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18713 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18715 * emacs-lisp/package.el (package-install): Call package-initialize
18716 if called interactively.
18718 2011-08-26 Leo Liu <sdl.web@gmail.com>
18720 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18722 2011-08-25 Juri Linkov <juri@jurta.org>
18724 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18725 `search-whitespace-regexp' (bug#9364).
18727 2011-08-25 Juri Linkov <juri@jurta.org>
18729 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18730 `regexp-search-ring' to their global values to protect from
18731 updating by `read-from-minibuffer' (bug#9185).
18733 2011-08-25 Juri Linkov <juri@jurta.org>
18735 * textmodes/ispell.el (ispell-command-loop): Add newline
18736 at the end of the "Use option `i'..." line.
18738 2011-08-25 Juri Linkov <juri@jurta.org>
18740 * battery.el (display-battery-mode): If `battery-status-function'
18741 or `battery-mode-line-format' is nil, display the message and set
18742 `display-battery-mode' to nil (bug#9363).
18744 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18746 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18747 bidi-string-mark-left-to-right; they are unnecessary now.
18749 2011-08-25 Deniz Dogan <deniz@dogan.se>
18751 * net/quickurl.el: Documentation typo fixes.
18753 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18755 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18757 2011-08-25 Glenn Morris <rgm@gnu.org>
18759 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18761 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18762 (smtpmail-via-smtp): Handle nil response from smtp.
18764 2011-08-24 Juri Linkov <juri@jurta.org>
18766 * proced.el (proced-marked): Inherit from `error' instead of
18767 `font-lock-warning-face'.
18769 * ibuffer.el (ibuffer-marked-face): Change default face from
18770 `font-lock-warning-face' to `warning'.
18771 (ibuffer-deletion-face): Change default face from
18772 `font-lock-type-face' to `error'.
18774 * battery.el (battery-update): Use the face `error' instead of
18775 `font-lock-warning-face' (bug#6117).
18777 2011-08-24 Juri Linkov <juri@jurta.org>
18779 * faces.el (success): Change face color from "Green3" to
18780 "ForestGreen" on light background (bug#9353).
18782 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18784 * window.el (quit-window): Rename from quit-restore-window.
18785 Use same arglist as old quit-window.
18786 (frame-auto-delete): Doc fix.
18788 * view.el (view-mode-exit): Use quit-window.
18790 2011-08-24 Juri Linkov <juri@jurta.org>
18792 * isearch.el (isearch-ring-adjust1): Start visiting previous
18793 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18794 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18795 for empty search string (when the last search string is reused
18796 automatically) to adjust the isearch ring to the last element and
18797 prepare the correct index for further M-p commands (bug#9185).
18799 2011-08-24 Kenichi Handa <handa@m17n.org>
18801 * international/ucs-normalize.el: If decomposition property of
18802 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18804 (nfd, nfkd): Likewise.
18806 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18808 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18809 from process filters aren't reliably transmitted to the surrounding
18810 accept-process-output.
18811 (mpc-proc-check): New function.
18812 (mpc-proc-sync): Use it (bug#8293)
18814 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18816 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18817 Add compatibility functions (bug#9313).
18819 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18821 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18823 * international/uni-bidi.el: Regenerate.
18825 2011-08-23 Kenichi Handa <handa@m17n.org>
18827 * international/charprop.el:
18828 * international/uni-bidi.el:
18829 * international/uni-category.el:
18830 * international/uni-combining.el:
18831 * international/uni-comment.el:
18832 * international/uni-decimal.el:
18833 * international/uni-decomposition.el:
18834 * international/uni-digit.el:
18835 * international/uni-lowercase.el:
18836 * international/uni-mirrored.el:
18837 * international/uni-name.el:
18838 * international/uni-numeric.el:
18839 * international/uni-old-name.el:
18840 * international/uni-titlecase.el:
18841 * international/uni-uppercase.el: Regenerate.
18843 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18845 * help.el (help-window-setup): Fix message displayed when other
18846 window is reused. (Bug#9341)
18848 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18850 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18851 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18853 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18855 * shell.el (shell-parse-pcomplete-arguments): New function.
18856 (shell-completion-vars): Use it instead (bug#9160).
18858 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18860 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18861 strings and comments (bug#9333).
18863 * emacs-lisp/debug.el (debug-arglist): New function.
18864 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18865 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18867 2011-08-22 Juri Linkov <juri@jurta.org>
18869 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18870 Revert regexp that highlights output switches to its old
18871 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18873 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18874 to check for empty output (bug#9226).
18876 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18878 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18879 symbol-constituent as the default, as that stops font-lock from
18880 working properly (Bug#8843).
18882 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18884 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18885 `coding-system-for-*' around the process open call to avoid
18886 auth-source side effects.
18887 (smtpmail-try-auth-methods): Expand the secret password.
18888 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18891 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18893 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18895 * emacs-lisp/find-func.el (find-function-noselect): New arg
18898 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18899 signal an error for built-in functions (Bug#6664).
18901 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18903 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18904 (smtpmail-try-auth-methods): Use it.
18906 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18908 * font-lock.el (font-lock-fontify-region)
18909 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18910 (font-lock-default-unfontify-buffer)
18911 (font-lock-default-fontify-region)
18912 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18914 * progmodes/compile.el (compilation-error-properties):
18915 Fix confusion between file struct and message struct (Bug#9319).
18916 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18919 * net/browse-url.el (browse-url-firefox): Don't call
18920 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18922 2011-08-20 Glenn Morris <rgm@gnu.org>
18924 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18926 * tutorial.el (tutorial--default-keys): Update some default bindings.
18928 * files.el (hack-local-variables): Fully ignore case for "mode:".
18930 2011-08-20 Alan Mackenzie <acm@muc.de>
18932 Resolve invalid use of a regexp in regexp-opt.
18934 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18935 detection for a java annotation.
18937 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18938 detection for a java annotation.
18940 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18942 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18944 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18946 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18949 2011-08-20 Alan Mackenzie <acm@muc.de>
18951 Fontify CPP expressions correctly when starting in the middle of
18952 such a construct. Mainly for when jit-lock etc. starts a chunk
18955 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18957 (c-make-font-lock-search-form): New function, extracted from
18958 c-make-font-lock-search-function.
18959 (c-make-font-lock-search-function): Use the above function.
18960 (c-make-font-lock-context-search-function): New function.
18961 (c-cpp-matchers): Enhance the preprocessor expression case with
18963 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18964 which takes an expression.
18966 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18968 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18970 * window.el (display-buffer-reuse-window)
18971 (display-buffer-pop-up-window): Don't reuse or split a side
18974 2011-08-19 Glenn Morris <rgm@gnu.org>
18976 * files.el (hack-local-variables-prop-line, hack-local-variables):
18977 Downcase "Mode:". (Bug#9331)
18979 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18981 * international/characters.el: Add L and R categories.
18983 * subr.el (bidi-string-mark-left-to-right): Rename from
18984 string-mark-left-to-right. Use category search.
18986 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18988 2011-08-18 Juri Linkov <juri@jurta.org>
18990 * faces.el (error, warning, success): New faces with definitions
18991 copied from old default values of `font-lock-warning-face',
18992 `compilation-warning', `compilation-info' (bug#6117).
18994 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18996 * progmodes/compile.el (compilation-error): Inherit from `error'.
18997 (compilation-warning): Inherit from `warning'.
18998 (compilation-info): Inherit from `success'.
19000 * dired.el (dired-marked): Inherit from `warning'.
19001 (dired-flagged): Inherit from `error'.
19003 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19005 * mail/smtpmail.el (auth-source): Require to avoid problems with
19006 binding variables (bug#9298). Also clean up some unused
19009 * net/network-stream.el (network-stream-open-starttls):
19010 Support using starttls.el without using gnutls-cli.
19012 2011-08-17 Juri Linkov <juri@jurta.org>
19014 * progmodes/grep.el (rgrep): Handle the case when
19015 `grep-find-command' is a cons cell (bug#9278).
19017 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19019 * window.el (display-buffer-pop-up-frame): Run frame creation
19020 function with BUFFER current (as special-display-popup-frame
19021 does). Reported by Drew Adams.
19023 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19025 * epa-mail.el: Simplify GnuPG group expansion using
19027 (epa-mail-group-alist, epa-mail-group-modtime)
19028 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19029 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19030 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19033 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19035 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19037 2011-08-16 Alan Mackenzie <acm@muc.de>
19039 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19040 Correct, to avoid the inside of macros.
19042 2011-08-16 Richard Stallman <rms@gnu.org>
19044 * epa-mail.el: Handle GnuPG group definitions.
19045 (epa-mail-group-alist, epa-mail-group-modtime)
19046 (epa-mail-gnupg-conf-file): New variables.
19047 (epa-mail-parse-groups, epa-mail-sync-groups)
19048 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19049 (epa-mail-expand-recipients): New functions.
19050 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19052 * mail/rmail.el (rmail-epa-decrypt): New command.
19054 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19055 Don't bind buffer-read-only, just inhibit-read-only.
19056 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19057 (epa-decrypt-armor-in-region): Make error message clearer.
19059 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19061 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19062 and "a2b" to "ab" for `prefix'.
19064 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19066 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19068 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19069 Fourquet (Bug#8804).
19071 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19073 * startup.el (argi): Declare as global variable (bug#9275).
19075 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19077 * subr.el (string-mark-left-to-right): Search the entire string
19078 for RTL script, not just the terminating character. Doc fix.
19080 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19082 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19084 (js--regexp-literal, js-syntax-propertize-function): Remove.
19085 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19086 (js-mode-map): Don't rebind electric keys.
19087 (js-insert-and-indent): Remove.
19088 (js-mode): Setup electric-layout and electric-indent instead.
19090 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19092 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19094 * epa.el (epa-progress-callback-function): Fix the logic of
19095 displaying progress.
19096 * epa-file.el (epa-file-insert-file-contents): Make progress
19097 display more user-friendly.
19098 (epa-file-write-region): Ditto.
19100 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19102 * subr.el (string-mark-left-to-right): New function.
19104 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19105 Use string-mark-left-to-right.
19106 (list-buffers-noselect): Caller changed.
19108 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19109 Use string-mark-left-to-right.
19110 (tabulated-list-print): Recenter after moving point.
19112 2011-08-10 Juri Linkov <juri@jurta.org>
19114 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19115 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19116 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19118 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19120 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19123 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19125 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19126 character. (Bug#6594)
19128 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19130 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19131 (image-dired--with-db-file): New macro.
19132 (image-dired-write-tags, image-dired-remove-tag)
19133 (image-dired-create-gallery-lists, image-dired-write-comments)
19134 (image-dired-get-comment, image-dired-mark-tagged-files)
19135 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19136 (image-dired-gallery-generate): Use insert-file-contents.
19138 * time.el (display-time-world-list, display-time-world-display):
19139 * time-stamp.el (time-stamp-string):
19140 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19141 set-time-zone-rule (Bug#7337).
19143 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19145 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19146 (epg-error-to-string, epg-errors-to-string): New function.
19147 (epg-wait-for-completion): Reverse errors list.
19148 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19149 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19150 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19151 (epg-sign-keys, epg-generate-key-from-file)
19152 (epg-generate-key-from-string): Format errors by using
19153 epg-errors-to-string (bug#9255).
19154 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19156 2011-08-07 Juri Linkov <juri@jurta.org>
19158 * faces.el (list-faces-display): Remove extra angle bracket
19159 from `help-mode-map'.
19161 * info.el (Info-history-toc-nodes): Doc fix.
19163 * longlines.el (longlines-mode): Doc fix.
19165 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19167 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19168 of statements and in a few more cases (bug#9183).
19170 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19172 (cl-transform-lambda): Use them (bug#9239).
19174 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19176 * window.el (display-buffer-same-window)
19177 (display-buffer-same-frame, display-buffer-other-window)
19178 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19179 (pop-to-buffer-other-window)
19180 (pop-to-buffer-same-frame-other-window)
19181 (pop-to-buffer-other-frame): Make them defuns.
19182 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19184 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19186 * subr.el (make-composed-keymap): Move from C. Change calling
19187 convention, and improve docstring to bring attention to a subtle point.
19188 * minibuffer.el (completing-read-default): Adjust accordingly.
19190 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19192 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19193 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19195 * net/trampver.el: Update release number.
19197 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19199 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19202 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19204 * mail/sendmail.el (sendmail-query-once): Restore the current
19205 buffer after querying (bug#9074).
19207 * dired.el (dired-flagged): Use different faces for marked and
19208 flagged files (bug#6117).
19210 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19213 * ido.el (ido-mode): Switch off the message if called
19216 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19217 before 587, since it appears that that's more likely to work for
19220 * cus-edit.el (custom-file): When running under emacs -q, always
19221 refuse to save the customizations, even if the .emacs file doesn't
19224 * info.el: Remove the `Info-beginning-of-buffer' function
19227 * net/network-stream.el (network-stream-open-starttls):
19228 Use `starttls-available-p' to see whether starttls.el can be used.
19230 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19232 * window.el (display-buffer-in-window): Don't set dedicated status
19233 of window here (Bug#9215).
19234 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19235 (display-buffer-pop-up-side-window)
19236 (display-buffer-in-side-window): Set dedicated status of window here.
19238 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19241 before binding generated-autoload-file.
19243 2011-08-01 Deniz Dogan <deniz@dogan.se>
19245 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19247 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19249 Sync with Tramp 2.2.2.
19251 * net/trampver.el: Update release number.
19253 2011-07-30 Juri Linkov <juri@jurta.org>
19255 * dired-aux.el (dired-touch-initial): Remove function.
19256 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19257 current time, and `default' to the last modification time of the
19258 current marked file (bug#6887).
19260 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19262 * simple.el (goto-line): Use string-to-number to provide a
19263 numeric argument to read-number (bug#9163).
19265 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19267 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19268 connection process, it could be nil.
19270 2011-07-27 Leo Liu <sdl.web@gmail.com>
19272 Simplify url handling in rcirc-mode.
19274 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19275 (rcirc-browse-url-at-mouse): Remove.
19276 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19278 2011-07-26 Alan Mackenzie <acm@muc.de>
19280 Fontify bitfield declarations properly.
19282 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19283 (c-symbol-chars): Now exported as a lang variable.
19284 (c-not-primitive-type-keywords): New lang variable.
19286 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19287 QT keyword "more" to prevent "more slots: ...." being spuriously
19288 parsed as a bitfield declaration.
19290 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19291 Refactor and enhance to handle bitfield declarations.
19292 (c-punctuation-in): New function.
19293 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19294 declarations properly.
19296 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19298 * calendar/icalendar.el (icalendar--all-events): Take care of
19299 multiple vcalendars in a single file.
19300 (icalendar--convert-float-to-ical): Checkdoc fixes.
19302 2011-07-25 Deniz Dogan <deniz@dogan.se>
19304 * image.el (insert-image): Clarifying docstring.
19306 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19308 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19309 `tramp-send-command-and-check' if there is no error.
19310 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19312 2011-07-22 Alan Mackenzie <acm@muc.de>
19314 Prevent cc-langs.elc being loaded at run time.
19316 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19319 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19320 "(require 'cc-langs)". Quote a form so it will evaluate at
19321 (cc-mode's) compilation time.
19323 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19325 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19326 loading. (Bug#9114)
19328 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19330 * window.el (display-buffer-pop-up-window)
19331 (display-buffer-pop-up-side-window)
19332 (display-buffer-in-side-window): Call display-buffer-set-height
19333 and display-buffer-set-width after setting the new window's
19334 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19336 2011-07-20 Sam Steingold <sds@gnu.org>
19338 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19339 (etags-tags-included-tables): Call `convert-standard-filename' on
19340 the file names contained in TAGS so that windows Emacs can handle
19341 TAGS files created by cygwin ctags.
19343 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19345 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19346 which apparently didn't work.
19348 2011-07-19 Roland Winkler <winkler@gnu.org>
19350 * proced.el (proced-send-signal): For *Marked Processes* buffer
19351 put point at beginning of buffer.
19353 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19355 * proced.el (proced-format): Make header lines align with the text
19358 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19360 * view.el (view-buffer): Allow running in `special' modes if we're
19361 visiting a file (bug#8615).
19363 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19365 * window.el (display-buffer-alist-of-strings-p)
19366 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19368 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19371 2011-07-18 Alan Mackenzie <acm@muc.de>
19373 Fontify declarators properly when, e.g., a jit-lock chunk begins
19374 inside a declaration.
19376 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19378 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19380 (c-complex-decl-matchers): Insert reference to
19381 c-font-lock-enclosing-decls.
19383 * progmodes/cc-engine.el (c-backward-single-comment):
19384 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19385 to nil around calls to (forward-comment -1).
19387 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19389 * image.el (put-image): Doc typo fix.
19391 * progmodes/etags.el (tags-search): Doc typo fix.
19393 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19394 password if we get errors 550 to 554.
19396 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19398 * net/gnutls.el (gnutls-log-level): Remove.
19400 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19401 indentation character (bug#6380).
19403 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19405 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19406 to clarify what the problem is (bug#4291).
19408 * simple.el (current-kill): Clarify what
19409 `interprogram-paste-function' does (bug#7500).
19410 (auto-fill-mode): Document `auto-fill-function' in relation to
19411 `auto-fill-mode' (bug#2470).
19413 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19415 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19416 method if slot is read-only (bug#9035).
19418 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19420 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19421 * window.el (pop-to-buffer): Select window used even if it was
19422 selected before, see discussion of (Bug#8615), (Bug#6954).
19423 Pass argument NORECORD on to select-frame-set-input-focus.
19425 2011-07-15 Glenn Morris <rgm@gnu.org>
19427 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19430 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19432 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19433 (gnutls-negotiate): Use it.
19435 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19437 * net/gnutls.el (gnutls-negotiate):
19438 Upcase `gnutls-algorithm-priority'.
19440 2011-07-15 Glenn Morris <rgm@gnu.org>
19442 * jka-compr.el (jka-compr-verbose): Move from here...
19443 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19444 Add missing :version tag.
19445 * info.el: No need to require jka-compr when compiling.
19447 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19449 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19450 (gnutls-negotiate): Use it.
19452 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19454 * info.el (Info-beginning-of-buffer): New command.
19455 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19456 announcing `b' as the key (bug#8325).
19457 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19459 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19461 * international/mule-cmds.el
19462 (describe-specified-language-support): Make the error message
19463 clearer (bug#8905).
19465 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19467 * isearch.el (isearch-barrier): Add a doc string, since it's
19468 mentioned in a function doc string (bug#8678).
19470 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19472 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19473 buffer argument (Bug#9083) and self-identifying label argument.
19475 2011-07-15 Glenn Morris <rgm@gnu.org>
19477 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19479 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19481 * man.el (Man-fontify-manpage): Fix message when formatting the
19482 man page (bug#7929).
19484 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19486 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19487 argument LRM; if non-nil, append an invisible LRM character to the
19489 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19490 last argument non-nil, when formatting buffer names.
19491 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19492 paragraph direction.
19494 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19496 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19497 the man page name (bug#7929).
19499 * image.el (put-image): Mention the `put-image' overlay property
19502 * scroll-bar.el (set-scroll-bar-mode): Mention that
19503 `scroll-bar-mode' lists the values (bug#7772).
19505 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19506 command (bug#7729).
19508 * rect.el (apply-on-rectangle): Return the point after the last
19510 (string-rectangle): Go to the point after the last operation
19513 * printing.el (pr-toggle-region): Clarify the documentation
19514 slightly (bug#7493).
19516 * time.el (display-time-update):
19517 Allow `display-time-mail-function' to return nil (bug#7158).
19518 Fix suggested by Detlev Zundel.
19520 * vc/diff.el (diff): Clarify the order the file names are read
19523 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19524 the doc string (bug#7015).
19526 * font-lock.el (font-lock-maximum-decoration): Mention what
19527 numeric levels mean (bug#6935).
19529 * startup.el (initial-buffer-choice): Don't mention the `none'
19530 selection, which is against policy.
19532 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19534 * window.el (display-buffer-normalize-special):
19535 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19537 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19539 * subr.el (version<, version<=, version=): Mention "-CVS" and
19540 "-12345" alpha version numbers.
19542 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19544 * bindings.el: Add advertised binding for set-mark-command
19547 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19549 * bindings.el (mode-line-other-buffer):
19550 * bookmark.el (bookmark-bmenu-2-window):
19551 * bs.el (bs-cycle-next, bs-cycle-previous):
19552 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19555 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19558 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19560 * follow.el (follow-debug-message, follow-redisplay):
19561 * jka-cmpr-hook.el (with-auto-compression-mode):
19562 Fix typos in docstrings.
19564 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19566 * subr.el (with-silent-modifications): Clarify somewhat what the
19567 macro inhibits (bug#6525).
19569 * simple.el (eval-expression): Note what it does if called
19570 interactively (bug#6495).
19572 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19574 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19575 Use pop-to-buffer buffer-or-name if it is nil.
19577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19578 Remove switch-to-buffer.
19580 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19582 * files.el (make-directory): Clarify that an error will be raised
19583 if there's an error (bug#6397).
19585 * startup.el (initial-buffer-choice): Add `none' as a choice
19588 * subr.el (add-hook): Clarify section about buffer-local hooks
19591 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19593 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19595 * tabify.el (untabify): Preserve the current column so that point
19596 doesn't move (bug#6032).
19598 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19600 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19601 Rewrite to avoid awkward possessive "s" (bug#5986).
19603 2011-07-13 Glenn Morris <rgm@gnu.org>
19605 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19606 (dired-insert-directory): Give a message the first time
19607 if ls is found not to support --dired.
19609 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19611 * simple.el (toggle-truncate-lines): Clarify what is toggled
19612 (bug#5580). Text by Drew Adams.
19614 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19616 * simple.el (blink-matching-open): Make the error message from the
19617 last change less verbose.
19619 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19621 * font-lock.el (font-lock-comment-face): Use the high contrast
19622 "yellow" color for font-lock-comment-face on low color terminals
19623 using a dark background color (bug#4221).
19625 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19627 * dired.el (dired-insert-set-properties): Make the doc string
19628 reflect what it does now (bug#5325).
19630 * simple.el (blink-matching-open): Say that we were unable to find
19631 the match within the limit, if we're limited (bug#5122).
19633 * international/mule-cmds.el (prefer-coding-system): Add an
19634 example (bug#4869).
19636 * progmodes/etags.el (tags-search): Document `file-list-form'
19639 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19641 * net/browse-url.el (browse-url-default-browser)
19642 (browse-url-browser-function): Make the default browser choice a
19643 bit more logical (bug#4300). Also clean up the doc string.
19645 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19647 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19648 binary endings (bug#4440).
19650 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19652 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19653 which can be pretty annoying (bug#8971).
19655 * jka-compr.el (jka-compr-verbose): New variable, and use
19656 throughout (bug#8971).
19658 * info.el (Info-find-file): Fall back on the installation
19659 directory if we can't find the info node anywhere else.
19661 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19663 * vc/vc.el (vc-revert-file):
19664 Don't set file time-stamp in the past. (Bug#5181)
19666 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19668 * files.el (after-find-file): Give a better error message when
19669 trying to find a symlink that points to a file that doesn't exist
19672 * progmodes/cc-vars.el: Remove (probably) misleading comment
19675 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19677 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19679 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19681 * mouse-sel.el: Hack restoring functionality, while keeping
19682 compatibility with 2010-07-03 changes to mouse selection.
19683 (mouse-sel-primary-overlay): New var.
19684 (mouse-sel-selection-alist): Use it.
19685 (mouse-sel-mode): Doc fix; remove points that are default features
19688 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19690 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19691 Fix previous fix (bug#2490).
19693 2011-07-12 Roland Winkler <winkler@gnu.org>
19695 * textmodes/bibtex.el (bibtex-initialize):
19696 Use pop-to-buffer-same-window.
19697 (bibtex-search-entries): Fix interactive call.
19699 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19701 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19702 Fontise bytecomp Error lines more correctly (bug#2490).
19703 Fix suggested by Johan Bockgård.
19705 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19707 * dired-x.el (dired-guess-default): Use `delete-dups'.
19709 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19711 * dired.el (dired-mark-prompt):
19712 * dired-aux.el (dired-read-shell-command): Doc fix.
19714 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19716 * mail/sendmail.el (sendmail-query-once):
19717 Use `customize-save-variable' unconditionally, now that it works under
19720 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19722 * cus-edit.el (custom-file): Take an optional no-error variable.
19723 (customize-save-variable): Set the variable, and give a warning if
19724 running under "emacs -q".
19726 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19728 * loadhist.el (unload-feature-special-hooks):
19729 Add `auto-coding-functions', `fill-nobreak-predicate' and
19730 `find-directory-functions' (bug#5327).
19732 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19734 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19736 * cus-edit.el (custom-guess-name-alist): -alist variables should
19737 use the `alist' type (bug#3120). Suggested by Drew Adams.
19739 * printing.el: Add documentation to all the `pr-toggle-' commands.
19741 2011-07-11 Leo Liu <sdl.web@gmail.com>
19743 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19744 backends where it makes sense (bug#2623).
19746 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19748 * dired-x.el (dired-guess-default): Remove duplicate shell command
19749 entries (bug#2028).
19750 (dired-guess-default): Fix grammar in doc string (bug#2028).
19751 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19753 * subr.el (remove-duplicates): New conveniency function.
19755 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19757 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19760 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19762 * window.el (display-buffer-normalize-default): Don't invert
19763 meaning of even-window-heights. Reported by Eli Zaretskii
19766 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19768 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19770 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19772 * window.el (display-buffer): Fix arguments to
19773 display-buffer-reuse-window in last change.
19775 * faces.el (link): Use a less saturated blue on light backgrounds.
19777 * startup.el (fancy-startup-text, fancy-about-text)
19778 (fancy-startup-tail): Use font-lock faces, for background safety.
19780 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19782 * emulation/viper-cmd.el (viper-change-state-to-vi):
19783 Limit triggering of abbrev expansion (Bug#9038).
19785 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19787 * window.el (display-buffer-default-specifiers): Remove.
19788 (display-buffer-macro-specifiers): Remove default specifiers.
19789 (display-buffer-alist): Default to nil.
19790 (display-buffer-reuse-window): New optional argument other-window.
19791 (display-buffer-pop-up-window): Allow splitting internal
19792 windows. Check whether a live window was created.
19793 (display-buffer-other-window-means-other-frame)
19794 (display-buffer-normalize-arguments): Rename to
19795 display-buffer-normalize-argument and rewrite. Set the
19796 other-window specifier.
19797 (display-buffer-normalize-special): New function.
19798 (display-buffer-normalize-options): Rename to
19799 display-buffer-normalize-default and rewrite.
19800 (display-buffer-normalize-options-inhibit): Remove.
19801 (display-buffer-normalize-specifiers): Rewrite.
19802 (display-buffer): Process other-window specifier and call
19803 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19805 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19806 (display-buffer-alist-set): Don't handle 'unset default values.
19807 (display-buffer-in-window, display-buffer-alist-set):
19808 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19809 <tassilo@member.fsf.org>.
19811 2011-07-09 Leo Liu <sdl.web@gmail.com>
19813 * register.el (insert-register): Restore accidental change on
19814 2011-06-26. (Bug#9028)
19816 2011-07-09 Glenn Morris <rgm@gnu.org>
19818 * subr.el (remq): Handle the empty list. (Bug#9024)
19820 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19822 * mail/sendmail.el (send-mail-function): No longer delay custom
19824 * custom.el (custom-initialize-delay): Doc fix.
19826 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19828 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19830 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19832 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19833 human-friendly prompt.
19835 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19837 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19838 provided by a particular plugin.
19840 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19842 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19843 save customizations (with "emacs -Q"), just set the variable
19844 instead of erroring out.
19846 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19848 2011-07-08 Juri Linkov <juri@jurta.org>
19850 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19851 (archive-zip-update-case): Use 7z if found by `executable-find'.
19852 The order of searching the available programs is the same as in
19853 `archive-zip-extract' (bug#8968).
19855 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19857 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19858 (menu-bar-options-menu): Tweak descriptions.
19860 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19862 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19863 menu items into verb phrases (bug#1421). Also refill to fit under
19866 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19868 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19869 (Info-read-node-name): Doc fix (Bug#1084).
19871 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19872 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19873 (end-of-sexp, beginning-of-sexp)
19874 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19875 (forward-symbol, forward-same-syntax, word-at-point)
19876 (sentence-at-point): Doc fix (Bug#1144).
19878 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19880 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19881 should cover it (bug#1281).
19883 * cus-edit.el (custom-show): Mark as obsolete.
19885 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19886 negotiation fails, then possibly try again with a non-encrypted
19887 connection (bug#9017).
19889 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19892 2011-07-07 Richard Stallman <rms@gnu.org>
19894 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19895 property, and handle its changed format.
19896 Look for the correct line number.
19897 Use file's line contents (but not past first =) to find
19898 correct line in message.
19900 2011-07-07 Kenichi Handa <handa@m17n.org>
19902 * international/characters.el (build-unicode-category-table):
19904 (unicode-category-table): Set it by unicode-property-table-internal.
19906 * international/mule-cmds.el (char-code-property-alist): Move to
19908 (get-char-code-property): Call unicode-property-table-internal to
19909 load a file. Call get-unicode-property-internal where necessary.
19910 (put-char-code-property): Call unicode-property-table-internal to
19911 load a file. Call put-unicode-property-internal where necessary.
19912 put-unicode-property-internal where necessary.
19913 (char-code-property-description):
19914 Call unicode-property-table-internal to load a file.
19916 * international/charprop.el:
19917 * international/uni-bidi.el:
19918 * international/uni-category.el:
19919 * international/uni-combining.el:
19920 * international/uni-comment.el:
19921 * international/uni-decimal.el:
19922 * international/uni-decomposition.el:
19923 * international/uni-digit.el:
19924 * international/uni-lowercase.el:
19925 * international/uni-mirrored.el:
19926 * international/uni-name.el:
19927 * international/uni-numeric.el:
19928 * international/uni-old-name.el:
19929 * international/uni-titlecase.el:
19930 * international/uni-uppercase.el: Regenerate.
19932 * loadup.el: Load international/charprop.el before
19933 international/characters.
19935 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19937 * window.el (next-buffer, previous-buffer): Signal an error if
19938 called from a minibuffer window.
19940 * bindings.el: Revert 2011-07-04 change.
19942 2011-07-06 Richard Stallman <rms@gnu.org>
19944 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19945 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19946 Treat markers like ints.
19947 (rmail-mime-entity): Doc fix.
19949 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19951 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19952 defcustom again for backwards compatibility.
19954 * simple.el (shell-command-on-region): Fill.
19956 * dired-aux.el (dired-kill-line): Add a doc string.
19958 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19959 to "\\sw\\|\\s_" (bug#358).
19961 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19962 (dired-unmark-backward): Ditto.
19963 (dired-flag-backup-files): Ditto.
19965 * dired-x.el (dired-mark-sexp): Ditto.
19967 2011-07-06 Richard Stallman <rms@gnu.org>
19969 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19970 (rmail-mime-entity): New arg TRUNCATED.
19971 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19973 (rmail-mime-save): Warn if entity is truncated.
19974 (rmail-mime-toggle-hidden): Likewise, for showing.
19975 (rmail-mime-process-multipart): Record when an entity is truncated.
19977 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19978 if ENTITY is a string.
19980 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19982 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19983 of faces when `M-C-x'-ing their definitions (bug#8378).
19984 Also clean up the code slightly.
19986 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19987 because that makes the colors go away.
19989 * mail/sendmail.el (send-mail-function): Change the default to
19990 `sendmail-query-once'.
19991 (sendmail-query-once): Add an autoload cookie.
19993 * net/network-stream.el (network-stream-open-starttls): Try using
19994 a plain connection even if the server offered STARTTLS, and we
19995 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19996 capability. This should make smtpmail.el work in slightly more
19999 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20001 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20003 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20005 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20007 * progmodes/sql.el: Version 3.0
20008 (sql-product-alist): Add product :completion-object,
20009 :completion-column, and :statement attributes.
20010 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20011 (sql-mode-syntax-table): Mark all punctuation.
20012 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20014 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20015 (sql-mode-oracle-font-lock-keywords): Improve.
20016 (sql-oracle-show-reserved-words): New function for development.
20017 (sql-product-font-lock): Simplify for source code buffers.
20018 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20020 (sql-highlight-product): Set product specific syntax table.
20021 (sql-mode-map): Add statement movement functions.
20022 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20024 (sql-statement-regexp, sql-beginning-of-statement)
20025 (sql-end-of-statement, sql-signum): New functions.
20026 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20027 (sql-show-sqli-buffer): Bug fix.
20028 (sql-interactive-mode): Store connection data as buffer local.
20029 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20030 with sql-interactive-mode.
20031 (sql-save-connection): Save buffer local settings.
20032 (sql-connection-menu-filter): Change menu entry name.
20033 (sql-product-interactive): Bug fix.
20034 (sql-preoutput-hold): New variable.
20035 (sql-interactive-remove-continuation-prompt): Bug fixes.
20036 (sql-debug-redirect): New variable.
20037 (sql-str-literal): New function.
20038 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20040 (sql-oracle-save-settings, sql-oracle-restore-settings)
20041 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20042 (sql-completion-object, sql-completion-column)
20043 (sql-completion-sqlbuf): New variables.
20044 (sql-build-completions-1, sql-build-completions)
20045 (sql-try-completion): New functions.
20046 (sql-read-table-name): Use them.
20047 (sql-contains-names): New buffer local variable.
20048 (sql-list-all, sql-list-table): Use it.
20049 (sql-oracle-completion-types): New variable.
20050 (sql-oracle-completion-object, sql-sqlite-completion-object)
20051 (sql-postgres-completion-object): New functions.
20053 2011-07-06 Glenn Morris <rgm@gnu.org>
20055 * window.el (pop-to-buffer): Doc fix.
20057 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20059 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20061 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20063 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20065 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20067 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20069 * button.el (button): Inherit from link face. Suggested by Dan
20072 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20074 * progmodes/gdb-mi.el: Fit in 80 columns.
20075 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20078 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20079 if imenu is simply not configured (bug#8941).
20081 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20083 * allout.el (allout-post-undo-hook): New allout outline-change
20084 event hook to signal undo activity.
20085 (allout-post-command-business): Run allout-post-undo-hook if an
20086 undo just occurred.
20087 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20088 * allout-widgets.el (allout-widgets-after-undo-function):
20089 Ensure the integrity of the current item's decoration after it has been
20090 in the vicinity of an undo.
20091 (allout-widgets-mode): Include allout-widgets-after-undo-function
20092 on the new allout-post-undo-hook.
20094 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20096 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20097 Let define-derived-mode define it.
20098 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20099 cycles of abbrev-table inheritance (bug#8998).
20101 2011-07-05 Roland Winkler <winkler@gnu.org>
20103 * textmodes/bibtex.el: Add support for biblatex.
20104 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20105 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20106 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20107 (bibtex-entry-alist, bibtex-field-alist): New variables.
20108 (bibtex-entry-field-alist): Obsolete alias for
20109 bibtex-BibTeX-entry-alist.
20110 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20111 (bibtex-set-dialect): New command.
20112 (bibtex-entry-type, bibtex-entry-head)
20113 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20114 Bind via bibtex-set-dialect.
20115 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20116 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20117 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20118 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20119 Define via bibtex-set-dialect.
20120 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20121 Obey bibtex-no-opt-remove-re.
20122 (bibtex-vec-push, bibtex-vec-incr): New functions.
20123 (bibtex-format-entry, bibtex-field-list)
20124 (bibtex-print-help-message, bibtex-validate)
20125 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20127 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20129 * progmodes/compile.el (compilation-goto-locus):
20130 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20131 * bs.el (bs-cycle-next, bs-cycle-previous):
20132 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20133 * bindings.el (mode-line-other-buffer):
20134 * autoinsert.el (auto-insert):
20135 * arc-mode.el (archive-extract):
20136 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20138 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20140 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20141 Fix check of `emacs-lock-unlockable-modes'.
20142 Coerce true values of `emacs-lock--try-unlocking' to t.
20144 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20146 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20147 * emacs-lock.el: New file.
20149 2011-07-05 Julien Danjou <julien@danjou.info>
20151 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20152 than `boundp' to check if face is set.
20154 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20156 * register.el (registerv-make):
20157 * window.el (window-min-height): Fix typos in docstrings.
20159 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20161 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20164 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20166 * server.el (server-execute): Catch quit and call
20167 `server-return-error' to pass the error back to emacsclient and
20168 close the connection (bug#8942).
20170 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20172 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20173 insecure exception for current topic. Also note that auto-saves
20174 are handled differently.
20176 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20177 State variables for tracking auto-save inhibition situation.
20179 (allout-write-contents-hook-handler): Rename from
20180 'allout-write-file-hook-handler', and describe how it depends on
20181 write-contents-functions sensitivity to non-nil value to prevent
20184 (allout-auto-save-hook-handler): Remove. auto-save does not check
20185 this in individual buffers, only in the starting buffer, so this
20186 is not the right way for us to inhibit auto-save in a buffer
20187 according to its condition.
20189 (allout-mode): Use new allout-write-contents-hook-handler, and
20190 only with write-contents-functions. Remove auto-save provisions -
20191 they're implemented elsewhere.
20193 (allout-before-change-handler): If undo is in progress, note that
20194 for attention of allout-post-command-business.
20196 (allout-post-command-business): If the command we're following was
20197 an undo, check for change in the status of encrypted items and
20198 adjust auto-save inhibitions accordingly.
20200 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20201 according to whether there are or aren't any plain-text topics
20202 pending encryption.
20204 (allout-inhibit-auto-save-info-for-decryption):
20205 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20206 if there are plain-text topics pending encryption.
20208 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20209 buffer-saved-size and some allout state to not inhibit auto-saves
20210 if there are no longer any plain-text topics pending encryption.
20212 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20213 No longer provide for exemption of the current topic.
20215 2011-07-04 Juri Linkov <juri@jurta.org>
20217 Add 7z operations to delete and save changed members (bug#8968).
20218 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20220 (archive-7z-write-file-member): New function.
20221 (archive-7z-summarize): Fix the number of dashes in the
20224 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20226 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20229 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20231 * bindings.el: Ignore next-buffer and previous-buffer in
20232 minibuffer-local-map.
20234 * font-lock.el (font-lock-builtin-face): Change light background
20235 color to dark slate blue (Bug#6693).
20237 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20239 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20241 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20243 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20244 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20245 Add switch-to-buffer.
20247 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20249 * isearch.el (isearch-search-fun-function): Clarify further the
20250 meaning of the function returned.
20252 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20254 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20256 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20257 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20259 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20260 `tramp-default-remote-path' does not exist.
20261 (tramp-send-command-and-read): New optional argument NOERROR.
20262 (tramp-open-connection-setup-interactive-shell)
20263 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20264 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20265 (tramp-process-sentinel): Flush also process' connection property.
20266 (tramp-sh-handle-start-file-process): Do not set process
20267 sentinel. It is done now ...
20268 (tramp-maybe-open-connection): ... here. (Bug#8929)
20270 2011-07-04 MON KEY <monkey@sandpframing.com>
20272 * play/animate.el (animate-string): Doc fixes and allow changing
20273 the buffer name (bug#5417).
20275 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20277 * play/animate.el (animation-buffer-name): Rename from *animate*.
20279 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20281 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20282 This is simpler and helps future-proof the code.
20283 (timer-until): Use time-subtract and float-time.
20284 (timer--time-less-p): Use time-less-p.
20286 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20288 * type-break.el (timep): Use the value of `float-time' to avoid a
20289 byte-compiler warning.
20291 * server.el (server-eval-and-print): Return any result, even nil.
20293 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20295 * type-break.el: Accept time formats that the builtins accept.
20296 (timep, type-break-time-difference): Accept any format that
20297 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20298 This is simpler and helps future-proof the code.
20299 (type-break-time-difference): Round rather than ignoring
20300 subseconds components.
20302 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20304 * info.el (Info-apropos-matches): Make non-interactive, since it
20305 doesn't seem to do anything useful as a command (bug#8829).
20307 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20309 * frame.el (frame-background-mode, frame-set-background-mode):
20310 Move from faces.el.
20311 (frame-default-terminal-background): New function.
20313 * custom.el (custom-push-theme): Don't record faces in `changed'
20314 theme; this doesn't work correctly for per-frame face settings.
20315 (disable-theme): Use face-set-after-frame-default to reset faces.
20316 (custom--frame-color-default): New function.
20318 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20320 * dired.el (dired-flagging-regexp): Remove unused variable
20323 2011-03-29 Kevin Ryde <user42@zip.com.au>
20325 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20326 `perl-Test2' extend to match possible "fail #N" rep count
20329 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20331 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20332 `smtpmail-via-smtp' now returns the error instead of nil.
20334 * isearch.el (isearch-search-fun-function): Clarify the doc string
20337 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20339 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20340 unnecessary spaces (bug#8987).
20342 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20344 * net/network-stream.el (open-network-stream): Use the
20345 :end-of-capability command thoughout.
20347 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20349 * net/network-stream.el (open-network-stream): Add the
20350 :end-of-capability command parameter, used by pop3.el.
20352 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20354 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20356 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20357 for list)" (bug#6475).
20359 * files.el (file-expand-wildcards): Ignore non-readable
20360 sub-directories while trying to find matches instead of signaling
20361 an error (bug#6297).
20363 * man.el (Man-reference-regexp): Allow matching possible
20364 word-wrapped references (bug#6289).
20366 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20367 for consistency with the other vc buffers (bug#6197).
20368 (vc-checkin): Ditto.
20370 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20372 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20374 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20376 * custom.el (defcustom): Clarify that :set is only used in the
20377 Customize user interface (bug#6089).
20379 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20380 associated with a file, refuse to run instead of erroring out
20383 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20384 the doc string, since it appears that using `fill-column' always
20385 controls the width (bug#7845).
20387 * simple.el (shell-command-on-region): Say where the error output
20388 went if `shell-command-default-error-buffer' is set (bug#6857).
20390 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20392 * allout.el (allout-yank-processing): Adjust cursor position for
20393 backwards-deleted space.
20395 (allout-rebullet-heading): Register changes with
20396 allout-exposure-changed-hook, so the modified topic is properly
20399 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20401 * minibuffer.el (completion-in-region): Document PREDICATE
20404 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20405 of keyword/argument pairs (bug#6904).
20407 * replace.el (multi-occur):
20408 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20410 2011-07-02 Drew Adams <drew.adams@oracle.com>
20412 * dired.el (dired-mark-if): Make the message about whether it's
20413 marking or unmarking clearer (bug#8523).
20415 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20417 * disp-table.el (display-table-print-array): New function.
20418 (describe-display-table): Use it to print the vectors more pretty
20421 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20423 * window.el (window-state-get-1): Don't assign clone numbers.
20424 Add clone-of item to list of window parameters.
20425 (window-state-put-2): Don't process clone numbers.
20426 (display-buffer-alist): Fix doc-string.
20428 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20430 * subr.el (remq): Don't allocate if it's not needed.
20431 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20432 (keymap--merge-bindings): New functions.
20433 (keymap-canonicalize): Use them to refine the canonicalization.
20434 * minibuffer.el (minibuffer-local-completion-map)
20435 (minibuffer-local-must-match-map): Move initialization from C.
20436 (minibuffer-local-filename-completion-map): Move initialization from C;
20437 don't inherit from anything here.
20438 (minibuffer-local-filename-must-match-map): Make obsolete.
20439 (completing-read-default): Use make-composed-keymap to combine
20440 minibuffer-local-filename-completion-map with either
20441 minibuffer-local-must-match-map or
20442 minibuffer-local-filename-completion-map.
20444 2011-07-01 Glenn Morris <rgm@gnu.org>
20446 * type-break.el (type-break-time-sum): Use dolist.
20448 * textmodes/flyspell.el (flyspell-word-search-backward):
20449 Replace CL function.
20451 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20453 * mouse.el (mouse--strip-first-event): New function.
20454 (function-key-map): Use it to map fringe clicks to normal clicks
20457 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20458 (vc-bzr-revision-completion-table): Add support for annotate and date.
20460 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20461 inherit from parent.
20463 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20465 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20466 (dired-show-file-type): Doc fixup (bug#8818).
20468 * dired.el (dired-mode): Fix up the doc string as suggested by
20469 Drew Adams (bug#8817).
20471 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20472 cookie, since the manual says that it should be possible to add
20473 this function to `find-file-hook' (bug#8709).
20475 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20477 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20478 here. Noted Ted Zlatanov as the maintainer.
20479 (cfengine-common-settings, cfengine-common-syntax): New functions
20480 to set up common things between `cfengine-mode' and
20482 (cfengine3-mode): New mode.
20483 (cfengine3-defuns cfengine3-defuns-regex
20484 (cfengine3-class-selector-regex cfengine3-category-regex)
20485 (cfengine3-vartypes cfengine3-font-lock-keywords)
20486 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20487 (cfengine3-indent-line): Add from cfengine3.el.
20489 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20491 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20493 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20495 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20497 * window.el (same-window-buffer-names, same-window-regexps)
20498 (same-window-p, special-display-frame-alist)
20499 (special-display-popup-frame, special-display-function)
20500 (special-display-buffer-names, special-display-regexps)
20501 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20502 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20503 (split-window-preferred-function, split-height-threshold)
20504 (split-width-threshold, even-window-heights)
20505 (display-buffer-mark-dedicated, window-splittable-p)
20506 (split-window-sensibly, window-safely-shrinkable-p):
20508 (display-buffer): Don't spread args with function specifier
20509 because special-display-popup-frame won't like it.
20511 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20513 Time-stamp simplifications and fixes.
20514 These improve accuracy slightly, and future-proof the code
20515 against some potential changes to current-time format.
20517 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20518 by using time-since and float-time.
20520 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20521 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20522 + NNN microseconds".
20524 * type-break.el (type-break-time-sum): Rewrite using time-add.
20526 * play/hanoi.el (hanoi-current-time-float): Remove.
20527 All uses replaced by float-time.
20529 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20530 This yields a more-accurate answer.
20531 (rng-time-to-float): Remove; no longer needed.
20533 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20535 * calendar/timeclock.el (timeclock-seconds-to-time):
20536 Defalias to seconds-to-time, since they're the same thing.
20538 * emacs-lisp/elp.el (elp-elapsed-time):
20539 * emacs-lisp/benchmark.el (benchmark-elapse):
20540 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20542 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20544 * window.el (bury-buffer): Don't iconify the only frame.
20545 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20546 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20548 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20550 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20551 Add mouse-yank-primary.
20553 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20555 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20557 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20559 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20560 (find-library-name): Use it to find relative load names when provided
20561 absolute file name (bug#8803).
20563 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20565 * textmodes/flyspell.el (flyspell-word): Consider words that
20566 differ only in case as potential doublons (bug#5687).
20568 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20569 Remove two rather uninteresting debugging-like messages to make
20570 debbugs.el more silent.
20572 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20573 a password-like phrase.
20575 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20577 * progmodes/cc-guess.el: New file.
20579 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20581 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20582 derived from `c-basic-common-init'.
20584 * progmodes/cc-mode.el (top-level): Require cc-guess.
20585 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20587 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20589 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20591 2011-06-30 Alan Mackenzie <acm@muc.de>
20593 * progmodes/cc-engine.el (c-guess-continued-construct):
20594 Correct the handling of template-args-cont, particularly for when font
20595 lock is disabled. Name this case as "CASE G".
20597 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20599 * allout.el (allout-yank-processing): Fix injection of extra space
20600 between bullet and non-whitespace character in first topic when
20601 pasting, ensuring that the actual spacing in the pasted topic
20602 following the bullet char is preserved. This extra space was
20603 causing pasted encrypted topics to get a decrypted status even
20604 when the content was actually still encrypted. Now the decryption
20605 status from before the paste is preserved.
20607 (allout-flag-region): Set all allout overlays so they evaporate
20608 when reduced to zero length (evanescent), to prevent overlay
20611 2011-06-30 Glenn Morris <rgm@gnu.org>
20613 * w32-fns.el (w32-charset-info-alist): Declare.
20615 * find-dired.el (find-grep-options): Simplify.
20617 * term/ns-win.el (ns-set-resource): Declare.
20619 * ses.el (row, col): Declare dynamic variables honestly.
20621 * textmodes/reftex-parse.el (index-tags): Declare.
20623 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20625 * cus-edit.el (customize-push-and-save): New function.
20627 * files.el (hack-local-variables-confirm): Use it.
20629 * custom.el (load-theme): New arg NO-CONFIRM.
20630 Use customize-push-and-save (Bug#8720).
20631 (custom-enabled-themes): Doc fix.
20633 * cus-theme.el (customize-create-theme)
20634 (custom-theme-merge-theme): Callers to load-theme changed.
20636 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20638 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20639 short URLs have at least one dot in them (bug #7614).
20641 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20642 nil, because using a pty is apparently too slow (bug #895).
20644 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20646 * mail/sendmail.el (sendmail-query-once): New function.
20647 (sendmail-query-once-function): New variable.
20649 2011-06-29 Glenn Morris <rgm@gnu.org>
20651 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20653 * ses.el (top-level): Require cl when compiling.
20654 (ses-set-localvars): Fix error statement.
20655 Call it at compile time to silence a storm of warnings.
20657 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20659 * window.el (normalize-live-buffer): Rename to
20660 window-normalize-buffer.
20661 (normalize-live-frame): Rename to window-normalize-frame.
20662 (normalize-any-window): Rename to window-normalize-any-window.
20663 (normalize-live-window): Rename to window-normalize-live-window.
20664 (make-window-atom): Rename to window-make-atom.
20665 (window-resize-reset): Rename to window--resize-reset.
20666 (window-resize-reset-1): Rename to window--resize-reset-1.
20667 (resize-mini-window): Rename to window--resize-mini-window.
20668 (resize-subwindows-skip-p): Rename to
20669 window--resize-subwindows-skip-p.
20670 (resize-subwindows-normal): Rename to
20671 window--resize-subwindows-normal.
20672 (resize-subwindows): Rename to window--resize-subwindows.
20673 (resize-other-windows): Rename to window--resize-siblings.
20674 (resize-this-window): Rename to window--resize-this-window.
20675 (resize-root-window): Rename to window--resize-root-window.
20676 (resize-root-window-vertically): Rename to
20677 window--resize-root-window-vertically.
20678 (normalize-buffer-to-display): Rename to
20679 window-normalize-buffer-to-display.
20680 (normalize-buffer-to-switch-to): Rename to
20681 window-normalize-buffer-to-switch-to.
20682 Correspondingly update all callers of the functions listed
20684 (display-buffer-alist, display-buffer-normalize-arguments)
20685 (display-buffer-normalize-options, display-buffer)
20686 (display-buffer-alist-set): Use "function" instead of
20689 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20691 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20692 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20693 debbugs.gnu.org. Mention acknowledgment email.
20695 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20697 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20698 buffer multibyteness, since it shouldn't matter.
20700 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20702 * window.el (display-buffer-in-side-window): Handle dedicated
20703 windows as in display-buffer-reuse-window.
20704 (display-buffer-normalize-alist): Use value of override
20706 (display-buffer-normalize-specifiers): Use value of
20707 other-window-means-other-frame specifier.
20708 (display-buffer-alist): Rewrite some texts in widgets.
20709 (display-buffer): Spread arguments when calling function
20710 specified by fun-with-args.
20712 2011-06-28 Deniz Dogan <deniz@dogan.se>
20714 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20717 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20718 selectors (Bug#5732).
20719 (css-proprietary-nmstart-re): Use `regexp-opt'.
20721 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20723 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20724 (eshell-ls-date-format): New defcustom.
20725 (eshell-ls-file): Use it.
20727 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20729 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20731 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20733 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20734 (ange-ftp-make-tmp-name): New arg.
20735 (ange-ftp-file-local-copy): Use it.
20737 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20739 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20740 no-conversion (Bug#8870).
20742 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20744 * window.el (window-right, window-left, window-child)
20745 (window-child-count, window-last-child)
20746 (window-iso-combination-p, walk-window-tree-1)
20747 (window-atom-check-1, window-tree-1, delete-window)
20748 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20749 new naming conventions - window-vchild, window-hchild,
20750 window-next and window-prev are now called window-top-child,
20751 window-left-child, window-next-sibling and window-prev-sibling
20753 (resize-window-reset): Rename to window-resize-reset.
20754 (resize-window-reset-1): Rename to window-resize-reset-1.
20755 (resize-window): Rename to window-resize.
20756 (window-min-height, window-min-width)
20757 (resize-mini-window, resize-this-window, resize-root-window)
20758 (resize-root-window-vertically, adjust-window-trailing-edge)
20759 (enlarge-window, shrink-window, maximize-window)
20760 (minimize-window, delete-window, quit-restore-window)
20761 (split-window, balance-windows, balance-windows-area-adjust)
20762 (balance-windows-area, window-state-put-2)
20763 (display-buffer-even-window-sizes, display-buffer-set-height)
20764 (display-buffer-set-width, set-window-text-height)
20765 (fit-window-to-buffer): Rename all "resize-window" prefixed
20766 calls to use the "window-resize" prefix convention.
20767 (display-buffer-alist): Fix symbol for label specifier.
20768 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20769 corresponding specifier.
20770 Reported by Juanma Barranquero <lekktu@gmail.com>.
20772 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20774 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20776 (ses-call-printer): Does not pass an empty string to formatter when the
20777 cell is empty to keep from barking printer Calc math-format-value.
20779 2011-06-27 Richard Stallman <rms@gnu.org>
20781 * battery.el (battery-mode-line-limit): New variable.
20782 (battery-update): Handle it.
20784 * mail/rmailmm.el (rmail-mime-process-multipart):
20785 Handle truncated messages.
20787 2011-06-27 Glenn Morris <rgm@gnu.org>
20789 * progmodes/flymake.el (flymake-err-line-patterns):
20790 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20792 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20794 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20795 (ses--clean-!, ses--clean-_): New functions.
20796 (ses-range): Add configurability of readout order, and conversion
20799 * ses.el (ses-repair-cell-reference-all): New function.
20800 (ses-cell-symbol): Set macro as safe, so that it can be used in
20803 * ses.el: Update cycle detection algorithm.
20804 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20805 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20806 (ses-set-localvars): New function.
20807 (ses-make-cell): Add property-list as a cell element.
20808 (ses-cell-property-get-fun, ses-cell-property-get)
20809 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20810 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20812 (ses-cell-property-set, ses-cell-property-pop)
20813 (ses-cell-property-get-handle): New macro.
20814 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20815 New aliases, used for code readability.
20816 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20818 (ses-self-reference-early-detection): New defcustom.
20819 (ses-formula-references): Robustify against self-referring cells.
20820 (ses-mode): Use ses-set-localvars.
20821 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20822 before lauching the update processing.
20823 (ses-initialize-Dijkstra-attempt): New function.
20824 (ses-recalculate-cell): Update for cycle detection based on
20825 Dijkstra algorithm.
20827 * ses.el: Fix commenting and indenting convention.
20829 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20831 * bs.el (bs-cycle-next): Complete last change.
20833 2011-06-27 Drew Adams <drew.adams@oracle.com>
20835 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20837 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20839 * net/network-stream.el (network-stream-open-starttls):
20840 Don't re-get capabilities unless we've reestablished connection.
20841 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20843 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20844 to binary to possibly avoid line encoding issues on Windows (among
20847 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20849 * net/network-stream.el (open-network-stream): Return an :error
20850 saying what the problem was, if possible.
20852 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20855 * net/network-stream.el (network-stream-open-starttls): If we
20856 wanted to use STARTTLS, and the server offered it, but we weren't
20857 able to because we had no STARTTLS support, then close the connection.
20858 (open-network-stream): Return an :error element, if present.
20860 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20862 * hl-line.el (hl-line-sticky-flag): Doc fix.
20863 (global-hl-line-sticky-flag): New option (Bug#8323).
20864 (global-hl-line-highlight): Obey it.
20866 * vc/vc.el (vc-revert-show-diff): Default to t.
20868 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20870 * allout-widgets.el (allout-widgets-post-command-business):
20871 Stop decorating intermediate isearch matches. They're not being
20872 undecorated when an isearch is continued past, and isearch
20873 automatically collapses them. This leads to "widget leaks", where
20874 decorated items accumulate in collapsed areas. Lines with lots of
20875 hidden widgets can slow down cursor travel, substantially.
20876 Too much complicated machinery would be needed to ensure undecoration,
20877 so we're doing without this nicety.
20879 (allout-widgets-tally-string): Don't try to do a hash-table-count
20880 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20881 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20882 *Messages* when allout-widgets-maintain-tally is t.
20884 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20886 * window.el (display-buffer-normalize-argument): Rename to
20887 display-buffer-normalize-arguments. Handle special meaning of
20888 LABEL argument. Respect special-display-function when popping up
20889 a new frame. Fix code searching for a window showing the buffer
20891 (display-buffer-normalize-specifiers):
20892 Call display-buffer-normalize-arguments.
20893 (display-buffer-in-window): Don't undedicate the window if its
20894 buffer remains the same.
20895 Reported by Drew Adams <drew.adams@oracle.com>.
20896 (display-buffer-alist): Add choice for same-window macro
20898 (display-buffer): Mention special meaning of LABEL argument in
20899 doc-string. Fix quoting. Don't pop up a new frame even as
20902 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20904 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20905 avoid deleting the current window in some cases (bug#8911).
20907 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20909 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20912 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20914 * net/network-stream.el (network-stream-open-starttls):
20915 Use built-in TLS support if `gnutls-available-p' is true.
20916 (network-stream-open-tls): Ditto.
20918 2011-06-26 Leo Liu <sdl.web@gmail.com>
20920 * register.el (registerv): New struct.
20921 (registerv-make): New function.
20922 (jump-to-register, describe-register-1, insert-register):
20923 Support the jump-func, print-func and insert-func slot of a registerv
20926 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20928 * vc/vc.el (vc-revert-show-diff): New defcustom.
20929 (vc-diff-internal): New arg specifying diff buffer.
20930 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20931 reuse an existing *vc-diff* buffer (Bug#8927).
20933 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20935 2011-06-26 Glenn Morris <rgm@gnu.org>
20937 * progmodes/f90.el (f90-critical-indent): New option.
20938 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20939 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20940 (f90-mode): Doc fix.
20941 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20942 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20943 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20944 (f90-match-end): Handle block, critical.
20946 2011-06-25 Glenn Morris <rgm@gnu.org>
20948 * calendar/diary-lib.el (diary-included-files): Doc fix.
20949 (diary-include-files): New function, extracted from
20950 diary-include-other-diary-files and diary-mark-included-diary-files.
20951 (diary-include-other-diary-files, diary-mark-included-diary-files):
20952 Just call diary-include-files.
20953 (diary-mark-entries): Reset diary-included-files on first call.
20955 * calendar/diary-lib.el (diary-mark-entries)
20956 (diary-mark-included-diary-files):
20957 Visit included diary-files in temp buffers.
20959 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20960 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20961 (f90-start-block-re, f90-imenu-generic-expression)
20962 (f90-looking-at-program-block-start, f90-no-block-limit):
20963 Add support for submodules.
20965 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20966 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20968 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20970 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20971 buffer-file-type before setting its value, to avoid disastrous
20972 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20974 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20976 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20978 * ses.el (ses-unload-function):
20979 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20981 * proced.el (proced-unload-function):
20982 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20984 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20986 * server.el (server-create-window-system-frame): Add parameters arg.
20987 (server-process-filter): Doc fix. Handle frame-parameters.
20989 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20991 Fix bug#8730, bug#8781.
20993 * loadhist.el (unload--set-major-mode): New function.
20994 (unload-feature): Use it.
20996 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20997 (python-unload-function): New function.
20999 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21001 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21003 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21005 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21006 the candidates list.
21008 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21010 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21012 2011-06-23 Richard Stallman <rms@gnu.org>
21014 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21015 (rmail-variables): Set next-error-move-function.
21016 (rmail-what-message): Take argument POS.
21017 (rmail-next-error-move): New function.
21019 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21021 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21022 messages for adjacent non-terminals.
21024 2011-06-23 Richard Stallman <rms@gnu.org>
21026 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21027 (rmail-show-message-1): Preserve buffer modified flag.
21028 (rmail-start-mail): Don't specify use of rmail-mail-return;
21029 that's done by mail-bury now.
21030 (rmail-mail-return): Handle arg NEWBUF.
21032 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21034 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21037 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21039 * window.el (get-lru-window, get-mru-window)
21040 (get-largest-window): Never return a minibuffer window.
21041 (display-buffer-pop-up-window): Fix a bug that could lead to
21042 reusing the minibuffer window.
21043 (display-buffer): Pass original specifier argument to
21044 display-buffer-function instead of the normalized one.
21045 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21047 2011-06-22 Leo Liu <sdl.web@gmail.com>
21049 * minibuffer.el (completing-read-function)
21050 (completing-read-default): Move from minibuf.c.
21052 2011-06-22 Richard Stallman <rms@gnu.org>
21054 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21055 to Rmail even if not started by a special Rmail command.
21057 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21058 Copy the buffer currently showing just one message.
21060 2011-06-22 Roland Winkler <winkler@gnu.org>
21062 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21063 (bibtex-clean-entry): First delete the old key so that a
21064 customized algorithm for generating the new key does not get
21065 confused by the old key.
21066 (bibtex-url): Obey regexp of first step.
21067 (bibtex-search-entries): Do not use add-to-list with local
21070 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21072 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21073 stored a user name, then query for the password first, instead of
21074 waiting for SMTP to give an error message and the trying again.
21076 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21078 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21079 BUFFER in call-process.
21081 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21083 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21085 (smtpmail-try-auth-methods): Require user name and password from
21088 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21090 * window.el (display-buffer-default-specifiers)
21091 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21092 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21093 (split-window): Normalize SIDE argument (Bug#8916).
21095 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21096 (special-display-frame-alist, special-display-popup-frame):
21097 Remove duplicate declarations. These are now in window.el.
21099 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21101 * mail/smtpmail.el (smtpmail-via-smtp):
21102 Set :use-starttls-if-possible so that we always use STARTTLS if the
21103 server supports it. SMTP servers that support STARTTLS commonly
21106 * net/network-stream.el (network-stream-open-starttls): Support
21107 upgrading to STARTTLS always, even if we don't have built-in support.
21108 (open-network-stream): Add the :always-query-capabilities keyword.
21110 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21111 upgrades with `open-network-stream', and rely solely on
21112 auth-source for all credentials. Big changes throughout the file,
21114 (smtpmail-auth-credentials): Remove.
21115 (smtpmail-starttls-credentials): Remove.
21116 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21119 * net/network-stream.el (network-stream-open-starttls):
21120 Provide support for client certificates both for external and built-in
21122 (auth-source): Require.
21123 (open-network-stream): Document the :client-certificate keyword.
21124 (network-stream-certificate): Change cert-cert to cert and
21127 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21129 * net/tramp-cache.el (top): Don't load the persistency file when
21130 "emacs -Q" has been called.
21132 2011-06-21 Tim Harper <timcharper@gmail.com>
21134 * term/ns-win.el (ns-initialize-window-system):
21135 Set application-specific `ApplePressAndHoldEnabled' system
21136 resource to NO as it is not yet supported by the NS port.
21138 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21140 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21141 (list-dynamic-libraries): ...not here.
21143 2011-06-21 Leo Liu <sdl.web@gmail.com>
21145 * subr.el (sha1): Implement sha1 using secure-hash.
21147 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21149 * window.el (display-buffer-alist): In default value do not
21150 enforce searching a window on any but the selected frame.
21151 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21152 (display-buffer-select-window): Remove function.
21153 (display-buffer-in-window): When a window on another frame gets
21154 reused, do not select it any more but just raise its frame if
21155 necessary (Bug#8851) and (Bug#8856).
21156 (display-buffer-normalize-options): Handle pop-up-frames related
21157 options more faithfully.
21158 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21159 window if it is on another frame.
21160 (display-buffer-alist, display-buffer-default-specifiers):
21161 Don't make new frame unsplittable by default.
21162 (display-buffer-normalize-argument): Fix doc-string typo and use
21163 'same-frame-other-window instead of 'other-window when associating
21164 with display-buffer-macro-specifiers.
21166 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21168 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21170 (5x5-mode-map, 5x5-mode-menu): Bind them.
21171 (5x5-draw-grid): Tweak the solver's rendering.
21173 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21175 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21176 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21178 2011-06-21 Drew Adams <drew.adams@oracle.com>
21180 * menu-bar.el: Use function variable instead of switch-to-buffer.
21181 (menu-bar-select-buffer-function): New variable.
21182 (menu-bar-update-buffers): Use it (bug#8876).
21184 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21186 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21189 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21191 * x-dnd.el (x-dnd-version-from-flags)
21192 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21193 and long as number (Bug#8899).
21194 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21196 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21198 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21199 (completion-try-completion, completion-all-completions): Compute the
21200 metadata argument if it's missing; make it optional (bug#8795).
21202 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21203 (widget-complete): Use new :completion-function property.
21204 (widget-completions-at-point): New function.
21205 (default): Use :completion-function instead of :complete.
21206 (widget-default-completions): Rename from widget-default-complete;
21208 (widget-string-complete, widget-file-complete, widget-color-complete):
21210 (file, symbol, function, variable, coding-system, color):
21211 * international/mule-cmds.el (default-input-method, charset)
21212 (language-info-custom-alist):
21213 * cus-edit.el (face): Use new property :completions.
21215 * progmodes/pascal.el (pascal-completions-at-point): New function.
21216 (pascal-mode): Use it.
21217 (pascal-mode-map): Use completion-at-point.
21218 (pascal-toggle-completions): Make obsolete.
21219 (pascal-complete-word, pascal-show-completions):
21220 * progmodes/octave-mod.el (octave-complete-symbol):
21221 Redefine as obsolete alias.
21222 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21223 Signal absence of completion info for old Octave,
21224 (inferior-octave-complete): Redefine as obsolete alias.
21225 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21226 (meta-completions-at-point): Rename from meta-complete-symbol and
21227 adapt it for use on completion-at-point-functions.
21228 (meta-common-mode): Use it.
21229 (meta-looking-at-backward, meta-match-buffer): Remove.
21230 (meta-complete-symbol): Redefine as obsolete alias.
21231 (meta-common-mode-map): Use completion-at-point.
21232 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21233 (makefile-mode-map): Use completion-at-point.
21234 (makefile-completions-at-point): Rename from makefile-complete and
21235 adapt it for use on completion-at-point-functions.
21236 (makefile-mode): Use it.
21237 (makefile-complete): Redefine as obsolete alias.
21239 2011-06-20 Deniz Dogan <deniz@dogan.se>
21241 * net/rcirc.el: Delete trailing whitespaces once and for all.
21243 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21245 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21247 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21249 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21251 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21253 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21255 * window.el (display-buffer-other-window-means-other-frame):
21256 Call display-buffer-normalize-alist.
21257 (display-buffer-normalize-specifiers-1): Rename to
21258 display-buffer-normalize-argument. New argument other-frame.
21260 (display-buffer-normalize-specifiers-2): Rename to
21261 display-buffer-normalize-options.
21262 (display-buffer-normalize-alist-1): New function.
21263 (display-buffer-normalize-specifiers-3): Rename to
21264 display-buffer-normalize-alist.
21265 Call display-buffer-normalize-alist-1.
21266 (display-buffer-normalize-options-inhibit): New variable.
21267 (display-buffer-normalize-specifiers): Rewrite calling
21268 display-buffer-normalize-alist,
21269 display-buffer-normalize-argument, and
21270 display-buffer-normalize-options. Don't call the latter if
21271 display-buffer-normalize-options-inhibit is non-nil.
21272 (frame-auto-delete): New option.
21273 (window-deletable-p): Use frame-auto-delete.
21274 (window-list-no-nils, window-state-ignored-parameters)
21275 (window-state-get-1, window-state-get, window-state-put-list)
21276 (window-state-put-1, window-state-put-2, window-state-put):
21278 (display-buffer-normalize-options): Move special-display-p group
21279 after pop-up-frame group (Bug#8851) and (Bug#8856).
21281 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21283 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21285 (rx-submatch-n): New function.
21288 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21291 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21293 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21295 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21296 anytime existing face settings are present (Bug#8889).
21298 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21299 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21300 Remove unused argument.
21302 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21304 * window.el (display-buffer-default-specifiers):
21305 Remove pop-up-frame. Add pop-up-window-min-height,
21306 pop-up-window-min-width, and another reuse-window specifier
21307 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21308 (display-buffer-normalize-specifiers-2):
21309 Handle split-height-threshold and split-width-threshold also when
21310 pop-up-windows is unset. Add a reuse-window specifier for the
21311 case popping up a new window fails.
21312 (special-display-popup-frame): Remove double quoting.
21313 (display-buffer-normalize-specifiers-1): Fix thinko.
21315 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21317 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21318 according to comint-completion-addsuffix.
21320 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21321 (pcomplete-suffix-list): Mark as obsolete.
21322 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21323 pcomplete-seen in the closure.
21324 (pcomplete-comint-setup): Setup completion-at-point as well.
21325 (pcomplete--entries): New function.
21326 (pcomplete--env-regexp): New var.
21327 (pcomplete-entries): Rewrite to work with partial-completion and
21328 without relying on pcomplete-suffix-list.
21329 (pcomplete-pare-list): Remove, unused.
21331 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21333 * window.el (display-buffer-alist): Set pop-up-window-min-height
21334 and pop-up-window-min-width in default value. Reported by
21335 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21336 other-window-means-other-frame.
21337 (display-buffer-macro-specifiers): Comment out entry for
21338 other-window specifier.
21339 (display-buffer-other-window-means-other-frame): New function.
21340 (display-buffer-normalize-specifiers-1): New arguments
21341 buffer-name and label. Treat other-window case specially.
21342 (display-buffer-normalize-specifiers-2): Treat other-window case
21344 (display-buffer-normalize-specifiers-3): New function.
21345 (display-buffer-normalize-specifiers):
21346 Call display-buffer-normalize-specifiers-3.
21348 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21350 * window.el (same-window-p): Fix two typos introduced when
21351 adding with-no-warnings.
21352 (display-buffer-normalize-specifiers-1): Don't check
21353 pop-up-frames for 'unset initialization.
21354 (display-buffer-normalize-specifiers-2): Major rewrite using
21355 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21356 (pop-up-frames, display-buffer-reuse-frames)
21357 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21358 Suggested by David Engster <deng@randomsample.de>.
21359 (even-window-heights): Initialize to 'unset.
21360 (display-buffer-alist-set): Handle new 'unset initializations.
21361 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21364 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21366 * window.el (display-buffer-normalize-specifiers-1):
21367 Respect current value of pop-up-frames for most reasonable values of
21368 second argument of display-buffer (Bug#8865).
21369 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21370 (switch-to-buffer-other-window-same-frame)
21371 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21373 (display-buffer): Don't check noninteractive when calling
21374 display-buffer-pop-up-frame.
21375 (display-buffer-pop-up-frame): Never pop up a frame in
21376 noninteractive mode (Bug#8857).
21377 (enlarge-window, shrink-window): Don't report an error when the
21378 window can't be resized as requested (Bug#8862).
21380 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21382 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21384 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21386 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21388 2011-06-15 Alan Mackenzie <acm@muc.de>
21390 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21391 for declarators, disable knr checking to speed up for normal files.
21392 2: Refactor, replacing a sequence of nested if forms by a cond form.
21394 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21396 * net/network-stream.el (open-network-stream): Add the keyword
21397 :always-query-capabilities for the case where you want to force a
21398 `plain' network connection, but the protocol still requires the
21399 capabilitiy command (i.e., SMTP and EHLO).
21401 * subr.el (process-live-p): Rename from `process-alive-p' for
21402 consistency with other `-live-p' functions.
21404 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21406 * window.el (same-window-buffer-names, same-window-regexps)
21407 (special-display-frame-alist, special-display-popup-frame)
21408 (special-display-function, special-display-buffer-names)
21409 (special-display-regexps, pop-up-frame-alist)
21410 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21411 (pop-up-windows, split-window-preferred-function)
21412 (split-height-threshold, split-width-threshold, even-window-heights)
21413 (display-buffer-mark-dedicated): Don't encourage the use of
21414 display-buffer-alist from Elisp code.
21416 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21418 * progmodes/python.el (python-mode): Derive from prog-mode.
21419 * progmodes/ps-mode.el (ps-mode):
21420 * progmodes/mixal-mode.el (mixal-mode):
21421 * progmodes/cfengine.el (cfengine-mode):
21422 * progmodes/ld-script.el (ld-script-mode): Likewise.
21424 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21426 * window.el (display-buffer-alist): Trim default value to avoid
21427 popping up a new frame (Bug#8857) or reusing an arbitrary window
21429 (display-buffer): Do not fall back on popping up a new frame in
21430 batch mode (Bug#8857).
21432 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21434 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21435 (custom-theme-summary): New function.
21436 (customize-themes): Use it.
21438 2011-06-13 Glenn Morris <rgm@gnu.org>
21440 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21442 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21444 * help.el (help-window): Remove variable.
21445 (help-window-point-marker, temp-buffer-max-height)
21446 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21447 (help-print-return-message): Don't set help-window.
21448 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21449 (help-window-setup-finish): Remove.
21450 (help-window-display-message, help-window-setup)
21451 (with-help-window): Major rewrite based on new
21452 display-buffer-window variable.
21454 * help-mode.el (help-mode-finish): Remove help-window related
21457 * view.el (view-exits-all-viewing-windows): Remove reference to
21458 view-return-to-alist in doc-string.
21459 (view-return-to-alist): Make obsolete.
21460 (view-buffer): Call pop-to-buffer-same-window and remove
21462 (view-buffer-other-window): Call pop-to-buffer-other-window and
21463 simplify code. Ignore second argument.
21464 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21465 simplify code. Ignore second argument.
21466 (view-return-to-alist-update): Make obsolete.
21467 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21468 Rewrite using quit-restore window parameters.
21469 (view-mode-exit): Rename second argument to EXIT-ONLY.
21470 Rewrite using quit-restore-window.
21471 (View-exit, View-exit-and-edit, View-leave, View-quit)
21472 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21473 appropriate arguments.
21474 (view-end-message): Use quit-restore window parameter.
21476 * window.el (display-buffer-function): Rewrite doc-string.
21477 (display-buffer-window, display-buffer-alist): New variables.
21478 (display-buffer-split-specifiers)
21479 (display-buffer-side-specifiers)
21480 (display-buffer-macro-specifiers): New constants.
21481 (display-buffer-even-window-sizes, display-buffer-set-height)
21482 (display-buffer-set-width, display-buffer-select-window)
21483 (display-buffer-in-window, display-buffer-reuse-window)
21484 (display-buffer-split-window-1, display-buffer-split-window)
21485 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21486 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21487 (display-buffer-in-side-window, normalize-buffer-to-display)
21488 (display-buffer-normalize-specifiers-1)
21489 (display-buffer-normalize-specifiers-2)
21490 (display-buffer-normalize-specifiers, display-buffer-frame):
21492 (display-buffer): Major rewrite.
21493 (display-buffer-other-window, display-buffer-other-frame)
21494 (pop-to-buffer, switch-to-buffer-other-window)
21495 (switch-to-buffer-other-frame): Rewrite.
21496 (display-buffer-same-window, display-buffer-same-frame)
21497 (display-buffer-same-frame-other-window)
21498 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21499 (pop-to-buffer-other-window)
21500 (pop-to-buffer-same-frame-other-window)
21501 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21502 (switch-to-buffer-other-window-same-frame): New functions.
21503 (same-window-p, special-display-p): Rewrite disabling warnings.
21505 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21506 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21508 (same-window-buffer-names, same-window-regexps)
21509 (special-display-frame-alist, special-display-popup-frame)
21510 (special-display-function, special-display-buffer-names)
21511 (special-display-regexps, pop-up-frame-alist)
21512 (pop-up-frame-function, split-window-preferred-function)
21513 (split-height-threshold, split-width-threshold)
21514 (even-window-heights): Make obsolete.
21516 2011-06-12 Glenn Morris <rgm@gnu.org>
21518 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21519 Misc simplifications.
21521 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21523 * window.el (window-safely-shrinkable-p): Restore function which
21524 was inadvertently removed in change from 2011-06-11. Declare as
21527 * calendar/calendar.el (calendar-generate-window):
21528 Use window-iso-combined-p instead of combination of one-window-p and
21529 window-safely-shrinkable-p.
21531 2011-06-12 Glenn Morris <rgm@gnu.org>
21533 * progmodes/fortran.el (fortran-mode-syntax-table):
21534 * progmodes/f90.el (f90-mode-syntax-table):
21535 Set % to punctuation. (Bug#8820)
21536 (f90-find-tag-default): Remove, no longer needed.
21538 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21540 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21542 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21544 * image.el (image-animated-p): Return animation delay in seconds.
21545 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21546 (image-animate-timeout): Remove DELAY argument. Don't assume
21547 every subimage has the same delay; get it from image-animated-p.
21548 (image-animate): Caller changed.
21550 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21552 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21553 to ignored backtrace functions.
21555 2011-06-11 Glenn Morris <rgm@gnu.org>
21557 * calendar/appt.el (appt-disp-window-function): Doc fix.
21558 (appt-check): Handle overlapping appointments. (Bug#8337)
21560 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21562 * window.el (window-tree-1, window-tree): New functions, moving
21563 the latter to window.el.
21564 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21565 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21566 (bw-refresh-edges): Remove.
21567 (balance-windows-1, balance-windows-2): New functions.
21568 (balance-windows): Rewrite in terms of window tree functions,
21569 balance-windows-1 and balance-windows-2.
21570 (bw-adjust-window): Remove.
21571 (balance-windows-area-adjust): New function with functionality of
21572 bw-adjust-window but using resize-window.
21573 (set-window-text-height): Rewrite doc-string.
21574 Use normalize-live-window and resize-window.
21575 (enlarge-window-horizontally, shrink-window-horizontally):
21576 Rename argument to DELTA.
21577 (window-buffer-height): New function.
21578 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21579 Rewrite using new window resize routines.
21580 (kill-buffer-and-window, mouse-autoselect-window-select):
21581 Use ignore-errors instead of condition-case.
21582 (quit-window): Call delete-frame instead of delete-windows-on
21583 for the only buffer on frame.
21585 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21587 * loadup.el (top-level): Load window before files for the sake
21588 of replace-buffer-in-windows.
21590 * files.el (read-buffer-to-switch)
21591 (switch-to-buffer-other-window)
21592 (switch-to-buffer-other-frame, display-buffer-other-frame):
21595 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21596 (previous-buffer): Move to window.el.
21598 * bindings.el (unbury-buffer): Move to window.el.
21600 * window.el (delete-other-windows-vertically): Move after
21601 definition of delete-other-windows.
21602 (other-window, delete-windows-on, replace-buffer-in-windows):
21603 Move here from window.c.
21604 (record-window-buffer, unrecord-window-buffer)
21605 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21606 (switch-to-next-buffer): New functions.
21607 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21608 from simple.el. Call switch-to-next-buffer.
21609 (previous-buffer): Move here from simple.el.
21610 Call switch-to-prev-buffer.
21611 (bury-buffer): Move here from buffer.c. Switch to previous
21612 buffer when window cannot be deleted.
21613 (unbury-buffer): Move here from bindings.el.
21614 (ctl-x-map): Move binding for other-window from window.c to
21616 (read-buffer-to-switch, switch-to-buffer-other-window)
21617 (switch-to-buffer-other-frame): Move here from files.el.
21618 (normalize-buffer-to-switch-to): New functions.
21619 (switch-to-buffer): Move here from buffer.c.
21620 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21622 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21624 * window.el (window-min-height, window-min-width): Move here
21625 from window.c. Add defcustoms and rewrite doc-strings.
21626 (resize-mini-window, resize-window): New functions.
21627 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21628 Move here from window.c.
21629 (maximize-window, minimize-window): New functions.
21630 (delete-window, delete-other-windows, split-window): Move here
21632 (window-split-min-size): New function.
21633 (split-window-keep-point): Mention split-window-above-each-other
21634 instead of split-window-vertically.
21635 (split-window-above-each-other, split-window-vertically):
21636 Rename split-window-vertically to split-window-above-each-other
21637 and provide defalias for old definition.
21638 (split-window-side-by-side, split-window-horizontally):
21639 Rename split-window-horizontally to split-window-side-by-side
21640 and provide defalias for the old definition.
21641 (ctl-x-map): Move bindings for delete-window,
21642 delete-other-windows and enlarge-window here from window.c.
21643 Replace bindings for split-window-vertically and
21644 split-window-horizontally by bindings for
21645 split-window-above-each-other and split-window-side-by-side.
21647 * cus-start.el (all): Remove entries for window-min-height and
21648 window-min-width. Add entries for window-splits and
21651 2011-06-09 Glenn Morris <rgm@gnu.org>
21653 * calendar/appt.el (appt-mode-line): New function.
21654 (appt-check, appt-disp-window): Use it.
21656 * files.el (hack-one-local-variable-eval-safep):
21657 Allow minor-modes with explicit +/-1 arguments.
21659 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21661 * term/xterm.el (xterm): Add defgroup.
21662 (xterm-extra-capabilities): Add defcustom to supply known xterm
21663 capabilities, skip querying them, or query them (default).
21664 (terminal-init-xterm): Use it.
21665 (terminal-init-xterm-modify-other-keys): New function to set up
21666 modifyOtherKeys support to simplify `terminal-init-xterm'.
21668 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21670 * window.el (resize-window-reset, resize-window-reset-1)
21671 (resize-subwindows-skip-p, resize-subwindows-normal)
21672 (resize-subwindows, resize-other-windows, resize-this-window)
21673 (resize-root-window, resize-root-window-vertically)
21674 (window-deletable-p, window-or-subwindow-p)
21675 (frame-root-window-p): New functions.
21677 2011-06-09 Glenn Morris <rgm@gnu.org>
21679 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21680 (ange-ftp-get-files): Use it.
21682 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21684 * mail/sendmail.el (mail-recover-1, mail-recover):
21685 * files.el (recover-file, recover-session):
21686 Handle dired-listing-switches not being just a single short option.
21688 2011-06-09 Glenn Morris <rgm@gnu.org>
21690 * calendar/appt.el (appt-display-message, appt-disp-window):
21691 Handle lists of appointments.
21693 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21695 * window.el (one-window-p): Move down in code.
21696 Rewrite doc-string.
21697 (window-current-scroll-bars): Rewrite doc-string.
21698 Normalize live window argument.
21699 (walk-windows, get-window-with-predicate, count-windows):
21700 Rewrite doc-string. Use window-list-1.
21701 (window-in-direction-2, window-in-direction, get-mru-window):
21704 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21706 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21707 Doc fix (Bug#8713).
21709 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21711 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21713 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21715 * loadhist.el (unload-feature-special-hooks):
21716 Add `comint-output-filter-functions'.
21718 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21720 * calendar/appt.el (appt-check): Move some initializations into the let.
21722 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21724 * window.el (window-height): Defalias to window-total-height.
21725 (window-width): Defalias to window-body-width.
21727 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21729 * image-mode.el (image-toggle-animation): New command.
21730 (image-mode-map): Bind it to RET.
21731 (image-mode): Update message.
21732 (image-toggle-display-image): Avoid a spurious cache flush.
21733 (image-transform-rotation): Doc fix.
21734 (image-transform-properties): Return quickly in the normal case.
21735 (image-animate-loop): Rename from image-animate-max-time.
21737 * image.el (image-animate-max-time): Move to image-mode.el.
21738 (create-animated-image): Remove unnecessary function.
21739 (image-animate): Rename from image-animate-start. New arg.
21740 (image-animate-stop): Remove; just use image-animate-timer.
21741 (image-animate-timer): Use car-safe.
21742 (image-animate-timeout): Rename argument.
21744 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21746 * window.el (get-lru-window, get-largest-window): Move here from
21747 window.c. Rename first argument to ALL-FRAMES.
21748 Rephrase doc-strings.
21749 (get-buffer-window-list): Rewrite using window-list-1.
21750 Rephrase doc-string.
21751 (window-safe-min-height, window-safe-min-width): New constants.
21752 (window-size-ignore, window-min-size, window-min-size-1)
21753 (window-sizable, window-sizable-p, window-size-fixed-1)
21754 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21755 (window-max-delta-1, window-max-delta, window-resizable)
21756 (window-resizable-p, window-total-height, window-total-width)
21757 (window-body-width): New functions.
21758 (window-full-height-p, window-full-width-p): Rewrite using
21760 (window-body-height): Rewrite using window-body-size.
21762 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21764 * window.el (window-right, window-left, window-child)
21765 (window-child-count, window-last-child, window-any-p)
21766 (normalize-live-buffer, normalize-live-frame)
21767 (normalize-any-window, normalize-live-window)
21768 (window-iso-combination-p, window-iso-combined-p)
21769 (window-iso-combinations)
21770 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21771 (windows-with-parameter, window-with-parameter)
21772 (window-atom-root, make-window-atom, window-atom-check-1)
21773 (window-atom-check, window-side-check, window-check):
21775 (ignore-window-parameters, window-sides, window-sides-vertical)
21776 (window-sides-slots): New variables.
21777 (window-size-fixed): Move down in code. Minor doc-string fix.
21779 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21781 * comint.el (comint-dynamic-complete-as-filename)
21782 (comint-dynamic-complete-filename): Correctly call
21783 completion-in-region.
21785 2011-06-05 Deniz Dogan <deniz@dogan.se>
21787 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21790 2011-06-05 Deniz Dogan <deniz@dogan.se>
21792 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21793 (rcirc): Use it to prompt for encryption.
21795 2011-06-05 Roland Winkler <winkler@gnu.org>
21797 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21798 (bibtex-search-entries): New command bound to C-c C-a.
21799 (bibtex-display-entries): New function.
21801 2011-06-05 Roland Winkler <winkler@gnu.org>
21803 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21804 (bibtex-insert-kill): After yanking insert newline if necessary.
21805 (bibtex-initialize): Call bibtex-string-files-init only once.
21806 (bibtex-mode): Do not call easy-menu-add.
21807 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21808 (bibtex-yank): Set arg properly if nil.
21810 2011-06-05 Roland Winkler <winkler@gnu.org>
21812 * textmodes/bibtex.el (bibtex-search-entry-globally):
21814 (bibtex-search-entry): Use it.
21816 2011-06-05 Roland Winkler <winkler@gnu.org>
21818 * textmodes/bibtex.el (bibtex-entry-format): New option
21820 (bibtex-format-entry, bibtex-reformat): Honor this option.
21821 (bibtex-parse-entry): Return fields in proper order.
21823 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21825 * doc-view.el (doc-view-remove-if): Move computation of result out
21826 of `dolist' to silence misleading lexical-binding warning.
21828 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21830 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21831 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21833 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21835 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21838 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21840 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21841 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21842 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21843 (tramp-parse-putty):
21844 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21845 (tramp-completion-function-alist-ssh)
21846 (tramp-completion-function-alist-telnet)
21847 (tramp-completion-function-alist-su)
21848 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21851 * net/tramp-ftp.el:
21853 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21854 load "tramp.el" `tramp-set-completion-function'.
21856 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21858 * shell.el: Require and use pcomplete.
21859 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21860 (shell-completion-vars): Set pcomplete-default-completion-function.
21862 2011-06-04 Deniz Dogan <deniz@dogan.se>
21864 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21867 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21869 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21871 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21873 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21874 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21875 * vc/log-view.el (log-view-beginning-of-defun):
21876 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21877 (smerge-refine-forward, smerge-refine-chopup-region):
21878 Silence warning for unused `dotimes' counter variables.
21880 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21882 * net/tramp.el (tramp-with-progress-reporter): Rename from
21883 with-progress-reporter. Use `declare'.
21884 * net/tramp-smb.el:
21886 * net/tramp-gvfs.el: Update all uses.
21888 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21890 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21891 buffer isn't killed before making it current.
21893 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21895 Silence various byte-compiler warnings.
21896 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21897 `access-type' and new obsolescence format.
21898 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21900 (byte-compile-check-variable): New `access-type' argument.
21901 Only warn if the access-type is obsolete.
21902 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21903 (byte-compile-variable-set): Adjust callers.
21904 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21905 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21906 setting it as obsolete.
21907 * simple.el (minibuffer-completing-symbol):
21908 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21909 access as obsolete.
21910 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21912 * international/quail.el (quail-mouse-choose-completion): Remove unused
21913 code referring to obsolete var.
21914 (quail-choose-completion-string): Remove.
21915 * server.el (server-clients-with, server-kill-buffer-query-function)
21916 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21917 * proced.el (proced-send-signal):
21918 * emacs-lisp/lisp.el (lisp-complete-symbol):
21919 Replace completion-annotate-function with completion-extra-properties.
21921 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21923 * simple.el (goto-line): Use read-number.
21924 (overriding-map-is-bound): Remove.
21925 (saved-overriding-map): Change default.
21926 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21927 Take the map as argument.
21928 (universal-argument, negative-argument, digit-argument): Use it.
21929 (restore-overriding-map): Adjust.
21930 (do-auto-fill): Use fill-forward-paragraph.
21931 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21933 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21934 (minibuffer-inactive-mode): New major mode.
21935 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21936 the *Messages* buffer" hack.
21937 (mouse-popup-menubar): Don't burp if the event is a normal key.
21939 Miscellaneous tweaks.
21940 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21941 lexical scoping as in subr.el's dolist and dotimes.
21942 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21943 Silence compiler warning.
21944 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21945 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21946 * international/ccl.el (ccl-compile): Trivial simplification.
21947 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21948 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21949 `printflag' argument.
21950 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21951 Purecopy the whole obsolescence data.
21953 2011-06-01 Leo Liu <sdl.web@gmail.com>
21955 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21956 improve doc-string as suggested by Marco Pessotto
21957 <melmothx@gmail.com>.
21958 (rcirc-print): Fix last change.
21960 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21962 * minibuffer.el (complete-with-action): Return nil for the metadata and
21963 boundaries of non-functional tables.
21964 (completion-table-dynamic): Return nil for the metadata.
21965 (completion-table-with-terminator): Add default case, using
21966 complete-with-action.
21967 (completion--metadata): New function.
21968 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21969 to try and avoid pathological performance problems.
21970 (completion--embedded-envvar-table): Return `category' metadata.
21972 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21974 * subr.el (process-alive-p): New tiny convenience function.
21976 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21978 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21979 content but also its previous major mode.
21981 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21983 * emacs-lisp/debug.el (debug): Restore the previous content of the
21984 *Backtrace* buffer when we exit with C-M-c.
21986 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21988 * minibuffer.el: Add metadata method to completion tables.
21989 (completion-category-overrides): New defcustom.
21990 (completion-metadata, completion--field-metadata)
21991 (completion-metadata-get, completion--styles)
21992 (completion--cycle-threshold): New functions.
21993 (completion-try-completion, completion-all-completions):
21994 Add `metadata' argument to choose completion-styles.
21995 (completion--do-completion): Use metadata to choose cycling.
21996 (completion-all-sorted-completions): Use metadata for sorting.
21997 Remove :completion-cycle-penalty which is not needed any more.
21998 (completion--try-word-completion): Add `metadata' argument.
21999 (minibuffer-completion-help): Check metadata for annotation function
22001 (completion-file-name-table): Return `category' metadata.
22002 (minibuffer-completing-file-name): Make obsolete.
22003 * simple.el (minibuffer-completing-symbol): Make obsolete.
22004 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22005 completion-try-completion.
22007 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22009 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22011 2011-05-30 Leo Liu <sdl.web@gmail.com>
22013 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22014 (rcirc-print): Decode all incoming messages (bug#8744).
22015 (rcirc-decode-coding-system): Allow value nil for automatic coding
22018 2011-06-01 Glenn Morris <rgm@gnu.org>
22020 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22022 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22024 * image.el (image-animate-max-time): Allow nil and t values.
22026 (create-animated-image): Doc fix.
22027 (image-animate-start): Remove second arg; just use
22028 image-animate-max-time.
22029 (image-animate-timeout): Doc fix. Args changed.
22031 * image-mode.el (image-toggle-display-image): Ensure that the
22032 image spec passed to the animate timer is the same object as in
22033 the buffer's display property (Bug#6981).
22034 (image-transform-properties): Doc fix.
22036 * image.el (image-animate-max-time): Default to nil.
22038 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22040 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22041 entire buffer list (Bug#8184).
22043 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22045 * image.el (imagemagick-types-inhibit)
22046 (imagemagick-register-types): Doc fix.
22048 2011-05-29 Deniz Dogan <deniz@dogan.se>
22050 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22053 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22055 * select.el: Don't perform clipboard-manager saving in hooks;
22056 leave the hooks empty.
22058 2011-05-28 Leo Liu <sdl.web@gmail.com>
22060 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22061 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22062 (occur-edit-mode): New major mode (Bug#8463).
22063 (occur-after-change-function): New function.
22064 (occur-engine): Give Occur tags a read-only property.
22066 2011-05-28 Kevin Ryde <user42@zip.com.au>
22068 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22070 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22072 * bindings.el (help-echo): Make the initial non-indicator dash
22073 empty on graphical terminals (Bug#7295).
22075 * files.el (auto-mode-alist): Move config rule after the
22076 in-stripping one (Bug#8547).
22078 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22080 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22081 setting (Bug#8740).
22083 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22085 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22086 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22089 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22091 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22093 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22095 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22096 (hs-hide-block-at-point, hs-find-block-beginning)
22097 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22100 2011-05-28 Glenn Morris <rgm@gnu.org>
22102 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22104 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22106 * help-fns.el (describe-function-1): If the function is a derived
22107 major mode, print the parent mode.
22109 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22110 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22112 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22114 * minibuffer.el (completion--capf-wrapper): Check applicability before
22115 returning non-nil for non-exclusive completion data.
22116 * progmodes/etags.el (tags-completion-at-point-function):
22117 * info-look.el (info-lookup-completions-at-point): Mark as
22119 (info-complete): Adjust accordingly.
22121 * info-look.el: Convert to lexical-binding and completion-at-point.
22122 (info-lookup-completions-at-point): New function.
22123 (info-complete): Use it and completion-in-region.
22125 2011-05-28 Drew Adams <drew.adams@oracle.com>
22127 * isearch.el: Let M-e start with point at the first mismatched char.
22128 (isearch-fail-pos): New function.
22129 (isearch-edit-string): Use it.
22131 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22133 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22135 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22137 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22138 traversal functions for avl-trees.
22139 (avl-tree--stack): New struct.
22140 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22141 (avl-tree-enter): Add optional `updatefun' arg.
22142 (avl-tree--do-enter): Add optional `updatefun' arg.
22143 Change return value.
22144 (avl-tree-delete): Add optional `test' and `nilflag' args.
22145 (avl-tree--do-delete): Add `test' and `nilflag' args.
22146 Change return value.
22147 (avl-tree-member): Add optional `nilflag'
22148 (avl-tree-member-p): New function.
22149 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22150 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22151 (avl-tree-stack-empty-p): New functions.
22153 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22154 avl-tree--del-balance1 and make it work both ways.
22155 (avl-tree--del-balance2): Remove.
22156 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22157 make it work both ways.
22158 (avl-tree--enter-balance2): Remove.
22159 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22161 (avl-tree--mapc, avl-tree-map): Add direction argument.
22163 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22165 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22167 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22169 * select.el: Support clipboard managers with built-in function
22170 x-clipboard-manager-save, via delete-frame-functions and
22172 (xselect-convert-to-targets): Add MULTIPLE target to list.
22173 (xselect-convert-to-save-targets): New function.
22175 2011-05-27 Kenichi Handa <handa@m17n.org>
22177 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22178 let-binding rfc2047-encode-encoded-words to nil.
22180 2011-05-27 Glenn Morris <rgm@gnu.org>
22182 * mail/emacsbug.el: Don't require url-util.
22184 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22186 * files.el (set-auto-mode):
22187 Also respect mode: entries at the end of the file. (Bug#8586)
22189 2011-05-26 Glenn Morris <rgm@gnu.org>
22191 * files.el (hack-local-variables-prop-line, hack-local-variables):
22192 Downcase mode names, as seems to be traditional.
22193 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22195 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22196 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22198 2011-05-25 Julien Danjou <julien@danjou.info>
22200 * textmodes/rst.el (rst-define-level-faces): Do not define face
22201 symbol if it is already defined.
22203 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22205 * play/5x5.el (5x5-new-game, 5x5-randomize):
22206 Reset 5x5-solver-output to nil when a new grid is cast.
22207 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22208 these debugging traces, as defmacro breaks the compiled code.
22210 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22212 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22214 2011-05-24 Leo Liu <sdl.web@gmail.com>
22216 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22217 (vc-bzr-sha1): Adapt.
22219 * sha1.el: Remove. Function `sha1' is now builtin.
22221 * bindings.el: Provide sha1 feature.
22223 2011-05-24 Kenichi Handa <handa@m17n.org>
22225 * mail/sendmail.el: Require `rfc2047'.
22226 (mail-insert-from-field): Do not perform RFC2047 encoding.
22227 (mail-encode-header): New function.
22228 (sendmail-send-it): Set buffer-file-coding-system of the work
22229 buffer to the return value of select-message-coding-system.
22230 Call mail-encode-header.
22232 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22234 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22236 * mail/supercite.el (sc-default-cite-frame):
22237 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22239 2011-05-24 Glenn Morris <rgm@gnu.org>
22241 * progmodes/python.el (brm-menu): Declare.
22243 * emulation/viper.el (viper-set-hooks): Declare.
22245 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22246 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22247 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22248 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22249 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22250 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22252 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22254 Add an :exit-function for completion-at-point.
22256 * minibuffer.el (completion--done): New fun.
22257 (completion--do-completion): Use it. New arg `expect-exact'.
22258 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22259 since completion--do-completion does it for us now.
22260 (minibuffer-force-complete): Use completion--done and
22261 completion--replace. Handle sole-completion case with more care.
22262 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22263 (completion-extra-properties): New var.
22264 (completion-annotate-function): Make obsolete.
22265 (minibuffer-completion-help): Adjust accordingly.
22266 Use completion-list-insert-choice-function.
22267 (completion-at-point, completion-help-at-point):
22268 Bind completion-extra-properties.
22269 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22270 * simple.el (completion-list-insert-choice-function): New var.
22271 (completion-setup-function): Preserve it.
22272 (choose-completion): Pay attention to it, shuffle the code a bit.
22273 (choose-completion-string): New arg `insert-function'.
22275 * textmodes/bibtex.el: Convert to lexical binding.
22276 (bibtex-mode-map): Use completion-at-point.
22277 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22278 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22279 (bibtex-complete): Define as obsolete alias.
22280 (bibtex-complete-internal): Remove.
22281 (bibtex-format-entry): Remove unused sub-group in regexp.
22282 * shell.el (shell--command-completion-data)
22283 (shell-environment-variable-completion):
22284 * pcomplete.el (pcomplete-completions-at-point):
22285 * comint.el (comint--complete-file-name-data): Use :exit-function
22286 instead of completion-table-with-terminator so it also works for
22289 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22291 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22293 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22296 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22298 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22300 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22301 customization variable and implement: If non-nil, auto-fill will
22302 be inhibited while on topic's header line.
22304 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22306 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22307 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22308 always have a solution in grid size = 5 cases.
22309 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22310 (5x5-solver-output, 5x5-log-buffer): New vars.
22311 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22312 Make these variables buffer local to achieve 5x5 multi-session-ness.
22313 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22314 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22315 (5x5-solve-suggest): New funs.
22316 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22317 randomize a grid so that we ensure that there is always a solution.
22318 (5x5-make-random-grid): Allow other movement than flipping.
22320 2011-05-23 Kevin Ryde <user42@zip.com.au>
22322 * emacs-lisp/advice.el (ad-read-advised-function):
22323 Use `function-called-at-point' as the default, if it has
22324 advice and passes PREDICATE.
22326 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22328 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22329 byte-compile-lambda if it's actually a lambda.
22331 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22332 Fix function quoting. Use backquote better.
22334 2011-05-22 Yuanle Song <sylecn@gmail.com>
22336 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22337 matching (Bug#8516).
22339 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22341 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22342 different face (Bug#8178).
22344 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22346 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22347 defface (Bug#8144).
22349 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22351 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22352 funcall as well (bug#8712). Warn when performing those conversions.
22353 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22355 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22357 2011-05-22 Glenn Morris <rgm@gnu.org>
22359 * files.el (hack-local-variables-prop-line): Small simplifications.
22360 (hack-local-variables, hack-local-variables-prop-line):
22361 If MODE-ONLY, return the mode, rather than just `t'.
22363 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22365 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22367 2011-05-21 Glenn Morris <rgm@gnu.org>
22369 * files.el (hack-local-variables-prop-line, hack-local-variables):
22370 If only interested in the mode, don't bother doing the other stuff.
22372 * image-mode.el (image-after-revert-hook):
22373 Redraw all frames on which the image is visible. (Bug#8567)
22375 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22377 * wid-edit.el (widget-checklist-match-inline):
22378 Fix 2011-04-19 change. (Bug#8649)
22380 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22382 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22383 Also allow singlespace after single-letter capitals followed by a dot.
22385 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22386 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22388 2011-05-20 Nix <nix@esperi.org.uk>
22390 * files.el (basic-save-buffer-2):
22391 Fix handling of break-hardlink-on-save with non-existent files.
22393 2011-05-19 Deniz Dogan <deniz@dogan.se>
22395 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22396 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22398 2011-05-19 Glenn Morris <rgm@gnu.org>
22400 * progmodes/f90.el (f90-type-def-re):
22401 Handle "type, bind(c)". (Bug#8691)
22403 * emacs-lisp/autoload.el (batch-update-autoloads):
22404 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22406 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22408 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22409 property for the correct connection in case of multihops.
22411 2011-05-18 Glenn Morris <rgm@gnu.org>
22413 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22414 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22416 Rationalize calendar handling of day and month abbrev-arrays.
22417 * calendar/calendar.el (calendar-customized-p): New function.
22418 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22419 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22421 (calendar-abbrev-length, calendar-day-abbrev-array)
22422 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22423 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22424 Elements may no longer be nil.
22425 (calendar-day-name, calendar-month-name):
22426 Update for changed nature of abbrev arrays.
22427 * calendar/diary-lib.el (diary-name-pattern):
22428 Update for changed nature of abbrev arrays.
22429 (diary-mark-entries-1): Update calendar-make-alist calls.
22430 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22431 * calendar/cal-html.el (cal-html-day-abbrev-array):
22432 Simply inherit from calendar-day-abbrev-array.
22434 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22436 * progmodes/grep.el (grep-mode): Disable default
22437 compilation-directory-matcher setting (bug#8684).
22439 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22441 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22442 instead of "head" and "tail". There were problems with SunOS 5.9,
22443 and it performs better.
22445 2011-05-17 Glenn Morris <rgm@gnu.org>
22447 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22449 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22450 Replace obsolete function.
22452 * shell.el (pcomplete-parse-arguments-function): Declare.
22454 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22455 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22456 (appt-check): Doc fixes.
22457 (appt-disp-window-function, appt-delete-window-function):
22458 Remove needless special case in custom :type.
22459 (appt-display-count): Default to 0, not nil.
22460 (appt-check): Reset appt-display-count to 0, not nil.
22462 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22464 * progmodes/python.el (python-font-lock-keywords):
22465 Add the Python 3.X keyword "nonlocal" (bug#8639).
22467 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22469 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22471 2011-05-16 Kevin Ryde <user42@zip.com.au>
22473 * info-look.el (makefile-automake-mode): New setups, looking in
22474 automake manual, then makefile-mode.
22475 (makefile-mode): Remove automake manual, have it just in
22476 makefile-automake-mode since there's various things different or
22477 not relevant to plain make.
22478 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22479 believe a hypothetical automake-mode would go to makefile-mode,
22480 not the other way around.
22482 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22484 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22485 hunk-end tags (Bug#8672).
22487 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22488 vc-annotate-show-diff-revision-at-line (Bug#8671).
22490 2011-05-14 Glenn Morris <rgm@gnu.org>
22492 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22493 in the middle of an existing one with multiple authors. (Bug#8645)
22494 (change-log-font-lock-keywords): Also handle multiple author lines
22495 with leading tabs. (Bug#8644)
22497 * calendar/appt.el (appt-check): Rename some local variables.
22498 Some simplification/reordering.
22500 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22501 (feedmail-sendmail-f-doesnt-sell-me-out)
22502 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22503 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22504 (feedmail-queue-runner-message-sender): Set :version.
22505 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22506 (bbdb-dwim-net-address, vm-mail): Declare.
22507 (feedmail-binmail-gnulinuxish-template):
22508 Rename from feedmail-binmail-linuxish-template.
22509 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22510 Use insert-buffer-substring.
22512 2011-05-14 Bill Carpenter <bill@carpenter.org>
22514 * mail/feedmail.el (feedmail-patch-level): Increase.
22515 (feedmail-debug): New custom group.
22516 (feedmail-confirm-outgoing-timeout)
22517 (feedmail-sendmail-f-doesnt-sell-me-out)
22518 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22519 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22520 (feedmail-sender-line, feedmail-from-line)
22521 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22522 (feedmail-spray-this-address)
22523 (feedmail-spray-address-fiddle-plex-list)
22524 (feedmail-queue-use-send-time-for-date)
22525 (feedmail-queue-use-send-time-for-message-id)
22526 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22527 (feedmail-buffer-eating-function):
22529 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22530 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22531 (feedmail-message-action-scroll-down): New functions.
22532 (feedmail-queue-directory, feedmail-queue-draft-directory):
22533 Use expand-file-name.
22534 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22535 Remove C-v help entry.
22536 (feedmail-queue-buffer-file-name): New variable.
22537 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22538 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22539 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22540 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22541 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22542 (feedmail-message-action-toggle-spray)
22543 (feedmail-run-the-queue-no-prompts)
22544 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22545 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22546 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22547 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22548 (feedmail-envelope-deducer, feedmail-fiddle-from)
22549 (feedmail-fiddle-sender, feedmail-default-date-generator)
22550 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22551 (feedmail-fiddle-spray-address)
22552 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22553 (feedmail-fiddle-list-of-fiddle-plexes)
22554 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22555 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22556 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22557 Change default. Doc fix.
22558 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22559 (feedmail-binmail-linuxish-template): New constant.
22560 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22561 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22562 (feedmail-send-it): Add debug call.
22563 Use feedmail-queue-buffer-file-name, and
22564 feedmail-send-it-immediately-wrapper.
22565 (feedmail-message-action-send): Add debug call.
22566 Use feedmail-send-it-immediately-wrapper.
22567 (feedmail-queue-express-to-queue): Add debug call.
22568 Run feedmail-queue-express-hook.
22569 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22570 (feedmail-message-action-help-blat):
22571 Rename from feedmail-queue-send-edit-prompt-help-first.
22572 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22573 Check line-endings. Handle errors better.
22574 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22575 Doc fix. Add debug call.
22576 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22577 Use feedmail-queue-send-edit-prompt-inner.
22578 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22579 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22580 from feedmail-queue-send-edit-prompt.
22581 (feedmail-queue-send-edit-prompt-help)
22582 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22583 (feedmail-tidy-up-slug): Add debug call.
22584 Respect feedmail-queue-slug-suspect-regexp.
22585 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22586 (feedmail-dump-message-to-queue): Add debug call.
22587 Expand queue-directory.
22588 (feedmail-dump-message-to-queue): Change message slightly.
22589 Use feedmail-say-chatter.
22590 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22591 (feedmail-send-it-immediately-wrapper): New function.
22592 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22593 Insert empty string rather than newline. Handle full-frame case.
22594 Use catch/throw. Use feedmail-say-chatter.
22595 (feedmail-fiddle-from): Try mail-host-address.
22596 (feedmail-default-message-id-generator): Doc fix.
22597 Bind system-time-locale. Handle missing end.
22598 (feedmail-fiddle-x-mailer): Add debug call.
22599 Handle feedmail-x-mailer-line being nil.
22600 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22601 Add debug call. Use buffer-substring-no-properties.
22602 (feedmail-say-debug, feedmail-say-chatter): New functions.
22603 (feedmail-find-eoh): Give an explicit error.
22605 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22607 * net/newst-treeview.el (newsticker-treeview-face): Change default
22608 family from helvetica to sans.
22609 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22610 etc/images/newsticker.
22612 * net/newst-reader.el (newsticker-feed-face): Change default
22613 family from helvetica to sans.
22615 * net/newst-plainview.el (newsticker-new-item-face)
22616 (newsticker-old-item-face, newsticker-immortal-item-face)
22617 (newsticker-obsolete-item-face, newsticker-date-face)
22618 (newsticker-statistics-face): Change default family from
22620 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22621 etc/images/newsticker.
22623 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22624 (newsticker--process-auto-mark-filter-match): Tell user about
22627 2011-05-13 Didier Verna <didier@xemacs.org>
22629 Common Lisp indentation improvements on defmethod and lambda-lists.
22630 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22632 (lisp-lambda-list-keyword-parameter-indentation)
22633 (lisp-lambda-list-keyword-parameter-alignment)
22634 (lisp-lambda-list-keyword-alignment): New customizable user options.
22635 (lisp-indent-defun-method): Improve docstring.
22636 (extended-loop-p): Fix comment.
22637 (lisp-indent-lambda-list-keywords-regexp): New variable.
22638 (lisp-indent-lambda-list): New function.
22639 (lisp-indent-259): Use it.
22640 (lisp-indent-defmethod): Support for more than one
22641 method qualifier and properly indent methods lambda-lists.
22642 (defgeneric): Provide a missing common-lisp-indent-function property.
22644 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22646 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22647 bounds for the empty string (bug#8667).
22649 2011-05-13 Glenn Morris <rgm@gnu.org>
22651 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22653 * mail/sendmail.el (sendmail-program): Try executable-find first.
22654 (sendmail-send-it): `sendmail-program' cannot be unbound.
22656 * calendar/appt.el (appt-make-list): Simplify.
22657 (appt-time-msg-list): Doc fix.
22658 (appt-check): Change mode-line message at the time of the appointment.
22660 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22662 * progmodes/ld-script.el (ld-script-keywords)
22663 (ld-script-builtins): Update keywords list.
22665 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22667 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22669 * shell.el (shell-completion-vars): New function.
22671 * simple.el (read-shell-command): Use it.
22672 (blink-matching-open): No need for " [...]" in minibuffer-message.
22674 2011-05-12 Glenn Morris <rgm@gnu.org>
22676 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22677 (appt-check): Simplify.
22679 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22681 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22682 literal "/dev/null".
22684 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22686 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22689 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22691 * progmodes/which-func.el (which-function):
22692 Use add-log-current-defun instead of add-log-current-defun-function,
22693 which might not be defined (Bug#8260).
22695 2011-05-12 Glenn Morris <rgm@gnu.org>
22697 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22698 Let byte-compile-initial-macro-environment always take precedence.
22700 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22702 * net/rcirc.el: Add support for SSL/TLS connections.
22703 (rcirc-server-alist): New field `encryption'.
22704 (rcirc): Check `encryption' settings.
22705 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22706 Merge make-local-variable into `set'.
22707 (rcirc--connection-open-p): New function.
22708 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22709 the process is not a network process (e.g. running gnutls-cli).
22710 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22711 Make rcirc-(en|de)code-coding-system local here.
22712 (rcirc-mode): Merge make-local-variable into `set'.
22713 (rcirc-parent-buffer): Make permanent buffer-local.
22714 (rcirc-multiline-minor-mode): Don't do it here.
22715 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22716 there's no server buffer.
22718 2011-05-11 Glenn Morris <rgm@gnu.org>
22720 * newcomment.el (comment-kill): Prefix "unused" local.
22722 * term/w32console.el (get-screen-color): Declare.
22724 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22725 Handle symbol elements of byte-compile-initial-macro-environment.
22727 2011-05-10 Leo Liu <sdl.web@gmail.com>
22729 * bookmark.el (bookmark-bmenu-mode-map):
22730 Bind bookmark-bmenu-search to `/'.
22732 * mail/footnote.el: Convert to utf-8 encoding.
22733 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22734 (Footnote-unicode): New function.
22735 (footnote-style-alist): Add unicode style to the list.
22736 (footnote-style): Doc fix.
22738 2011-05-10 Jim Meyering <meyering@redhat.com>
22740 Fix doubled-word typos.
22741 * international/quail.el (quail-insert-kbd-layout): and and -> and
22742 * kermit.el: and and -> and
22743 * net/ldap.el (ldap-search-internal): to to -> to
22744 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22745 * progmodes/js.el (js-mode): and and -> and
22746 * textmodes/artist.el (artist-move-to-xy): at at -> at
22747 (artist-draw-region-trim-line-endings): if if -> if
22748 And Safetyc -> Safety.
22749 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22751 2011-05-10 Glenn Morris <rgm@gnu.org>
22752 Stefan Monnier <monnier@iro.umontreal.ca>
22754 * files.el (hack-one-local-variable-eval-safep):
22755 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22757 2011-05-10 Glenn Morris <rgm@gnu.org>
22759 * calendar/diary-lib.el (diary-list-entries-hook)
22760 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22761 (diary-nongregorian-marking-hook, diary-list-entries)
22762 (diary-include-other-diary-files, diary-mark-entries)
22763 (diary-mark-included-diary-files): Doc fixes.
22765 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22767 * misc.el: Require tabulated-list.el during compilation.
22769 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22771 * progmodes/compile.el (compilation-start):
22772 Run compilation-filter-hook for the async case too.
22773 (compilation-filter-hook): Doc fix.
22775 2011-05-09 Deniz Dogan <deniz@dogan.se>
22777 * wdired.el: Remove outdated installation comment. Fix usage
22780 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22782 * misc.el: Implement new command `list-dynamic-libraries'.
22783 (list-dynamic-libraries--loaded-only-p): New variable.
22784 (list-dynamic-libraries--refresh): New function.
22785 (list-dynamic-libraries): New command.
22787 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22789 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22790 Fix the ant regexp to handle end-line and end-column info from jikes.
22791 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22792 higher priority to avoid clobbering by gnu.
22794 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22796 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22797 if the face has existing theme settings (Bug#8454).
22799 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22801 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22802 Only match variables declared via `my' or `our' (Bug#8261).
22804 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22805 special file names `.' and `..' (Bug#8259).
22807 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22809 * progmodes/grep.el (grep-mode-font-lock-keywords):
22810 Remove buffer-changing entries.
22811 (grep-filter): New function.
22812 (grep-mode): Add it to compilation-filter-hook.
22814 * progmodes/compile.el (compilation-filter-hook)
22815 (compilation-filter-start): New defvars.
22816 (compilation-filter): Call compilation-filter-hook prior to
22817 updating the process mark.
22819 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22821 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22823 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22825 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22826 mailclient-send-it even if window-system is nil. (Bug#8595)
22828 * term/w32console.el (terminal-init-w32console):
22829 Call get-screen-color and use its output to set the frame
22830 background-mode. (Bug#8597)
22832 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22834 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22835 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22837 (defgeneric, eieio--defmethod): Use them.
22838 (eieio-defgeneric): Remove.
22839 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22841 2011-05-07 Glenn Morris <rgm@gnu.org>
22843 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22844 Use let rather than let*.
22845 (timeclock-find-discrep): Remove unused local.
22847 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22849 * calendar/appt.el (appt-time-msg-list): Doc fix.
22851 2011-05-06 Noah Friedman <friedman@splode.com>
22853 * apropos.el (apropos-print-doc): Only use
22854 emacs-lisp-docstring-fill-column when it is bound to an integer,
22855 per that variable's documentation.
22857 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22859 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22860 and warnings are not silently discarded (e.g. use -d instead of -P).
22862 2011-05-06 Glenn Morris <rgm@gnu.org>
22864 * calendar/appt.el (appt-message-warning-time): Doc fix.
22865 (appt-warning-time-regexp): New option.
22866 (appt-make-list): Respect appt-message-warning-time.
22868 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22870 (diary-add-to-list): Strip comments from the displayed string.
22871 (diary-mode): Set comment-start and comment-end.
22873 * vc/diff-mode.el (smerge-refine-subst): Declare.
22874 (diff-refine-hunk): Don't require smerge-mode when compiling.
22876 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22878 * simple.el (list-processes): Return nil as the docstring says.
22880 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22882 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22884 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22885 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22886 determining of binary transfer. (Bug#7383)
22888 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22890 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22891 Fix port computation bug. (Bug#8618)
22893 2011-05-05 Glenn Morris <rgm@gnu.org>
22895 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22897 * simple.el (shell-dynamic-complete-functions)
22898 (comint-dynamic-complete-functions): Declare.
22900 * net/network-stream.el (gnutls-negotiate):
22901 * simple.el (tabulated-list-print): Fix declarations.
22903 * progmodes/gud.el (syntax-symbol, syntax-point):
22904 Remove unnecessary and incorrect declarations.
22906 * emacs-lisp/check-declare.el (check-declare-scan):
22907 Handle byte-compile-initial-macro-environment in bytecomp.el.
22909 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22911 Fix earlier half-done eieio-defmethod change (bug#8338).
22912 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22913 Streamline and change calling convention.
22914 (defmethod): Adjust accordingly and simplify.
22915 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22916 new eieio--defmethod.
22917 (slot-boundp): Minor CSE simplification.
22919 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22921 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22922 (glasses-make-readable): Use glasses-separate-capital-groups.
22924 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22926 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22927 (warning-series): Doc fix.
22928 (display-warning): Don't try to create the buffer if we just found it.
22930 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22932 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22933 (autoload-find-generated-file): New function.
22934 (generate-file-autoloads): Bind generated-autoload-file to
22936 (update-file-autoloads, update-directory-autoloads):
22937 Use autoload-find-generated-file. If called interactively, prompt for
22938 output file (Bug#7989).
22939 (batch-update-autoloads): Doc fix.
22941 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22943 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22945 2011-05-04 Glenn Morris <rgm@gnu.org>
22947 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22948 function, so it follows changes in calendar-date-style.
22949 (diary-fancy-date-matcher): New function.
22950 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22951 (diary-fancy-font-lock-fontify-region-function):
22952 Use diary-fancy-date-pattern as a function.
22954 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22955 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22957 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22959 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22960 instead of positional arguments. Allow :keylist and :crlfiles
22962 (open-gnutls-stream): Call it.
22964 * net/network-stream.el (network-stream-open-starttls): Adjust to
22965 call `gnutls-negotiate' with :process and :hostname arguments.
22967 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22969 * minibuffer.el (completion--message): New function.
22970 (completion--do-completion, minibuffer-complete)
22971 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22972 (completion--do-completion): Don't ignore completion-auto-help when in
22975 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22976 internal encoding (e.g. tibetan zero is not whitespace).
22977 (global-whitespace-mode): Prefer save-current-buffer.
22978 (whitespace-trailing-regexp): Remove useless save-match-data.
22979 (whitespace-empty-at-bob-regexp): Minor simplification.
22981 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22983 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22985 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22987 * textmodes/ispell.el (ispell-add-per-file-word-list):
22988 Use `concat' to create string for insertion.
22990 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22992 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22993 Avoid open-line which runs post-self-insert-hook.
22994 (bibtex-fill-entry): Remove unused `end' var.
22996 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22998 * textmodes/ispell.el (ispell-add-per-file-word-list):
22999 Protect against `nil' value of `comment-start' (Bug#8579).
23001 2011-05-03 Leo Liu <sdl.web@gmail.com>
23003 * isearch.el (isearch-yank-pop): New command.
23004 (isearch-mode-map): Bind it to `M-y'.
23005 (isearch-forward): Mention it.
23007 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23009 * simple.el (minibuffer-complete-shell-command): Remove.
23010 (minibuffer-local-shell-command-map): Use completion-at-point.
23011 (read-shell-command): Setup completion vars here instead.
23012 (read-expression-map): Bind TAB to symbol completion.
23014 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23015 error directly rather via storing it into `results'.
23017 2011-05-02 Leo Liu <sdl.web@gmail.com>
23019 * vc/diff.el: Fix description.
23021 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23023 * server.el (server-eval-at): New function.
23025 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23027 * net/network-stream.el (open-network-stream): Take a :nowait
23028 parameter and pass it on to `make-network-process'.
23029 (network-stream-open-plain): Ditto.
23031 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23033 * faces.el (face-spec-set-match-display): Don't match toolkit
23034 options on terminal frames.
23036 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23038 * progmodes/pascal.el: Use lexical binding.
23039 (pascal-mode-map): Remove author preferences.
23041 * pcomplete.el (pcomplete-std-complete): Don't abuse
23042 completion-at-point.
23044 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23046 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23047 removing code that has been dead since 1991 or so.
23049 * startup.el (command-line): When warning about "_emacs", use a
23050 delayed warning to allow the user to filter it out.
23052 2011-04-28 Deniz Dogan <deniz@dogan.se>
23054 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23055 user has not joined.
23057 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23059 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23060 aren't any completions at point.
23062 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23064 * subr.el (display-delayed-warnings): New function.
23065 (delayed-warnings-hook): New variable.
23067 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23069 * minibuffer.el (completion-at-point, completion-help-at-point):
23070 Don't presume that a given completion-at-point-function will always
23071 use the same calling convention.
23073 * pcomplete.el (pcomplete-completions-at-point):
23074 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23075 pcomplete-seen is non-nil.
23076 (pcomplete-comint-setup): Also recognize the new comint/shell
23077 completion functions.
23078 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23079 pcomplete-seen is non-nil.
23081 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23083 * calendar/icalendar.el (diary-lib): Add require statement.
23084 (icalendar--create-uid): Read out a uid from a text-property on
23085 the first character in the entry. This allows for code to add its
23086 own uid to the entry.
23087 (icalendar--convert-float-to-ical): Add export of
23088 `diary-float'-entries save for those with the optional DAY
23091 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23093 * subr.el (shell-quote-argument): Use alternate escaping strategy
23094 when we spot a variable reference in a string.
23096 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23098 * cus-start.el (all): Define customization for debug-on-event.
23100 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23102 * subr.el (shell-quote-argument): Escape correctly under Windows.
23104 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23106 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23108 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23110 * net/tramp.el (tramp-process-actions): Add POS argument.
23111 Delete region between POS and (pos).
23113 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23114 Use `nil' position in `tramp-process-actions' call.
23115 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23117 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23118 position in `tramp-process-actions' call.
23120 * net/trampver.el: Update release number.
23122 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23124 * custom.el (defcustom): Obey lexical-binding.
23126 Fix octave-inf completion problems reported by Alexander Klimov.
23127 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23128 Inherit from octave-mode-syntax-table.
23129 (inferior-octave-mode): Set info-lookup-mode.
23130 (inferior-octave-completion-at-point): New function.
23131 (inferior-octave-complete): Use it and completion-in-region.
23132 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23133 comint-filename-completion.
23134 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23135 symbol elements which shouldn't be word elements.
23136 (octave-font-lock-keywords, octave-beginning-of-defun)
23137 (octave-function-header-regexp): Adjust regexps accordingly.
23138 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23140 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23142 * net/gnutls.el (gnutls-errorp): Declare before first use.
23144 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23146 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23147 verify-error, and verify-hostname-error parameters. Check whether
23148 default trustfile exists before going to use it. Add missing
23149 argument to gnutls-message-maybe call. Return value.
23150 Reported by Claudio Bley <claudio.bley@gmail.com>.
23151 (open-gnutls-stream): Add usage example.
23153 * net/network-stream.el (network-stream-open-starttls): Give host
23154 parameter to `gnutls-negotiate'.
23155 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23156 * subr.el (shell-quote-argument): Escape correctly under Windows.
23158 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23160 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23161 Use correct match group (bug#8438).
23163 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23165 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23166 (package-menu--generate): New arg specifying packages to show.
23167 (package-menu-refresh, package-menu-execute, list-packages):
23169 (package-show-package-list): New function, replacing deleted
23170 package--list-packages (renamed because it is non-internal).
23172 * finder.el (finder-list-matches): Use package-show-package-list
23173 instead of deleted package--list-packages.
23175 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23176 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23177 (vc-annotate-mode-map): Bind it to RET.
23179 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23181 * progmodes/etags.el (next-file): Don't use set-buffer to change
23182 buffers (Bug#8478).
23184 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23186 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23188 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23189 (apropos-accumulator): Doc fix.
23190 (apropos-function, apropos-macro, apropos-command)
23191 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23192 (apropos-plist): Add face property.
23193 (apropos-symbols-internal): Fix indentation.
23194 (apropos-print): Simplify help, and recognize apropos-multi-type.
23195 (apropos-print-doc): Use button-type-get to extract the button's
23196 face property. Fill docstring (Bug#8352).
23198 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23200 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23202 * play/mpuz.el (mpuz-silent): Doc fix.
23203 (mpuz-mode-map): Use mapc.
23204 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23205 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23206 Fix typos in docstrings.
23208 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23209 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23211 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23213 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23215 * minibuffer.el (completion--do-completion): Avoid the "Next char
23216 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23218 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23219 mouse-2 into unread-command-events, it is interpreted correctly.
23221 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23222 (image-toggle-display): Doc fix.
23224 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23226 * textmodes/page.el (what-page): Use line-number-at-pos to
23227 calculate line number (Bug#6825).
23229 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23231 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23232 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23233 Pass argument NO-DEFAULT to `find-tag-interactive'.
23235 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23237 Lexical-binding cleanup.
23239 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23240 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23241 * progmodes/ada-prj.el (ada-prj-initialize-values)
23242 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23243 (ada-prj-show-value):
23244 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23245 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23246 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23247 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23248 * progmodes/bug-reference.el (bug-reference-push-button):
23249 * progmodes/fortran.el (fortran-line-length):
23250 * progmodes/glasses.el (glasses-change):
23251 * progmodes/octave-mod.el (octave-fill-paragraph):
23252 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23253 (python-pdbtrack-grub-for-buffer, python-sentinel):
23254 * progmodes/sql.el (sql-save-connection):
23255 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23256 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23257 Mark unused parameters.
23259 * progmodes/compile.el (compilation--flush-directory-cache)
23260 (compilation--flush-parse, compile-internal): Mark unused parameters.
23261 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23262 (compilation-next-error-function): Remove unused variable `timestamp'.
23264 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23265 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23267 * progmodes/dcl-mode.el (dcl-end-of-command):
23268 Remove unused variable `start'.
23269 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23270 (dcl-option-value-basic, dcl-option-value-offset)
23271 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23272 Mark unused parameters.
23273 (dcl-save-local-variable): Remove unused variable `val'.
23276 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23277 Mark unused parameters.
23278 (delphi-ignore-changes): Move before first use.
23279 (delphi-charset-token-at): Remove unused variable `start'.
23280 (delphi-else-start): Remove unused variable `if-count'.
23281 (delphi-comment-block-start, delphi-comment-block-end):
23282 Remove unused variable `kind'.
23283 (delphi-indent-line): Remove unused variable `new-point'.
23285 * progmodes/ebrowse.el (ebrowse-files-list)
23286 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23287 Mark unused parameters. Don't quote `lambda'.
23288 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23289 Don't quote `lambda'.
23290 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23291 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23292 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23293 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23294 Use `ignore-errors'.
23295 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23296 (ebrowse-view/find-file-and-search-pattern)
23297 (ebrowse-view/find-member-declaration/definition):
23298 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23299 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23300 Rename parameter PREFIX-ARG to PREFIX.
23301 (ebrowse-tags-read-name): Remove unused variables `start' and
23303 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23306 * progmodes/etags.el (local-find-tag-hook): Declare.
23307 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23308 Mark unused parameters.
23310 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23311 (executable-interpret): Mark unused parameter.
23313 * progmodes/flymake.el (flymake-process-sentinel)
23314 (flymake-after-change-function)
23315 (flymake-create-temp-with-folder-structure)
23316 (flymake-get-include-dirs-dot): Mark unused parameters.
23317 (flymake-safe-delete-directory): Remove unused variable `err'.
23319 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23320 (speedbar-timer-fn, speedbar-line-text)
23321 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23322 (speedbar-center-buffer-smartly): Declare functions.
23323 (gdb-find-watch-expression): Remove unused variable `array'.
23324 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23325 (gdb-starting): Mark unused parameters.
23326 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23327 (gdb-table-string): Remove unused variable `res'.
23328 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23329 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23330 (gdb-display-buffer): Remove unused variable `cur-size'.
23332 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23333 allow lexical-binding compilation.
23334 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23335 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23336 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23337 Mark unused parameters.
23338 (gud-gdb-marker-filter): Remove unused variable `match'.
23339 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23340 lambda expressions and funcall them, instead of using `fset'.
23342 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23343 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23345 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23346 variable `header-beg'; use `let'.
23348 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23349 `restart', `last-sexp' and `at-do'.
23351 * progmodes/js.el (js--debug): Mark unused parameter.
23352 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23353 (js--splice-into-items): Remove unused variable `item'.
23354 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23356 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23357 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23358 (makefile-complete): Remove unused variable `try'.
23359 (makefile-fill-paragraph, makefile-match-function-end):
23360 Mark unused parameters.
23362 * progmodes/octave-inf.el (inferior-octave-complete):
23363 Remove unused variable `proc'.
23364 (inferior-octave-output-digest): Mark unused parameter.
23366 * progmodes/perl-mode.el (perl-calculate-indent):
23367 Remove unused variable `err'.
23369 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23370 (prolog-indent-line): Mark unused parameters.
23371 (prolog-indent-line): Remove unused variable `beg'.
23373 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23374 (reporter-dont-compact-list): Declare.
23376 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23377 Remove unused variable `char'.
23378 (sh-debug): Mark unused parameter.
23379 (sh-get-indent-info): Remove unused variable `start'.
23380 (sh-calculate-indent): Remove unused variable `var'.
23382 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23383 (simula-electric-keyword): Remove unused variable `null'.
23384 (simula-search-backward, simula-search-forward): Remove unused
23385 variables `begin' and `end'.
23387 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23388 Remove unused variable `pos'.
23389 (vera-electric-tab, vera-comment-uncomment-region):
23390 Mark unused parameters.
23391 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23393 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23395 * emacs-lisp/package.el (package--builtins, package-alist)
23396 (package-load-descriptor, package-built-in-p, package-activate)
23397 (define-package, package-installed-p)
23398 (package-compute-transaction, package-buffer-info)
23399 (package--push): Doc fix. Distinguish more clearly between
23400 version strings and version lists.
23402 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23404 Lexical-binding cleanup.
23406 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23407 (5x5-make-mutate-best):
23408 * play/fortune.el (fortune-in-buffer):
23409 * play/gomoku.el (gomoku-init-display):
23410 * play/solitaire.el (solitaire, solitaire-do-check):
23411 * play/tetris.el (tetris-default-update-speed-function):
23412 Mark unused parameters.
23414 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23415 (bubbles--shift): Remove unused variable `char-org'.
23416 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23417 (bubbles--show-images): Remove unused variable `char'.
23419 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23420 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23421 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23422 (decipher-analyze-buffer): Use ?\s.
23423 (decipher-make-checkpoint): Remove unused variable `mapping'.
23425 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23427 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23428 Remove unused variable `result'; use `let'.
23430 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23431 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23432 (gametree-children-shown-p, gametree-compute-reduced-score):
23433 Use `ignore-errors'.
23435 * play/handwrite.el (ps-lpr-switches): Declare.
23436 (handwrite): Remove unused variables `pmin' and `lastp'.
23438 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23440 * play/landmark.el (landmark-init-display)
23441 (landmark-update-naught-weights): Mark unused parameters.
23442 (landmark-y): Remove unused variable `noise'. Simplify.
23443 (landmark-human-plays): Remove unused variable `score'.
23445 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23446 (mpuz-try-proposal): Remove unused variable `game'.
23448 * play/zone.el (life-patterns): Declare.
23450 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23452 * vc/vc.el (ediff-vc-internal): Declare function.
23454 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23456 * shell.el: Use lexical-binding and std completion UI.
23457 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23458 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23459 comint-preoutput-filter-functions rather than on
23460 comint-output-filter-functions.
23461 (shell-command-completion, shell--command-completion-data)
23462 (shell-filename-completion, shell-environment-variable-completion)
23463 (shell-c-a-p-replace-by-expanded-directory): New functions.
23464 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23465 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23466 (shell-dynamic-complete-environment-variable): Use them.
23467 (shell-dynamic-complete-as-environment-variable)
23468 (shell-dynamic-complete-as-command): Remove.
23469 (shell-match-partial-variable): Match past point.
23470 * comint.el: Clean up use of completion-at-point-functions.
23471 (comint-completion-at-point): New function.
23472 (comint-mode): Use it completion-at-point-functions.
23473 (comint-dynamic-complete): Make it obsolete.
23474 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23475 (comint-c-a-p-replace-by-expanded-history): New function.
23476 (comint-dynamic-complete-functions)
23477 (comint-replace-by-expanded-history): Use it.
23478 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23479 termination strings. Try harder to avoid second try-completion.
23480 (completion-in-region-mode-map): Disable bindings that don't work yet.
23482 * comint.el: Use lexical-binding. Require CL.
23483 (comint-dynamic-complete-functions): Use comint-filename-completion.
23484 (comint-completion-addsuffix): Tweak custom type.
23485 (comint-filename-completion, comint--common-suffix)
23486 (comint--common-quoted-suffix, comint--table-subvert)
23487 (comint--complete-file-name-data): New functions.
23488 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23489 (comint-dynamic-list-filename-completions): Use them.
23490 (comint-dynamic-simple-complete): Make obsolete.
23492 * minibuffer.el (completion-in-region-mode):
23493 Keep completion-in-region-mode--predicate global.
23494 (completion-in-region--postch):
23495 Assume completion-in-region-mode--predicate is not null.
23497 * progmodes/flymake.el (flymake-start-syntax-check-process):
23498 Obey `dir'. Simplify.
23500 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23501 we're in VC after all.
23503 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23505 * vc/vc.el (vc-diff-build-argument-list-internal)
23506 (vc-version-ediff, vc-ediff): New commands.
23507 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23509 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23511 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23514 * obsolete/erc-hecomplete.el: Make obsolete.
23515 * obsolete/: Standardize obsolescence info in the header.
23517 2011-04-20 Glenn Morris <rgm@gnu.org>
23519 * calendar/solar.el (solar-horizontal-coordinates):
23520 Use the longitude argument rather than `calendar-longitude'.
23521 (solar-date-next-longitude): Remove unused locals.
23523 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23525 * whitespace.el: New version 13.2.1.
23527 2011-04-20 felix <EmacsWiki> (tiny change)
23529 * whitespace.el (global-whitespace-mode): Keep highlight when
23530 switching between major modes on a file.
23532 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23534 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23535 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23536 multi-line comments as well.
23538 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23540 Lexical-binding cleanup.
23542 * arc-mode.el (archive-mode-revert):
23543 * cmuscheme.el (scheme-interactively-start-process):
23544 * custom.el (custom-initialize-delay):
23545 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23546 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23547 * emacs-lock.el (emacs-lock-clear-sentinel):
23548 * ezimage.el (defezimage):
23549 * follow.el (follow-avoid-tail-recenter):
23550 * fringe.el (set-fringe-mode-1):
23551 * generic-x.el (bat-generic-mode-compile):
23552 * help-mode.el (help-info-variable, help-do-xref)
23553 (help-mode-revert-buffer):
23554 * help.el (view-emacs-todo):
23555 * iswitchb.el (iswitchb-completion-help):
23556 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23557 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23558 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23559 * locate.el (locate-update):
23560 * longlines.el (longlines-encode-region)
23561 (longlines-after-change-function):
23562 * outline.el (outline-isearch-open-invisible):
23563 * ps-def.el (declare-function, charset-dimension, char-width)
23565 * ps-mule.el (ps-mule-plot-string):
23566 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23567 (recentf-edit-list-select, recentf-edit-list-validate)
23568 (recentf-open-files-action):
23569 * rect.el (delete-whitespace-rectangle-line)
23570 (rectangle-number-line-callback):
23571 * register.el (window-configuration-to-register)
23572 (frame-configuration-to-register):
23573 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23574 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23575 (xselect-convert-to-targets, xselect-convert-to-delete)
23576 (xselect-convert-to-filename, xselect-convert-to-charpos)
23577 (xselect-convert-to-lineno, xselect-convert-to-colno)
23578 (xselect-convert-to-os, xselect-convert-to-host)
23579 (xselect-convert-to-user, xselect-convert-to-class)
23580 (xselect-convert-to-name, xselect-convert-to-integer)
23581 (xselect-convert-to-atom, xselect-convert-to-identity):
23582 * subr.el (declare, ignore, process-kill-without-query)
23583 (text-clone-maintain):
23584 * terminal.el (te-get-char, te-tic-sentinel):
23585 * tool-bar.el (tool-bar-make-keymap):
23586 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23587 * type-break.el (type-break-mode, type-break-noninteractive-query):
23588 * view.el (View-back-to-mark):
23589 * wid-browse.el (widget-browse-action, widget-browse-widget)
23590 (widget-browse-widgets, widget-browse-sexp):
23591 * widget.el (define-widget-keywords):
23592 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23593 Mark unused parameters.
23595 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23596 (align-areas): Remove unused variable `look'.
23597 (align-region): Remove unused variables `real-end' and `pos-list'.
23599 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23601 * bindings.el (mode-line-modified, mode-line-remote):
23602 Mark unused parameters.
23603 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23605 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23606 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23608 * comint.el (comint-history-isearch-pop-state)
23609 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23610 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23611 (comint-substitute-in-file-name): Doc fix.
23613 * completion.el (cmpl-statistics-block): Mark unused parameter.
23614 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23615 (save-completions-to-file, load-completions-from-file):
23616 Remove unused local variable `e'.
23618 * composite.el (compose-chars): Remove unused variable `len'.
23619 (lgstring-insert-glyph): Remove unused variable `g'.
23620 (compose-glyph-string): Remove unused variables `ascent',
23621 `descent', `lbearing' and `rbearing'.
23622 (compose-glyph-string-relative): Remove unused variables
23623 `lbearing', `rbearing' and `wadjust'.
23624 (compose-gstring-for-graphic): Remove unused variables `header',
23625 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23626 (compose-gstring-for-terminal): Remove unused variables `header'
23627 and `nchars'. Use `let', not `let*'.
23629 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23630 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23631 (Custom-buffer-done, custom-buffer-create-internal)
23632 (custom-browse-visibility-action, custom-browse-group-tag-action)
23633 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23634 (widget-magic-mouse-down-action, custom-toggle-parent)
23635 (custom-add-parent-links, custom-toggle-hide-variable)
23636 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23637 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23638 (custom-face-menu-create, custom-variable-menu-create, get)
23639 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23640 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23641 (customize-apropos): Remove unused variable `tests'.
23642 (custom-group-value-create): Remove unused variable `hidden-p'.
23643 (sort-fold-case): Declare.
23645 * cus-theme.el (custom-reset-standard-faces-list)
23646 (custom-reset-standard-variables-list): Declare.
23647 (customize-create-theme, custom-theme-revert, custom-theme-write)
23648 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23649 Mark unused parameters.
23651 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23653 * delim-col.el (delimit-columns-max): Move defvar before first use.
23655 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23656 (describe-char): Don't quote `lambda'. Mark unused parameter.
23658 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23659 (auto-insert): Declare.
23660 (desktop-restore-file-buffer): Rename desktop-* parameters;
23662 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23663 (desktop-buffer): Rename desktop-* parameters.
23665 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23666 (dframe-reposition-frame-xemacs, dframe-help-echo)
23667 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23668 Mark unused parameters.
23670 * dired-aux.el (backup-extract-version-start, overwrite-query)
23671 (overwrite-backup-query, rename-regexp-query)
23672 (rename-non-directory-query): Declare.
23673 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23674 (dired-add-entry): Remove unused variable `orig-file-name'.
23675 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23676 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23677 `dired-copy-preserve-time' directly.
23678 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23679 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23681 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23682 (dired-virtual-revert, dired-make-relative-symlink):
23683 Mark unused parameters.
23684 (manual-program): Declare.
23685 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23686 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23687 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23689 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23691 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23693 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23696 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23698 * electric.el (Electric-command-loop): Rename parameter
23699 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23701 * expand.el (expand-in-literal): Remove unused variable `here'.
23703 * facemenu.el (facemenu-add-new-color):
23704 Remove unused variable `docstring'.
23706 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23707 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23708 (face-attr-construct): Mark unused parameter. Doc fix.
23709 (read-color): Remove unused variable `hex-string'.
23711 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23712 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23713 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23714 (display-buffer-other-frame): Remove unused variable `old-window'.
23715 (kill-buffer-hook): Declare.
23716 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23717 Mark unused parameters.
23718 (after-find-file): Pass 1 to `auto-save-mode', not t.
23720 * files-x.el (auto-insert): Declare.
23721 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23723 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23724 variable `buf'. Mark unused parameter.
23725 (find-lisp-insert-directory): Mark unused parameter.
23727 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23728 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23729 (format-common-tail): Remove, unused.
23730 (format-deannotate-region): Remove unused variable `loc'.
23731 (format-annotate-region): Remove unused variable `p'.
23732 (format-annotate-single-property-change): Remove unused variables
23733 `default' and `tail'.
23735 * forms.el (read-file-filter): Declare.
23736 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23738 * frame.el (frame-creation-function-alist): Mark unused parameter.
23739 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23741 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23742 Remove unused parameters.
23743 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23744 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23746 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23747 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23748 (hfy-prepare-tag-map): Mark unused parameters.
23749 (htmlfontify-buffer): Use `called-interactively-p'.
23751 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23752 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23753 (ibuffer-do-occur): Mark unused parameters.
23754 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23755 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23757 * ibuffer.el: Don't quote `lambda'.
23758 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23759 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23760 Mark unused parameters.
23762 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23763 (ido-completing-read): Mark unused parameters.
23764 (ido-copy-current-word): Mark unused parameters;
23765 remove unused variable `name'.
23766 (ido-sort-merged-list): Remove unused parameter `dirs'.
23768 * ielm.el (ielm-input-sender): Mark unused parameter.
23769 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23770 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23771 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23772 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23773 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23775 * image-dired.el (image-dired-display-thumbs): Remove unused
23776 variables `curr-file' and `count'.
23777 (image-dired-remove-tag): Remove unused variable `start'.
23778 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23779 variable `curr-file'
23780 (image-dired-rotate-original): Remove unused variable `temp-file'.
23781 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23782 Remove unused variable `file'.
23783 (image-dired-gallery-generate): Remove unused variable `curr'.
23784 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23786 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23788 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23790 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23792 * isearch.el (minibuffer-history-symbol): Declare.
23793 (isearch-edit-string): Remove unused variable `err'.
23794 (isearch-message-prefix, isearch-message-suffix):
23795 Mark unused parameters.
23797 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23799 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23801 * makesum.el (double-column): Remove unused variable `cnt'.
23803 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23804 (ido-ignore-item-temp-list): Declare.
23806 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23807 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23808 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23809 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23812 * mouse-sel.el (mouse-extend-internal):
23813 Remove unused variable `orig-window-frame'.
23815 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23816 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23817 Move declarations before first use.
23818 (pcomplete-opt): Mark unused parameters; doc fix.
23820 * proced.el (proced-revert): Mark unused parameter.
23821 (proced-send-signal): Remove unused variable `err'.
23823 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23824 Rename parameter PREFIX-ARG to ARG.
23825 (ps-basic-plot-string, ps-basic-plot-whitespace):
23826 Mark unused parameters.
23828 * replace.el (replace-count): Define.
23829 (occur-revert-function): Mark unused parameters.
23830 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23831 (isearch-case-fold-search, isearch-string): Declare.
23832 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23833 bind `case-fold-search'. Remove unused variables `beg' and `end',
23835 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23836 COUNT and bind `replace-count'.
23837 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23840 * savehist.el (print-readably, print-string-length): Declare.
23842 * shadowfile.el (shadow-expand-cluster-in-file-name):
23843 Remove unused variable `cluster'.
23844 (shadow-copy-file): Remove unused variable `i'.
23845 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23846 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23847 (shadow-define-literal-group, shadow-define-regexp-group)
23848 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23850 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23851 (shell): Use `called-interactively-p'.
23852 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23854 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23855 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23856 (delete-backward-char): Remove unused variable `ocol'.
23857 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23858 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23859 (event-apply-hyper-modifier, event-apply-shift-modifier)
23860 (event-apply-control-modifier, event-apply-meta-modifier):
23861 Mark unused parameters.
23862 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23863 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23865 * speedbar.el (speedbar-ignored-directory-expressions)
23866 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23867 (speedbar-find-file, speedbar-dir-follow)
23868 (speedbar-directory-buttons-follow, speedbar-tag-find)
23869 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23870 (speedbar-buffers-line-directory, speedbar-buffer-click):
23871 Mark unused parameters.
23872 (speedbar-tag-file): Remove unused variable `mode'.
23873 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23875 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23877 * talk.el (talk): Remove unused variable `display'.
23879 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23880 (tar-write-region-annotate): Mark unused parameter.
23882 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23883 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23884 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23885 warning by another.
23887 * time-stamp.el (time-stamp-string-preprocess):
23888 Remove unused variable `require-padding'.
23890 * tree-widget.el (widget-glyph-enable): Declare.
23891 (tree-widget-action): Mark unused parameter.
23893 * w32-fns.el (x-get-selection): Mark unused parameter.
23894 (autoload-make-program, generated-autoload-file): Declare.
23896 * wdired.el (wdired-revert): Mark unused parameters.
23897 (wdired-xcase-word): Remove unused variable `err'.
23899 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23900 (whitespace-help-scroll): Remove unused variable `data-help'.
23902 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23903 (widget-image-insert, widget-after-change, default)
23904 (widget-default-format-handler, widget-default-notify)
23905 (widget-default-prompt-value, widget-info-link-action)
23906 (widget-url-link-action, widget-function-link-action)
23907 (widget-variable-link-action, widget-file-link-action)
23908 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23909 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23910 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23911 (widget-insert-button-action, widget-delete-button-action, visibility)
23912 (widget-documentation-link-action, widget-documentation-string-action)
23913 (widget-const-prompt-value, widget-regexp-match, symbol)
23914 (widget-coding-system-prompt-value)
23915 (widget-key-sequence-value-to-external, sexp)
23916 (widget-sexp-value-to-internal, character, vector, cons)
23917 (widget-choice-prompt-value, widget-boolean-prompt-value)
23918 (widget-color--choose-action): Mark unused parameters.
23919 (widget-item-match-inline, widget-choice-match-inline)
23920 (widget-checklist-match, widget-checklist-match-inline)
23921 (widget-group-match): Rename parameter VALUES to VALS.
23922 (widget-field-value-set): Remove unused variable `size'.
23923 (widget-color-action): Remove unused variables `value' and `start'.
23925 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23926 variable `dir'. Doc fix.
23927 (windmove-find-other-window): Don't pass it.
23929 * window.el (count-windows): Mark unused parameter.
23930 (bw-adjust-window): Remove unused variable `err'.
23932 * woman.el (woman-file-name): Remove unused variable `default'.
23933 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23934 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23935 (global-font-lock-mode): Declare.
23936 (woman-decode-region): Mark unused parameter.
23937 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23939 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23940 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23941 (x-dnd-handle-moz-url): Remove unused variable `title'.
23942 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23944 * xml.el (xml-parse-tag, xml-parse-attlist):
23945 Remove unused variable `pos'.
23947 2011-04-19 Glenn Morris <rgm@gnu.org>
23949 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23950 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23951 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23952 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23953 * calendar/cal-html.el (cal-html-insert-minical):
23954 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23955 (calendar-mark-date-pattern):
23956 Prefix "unused" locals.
23958 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23959 optional argument `style'.
23961 * calendar/appt.el (appt-make-list):
23962 * calendar/cal-china.el (calendar-chinese-date-string):
23963 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23964 (diary-hebrew-yahrzeit):
23965 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23966 * calendar/calendar.el (calendar-generate-window):
23967 * calendar/time-date.el (time-to-days):
23968 Remove unused local variables.
23970 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23972 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23973 glyphless-char-display table.
23974 (tabulated-list-glyphless-char-display): New var.
23976 2011-04-18 Sam Steingold <sds@gnu.org>
23978 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23979 to acknowledgments.
23981 2011-04-17 Glenn Morris <rgm@gnu.org>
23983 * calendar/diary-lib.el (diary-sexp-entry):
23984 * calendar/holidays.el (holiday-sexp):
23985 Set debug-on-error rather than the removed stack-trace-on-error.
23987 2011-04-16 Glenn Morris <rgm@gnu.org>
23989 * progmodes/f90.el: Use lexical-binding.
23990 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23992 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23994 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23995 (mail-mode): Setup mailalias completion here instead.
23996 * mail/mailalias.el: Use lexical-binding.
23997 (pattern, mailalias-done): Declare dynamic.
23998 (mail-completion-at-point-function): New function, from mail-complete.
23999 (mail-complete): Use it.
24000 (mail-completion-expand): New function.
24001 (mail-get-names): Use it.
24002 (mail-directory, mail-directory-process, mail-directory-stream):
24003 Don't use `pattern' for lexically bound arg.
24005 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24007 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24008 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24009 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24011 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24012 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24013 (byte-interactive-p): Define them again, for use when inlining
24016 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24018 * loadup.el: Use `string-to-number', not `string-to-int'.
24020 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24022 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24023 gud-gdb-complete-command.
24024 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24025 (gud-gdb-completion-at-point): New function.
24026 (gud-gdb-completions): Remove.
24028 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24030 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24031 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24032 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24033 whether `executable-find' is bound.
24035 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24037 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24039 * minibuffer.el (completion-in-region-mode-predicate)
24040 (completion-in-region-mode--predicate): New vars.
24041 (completion-in-region, completion-in-region--postch)
24042 (completion-in-region-mode): Use them.
24043 (completion--capf-wrapper): Also return the hook function.
24044 (completion-at-point, completion-help-at-point):
24045 Adjust and provide a predicate.
24047 Preserve arg names for advice of subr and lexical functions (bug#8457).
24048 * help-fns.el (help-function-arglist): Consolidate the subr and
24049 new-byte-code cases. Add argument `preserve-names' to extract names
24050 from the docstring when needed.
24051 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24052 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24053 (ad-arglist): Use help-function-arglist's new arg.
24054 (ad-definition-type): Use cond.
24056 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24058 * autorevert.el (auto-revert-handler):
24059 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24060 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24061 Don't quote lambda.
24063 * image-mode.el (image-transform-set-scale):
24064 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24066 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24068 * net/network-stream.el (network-stream-open-starttls): Only do
24069 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24070 Upgrades via gnutls-cli are too slow to be done opportunistically.
24072 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24074 * dframe.el (dframe-current-frame): Remove spurious quote.
24076 2011-04-12 Glenn Morris <rgm@gnu.org>
24078 * calendar/cal-tex.el (cal-tex-end-document):
24079 Try to automatically use latin1 input if needed.
24081 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24082 Don't try to cons a mark onto an empty element.
24084 2011-04-11 Leo Liu <sdl.web@gmail.com>
24086 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24088 (ido-kill-buffer-at-head): Support killing virtual buffers.
24090 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24092 * minibuffer.el (completion-show-inline-help): New var.
24093 (completion--do-completion, minibuffer-complete)
24094 (minibuffer-force-complete, minibuffer-complete-word):
24095 Inhibit minibuffer messages if completion-show-inline-help is nil.
24097 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24098 to avoid interference from inline help (Bug#5849).
24100 2011-04-10 Leo Liu <sdl.web@gmail.com>
24102 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24105 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24107 * image-mode.el (image-toggle-display-image): Signal an error if
24109 (image-transform-mode, image-transform-resize)
24110 (image-transform-set-rotation): Doc fix.
24111 (image-transform-set-resize): Delete.
24112 (image-transform-set-scale, image-transform-fit-to-height)
24113 (image-transform-fit-to-width): Handle image-toggle-display-image
24114 and image-transform-resize directly.
24116 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24118 * doc-view.el (doc-view-fit-width-to-window)
24119 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24120 New functions for fitting the shown image to the Emacs window size.
24121 (doc-view-mode-map): Add bindings for the new functions.
24123 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24125 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24126 Fix typo in docstring.
24128 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24130 * files.el (file-size-human-readable): Produce one digit after
24131 decimal, like "ls -lh" does.
24133 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24134 the file size representation.
24136 * simple.el (list-processes): If async subprocesses are not
24137 available, error out with a clear error message.
24139 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24141 * help.el (help-form-show): New function, to be called from C.
24142 Put help-form output in a buffer named differently than *Help*.
24144 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24146 * files.el (file-size-human-readable): New function.
24148 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24149 computing the representation inline. Don't require `cl'.
24151 2011-04-08 Glenn Morris <rgm@gnu.org>
24153 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24155 * net/browse-url.el (browse-url-firefox):
24156 Test system-type, not system-configuration.
24158 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24159 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24160 Use log-edit-empty-buffer-p. (Bug#7598)
24162 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24163 (rlogin-mode-map): Initialize in the defvar.
24164 (rlogin): Use ignore-errors.
24166 * replace.el (occur-mode-map): Some fixes for menu items.
24168 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24170 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24172 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24174 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24175 issuing unused warnings.
24177 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24180 * simple.el: Lisp reimplement of list-processes. Based on an
24181 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24182 (process-menu-mode): New major mode.
24183 (list-processes--refresh, list-processes):
24184 (process-menu-visit-buffer): New functions.
24186 * files.el (save-buffers-kill-emacs): Don't assume any return
24187 value of list-processes, which is undocumented anyway.
24189 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24191 * emacs-lisp/tabulated-list.el: New file.
24193 * emacs-lisp/package.el: Use Tabulated List mode.
24194 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24195 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24196 table format using Tabulated List mode variables.
24197 (package--push): New macro, replacing package-list-maybe-add.
24198 (package-menu--generate): Use package--push. Renamed from
24199 package--generate-package-list.
24200 (package-menu-refresh, list-packages): Use it.
24201 (package-menu--print-info): Rename from package-print-package.
24202 Return insertion data instead of inserting it directly.
24203 (package-menu-describe-package, package-menu-execute):
24204 Use tabulated-list-get-id.
24205 (package-menu-mark-delete, package-menu-mark-install)
24206 (package-menu-mark-unmark, package-menu-backup-unmark)
24207 (package-menu-mark-obsolete-for-deletion):
24208 Use tabulated-list-put-tag.
24209 (package--list-packages, package-menu-revert)
24210 (package-menu-get-package, package-menu-get-version)
24211 (package-menu-sort-by-column): Functions deleted.
24212 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24213 (package-menu--status-predicate, package-menu--version-predicate)
24214 (package-menu--name-predicate)
24215 (package-menu--description-predicate): Handle arguments in the
24216 Tabulated List format.
24217 (package-list-packages-no-fetch): Call list-packages.
24219 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24221 * files.el (after-find-file-from-revert-buffer): Remove variable.
24222 (after-find-file): Don't bind it.
24223 (revert-buffer-in-progress-p): New variable.
24224 (revert-buffer): Bind it.
24225 Pass nil for `after-find-file-from-revert-buffer'.
24227 * saveplace.el (save-place-find-file-hook): Use new variable
24228 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24230 2011-04-06 Glenn Morris <rgm@gnu.org>
24232 * Makefile.in (AUTOGEN_VCS): New variable.
24233 (autoloads): Use $AUTOGEN_VCS.
24235 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24236 * calendar/calendar.el (calendar-mode-map):
24237 Check for toolkit scroll bars. (Bug#8305)
24239 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24241 * minibuffer.el (completion-in-region--postch)
24242 (completion-in-region-mode): Remove unnecessary messages.
24244 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24246 * font-lock.el (font-lock-refresh-defaults):
24247 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24248 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24250 * info.el (Info-directory-list, Info-read-node-name-2)
24251 (Info-split-parameter-string): Doc fixes.
24252 (Info-virtual-nodes): Reflow docstring.
24253 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24254 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24255 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24256 Fix typos in docstrings.
24257 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24258 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24259 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24260 (Info-restore-desktop-buffer): Mark unused parameters.
24261 (Info-directory-find-file, Info-directory-find-node)
24262 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24263 (Info-virtual-index-find-node, Info-apropos-find-file)
24264 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24265 Mark unused parameters; fix typos in docstrings.
24266 (Info-virtual-index): Remove unused local variable `nodename'.
24268 2011-04-05 Deniz Dogan <deniz@dogan.se>
24270 * net/rcirc.el: Update my e-mail address.
24271 (rcirc-mode-map): Remove M-o binding.
24273 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24275 * startup.el (command-line): Save the cursor's theme-face
24276 directly, instead of using face-override-spec.
24278 * custom.el (load-theme): Minor optimization in assigning faces.
24280 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24282 * help-fns.el (describe-variable): Complete all variables having
24283 documentation, including keywords.
24284 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24286 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24288 Convert to lexical-binding.
24290 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24291 (bs--get-marked-string, bs--get-modified-string)
24292 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24293 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24294 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24296 * ehelp.el (electric-help-execute-extended)
24297 (electric-help-ctrl-x-prefix):
24298 * hexl.el (hexl-revert-buffer-function):
24299 * linum.el (linum-after-change, linum-after-scroll):
24300 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24302 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24304 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24311 * epg.el: Use lexical binding.
24313 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24315 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24317 * textmodes/flyspell.el (flyspell-word): Recognize default
24318 dictionary case for flyspell-mark-duplications-exceptions.
24319 Use regexp matching for languages.
24320 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24321 default dictionary (Bug#7926).
24323 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24325 * emacs-lisp/package.el (package--with-work-buffer):
24326 Recognize https URLs.
24328 * net/network-stream.el: Move from gnus/proto-stream.el.
24329 Change prefix to network-stream throughout.
24330 (open-protocol-stream): Merge into open-network-stream, leaving
24331 open-protocol-stream as an alias. Handle nil BUFFER args.
24333 * subr.el (open-network-stream): Move to net/network-stream.el.
24335 2011-04-02 Glenn Morris <rgm@gnu.org>
24337 * find-dired.el (find-exec-terminator): New option.
24338 (find-ls-option): Test for -ls support.
24339 (find-ls-subdir-switches): Test for -b in find-ls-option.
24340 (find-dired, find-grep-dired): Doc fixes.
24341 (find-dired): Use find-exec-terminator.
24343 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24344 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24345 (find-name-arg): Remove purecopy.
24347 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24348 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24349 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24350 accordingly. Don't add the null-device if not needed.
24352 * files.el (save-some-buffers): Doc fix.
24354 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24356 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24358 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24360 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24361 Use `dolist' rather than `mapcar'.
24363 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24365 Add lexical binding.
24367 * subr.el (apply-partially): Use new closures rather than CL.
24368 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24369 (dolist, dotimes): Use slightly different expansion for lexical code.
24370 (functionp): Move to C.
24371 (letrec): New macro.
24372 (with-wrapper-hook): Use it and apply-partially instead of CL.
24373 (eval-after-load): Preserve lexical-binding.
24374 (save-window-excursion, with-output-to-temp-buffer): Turn them
24377 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24379 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24381 (help-add-fundoc-usage): Don't add `Not documented'.
24382 (help-function-arglist): Handle closures, subroutines, and new
24383 byte-code-functions.
24384 (help-make-usage): Remove leading underscores.
24385 (describe-function-1): Handle closures.
24386 (describe-variable): Use special-variable-p for completion.
24388 * files.el (lexical-binding): Declare safe.
24390 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24391 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24392 (pcase): Add `let' pattern.
24393 Change memoization so it actually works.
24394 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24395 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24398 * emacs-lisp/macroexp.el: Use lexical binding.
24399 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24400 Don't convert ' to #' without checking that it's indeed quoting
24403 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24404 Use eval-sexp-add-defvars.
24405 (eval-sexp-add-defvars): New fun.
24407 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24409 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24411 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24412 than the internal `byte-compile-lambda'.
24413 (defmethod): Don't hide code under quotes.
24414 (eieio-defmethod): New `code' argument.
24416 * emacs-lisp/eieio-comp.el: Remove.
24418 * emacs-lisp/edebug.el (edebug-eval-defun)
24419 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24420 (edebug-toggle): Avoid `eval'.
24422 * emacs-lisp/disass.el (disassemble-internal): Handle new
24424 (disassemble-1): Handle new byte codes.
24426 * emacs-lisp/cl.el (pushnew): Silence warning.
24428 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24429 (cl-byte-compile-throw): Remove.
24430 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24432 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24435 * emacs-lisp/cconv.el: New file.
24437 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24438 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24439 (byte-compile-initial-macro-environment):
24440 Handle declare-function here.
24441 (byte-compile--lexical-environment): New var.
24442 (byte-stack-ref, byte-stack-set, byte-discardN)
24443 (byte-discardN-preserve-tos): New lap codes.
24444 (byte-interactive-p): Don't use any more.
24445 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24447 (byte-compile-lapcode): Use them and handle new lap codes.
24448 (byte-compile-obsolete): Remove.
24449 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24450 (byte-compile-arglist-warn): Check late def of inlinable funs.
24451 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24452 since they should have been expanded by now.
24453 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24454 (byte-compile-from-buffer): Remove unused second arg.
24455 (byte-compile-preprocess): New function.
24456 (byte-compile-toplevel-file-form): New function to distinguish
24457 file-form calls from outside from file-form calls from hunk-handlers.
24458 (byte-compile-file-form): Simplify.
24459 (byte-compile-file-form-defsubst): Remove.
24460 (byte-compile-file-form-defmumble): Simplify now that
24461 byte-compile-lambda always returns a byte-code-function.
24462 (byte-compile): Preprocess.
24463 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24464 Remove, not used any more.
24465 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24466 (byte-compile-make-args-desc): New funs.
24467 (byte-compile-lambda): Handle lexical functions. Always return
24468 a byte-code-function.
24469 (byte-compile-reserved-constants): New var, to make up room for
24470 closed-over variables.
24471 (byte-compile-constants-vector): Obey it.
24472 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24473 (byte-compile-macroexpand-declare-function): New function.
24474 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24475 byte-code-functions.
24476 (byte-compile-form): Check obsolescence here.
24477 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24478 (byte-compile-variable-ref): Remove.
24479 (byte-compile-dynamic-variable-op): New fun.
24480 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24481 (byte-compile-variable-set): New funs.
24482 (byte-compile-discard): Add 2 args.
24483 (byte-compile-stack-ref, byte-compile-stack-set)
24484 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24485 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24486 macroexpand-all instead.
24487 (byte-compile-quote-form): Remove.
24488 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24489 (byte-compile-bind, byte-compile-unbind): New funs.
24490 (byte-compile-let): Handle let* and lexical binding.
24491 (byte-compile-let*): Remove.
24492 (byte-compile-catch, byte-compile-unwind-protect)
24493 (byte-compile-track-mouse, byte-compile-condition-case):
24494 Handle a new :fun-body form, used for lexical scoping.
24495 (byte-compile-save-window-excursion)
24496 (byte-compile-with-output-to-temp-buffer): Remove.
24497 (byte-compile-defun): Simplify.
24498 (byte-compile-stack-adjustment): New fun.
24499 (byte-compile-out): Use it.
24500 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24502 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24505 * emacs-lisp/byte-opt.el: Use lexical binding.
24506 (byte-inline-lapcode): Remove (to bytecomp).
24507 (byte-compile-inline-expand): Pay attention to inlining to/from
24508 lexically bound code.
24509 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24511 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24512 any more and don't call compiler-macros.
24513 (byte-compile-splice-in-already-compiled-code): Remove.
24514 (byte-code): Don't inline any more.
24515 (disassemble-offset): Receive `bytes' as argument rather than via
24517 (byte-compile-tag-number): Declare before first use.
24518 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24519 `return' even if make-spliceable.
24520 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24521 obsolete interactive-p.
24522 (byte-optimize-lapcode): Optimize new lap-codes.
24523 Don't trip up on new form of `byte-constant' lap code.
24525 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24527 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24529 * custom.el (custom-initialize-default, custom-declare-variable):
24532 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24534 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24535 (COMPILE_FIRST): Add macroexp and cconv.
24536 * makefile.w32-in: Mirror changes in Makefile.in.
24538 * vc/cvs-status.el:
24542 * vc/smerge-mode.el:
24543 * textmodes/bibtex-style.el:
24544 * textmodes/css-mode.el:
24552 * emacs-lisp/smie.el:
24555 * abbrev.el: Use lexical binding.
24557 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24559 * info.el (info-display-manual): New function.
24561 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24563 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24565 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24567 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24568 an entry for that server in rcirc-authinfo. (Bug#8385)
24570 2011-03-31 Glenn Morris <rgm@gnu.org>
24572 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24574 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24576 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24578 * progmodes/python.el (python-default-interpreter)
24579 (python-python-command-args, python-jython-command-args)
24580 (python-which-shell, python-which-args, python-which-bufname)
24581 (python-file-queue, python-comint-output-filter-function)
24582 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24583 variables and functions.
24585 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24587 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24588 (completion-in-region-mode): New minor mode.
24589 (completion-in-region): Use it.
24590 (completion-in-region--data, completion-in-region-mode-map): New vars.
24591 (completion-in-region--postch): New function.
24592 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24594 (completion--capf-wrapper): New function.
24595 (completion-at-point): Use it to track well-behavedness of
24597 (completion-help-at-point): New command.
24599 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24601 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24602 syntax class to search for whitespace on a single line
24603 (Message-ID: <4D938140.4030905@redhat.com>).
24605 2011-03-30 Leo Liu <sdl.web@gmail.com>
24607 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24609 (edit-abbrevs-map): Bind them here.
24610 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24612 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24614 * allout.el (allout-hide-by-annotation, allout-flag-region):
24615 Reduce possibility of overlay leakage by making them volatile.
24617 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24618 hash is not shared between buffers. Mode initialization is
24619 responsible for giving it a useful starting value.
24620 (allout-item-span): Reduce possibility of overlay leakage by
24621 making them volatile.
24622 (allout-widgets-count-buttons-in-region): Add diagnostic function
24623 for tracking down button overlay leaks.
24625 2011-03-29 Leo Liu <sdl.web@gmail.com>
24627 * ido.el (ido-read-internal): Use the default history var
24628 minibuffer-history if no HISTORY is specified.
24630 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24632 * net/imap.el (imap-shell-open, imap-process-connection-type):
24633 Use imap-process-connection-type for 'shell' streams as well as
24634 Kerberos, SSL, other subprocesses.
24636 2011-03-28 Leo Liu <sdl.web@gmail.com>
24638 * abbrev.el (abbrev-table-empty-p): New function.
24639 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24640 nonempty ones. (Bug#5937)
24642 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24644 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24646 2011-03-27 Leo Liu <sdl.web@gmail.com>
24648 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24649 for foreground and background colors.
24650 (ansi-color-make-color-map): Adapt.
24652 2011-03-25 Leo Liu <sdl.web@gmail.com>
24654 * midnight.el (midnight-time-float): Remove. Note it calculates
24655 the microsecond component incorrectly and seconds-to-time does the
24657 Remove redundant (require 'timer).
24659 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24660 (ido-completions): Remove unused arguments. (Bug#8329)
24662 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24664 * minibuffer.el (completion--flush-all-sorted-completions):
24665 Remove itself from hook.
24666 (completion-at-point): Let the functions perform the completion
24667 immediately and return nil or t.
24668 * comint.el (comint-dynamic-complete-functions): Now identical to
24669 completion-at-point-functions.
24670 (comint-dynamic-list-input-ring): Remove unused var `index'.
24671 (comint--match-partial-filename, comint--unquote&expand-filename):
24672 New funs, split from comint-match-partial-filename.
24673 (comint-dynamic-complete): Use completion-at-point.
24674 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24676 2011-03-24 Drew Adams <drew.adams@oracle.com>
24678 * thingatpt.el: Support `defun'.
24680 2011-03-23 Leo Liu <sdl.web@gmail.com>
24682 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24684 * help-mode.el (help-mode-finish): Tweak regexp.
24686 2011-03-23 Glenn Morris <rgm@gnu.org>
24688 * eshell/esh-opt.el (eshell-eval-using-options):
24689 Do not bind unused local variable `eshell-option-stub'.
24691 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24693 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24695 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24696 keymap variable in `with-no-warnings' to avoid a warning when the
24697 keymap has been already `defconst'ed.
24699 2011-03-22 Leo Liu <sdl.web@gmail.com>
24701 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24702 encode all chars in abbrevs; otherwise use emacs-mule or
24703 utf-8-emacs. (Bug#8308)
24705 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24707 * simple.el (backward-delete-char-untabify):
24708 Avoid warning about using `delete-backward-char'.
24710 * image.el (image-type-file-name-regexps): Make it variable.
24711 `imagemagick-register-types' modifies it, and the user may want
24712 to add new extensions for known image types.
24713 (imagemagick-register-types): Throw error if not using ImageMagick.
24715 2011-03-22 Leo Liu <sdl.web@gmail.com>
24717 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24718 located before rcirc-prompt-end-marker.
24719 (rcirc-complete): Error if point is not after rcirc prompt.
24720 Handle the case when table is nil.
24721 (rcirc-user-authenticated): Define to fix compiler warning.
24723 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24725 * custom.el (custom--inhibit-theme-enable): Make it affect only
24726 custom-theme-set-variables and custom-theme-set-faces.
24727 (provide-theme): Ignore custom--inhibit-theme-enable.
24728 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24729 (custom-enabling-themes): Delete variable.
24730 (enable-theme): Accept only loaded themes as arguments.
24731 Ignore the special custom-enabled-themes variable.
24732 (custom-enabled-themes): Forbid themes from setting this.
24733 Eliminate use of custom-enabling-themes.
24734 (custom-push-theme): Quote "changed" custom var entry.
24736 2011-03-21 Leo Liu <sdl.web@gmail.com>
24738 * ido.el (ido-read-internal): Add ido-selected to history instead
24741 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24743 * subr.el (deferred-action-list, deferred-action-function):
24746 2011-03-21 Leo Liu <sdl.web@gmail.com>
24748 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24749 change on 2011-02-13 (bug#8309).
24751 * minibuffer.el (read-file-name-function): Change default value.
24752 (read-file-name--defaults): Rename from read-file-name-defaults.
24753 (read-file-name-default): Rename from read-file-name.
24754 (read-file-name): Call read-file-name-function.
24756 2011-03-21 Glenn Morris <rgm@gnu.org>
24758 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24761 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24763 * cus-theme.el: Add missing provide statement.
24764 (customize-create-theme): Extract theme value correctly.
24765 (custom-theme-visit-theme): Autoload.
24766 (customize-create-theme): Prompt before inserting default faces.
24768 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24770 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24771 units and musical notes.
24773 2011-03-20 Leo Liu <sdl.web@gmail.com>
24775 * ido.el (ido-read-internal): Use completing-read-default.
24776 (ido-completing-read): Fix compatibility with completing-read.
24778 2011-03-20 Christian Ohler <ohler@gnu.org>
24780 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24781 (ert-delete-all-tests): Use `called-interactively-p' rather than
24783 (ert--make-xrefs-region): Respect END.
24785 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24787 * dired-aux.el (dired-create-directory): Signal an error if the
24788 directory already exists (Bug#8246).
24790 * facemenu.el (list-colors-display): Call list-faces-display
24791 inside with-help-window.
24792 (list-colors-print): Use display property to align the final
24793 column, instead of checking window-width.
24795 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24797 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24798 windows-nt systems.
24799 (emerge-protect-metachars): Quote correctly for ms-dos and
24800 windows-nt systems.
24802 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24804 * info.el (info-initialize): Replace all uses of `:' with
24805 path-separator for compatibility with non-Unix systems.
24806 Cache quoting of path-separator. (Bug#8258)
24808 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24810 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24811 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24812 (mouse-avoidance-mode): Fix typos in docstrings.
24814 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24816 * startup.el (package-subdirectory-regexp): Move from package.el.
24817 Omit \\` and \\', and let callers add them.
24819 * emacs-lisp/package.el (package-strip-version)
24820 (package-load-all-descriptors): Add \\` and \\' to
24821 package-subdirectory-regexp before using it.
24822 (package-untar-buffer): New arg DIR; ensure that file untars only
24823 into this expected directory. Remove superfluous delete-region.
24824 (package-unpack): Caller changed.
24825 (package-tar-file-info): Use package-subdirectory-regexp.
24827 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24829 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24830 diff-mode-shared-map (bug#8284).
24831 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24833 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24835 * calendar/time-date.el (format-seconds): Use assoc instead of
24836 assoc-string, since assoc-string doesn't exist in XEmacs.
24838 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24840 * custom.el (custom-known-themes): Reflow docstring.
24841 (custom-theme-load-path): Fix typo in docstring.
24842 (load-theme): Fix typo in error message.
24843 (custom-available-themes, custom-variable-theme-value):
24844 Use `let', not `let*'.
24846 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24848 * calc/README: Mention inclusion of musical notes.
24850 * calc/calc-units.el (calc-lu-quant): Rename from
24851 `calc-logunits-quantity'.
24852 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24853 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24854 (calc-db): Rename from `calc-dblevel'.
24855 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24856 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24857 (calc-np): Rename from `calc-nplevel'.
24858 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24859 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24860 (calc-lu-plus): Rename from `calc-logunits-add'.
24861 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24862 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24863 (calc-lu-minus): Rename from `calc-logunits-sub'.
24864 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24865 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24866 (calc-lu-times): Rename from `calc-logunits-mul'.
24867 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24868 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24869 (calc-lu-divide): Rename from `calc-logunits-div'.
24870 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24871 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24873 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24874 functions being autoloaded.
24876 * calc/calc.el (calc-lu-power-reference): Rename from
24877 `calc-logunits-power-reference'.
24878 (calc-lu-field-reference): Rename from
24879 `calc-logunits-field-reference'.
24881 * calc/calc-help.el (calc-l-prefix-help):
24882 Mention musical note functions.
24884 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24886 * minibuffer.el (completion-all-sorted-completions):
24887 Use :completion-cycle-penalty text property if present.
24889 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24891 * allout.el (allout-yank-processing): Adjust for new rebulleting
24892 regime so bullet being yanked is used without prompting the user
24895 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24897 * startup.el (command-line): Warn the user that _emacs is deprecated.
24899 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24901 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24902 (delphi-verbose, delphi-comment-face, delphi-string-face)
24903 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24904 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24905 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24906 (delphi-new-comment-line, delphi-font-lock-defaults)
24907 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24908 Fix typos in docstrings.
24910 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24912 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24913 Invert the roles of character and string values for INSTEAD, so a
24914 string is used for the more common case of a defaulting prompt.
24916 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24918 * progmodes/ruby-mode.el (ruby-backward-sexp):
24919 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24920 * play/gamegrid.el (gamegrid-make-face):
24921 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24922 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24923 * notifications.el (notifications-notify):
24924 * net/xesam.el (xesam-search-engines):
24925 * net/quickurl.el (quickurl-list-insert):
24926 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24928 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24930 * startup.el (command-line): Update package subdirectory regexp.
24932 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24934 * allout.el (allout-abbreviate-flattened-numbering)
24935 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24937 * subr.el (read-char-choice): Only show the cursor after the prompt,
24938 not after the answer.
24940 2011-03-15 Kevin Ryde <user42@zip.com.au>
24942 * help-fns.el (variable-at-point): Skip leading quotes, if any
24945 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24947 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24950 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24952 * shell.el (shell): When called interactively, offer to change the
24953 shell file name on remote hosts.
24955 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24957 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24958 integration for LDAP parameters. The host, base, user or binddn,
24959 and secret tokens can be specified in a netrc file, for instance.
24960 This is optional because an `auth-source' parameter must be
24961 specified in the search attributes.
24963 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24965 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24967 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24969 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24970 into declaration. Remove redundant and harmful binding.
24972 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24974 * files.el (file-ownership-preserved-p): Pass `integer' as an
24975 explicit 2nd argument to `file-attributes'. If the file's owner
24976 is the Administrators group on Windows, and the current user is
24977 Administrator, consider that a match.
24979 * server.el (server-ensure-safe-dir): Consider server directory
24980 safe on MS-Windows if its owner is the Administrators group while
24981 the current Emacs user is Administrator. Use `=' to compare
24982 numerical UIDs, since they could be integers or floats.
24984 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24986 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24988 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24990 Sync with Tramp 2.2.1.
24992 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24994 * net/trampver.el: Update release number.
24996 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24998 * progmodes/compile.el (compilation--previous-directory): Fix up
24999 various nil/dead-marker mismatches (bug#8014).
25000 (compilation-directory-properties, compilation-error-properties):
25001 Don't call it at a position past the one we're about to change.
25003 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25004 Disable obsolescence warnings in the file that declares it.
25006 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25008 * allout-widgets.el (allout-widgets-tally):
25009 Initialize allout-widgets-tally as a hash table rather than nil to
25010 prevent mode-line redisplay warnings. Also, clarify the module
25011 description and fix a comment typo.
25013 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25015 * help-fns.el (describe-variable): Don't complete keywords.
25016 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25018 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25020 * emacs-lisp/package.el (package-version-join): Impose a standard
25021 string representation for pre/alpha/beta version lists.
25022 (package-unpack-single): Standardize the directory name by passing
25023 it through package-version-join.
25024 (package-strip-rcs-id): Accept any version string that does not
25025 signal an error in version-to-list.
25027 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25029 * simple.el (delete-trailing-whitespace): Return nil for the
25030 benefit of `write-file-functions'.
25032 2011-03-10 Glenn Morris <rgm@gnu.org>
25034 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25036 * vc/vc-git.el (vc-git-program): New option.
25037 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25038 (vc-git--call): Use it.
25040 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25042 * cus-edit.el (Custom-newline): If no button at point, look
25043 for a subgroup button at start-of-line. (Bug#2298)
25045 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25047 2011-03-10 Julien Danjou <julien@danjou.info>
25049 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25050 `cursor-type' is nil.
25052 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25054 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25056 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25058 * allout.el: Change so yank of distinctive-bullet items
25059 preserves the existing header prefix, rebulleting it if necessary,
25060 rather than replacing it. This is necessary for proper operation
25061 of cooperative addons like allout-widgets.
25062 (allout-make-topic-prefix, allout-rebullet-heading):
25063 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25064 value as alternate bullet to be used, instead of prompting the user
25065 for a bullet character.
25067 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25070 Do not use `tramp-file-name-port', because this returns also
25071 `tramp-default-port'.
25073 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25075 * net/rcirc.el (rcirc-handler-001): Remove useless
25076 with-rcirc-process-buffer.
25077 (rcirc-check-auth-status): Swap arguments to string-match.
25079 2011-03-09 Glenn Morris <rgm@gnu.org>
25081 * shell.el (shell-mode):
25082 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25084 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25085 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25087 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25089 * emacs-lisp/package.el (package-refresh-contents)
25090 (package-menu-execute): Use condition-case-no-debug.
25092 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25094 * simple.el (shell-command-to-string): Use `process-file'.
25096 * emacs-lisp/package.el (package-tar-file-info): Handle also
25099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25100 Use `equal' for upload base check.
25102 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25104 * textmodes/texinfo.el (texinfo-environments):
25105 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25107 2011-03-08 Glenn Morris <rgm@gnu.org>
25109 * cus-start.el (cursor-in-non-selected-windows):
25110 Fix :set quoting oddness. (Bug#8192)
25112 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25113 in some setf expressions. (Bug#2159)
25115 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25117 * custom.el (custom-available-themes): Return themes in
25118 alphabetical order.
25120 See ChangeLog.15 for earlier changes.
25122 ;; Local Variables:
25126 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25128 This file is part of GNU Emacs.
25130 GNU Emacs is free software: you can redistribute it and/or modify
25131 it under the terms of the GNU General Public License as published by
25132 the Free Software Foundation, either version 3 of the License, or
25133 (at your option) any later version.
25135 GNU Emacs is distributed in the hope that it will be useful,
25136 but WITHOUT ANY WARRANTY; without even the implied warranty of
25137 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25138 GNU General Public License for more details.
25140 You should have received a copy of the GNU General Public License
25141 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.