1 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 * whitespace.el (whitespace-enable-predicate): New variable.
4 (whitespace-enable-predicate): Use it.
6 * comint.el (comint-send-input, comint-snapshot-last-prompt)
7 (comint-output-filter, comint-update-fence):
8 Use with-silent-modifications.
10 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
12 * replace.el (occur-read-regexp-defaults-function): New var.
13 (occur-read-regexp-defaults): New defun.
14 (occur-read-primary-args): Propagate above change (bug#13892).
16 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
18 * mouse.el (mouse-drag-track): Remove left-over debugging code.
20 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
22 Major rewrite due to changed D-Bus interface of GVFS 1.14.
24 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
25 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
26 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
28 (tramp-gvfs-file-name-handler-alist) [directory-files]
29 [directory-files-and-attributes, file-exists-p, file-modes]:
30 Use Tramp default handler.
31 [file-acl, file-selinux-context, process-file, set-file-acl]:
32 [set-file-modes, set-file-selinux-context, shell-command]:
33 [start-file-process]: Remove handler.
34 [verify-visited-file-modtime]: New handler.
35 (tramp-gvfs-dbus-string-to-byte-array)
36 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
37 calls of `dbus-string-to-byte-array' and
38 `tramp-gvfs-dbus-byte-array-to-string'.
39 (tramp-gvfs-handle-copy-file)
40 (tramp-gvfs-handle-delete-directory)
41 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
42 (tramp-gvfs-handle-file-directory-p)
43 (tramp-gvfs-handle-file-executable-p)
44 (tramp-gvfs-handle-file-name-all-completions)
45 (tramp-gvfs-handle-file-readable-p)
46 (tramp-gvfs-handle-file-writable-p)
47 (tramp-gvfs-handle-insert-directory)
48 (tramp-gvfs-handle-insert-file-contents)
49 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
50 (tramp-gvfs-handle-set-visited-file-modtime)
51 (tramp-gvfs-handle-write-region): Rewrite.
52 (tramp-gvfs-handle-file-acl)
53 (tramp-gvfs-handle-file-selinux-context)
54 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
55 (tramp-gvfs-handle-set-file-modes)
56 (tramp-gvfs-handle-set-file-selinux-context)
57 (tramp-gvfs-handle-shell-command)
58 (tramp-gvfs-handle-start-file-process)
59 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
60 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
61 over the symlinks. Fix user handling.
62 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
64 (tramp-gvfs-connection-mounted-p): Handle different names of the
66 (tramp-gvfs-mount-spec-entry): New defun.
67 (tramp-gvfs-mount-spec): Use it.
68 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
69 there is a share name. Handle different names of the D-Bus
71 (tramp-gvfs-maybe-open-connection): Set connection properties
72 needed for `tramp-check-cached-permissions'.
73 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
76 * net/tramp.el (tramp-backtrace): Move up.
77 (tramp-error): Apply a backtrace into the debug buffer when
79 (tramp-file-mode-type-map, tramp-file-mode-from-int)
80 (tramp-file-mode-permissions, tramp-get-local-uid)
81 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
84 * net/tramp-sh.el (tramp-file-mode-type-map)
85 (tramp-check-cached-permissions, tramp-file-mode-from-int)
86 (tramp-file-mode-permissions, tramp-get-local-uid)
87 (tramp-get-local-gid): Move to tramp.el.
89 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
91 Separate mouse-1-click-follows-link from mouse-drag-region.
92 * mouse.el (mouse--down-1-maybe-follows-link): New function.
93 (key-translation-map): Use it to implement mouse-1-click-follows-link.
94 (mouse-drag-line, mouse-drag-track):
95 Remove mouse-1-click-follows-link code.
96 (mouse--remap-link-click-p): Remove.
98 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
100 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
101 (hi-lock-read-regexp-defaults): New defun.
102 (hi-lock-line-face-buffer, hi-lock-face-buffer)
103 (hi-lock-face-phrase-buffer): Propagate above change.
104 Update docstring (bug#13892).
106 * subr.el (find-tag-default-as-regexp): New defun.
107 * replace.el (read-regexp): Propagate above change.
109 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
111 * calc/calc-units.el (calc-convert-units): Fix the way that default
112 new units are stored.
114 2013-03-07 Matthias Meulien <orontee@gmail.com>
116 * bookmark.el: Define a face to highlight bookmark names in
117 bookmark menu buffers, where the default is a bold face similarly
118 to buffer names in buffer menu buffers.
119 (bookmark-menu-bookmark): New face to highlight bookmark names.
120 (bookmark-insert-location): Remove duplicated text property to
121 conform to buffer list (see `list-buffers').
122 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
123 `bookmark-menu-bookmark' to bookmark names.
125 2013-03-07 Matthias Meulien <orontee@gmail.com>
126 Karl Fogel <kfogel@red-bean.com>
128 * bookmark.el: Display the bookmark list header similarly to the
129 buffer list header (see `list-buffers'), where the default is now
130 an immovable/immutable header line.
131 (bookmark-bmenu-use-header-line): New variable.
132 (bookmark-bmenu-inline-header-height): New name for
133 `bookmark-bmenu-header-height', to avoid confusion with the code
134 for the new immovable header. All references changed.
135 (bookmark-bmenu-set-header): New function.
136 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
137 Conditionalize header construction accordingly.
138 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
139 the inline header height.
140 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
141 Conditionalize the skipping of the inline header height.
143 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
145 * progmodes/js.el (js--multi-line-declaration-indentation):
146 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
148 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
150 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
151 Only propertize regexp when not inside a string (Bug#13885).
153 2013-03-06 Alan Mackenzie <acm@muc.de>
155 Correct the position of point in some line-up functions.
156 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
157 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
158 point at column 0 rather than at a random place in the line.
160 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
162 * net/tramp-compat.el (tramp-compat-delete-directory):
163 Implement TRASH argument.
165 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
167 Keep pre-existing highlighting in completion candidates (Bug#13250).
168 * minibuffer.el (completions-first-difference): State that the
169 face is "added" in the docstring.
170 (completions-common-part): Same. And don't inherit from default.
171 (completion-hilit-commonality): Prepend 'completions-common-part
172 and 'completion-first-difference faces to the 'face property,
173 instead of replacing the value(s).
174 (completion--insert-strings): Same with 'completions-annotations face.
175 (completion-hilit-commonality): Use 'face instead of
176 'font-lock-face, because it gets priority if the completion
177 strings already have 'face set.
179 2013-03-04 Alan Mackenzie <acm@muc.de>
181 Replace `last-command-event' by `last-command-char' in XEmacs.
182 * progmodes/cc-defs.el (c-last-command-char): New macro.
183 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
184 (c-semi&comma-no-newlines-before-nonblanks)
185 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
186 in place of `last-command-event'.
187 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
188 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
189 (c-electric-paren, c-electric-continued-statement): Use the new
190 macro in place of `last-command-event'.
192 2013-03-04 Glenn Morris <rgm@gnu.org>
194 * files.el (inhibit-local-variables-regexps):
195 Add .diff and .patch. (Bug#13862)
197 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
199 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
200 whether the "su" command is available on the device.
202 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
204 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
205 (tramp-adb-handle-process-file): Remove superfluous setting.
206 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
207 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
208 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
210 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
212 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
213 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
214 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
215 Use dict-key rather than dict-name for the error message.
217 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
219 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
220 when reverting (bug#13831).
222 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
224 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
225 Always expand affix-file before storing to protect against changed
227 (ispell-print-if-debug): Make sure message is printed at the end
230 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
232 * net/tramp.el (tramp-obsolete-methods): New defconst.
233 (tramp-warned-obsolete-methods): New defvar.
234 (tramp-find-method): Check for obsolete methods. Map them to a
235 replacement method if appropriate.
237 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
239 (top): Remove completion functions for "scp1", "scp2", "ssh1",
242 2013-02-28 Dale Sedivec <dale@codefu.org>
244 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
245 Return valid syntax-table property value when converting
246 quotes within text from string syntax to punctuation syntax (bug#13844).
248 2013-02-28 Juri Linkov <juri@jurta.org>
250 * dired-aux.el (dired-diff): If file at point is a backup file,
251 use its original as the default value, and reverse the order
252 of arguments to the `diff' call. Doc fix. (Bug#13772)
254 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
256 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
257 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
259 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
261 Initial support for hunspell dictionaries auto-detection (Bug#13639)
263 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
264 Ask hunspell about available and default dictionaries.
265 (ispell-parse-hunspell-affix-file): Extract relevant info from
267 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
268 `ispell-dictionary-alist' entry for given dictionary after info
269 provided by `ispell-parse-hunspell-affix-file'.
270 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
271 of parsed hunspell dicts and associated affix files.
272 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
273 of parsed hunspell dicts and associated parameters.
274 (ispell-set-spellchecker-params):
275 Call `ispell-find-hunspell-dictionaries' if hunspell and not
277 (ispell-start-process):
278 Call `ispell-hunspell-fill-dictionary-entry' for current
279 dictionary if it is not initialized.
281 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
283 * imenu.el: Comment nitpicks.
285 2013-02-28 Sam Steingold <sds@gnu.org>
287 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
288 See <http://stackoverflow.com/questions/14720205>.
290 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
292 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
293 (net-utils-mode): Use it.
294 (net-utils--revert-cmd): New var.
295 (net-utils-run-simple): Set it, and remove bogus interactive spec.
296 (traceroute): Use net-utils-run-simple.
298 2013-02-28 Glenn Morris <rgm@gnu.org>
300 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
302 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
304 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
305 (doc-view-fallback-mode): Remove overlays here.
306 (doc-view-toggle-display): Instead of here. Don't throw away
307 image-mode-winprops-alist.
308 (doc-view-goto-page): Don't mess with hscroll.
310 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
312 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
313 &optional (bug#13819).
315 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp-adb.el (tramp-adb-parse-device-names)
318 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
320 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
322 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
323 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
324 defined. POSIX environments fall back to the "C" locale then and
325 emit a warning, which shall be suppressed.
327 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
329 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
330 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
332 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
334 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
336 2013-02-25 Juri Linkov <juri@jurta.org>
338 * replace.el (read-regexp): Let-bind `default' to the first
339 element of `defaults' if it's a list, otherwise it should be
340 a string or nil. Let-bind `suggestions' to `defaults' if it's
341 a list, otherwise make a list with the string value. Doc fix.
344 2013-02-25 Eli Zaretskii <eliz@gnu.org>
346 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
347 that match "\`\.#", to avoid compiling lock files, even if they
348 are readable (as they are on MS-Windows).
350 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
352 * files.el (basic-save-buffer): Remove redundant directory-creation.
354 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
356 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
357 Add option to force `pi' to remain symbolic.
358 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
359 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
360 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
361 derivatives, when necessary.
363 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
365 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
366 (ps-mode-octal-region): Use string-make-unibyte.
368 2013-02-23 Glenn Morris <rgm@gnu.org>
370 * emulation/viper-cmd.el (viper-submit-report):
371 * progmodes/ps-mode.el (ps-mode-maintainer-address):
372 * progmodes/vera-mode.el (vera-mode-help-address):
373 * textmodes/artist.el (artist-maintainer-address):
374 * textmodes/reftex.el (reftex-report-bug):
375 * vc/ediff-util.el (ediff-submit-report):
376 Add bug-gnu-emacs to bug report address.
378 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
379 Remove bug report entries.
380 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
382 * emacs-lisp/bytecomp.el (byte-compile-level): New.
383 (byte-compile-file, byte-compile-from-buffer):
384 Use separate input/output buffers for each level of recursive
385 byte-compile-file calls. (Bug#13787)
387 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
389 * net/tramp.el (tramp-methods): Fix docstring.
390 (tramp-ssh-controlmaster-options): Rename it from
391 `tramp-ssh-controlmaster-template'. Return a string.
392 (tramp-default-method): Adapt check for
393 `tramp-ssh-controlmaster-options'.
395 * net/tramp-sh.el (tramp-methods):
396 Replace `tramp-ssh-controlmaster-template' by "%c".
397 (tramp-do-copy-or-rename-file-out-of-band)
398 (tramp-maybe-open-connection): Use it in format spec. Ensure,
399 that it is applied for the first hop only.
401 2013-02-22 Juri Linkov <juri@jurta.org>
403 * isearch.el (isearch-lazy-highlight-new-loop):
404 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
405 to `isearch-other-end' if it is not nil. (Bug#13402)
407 * replace.el (replace-highlight): Let-bind `isearch-other-end'
410 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
411 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
412 and `isearch-error' to nil.
414 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
416 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
418 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
419 Handle multibyte file names.
421 2013-02-22 Glenn Morris <rgm@gnu.org>
423 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
424 (sgml-transformation-function): Give it a :set function.
427 * cmuscheme.el (scheme-buffer):
428 * progmodes/inf-lisp.el (inferior-lisp-buffer):
429 * progmodes/tcl.el (inferior-tcl-buffer):
430 * textmodes/tex-mode.el (tex-command): Doc fixes.
432 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
434 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
436 2013-02-21 Bastien Guerry <bzg@gnu.org>
438 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
440 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
442 * progmodes/python.el (python-info-current-defun):
443 Enhance match-data cluttering prevention.
445 2013-02-21 Glenn Morris <rgm@gnu.org>
447 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
448 loaded while outline-regexp is let bound. (Bug#9584)
450 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
452 * progmodes/python.el (python-info-current-defun): Fix failed
453 defun name retrieval because of unwanted match-data cluttering.
455 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
457 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
458 defconst. Apply independent check for ControlPersist.
460 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
461 temporarily, via "env".
463 2013-02-21 Glenn Morris <rgm@gnu.org>
465 * info.el (Info-enable-edit): Remove.
466 (Info-edit): Disable it rather than using Info-enable.
467 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
468 (Info-cease-edit): Make editing of Info files obsolete.
470 * informat.el (Info-tagify):
471 Handle buffers not visiting files. (Bug#13763)
473 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
475 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
477 2013-02-21 Glenn Morris <rgm@gnu.org>
479 * files.el (basic-save-buffer): Move check for existing parent
480 directory after hooks. (Bug#13773)
482 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
484 * simple.el (command-execute): Move from C. Add obsolete check.
485 (extended-command-history): Move from C.
487 2013-02-20 Ulrich Müller <ulm@gentoo.org>
489 * jka-cmpr-hook.el (jka-compr-compression-info-list)
490 (jka-compr-mode-alist-additions): Handle .txz suffix for
491 XZ-compressed tar archives (bug#13770).
493 2013-02-20 Bastien Guerry <bzg@gnu.org>
495 * outline.el (outline-regexp, outline-heading-end-regexp):
496 Make variables, not options (bug#13731).
498 2013-02-20 Glenn Morris <rgm@gnu.org>
500 * image.el (image-current-frame): Change from variable to function.
501 (image-show-frame): Rename from image-nth-frame. Update callers.
502 * image-mode.el (image-multi-frame): New variable.
503 (image-mode-map, image-mode, image-goto-frame):
504 Use image-multi-frame rather than image-current-frame.
505 (image-mode, image-goto-frame): Use image-current-frame as
506 function rather than as variable.
508 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
509 * emacs-lisp/cl-macs.el (cl--make-type-test)
510 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
512 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
514 * net/tramp-cache.el (tramp-get-hash-table): New defun.
515 (tramp-get-file-property, tramp-set-file-property)
516 (tramp-get-connection-property, tramp-set-connection-property): Use it.
517 (tramp-flush-file-property, tramp-flush-directory-property):
518 Rename argument to KEY.
519 (tramp-flush-connection-property): Simplify a little bit.
520 (tramp-connection-property-p): New defun.
521 (top): Reapply saved values only if there isn't a corresponding
522 entry in `tramp-connection-properties'.
524 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
526 * progmodes/python.el (python-indent-context):
527 Fix python-info-line-ends-backslash-p call.
528 (python-info-line-ends-backslash-p)
529 (python-info-beginning-of-backslash): Respect line-number argument.
530 (python-info-current-line-comment-p):
531 Fix behavior when not at beginning-of-line.
532 (python-util-position): Remove function.
533 (python-util-goto-line): New function.
535 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
537 * eshell/em-unix.el (eshell/su): Require tramp.
538 (eshell/sudo): Require tramp. Remove now unnecessary check.
540 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
541 `tramp-current-connection' in order to avoid an error when several
542 commands are invoked in a short time in eshell and friends.
544 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
546 Cleanup some of EIEIO's namespace.
547 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
548 Use it to define all the class-* and object-* field accessors (renamed
549 to eieio--class-* and eieio--object-*). Update all uses.
550 (eieio--class-num-slots, eieio--object-num-slots): Rename from
551 class-num-slots and object-num-slots.
552 (eieio--check-type): New macro.
553 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
554 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
555 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
556 (object-assoc-list-safe): Use it.
557 (eieio-defclass): Tighten regexp.
558 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
559 Remove unreachable code.
560 (object-class-fast): Declare obsolete.
561 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
562 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
563 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
564 Rename from class-name, object-name, object-set-name-string,
565 object-class, object-class-name, class-parents, class-children,
566 class-precedence-list, class-parent; with obsolete alias.
567 (class-of, class-direct-superclasses, class-direct-subclasses):
569 (eieio-defmethod): Use `memq'; remove unreachable code.
570 * emacs-lisp/eieio-base.el (eieio-persistent-read):
571 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
572 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
575 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
577 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
578 Use font-lock-keyword-face for macros and special forms (bug#8345).
580 2013-02-17 Didier Verna <didier@didierverna.net>
582 * net/network-stream.el (network-stream-open-starttls):
583 Check that response to the starttls-command is non-nil. (Bug#13706)
585 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
587 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
588 Don't assume all identifier chars have syntax word.
589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
590 Remove bar-not-symbol. Adjust callers.
591 (lisp-mode-variables): Don't set a font-lock-syntax-table.
593 2013-02-17 Leo Liu <sdl.web@gmail.com>
595 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
597 2013-02-17 Glenn Morris <rgm@gnu.org>
599 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
601 * image-mode.el (image-mode-map): Add image-dired menu entry.
603 * image-dired.el (tumme): Make this alias obsolete.
605 2013-02-16 Glenn Morris <rgm@gnu.org>
607 * image.el (image-animated-types): Remove.
608 (image-multi-frame-p): Rename from image-animated-p, and generalize.
609 (image-animated-p): Make obsolete alias.
610 (image-animate, image-nth-frame, image-animate-timeout):
611 Use image-multi-frame-p.
612 (image-animate-timeout): If no delay, use image-default-frame-delay.
613 * image-mode.el (image-mode, image-toggle-animation):
614 Use image-multi-frame-p. (Bug#763, bug#10739)
615 (image-mode): Adjust startup message for a multi-frame image.
617 * image-mode.el (image-mode-map): Give it a menu.
619 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
621 * net/tramp-cache.el (tramp-connection-properties): New customer
623 (tramp-get-connection-property): Use it.
625 * net/tramp-compat.el (top): Require 'trampver.
627 * net/tramp-sh.el (tramp-remote-process-environment):
628 Set tramp-autoload cookie.
630 2013-02-16 Kevin Ryde <user42@zip.com.au>
632 * info-look.el (info-lookup-select-mode): If major-mode has no
633 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
635 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
637 * replace.el (read-regexp): Tighten the regexp that matches tag.
638 When tag is retrieved with `find-tag-default', use regexp that
639 matches tag at point. Also update docstring (Bug#13687).
641 2013-02-16 Eli Zaretskii <eliz@gnu.org>
643 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
644 add watch for the file, not its parent directory, since w32notify
645 sets up the watch for the directory internally. (Bug#13725)
647 2013-02-16 Glenn Morris <rgm@gnu.org>
649 * image.el (image-default-frame-delay): New variable.
650 (image-animated-p): Use image-default-frame-delay.
651 (image-minimum-frame-delay): New constant.
652 (image-animate-timeout): Use image-minimum-frame-delay.
654 * image.el (image-nth-frame): New, split from image-animate-timeout.
655 (image-animate-timeout): Use image-nth-frame.
656 * image-mode.el (image-goto-frame, image-next-frame)
657 (image-previous-frame): New commands.
658 (image-mode-map): Add new frame commands.
660 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
662 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
663 If col-desc already has help-echo, use it. (Bug#13563)
665 2013-02-16 Glenn Morris <rgm@gnu.org>
667 * image.el (image-current-frame): New variable.
668 (image-animate-timeout): Set image-current-frame.
669 * image-mode.el (image-mode): For animated images,
670 display a frame counter via mode-line-process.
672 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
674 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
676 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
678 2013-02-15 Alan Mackenzie <acm@muc.de>
680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
681 global minor mode has been enabled, call the minor mode function
682 for a new buffer once only, after the major mode hook, whilst
683 allowing that hook explicitly to disable the minor mode.
684 (MODE-disable-in-buffer): New (generated) function.
685 (disable-MODE): New (generated) buffer local variable.
687 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
689 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
690 `iswitchb-next-match' and `iswitchb-prev-match' resply.
691 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
692 `ido-next-match' and `ido-prev-match' resply.
693 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
694 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
695 `icomplete-backward-completions' (Bug#13708).
697 2013-02-15 Glenn Morris <rgm@gnu.org>
699 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
701 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
703 * net/goto-addr.el (goto-address-fontify): Add start and end args.
704 (goto-address-fontify-region): Use them instead of narrowing, so
705 syntax-ppss has access to the whole buffer.
707 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
709 * progmodes/python.el: Explain how to restore "cc-mode"-like
710 forward-sexp movement in header documentation (Bug#13642).
711 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
712 comments and strings (GH bug 114).
714 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
716 * progmodes/python.el (python-info-current-defun): Fix current
717 defun detection (Bug#13618).
719 2013-02-15 Chong Yidong <cyd@gnu.org>
721 * xml.el (xml-parse-string): Fix typo in handling of bad character
724 2013-02-15 Glenn Morris <rgm@gnu.org>
726 * play/fortune.el (fortune-compile): Simplify and fix previous change.
728 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
730 * net/tramp.el (tramp-debug-message):
731 Add `tramp-condition-case-unless-debug'.
732 (tramp-debug-on-error): New defvar.
733 (tramp-condition-case-unless-debug): New defun.
734 (tramp-file-name-handler): Use it.
736 2013-02-14 Juri Linkov <juri@jurta.org>
738 * info.el (Info-isearch-filter): Treat non-nil values of
739 `search-invisible' including its default value `open'
740 like the value `t' to match hidden text. (Bug#13402)
742 2013-02-14 Glenn Morris <rgm@gnu.org>
744 * help-fns.el (find-lisp-object-file-name): Give special treatment
745 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
747 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
749 * net/quickurl.el (quickurl-save-urls):
750 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
752 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
754 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
755 depth for unfinished percent literal. Not using it in the caller.
756 (ruby-move-to-block): Jump over multiline literals of all types,
757 ignoring code-looking contents inside them.
758 (ruby-add-log-current-method): Improve performance at the expense
759 of accuracy. `ruby-block-contains-point' is relatively slow, so
760 only use it for method and singleton class blocks.
762 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
764 Use ControlMaster where applicable. (Bug#13677)
766 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
767 replacing `tramp-detect-ssh-controlmaster'.
768 (tramp-default-method): Use it.
770 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
771 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
773 [scpc, rsyncc]: Remove methods.
774 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
776 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
777 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
779 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/package.el (package--initialized): Move before first use.
783 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
785 * icomplete.el (icomplete-hide-common-prefix): New user option.
786 (icomplete-first-match): New face.
787 (icomplete-completions): Correct handling of "complete but not
790 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
792 * descr-text.el (describe-char): Display the script (bug#13698).
794 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
796 * tmm.el: Use lexical-binding and current-active-maps.
797 (tmm-menubar): Use map-keymap and pcase.
798 (tmm--completion-table): New function.
799 (tmm-prompt): Use it to fix the menu order.
800 (tmm-get-keybind): Use current-active-maps.
802 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
804 Add dired-hide-details-mode. (Bug#6799)
806 * locate.el (locate-mode): Set parent mode property to dired-mode.
808 * find-dired.el (find-dired): Call dired-insert-set-properties on
809 initial information line. Set process mark on end of buffer.
810 (find-dired-sentinel):
811 Call dired-insert-set-properties on summary.
813 * dired.el (dired-hide-details-hide-symlink-targets)
814 (dired-hide-details-hide-information-lines): New options.
815 (dired-insert-directory):
816 Set properties after final treatment of output.
817 (dired-insert-set-properties):
818 Set dired-hide-details-* properties.
819 (dired-mode-map): Bind dired-hide-details-mode.
820 (dired-mode): Set buffer-invisibility-spec to a list.
821 (dired-next-line): Skip hidden lines.
822 (dired-previous-line): Use dired-next-line.
823 (dired-hide-details-mode): New minor mode.
824 (dired-hide-details-update-invisibility-spec): New function.
826 2013-02-13 Glenn Morris <rgm@gnu.org>
828 * play/yow.el: Move to obsolete/. (Bug#9384)
830 2013-02-13 Juri Linkov <juri@jurta.org>
832 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
833 to select `ediff-control-frame' and set input focus correctly on Xfce.
836 2013-02-13 Juri Linkov <juri@jurta.org>
838 * image-mode.el (image-mode-map):
839 * doc-view.el (doc-view-mode-map):
840 * vc/ediff-util.el (ediff-setup-keymap):
841 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
843 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
845 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
846 performance. Instead of recalculating indentation fully for each
847 line, sum up indentation depth based only on visited lines.
848 (ruby-parse-partial): Increase the depth after "do" even when END
850 (ruby-parse-partial): When END is in the middle of a percent
851 literal, increase the depth if the delimiter chars belong to the
854 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
856 * play/fortune.el (fortune-compile): Also make the compiled file
857 if it does not exist at all, not just if it is old. (Bug#5338)
859 2013-02-13 Glenn Morris <rgm@gnu.org>
861 * emacs-lisp/package.el (package-menu-execute): Doc fix.
863 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
865 * lisp/emacs-lisp/package.el (package-menu-execute):
866 Add optional noquery argument. (Bug#13625)
868 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
870 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
871 if DIR exists and PARENTS is non-nil.
873 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
875 * progmodes/js.el (js--multi-line-declaration-indentation):
876 Silence byte-compiler warning.
878 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
880 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
882 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
883 only if it doesn't exist.
885 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
888 2013-02-12 Tassilo Horn <tsdh@gnu.org>
890 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
891 UserInstallation when calling soffice to work around LibreOffice
894 2013-02-12 Glenn Morris <rgm@gnu.org>
896 * files.el (basic-save-buffer):
897 Offer to create a non-existing directory. (Bug#3016)
899 * calc/calc-graph.el (calc-graph-show-dumb):
900 * calendar/calendar.el (calendar-mode-map):
901 * cus-edit.el (custom-mode-map):
902 * ehelp.el (electric-help-map):
903 * emulation/vip.el (vip-mode-map):
904 * epa.el (epa-key-list-mode-map):
905 * info.el (Info-mode-map):
906 * mail/rmail.el (rmail-mode-map):
907 * mail/rmailsum.el (rmail-summary-mode-map):
908 * man.el (Man-mode-map):
909 * net/newst-plainview.el (newsticker-mode-map):
910 * progmodes/cpp.el (cpp-edit-mode-map):
911 * progmodes/grep.el (grep-mode-map):
912 * progmodes/idlw-help.el (idlwave-help-mode-map):
913 * simple.el (special-mode-map):
914 * startup.el (splash-screen-keymap):
915 * view.el (view-mode-map):
916 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
918 2013-02-11 Elias Pipping <pipping@lavabit.com>
920 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
923 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
925 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
927 2013-02-11 Glenn Morris <rgm@gnu.org>
929 * vc/diff.el (diff-use-labels): New variable.
930 (diff-no-select): Use --label rather than -L, and first
931 check that it is supported. (Bug#11067)
933 * files.el (enable-dir-local-variables): New variable.
934 (hack-dir-local-variables): Respect enable-dir-local-variables.
935 * tutorial.el (help-with-tutorial):
936 Ignore directory-local variables. (Bug#11127)
938 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
939 (vc-svn-global-switches): ... to here. (Bug#13513)
941 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
943 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
944 Handle "foo (bar, default: xxx): " prompts.
946 2013-02-10 Chong Yidong <cyd@gnu.org>
948 * files.el (basic-save-buffer-1): Do not set
949 buffer-file-coding-system-explicit (Bug#4533).
951 * mail/emacsbug.el (report-emacs-bug): Change binding of
952 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
954 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
956 * calc/calc.el (calc-allow-units-as-numbers): New variable.
957 * calc/calc-units.el (calc-convert-units): Use new variable.
959 2013-02-09 Eli Zaretskii <eliz@gnu.org>
961 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
963 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
966 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
967 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
968 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
969 coding-system-for-write instead.
971 * jka-compr.el (jka-compr-write-region): Don't bind
974 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
977 * files.el (file-name-buffer-file-type-alist): Remove defvar.
978 (insert-file-contents-literally): Remove reference to
979 file-name-buffer-file-type-alist.
981 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
983 (find-buffer-file-type-match, find-buffer-file-type): Remove.
984 (find-buffer-file-type-coding-system): Remove references to
985 find-buffer-file-type-match, find-buffer-file-type, and
987 Don't put find-buffer-file-type-coding-system into
988 file-coding-system-alist.
989 (find-file-binary, find-file-text): Bind coding-system-for-read
990 instead of file-name-buffer-file-type-alist.
992 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
994 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
995 converter (Bug#13622).
996 (doc-view-unoconv-program): Make obsolete alias.
997 (doc-view-odf->pdf-converter-program): New variable.
998 (doc-view-odf->pdf-converter-function): New variable.
999 (doc-view-mode-p): Use it.
1000 (doc-view-odf->pdf-converter-unoconv):
1001 Rename from `doc-view-odf->pdf-converter-unoconv'.
1002 (doc-view-odf->pdf-converter-soffice): New function.
1003 (doc-view-convert-current-doc):
1004 Use `doc-view-odf->pdf-converter-function'.
1006 2013-02-09 Chong Yidong <cyd@gnu.org>
1008 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1009 view-echo-area-messages (Bug#13340).
1011 * help.el (view-echo-area-messages): Use display-buffer.
1013 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1016 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1019 Eval body right away, now that we do eager macroexpansion (bug#13605).
1021 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1022 (fundamental-mode): Use run-mode-hooks.
1024 * eshell/esh-proc.el (eshell/kill): Fix last change.
1025 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1027 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1029 * eshell/esh-proc.el (eshell/kill): Rewrite.
1031 * eshell/em-ls.el (show-almost-all): Declare.
1032 (eshell-do-ls): Add support for -A argument.
1034 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1036 * icomplete.el (icomplete-forward-completions)
1037 (icomplete-backward-completions): Handle corner case (bug#13602).
1039 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1041 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1042 be nil. Handle this. (Bug#13636)
1044 2013-02-07 Richard Stallman <rms@gnu.org>
1046 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1047 `save-buffer-coding-system'.
1049 2013-02-07 Alan Mackenzie <acm@muc.de>
1051 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1052 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1053 (c-parse-state-get-strategy): Don't return 'BOD any more.
1054 (c-append-lower-brace-pair-to-state-cache):
1055 Extra parameter HERE instead of narrowing.
1056 Widen to top of buffer before searching backwards for a brace pair.
1057 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1058 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1059 Narrow to parameter HERE, in place of being called narrowed.
1060 (c-remove-stale-state-cache): Extra parameter HERE in place of
1061 narrowing. Check there's an open brace in the cache before
1062 searching for its match.
1063 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1064 (c-parse-state-1): Don't narrow here for 'forward strategy,
1065 instead passing extra parameter HERE to several functions.
1066 Remove 'BOD strategy.
1068 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1070 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1071 used to install the package.
1073 2013-02-06 Glenn Morris <rgm@gnu.org>
1075 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1076 if we can't get user input. (Bug#6567)
1078 * startup.el (command-line): If simple.el is missing,
1079 test and warn about for some possible causes.
1081 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1083 * cus-start.el (all): Add ns-use-native-fullscreen.
1085 2013-02-05 Glenn Morris <rgm@gnu.org>
1087 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1089 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1090 Fix directory creation in fallback case.
1092 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1094 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1095 (vc-update-change-log): Use dolist.
1097 2013-02-04 Chong Yidong <cyd@gnu.org>
1099 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1101 (thing-at-point-beginning-of-url-regexp): New var.
1102 (thing-at-point-uri-schemes): Update list of URI schemes.
1103 (thing-at-point-url-regexp): Variable deleted.
1104 (thing-at-point-markedup-url-regexp): Disallow newlines.
1105 (thing-at-point-newsgroup-regexp)
1106 (thing-at-point-newsgroup-heads)
1107 (thing-at-point-default-mail-uri-scheme): New variables.
1108 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1109 method to find the possible bounds of the URI at point.
1110 New optional argument to find ill-formed URIs.
1111 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1112 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1113 the scheme-adding heuristics from ffap-url-at-point.
1114 (thing-at-point--bounds-of-well-formed-url): New function.
1115 Do parens matching to decide whether to include parens in the URI
1118 * ffap.el: Require thingatpt.
1119 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1120 All URI-valid characters are now recognized (Bug#5673).
1121 (ffap-string-at-point): Use use-region-p.
1122 (ffap-url-regexp): Extra character is handled by thing-at-point.
1123 (ffap-string-at-point-mode-alist): Allow parentheses.
1124 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1125 Convert to aliases; code moved to thingatpt.el.
1126 (ffap-gnus-hook): Use setq-local.
1128 2013-02-04 Glenn Morris <rgm@gnu.org>
1130 * emacs-lisp/ert.el (ert--explain-format-atom):
1131 Don't try to print non-characters as characters. (Bug#13543)
1133 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1135 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1136 (tramp-backtrace): New defun.
1137 (tramp-handle-insert-file-contents): Use `visit' when inserting
1140 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1141 Use `remote-file-name-inhibit-cache'.
1143 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1145 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1148 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1149 current-load-list (bug#13366).
1151 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1153 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1154 Identify g++ template instantiation trace. (Bug#12287)
1155 (compilation-mode-hook, compilation-start-hook)
1156 (compilation-window-height): Simplify docstrings. (Bug#13379)
1158 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * mouse.el (mouse-drag-track): Always deactivate the mark before
1161 running the final event's command since that command is in charge of
1162 activating the mark if needed (bug#13523).
1164 2013-02-02 Juri Linkov <juri@jurta.org>
1166 * replace.el (perform-replace): Move let-bindings of isearch-*
1167 variables deeper to the loop that searches for the next match.
1168 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1169 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1172 * isearch.el (isearch-search-fun-default): Check for null
1173 first element of isearch-cmds as a precaution when it's used
1174 with inactive isearch.
1176 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1178 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1179 error when buffer in question is narrowed so position 1 is out of
1182 2013-02-02 Glenn Morris <rgm@gnu.org>
1184 * textmodes/remember.el (remember-clipboard): Doc fix.
1186 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1189 properties (bug#13179).
1191 2013-02-02 Juri Linkov <juri@jurta.org>
1193 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1194 instead of hard-coded default face `match'. (Bug#9438)
1196 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1198 * vc/vc-arch.el (vc-arch-registered):
1199 * vc/vc-bzr.el (vc-bzr-registered):
1200 * vc/vc-cvs.el (vc-cvs-registered):
1201 * vc/vc-git.el (vc-git-registered):
1202 * vc/vc-hg.el (vc-hg-registered):
1203 * vc/vc-mtn.el (vc-mtn-registered):
1204 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1207 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1208 prefix argument. (Bug#11656)
1210 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1214 2013-02-01 Glenn Morris <rgm@gnu.org>
1216 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1217 if the backend is known not to support it.
1219 * imenu.el (imenu-default-create-index-function):
1220 Tweak infinite loop test to check for forward motion as well as none.
1222 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1224 * net/soap-client.el (soap-invoke): Encode the string for
1225 `url-request-data' as UTF-8.
1226 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1228 2013-02-01 Glenn Morris <rgm@gnu.org>
1230 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1232 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1234 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1236 * net/tramp.el (tramp-tramp-file-p): Comment check for
1237 `string-as-unibyte'. The function does not exist on XEmacs, and
1238 likely we need another approach.
1240 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1241 `tramp-gw-*' variables are bound.
1243 2013-01-31 Glenn Morris <rgm@gnu.org>
1245 * files.el (basic-save-buffer-2): Choose coding system for
1246 writing the file before backing it up, to reduce delay between
1247 backing up and writing the new version. (Bug#13522)
1249 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1251 * simple.el (cycle-spacing): New command.
1252 (just-one-space): Use it.
1254 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1257 (opascal-newline-always-indents): Remove custom.
1258 (opascal-tab, opascal-newline): Remove commands.
1259 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1260 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1261 (opascal-save-match-data): Remove, use save-match-data instead.
1262 (opascal-save-state): Use with-silent-modifications.
1264 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1267 2013-01-30 Juri Linkov <juri@jurta.org>
1269 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1270 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1271 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1273 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1276 column if we're just deleting the backslashes.
1277 (makefile-fill-paragraph): Use eolp.
1279 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1281 * autorevert.el (auto-revert-use-notify): Fix docstring.
1283 2013-01-30 Leo Liu <sdl.web@gmail.com>
1285 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1287 2013-01-30 Glenn Morris <rgm@gnu.org>
1289 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1290 unread-command-events twice in some cases. This tries to implement
1291 the 2012-07-26 changes in a different way. (Bug#13560)
1293 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1295 * progmodes/python.el
1296 (python-pdbtrack-comint-output-filter-function): Enhancements on
1297 stacktrace detection. (thanks @gnovak)
1299 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1302 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1304 (jit-lock-register): Use setq-local.
1306 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1308 * calc-units.el (math-default-units-table): Remove initial value.
1309 (calc-convert-units): Treat expressions where all the units cancel as
1310 if they didn't have units.
1312 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1314 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1315 (tramp-completion-reread-directory-timeout): Fix type.
1316 (tramp-connection-min-time-diff): New defcustom.
1318 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1320 2013-01-30 Glenn Morris <rgm@gnu.org>
1322 * imenu.el (imenu-default-create-index-function):
1323 Put back a version of the infinite loop test removed 2013-01-23.
1325 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1327 * progmodes/python.el (python-shell-parse-command):
1328 Find python-shell-interpreter with modified environment.
1330 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1334 2013-01-29 Alan Mackenzie <acm@muc.de>
1336 Amend to fontify /regexp/s in actions correctly.
1337 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1338 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1339 are no longer included.
1340 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1341 What used to be these variables without "-line" in the name.
1342 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1343 (c-awk-non-arith-op-bra-re): Now also matches {.
1344 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1345 "return", and "case".
1346 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1348 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1349 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1351 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1353 * autorevert.el (auto-revert-use-notify):
1354 Use `custom-initialize-default' for initialization. (Bug#13583)
1356 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1358 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1359 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1360 in `tramp-file-name-handler'.
1361 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1363 (tramp-compute-multi-hops): Check, whether
1364 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1366 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1368 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1371 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1373 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1374 checks made superfluous by the \_< operator.
1375 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1376 temporarily) broken indentation.
1377 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1378 Highlight nested constants, too. \_< broke that.
1380 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1382 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1385 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1387 * autorevert.el (auto-revert-handler): Notifications which result
1388 from a saved file shall not be taken into account. (Bug#13557)
1390 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1392 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1393 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1394 (lisp-mode): Pass t for it. (Bug#13556)
1396 2013-01-25 Alan Mackenzie <acm@muc.de>
1398 AWK Mode: Fix indentation bug at top level. Bug #12274.
1400 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1401 just before CASE 5D.
1403 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1405 * net/socks.el (socks-nslookup-host): Use string-to-number.
1407 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1409 * autorevert.el (auto-revert-remote-files)
1410 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1411 (auto-revert-notify-enabled, auto-revert-use-notify)
1412 (auto-revert-notify-watch-descriptor-hash-list)
1413 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1414 (auto-revert-notify-event-descriptor)
1415 (auto-revert-notify-event-action)
1416 (auto-revert-notify-event-file-name): Doc fix.
1417 (global-auto-revert-mode): Reorder checks.
1418 (auto-revert-notify-rm-watch): Respect changed values of
1419 `auto-revert-notify-watch-descriptor-hash-list'.
1420 (auto-revert-notify-add-watch): Check for
1421 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1422 `inotify-add-watch'. Watch `default-directory' instead of
1423 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1424 has a changed meaning now. (Bug#13540)
1425 (auto-revert-notify-handler): Change implementation wrt events
1426 returning from a directory.
1427 (auto-revert-handler): Reorder implementation for checks of remote
1429 (auto-revert-buffers): Fix parentheses error.
1431 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1433 * progmodes/python.el: Enhancements to header documentation about
1434 skeletons. (Bug#5716)
1436 * imenu.el (imenu-default-create-index-function): Remove useless
1437 infinite loop check. (Bug#13438)
1439 2013-01-25 Alan Mackenzie <acm@muc.de>
1441 Fix a bug in the state cache mechanism. Refactor this a bit.
1443 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1444 `cache-pos' element from the return value.
1445 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1446 buffer to enable proper searching from beyond HERE. Amend the
1447 test for detecting the sought brace pair. Amend the value written
1448 to the "brace desert cache" when the brace isn't found.
1449 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1450 and several other variables analogously.
1451 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1452 parameter to a locally calculated variable.
1453 (c-parse-state-1): Change the calling conventions to the two
1454 defuns involving `cache-pos'.
1456 2013-01-25 Chong Yidong <cyd@gnu.org>
1458 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1460 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1462 * paren.el (show-paren-function): Make sure to set 'priority and
1463 'face only if the overlay does exist.
1465 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1467 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1469 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1471 (tramp-sh-handle-set-file-acl): Improve error checking.
1473 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1475 * doc-view.el (doc-view-display): Force mode line update until all
1476 document is converted. Suggested by Stefan Monnier (Bug#13164).
1478 2013-01-23 Bastien Guerry <bzg@gnu.org>
1480 * paren.el (show-paren-function): Make sure an overlay exists
1481 before trying to delete it. Also use `pos' as a position only
1482 when it is an integer.
1484 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1486 * play/gametree.el (gametree-break-line-here): Use point-marker.
1488 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1490 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1491 Mark descriptive parts with `display' property.
1493 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1495 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1496 New variable to map standard dict names to hunspell ones.
1497 (ispell-set-spellchecker-params): Make sure specific dict names
1498 are used for standard dicts with hunspell.
1500 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1502 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1503 chars for note (%N) and url (%U).
1504 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1506 2013-01-21 Juri Linkov <juri@jurta.org>
1508 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1509 in addition to existing separate binding `meta f10' in `global-map'.
1512 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1514 Improve XEmacs compatibility.
1516 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1518 * net/tramp-adb.el (top): Require `time-date'.
1519 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1520 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1521 Use `tramp-file-name-handler'.
1522 (tramp-adb-maybe-open-connection):
1523 Use `tramp-compat-set-process-query-on-exit-flag'.
1525 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1526 Use `tramp-compat-funcall'.
1528 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1529 `tramp-compat-funcall'.
1531 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1533 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1534 reimplementation using "adb shell command ..." instead of running
1535 remote shell interactively.
1537 2013-01-20 Glenn Morris <rgm@gnu.org>
1539 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1540 Add native profiler menu entries.
1542 * profiler.el (profiler-running-p): New function.
1543 (profiler-cpu-profile): Use profiler-running-p.
1544 (profiler-report-mode-map): Add some more menu entries.
1546 2013-01-19 Glenn Morris <rgm@gnu.org>
1548 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1549 fixes 2012-12-07 change. (Bug#13499)
1551 2013-01-19 Leo Liu <sdl.web@gmail.com>
1553 * dired.el (dired-get-marked-files): Prune erroneous values due to
1554 last change. (Bug#13152)
1556 2013-01-19 Glenn Morris <rgm@gnu.org>
1558 * progmodes/etags.el (tags-table-check-computed-list):
1559 Preserve point in tags buffer. (Bug#13412)
1561 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1563 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1564 Chong Yidong <cyd@gnu.org>
1566 * image-mode.el (image-next-file, image-previous-file):
1567 New commands (Bug#8453).
1568 (image-mode-map): Bind them to n and p.
1569 (image-mode--images-in-directory): New helper function.
1571 2013-01-19 Chong Yidong <cyd@gnu.org>
1573 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1574 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1575 save and restore the old window configuration.
1577 2013-01-18 Leo Liu <sdl.web@gmail.com>
1579 * progmodes/js.el: Tweak autoload cookie for alias.
1581 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1583 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1584 buffer local, again. This was lost with the fix on 2013-01-12.
1586 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1588 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1589 order to support several eshell buffers in parallel.
1591 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1593 * autorevert.el (auto-revert-use-notify): In the :set function, do
1594 not modify `kill-buffer-hook'.
1595 (auto-revert-notify-rm-watch):
1596 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1597 (auto-revert-notify-add-watch): Do not call
1598 `auto-revert-notify-rm-watch', but add it to a buffer local
1601 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1604 call to `eval' rather than a backquoted lambda.
1606 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1609 to return an explicit nil.
1610 (advice--remove-function): Change accordingly.
1612 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1613 the use of nadvice.el.
1615 * progmodes/which-func.el (which-function): Silence imenu errors
1618 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1620 * progmodes/sql.el: (sql-imenu-generic-expression):
1621 (sql-mode-font-lock-object-name): Match schema qualified names.
1622 (sql-connect): Use string keys.
1623 (sql-product-interactive): Wait for interpreter prompt.
1624 (sql-comint-oracle): Set process coding based on NLS_LANG.
1626 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1628 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1629 (sql-interactive-remove-continuation-prompt):
1630 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1632 2013-01-14 Leo Liu <sdl.web@gmail.com>
1634 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1637 2013-01-14 Glenn Morris <rgm@gnu.org>
1639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1640 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1642 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1644 * progmodes/python.el (python-nav-end-of-statement):
1645 Fix cornercase when handling multiline strings.
1647 2013-01-13 Richard Stallman <rms@gnu.org>
1649 * mail/sendmail.el (mail-position-on-field): Add doc string.
1651 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1652 Get current message boundaries and pass them to
1653 message-forward-make-body-mime. Minor style changes.
1655 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1657 * cus-start.el (all): Avoid warnings about
1658 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1660 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1662 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1664 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1667 (jit-lock--debug-fontifying): New var.
1668 (jit-lock--debug-fontify): New function.
1669 * subr.el (condition-case-unless-debug): Don't prevent catching the
1670 error, just let the debbugger run.
1671 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1672 timer code and don't drop errors silently.
1674 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1676 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1677 `permanent-local' property.
1678 (auto-revert-notify-handler): Use `file-equal-p'.
1680 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1682 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1683 file notification by ACTION. For filtering by file name, compare
1684 only the non-directory part of the file name.
1686 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * autorevert.el: Use cl-lib instead of cl.
1690 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1691 (vc-bzr-checkin): Use it.
1692 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1693 will preserve match-data.
1695 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1697 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1698 (js--declaration-keyword-re): New var.
1699 (js--multi-line-declaration-indentation): New function.
1700 (js--proper-indentation): Use it.
1702 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1704 * calc/calc.el (calc-highlight-selections-with-faces)
1706 * comint.el (comint-history-isearch-message):
1707 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1708 * ffap.el (ffap-string-at-point-region, ffap-next)
1709 (ffap-string-at-point, ffap-string-around)
1710 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1712 * font-lock.el (font-lock-keywords-alist)
1713 (font-lock-removed-keywords-alist):
1714 * help-mode.el (help-xref-symbol-regexp):
1715 * info.el (Info-find-emacs-command-nodes):
1716 * international/mule.el (add-to-coding-system-list):
1717 * isearch.el (isearch-message-function, isearch-fail-pos):
1718 * misearch.el (multi-isearch-next-buffer-function):
1719 * newcomment.el (comment-box):
1720 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1721 (pr-setting-database):
1722 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1723 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1724 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1725 (pike-font-lock-keywords-3):
1726 * progmodes/compile.el (compile):
1727 * progmodes/etags.el (tags-table-files)
1728 (tags-table-files-function, tags-included-tables-function):
1729 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1730 (gdb-restore-windows):
1731 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1732 (ps-n-up-filling-database):
1733 * server.el (server-buffer, server-log):
1734 * simple.el (newline, delete-backward-char, delete-forward-char)
1735 (minibuffer-history-isearch-message, kill-line, track-eol)
1736 (temporary-goal-column):
1737 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1738 (flyspell-default-deplacement-commands):
1739 * textmodes/ispell.el (ispell-accept-output):
1740 * textmodes/sgml-mode.el (html-tag-help):
1741 * vc/compare-w.el (compare-ignore-whitespace)
1742 (compare-ignore-case, compare-windows-dehighlight):
1743 * vc/diff.el (diff):
1744 * whitespace.el (whitespace-point)
1745 (whitespace-font-lock-refontify, whitespace-bob-marker)
1746 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1748 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1750 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1751 (auto-revert-notify-rm-watch): Ignore errors.
1752 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1753 inotify, and '(size last-write-time) for w32notify.
1754 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1755 watch fails - this is a fallback to the file modification check.
1756 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1757 (auto-revert-notify-event-action)
1758 (auto-revert-notify-event-file-name): New defuns.
1759 (auto-revert-notify-handler): Use them. Implement first
1760 plausibility checks.
1761 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1763 2013-01-11 Julien Danjou <julien@danjou.info>
1765 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1766 max are almost equal. Also return the correct value for V which is
1767 already between 0 and 1.
1769 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1771 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1773 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1775 * autorevert.el (auto-revert-notify-rm-watch)
1776 (auto-revert-notify-add-watch): Fix typos in w32notify function
1779 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1781 * autorevert.el (auto-revert-notify-enabled): Move up.
1782 (auto-revert-use-notify): New defcustom.
1783 (auto-revert-mode, global-auto-revert-mode)
1784 (auto-revert-notify-add-watch, auto-revert-handler)
1785 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1786 `auto-revert-notify-enabled'.
1788 2013-01-10 Elias Pipping <pipping@exherbo.org>
1790 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1791 * doc-view.el (doc-view-document->bitmap):
1792 Use doc-view-single-page-converter-function instead of
1793 single-page-converter arg; adjust callers.
1795 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1797 * progmodes/which-func.el (which-function): Understand Semantic's use
1798 of overlays in imenu--index-alist.
1800 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1802 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1803 (Man-man-k-use-anchor): New var.
1804 (Man-parse-man-k): New function.
1805 (Man-completion-table): Use it.
1806 (man): Flush the completion cache between uses.
1808 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1810 * autorevert.el: Add file watch support.
1811 (auto-revert-notify-enabled): New defconst.
1812 (auto-revert-notify-watch-descriptor-hash-list)
1813 (auto-revert-notify-watch-descriptor)
1814 (auto-revert-notify-modified-p): New defvars.
1815 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1816 (auto-revert-notify-handler): New defuns.
1817 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1818 when mode is disabled.
1819 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1820 (auto-revert-buffers): Add file watches for active buffers.
1822 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1824 * cus-start.el (toplevel): Only allow float values for
1825 scroll-up-aggressively and scroll-down-aggressively.
1826 Allow any number for line-spacing.
1828 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1831 (doc-view-pdf->png-converter-function): Use mupdf if available.
1832 (doc-view-djvu->png-converter-function)
1833 (doc-view-ps->png-converter-function): Remove.
1834 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1835 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1836 (doc-view-already-converted-p): Adjust accordingly.
1837 (doc-view-mode-p): Simplify.
1838 (doc-view-enlarge): Use setq-local.
1839 (doc-view-pdf->png-converter-ghostscript)
1840 (doc-view-djvu->png-converter-ddjvu)
1841 (doc-view-pdf->png-converter-mupdf): Rework to call
1842 doc-view-start-process directly.
1843 (doc-view-pdf/ps->png): Simplify accordingly.
1844 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1845 (doc-view-document->bitmap): Rename from doc-view-document->png.
1846 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1847 (doc-view-set-slice-from-bounding-box): Fix completion table.
1848 (doc-view-mode): Use add-hook for after-revert-hook.
1850 2013-01-10 Glenn Morris <rgm@gnu.org>
1852 * emacs-lisp/authors.el (authors-ignored-files)
1853 (authors-valid-file-names, authors-renamed-files-alist):
1854 Add some more entries.
1856 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1859 `t' pseudo-window entry.
1861 2013-01-10 Alan Mackenzie <acm@muc.de>
1863 Fix bugs in the c-parse-state mechanism. Reuse some markers
1864 instead of continually generating new ones.
1866 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1867 (c-state-old-cpp-end-marker): New variables.
1868 (c-append-lower-brace-pair-to-state-cache): Start a backward
1869 search for "}" definitively outside CPP constructs.
1870 (c-remove-stale-state-cache): Inform the caller of a need to
1871 search back for a brace pair in certain circumstances.
1872 (c-state-maybe-marker): New macro.
1873 (c-parse-state): Reuse markers when appropriate.
1875 2013-01-10 Glenn Morris <rgm@gnu.org>
1877 * simple.el (execute-extended-command): Doc fix.
1878 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1880 2013-01-10 Chong Yidong <cyd@gnu.org>
1882 * faces.el (read-face-name): Doc fix.
1884 2013-01-10 Roland Winkler <winkler@gnu.org>
1886 * emacs-lisp/crm.el: Allow any regexp for separators.
1887 (crm-default-separator): All spaces around the default comma separator.
1888 (crm--completion-command): New macro.
1889 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1890 (crm-complete-and-exit): Handle non-single-char separators.
1892 2013-01-09 Elias Pipping <pipping@lavabit.com>
1894 * doc-view.el: Add support for DjVu (bug#13164).
1895 (doc-view-djvu->png-converter-function): New config var.
1896 (doc-view-single-page-converter-function, doc-view--image-type)
1897 (doc-view--image-file-extension): New vars.
1898 (doc-view-mode): Initialize them.
1899 (doc-view-goto-page): Use them.
1900 (doc-view-mode-p): Add support for ddjvu.
1901 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1902 (doc-view-set-up-single-converter): New funs.
1903 (doc-view-pdf/ps->png): Extend for djvu.
1904 (doc-view-document->png): Rename from doc-view-pdf->png.
1905 (doc-view-convert-current-doc): Handle djvu.
1906 (doc-view-insert-image, doc-view-display)
1907 (doc-view-already-converted-p): Don't hardcode png.
1908 (doc-view-set-doc-type): Recognize djvu docs.
1910 2013-01-09 Elias Pipping <pipping@lavabit.com>
1912 * doc-view.el: Add support for mupdf converter (bug#13164).
1913 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1914 (doc-view-ps->png-converter-function): New config vars.
1915 (doc-view-pdf->png-converter-ghostscript)
1916 (doc-view-ps->png-converter-ghostscript)
1917 (doc-view-pdf->png-converter-mupdf): New functions.
1918 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1920 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1922 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1923 first in session cache: When `tramp-own-remote-path' is in
1924 `tramp-remote-path', the remote path is only set in the session
1927 2013-01-09 Glenn Morris <rgm@gnu.org>
1929 * emacs-lisp/trace.el (trace-function-foreground)
1930 (trace-function-background): Doc fix.
1932 2013-01-09 Juri Linkov <juri@jurta.org>
1934 * international/mule-cmds.el (read-char-by-name): Move let-binding
1935 of completion-ignore-case around completing-read to fix regression
1936 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1937 `string-match-p' using the nil value of `case-fold-search' and
1938 `completion-ignore-case' in `completion-pcm--all-completions'.
1941 2013-01-09 Glenn Morris <rgm@gnu.org>
1943 * progmodes/compile.el (compilation-parse-errors):
1944 Fix typo. (Bug#13369)
1946 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1948 * comint.el (comint-send-input): Check size of buffer before
1949 waiting for process output, in case already accepted. (Bug#13290)
1951 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1954 * net/tramp-adb.el (tramp-adb-get-toolbox):
1955 Fix misspelling of 'unknown'.
1957 2013-01-08 Juri Linkov <juri@jurta.org>
1959 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1960 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1961 Use underline style wave on terminals that support it. (Bug#13000)
1963 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1965 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1966 the predicate returns nil.
1968 * simple.el: Use lexical-binding.
1969 (primitive-undo): Use pcase.
1970 (minibuffer-history-isearch-push-state): Use a closure.
1972 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1974 * simple.el (primitive-undo): Move from undo.c.
1976 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1979 (cvs-mode-remove-handled): Use it (bug#13380).
1981 * emacs-lisp/nadvice.el (advice--tweak): New function.
1982 (advice--remove-function, advice--subst-main): Use it.
1984 * emacs-lisp/advice.el: Update commentary.
1986 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1988 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1989 Remove spurious entry.
1991 2013-01-08 Glenn Morris <rgm@gnu.org>
1993 * net/tramp.el (tramp-default-host-alist): Add :version.
1995 2013-01-08 Juri Linkov <juri@jurta.org>
1997 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1998 single completion. (Bug#12456)
1999 (info--manual-names): Expand node completions into an explicit list
2000 before appending it to another list. Filter out internal buffers
2001 with the leading space in the buffer name. (Bug#10771)
2003 2013-01-08 Juri Linkov <juri@jurta.org>
2005 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2006 that defaults to the Top node.
2007 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2008 the short format (FILENAME) goes to the Top node.
2009 (Info-build-node-completions): Rename arg `file' to `filename'.
2012 2013-01-07 Bastien Guerry <bzg@gnu.org>
2014 * menu-bar.el (menu-bar-search-documentation-menu):
2015 Use `apropos-user-option' and fix the help message.
2017 2013-01-07 Bastien Guerry <bzg@gnu.org>
2019 * apropos.el (apropos-do-all): Update docstring.
2020 (apropos-user-option-button): New face.
2021 (apropos-user-option): Rename from `apropos-variable' and update
2023 (apropos-variable): Rewrite, now show all variables by default.
2024 (apropos-print): Mention "User option" instead of "Variable" when
2025 printing doc for user options. (Bug#13276)
2027 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2029 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2030 Handle filename correctly, when parsing "source -> target" symlink
2032 (tramp-adb-handle-set-file-times): New defun.
2034 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2037 advice list when the interactive-spec of ad-Advice-* changes.
2039 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2041 * wid-edit.el (widget-default-get): Work for inlined elements.
2044 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2046 * net/tramp.el (tramp-default-host-alist): New defcustom.
2047 (tramp-find-host): Use it.
2048 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2049 `eshell-directory-change-hook'.
2051 * net/tramp-adb.el (top): Add adb specific entry in
2052 `tramp-default-host-alist'.
2053 (tramp-adb-file-name-host): Remove function.
2054 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2055 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2057 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2059 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2061 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2063 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2065 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2066 consist of more than one digit.
2067 (tramp-adb-file-name-handler-alist):
2068 Use `tramp-handle-file-exists-p' consistently.
2069 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2070 (tramp-adb-handle-file-exists-p): Remove function.
2071 (tramp-adb-file-name-host): New defun.
2072 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2074 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2076 2013-01-06 Chong Yidong <cyd@gnu.org>
2078 * vc/vc.el (vc-next-action): Detect buffer modifications
2079 conflicting with locking VCS operation (Bug#11490).
2081 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2083 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2085 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2086 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2088 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2090 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2091 parsing of ls output using regular expression (handle filenames
2092 with spaces). Use virtual device number.
2093 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2096 2013-01-04 Daiki Ueno <ueno@gnu.org>
2098 * epg.el: Silence byte-compiler warnings.
2099 (epg--start): Use delete-char instead of delete-backward-char.
2100 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2102 2013-01-04 Daiki Ueno <ueno@gnu.org>
2104 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2105 Suggested by Eli Zaretskii <eliz@gnu.org>.
2107 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2109 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2110 non-negative integers. Otherwise, the default values are used.
2111 (tramp-convert-file-attributes): Convert uid and gid to integers.
2113 2013-01-04 Glenn Morris <rgm@gnu.org>
2115 * term.el (term-handle-colors-array): Ensure face attributes
2116 are fully specified, not nil. (Bug#13337)
2118 * term.el (term-default-fg-color, term-default-bg-color):
2121 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2122 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2123 rather than 'jka-compr being loaded. (Bug#13338)
2125 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2127 * icomplete.el (icomplete-completions):
2128 Honor icomplete-prospects-height once more following
2129 2012-11-29 changes. (Bug#13224)
2131 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2134 of called-interactively-p as well (bug#13237).
2136 * view.el (view--enable, view--disable): Rename from view-mode-enable
2137 and view-mode-disable and assume it's called from view-mode.
2138 (view-mode-enable, view-mode-disable): Redefine as obsolete
2139 compatibility layer above view-mode.
2140 (view-mode-enter): Call `view-mode'.
2142 * files.el (after-find-file): Call `view-mode'.
2144 * doc-view.el (doc-view-scale-internally): New var.
2145 (doc-view-enlarge, doc-view-insert-image): Obey it.
2147 2013-01-03 Daiki Ueno <ueno@gnu.org>
2149 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2152 2013-01-03 Glenn Morris <rgm@gnu.org>
2154 * mail/rmail.el (rmail-set-header-1): Ignore case.
2155 Handle multi-line headers. (Bug#13330)
2157 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2158 Handle paragraph starting at beginning of buffer.
2160 * subr.el (eval-after-load): Don't purecopy the form, so that it
2161 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2163 * emacs-lisp/byte-run.el (defun): Place cl declarations
2164 after any interactive spec. (Bug#13265)
2166 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2168 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2169 defun. Don't check for DECL if DOCSTRING isn't a string.
2172 2013-01-02 Glenn Morris <rgm@gnu.org>
2174 * eshell/em-cmpl.el (eshell-pcomplete):
2175 More thoroughly imitate pcomplete. (Bug#13293)
2177 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2178 Return nil for empty path elements. (Bug#13296)
2180 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2182 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2183 order to improve efficiency (Based on Daniel Colascione's
2184 <dancol@dancol.org> patch). (Bug#13182)
2186 2013-01-02 Glenn Morris <rgm@gnu.org>
2188 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2190 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2192 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2193 neither DOCSTRING nor DECL was given. (Bug#13316)
2195 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2197 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2199 (tramp-do-copy-or-rename-file): Ignore errors when calling
2200 `set-file-extended-attributes'.
2202 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2203 Add handler for `file-acl'.
2204 (tramp-smb-handle-file-acl): New defun.
2206 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2208 * calc/README: Mention ISO 8601 week-numbering dates.
2210 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2212 * view.el (view-mode-enable): New argument run-view-mode-hook.
2213 Run view-mode-hook only when it's non-nil (Bug#13315).
2214 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2217 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2219 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2220 (No device connected, invalid device name). (Bug #13299)
2222 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2224 * window.el (window-resizable--p): Rename to window-resizable-p.
2225 (window-resize-no-error): New function.
2227 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2228 broken in fix from 2012-12-28.
2230 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2232 * subr.el (special-form-p): Don't signal errors on undef aliases.
2234 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2236 * calc/calc-forms.el (math-parse-date): Try using
2237 `math-parse-iso-date' when it looks like it might be needed.
2238 Allow times of 24:00.
2239 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2242 2012-12-30 Glenn Morris <rgm@gnu.org>
2244 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2245 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2246 (rmail-summary-displayed, rmail-summary): Declare.
2247 (mairix-rmail-display): Just require rmail.
2249 2012-12-30 Chong Yidong <cyd@gnu.org>
2251 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2252 check for the tarball contents.
2254 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2256 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2257 tarfile content listings (Bug#13136).
2259 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2261 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2262 Insert the undecoded text of the message being forwarded. (Bug#9521)
2264 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2266 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2267 integers, if they are real numbers. (Bug#13282)
2269 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2270 Return `t' on success.
2272 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2273 Add handler for `set-file-selinux-context'.
2275 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2277 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2278 (tramp-sh-handle-set-file-acl): Return `t' on success.
2280 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2282 * files.el (backup-buffer-copy, basic-save-buffer-2):
2283 If set-file-extended-attributes fails, fall back on set-file-modes
2284 instead of signaling an error. (Bug#13298)
2285 (basic-save-buffer): Likewise.
2287 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2289 * progmodes/python.el: Support other commands triggering
2290 python-indent-line so indentation cycling continues to work.
2291 (python-indent-trigger-commands): New defcustom.
2292 (python-indent-line): Use it.
2294 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2296 * progmodes/python.el (python-shell-send-region): Add blank lines
2297 for non sent code so backtraces remain correct.
2299 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2301 * progmodes/python.el: Remove cl dependency.
2302 (python-syntax-count-quotes): Replace incf call.
2303 (python-fill-string): Replace setf call.
2305 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2307 * info.el (info-other-window): New arg, for consistency with info.
2309 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2311 * mail/rmail.el (rmail-maybe-display-summary):
2312 Rewrite (Bug#13066).
2314 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2316 * epg.el (epg--start): Modify process-environment locally.
2318 2012-12-28 Daiki Ueno <ueno@gnu.org>
2320 * epg.el: Support pinentry-curses.
2321 Suggested by Werner Koch in
2322 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2323 (epg-agent-file, epg-agent-mtime): New variable.
2324 (epg--start): Record the modified time of gpg-agent socket file,
2325 to restore Emacs frame after pinentry-curses termination.
2326 (epg-wait-for-completion): Restore Emacs frame here.
2328 2012-12-27 Juri Linkov <juri@jurta.org>
2330 * info.el (Info-file-completions): New variable.
2331 (Info-read-node-name-1): Complete node names in the Info file
2332 when a file name is given. Call `Info-build-node-completions'
2334 (Info-build-node-completions): Add new arg `file'. When it is
2335 non-nil, visit it in a temporary buffer and cache its completions in
2336 `Info-current-file-completions'. Move most of the function body to
2337 `Info-build-node-completions-1'.
2338 (Info-build-node-completions-1): New function with the body from
2339 `Info-build-node-completions'. (Bug#12456)
2341 2012-12-27 Juri Linkov <juri@jurta.org>
2343 * frame.el (frame-maximization-style): Remove user option.
2344 (cycle-frame-maximized): Remove function.
2345 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2346 (toggle-frame-fullscreen): New command bound to <f11> instead of
2347 `toggle-frame-maximized'.
2348 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2350 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2352 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2354 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2355 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2356 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2357 for `file-accessible-directory-p'. (Bug#13275)
2359 2012-12-27 Sam Steingold <sds@gnu.org>
2361 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2362 continuations, see <http://stackoverflow.com/questions/3582436>.
2364 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2366 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2367 "module" and "def" to have indentation before them.
2368 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2370 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2372 2012-12-27 Alan Mackenzie <acm@muc.de>
2374 Speed up fontification where there's large brace blocks.
2375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2376 to a call of c-beginning-of-decl-1.
2378 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2380 * comint.el (comint-adjust-window-point): New function.
2381 (comint-postoutput-scroll-to-bottom):
2382 Call comint-adjust-window-point (Bug#13248).
2384 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2386 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2388 (auto-mode-alist): Associate .gemspec files with ruby-mode
2389 (https://bugs.ruby-lang.org/issues/5453).
2391 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2393 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2394 Suppress coloring, if possible (required for BusyBox based systems like
2396 (tramp-adb-handle-file-attributes)
2397 (tramp-adb-handle-insert-directory)
2398 (tramp-adb-handle-file-name-all-completions): Use it.
2399 (tramp-adb-get-toolbox): New defun. Check for remote shell
2400 implementation (BusyBox or Toolbox).
2402 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2404 * startup.el (initial-buffer-choice): Allow function as value
2406 (command-line-1): Handle case where initial-buffer-choice
2407 specifies a function.
2408 * server.el (server-execute): Handle case where
2409 initial-buffer-choice specifies a function.
2411 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2413 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2415 (smtpmail-try-auth-methods): Forget the user name/password if the
2416 login is unsuccessful (bug#12424).
2418 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2420 * notifications.el (notifications-notify): Protect body with
2421 `with-demoted-errors'.
2423 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2424 Check properties of remote device. Restart connection, if there is a
2427 2012-12-21 Chong Yidong <cyd@gnu.org>
2429 * sort.el (sort-subr): Doc fix (Bug#13056).
2431 2012-12-21 Bastien Guerry <bzg@gnu.org>
2433 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2435 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2437 * simple.el (process-file): Overwrite stderr file, if exists.
2439 2012-12-21 Daiki Ueno <ueno@gnu.org>
2441 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2442 (epg-error): Set `error-message' property.
2444 2012-12-21 Chong Yidong <cyd@gnu.org>
2446 * international/mule-cmds.el (read-char-by-name): Signal an error
2447 if the user does not supply a valid character (Bug#13177).
2449 * simple.el (transpose-subr-1): Preserve marker positions by
2450 changing the insertion sequence (Bug#13122).
2452 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2454 * simple.el (kill-region): Deactivate mark even for empty regions
2457 2012-12-21 Chong Yidong <cyd@gnu.org>
2459 * help-fns.el (describe-variable): Make sure we get the right
2460 buffer name (Bug#13105). Suggested by Kelly Dean.
2462 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2464 * comint.el (comint-redirect-previous-input-string): New variable.
2465 (comint-redirect-setup, comint-redirect-cleanup)
2466 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2467 (comint-redirect-preoutput-filter): Fix verbose message.
2469 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2471 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2472 is too long for Tramp. See discussion in
2473 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2475 * progmodes/compile.el (compilation-start): Remove line escape
2478 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2480 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2483 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2485 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2486 following non-comment text (bug#13207).
2487 (lm-header-multiline): Continuation lines need to be indented more than
2489 (lm-homepage): New function.
2490 (lm-with-file): Don't be confused if narrowing is in effect.
2492 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2495 very beginning of a hunk (e.g. killing the first line).
2497 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2499 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2500 and text properties from returned ACL string.
2501 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2502 for "setfacl" command.
2504 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2506 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2507 `tramp-cleanup-this-connection', when the process has died.
2510 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2514 2012-12-17 Kevin Ryde <user42@zip.com.au>
2516 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2518 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2520 Add support for preserving ACL entries of files.
2522 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2523 `set-file-acl' handlers.
2525 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2526 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2528 * net/tramp-compat.el (tramp-compat-copy-file):
2529 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2531 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2532 Add `file-acl' and `set-file-acl' handlers.
2533 (tramp-gvfs-handle-copy-file):
2534 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2535 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2538 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2539 Add `file-acl' and `set-file-acl' handlers.
2540 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2541 (tramp-sh-handle-set-file-acl): New defuns.
2542 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2543 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2546 Add `file-acl' and `set-file-acl' handlers.
2547 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2549 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2551 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2552 use pop-to-buffer with NORECORD argument t. As buffer name, use
2553 *Metahelp* with a leading space (Bug#13190).
2555 2012-12-16 Romain Francoise <romain@orebokech.com>
2557 * files.el (file-extended-attributes)
2558 (set-file-extended-attributes): New functions.
2559 (backup-buffer): Use them to handle both SELinux context and ACL
2561 (backup-buffer-copy): Work with an alist of extended attributes,
2562 rather than an SELinux context.
2563 (basic-save-buffer-2): Ditto.
2565 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2567 * battery.el (battery-bsd-apm): New function.
2569 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2571 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2572 standard date formats.
2574 2012-12-15 Juri Linkov <juri@jurta.org>
2576 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2577 `isearch-insert-char-by-name'.
2578 (with-isearch-suspended): New defmacro with body mostly from
2579 `isearch-edit-string' except the part that sets
2580 `isearch-new-string' and `isearch-new-message'.
2581 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2582 body that sets `isearch-new-string' and `isearch-new-message'.
2583 (isearch-insert-char-by-name): New command.
2584 * international/mule-cmds.el (read-char-by-name): Let-bind
2585 `enable-recursive-minibuffers' to t.
2586 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2588 2012-12-15 Juri Linkov <juri@jurta.org>
2590 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2593 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2595 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2596 the prompt. (Bug#13045)
2598 2012-12-14 Glenn Morris <rgm@gnu.org>
2600 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2601 Try to include filename in non-bytecomp warning. (Bug#13132)
2603 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2605 Fix permissions bugs with setgid directories etc. (Bug#13125)
2606 * files.el (backup-buffer): Don't rely on 9th output of
2607 file-attributes, as it's now a placeholder. Instead, use the new
2608 optional arg of file-ownership-preserved-p.
2609 (file-ownership-preserved-p): New optional arg GROUP.
2610 Fix mishandling of setuid directories that would cause this
2611 function to return t when it should have returned nil.
2612 Document what happens if the file does not exist, and when
2613 it's not known whether the ownership will be preserved.
2614 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2616 (tramp-get-local-gid): Use group-gid for integer, as that's
2617 faster and more reliable.
2619 2012-12-14 Julien Danjou <julien@danjou.info>
2621 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2622 Update keywords list, data type and PL/pgSQL.
2624 2012-12-14 Dave Abrahams <dave@boostpro.com>
2626 * vc/ediff-util.el (ediff-buffer-type): New function.
2627 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2628 rather than taking it as as argument.
2629 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2631 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2633 * json.el: Add pretty-print option (bug#12634).
2634 (json-encoding-separator, json-encoding-default-indentation)
2635 (json--encoding-current-indentation, json-encoding-pretty-print)
2636 (json-encoding-lisp-style-closings): New vars.
2637 (json--with-indentation): New macro.
2638 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2639 (json-encode-array): Use it to obey json-encoding-pretty-print.
2640 (json-pretty-print-buffer, json-pretty-print): New commands.
2642 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2644 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2645 Extract `ruby-syntax-propertize-expansions'.
2646 (ruby-syntax-propertize-expansions): Only change syntax on
2647 certain string delimiters, to punctuation. This way the common
2648 functions like forward-word and thing-at-point still work.
2649 (ruby-match-expression-expansion): Improve readability.
2650 (ruby-block-contains-point): New function.
2651 (ruby-add-log-current-method): Handle several edge cases.
2653 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2655 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2656 unload-feature finishes even when aborting an ongoing edebug session.
2657 Also, do not worry about edebug-mode, unload-feature takes care of it.
2659 2012-12-13 Andreas Schwab <schwab@suse.de>
2661 * net/tls.el (tls-program): Update customize type.
2663 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2665 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2666 (edebug-setup-hook, cl-read-load-hooks): Use it.
2667 (edebug-unload-function): New function. (Bug#13163)
2669 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2671 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2672 Otherwise, there could be errors in autoloading. (Bug#13151)
2674 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2676 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2679 2012-12-13 Alan Mackenzie <acm@muc.de>
2681 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2682 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2683 around `forward-comment' not recognizing ^M as whitespace.
2685 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2687 * progmodes/python.el (python-skeleton-class)
2688 (python-skeleton-def): Do not add space after defun name.
2690 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2692 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2693 (cl--symbol-function): Remove (now that funbound is like nil).
2695 2012-12-12 Glenn Morris <rgm@gnu.org>
2697 * button.el (button--area-button-p): Fix typo.
2699 2012-12-12 Sam Steingold <sds@gnu.org>
2701 * frame.el (frame-maximization-style): New user option.
2702 (toggle-frame-maximized): Toggle frame maximization according to
2703 `frame-maximization-style', bound to <f11>.
2704 (cycle-frame-maximized): Cycle between all maximization styles and
2705 non-maximized frame, bound to shift-<f11>.
2707 2012-12-12 David Cadé <codename68@gmail.com>
2709 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2711 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2713 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2714 (eieio-override-prin1): Don't quote kewords and booleans.
2715 (object-write) <eieio-default-superclass>: Don't put closing parens
2716 on new line, avoid needless empty lines, align values that are objects
2717 with the slot keyword (instead of beginning on the same line).
2718 (eieio-list-prin1): Align value with slot keyword; increase
2719 eieio-print-depth before printing members of the list.
2721 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2724 a display text-property.
2725 (report-emacs-bug-hook): Don't bother deleting it any more.
2727 * hilit-chg.el (highlight-save-buffer-state): Delete.
2728 Use with-silent-modifications instead.
2729 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2731 * button.el: Handle buttons in display text-properties.
2732 (button--area-button-p, button--area-button-string):
2733 Use (STRING . STRING-POS) representation instead of just STRING.
2735 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2737 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2738 subdirectory be skipped.
2740 2012-12-11 Glenn Morris <rgm@gnu.org>
2742 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2744 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2745 Treat preprocessor lines embedded in continuations like comments.
2746 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2748 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2750 * calc/calc.el (calc-standard-date-formats): Add more date
2752 * calc/calc-forms.el (math-parse-iso-date): New function.
2753 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2754 (math-parse-iso-date-validate): Add extra error checking.
2755 (calc-date-notation): Add ability to access new date formats.
2757 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2760 font-lock as well as when there's no text-property.
2762 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2764 * hi-lock.el: Refine the choice of default face.
2765 (hi-lock-keyword->face): New function. Use it wherever we used
2767 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2768 (hi-lock--last-face): Remove var.
2769 (hi-lock--unused-faces): New var to replace it.
2770 (hi-lock-read-face-name): Use/maintain it.
2771 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2772 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2773 if it has another face.
2775 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2777 * subr.el (w32notify-handle-event): New function.
2778 (inotify-handle-event): Doc fix.
2780 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2782 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2784 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2786 * simple.el (just-one-space): Doc fix.
2788 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2790 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2792 2012-12-10 Le Wang <l26wang@gmail.com>
2794 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2795 narrowed buffer (bug#12361).
2797 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2799 * vc/vc-hooks.el (vc-state): Doc fix.
2801 2012-12-10 Glenn Morris <rgm@gnu.org>
2803 * mail/rmail.el (rmail-maybe-display-summary):
2804 Preserve buffer, in case select-window changes it. (Bug#13066)
2806 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2809 cl-load-hook where they belong.
2811 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2815 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2817 Parallelize byte compilation on MS-Windows.
2818 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2819 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2820 (WINS_BASIC): Define as concatenation of the above.
2821 (compile): Subdivide into 4 separate and independent jobs that can
2823 (compile0-CMD, compile0-SH): New targets for compiling
2824 COMPILE_FIRST files, which are prerequisites for the rest of the
2826 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2827 New targets for parallel compilation with cmd.exe.
2828 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2829 compiling under a Unixy shell.
2831 2012-12-09 Chong Yidong <cyd@gnu.org>
2833 * simple.el (set-mark-default-inactive): Delete this
2834 accidentally-introduced option.
2835 (set-mark-command, exchange-point-and-mark): Remove calls.
2837 2012-12-09 Glenn Morris <rgm@gnu.org>
2839 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2840 Respect a defcustom's :set function, if appropriate. (Bug#109)
2841 (eval-defun): Doc fix.
2843 2012-12-08 Juri Linkov <juri@jurta.org>
2845 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2846 (Info-fontify-node, Info-bookmark-make-record): Remove the
2847 file extension from Info-current-file (Bug#13016).
2849 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2852 point, still provide some default.
2853 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2854 names, since we don't use it right now. Actually return the list.
2855 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2857 2012-12-07 Chong Yidong <cyd@gnu.org>
2859 * novice.el (disabled-command-function): Remove a spurious help
2860 xref (Bug#13043). Suggested by Kelly Dean.
2862 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2863 syntax is specified (Bug#13025).
2865 * info.el (Info-set-mode-line): Remove the file extension from
2866 Info-current-file if there is one (Bug#13016).
2868 2012-12-07 Glenn Morris <rgm@gnu.org>
2870 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2871 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2872 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2873 and rmail-mime-decoded. (Bug#9841)
2875 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2876 (batch-unrmail, unrmail): Doc fixes.
2877 (unrmail): Respect unrmail-mbox-format.
2878 * mail/rmail.el (rmail-mbox-format): New option.
2879 (rmail-show-message-1): Respect rmail-mbox-format.
2881 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2883 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2885 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2887 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2888 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2889 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2890 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2891 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2892 (cl-progv): Don't rely on dynamic scoping to find the body.
2893 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2894 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2895 (cl-declaim): Use backquotes.
2896 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2897 Use "cl--" prefix for the object's tag.
2899 * ses.el: Use advice-add/remove.
2900 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2901 (copy-region-as-kill, yank): Use advice-add.
2902 (ses-unload-function): Use advice-remove.
2904 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2906 * button.el: Make them work in header-lines (bug#12817).
2907 (button-map): Add bindings for header-line and mode-line use.
2908 (button-get, button-put, button-label): `button' may now be a string.
2909 (button-activate): Don't make it a defsubst.
2910 (button--area-button-p, button--area-button-string): New functions.
2911 (make-text-button): Fix the return value when `beg' was a string.
2912 (push-button): Handle the mode-line case.
2914 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2916 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2917 (sql-signum): Remove. Use `cl-signum' instead.
2918 (sql-read-passwd): Remove; use read-passwd instread.
2919 (sql-get-login-ext): Use read-string.
2920 (sql-get-login): Use dolist and pcase.
2921 (sql--completion-table): Rename from sql-try-completion.
2922 Use complete-with-action.
2923 (sql-mode): Don't change abbrev-all-caps globally.
2924 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2925 (sql-postgres-completion-object): Initialize vars in their `let'.
2926 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2927 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2928 (sql-comint-interbase): Use a single append, without setq.
2929 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2931 * hi-lock.el: Rework the default face and the serialize regexp code.
2932 (hi-lock--auto-select-face-defaults): Remove.
2933 (hi-lock-string-serialize-serial): Remove.
2934 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2936 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2938 (hi-lock-set-pattern): Adjust accordingly.
2939 (hi-lock--regexps-at-point): Simplify accordingly.
2940 (hi-lock--auto-select-face-defaults): Remove.
2941 (hi-lock--last-face): New var to replace it.
2942 (hi-lock-read-face-name): Rewrite (bug#11095).
2943 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2945 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2947 * net/tramp.el (tramp-replace-environment-variables):
2948 Hide compiler warning.
2949 (tramp-file-name-for-operation): Remove `executable-find',
2950 `start-process', `call-process' and `call-process-region'.
2952 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2954 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2957 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2959 2012-12-06 Chong Yidong <cyd@gnu.org>
2961 * ffap.el (ffap-replace-file-component): Fix typo.
2963 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2966 fix open-paren-like token test (bug#12785).
2968 2012-12-06 Glenn Morris <rgm@gnu.org>
2970 * mail/rmailsum.el (rmail-new-summary): Tweak for
2971 rmail-maybe-display-summary changing buffer. (Bug#13066)
2973 2012-12-06 Juri Linkov <juri@jurta.org>
2975 * info.el (Info-fontify-node): Don't hide the last newline.
2978 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2980 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2981 so as to enable message-read-from-minibuffer to expand mail aliases.
2983 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2986 the `intangible' property.
2987 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2989 2012-12-05 Deniz Dogan <deniz@dogan.se>
2991 * net/rcirc.el (rcirc-urls): Update documentation.
2992 (rcirc-condition-filter): New function.
2993 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2994 and exclude consecutive duplicate URLs (Bug#6082).
2996 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2999 Check return code of copy command.
3001 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3002 Use group `tramp'. Add version.
3004 2012-12-05 Chong Yidong <cyd@gnu.org>
3006 * ffap.el (ffap-url-regexp): Don't require matching at front of
3008 (ffap-url-p): If only a substring matches, return that.
3009 (ffap-url-at-point): Use the return value of ffap-url-p.
3010 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3011 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3012 (ffap-guess-file-name-at-point): Likewise.
3013 (ffap-replace-file-component): Fix typo.
3015 * info.el (info-display-manual): Add existing Info buffers, whose
3016 files may not be in Info-directory-list, to the completion.
3017 (info--manual-names): New helper function.
3019 2012-12-05 Glenn Morris <rgm@gnu.org>
3021 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3022 New functions, for detecting and resolving conflicts. (Bug#10709)
3024 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3026 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3027 (hi-lock-auto-select-face-defaults): New buffer local variable.
3028 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3029 (hi-lock-unface-buffer): Prompt user with useful defaults.
3030 With prefix arg, unhighlight all hi-lock patterns in buffer.
3032 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3036 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3038 * Makefile.in (TRAMP_SRC):
3039 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3041 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3043 * net/tramp-adb.el: New package.
3045 2012-12-04 Chong Yidong <cyd@gnu.org>
3047 * terminal.el: Move to obsolete/.
3049 * longlines.el: Move to obsolete/.
3051 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3052 Remove code referring to longlines mode.
3054 2012-12-03 Juri Linkov <juri@jurta.org>
3056 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3058 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3060 * textmodes/ispell.el (ispell-init-process)
3061 (ispell-start-process, ispell-internal-change-dictionary):
3062 Make sure personal dictionary name is expanded after initial
3063 `default-directory' value. Use expanded strings for
3064 keep/restart checks and for value (Bug#13019).
3066 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3068 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3070 2012-12-03 Leo Liu <sdl.web@gmail.com>
3072 * files.el (dir-locals-read-from-file): Check file non-empty
3073 before reading. (Bug#13038)
3075 2012-12-03 Glenn Morris <rgm@gnu.org>
3077 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3078 Remove any version extension before checking filename. (Bug#13006)
3079 (jka-compr-compression-info-list): Belated :version bump.
3081 2012-12-03 Chong Yidong <cyd@gnu.org>
3083 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3085 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3086 (buffer-menu): Doc fix (Bug#12294).
3088 2012-12-03 Roland Winkler <winkler@gnu.org>
3090 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3091 of diary-show-all-entries in the diary buffer (Bug#12994).
3093 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3095 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3096 "<STDIN>". This is binary safe.
3098 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3100 * calc/calc-forms.el (math-absolute-from-iso-dt)
3101 (math-date-to-iso-dt, math-parse-iso-date-validate)
3102 (math-iso-dt-to-date): New functions.
3103 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3104 (math-fd-isoweekday): New variables.
3105 (calc-date-notation, math-parse-standard-date, math-format-date)
3106 (math-format-date-part): Add support for more formatting codes.
3108 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3110 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3111 current buffer's file name when called interactively (Bug#12488).
3113 2012-12-02 Juri Linkov <juri@jurta.org>
3115 * info.el (info-display-manual): Don't clobber an existing Info
3116 buffer (Bug#10770). Add completion (Bug#10771).
3118 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3120 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3121 before using it for comparison (Bug#5297).
3123 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3125 * textmodes/css-mode.el (css-current-defun-name): New function.
3128 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3129 (html-mode): Use it.
3131 2012-12-01 Chong Yidong <cyd@gnu.org>
3133 Modularize add-log-current-defun (Bug#2224).
3134 Suggested by Jari Aalto.
3136 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3137 (add-log-current-defun): Move mode-specific code to other files.
3138 (add-log-lisp-like-modes, add-log-c-like-modes)
3139 (add-log-tex-like-modes): Variables deleted.
3141 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3142 (lisp-mode-variables): Use it.
3144 * progmodes/cc-mode.el (c-common-init):
3145 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3146 add-log-current-defun-function.
3148 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3151 * progmodes/perl-mode.el (perl-current-defun-name): New.
3152 (perl-mode): Use it.
3154 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3155 Use lisp-current-defun-name.
3157 * textmodes/tex-mode.el (tex-current-defun-name): New.
3158 (tex-common-initialization): Use it.
3160 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3161 (texinfo-mode): Use it.
3163 2012-12-01 Chong Yidong <cyd@gnu.org>
3165 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3166 * progmodes/autoconf.el (autoconf-mode):
3167 * progmodes/js.el (js-mode):
3168 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3169 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3170 * progmodes/perl-mode.el (perl-mode):
3171 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3172 * textmodes/css-mode.el (css-mode):
3173 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3174 (sgml-tags-invisible, sgml-guess-indent):
3175 * textmodes/tex-mode.el (tex-common-initialization)
3176 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3177 (doctex-mode, plain-tex-mode, latex-mode):
3178 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3180 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3182 * vc/vc-hg.el (vc-hg-next-revision):
3183 Ensure use of default "tip" output format. (Bug#6968)
3185 2012-12-01 Kim F. Storm <storm@cua.dk>
3187 * startup.el (fancy-startup-tail): Add a clickable link
3190 2012-12-01 Chong Yidong <cyd@gnu.org>
3192 * startup.el (fancy-startup-tail): Improve the message about
3193 auto-save files (Bug#2176).
3195 * files.el (recover-session): Improve the descriptive message, and
3196 use substitute-command-keys.
3198 2012-12-01 Glenn Morris <rgm@gnu.org>
3200 * ido.el (ido-file-internal):
3201 Handle other-window, other-frame for dired. (Bug#13036)
3203 2012-11-30 Glenn Morris <rgm@gnu.org>
3205 * icomplete.el (icomplete-separator): Fix :version.
3207 2012-11-30 Chong Yidong <cyd@gnu.org>
3209 * shell.el (shell): For C-u M-x shell, use an inactive shell
3210 buffer as the default (Bug#1975).
3211 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3212 (shell-mode): Use them to reapply ansi colorization if Shell mode
3215 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3217 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3219 2012-11-30 Samuel Bronson <naesten@gmail.com>
3221 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3222 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3224 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3226 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3227 by move-to-column (Bug#3234).
3229 2012-11-30 Chong Yidong <cyd@gnu.org>
3231 * longlines.el (longlines-wrap-line, longlines-encode-region):
3232 Preserve text properties (Bug#1425).
3234 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3236 * vc/vc.el (vc-register): Allow registering a file which is
3237 already registered with a different backend (Bug#10589).
3239 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3240 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * icomplete.el: Change separator; add ido-style commands.
3243 (icomplete-show-key-bindings): Remove custom var.
3244 (icomplete-get-keys): Remove function.
3245 (icomplete-forward-completions, icomplete-backward-completions):
3247 (icomplete-minibuffer-map): New var.
3248 (icomplete-minibuffer-setup): Use it.
3249 (icomplete-exhibit): Don't delay if the list of completions is known.
3250 (icomplete-separator): New custom.
3251 (icomplete-completions): Use it.
3252 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3253 (minibuffer-force-complete-and-exit): New command.
3254 (minibuffer--complete-and-exit): New function extracted from
3255 minibuffer-complete-and-exit.
3256 (minibuffer-complete-and-exit): Use it.
3258 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3259 error message when the file doesn't exist (bug#12974).
3261 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3263 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3265 2012-11-29 Glenn Morris <rgm@gnu.org>
3267 * files.el (hack-dir-local-variables): Warn if try to set
3268 coding via dir-locals, since it doesn't work. (Bug#7169)
3270 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3271 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3272 Set buffer-local value of desktop-save-buffer.
3273 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3275 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3276 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3278 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3279 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3281 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3284 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3286 * calc/calc-forms.el (calc-date-notation): Fix regexp
3287 used to find time codes. Fix symbol for seconds.
3289 2012-11-27 Glenn Morris <rgm@gnu.org>
3291 * emacs-lisp/derived.el (derived-mode-make-docstring):
3292 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3294 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3297 lexically scoped variables (bug#13005).
3299 2012-11-27 Glenn Morris <rgm@gnu.org>
3301 * vc/vc-hooks.el (vc-mistrust-permissions):
3302 Default to t, to avoid data-loss. (Bug#11490)
3304 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3306 * progmodes/python.el (python-indent-guess-indent-offset):
3307 If indentation is guessed make python-indent-offset buffer-local.
3309 Fix Imenu regression.
3310 * progmodes/python.el (python-nav-beginning-of-defun):
3311 Fix forward movement when statement(s) separates point from defun.
3312 (python-imenu-prev-index-position): New function.
3314 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3316 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3318 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3319 Don't set buffer-file-type. Return nil. (Bug#12989)
3321 2012-11-27 Glenn Morris <rgm@gnu.org>
3323 * hippie-exp.el (hippie-expand-try-functions-list):
3324 Re-autoload it. (Bug#12982)
3326 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3328 * descr-text.el (describe-char-padded-string):
3329 Call internal-char-font only on GUI frames. (Bug#11964)
3331 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3333 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3334 and obsoletion message.
3336 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3339 the constructs to keep outside of the `cl-block' (bug#12977).
3341 2012-11-27 Chong Yidong <cyd@gnu.org>
3343 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3344 keep reading until we get the up-event anyway, in order to process
3345 the up-event for mouse-1-click-follows-link (Bug#12971).
3347 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3350 base function is not yet defined (bug#12965).
3351 (ad-activate-advised-definition): Use ad-compile-function.
3352 (ad-activate): Use cond.
3354 2012-11-25 Leo Liu <sdl.web@gmail.com>
3356 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3359 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3361 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3362 reftex-section-info-function in order to be compatible with
3363 Texinfo integration.
3365 * textmodes/reftex.el (reftex-section-pre-regexp)
3366 (reftex-section-post-regexp, reftex-section-info-function):
3368 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3369 reftex-section-post-regexp, and reftex-section-info-function in order
3370 to be compatible with Texinfo integration.
3372 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3373 use reftex-section-pre-regexp variable in order to be compatible with
3374 Texinfo integration.
3376 2012-11-25 Chong Yidong <cyd@gnu.org>
3378 * faces.el: Make face-spec-set more analogous to setq.
3379 (face-spec-set): Change the third arg to specify whether this
3380 function is being called via defface, customize, or a third party.
3381 Set the appropriate symbol properties. Clear the override spec if
3382 setting via Custom. Initialize face if necessary. (Bug#4988)
3383 (face-spec-recalc): Allow theme faces to completely replace the
3384 defface spec, in the same way as custom faces (Bug#8454).
3386 * cus-face.el (custom-declare-face): Move face initialization to
3388 (custom-theme-set-faces): Don't initialize the face name here, as
3389 that is now done in face-spec-set.
3391 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3392 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3393 Simplify by using the new arg to face-spec-set.
3395 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3396 reset face-override-spec too, and use custom-declare-face.
3398 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3400 * term/ns-win.el (ns-initialize-window-system): Move creation of
3401 fontsets here (Bug#11964).
3403 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3405 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3408 2012-11-24 Chong Yidong <cyd@gnu.org>
3410 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3413 * custom.el (custom-theme-set-variables): Use a topological sort
3414 for ordering by custom dependencies (Bug#12952).
3415 (custom--sort-vars, custom--sort-vars-1): New functions.
3417 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3419 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3420 lexical-binding (bug#12938).
3422 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3424 * image-mode.el (image-transform-check-size): Use assertions only
3425 for images of type imagemagick.
3427 Otherwise no error, image-transform-fit-to-{width,height} is
3428 silently ignored, as before. Doc fix.
3430 2012-11-24 Chong Yidong <cyd@gnu.org>
3432 * faces.el (color-defined-p): Doc fix (Bug#12853).
3434 2012-11-24 Juri Linkov <juri@jurta.org>
3436 * dired.el (dired-mark): Add optional arg `interactive'.
3437 Check for `use-region-p' if `interactive' is non-nil.
3438 (dired-unmark, dired-flag-file-deletion): Add optional arg
3439 `interactive'. Call `dired-mark' with the arg `interactive'.
3442 * wdired.el: Revert 2012-10-17 change partly and replace it with
3443 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3444 (wdired-finish-edit): Add marks for new file names to
3445 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3446 after `revert-buffer'.
3447 (wdired-do-renames): Remove calls to `dired-remove-file',
3448 `dired-add-file', `dired-add-entry'. (Bug#11795)
3450 2012-11-24 Alan Mackenzie <acm@muc.de>
3452 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3454 Fix bugs in the state cache. Enhance a debugging mechanism.
3455 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3456 "brace at column zero" strategy for C++.
3457 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3458 (c-parse-state-point): New variable.
3459 (c-record-parse-state-state): Record old parse state with
3460 `copy-tree'. Record previous value of point.
3461 (c-debug-parse-state-double-cons): New debugging function.
3462 (c-debug-parse-state): Call the above new function.
3463 (c-toggle-parse-state-debug): Output a confirmatory message.
3465 * progmodes/cc-mode.el (c-before-change, c-after-change):
3466 Call c-invalidate-state-cache from `c-before-change' instead of
3469 2012-11-23 Chong Yidong <cyd@gnu.org>
3471 * find-cmd.el (find-constituents): Add executable, ipath,
3472 readable, samefile, writable, daystart, regextype (Bug#12856).
3474 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3478 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3480 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3481 definition. This fixes a bootstrap failure.
3482 (calc-gregorian-switch): In menu, put dates before regions.
3483 This is easier to follow, lines up better in the menu, and lets us
3484 coalesce regions that switch at the same time. Give country
3485 names, not "Vatican", as that's better for non-expert users.
3486 Use names that are stable between the date of switch and now, e.g.,
3487 Bohemia and Moravia (which existed then and now) and not
3488 Czechoslovakia (which didn't exist then and doesn't exist now).
3489 What is now the U.S. mostly did not switch at the same time as
3490 Britain, so omit the U.S. Correct spelling of "Britain".
3491 Catholic Switzerland was too much of a mess, so omit it.
3493 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3495 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3496 after the variable is changed.
3498 2012-11-21 Daniel Colascione <dancol@dancol.org>
3500 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3501 in SQL declarations for font-lock.
3502 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3504 2012-11-21 Glenn Morris <rgm@gnu.org>
3506 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3507 (face-italic-p): Add optional argument "inherit".
3509 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3510 Remove -p suffix from names, for consistency with other set-face-*.
3511 (set-face-inverse-video): Fix interactive spec.
3512 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3513 * textmodes/table.el (table--update-cell-face):
3514 Use set-face-inverse-video rather than now obsolete alias.
3516 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3518 * simple.el (line-move): Don't call line-move-partial if
3519 scroll-conservatively is in effect. (Bug#12927)
3521 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3524 Fallback on completion-at-point rather than
3525 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3526 (eshell-cmpl-initialize): Setup completion-at-point.
3528 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3530 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3532 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3534 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3535 are remote, check out-of-band property for both.
3537 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3542 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3544 More minor time fixes.
3545 * calendar/time-date.el: Commentary fix.
3546 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3547 too much other code depends on (0 0) time stamps.
3548 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3549 Add a couple of FIXME comments.
3551 Minor cleanup for times as lists of four integers.
3552 * files.el (dir-locals-directory-cache):
3553 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3555 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3556 * ps-bdf.el (bdf-file-newer-than-time):
3557 Process four-integers time stamps, not two. Doc fixes.
3559 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3561 * uniquify.el (uniquify-managed): Use defvar-local.
3562 (rename-buffer, create-file-buffer): Advise with advice-add.
3563 (uniquify-unload-function): Unadvise accordingly.
3565 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3566 (trace-buffer): Don't purecopy.
3567 (trace-entry-message, trace-exit-message): Add `context' arg.
3568 (trace--timer): New var.
3569 (trace-make-advice): Adjust for use in nadvice.
3570 Add `context' argument. Delay `display-buffer' via a timer.
3571 (trace-function-internal): Use advice-add.
3572 (trace--read-args): New function.
3573 (trace-function-foreground, trace-function-background): Use it.
3574 (trace-function): Rename to trace-function-foreground and redefine as
3575 an alias to that new name.
3576 (untrace-function, untrace-all): Adjust to the use of nadvice.
3578 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3580 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3582 * subr.el (called-interactively-p-functions): New var.
3583 (internal--called-interactively-p--get-frame): New macro.
3584 (called-interactively-p, interactive-p): Rewrite in Lisp.
3585 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3586 (called-interactively-p-functions): Use it.
3587 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3588 (called-interactively-p-functions): Use it.
3589 * allout.el (allout-called-interactively-p): Don't assume
3590 called-interactively-p is a subr.
3592 2012-11-20 Glenn Morris <rgm@gnu.org>
3594 * profiler.el (profiler-report-mode-map): Add a menu.
3595 No need to bind `q' because we derive from special-mode.
3596 (profiler-report-find-entry): Handle calls from the menu-bar.
3598 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3600 * emacs-lisp/byte-run.el (defun-declarations-alist):
3601 Allow a compiler-macro to be a lambda expression.
3603 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3605 (python-syntax-context): Add compiler-macro.
3606 (python-font-lock-keywords): Simplify with De Morgan.
3608 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3610 * files.el (load-file): Require match in minibuffer selection, as was
3611 the case in Emacs-20 before we changed the spec to allow .elc files
3614 * json.el: Don't require cl since we don't use it.
3615 * color.el: Don't require cl.
3616 (color-complement): `caddr' -> `nth 2'.
3618 * calendar/time-date.el (time-to-seconds): De-obsolete.
3620 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3622 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3624 (math-date-to-julian-dt): Adjust the initial approximation for the
3625 year to deal with the new definition of the DATE.
3627 2012-11-19 Daniel Colascione <dancol@dancol.org>
3629 * term/w32-win.el (cygwin-convert-path-from-windows):
3630 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3632 2012-11-18 Chong Yidong <cyd@gnu.org>
3634 * filecache.el (file-cache--read-list): New function.
3635 (file-cache-add-directory-list, file-cache-add-file-list)
3636 (file-cache-delete-file-list, file-cache-delete-directory-list):
3637 Use it to read a list of files or directories (Bug#12846).
3638 (file-cache-add-file, file-cache-add-directory)
3639 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3640 (file-cache-delete-directory): Print an message.
3642 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3644 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3645 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3647 2012-11-18 Glenn Morris <rgm@gnu.org>
3649 * image.el (insert-image, insert-sliced-image): Doc fix.
3651 2012-11-18 Chong Yidong <cyd@gnu.org>
3653 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3656 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3658 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3659 response when the target file is in a subdirectory (Bug#12757).
3661 2012-11-18 Chong Yidong <cyd@gnu.org>
3663 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3665 2012-11-18 Glenn Morris <rgm@gnu.org>
3667 * emacs-lisp/cl-lib.el (face-underline-p):
3668 Use set-face-underline rather than the alias set-face-underline-p.
3670 * window.el (with-temp-buffer-window): Doc fix.
3671 * subr.el (with-output-to-temp-buffer):
3672 Add doc xref to with-temp-buffer-window.
3674 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3676 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3677 * calc/calc.el (math-format-date-cache): Declare.
3679 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3681 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3682 It also uses January 1, 1 AD as its day number 1.
3683 * calc/calc-forms.el (math-julian-date-beginning)
3684 (math-julian-date-beginning-int): Implement this.
3686 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3688 * descr-text.el (quail-find-key):
3689 * dired.el (desktop-file-name):
3690 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3691 * generic-x.el (comint-mode, comint-exec):
3692 * image-dired.el (widget-forward):
3693 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3694 (speedbar-change-expand-button-char)
3695 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3696 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3697 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3698 (widget-field-action, widget-value-set):
3699 * speedbar.el (imenu--make-index-alist):
3700 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3701 (ring-length, ring-insert):
3702 * vcursor.el (compare-windows-skip-whitespace):
3703 * woman.el (dired-get-filename):
3706 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3708 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3710 * calc/calc.el (calc-gregorian-switch): New variable.
3712 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3713 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3714 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3715 (math-leap-year-p): Add option to distinguish between Julian
3716 and Gregorian calendars.
3717 (math-day-number): Use `math-day-in-year' to do the computations.
3718 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3719 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3720 to do the computations.
3721 (math-date-to-dt): Use `math-date-to-julian-dt' and
3722 `math-date-to-gregorian-dt' to do the computations.
3723 (calcFunc-weekday, math-format-date-part): Use the new version of
3724 the DATE to determine the weekday.
3725 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3728 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3730 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3731 Cygwin; otherwise use 'file:'. (Bug#12914)
3732 (cygwin-convert-path-from-windows): Declare, to avoid
3733 byte-compiler warnings.
3735 2012-11-17 Andreas Politz <politza@fh-trier.de>
3737 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3738 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3739 prefix and negative numeric prefix args (Bug#12795).
3741 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3743 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3744 Don't signal an error with a score that is too low to add to the
3745 list of top scores. (Bug#12779)
3747 2012-11-17 Chong Yidong <cyd@gnu.org>
3749 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3751 * filecache.el (file-cache-add-file): Handle relative file name in
3752 the argument (Bug#12694).
3754 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3756 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3758 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3760 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3762 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3764 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3766 * window.el (enlarge-window, shrink-window): Don't mention return
3767 value in doc-string (Bug#12896).
3768 (window--display-buffer): Don't resize frames - it won't work
3769 with all window managers and defeat pop-up-frame-alist.
3770 (display-buffer-alist): In doc-string explain that CONDITION can
3771 be a function and which arguments are passed to it (Bug#12854).
3772 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3773 expressions (Bug#12854).
3774 (display-buffer): Pass ACTION argument to
3775 display-buffer-assq-regexp.
3777 2012-11-16 Glenn Morris <rgm@gnu.org>
3779 * window.el (fit-frame-to-buffer-bottom-margin)
3780 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3782 * faces.el (face-underline-p): Use face-attribute-specified-or.
3784 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3786 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3788 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3792 2012-11-16 Glenn Morris <rgm@gnu.org>
3794 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3795 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3797 * faces.el (face-underline-p): Doc fix. Handle :underline being
3798 things other than `t' (a string, a list).
3799 (face-inverse-video-p): Doc fix.
3800 (set-face-underline): Rename it back from set-face-underline-p.
3801 Doc fix. Allow interactive input of values other than t.
3802 (read-face-attribute): Apply formatting to :underline,
3803 since like :box and :stipple it can take list values.
3805 * term.el (ansi-term): Don't let C-x escape-char binding
3806 clobber the more standard C-c binding. (Bug#12842)
3808 * subr.el (set-temporary-overlay-map): Doc fix.
3810 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3812 * window.el (record-window-buffer)
3813 (display-buffer-record-window): When copying the markers to
3814 window-point preserve window-point-insertion-type. (Bug#12588)
3816 2012-11-16 Glenn Morris <rgm@gnu.org>
3818 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3819 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3820 Use new names for hooks rather than obsolete aliases.
3822 2012-11-15 Daniel Colascione <dancol@dancol.org>
3824 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3825 prefix instead of "file:" so that when FILE-NAME begins with "//",
3826 as it does when the target file is on a network share, url-handler
3829 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3831 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3832 a preactivated advice from an old advice.el; they're not compatible!
3834 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3836 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3837 Fix string-spec case.
3839 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3841 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3844 (advice--buffer-local-function-sample): New var.
3845 (advice--set-buffer-local, advice--buffer-local): New functions.
3846 (add-function, remove-function): Use them.
3848 2012-11-15 Drew Adams <drew.adams@oracle.com>
3850 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3852 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3855 potential binding of print-gensym to t, and prettify (back)quotes in
3856 case they appear in args's default values (bug#12884).
3858 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3861 (advice-eval-interactive-spec): New function.
3862 (advice--make-interactive-form): Support around advice (bug#12844).
3864 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3866 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3867 more strict. Add docstring.
3868 (ruby-expression-expansion-re): Extract from
3869 `ruby-match-expression-expansion'.
3870 (ruby-syntax-propertize-function): After everything else, search
3871 for expansions in string literals, mark their insides as
3872 whitespace syntax and save match data for font-lock.
3873 (ruby-font-lock-keywords): Use the 2nd group from expression
3875 (ruby-match-expression-expansion): Use the match data saved to the
3876 text property in ruby-syntax-propertize-function.
3878 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3883 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3885 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3886 start/end keyword a bit harder. Works with different values of N.
3888 (ruby-end-of-block): Update accordingly.
3890 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * woman.el (woman-file-name): Don't mess with unread-command-events
3895 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3896 Remove out of date self-require hack.
3897 (ad-do-advised-functions): Use simple `dolist'.
3898 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3899 (ad-advice-definition): Redefine as functions.
3900 (ad-advice-classes): Move before first use.
3901 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3902 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3903 (ad--defalias-fset): Remove functions.
3904 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3905 (ad-get-orig-definition): Rewrite.
3906 (ad-make-advised-definition-docstring): Change base docstring.
3907 (ad-real-orig-definition): Rewrite.
3908 (ad-map-arglists): Change name of called function.
3909 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3910 (ad-make-advised-definition): Simplify.
3911 (ad-assemble-advised-definition): Tweak for new calling context.
3912 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3913 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3914 function and call ad-activate if needed.
3915 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3916 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3917 (ad-compile-function): Compile ad-Advice-*.
3918 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3919 (ad-start-advice, ad-stop-advice): Remove.
3921 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3923 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3924 period before class method names, not after. Remove handling of
3925 one impossible case. Add comments.
3927 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3929 * emacs-lisp/advice.el: Remove support for freezing.
3930 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3931 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3932 Remove support for `freeze'.
3934 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3935 override the default.
3936 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3938 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3941 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3943 (advice--strip-macro): New function.
3944 (advice--defalias-fset): Use them to handle macros.
3945 (advice-add): Use them.
3946 (advice-member-p): Correctly handle macros.
3948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3950 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3951 Never font-lock the beginning of singleton class as heredoc.
3953 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3957 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3959 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3960 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3961 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3963 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3965 Fix end-of-defun misbehavior.
3966 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3967 python-beginning-of-defun-function. Handle nested defuns
3969 (python-nav-end-of-defun): Rename from
3970 python-end-of-defun-function. Ensure forward movement.
3971 (python-info-current-defun): Reimplement to work as intended
3972 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3973 parent defuns as soon as possible.
3975 2012-11-13 Glenn Morris <rgm@gnu.org>
3977 * progmodes/flymake.el (flymake-error-bitmap)
3978 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3979 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3981 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3983 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3984 backward, always stop at indentation. Reverts the change from
3985 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3987 2012-11-13 Glenn Morris <rgm@gnu.org>
3989 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3990 Add ibuffer-filter-by-derived-mode.
3992 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3993 the same name shadowing each other.
3995 * window.el (with-temp-buffer-window): Doc tweak.
3997 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3999 * help.el (temp-buffer-max-height):
4000 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4001 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4003 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4005 * emacs-lisp/nadvice.el: New package.
4006 * subr.el (special-form-p): New function.
4007 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4008 (elp-all-instrumented-list): Remove var.
4009 (elp-not-profilable): Remove elp-wrapper.
4010 (elp-profilable-p): Use autoloadp and special-form-p.
4011 (elp--advice-name): New const.
4012 (elp-instrument-function): Use advice-add.
4013 (elp--instrumented-p): New predicate.
4014 (elp-restore-function): Use advice-remove.
4015 (elp-restore-all, elp-reset-all): Use mapatoms.
4016 (elp-set-master): Use elp--instrumented-p.
4017 (elp--make-wrapper): Rename from elp-wrapper, return a function
4018 suitable for advice-add. Use cl-inf.
4019 (elp-results): Use mapatoms+elp--instrumented-p.
4020 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4021 (debug-function-list): Remove var.
4022 (debug): Rename arg, and then let-bind it explicitly inside.
4023 (debugger-setup-buffer): Rename arg.
4024 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4025 (debugger-frame-number): Adjust to new debug-on-entry setup.
4026 (debug--implement-debug-on-entry): Rename from
4027 implement-debug-on-entry, add argument.
4028 (debugger-special-form-p): Remove, use special-form-p instead.
4029 (debug-on-entry): Use advice-add.
4030 (debug--function-list): New function.
4031 (cancel-debug-on-entry): Use it, along with advice-remove.
4032 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4033 (debugger-list-functions): Use debug--function-list instead of
4034 debug-function-list.
4035 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4036 (ad-special-form-p): Remove, use special-form-p instead.
4037 (ad-set-advice-info): Use add-function and remove-function.
4038 (ad--defalias-fset): Adjust accordingly.
4040 2012-11-10 Glenn Morris <rgm@gnu.org>
4042 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4043 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4044 (report-emacs-bug-create-existing-bugs-buffer)
4045 (report-emacs-bug-parse-query-results)
4046 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4048 * term.el (term-default-fg-color, term-default-bg-color):
4049 Make obsolete, rather than just saying "deprecated" in the doc.
4051 * term.el (term): Rename from `term-face'.
4052 (term-current-face, ansi-term-color-vector)
4053 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4056 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4058 * server.el (server-create-window-system-frame): Handle Nextstep
4059 specially (Bug#12780).
4061 2012-11-10 Glenn Morris <rgm@gnu.org>
4063 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4064 Unautoload, and make obsolete. (Bug#7449)
4066 2012-11-10 Chong Yidong <cyd@gnu.org>
4068 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4069 rename from diff-remove-trailing-whitespace (Bug#12831).
4071 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4073 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4074 miscompilation of trace.el.
4076 2012-11-10 Glenn Morris <rgm@gnu.org>
4078 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4080 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4085 2012-11-10 Chong Yidong <cyd@gnu.org>
4087 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4088 a defcustom with an appropriate :set function.
4089 (minibuffer-default--in-prompt-regexps): New function.
4091 2012-11-10 Glenn Morris <rgm@gnu.org>
4093 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4094 (define-modify-macro): Doc fixes.
4096 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4097 (gv-define-simple-setter): Update doc of `fix-return'.
4099 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4102 twice when `fix-return' is set (bug#12813).
4104 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4105 gv-define-simple-setter (bug#12812).
4107 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4110 2012-11-10 Glenn Morris <rgm@gnu.org>
4112 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4114 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4115 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4116 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4117 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4119 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4121 2012-11-10 Leo Liu <sdl.web@gmail.com>
4123 * ido.el (ido-set-matches-1): Improve flex matching performance by
4124 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4126 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4128 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4129 (ad--defalias-fset): New function.
4130 (ad-safe-fset): Remove.
4131 (ad-make-freeze-definition): Use cl-letf*.
4133 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4135 * subr.el (dolist): Don't bind VAR in RESULT.
4137 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4138 (fset, documentation): Don't save real def since we don't advise.
4139 (ad-do-advised-functions): Remove problematic `result-form'.
4140 (ad-safe-fset): `ad-real-fset' => `fset'.
4141 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4142 uses CL's dolist internally.
4143 (ad-arglist): Remove unused arg `name'.
4144 (ad-docstring, ad-make-advised-docstring):
4145 `ad-real-documentation' => `documentation'.
4146 (warning-suppress-types): Declare.
4147 (ad-set-arguments): Simple CSE.
4148 (ad-recover-normality): Sanity check.
4150 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4151 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4153 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4155 * ses.el: symbol to coordinate mapping is made by symbol property
4156 `ses-cell'. This means that the same mapping is done for all SES
4157 sheets. That is good enough for cells with standard A1 names, but
4158 not for named cell. So a hash map is added for the latter.
4159 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4160 (ses-sym-rowcol): Use hashmap for named cell.
4161 (ses-is-cell-sym-p): New defun.
4162 (ses-decode-cell-symbol): New defun.
4163 (ses-create-cell-variable): Add cell to hashmap when name is not
4165 (ses-rename-cell): Check that cell new name is not already in
4166 spreadsheet with the use of ses-is-cell-sym-p
4167 (ses-rename-cell): Use hash map for named cells, but accept also
4168 renaming back to A1-like.
4170 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * emacs-lisp/advice.el: Use new dynamic docstrings.
4173 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4174 Use dynamic-docstring-function instead of ad-advice-info.
4175 (ad--make-advised-docstring): New function extracted from
4176 ad-make-advised-docstring.
4177 (ad-make-advised-docstring): Use it.
4178 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4180 (sql-help): Use it with dynamic-docstring-function.
4182 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4184 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * files.el (hack-one-local-variable--obsolete): New function.
4187 (hack-one-local-variable): Use it for obsolete settings.
4189 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4192 * progmodes/js.el (js--filling-paragraph): New var.
4193 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4194 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4197 2012-11-08 Julien Danjou <julien@danjou.info>
4199 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4200 `auto-mode-alist' (Bug#12835).
4202 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4204 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4205 (perl--prettify-symbols-alist): New const.
4206 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4208 (perl-font-lock-keywords-2): Use them.
4209 (perl-electric-noindent-p): New function.
4210 (perl-mode): Use it to set up electric-indent-mode.
4211 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4212 (perl-mode-map): Remove bindings for them.
4213 (perl-imenu-generic-expression, perl-outline-level):
4214 Match functions&packages in column>0.
4216 * env.el (env--substitute-vars-regexp): New const.
4217 (substitute-env-vars): Use it. Add `only-defined' arg.
4218 * net/tramp.el (tramp-replace-environment-variables): Use it.
4220 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4221 Byte-compile *before* eval in eval-and-compile.
4222 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4223 (byte-compile-file-form-autoload): Don't hide actual definition.
4224 (byte-compile-maybe-guarded): Accept `functionp' as well.
4226 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4228 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4230 * notifications.el (notifications-get-server-information-method):
4232 (notifications-get-capabilities): Fix docstring.
4233 (notifications-get-server-information): New defun.
4235 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4237 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4240 * textmodes/ispell.el: Experimental support for support debugging.
4241 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4243 (ispell-print-if-debug): New function to print stuff to
4244 `ispell-debug-buffer' if debugging is enabled.
4245 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4246 show some debugging info.
4247 (ispell-buffer-with-debug): New function that creates a debugging
4248 buffer and calls `ispell-buffer' with debugging enabled.
4250 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4251 comment in autoconf mode. (Bug#12768)
4253 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4255 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4256 frame-first-window, frame-root-window, frame-selected-window,
4257 minibuffer-selected-window, minibuffer-window,
4258 window-absolute-pixel-edges, window-at, window-body-height,
4259 window-body-width, window-display-table, window-combination-limit,
4260 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4261 window-inside-edges, window-inside-pixel-edges, window-left-child,
4262 window-left-column, window-margins, window-next-buffers,
4263 window-next-sibling, window-new-normal, window-new-total,
4264 window-normal-size, window-parameter, window-parameters, window-parent,
4265 window-pixel-edges, window-point, window-prev-buffers,
4266 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4267 window-start, window-text-height, window-top-child, window-top-line,
4268 window-total-height, window-total-width and window-use-time to the list
4269 of functions without side-effects.
4270 (toplevel): Add window-valid-p to the list of error-free functions
4271 without side-effects.
4273 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4275 * textmodes/ispell.el (ispell-program-name):
4276 Update spellchecker parameters when customized.
4278 2012-11-04 Glenn Morris <rgm@gnu.org>
4280 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4282 2012-11-04 Chong Yidong <cyd@gnu.org>
4284 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4285 same-window-* variables.
4287 2012-11-04 Juri Linkov <juri@jurta.org>
4289 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4290 (isearch-describe-key, isearch-describe-mode): Use a display
4291 action instead of binding same-window-* variables (Bug#10040).
4293 2012-11-03 Glenn Morris <rgm@gnu.org>
4295 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4296 Rename handler properties back from cl-- to cl-. (Bug#12788)
4298 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4300 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4302 * term/pc-win.el: Don't load term/internal from here.
4304 * loadup.el: Load term/internal from here.
4306 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4308 * progmodes/python.el (inferior-python-mode): Fix hang in
4309 jit-lock (Bug#12645).
4311 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4313 * window.el (switch-to-visible-buffer)
4314 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4316 2012-11-03 Glenn Morris <rgm@gnu.org>
4318 * emacs-lisp/cl-lib.el (cl--random-time):
4319 Rename from cl-random-time. (Bug#12773)
4320 (cl--gensym-counter, cl--random-state): Update callers.
4321 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4323 2012-11-03 Chong Yidong <cyd@gnu.org>
4325 * cus-start.el: Make cursor-type customizable (Bug#11633).
4327 2012-11-02 Glenn Morris <rgm@gnu.org>
4329 * filecache.el: No need to load find-lisp when compiling.
4330 (find-lisp-find-files): Autoload it.
4331 (file-cache-add-directory-recursively): Don't require find-lisp.
4333 * image.el (image-type-from-file-name): Trivial simplification.
4335 * emacs-lisp/bytecomp.el (byte-compile-eval):
4336 Decouple "noruntime" and "cl-functions" warnings.
4338 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4340 * play/gomoku.el (gomoku-display-statistics): Update mode line
4341 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4343 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4345 * window.el (quit-restore-window): If the window has been
4346 created on an existing frame and ended up as the sole window on
4347 that frame, do not delete it (Bug#12764).
4349 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4352 Rename from sh--inside-arithmetic-expression, handle more cases
4355 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4356 (sh-font-lock-open-heredoc): Use it (bug#12770).
4358 2012-10-30 Glenn Morris <rgm@gnu.org>
4360 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4362 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4364 2012-10-29 Chong Yidong <cyd@gnu.org>
4366 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4367 function key is stored in a keyboard macro (Bug#4894).
4369 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4371 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4375 (diff-unified->context, diff-context->unified)
4376 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4378 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4380 * files.el (find-alternate-file): Only ask one question (bug#12487).
4382 2012-10-29 Chong Yidong <cyd@gnu.org>
4384 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4385 Suggested by Dan Nicolaescu (Bug#6326).
4387 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4389 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4391 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4393 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4395 * face-remap.el (face-remap-add-relative): Handle the case where a
4396 face-remapping-alist entry is a cons cell (Bug#12762).
4398 2012-10-29 Kevin Ryde <user42@zip.com.au>
4400 * woman.el (woman-parse-numeric-value): Handle picas correctly
4403 2012-10-29 Glenn Morris <rgm@gnu.org>
4405 * emacs-lisp/cl.el (defsetf): Doc fix.
4407 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4410 syntax to the matching opener, if any (bug#12547).
4411 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4412 matching open as a "case-(".
4413 (sh-smie-rc-grammar): Add a corresponding rule for it.
4415 2012-10-28 Daniel Hackney <dan@haxney.org>
4417 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4418 "PKGNAME-autoloads.el" in case we created it.
4420 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4423 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4424 (completion--twq-all): Disable too-strict assertions.
4426 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4428 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4430 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4431 text to match the real keybindings.
4433 2012-10-27 Juri Linkov <juri@jurta.org>
4435 * wdired.el (wdired-keep-marker-rename): New defcustom.
4436 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4439 * dired.el (dired-keep-marker-rename): Add reference to
4440 `wdired-keep-marker-rename' in the docstring.
4441 Add default character value ?R to display initially in
4442 Customization UI instead of ?@.
4444 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4446 * window.el (display-buffer): In doc-string describe
4447 window-height and window-width alist entries.
4449 * time.el (display-time-world): Restore fit-window-to-buffer
4452 2012-10-27 Chong Yidong <cyd@gnu.org>
4454 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4456 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4458 * minibuffer.el (completion-category-overrides): New completion
4459 category `bookmark' (bug#11131).
4461 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4464 Silence bogus compiler warnings for ad-do-it.
4466 * bookmark.el (bookmark-completing-read): Set the completion category
4467 to `bookmark' (bug#11131).
4469 2012-10-26 Bastien <bzg@altern.org>
4470 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * face-remap.el: Use lexical-binding.
4473 (text-scale-adjust): Improve docstring. Use itself for the temporary
4474 overlay-map bindings, so as to repeat the "Use..." message each time.
4476 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * emacs-lisp/macroexp.el (macroexp--expand-all):
4479 Obey byte-compile-warning-enabled-p (bug#12486).
4481 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4482 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4484 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4486 * mouse.el (mouse-drag-line): Move last form into preceding when
4489 * help.el (resize-temp-buffer-window): Fix doc-string.
4491 2012-10-25 David Engster <deng@randomsample.de>
4493 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4494 Remove. This feature is already integrated in imenu.
4496 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4497 always loaded. Require `speedbar' unconditionally.
4499 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4503 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4505 * net/ldap.el (ldap-search-internal): The official ldif format starts
4506 with a "version: 1" header (bug#12724).
4508 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4511 2012-10-25 Glenn Morris <rgm@gnu.org>
4513 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4515 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4517 * minibuffer.el (minibuffer-force-complete): Use one more marker
4518 for the temporary-overlay-map command (bug#12619).
4520 2012-10-24 Chong Yidong <cyd@gnu.org>
4522 * time.el (display-time-world-mode): Derive from special-mode.
4523 (display-time-world): Use display-buffer (Bug#12708).
4524 (display-time-world-mode-map): Variable deleted.
4525 (display-time-world-display): Wrap the final delete-char inside
4528 2012-10-24 Chong Yidong <cyd@gnu.org>
4530 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4533 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4535 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4537 * minibuffer.el (completion--all-sorted-completions-location): New var.
4538 (completion--cache-all-sorted-completions)
4539 (completion--flush-all-sorted-completions): Use it.
4540 (completion-in-region, completion-in-region--postch)
4541 (completion-at-point, completion-help-at-point): Use markers in
4542 completion-in-region--data (bug#12619).
4544 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * progmodes/compile.el (compilation-start): Try to handle common
4547 quoting of `cd' argument (bug#12640).
4549 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4552 2012-10-23 Glenn Morris <rgm@gnu.org>
4554 * progmodes/gud.el (gud-menu-map):
4555 Check gdb-active-process is bound. (Bug#12358)
4557 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * repeat.el (repeat): Set real-this-command (bug#12232).
4561 * htmlfontify.el (hfy-post-html-hook):
4562 * filesets.el (filesets-cache-fill-content-hook):
4563 * arc-mode.el (archive-extract-hook):
4564 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4565 * net/rcirc.el (rcirc-sentinel-functions)
4566 (rcirc-receive-message-functions, rcirc-activity-functions)
4567 (rcirc-print-functions):
4568 * net/dbus.el (dbus-event-error-functions):
4569 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4570 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4571 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4572 * term/sun.el (sun-raw-prefix-hooks):
4573 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4575 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4577 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4578 Set `tramp-chunksize' to 1. This improves the performance.
4579 (tramp-smb-wait-for-output): Add timeout to
4580 `tramp-accept-process-output' calls.
4582 2012-10-23 Chong Yidong <cyd@gnu.org>
4584 * faces.el (font-list-limit): Define as an obsolete variable.
4586 * startup.el (command-line):
4587 * cus-start.el: Don't refer to font-list-limit.
4589 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4591 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * subr.el (internal-temp-output-buffer-show): Rename from
4594 temp-output-buffer-show, since previously compiled files expect this name.
4596 2012-10-23 Glenn Morris <rgm@gnu.org>
4598 * image.el (image-type-from-file-name): If multiple types match,
4599 return the first one that is supported. (Bug#9045)
4601 2012-10-22 Glenn Morris <rgm@gnu.org>
4603 * image.el (imagemagick-enabled-types): Doc fix.
4605 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4607 * progmodes/which-func.el (which-func-current): The hash-table may have
4608 an explicit nil (bug#12338).
4610 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * electric.el (electric-pair-delete-selection-self-insert-function):
4613 Rename to electric-pair-will-use-region, return a boolean.
4614 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4616 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4617 (delete-selection-pre-hook): Use use-region-p.
4618 (delete-selection-self-insert-function): Remove.
4619 (self-insert-command): Obey self-insert-uses-region-functions.
4620 (self-insert-iso): Revert to previous setting, since we don't actually
4621 know what that command does.
4622 (delete-selection-self-insert-hooks): Remove.
4624 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4626 * delsel.el (delete-selection-helper): New function, extracted from
4627 delete-selection-pre-hook.
4628 (delete-selection-pre-hook): Use it.
4629 (delete-selection-self-insert-function): New function.
4630 (delete-selection-self-insert-hooks): New hook.
4631 (self-insert-command, self-insert-iso): Use it.
4632 * electric.el (electric-pair-syntax): New function, extracted from
4633 electric-pair-post-self-insert-function.
4634 (electric-pair-post-self-insert-function): Use it.
4635 (electric-pair-delete-selection-self-insert-function): New function.
4636 (electric-pair-mode): Require delsel and setup
4637 delete-selection-self-insert-hooks (bug#11520).
4639 2012-10-20 Chong Yidong <cyd@gnu.org>
4641 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4642 no changes to show (Bug#12586).
4644 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4645 list explicitly (Bug#12571).
4647 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4649 * progmodes/flymake.el (flymake-create-temp-inplace):
4652 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4654 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4656 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4658 * calc/calc-units.el (math-extract-units): Properly extract powers
4661 2012-10-20 Daniel Colascione <dancol@dancol.org>
4663 * frame.el (make-frame): Set x-display-name as we used to in order
4664 to unbreak creating an X11 frame from an Emacs daemon started
4667 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4670 the same completion-field (bug#12221).
4672 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4674 * emacs-lisp/debug.el (debug): Record height of debugger window
4675 also when debugger will be back (Bug#8789).
4677 2012-10-18 Chong Yidong <cyd@gnu.org>
4679 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4680 Convert to defcustom.
4681 (gdb-get-source-file): Don't bind pop-up-windows.
4683 * progmodes/gud.el (gud-display-line): Don't specially re-use
4684 other frames for the gdb-mi case (Bug#12648).
4686 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * emacs-lisp/advice.el: Clean up commentary a bit.
4689 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4690 (byte-code-function-p): Never redefine.
4692 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4694 2012-10-18 Glenn Morris <rgm@gnu.org>
4696 * dired.el (dired-sort-toggle): Some ls implementations only allow
4697 a single option string. (Bug#12666)
4699 * minibuffer.el (completion-cycle-threshold): Doc fix.
4701 2012-10-17 Kenichi Handa <handa@gnu.org>
4703 * international/mule.el (set-keyboard-coding-system):
4704 Recover input meta mode when the new coding system doesn not use 8-bit.
4705 Supply TERMINAL arg to set-input-meta-mode.
4707 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4709 * wdired.el (wdired-old-marks): New variable.
4710 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4711 (wdired-do-renames): Move point with renamed file and don't lose
4712 mark status (Bug#11795).
4714 2012-10-16 Juri Linkov <juri@jurta.org>
4716 * replace.el (query-replace-help): Mention multi-buffer replacement
4717 keys in the Help message. (Bug#12655)
4719 2012-10-15 Chong Yidong <cyd@gnu.org>
4721 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4723 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4725 * window.el (display-buffer): Doc fix.
4727 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4728 Adjust the msft regexp to the output of Studio 2010, and move msft
4729 before edg-1. See the discussion on emacs-devel,
4730 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4733 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4735 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4736 (oset): Move uses of object-class-fast macro after its definition.
4738 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4740 2012-10-13 Chong Yidong <cyd@gnu.org>
4742 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4743 enabled, re-enable it (Bug#11963).
4745 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4747 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4748 non-nil, restore window configuration (Bug#12623).
4750 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * help-fns.el (describe-variable, describe-function-1):
4753 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4755 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4757 2012-10-12 Glenn Morris <rgm@gnu.org>
4759 * mail/rmailsum.el (rmail-header-summary):
4760 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4762 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4764 * progmodes/python.el (python-mode-map):
4765 Replace subtitute-key-definition with proper command remapping.
4766 (python-nav--up-list): Fix behavior for blocks on the same level.
4768 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4772 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4773 changes to the format of load-history.
4775 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4776 completion-ignore-case in case that var is buffer-local (bug#12615).
4778 2012-10-11 Kenichi Handa <handa@gnu.org>
4780 * international/eucjp-ms.el: Re-generated.
4782 2012-10-10 Kenichi Handa <handa@gnu.org>
4784 * select.el (xselect--encode-string): If a coding is specified for
4785 selection, and that is compatible with COMPOUND_TEXT, use it.
4787 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4789 * window.el (switch-to-buffer-preserve-window-point): New option.
4791 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4793 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4796 Don't document nil as a useful value (bug#12583).
4798 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4800 * net/tramp.el (tramp-debug-message):
4801 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4802 (with-tramp-progress-reporter): Rename from
4803 `tramp-with-progress-reporter'.
4804 (with-tramp-file-property, with-tramp-connection-property):
4805 Move from tramp-cache.el, rename from `with-file-property' and
4806 `with-connection-property', respectively.
4808 * net/tramp-cache.el: Remove `with-file-property' and
4809 `with-connection-property'.
4812 * net/tramp-gvfs.el:
4814 * net/tramp-smb.el: Adapt callees.
4816 * net/trampver.el: Update release number.
4818 2012-10-09 Glenn Morris <rgm@gnu.org>
4820 * w32-fns.el (set-message-beep):
4821 * term/w32-win.el (set-message-beep): Update declarations.
4823 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4826 (mode-line-widen, mode-line-input-method-map)
4827 (mode-line-coding-system-map, mode-line-remote)
4828 (mode-line-unbury-buffer, mode-line-bury-buffer)
4829 (mode-line-next-buffer, mode-line-previous-buffer):
4830 Replace save-selected-window+select-window => with-selected-window.
4832 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4833 * progmodes/cc-vars.el (bq-process): Remove, unused.
4835 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4837 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4839 Implemented `backward-up-list'-like navigation.
4840 * progmodes/python.el (python-nav-up-list)
4841 (python-nav-backward-up-list): New functions.
4842 (python-mode-map): Define substitute key for backward-up-list to
4843 python-nav-backward-up-list.
4845 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4847 * progmodes/python.el (python-fill-paragraph): Rename from
4848 python-fill-paragraph-function. Fixed fill-paragraph for
4849 decorators (Bug#12605).
4851 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4853 * progmodes/python.el (python-shell-output-filter): Handle extra
4854 carriage return in OSX (Bug#12409).
4856 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4858 Fix shell handling of unbalanced quotes and parens in output.
4859 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4860 (python-syntax-propertize-function): Use it.
4861 (python-shell-output-syntax-table): New var.
4862 (inferior-python-mode): Prevent unbalanced parens/quotes from
4863 previous output mess with current input context.
4865 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4867 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4868 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4870 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4872 * ffap.el (ffap-replace-file-component): Support Tramp file name
4873 syntax, not only ange-ftp's one.
4875 2012-10-08 Glenn Morris <rgm@gnu.org>
4877 * cus-start.el (message-log-max): Set :version.
4879 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4881 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4883 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4884 the minibuffer window (Bug#10851).
4886 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4888 Enhancements on forward-sexp movement.
4889 * progmodes/python.el (python-nav-beginning-of-statement)
4890 (python-nav-end-of-statement): Return point-marker.
4891 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4892 (python-info-current-symbol)
4893 (python-info-statement-starts-block-p): Rename from
4894 python-info-beginning-of-block-p.
4895 (python-info-statement-ends-block-p): Rename from
4896 python-info-end-of-block-p.
4897 (python-info-beginning-of-statement-p)
4898 (python-info-end-of-statement-p)
4899 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4902 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4904 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4905 frame-selected-windows.
4907 2012-10-08 Daniel Colascione <dancol@dancol.org>
4909 * battery.el (battery-status-function): Check for
4910 w32-battery-status itself, not system-time windows-nt.
4912 * frame.el: Require cl-lib.
4913 (display-format-alist): New variable mapping frame types to
4914 functions that initialize them.
4915 (window-system-for-display): New function: interprets
4916 display-format-alist.
4917 (make-frame-on-display): Remove existing display-selection logic
4918 and just forward to make-frame, which will now DTRT.
4919 (make-frame): Restructure to use window-system-for-display to
4920 figure out how to create a frame on a given display.
4921 (display-mouse-p): Look for frame-type w32, not a particular
4924 * loadup.el: Load w32 lisp code when we have the w32 feature.
4926 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4927 system-type windows-nt.
4929 * server.el (server-create-window-system-frame): Look for window
4931 (server-proces-filter): Only force a window system when windows-nt
4932 _and_ w32. Explain why.
4934 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4935 of window systems we configure for the mode.
4937 * startup.el (command-line): Mark window system is initialized
4938 after we've done it.
4940 * common-win.el (x-select-text): Look for w32, not windows-nt.
4942 * ns-win.el: Require cl-lib. Add ourselves to
4943 display-format-alist.
4944 (ns-initialize-window-system): Assert we're not initialized twice.
4946 * w32-win.el: Enable lexical binding; require cl-lib; add
4947 ourselves to display-format-alist.
4948 (w32-handle-dropped-file): Convert incoming dropped files from
4949 Windows paths to Cygwin ones before passing them on to the rest of
4951 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4952 (w32-initialize-window-system): Assert we're not initialized twice.
4954 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4955 (x-initialize-window-system): Assert we're not initialized twice.
4957 * w32-common-fns.el: New File.
4958 (w32-version, w32-using-nt, w32-get-clipboard-data)
4959 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4960 (w32-charset-info-alist, x-last-selected, text)
4961 (x-get-selection-value, x-selection-value): Move here.
4963 * w32-fns.el: Require w32-common-fns.
4964 (w32-version, w32-using-nt, w32-get-clipboard-data)
4965 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4966 (w32-charset-info-alist, x-last-selected, text)
4967 (x-get-selection-value, x-selection-value): Move to
4971 (w32-allow-system-shell, w32-system-shells): Define only in
4974 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4976 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4977 (read-passwd): Remove a few more potential sources of leaks.
4979 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4981 * progmodes/python.el (inferior-python-mode)
4982 (python-shell-make-comint): Fix initialization of local
4983 variables copied from parent buffer.
4985 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4987 * term/ns-win.el (ns-read-file-name): Update declaration to match
4989 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4990 it is set when font is acted upon.
4992 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4994 Enhancements to indentation.
4995 * progmodes/python.el (python-indent-context): Give priority to
4996 inside-string context. Make comments indentation markers.
4997 (python-indent-region): Do not mess with strings, unless it's the
4998 enclosing set of quotes.
5000 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * window.el (internal--before-save-selected-window)
5003 (internal--after-save-selected-window): New functions extracted from
5004 save-selected-window. Make sure we return the `alist' we construct.
5005 (save-selected-window): Use them.
5007 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5008 Use with-selected-window.
5010 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5011 forms that define macros (bug#12593).
5013 2012-10-07 Kenichi Handa <handa@gnu.org>
5015 * international/mule-conf.el (compound-text-with-extensions):
5016 Add :mime-charset property as x-ctext.
5018 2012-10-07 Stefan Merten <smerten@oekonux.de>
5020 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5021 (rst-indent-literal-normal, rst-indent-literal-minimized)
5022 (rst-indent-comment): Correct :version tag.
5023 (rst-official-cvs-rev): Correct version string.
5025 2012-10-07 Glenn Morris <rgm@gnu.org>
5027 * mail/rmailmm.el (rmail-mime-process-multipart):
5028 Do not confuse a multipart message with an epilogue
5029 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5031 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5033 Fix shell output retrieval and comint-prompt-regexp init.
5034 * progmodes/python.el (inferior-python-mode):
5035 (python-shell-make-comint): Fix initialization of
5036 comint-prompt-regexp from copied file local variables.
5037 (python-shell-fetched-lines): Remove var.
5038 (python-shell-output-filter-in-progress): Rename from
5039 python-shell-fetch-lines-in-progress.
5040 (python-shell-output-filter-buffer): Rename from
5041 python-shell-fetch-lines-string.
5042 (python-shell-fetch-lines-filter): Delete function.
5043 (python-shell-output-filter): New function.
5044 (python-shell-send-string-no-output): Use them.
5046 2012-10-07 Glenn Morris <rgm@gnu.org>
5048 * hi-lock.el (hi-lock-process-phrase):
5049 Try to make it less fragile. (Bug#7161)
5051 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5053 2012-10-06 Glenn Morris <rgm@gnu.org>
5055 * ehelp.el (electric-help-mode): Use help-mode rather than
5056 non-existent mode `help'.
5057 (electric-help-map): Use button-buffer-map. (Bug#10917)
5059 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5060 (reftex-create-bibtex-footer): Fix custom types.
5062 * progmodes/sh-script.el (sh-indent-after-continuation):
5063 Add explicit :group.
5065 * textmodes/rst.el (rst-preferred-decorations)
5066 (rst-shift-basic-offset): Clarify obsolescence versions.
5068 * profiler.el (profiler): Add missing group :version tag.
5069 * avoid.el (mouse-avoidance-banish-position):
5070 * proced.el (proced-renice-command):
5071 * calc/calc.el (calc-ensure-consistent-units):
5072 * calendar/icalendar.el (icalendar-import-format-uid):
5073 * net/tramp.el (tramp-save-ad-hoc-proxies):
5074 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5075 * progmodes/flymake.el (flymake-error-bitmap)
5076 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5077 * progmodes/sh-script.el (sh-indent-after-continuation):
5078 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5079 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5080 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5081 (vhdl-array-index-record-field-in-sensitivity-list)
5082 (vhdl-indent-comment-like-next-code-line):
5083 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5084 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5085 (reftex-cite-key-separator, reftex-create-bibtex-header)
5086 (reftex-create-bibtex-footer):
5087 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5088 (rst-indent-literal-normal, rst-indent-literal-minimized)
5089 (rst-indent-comment): Add missing custom :version tags.
5091 * calendar/timeclock.el (timeclock-modeline-display):
5092 Add missing obsolete alias for renamed user option.
5094 * strokes.el (strokes-modeline-string):
5095 * emulation/crisp.el (crisp-mode-modeline-string):
5096 * eshell/esh-mode.el (eshell-status-in-modeline):
5097 Aliases to defcustoms must come before the defcustom.
5099 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5100 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5101 (cal-tex-cursor-week-monday): Doc fixes.
5102 (cal-tex-cursor-week2-summary): Doc fix.
5103 Rename from cal-tex-cursor-week-at-a-glance.
5105 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5106 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5108 * calendar/calendar.el (calendar-mode-map):
5109 Add cal-tex-cursor-week2-summary.
5111 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5115 * subr.el (read-passwd-map): New var.
5116 (read-passwd): Use `read-string' again.
5117 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5119 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5121 * register.el (append-to-register, prepend-to-register):
5122 Deactivate mark, as does `copy-to-register' (bug#12389).
5124 2012-10-06 Chong Yidong <cyd@gnu.org>
5126 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5128 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5130 * international/characters.el: Fix simple mistake ((car chars) ->
5131 elt), delete duplicated code.
5133 2012-10-06 Glenn Morris <rgm@gnu.org>
5135 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5137 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5139 * color.el (color-hsl-to-rgb): Fix incorrect results for
5140 small and large hue values. (Bug#12559)
5142 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5144 Enhancements to docstring formatting when filling paragraphs.
5145 * progmodes/python.el (python-fill-docstring-style): Rename from
5146 python-fill-string-style. Added new style.
5147 (python-fill-string): Use new style. Better checks for
5150 2012-10-05 Glenn Morris <rgm@gnu.org>
5152 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5154 * color.el (color-name-to-rgb, color-rgb-to-hex)
5155 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5156 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5157 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5158 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5160 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5162 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5164 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5165 to get the correct size across symlinks.
5167 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5169 2012-10-04 Juri Linkov <juri@jurta.org>
5171 * replace.el (query-replace-interactive): Declare obsolete.
5172 (query-replace-read-from): Add the last incremental search string
5173 to the list of default values accessible via M-n.
5174 (map-query-replace-regexp): Use `read-regexp'.
5175 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5176 (map-query-replace-regexp, replace-string, replace-regexp):
5177 Fix docstrings to replace mentions of `query-replace-interactive'
5178 with alternatives. (Bug#12526)
5180 2012-10-04 Juri Linkov <juri@jurta.org>
5182 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5183 (dired-pop-to-buffer): Declare obsolete.
5184 (dired-mark-pop-up): Doc fix.
5186 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5188 Allow user to set docstring style for fill-paragraph.
5189 * progmodes/python.el
5190 (python-fill-comment-function, python-fill-string-function)
5191 (python-fill-decorator-function, python-fill-paren-function):
5192 Remove :safe for defcustoms.
5193 (python-fill-string-style): New defcustom
5194 (python-fill-paragraph-function): Enhance context detection.
5195 (python-fill-string): Honor python-fill-string-style settings.
5197 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5199 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5200 after setting its buffer (Bug#10805).
5202 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5204 Fix cornercase for string syntax.
5205 * progmodes/python.el (python-syntax-propertize-function):
5206 Simplify and enhance the regexp for unescaped quotes. Now it also
5207 matches quotes in weird situations like the single quote in
5209 (python-syntax-stringify): Simplify num-quotes detecting code.
5211 2012-10-03 Glenn Morris <rgm@gnu.org>
5213 * help-macro.el (three-step-help):
5214 Revert 2012-09-29 change. (Bug#12567)
5216 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5218 * menu-bar.el (kill-this-buffer): Don't do anything when
5219 `menu-frame' is not alive or visible (Bug#8184).
5221 * emacs-lisp/debug.el (debug): When quitting the debugger window
5222 restore current buffer (Bug#12502).
5224 2012-10-02 Chong Yidong <cyd@gnu.org>
5226 * progmodes/hideif.el (hif-lookup, hif-defined):
5227 Handle semantic-c-takeover-hideif.
5229 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5231 Change sampling interval units from ms to ns.
5232 * profiler.el (profiler-sampling-interval): Change units
5233 from ms to ns, multiplying the default by 1000000 so that
5235 (profiler-report-cpu-line-format): Give enough room for
5236 the maximum counters on 64-bit hosts.
5237 (profiler-report-render-calltree-1): Call them "CPU samples",
5238 not "Time (ms)", since they are not milliseconds now (and
5241 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5243 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5244 Fix querying BBDB for entries without a last name (Bug#11580).
5246 2012-10-02 Chong Yidong <cyd@gnu.org>
5248 * emacs-lisp/eieio.el: Restore Version header.
5250 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * vc/diff-mode.el (diff--auto-refine-data): New var.
5253 (diff-hunk): Use it to delay refinement.
5254 (diff-mode): Remove overlays when we turn off font-lock.
5256 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5257 (table-initialize-table-fixed-width-mode)
5258 (table-set-table-fixed-width-mode): Remove functions.
5259 (table-command-list): Move initialization into declaration.
5260 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5261 (table-with-cache-buffer): Use `declare'.
5262 (table-span-cell): Simplify via CSE.
5263 (table-fixed-width-mode): Use define-minor-mode.
5264 (table-call-interactively, table-funcall, table-apply): Remove.
5265 (table-function): New function, to replace them.
5267 * bookmark.el (bookmark-search-pattern): Remove var.
5268 (bookmark-read-search-input): Remove function.
5269 (bookmark-bmenu-search): Reimplement using a minibuffer.
5271 * faces.el (modeline): Remove obsolete face name.
5273 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5274 and give a non-nil default value.
5275 (add-change-log-entry): Simplify accordingly.
5277 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5279 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5280 (vc-git-log-edit-toggle-amend): New function.
5281 (vc-git-log-edit-toggle-signoff): New function.
5282 (vc-git-log-edit-mode): New major mode.
5283 (vc-git-log-edit-mode-map): Keymap for it.
5284 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5286 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5288 (log-edit-toggle-header): New function.
5289 (log-edit-extract-headers): Accept function values in HEADERS alist.
5291 2012-10-01 David Engster <deng@randomsample.de>
5293 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5294 from symbol property and change message to be more consistent with
5296 (eieio-describe-generic): Add filename for each implementation.
5297 Fix indices for generic and normal methods.
5298 (eieio-method-def, eieio-class-def): New buttons.
5299 (eieio-help-find-method-definition)
5300 (eieio-help-find-class-definition): New functions.
5301 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5302 class, constructor and method definitions.
5304 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5305 information in symbol property.
5306 (scoped-class): Remove.
5307 (eieio-slot-name-index, call-next-method): Check if it is bound.
5309 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5311 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5312 (eieio-custom-mode): New major mode.
5313 (eieio-customize-object): Use it.
5315 2012-10-01 Eric Ludlam <zappo@gnu.org>
5317 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5318 specifying the expected class, and whether subclassing is allowed.
5319 (eieio-persistent-convert-list-to-object):
5320 (eieio-persistent-validate/fix-slot-value)
5321 (eieio-persistent-slot-type-is-class-p): New functions.
5322 (eieio-named::slot-missing): Doc fix.
5324 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5325 Stop using unused publd variable.
5327 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5328 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5329 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5330 (eieio-speedbar-handle-click): Do not specify a class for the
5331 method. Fixes method invocation order problems with EDE.
5333 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5335 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5336 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5338 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5340 * bookmark.el (bookmark-version-control): Give tags in the
5341 :type choices (Bug#12309), and improve doc string.
5342 (bookmark-write-file): Bind `print-circle' to `t' to allow
5343 circular custom bookmark types. (Bug#12503)
5345 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5347 Revert the FOLLOW-SYMLINKS change for file-attributes.
5348 * files.el (remote-file-name-inhibit-cache, after-find-file):
5349 * time.el (display-time-file-nonempty-p): Undo last change.
5351 * profiler.el (profiler-sampling-interval): Change default back to 1.
5352 See Stefan Monnier in
5353 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5355 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5357 Shell output catching a la gud-gdb.
5358 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5359 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5361 (python-shell-fetch-lines-filter): New function.
5362 (python-shell-send-string-no-output): Use them.
5364 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5366 * profiler.el (profiler-sampling-interval): Rename from
5367 profiler-sample-interval.
5368 (profiler-sampling-interval): Default to 10.
5369 (profiler-find-profile): New command (was profiler-find-log).
5370 (profiler-find-profile-other-window): New command.
5371 (profiler-find-profile-other-frame): New command.
5372 (profiler-profile): Introduce API-level data structure.
5374 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5376 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5377 * files.el (remote-file-name-inhibit-cache):
5378 * time.el (display-time-file-nonempty-p): Use it.
5379 * files.el (after-find-file): Don't chase links before calling
5380 file-exists-p, as file-exists-p already does the right thing.
5382 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5384 Merge from standalone RefTeX repository.
5386 The following ChangeLog entries are shortened versions of the
5387 original ones with file paths adapted. A not so strongly edited
5388 version of the original ChangeLog can be found in the commit log.
5390 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5391 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5392 Correctly handle new value type returned by `reftex-citation'.
5394 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5395 that entries with whitespace at various places are found.
5396 Doc fix. Include entries that are cross-referenced from cited entries.
5397 Include @String definitions in the resulting bib file. Add header
5398 and footer defined in `reftex-create-bibtex-header' and
5399 `reftex-create-bibtex-footer'.
5400 (reftex-do-citation): Make it possible again to insert
5401 non-existent entries. Save match data when asking for optional
5402 arguments. Return all keys, not just the first one.
5403 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5404 all citations in the same line.
5405 (reftex-parse-bibtex-entry): Accept additional optional argument
5406 `raw' and keep quotes or braces if it is non-nil. Match fields
5407 containing hyphens besides word constituents.
5408 (reftex-get-string-refs): New function.
5409 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5410 and ask if it should be reread in case it did.
5411 (reftex-pop-to-bibtex-entry)
5412 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5413 entries with spaces or tabs in front of arguments.
5414 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5415 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5416 Match entries containing numbers and symbol constituents.
5417 (reftex-do-citation, reftex-figure-out-cite-format):
5418 Use `reftex-cite-key-separator'.
5420 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5421 (reftex-mouse-view-crossref): Explain why point is set.
5423 * textmodes/reftex-global.el: Whitespace changes.
5425 * textmodes/reftex-index.el: Move provide statement to end of
5427 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5428 (reftex-index-visit-phrases-buffer): Set marker when visiting
5429 buffer. This allows for returning from the phrases file to the
5430 file one was just editing instead of the file where the last
5431 phrases was added from.
5432 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5433 punctuation syntax as it usually is not used as string quote in
5434 TeX-related modes and may occur unmatched. The change also
5435 prevents fontification of quoted content.
5436 (reftex-index-phrases-mode): Use it.
5438 * textmodes/reftex-parse.el (reftex-parse-from-file):
5439 Move backward one char if a `\' was matched after a section macro.
5440 (reftex-parse-from-file): Use beginning of match instead of end as
5443 * textmodes/reftex-ref.el: Adapt creation of
5444 `reftex-<package>-<macro>' functions to new structure of
5445 `reftex-ref-style-alist'.
5446 (reftex-reference): Use `reftex-ref-style-list' function.
5447 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5448 reference macro if `reftex-ref-macro-prompt' is non-nil.
5449 (reftex-reference): Pass refstyle to `reftex-format-special'.
5450 Determine reference macro by looking at
5451 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5452 Use only one special format function.
5453 (reftex-varioref-vref, reftex-fancyref-fref)
5454 (reftex-fancyref-Fref): Remove definitions. The functions are now
5455 generated from `reftex-ref-style-alist'.
5456 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5458 (reftex-format-special): New function.
5460 * textmodes/reftex-sel.el
5461 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5462 of `reftex-ref-style-alist'. Remove code for testing macro type.
5463 (reftex-select-toggle-varioref)
5464 (reftex-select-toggle-fancyref): Remove.
5465 (reftex-select-cycle-ref-style-internal)
5466 (reftex-select-cycle-ref-style-forward)
5467 (reftex-select-cycle-ref-style-backward): New functions.
5468 (reftex-select-label-map): Use `v' and `V' for general cycling
5469 through reference styles. Add `p' for switching between number
5470 and page reference types.
5472 * textmodes/reftex-toc.el (reftex-re-enlarge):
5473 Call `enlarge-window' only if there is something to do because in Emacs
5474 the horizontal version throws an error even if the parameter is 0.
5476 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5477 (reftex-plug-into-AUCTeX): Doc fix.
5478 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5479 string. Adapt to new name.
5480 (reftex-ref-style-alist): Change structure so that it is not
5481 possible to use multiple different package names within a style.
5482 Remove the symbols for symbols for macro type distinction.
5483 Add characters for macro selection.
5484 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5485 (reftex-create-bibtex-footer): New variables.
5486 (reftex-format-ref-function): Mention third argument of special
5488 (reftex-ref-style-alist, reftex-ref-style-default-list):
5490 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5491 to new implementation. Mark as obsolete. Add compatibility code
5492 for honoring the variable values in case they are set.
5493 (reftex-cite-format-builtin, reftex-bibliography-commands):
5494 Add support for ConTeXt.
5495 (reftex-format-ref-function, reftex-format-cite-function):
5497 (reftex-cite-key-separator): New variable.
5499 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5500 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5501 `reftex-syntax-table' because parens have to retain their paren
5502 syntax in order for parsing of BibTeX entries like @book(...) to
5504 (reftex-in-comment): Do not error out if `comment-start-skip' is
5505 not set. Deal correctly with escaped comment characters.
5506 (reftex-tie-multifile-symbols): Add doc string.
5507 Initialize `reftex-ref-style-list'.
5508 (reftex-untie-multifile-symbols): Add doc string.
5509 (reftex-add-index-macros): Doc fix.
5510 (reftex-ref-style-activate, reftex-ref-style-toggle)
5511 (reftex-ref-style-list): New functions.
5512 (reftex-mode-menu): Use them. Adapt to new structure of
5513 `reftex-ref-style-alist'.
5514 (reftex-select-with-char): Kill the RefTeX Select buffer when
5516 (reftex-remove-if): New function.
5517 (reftex-erase-all-selection-and-index-buffers)
5518 (reftex-mode-menu): Reference styles are now computed from
5519 `reftex-ref-style-alist'. Fix typo.
5520 (reftex-report-bug): New function.
5521 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5522 algorithms with O(n log n). Introduce optional argument SORT (not
5525 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5527 Enhancements for triple-quote string syntax.
5528 * progmodes/python.el (python-syntax-propertize-function):
5529 Match both quote cases in one regexp.
5530 (python-syntax-stringify): Handle matches properly.
5532 2012-09-30 Juri Linkov <juri@jurta.org>
5534 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5535 to nil around the call to `insert' to prevent
5536 directory time modification by lock_file. (Bug#2295)
5537 * tar-mode.el (tar-summarize-buffer): Idem.
5539 2012-09-30 Juri Linkov <juri@jurta.org>
5541 * facemenu.el (list-colors-sort): Add option "Luminance".
5542 (list-colors-sort-key): Implement it.
5544 * vc/diff-mode.el (diff-refine-removed):
5545 * vc/ediff-init.el (ediff-fine-diff-A):
5546 * vc/smerge-mode.el (smerge-refined-removed):
5547 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5549 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5551 * term/ns-win.el (x-file-dialog): New function.
5553 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5555 * ido.el (ido-max-directory-size): Default to nil; the current
5556 default is small for POSIX systems, and impractical on Windows 7
5557 now that lstat returns directory sizes for NTFS.
5559 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5561 In buffer display functions handle window-height/window-width
5562 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5563 * window.el (window--display-buffer): New argument ALIST.
5564 Obey window-height and window-width alist entries.
5565 (window--try-to-split-window): New argument ALIST.
5566 Bind window-combination-limit to t when the window's size shall be
5567 changed and window-combination-limit equals `window-size'.
5568 (display-buffer-in-atom-window)
5569 (display-buffer-in-major-side-window)
5570 (display-buffer-in-side-window, display-buffer-same-window)
5571 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5572 (display-buffer-pop-up-window, display-buffer-below-selected)
5573 (display-buffer-at-bottom, display-buffer-in-previous-window)
5574 (display-buffer-use-some-window): Adjust all callers of
5575 window--display-buffer and window--try-to-split-window.
5576 (fit-frame-to-buffer): New option.
5577 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5579 (display-buffer-in-major-side-window): Evaluate window-height /
5580 window-width alist entries.
5582 * help.el (temp-buffer-resize-frames)
5583 (temp-buffer-resize-regexps): Remove options.
5584 (temp-buffer-resize-mode): Adjust doc-string.
5585 (resize-temp-buffer-window): Don't consult
5586 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5587 temp-buffer-resize-frames.
5589 * dired.el (dired-mark-pop-up):
5590 Call display-buffer-below-selected with a fit-window-to-buffer alist
5593 2012-09-30 Chong Yidong <cyd@gnu.org>
5595 * server.el (server-host): Document the security implications.
5596 (server-auth-key): Doc fix.
5598 * startup.el (initial-buffer-choice): Doc fix.
5600 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5602 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5605 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5607 * help-fns.el (help-fns--obsolete): Fix last change.
5609 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5612 (minor-mode-map-alist): Remove redundant code.
5614 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5615 visited in a buffer.
5616 (cvs-insert-visited-file): New function.
5617 (find-file-hook): Use it.
5619 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5621 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5623 (log-edit-empty-buffer-p): Don't require a space after a header.
5625 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5627 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5629 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5630 a proper minor-mode.
5632 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5634 2012-09-29 Glenn Morris <rgm@gnu.org>
5636 * winner.el (winner-mode): Remove variable (let define-minor-mode
5638 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5640 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5641 (winner-mode): Use define-minor-mode.
5643 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5644 the full definition in loaddefs, rather than duplicating it.
5646 * help-macro.el (three-step-help): No need to autoload defcustom.
5648 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5649 (inferior-lisp-program, inferior-lisp-load-command)
5650 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5651 No need to autoload defcustoms.
5653 * hippie-exp.el (hippie-expand-try-functions-list)
5654 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5655 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5656 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5657 (hippie-expand-only-buffers): No need to autoload defcustoms.
5658 * progmodes/vhdl-mode.el (vhdl-line-expand):
5659 Explicitly load hippie-exp, so it does not get autoloaded
5660 while hippie-expand-try-functions-list is let-bound.
5662 2012-09-28 Glenn Morris <rgm@gnu.org>
5664 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5666 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5667 Only "cl.el" counts as cl these days.
5669 2012-09-28 Juri Linkov <juri@jurta.org>
5671 Display archive errors in the echo area instead of inserting
5674 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5675 to STDERR-TEST that can be a regexp matching a successful output.
5676 Create a temporary file and redirect stderr to it. Search for
5677 STDERR-TEST in the stderr output and display it in the echo area
5678 if no match is found.
5679 (archive-extract-by-file): New function like
5680 `archive-extract-by-stdout' but extracting archives to files
5681 and looking for successful matches in stdout. Function body is
5682 mostly copied from `archive-rar-extract'.
5683 (archive-rar-extract): Use `archive-extract-by-file'.
5684 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5686 2012-09-28 Leo Liu <sdl.web@gmail.com>
5688 * pcomplete.el (pcomplete-show-completions):
5689 Use minibuffer-message to make pcomplete usable in minibuffer.
5691 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5693 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * type-break.el: Use lexical-binding.
5696 (type-break-mode): Use define-minor-mode.
5698 * emacs-lisp/pcase.el (pcase--mark-used): New.
5699 (pcase--u1): Use it (bug#12512).
5701 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5702 in load-history with the right file name.
5704 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5706 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5707 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5708 (doc-view-get-bounding-box): Make bounding box slicing work for
5709 ODF and DVI documents.
5711 2012-09-28 Glenn Morris <rgm@gnu.org>
5713 * type-break.el (type-break-mode, type-break-interval)
5714 (type-break-good-rest-interval, type-break-keystroke-threshold):
5715 No need to autoload.
5716 (type-break-good-rest-interval, type-break-keystroke-threshold):
5719 2012-09-28 Chong Yidong <cyd@gnu.org>
5721 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5724 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5728 2012-09-27 Glenn Morris <rgm@gnu.org>
5730 * faces.el (x-display-name): Declare (for without-x builds).
5732 * linum.el (linum-format): Don't autoload it. Improve :type.
5734 * progmodes/tcl.el: Don't require outline when compiling.
5735 (outline-regexp, outline-level): Declare.
5736 * textmodes/sgml-mode.el: Don't require outline when compiling.
5737 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5739 * term.el (term-ansi-reset):
5740 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5742 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5743 files for RCS and SCCS. (Bug#9781)
5745 2012-09-27 Chong Yidong <cyd@gnu.org>
5747 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5748 change; value should be t.
5750 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5752 * image-mode.el: Use lexical-binding.
5753 (image-mode-winprops): Use t to stand for the window of
5754 a buffer that's not displayed.
5755 * doc-view.el (doc-view-new-window-function): Handle the new
5757 (doc-view-enlarge): Make it a real nop if the size is not changed.
5758 (doc-view-display): Handle the case where the buffer is not (yet?)
5759 displayed in any window.
5760 (doc-view-saved-settings): New var.
5761 (doc-view-mode): Use it.
5762 (doc-view-fallback-mode): Set it.
5764 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5765 Set lexical-binding.
5766 (minibuffer-eldef-shorten-default): New var.
5767 (minibuffer-default-in-prompt-regexps): Use it for new default.
5768 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5770 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5772 * international/uni-bidi.el:
5773 * international/uni-category.el:
5774 * international/uni-name.el:
5775 * international/uni-numeric.el: Regenerate.
5777 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5778 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * profiler.el: New file.
5782 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5785 (testcover-reinstrument): Simplify with CSE.
5787 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5789 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5791 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5793 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5794 (verilog-auto-input, verilog-auto-insert-lisp)
5795 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5796 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5797 (verilog-auto-unused, verilog-auto-wire)
5798 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5799 newline. Reported by Andrew Jones.
5800 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5801 Reported by Brad Dobbie.
5802 (verilog-batch-delete-trailing-whitespace):
5803 Create verilog-batch-delete-trailing-whitespace.
5804 Reported by Brad Dobbie.
5805 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5806 parameters from another module. Reported by Dan Katz.
5807 (verilog-auto, verilog-auto-assign-modport)
5808 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5809 AUTOINOUTMODPORT for UVM interface module shell generation.
5810 Reported by Brad Dobbie.
5811 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5813 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5814 Reported by Matt Martin.
5816 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5818 * window.el (window--resize-child-windows): When resizing child
5819 windows proportionally, process them in reverse order to
5820 preserve the "when splitting a window the new one gets the odd
5822 (window--resize-root-window-vertically): When resizing the
5823 minibuffer window try to affect only windows at the bottom of the
5826 2012-09-25 Chong Yidong <cyd@gnu.org>
5828 * subr.el (declare): Doc fix.
5830 * help-fns.el (help-fns--obsolete): Handle macros properly.
5832 2012-09-25 Chong Yidong <cyd@gnu.org>
5834 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5835 this function obsolete.
5837 * calendar/cal-x.el (calendar-two-frame-setup)
5838 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5839 * calendar/calendar.el (american-calendar, european-calendar)
5840 (calendar-for-loop):
5841 * comint.el (comint-dynamic-simple-complete)
5842 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5843 * desktop.el (desktop-load-default):
5844 * dired-x.el (dired-omit-here-always)
5845 (dired-hack-local-variables, dired-default-directory):
5846 * emacs-lisp/derived.el (derived-mode-class):
5847 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5848 * emacs-lock.el (toggle-emacs-lock):
5849 * epa.el (epa-display-verify-result):
5850 * epg.el (epg-sign-keys, epg-start-sign-keys)
5851 (epg-passphrase-callback-function):
5852 * eshell/esh-util.el (eshell-for):
5853 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5854 (eshell-add-to-window-buffer-names):
5855 * files.el (locate-file-completion):
5856 * imenu.el (imenu-example--create-c-index)
5857 (imenu-example--create-lisp-index)
5858 (imenu-example--lisp-extract-index-name)
5859 (imenu-example--name-and-position):
5860 * international/mule-cmds.el (princ-list):
5861 * international/mule-diag.el (decode-codepage-char):
5862 * international/mule-util.el (detect-coding-with-priority):
5863 * iswitchb.el (iswitchb-read-buffer):
5864 * mail/mailalias.el (mail-complete):
5865 * mail/sendmail.el (mail-sent-via):
5866 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5867 (mouse-major-mode-menu):
5868 * password-cache.el (password-read-and-add):
5869 * pcomplete.el (pcomplete-parse-comint-arguments):
5870 * progmodes/sh-script.el (sh-maybe-here-document):
5871 * replace.el (query-replace-regexp-eval):
5872 * savehist.el (savehist-load):
5873 * simple.el (choose-completion-delete-max-match):
5874 * term.el (term-dynamic-simple-complete):
5875 * vc/ediff-init.el (ediff-check-version):
5876 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5877 * vc/vc.el (vc-diff-switches-list):
5878 * view.el (view-return-to-alist-update): Likewise.
5880 * subr.el (eval-next-after-load, makehash, insert-string)
5881 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5883 (mode-line-inverse-video): Variable deleted.
5885 * international/mule-util.el (string-to-sequence): Remove.
5887 * calendar/calendar.el (calendar-version):
5888 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5889 (icalendar-convert-diary-to-ical):
5890 * cus-edit.el (custom-mode):
5891 * ansi-color.el (ansi-color-unfontify-region):
5892 * international/latin1-disp.el (latin1-char-displayable-p):
5893 * progmodes/cwarn.el (turn-on-cwarn-mode):
5894 * progmodes/which-func.el (which-func-update-1):
5895 Use define-obsolete-function-alias.
5897 * net/newst-backend.el (newsticker-cache-filename):
5898 * net/newst-treeview.el (newsticker-groups-filename):
5899 Fix incorrect obsolescence declaration.
5901 * allout.el (allout-passphrase-hint-string): Likewise.
5902 (allout-init): Use a declare form to mark obsolete.
5904 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5905 this applies to functions.
5907 * iswitchb.el (iswitchb-read-buffer): Move code of
5908 iswitchb-define-mode-map here, and delete that obsolete function.
5910 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5911 font-lock-reference-face.
5913 2012-09-25 Glenn Morris <rgm@gnu.org>
5915 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5918 * eshell/em-term.el (eshell-term-name):
5919 Default to term-term-name. (Bug#12485)
5921 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5923 * progmodes/python.el (python-shell-send-buffer): Better handling
5924 of "if __name__ == '__main__':" conditionals when sending the buffer.
5926 2012-09-24 Glenn Morris <rgm@gnu.org>
5928 * eshell/esh-cmd.el (eshell-find-alias-function):
5929 Tighten up file-name regexp. (Bug#12499)
5931 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5933 Enhancements for triple-quote string syntax.
5934 * progmodes/python.el (python-quote-syntax): Remove.
5935 (python-syntax-propertize-function): New value.
5936 (python-syntax-count-quotes, python-syntax-stringify):
5939 2012-09-24 Chong Yidong <cyd@gnu.org>
5941 * mail/supercite.el (sc-version): Remove obsolete function.
5942 (sc-describe): Don't mark as obsolete, since it is bound.
5943 (sc-submit-bug-report): Remove.
5945 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5946 (cvs-commit-buffer-require-final-newline): Remove.
5947 (log-edit-require-final-newline)
5948 (log-edit-changelog-full-paragraphs): Default to t.
5950 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5951 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5952 * vc/vc.el (vc-checkout-carefully): Likewise.
5954 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5955 (emerge-version): Remove.
5957 * progmodes/compile.el (compile-internal): Remove.
5958 (compilation-parse-errors-function): Fix typo.
5960 * international/mule.el (set-char-table-default): Remove.
5961 (set-coding-priority, make-coding-system, generic-char-p)
5962 (charset-list, charset-bytes, charset-id): Use declare to mark
5963 functions as obsolete.
5965 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5966 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5967 * vc/vc-hooks.el (vc-default-registered): Don't use
5968 vc-master-templates.
5970 * font-lock.el (font-lock-reference-face):
5971 Use define-obsolete-variable-alias.
5973 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5974 * calendar/calendar.el (calendar-font-lock-keywords):
5975 * calendar/diary-lib.el (diary-font-lock-keywords)
5976 (diary-fancy-font-lock-keywords):
5977 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5978 * textmodes/reftex-index.el (reftex-insert-index):
5979 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5980 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5981 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5982 * progmodes/prolog.el (prolog-font-lock-keywords):
5983 * progmodes/idlwave.el (idlwave-idl-keywords):
5984 * progmodes/ada-mode.el (ada-font-lock-keywords):
5985 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5987 2012-09-24 Glenn Morris <rgm@gnu.org>
5989 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5991 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5993 * progmodes/python.el (python-indent-line): More consistent cursor
5996 2012-09-23 Stefan Merten <smerten@oekonux.de>
5998 * textmodes/rst.el: Fix compiler warning.
6000 2012-09-23 Roland Winkler <winkler@gnu.org>
6002 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6003 Transcribe also LaTeX hyphenation.
6004 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6005 bibtex-reformat-previous-options.
6007 2012-09-23 Roland Winkler <winkler@gnu.org>
6009 * proced.el (proced-renice-command): New variable.
6010 (proced-marked-processes): New function.
6011 (proced-with-processes-buffer): New macro.
6012 (proced-send-signal): Use them.
6013 (proced-renice): New command bound to r.
6015 2012-09-23 Roland Winkler <winkler@gnu.org>
6017 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6018 ibuffer-saved-filter-groups has one element, shortcut the call of
6019 completing-read. (Bug#12331)
6021 2012-09-23 Chong Yidong <cyd@gnu.org>
6023 * bindings.el (mode-line-toggle-read-only):
6024 * bs.el (bs-toggle-readonly):
6025 * buff-menu.el (Buffer-menu-toggle-read-only):
6026 * dired.el (dired-toggle-read-only):
6027 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6029 2012-09-23 Chong Yidong <cyd@gnu.org>
6031 * image.el (image-type-available-p): Adapt to init-image-library
6034 2012-09-22 Juri Linkov <juri@jurta.org>
6036 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6037 `dired-toggle-read-only'. (Bug#12462)
6039 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6041 * subr.el (temp-output-buffer-show): New function.
6042 (with-output-to-temp-buffer): Call temp-output-buffer-show
6043 instead of internal-temp-output-buffer-show.
6045 2012-09-22 Chong Yidong <cyd@gnu.org>
6047 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6050 * repeat.el (repeat): Doc fix (Bug#12348).
6052 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6055 * simple.el (shell-command-on-region): Doc fix.
6056 (read-only-mode): Doc fix.
6058 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6060 * emacs-lisp/timer.el (run-with-idle-timer)
6061 (timer-activate-when-idle): Warn against reinvoking an idle timer
6062 from within its own timer action. (Bug#12447)
6064 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6066 * cus-start.el (window-combination-limit): Add new optional
6068 * window.el (temp-buffer-window-show)
6069 (window--try-to-split-window): Handle new values of
6070 window-combination-limit (Bug#1806).
6071 (split-window): Test window-combination-limit for t instead of
6073 (display-buffer-at-bottom): New buffer display action function.
6074 * help.el (temp-buffer-resize-regexps): New option.
6075 (temp-buffer-resize-mode): Rewrite doc-string.
6076 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6077 Don't resize reused window. Suggested by Glenn Morris.
6079 2012-09-22 Stefan Merten <smerten@oekonux.de>
6081 * textmodes/rst.el: Revamp section title faces.
6082 (rst-official-version)
6083 (rst-package-emacs-version-alist): Sync with official version
6085 (rst-faces-defaults, rst-set-level-default)
6086 (rst-level-face-max, rst-level-face-base-color)
6087 (rst-level-face-base-light, rst-level-face-format-light)
6088 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6089 (rst-adornment-faces-alist): Match new setup.
6090 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6091 (rst-level-5, rst-level-6): New faces.
6093 2012-09-22 Chong Yidong <cyd@gnu.org>
6095 * simple.el (undo): Handle indirect buffers (Bug#8207).
6097 2012-09-21 Leo Liu <sdl.web@gmail.com>
6099 IDO: Disable match re-ordering for buffer switching.
6100 * ido.el (ido-buffer-disable-smart-matches): New variable.
6101 (ido-set-matches-1): Use it. (Bug#2042)
6103 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6105 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6106 Fix 2011-05-17 change. (Bug#12418)
6108 2012-09-21 Leo Liu <sdl.web@gmail.com>
6110 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6112 2012-09-21 Glenn Morris <rgm@gnu.org>
6114 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6115 Be more robust about locating simple.el.
6117 2012-09-21 Glenn Morris <rgm@gnu.org>
6119 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6121 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6123 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6125 2012-09-20 Juri Linkov <juri@jurta.org>
6127 * replace.el (query-replace-read-from): Use `read-regexp' instead
6128 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6129 (occur-read-primary-args): Use `read-regexp' instead of
6131 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6132 `read-from-minibuffer'.
6133 * isearch.el (isearch-occur): Use `read-regexp' instead of
6135 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6136 `read-from-minibuffer'.
6137 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6138 of `read-string'. (Bug#7567)
6140 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6141 and allow accepting a list of strings prepended to a list of
6142 standard default values. Doc fix. (Bug#12321)
6144 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6146 * replace.el (read-regexp): Don't add ": " when PROMPT already
6147 ends with a colon and space. (Bug#12321)
6149 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6151 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6154 2012-09-20 Stefan Merten <smerten@oekonux.de>
6156 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6157 Fixes feature request bug#11711.
6158 (rst-mode): Create `imenu-create-index-function'.
6159 (rst-get-stripped-line): Delete after refactoring.
6160 (rst-section-tree, rst-section-tree-rec)
6161 (rst-section-tree-point): Refactor and document properly.
6162 (rst-imenu-find-adornments-for-position)
6163 (rst-imenu-convert-cell, rst-imenu-create-index):
6166 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6168 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6169 (macroexp--expand-all): Use it.
6170 (macroexp--funcall-and-return): Remove by folding it into its sole
6171 caller (macroexp--warn-and-return).
6172 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6173 Use macroexp--obsolete-warning.
6175 * calc/calc.el: Fix last change by removing the whole chunk, since it
6176 was only needed back when Calc was not bundled.
6178 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6180 * emacs-lisp/debug.el (debug): Restore assignment to
6181 debugger-old-buffer removed on 2012-09-08.
6183 2012-09-20 Juri Linkov <juri@jurta.org>
6185 * dired-aux.el (dired-diff): Remove (require 'diff) since
6186 `diff-latest-backup-file' is now autoloaded.
6188 2012-09-20 Chong Yidong <cyd@gnu.org>
6190 * vc/diff.el (diff-latest-backup-file): Autoload.
6192 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * calc/calc.el: Remove redundant autoload shape check.
6195 (sel-mode): Don't defvar.
6196 (calc-get-stack-element): Add `sel-mode' arg instead.
6197 (calc-top, calc-top-list): Pass it this additional argument.
6198 * calc/calc-store.el (calc-store-map):
6199 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6200 (calc-map-equation, calc-outer-product, calc-inner-product):
6201 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6203 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6205 2012-09-19 Juri Linkov <juri@jurta.org>
6207 * dired-aux.el (dired-diff): Add (require 'diff) because
6208 `diff-latest-backup-file' is not autoloaded.
6209 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6210 of `dired-get-filename' to t to not report error when there is
6211 no default file on the current line.
6213 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6216 macroexp--eval-if-compile.
6217 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6218 (macroexp--expand-all): Use them (bug#12371).
6220 * doc-view.el (doc-view-guess-paper-size)
6221 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6223 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6225 New feature: set optimal slice from BoundingBox information.
6226 * doc-view.el (doc-view-mode-map): Add keybinding.
6227 (doc-view-menu): Add menu entry.
6228 (doc-view-set-slice): Adapt docstring.
6229 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6230 (doc-view-scale-bounding-box)
6231 (doc-view-set-slice-from-bounding-box): New functions.
6232 (doc-view-paper-sizes): New defvar.
6234 2012-09-19 Glenn Morris <rgm@gnu.org>
6236 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6237 (byte-compile-log-warning): Autoload. (Bug#12371)
6239 * calendar/calendar.el (calendar-american-month-header)
6240 (calendar-european-month-header, calendar-iso-month-header)
6241 (calendar-month-header): New options.
6242 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6243 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6245 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6247 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6249 2012-09-18 Juri Linkov <juri@jurta.org>
6251 * dired-aux.el (dired-diff): Restore original functionality of
6252 getting the default value, but keep new feature of using the
6253 latest existing backup file (`diff-latest-backup-file').
6255 2012-09-18 Juri Linkov <juri@jurta.org>
6257 * dired.el (dired-mark): If the region is active in Transient Mark
6258 mode, mark all files in the active region. Doc fix.
6259 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6260 Doc fix. (Bug#10624)
6262 2012-09-18 Juri Linkov <juri@jurta.org>
6264 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6265 attributes for M-n are pulled from the file at point.
6266 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6267 Suggested by Drew Adams. (Bug#10624)
6269 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6271 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6272 whitespace after "end".
6273 (ruby-do-end-to-brace): Collapse block to one line if it fits
6276 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6278 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6280 (debug): Don't remove debugger window when debugger is expected
6283 2012-09-18 Chong Yidong <cyd@gnu.org>
6285 * custom.el (defface): Doc fix.
6287 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6289 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6291 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6292 to initialize query-on-exit; then test that instead (bug#12288).
6294 2012-09-17 Stefan Merten <smerten@oekonux.de>
6296 * textmodes/rst.el: Add support for `testcover'.
6297 (rst-defcustom-testcover, rst-testcover-add-compose)
6298 (rst-testcover-add-1value): New functions.
6299 (rst-portable-mark-active-p): Replace by `use-region-p'.
6300 (rst-update-section, rst-classify-adornment)
6301 (rst-find-title-line): Mark `1value' forms.
6302 (rst-classify-adornment): Remove superfluous form.
6303 (rst-update-section, rst-get-adornments-around)
6304 (rst-adornment-complete-p, rst-get-next-adornment)
6305 (rst-adjust, rst-promote-region)
6306 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6307 (rst-find-pfx-in-region, rst-section-tree-rec)
6308 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6309 (rst-toc-node, rst-toc, rst-forward-section)
6310 (rst-iterate-leftmost-paragraphs)
6311 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6312 (rst-bullet-list-region)
6313 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6314 (rst-compile-find-conf, rst-compile)
6315 (rst-repeat-last-character): Fix style.
6317 2012-09-17 Chong Yidong <cyd@gnu.org>
6319 * comint.el (comint--complete-file-name-data): Don't add a space
6320 if the status is `sole'; that adds a gratuitous space in the
6321 completion-cycling case (Bug#12092).
6323 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6325 2012-09-17 Richard Stallman <rms@gnu.org>
6327 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6328 only in the mime-shown mode, not in raw mode.
6329 (rmail-mime): Toggle off mime by displaying the message without
6330 mime processing. (Bug#12305)
6332 * mail/rmail.el (rmail-retry-failure):
6333 Turn off mime processing first. (Bug#12037)
6335 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6337 2012-09-17 Chong Yidong <cyd@gnu.org>
6339 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6340 (shell-dynamic-complete-functions): Convert to defcustom.
6341 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6343 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6344 * comint.el (comint-prompt-read-only):
6345 * custom.el (defcustom):
6346 * hi-lock.el (hi-lock-mode):
6347 * ibuffer.el (ibuffer-formats):
6348 * ielm.el (ielm-prompt-read-only):
6349 * novice.el (disable-command):
6350 * saveplace.el (toggle-save-place):
6351 * speedbar.el (speedbar-supported-extension-expressions):
6352 * startup.el (auto-save-list-file-prefix, init-file-user)
6353 (after-init-hook, inhibit-startup-echo-area-message):
6354 * strokes.el (strokes-help):
6355 * time-stamp.el (time-stamp):
6356 * calendar/calendar.el (calendar, diary-file):
6357 * calendar/diary-lib.el (diary-mail-entries, diary)
6358 (diary-list-entries-hook):
6359 * calendar/holidays.el (holidays, calendar-holidays):
6360 * calendar/lunar.el (lunar-phases):
6361 * calendar/solar.el (sunrise-sunset):
6362 * emulation/edt.el (edt-load-keys):
6363 * emulation/viper.el (viper-mode):
6364 * eshell/em-alias.el (eshell-command-aliases-list):
6365 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6366 * international/ogonek.el (ogonek-information):
6367 * net/tramp-cmds.el (tramp-bug):
6368 * net/quickurl.el (quickurl-reread-hook-postfix):
6369 * play/decipher.el (decipher-font-lock-keywords):
6370 * progmodes/cc-styles.el (c-set-style):
6371 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6372 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6373 * progmodes/octave-mod.el (octave-mode):
6374 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6375 * progmodes/verilog-mode.el (verilog-read-defines):
6376 * textmodes/two-column.el (2C-mode): Likewise.
6378 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6380 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6381 that holds many addresses.
6383 2012-09-16 Chong Yidong <cyd@gnu.org>
6385 * align.el (align-areas): Call the indication function with
6386 positions instead of markers for arguments (Bug#12343).
6388 * files.el (parse-colon-path): Use split-string (Bug#12351).
6390 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6391 (display-buffer-function): Mark as obsolete.
6393 * progmodes/compile.el (compilation-parse-errors): Accept list
6394 values similar to font-lock-keywords (Bug#12136).
6395 Suggested by Oleksandr Manzyuk.
6396 (compilation-error-regexp-alist): Doc fix.
6398 2012-09-15 Glenn Morris <rgm@gnu.org>
6400 * version.el (emacs-bzr-version-bzr): New function.
6401 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6403 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6404 checkouts, check the parent dirstate matches the branch.
6405 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6408 * version.el (emacs-bzr-version): Doc fix.
6409 (emacs-bzr-version-dirstate): New function.
6410 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6411 is local try and check that it matches the branch. If not, just
6412 use dirstate information. (Bug#12441)
6414 2012-09-14 Juri Linkov <juri@jurta.org>
6416 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6419 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6423 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6424 Remove obsolete byte-compiler hack that tried to silence some warnings.
6425 (edebug-submit-bug-report): Remove.
6426 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6427 Remove aliases, use the un-prefixed name instead.
6428 (edebug-pop-to-buffer): Consider other frames.
6429 (edebug-original-read):: Make it more obvious that it's always defined.
6430 (edebug--make-form-data-entry, edebug--form-data-name)
6431 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6432 single-dashed name, and implement with cl-defstruct.
6433 (edebug-set-form-data-entry): Use the standard accessors.
6434 (edebug-make-top-form-data-entry): Use push.
6435 (edebug-no-match): Drop useless `funcall'.
6436 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6438 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6439 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6440 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6441 (easy-menu-define, with-custom-print): Remove redundant specs.
6442 (edebug-outside-overriding-local-map)
6443 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6444 (edebug--display): Bind unread-command-events directly to nil rather
6445 than binding it to unread-command-events and later setting it to nil.
6446 (edebug--display): Kill edebug-eval-buffer here...
6447 (edebug--recursive-edit): ...rather than here.
6448 Bind standard-output and standard-input.
6449 (edebug-eval): Check cl-macroexpand-all is fboundp.
6450 (edebug-temp-display-freq-count): Fix last change.
6452 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6453 * subr.el (noreturn, 1value): Add `debug' spec.
6454 * emacs-lisp/advice.el: Require cl-lib.
6455 (ad-copy-tree): Remove, use copy-tree instead.
6456 (ad-dolist): Remove use dolist or cl-dolist instead.
6457 (ad-do-return): Remove, use cl-return instead.
6458 (defadvice): Add `debug' spec.
6460 2012-09-13 Juri Linkov <juri@jurta.org>
6462 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6465 2012-09-13 Glenn Morris <rgm@gnu.org>
6467 * calc/calc.el (math-compose-expr):
6468 * calc/calc-ext.el (math-compose-expr):
6469 * progmodes/cc-defs.el (cl-macroexpand-all):
6470 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6471 (cl-macroexpand-all): Update declarations.
6473 * vc/vc.el: No need to require ediff.
6474 (ediff-load-version-control): Declare.
6475 (ediff-vc-internal): Fix declaration.
6476 (vc-version-ediff): Require ediff.
6478 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6480 Use a more backwards-compatible timer format (Bug#12430).
6481 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6482 being right after USECS, as that better supports old code that
6483 inadvisedly looked directly at the timer vector.
6485 2012-09-13 Kenichi Handa <handa@gnu.org>
6487 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6488 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6489 `coding-priority' property of these language environment.
6491 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6493 Fix glitches caused by addition of psec to timers (Bug#12430).
6494 * image.el (image-animate-timer):
6495 * time.el (display-time-world-timer):
6496 Use timer--function and timer--args rather than raw access to
6499 2012-09-13 Glenn Morris <rgm@gnu.org>
6501 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6502 If not compiling a file, try using load-file-name.
6504 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6508 (edebug-update-eval-list): Use `push'.
6510 * emacs-lisp/edebug.el: Use lexical-binding.
6511 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6512 Mark unused args with underscore.
6513 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6514 (edebug-form-data): Use defvar-local.
6515 (edebug-make-before-and-after-form, edebug-make-after-form):
6517 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6518 Not dynamically scoped any more.
6519 (edebug--enter-trace): Add arguments `function' and `args'.
6520 Rename from edebug-enter-trace.
6521 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6522 (edebug--update-coverage): Add `after-index' and `value' args.
6523 Rename from edebug-update-coverage.
6524 (edebug-slow-after): Call it accordingly.
6525 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6526 edebug-recursive-edit.
6527 (edebug--display): Call it accordingly. Add args `value',
6528 `offset-index', and `arg-mode'. Rename from edebug-display.
6529 (edebug-debugger, edebug): Call it accordingly.
6530 (edebug-eval-display-list): Use dolist.
6532 2012-09-12 Juri Linkov <juri@jurta.org>
6534 * info.el (Info-search): Don't check for isearch-mode and
6535 isearch-regexp before let-binding search-spaces-regexp to
6536 Info-search-whitespace-regexp.
6537 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6538 search-whitespace-regexp if isearch-lax-whitespace or
6539 isearch-regexp-lax-whitespace is non-nil.
6540 (Info-mode): Don't set local variable search-whitespace-regexp.
6541 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6543 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6546 (debugger-env-macro): Remove support for unread-command-char.
6548 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6549 the temporary map re-appearing on emulation-mode-map-alists.
6551 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6554 * ehelp.el (with-electric-help): Accept functions in
6555 electric-help-form-to-execute.
6556 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6557 And replace unread-command-char -> unread-command-events.
6559 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6561 Sync with Tramp 2.2.6.
6563 * net/tramp.el (tramp-accept-process-output): Don't use
6564 JUST-THIS-ONE in the XEmacs case.
6566 * net/trampver.el: Update release number.
6568 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6570 * emacs-lisp/debug.el (debugger-previous-window-height):
6572 (debug): When debugger-jumping-flag is non-nil try to restore
6573 height of debugger window. (Bug#8789)
6575 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6577 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6578 overriding-local-map and pre/post-command-hook here.
6579 (edebug-recursive-edit): Do it here instead (bug#12345).
6580 (edebug-outside-unread-command-char): Remove all uses of
6581 unread-command-char.
6583 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6584 inhibit-debugger is bound instead.
6586 2012-09-11 Bastien Guerry <bzg@gnu.org>
6588 * subr.el (set-temporary-overlay-map): Add a docstring.
6591 2012-09-11 Bastien Guerry <bzg@gnu.org>
6593 * minibuffer.el (completion-table-subvert): Fix docstring.
6596 2012-09-11 Bastien Guerry <bzg@gnu.org>
6598 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6600 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6602 * progmodes/sql.el: Version 3.1
6603 (sql-db2-escape-newlines): New variable.
6604 (sql-escape-newlines-filter): Use it.
6606 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6608 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6610 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6612 * vc/diff-mode.el (diff-mode-menu):
6613 Bind diff-remove-trailing-whitespace.
6615 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6618 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6619 (emacs-lisp-byte-code-mode): New functions.
6620 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6621 (eval-defun-2): Remove bogus interactive spec.
6622 (lisp-indent-line): Remove redundant whole-exp code, now done in
6623 indent-according-to-mode.
6624 (save-match-data): Remove redundant indent data.
6626 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6629 2012-09-09 Juri Linkov <juri@jurta.org>
6631 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6632 (replace-lax-whitespace, query-replace-regexp)
6633 (query-replace-regexp-eval, replace-regexp): Doc fix.
6634 (perform-replace, replace-highlight): Let-bind
6635 isearch-lax-whitespace to replace-lax-whitespace and
6636 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6638 * isearch.el (isearch-query-replace): Let-bind
6639 replace-lax-whitespace to isearch-lax-whitespace and
6640 replace-regexp-lax-whitespace to
6641 isearch-regexp-lax-whitespace. (Bug#10885)
6643 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6645 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6647 2012-09-09 Alan Mackenzie <acm@muc.de>
6649 * progmodes/cc-engine.el (c-state-cache-init):
6650 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6651 (c-record-parse-state-state):
6652 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6654 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6656 * register.el (register-separator): Rename from
6657 separator-register. All uses changed. Doc fix.
6658 (register): Fix version.
6660 2012-09-09 Chong Yidong <cyd@gnu.org>
6662 * replace.el (query-replace-map): Bind four new symbols for
6663 requesting window scrolling.
6665 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6666 query-replace-map (Bug#8948).
6668 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6670 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6671 since they are now in query-replace-map.
6673 * window.el (scroll-other-window-down): Make the arg optional.
6675 2012-09-09 Chong Yidong <cyd@gnu.org>
6677 * files.el (hack-local-variables-confirm): Use quit-window to kill
6678 the *Local Variables* buffer.
6680 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6682 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6683 not just expect to be at its beginning. Adjust callees.
6684 Succeed when do-end block has no space before the pipe character.
6685 (ruby-brace-to-do-end): When the original block is one-liner,
6686 convert to multiline. Reindent the result.
6688 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6690 * register.el (register): New group.
6691 (separator-register): New user option.
6692 (increment-register): Route it to `append-to-register', if
6693 register contains text. Implication is that `C-x r +' can now be
6694 used for appending to a text register (bug#12217).
6695 (append-to-register, prepend-to-register): Add separator based on
6696 `separator-register'.
6698 2012-09-08 Alan Mackenzie <acm@muc.de>
6700 AWK Mode: make auto-newline work when there's "==" in the pattern.
6701 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6703 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6704 Test more rigorously for "=" token.
6706 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6708 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6709 Only fail when reached LIMIT.
6711 2012-09-08 Chong Yidong <cyd@gnu.org>
6713 * dired.el (dired-mode-map): Don't bind M-=.
6715 * dired-aux.el (dired-diff): Use backup file as default.
6717 2012-09-08 Drew Adams <drew.adams@oracle.com>
6719 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6721 2012-09-08 Chong Yidong <cyd@gnu.org>
6723 * subr.el (syntax-after, syntax-class): Doc fix.
6725 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6727 * window.el (display-buffer-in-previous-window): New buffer
6728 display action function.
6730 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6731 (debugger-previous-window): New variable.
6732 (debug): Rewrite using display-buffer-in-previous-window,
6733 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6735 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6737 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6739 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6741 * progmodes/python.el (python-shell-send-string):
6742 When default-directory is remote, create temp file on remote
6744 (python-shell-send-file): When file is remote, pass local view of
6745 file paths to remote Python interpreter. (Bug#12340)
6747 2012-09-07 Chong Yidong <cyd@gnu.org>
6749 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6751 * files.el (after-find-file): Don't fail on a read-only buffer if
6752 require-final-newline is `visit' or `visit-save' (Bug#11156).
6754 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6756 * userlock.el (ask-user-about-supersession-threat):
6757 Use read-char-choice (Bug#12093).
6759 2012-09-07 Chong Yidong <cyd@gnu.org>
6761 * subr.el (buffer-narrowed-p): New function.
6763 * ses.el (ses-widen):
6764 * simple.el (count-words--buffer-message):
6765 * net/browse-url.el (browse-url-of-buffer): Use it.
6767 * simple.el (count-words-region): Don't signal an error if there
6768 is a non-nil prefix arg and the mark is not set.
6770 * help.el (describe-key-briefly): Allow the message to be seen
6771 when invoked from the minibuffer (Bug#7014).
6773 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6775 * progmodes/ruby-mode.el (ruby-end-of-defun)
6776 (ruby-beginning-of-defun): Simplify, allow indentation before
6777 block beginning and end keywords.
6778 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6779 (ruby-end-of-defun): Expect that the point is at the beginning of
6782 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6786 (cl--make-usage-args): Strip _ from argument names.
6788 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6790 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6791 obsolete alias speedbar-key-map.
6792 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6793 (vhdl-index-menu-init): Don't use obsolete variable
6794 font-lock-maximum-size.
6796 2012-09-06 Chong Yidong <cyd@gnu.org>
6798 * frame.el (window-system-version): Mark as obsolete.
6800 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6801 of obsolete variable speedbar-key-map.
6803 2012-09-06 Juri Linkov <juri@jurta.org>
6805 * replace.el (replace-lax-whitespace): New defcustom.
6806 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6807 (replace-string, replace-regexp): Mention it in docstrings.
6808 (perform-replace, replace-highlight): Let-bind
6809 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6810 to the values of replace-lax-whitespace and regexp-flag.
6811 Don't let-bind search-whitespace-regexp. (Bug#10885)
6813 * isearch.el (isearch-query-replace): Let-bind
6814 replace-lax-whitespace instead of let-binding
6815 replace-search-function and replace-re-search-function.
6816 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6817 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6818 (isearch-toggle-symbol): Set isearch-regexp to nil
6819 in isearch-word mode (like in isearch-toggle-word).
6821 2012-09-06 Juri Linkov <juri@jurta.org>
6823 * replace.el (replace-search-function)
6824 (replace-re-search-function): Set default values to nil.
6825 (perform-replace): Let-bind isearch-related variables based on
6826 replace-related values, call `isearch-search-fun' and let-bind
6827 the result to `search-function'. Remove code that sets
6828 `search-function' and `search-string' separately for
6830 (replace-highlight): Add new argument `delimited-flag' and
6831 rename other arguments to the names used in `perform-replace'.
6832 Let-bind `isearch-word' to the argument `delimited-flag'.
6833 (Bug#10885, bug#10887)
6835 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6837 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6838 ruby-beginning-of-indent, simplify, allow all keywords to have
6839 indentation before them.
6840 (ruby-beginning-of-indent): Adjust for above. Search until the
6841 found point is not inside a string or comment.
6842 (ruby-font-lock-keywords): Allow symbols to start with "@"
6843 character, give them higher priority than variables.
6844 (ruby-syntax-propertize-function)
6845 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6846 matchers. Expression expansions are not comments when inside a
6847 string, and there comment syntax status is irrelevant.
6848 (ruby-match-expression-expansion): New function. Check that
6849 expression expansion is inside a string, and it's not escaped.
6850 (ruby-font-lock-keywords): Use it.
6852 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6854 * help.el (temp-buffer-max-height): New default value.
6855 (temp-buffer-resize-frames): New option.
6856 (resize-temp-buffer-window): Optionally resize frame.
6858 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6859 (fit-frame-to-buffer): New function.
6861 2012-09-05 Glenn Morris <rgm@gnu.org>
6863 * emulation/cua-rect.el (cua--init-rectangles):
6864 * textmodes/picture.el (picture-mode-map):
6865 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6866 like forward-char and backward-char. (Bug#12317)
6868 2012-09-05 Leo Liu <sdl.web@gmail.com>
6870 * progmodes/flymake.el (flymake-warning-re): New variable.
6871 (flymake-parse-line): Use it.
6873 2012-09-05 Glenn Morris <rgm@gnu.org>
6875 * calendar/holidays.el (holiday-christian-holidays):
6876 Rename an entry. (Bug#12289)
6878 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6883 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * loadup.el: Load macroexp. Remove hack.
6886 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6887 (macroexp--expand-all): Use it to get better warnings.
6888 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6889 (internal-macroexpand-for-load): New functions.
6890 (macroexp--pending-eager-loads): New var.
6891 (emacs-startup-hook): New hack to replace one in loadup.el.
6892 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6893 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6894 (cl-psetf): Simplify.
6895 (cl-defstruct): Add indent rule.
6897 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6899 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6900 over `user-mail-address' for the SMTP MAIL FROM envelope.
6901 (smtpmail-via-smtp): Ditto.
6903 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6905 * progmodes/ruby-mode.el: Clean up keybindings.
6906 (ruby-mode-map): Don't bind ruby-electric-brace,
6907 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6908 backward-kill-word, reindent-then-newline-and-indent.
6909 (ruby-mark-defun): Remove.
6910 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6911 (ruby-mode): Set local beginning-of-defun-function and
6912 end-of-defun-function values.
6914 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6916 * window.el (temp-buffer-window-setup-hook)
6917 (temp-buffer-window-show-hook): New hooks.
6918 (temp-buffer-window-setup, temp-buffer-window-show)
6919 (with-temp-buffer-window): New functions.
6920 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6921 (special-display-popup-frame): Make sure the window used shows BUFFER.
6923 * help.el (temp-buffer-resize-mode): Fix doc-string.
6924 (resize-temp-buffer-window): New optional argument WINDOW.
6926 * files.el (recover-file, save-buffers-kill-emacs):
6927 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6929 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6931 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6932 remote definition of `default-directory', ensure we can connect.
6934 2012-09-02 Juri Linkov <juri@jurta.org>
6936 Toggle whitespace matching mode with M-s SPC.
6937 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6939 * isearch.el (search-whitespace-regexp): Doc fix.
6940 Remove cons cell customization.
6941 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6942 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6944 (isearch-forward, isearch-forward-regexp): Doc fix.
6945 (isearch-toggle-lax-whitespace): New command.
6946 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6947 (re-search-forward-lax-whitespace)
6948 (re-search-backward-lax-whitespace): New functions.
6949 (isearch-whitespace-regexp): Remove function.
6950 (isearch-query-replace): Let-bind replace-search-function and
6951 replace-re-search-function.
6952 (isearch-occur): Let-bind search-spaces-regexp according to the
6953 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6954 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6955 condition for C-q SPC.
6956 (isearch-search-fun-default): Use new functions mentioned above.
6957 (isearch-search-forward, isearch-search-backward): Remove functions.
6958 (isearch-search): Don't let-bind search-spaces-regexp.
6959 (isearch-lazy-highlight-space-regexp): Remove variable.
6960 (isearch-lazy-highlight-lax-whitespace)
6961 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6962 (isearch-lazy-highlight-new-loop): Use them.
6963 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6965 2012-09-02 Chong Yidong <cyd@gnu.org>
6967 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6969 2012-09-02 Glenn Morris <rgm@gnu.org>
6971 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6973 2012-09-01 Glenn Morris <rgm@gnu.org>
6975 * term.el: Tidy up menu definitions.
6976 (term-mode-map): Use easymenu for In/Out, Complete menus.
6977 (term-pager-break-map): Initialize in the defvar.
6978 (term-terminal-menu, term-signals-menu): Define with easymenu.
6979 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6980 (term-pager-menu): New, extracted from term-process-pager.
6981 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6982 (term-update-mode-line): Propertize line/char and page items.
6983 (term-process-pager): Move keymap initialization elsewhere.
6985 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6987 * window.el (switch-to-prev-buffer): Handle additional values of
6988 BURY-OR-KILL argument. Don't switch in minibuffer window.
6989 (switch-to-next-buffer): Don't switch in minibuffer window.
6990 (quit-restore-window): New function based on quit-window.
6991 Handle additional values of former KILL argument.
6992 (quit-window): Call quit-restore-window with appropriate
6993 interpretation of KILL argument.
6994 (display-buffer-below-selected): New buffer display action
6997 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6999 * minibuffer.el (completion-at-point-functions): Complete docstring
7002 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7004 Better seed support for (random).
7005 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7006 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7007 * play/mpuz.el, play/tetris.el, play/zone.el:
7008 * calc/calc-comb.el (math-init-random-base):
7009 * play/blackbox.el (bb-init-board):
7010 * play/life.el (life):
7011 * server.el (server-use-tcp):
7012 * type-break.el (type-break):
7013 Remove unnecessary call to (random t).
7014 * net/sasl.el (sasl-unique-id-function):
7015 Change (random t) to (random), now that the latter is more random.
7016 * play/life.el (life-initialized): Remove no-longer-needed var.
7018 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7020 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7021 Consider frame's buffer predicate when choosing the buffer.
7024 2012-08-30 Richard Stallman <rms@gnu.org>
7026 * simple.el (special-mode-map): Delete binding for `z'.
7028 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7030 * progmodes/compile.el (compilation-always-kill): Doc fix.
7032 2012-08-30 Chong Yidong <cyd@gnu.org>
7034 * window.el (display-buffer-reuse-frames): Make the obsolescence
7035 message more informative.
7037 2012-08-30 Glenn Morris <rgm@gnu.org>
7039 * paren.el (show-paren-delay):
7040 Add a :set function. Doc fix. (Bug#12297)
7042 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7044 * progmodes/compile.el (compilation-always-kill): New var.
7045 (compilation-start): Use it.
7047 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7049 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7050 * files.el (read-only-mode): Move to simple.el.
7052 * files.el (read-only-mode): New minor mode.
7053 (toggle-read-only): Use it and mark obsolete.
7054 (find-file--read-only):
7055 * vc/vc.el (vc-next-action, vc-checkout):
7056 * vc/vc-cvs.el (vc-cvs-checkout):
7057 * obsolete/vc-mcvs.el (vc-mcvs-update):
7058 * ffap.el (ffap--toggle-read-only): Update callers.
7060 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7062 * eshell/esh-ext.el (eshell-external-command): Do not examine
7063 remote shell scripts.
7064 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7066 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7069 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7073 2012-08-28 Leo Liu <sdl.web@gmail.com>
7075 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7076 completion-at-point. (Bug#12220)
7078 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7080 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7082 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7085 be buffer-local; add delete-trailing-whitespace (bug#12259).
7087 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7089 * progmodes/hideif.el (hif-compress-define-list):
7090 Fix typo. (Bug#11951)
7092 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7094 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7095 buffer local setting.
7097 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7098 rcirc-encode-coding-system.
7100 2012-08-28 Leo Liu <sdl.web@gmail.com>
7102 * net/rcirc.el (rcirc-split-message): New function.
7103 (rcirc-send-message): Use it. (Bug#12051)
7105 2012-08-28 Juri Linkov <juri@jurta.org>
7107 * info.el (Info-fontify-node): Hide empty lines at the end of
7108 the node. (Bug#12272)
7110 2012-08-27 Drew Adams <drew.adams@oracle.com>
7112 * dired.el (dired-pop-to-buffer): Make window start at beginning
7113 of buffer (Bug#12281).
7115 2012-08-26 Chong Yidong <cyd@gnu.org>
7117 * window.el (special-display-regexps, special-display-frame-alist)
7118 (special-display-buffer-names, special-display-function)
7119 (display-buffer-reuse-frames): Mark as obsolete.
7121 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7123 * help.el (help-print-return-message): Don't treat
7124 display-buffer-reuse-frames specially.
7126 2012-08-26 Chong Yidong <cyd@gnu.org>
7128 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7129 New variable, replacing gdb-frame-parameters.
7130 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7131 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7132 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7133 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7134 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7135 the functions directly with gdb-display-buffer-other-frame-action.
7136 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7137 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7138 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7139 (gdb-display-registers-buffer): Define directly.
7140 (def-gdb-display-buffer): Macro deleted.
7141 (gdb-display-buffer): Remove second and third args, callers don't
7142 use them. Defer to the default display-buffer behavior, apart
7143 from making windows dedicated.
7144 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7146 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7148 * window.el (display-buffer-pop-up-frame): Handle a
7149 pop-up-frame-parameters alist entry.
7150 (display-buffer): Document it.
7152 2012-08-26 Chong Yidong <cyd@gnu.org>
7154 * isearch.el (search-whitespace-regexp): Make string and nil
7155 values apply to both ordinary and regexp search. Allow a cons
7156 cell value to distinguish between the two.
7157 (isearch-whitespace-regexp, isearch-search-forward)
7158 (isearch-search-backward): New functions.
7159 (isearch-occur, isearch-search-fun-default, isearch-search)
7160 (isearch-lazy-highlight-new-loop): Use them.
7161 (isearch-forward, isearch-forward-regexp): Doc fix.
7163 2012-08-26 Chong Yidong <cyd@gnu.org>
7165 * faces.el (help-argument-name): Always inherit from italic
7168 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7170 * window.el (window--even-window-heights): Even heights when
7171 WINDOW and the selected window form a vertical combination.
7172 (display-buffer-use-some-window): Provide that window used gets
7173 sized back by quit-window. (Bug#11880) and (Bug#12091)
7175 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7177 Fix file time stamp problem with bzr and CVS (Bug#12001).
7178 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7179 in the file's time stamp, since the version control system loses
7182 2012-08-22 Juri Linkov <juri@jurta.org>
7184 * info.el (Info-fontify-node): Hide the suffix of the
7185 Info file name in the header line. (Bug#12187)
7187 2012-08-22 Glenn Morris <rgm@gnu.org>
7189 * calendar/cal-tex.el (cal-tex-weekly-common):
7190 Restore leading blank page.
7192 2012-08-22 Le Wang <l26wang@gmail.com>
7194 * misc.el (forward-to-word, backward-to-word): Activate or extend
7195 the region under `shift-select-mode'. (Bug#12231)
7197 2012-08-22 Bastien Guerry <bzg@gnu.org>
7199 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7200 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7201 gives details on why the space is never needed.
7203 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7205 * window.el (walk-window-tree, window-with-parameter):
7206 New optional argument MINIBUF to control whether these functions
7207 should run on the minibuffer window.
7208 (window-at-side-list): Don't operate on minibuffer window.
7209 (window-in-direction): Simplify and rewrite doc-string.
7210 (window--size-ignore): Rename to window--size-ignore-p.
7212 (display-buffer-in-atom-window, window--major-non-side-window)
7213 (window--major-side-window, display-buffer-in-major-side-window)
7214 (delete-side-window, display-buffer-in-side-window):
7216 (window--side-check, window-deletable-p, delete-window)
7217 (delete-other-windows, split-window): Handle side windows and
7218 atomic windows appropriately.
7219 (window--display-buffer): Call display-buffer-record-window also
7220 when the window buffer did not change.
7222 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7224 * help-fns.el (help-fns--key-bindings):
7225 Abbreviate non-symbol remap targets. (Bug#12174)
7227 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7229 * dired.el (dired-mark-remembered): Don't clobber point.
7232 2012-08-22 Glenn Morris <rgm@gnu.org>
7234 * progmodes/bug-reference.el (bug-reference): New custom group.
7235 (bug-reference-bug-regexp): Make it a defcustom.
7237 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7239 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7240 (js-paren-indent-offset, js-square-indent-offset)
7241 (js-curly-indent-offset): Add :safe (Bug#12257).
7243 2012-08-22 Edward O'Connor <hober0@gmail.com>
7245 * json.el (json-key-format): Add error properties.
7246 (json-encode-key): New function.
7247 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7248 Use json-encode-key.
7250 2012-08-22 Glenn Morris <rgm@gnu.org>
7252 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7253 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7254 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7255 Update for above change.
7257 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7259 * cus-face.el (custom-face-attributes): Fix customize type for the
7260 :underline attribute. (Bug#11805)
7262 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7264 * window.el (window-point-1, set-window-point-1): Remove.
7265 (window-in-direction, record-window-buffer)
7266 (set-window-buffer-start-and-point, split-window-below)
7267 (window--state-get-1, display-buffer-record-window):
7268 Replace calls to window-point-1 and set-window-point-1 by calls to
7269 window-point and set-window-point respectively.
7271 2012-08-21 Glenn Morris <rgm@gnu.org>
7273 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7274 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7277 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7278 (cal-tex-shortday): New function.
7279 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7280 (cal-tex-cursor-filofax-daily): Use the above.
7282 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7284 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7285 (cal-tex-cursor-filofax-week): Use them.
7287 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7289 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7290 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7292 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7293 (cal-tex-end-document): Don't rely on buffer name.
7295 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7297 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7298 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7299 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7302 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7303 (cal-tex-cursor-week, cal-tex-cursor-week2)
7304 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7305 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7306 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7307 (cal-tex-insert-preamble, cal-tex-b-document)
7308 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7309 Improve cal-tex-cmd usage.
7311 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7312 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7313 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7314 (cal-tex-weekly-paper): New function.
7315 (cal-tex-cursor-week, cal-tex-cursor-week2)
7316 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7317 (cal-tex-cursor-day): Use it.
7319 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7320 (cal-tex-cursor-filofax-week): Remove leading blank page.
7322 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7323 Add autoload cookie. For now at least, don't use color, since
7324 no other cal-tex function does.
7326 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7327 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7328 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7330 2012-08-21 Juri Linkov <juri@jurta.org>
7332 * info.el (Info-file-attributes): New variable.
7333 (info-insert-file-contents): Add file attributes to
7334 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7335 `Info-toc-nodes' when previous modtime of the Info file is less
7337 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7338 of info.el. (Bug#12230)
7340 2012-08-20 Glenn Morris <rgm@gnu.org>
7342 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7343 * calendar/holidays.el (calendar-holiday-list):
7344 Report errors with display-warning rather than beep'n'sleep.
7346 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7348 * net/tramp.el (tramp-accept-process-output): Accept only output
7349 from PROC. Otherwise, process filters and sentinels might be
7350 confused. (Bug#12145)
7352 2012-08-20 Chong Yidong <cyd@gnu.org>
7354 * descr-text.el (describe-text-properties-1): Use overlays-in to
7355 report on empty overlays (Bug#3322).
7357 2012-08-20 Glenn Morris <rgm@gnu.org>
7359 * mail/rmailout.el (rmail-output-read-file-name):
7360 Trap and report errors in rmail-output-file-alist elements.
7362 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7363 since most non-font-lock faces are not also variables).
7365 2012-08-20 Edward Reingold <reingold@iit.edu>
7367 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7368 New function. (Bug12160)
7370 2012-08-19 Glenn Morris <rgm@gnu.org>
7372 * mail/rmailout.el (rmail-output-read-file-name):
7373 Fix previous change (when the alist is nil or does not match).
7375 2012-08-19 Chong Yidong <cyd@gnu.org>
7377 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7380 2012-08-18 Chong Yidong <cyd@gnu.org>
7382 * simple.el (yank-handled-properties): New defcustom.
7383 (yank-excluded-properties): Add font-lock-face and category.
7386 * subr.el (remove-yank-excluded-properties):
7387 Obey yank-handled-properties. The special handling of font-lock-face
7388 and category is now done this way, instead of being hard-coded.
7389 (insert-for-yank-1): Remove font-lock-face handling.
7390 (yank-handle-font-lock-face-property)
7391 (yank-handle-category-property): New function.
7393 2012-08-17 Glenn Morris <rgm@gnu.org>
7395 * mail/rmailout.el (rmail-output-read-file-name):
7396 Check rmail-output-file-alist against the full message body
7397 in the correct rmail buffer. (Bug#12214)
7399 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7401 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7402 Eliminate superfluous prompt. (Bug#12203)
7404 2012-08-17 Chong Yidong <cyd@gnu.org>
7406 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7407 font spec, set the font directly (Bug#3228).
7409 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7411 * window.el (delete-window): Fix last fix.
7413 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7415 * window.el (window-valid-p): Move to window.c.
7416 (window-child, window-child-count, window-last-child)
7417 (window-normalize-window, window-combined-p)
7418 (window-combinations, window-atom-root, window-min-size)
7419 (window-sizable, window-sizable-p, window-size-fixed-p)
7420 (window-min-delta, window-max-delta, window--resizable)
7421 (window--resizable-p, window-resizable, window-total-size)
7422 (window-full-height-p, window-full-width-p, window-body-size)
7423 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7424 (minimize-window, window-deletable-p, delete-window)
7425 (delete-other-windows, set-window-buffer-start-and-point)
7426 (next-buffer, previous-buffer, split-window, balance-windows-2)
7427 (set-window-text-height, window-buffer-height)
7428 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7429 (truncated-partial-width-window-p): Minor code adjustments.
7430 In doc-strings state whether the argument window has to denote a
7431 live, valid or any window.
7433 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7435 * progmodes/subword.el (subword-forward-function)
7436 (subword-backward-function, subword-forward-regexp)
7437 (subword-backward-regexp): New variables.
7438 (subword-forward, subword-forward-internal, subword-backward-internal):
7439 Use new variables, eg so that different "word" definitions
7440 can be easily used. (Bug#11411)
7442 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7445 for composite selectors.
7446 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7447 operation just because we can't find a previous revision.
7449 2012-08-15 Chong Yidong <cyd@gnu.org>
7451 * frame.el (set-frame-font): Accept font objects.
7453 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7457 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7459 * man.el (Man-overstrike-face, Man-underline-face)
7460 (Man-reverse-face): Remove variables.
7461 (Man-overstrike, Man-underline, Man-reverse): New faces.
7462 (Man-fontify-manpage): Use them instead of the variables.
7463 (Man-cleanup-manpage): Comment change.
7464 (Man-ansi-color-map): New variable.
7465 (Man-fontify-manpage): Use it.
7466 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7468 Implement ANSI SGR parameters 22-27 (bug#12146).
7469 * ansi-color.el (ansi-colors): Doc fix.
7470 (ansi-color-context, ansi-color-context-region): Doc fix.
7471 (ansi-color--find-face): New function.
7472 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7473 Rename the local variable `face' to `codes' since it is now a list of
7474 ansi codes. Doc fix.
7475 (ansi-color-get-face): Remove.
7476 (ansi-color-parse-sequence): New function, derived from
7477 ansi-color-get-face.
7478 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7481 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7483 * subr.el (read-passwd): Allow use from a minibuffer.
7485 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7487 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7488 inside comments and strings as identifiers.
7490 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7491 expression to evaluate. This allows to evaluate expressions with
7492 embedded whitespace.
7493 (gud-tooltip-tips): Add a blank before the newline in the
7494 message-box text, for the benefit of message-box emulation on
7497 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7498 messages from GDB, pop them up in a tooltip to give feedback to
7500 (gdb-tooltip-print-1): Quote the expression to evaluate.
7501 This allows to evaluate expressions with embedded whitespace.
7502 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7503 if the TTY name is nil or empty (which happens when communicating
7504 with the inferior via pipes, e.g. on MS-Windows).
7505 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7506 don't send that to the GUD buffer.
7508 2012-08-14 Glenn Morris <rgm@gnu.org>
7510 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7511 Optimize away setq-default with no args, as for setq. (Bug#12195)
7513 2012-08-14 Chong Yidong <cyd@gnu.org>
7515 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7517 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7520 2012-08-14 Glenn Morris <rgm@gnu.org>
7522 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7524 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7526 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7527 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7528 Use cached shell name.
7530 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7532 * progmodes/python.el (python-shell-send-string):
7533 (python-shell-send-setup-code): Do not use `format' with `message'.
7535 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7537 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7538 (ruby-percent-literal-beg-re): New constant.
7539 (ruby-syntax-general-delimiters-goto-beg): Rename to
7540 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7541 (ruby-syntax-propertize-general-delimiters): Rename to
7542 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7543 popular term. Adjust comments everywhere.
7544 (ruby-syntax-propertize-percent-literal): Only propertize when not
7545 inside a simple string or comment. When the literal is unclosed,
7546 leave the text after it unpropertized.
7547 (ruby-syntax-methods-before-regexp): New constant.
7548 (ruby-syntax-propertize-function): Use it to recognize regexps.
7549 Don't look at the text after regexp, just use the whitelist.
7551 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7553 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7554 non-nil always load the compiled file if it exists. (Bug#12197)
7556 2012-08-14 Chong Yidong <cyd@gnu.org>
7558 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7559 (hi-lock-set-pattern): When deciding whether to use font lock or
7560 overlays, look at font-lock-mode instead of font-lock-fontified
7562 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7563 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7565 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7567 * subr.el (internal--after-with-selected-window): Fix typo
7570 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7572 Use `completion-table-dynamic' for completion functions.
7573 * progmodes/python.el
7574 (python-shell-completion--do-completion-at-point)
7575 (python-shell-completion--get-completions):
7577 (python-shell-completion-complete-at-point): New function.
7578 (python-completion-complete-at-point): Use it.
7580 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7582 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7583 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7585 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * subr.el (function-get): Refine `autoload' arg so it can also
7588 autoload functions for gv.el (bug#12191).
7589 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7592 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7593 Prefer pcase-let over destructuring-bind.
7594 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7595 Also, remove whitespace as we go, rather than after accumulating the
7598 * subr.el (internal--before-with-selected-window)
7599 (internal--after-with-selected-window): Fix typo seleted->selected.
7600 (with-selected-window): Adjust callers.
7601 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7603 2012-08-13 Bastien Guerry <bzg@gnu.org>
7605 * window.el (special-display-popup-frame): Minor docstring
7606 enhancement. (Bug#12172)
7608 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7610 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7612 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7615 * files.el (hack-local-variables-filter): Remove useless eval.
7617 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7619 * subr.el (with-selected-window): Fix last change.
7621 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * subr.el (internal--before-with-seleted-window)
7624 (internal--after-with-seleted-window): New functions.
7625 (with-selected-window): Use them, to replace dependency on
7628 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7630 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7631 binding for `newline'.
7632 (ruby-move-to-block): When moving backward, stop at block opening,
7634 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7635 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7636 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7637 `ruby-toggle-block'.
7639 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7641 * ibuffer.el (ibuffer-do-toggle-read-only):
7642 * dired.el (dired-toggle-read-only):
7643 * buff-menu.el (Buffer-menu-toggle-read-only):
7644 * bindings.el (mode-line-toggle-read-only):
7645 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7647 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7649 * descr-text.el (describe-char): Put the overlays over the
7650 "displayed as" character.
7652 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7654 * calc/calc-units.el (math-default-units-table): Give an
7656 (math-put-default-units): Add options to put composite units and
7657 unit systems in the default units table.
7658 (calc-convert-units): Send composite units to
7659 `math-put-default-units' when appropriate.
7661 2012-08-11 Glenn Morris <rgm@gnu.org>
7663 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7665 * tutorial.el (help-with-tutorial):
7666 * emacs-lisp/copyright.el (copyright-update-directory):
7667 * emacs-lisp/autoload.el (autoload-find-generated-file)
7668 (autoload-find-file): Disable local eval: (for insurance).
7670 * files.el (hack-local-variables-filter): If an eval: form is not
7671 known to be safe, and enable-local-variables is :safe, then ignore
7672 the form totally, as is done for non-eval forms. (Bug#12155)
7673 This is CVE-2012-3479.
7675 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7678 (rx-form): Simplify.
7680 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7682 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7683 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7684 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7685 (ruby-syntax-propertize-function): Adjust for changes in
7686 `ruby-syntax-propertize-heredoc'.
7688 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7690 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7691 binding (use `M-;' instead).
7692 (ruby-singleton-class-p): New function.
7693 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7695 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7699 2012-08-10 Chong Yidong <cyd@gnu.org>
7701 * progmodes/python.el (python-shell-get-process-name): Don't mess
7702 with same-window-buffer-names.
7704 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7705 (eshell-remove-from-window-buffer-names): Make obsolete.
7706 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7707 (eshell): Just use pop-to-buffer-same-window instead.
7709 2012-08-10 Chong Yidong <cyd@gnu.org>
7711 * bindings.el: Bind M-= back to count-words-region.
7713 * simple.el (count-words-region): Accept a prefix arg for acting
7714 on the entire buffer.
7715 (count-words--buffer-message): New helper function.
7717 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7719 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7720 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7721 (event-start, event-end): Use posn-at-point to return a more
7723 (posnp): New function.
7724 * mouse.el (popup-menu-normalize-position): Use it.
7726 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7728 * mouse.el (popup-menu-normalize-position): New function.
7729 (popup-menu): Use `popup-menu-normalize-position' to normalize
7730 the form for POSITION argument.
7732 * term/x-win.el (x-menu-bar-open):
7733 Use the value returend from (posn-at-point) as position
7734 passed to `popup-menu'.
7736 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7738 * calc/calccomp.el (math-compose-expr): Add extra argument
7739 indicating that parentheses should be put around products in
7740 denominators. Give multiplication precedence over division during
7743 2012-08-09 Chong Yidong <cyd@gnu.org>
7745 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7746 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7747 (Man-untabify-command, manual-program): Convert to defcustom
7750 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7752 * descr-text.el (describe-char): Don't insert extra newlines
7755 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7756 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7758 * align.el (align-region): Delete temporary markers (Bug#10047).
7759 Plus some code cleanups.
7761 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7763 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7764 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7765 (python-shell-internal-last-output): Use make-local-variable
7766 instead of make-variable-buffer-local.
7768 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7770 * progmodes/python.el: Enhancements to forward-sexp.
7771 (python-nav-forward-sexp): Rename from
7772 python-nav-forward-sexp-function.
7773 (python-nav--forward-sexp, python-nav--backward-sexp):
7776 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7778 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7779 modes and simplification modes.
7781 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * delsel.el (delete-selection-pre-hook): Don't propagate the
7784 file-supersession signals (bug#12161).
7786 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7789 (cl-map-extents): Add compatibility aliases (bug#12135).
7791 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7793 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7794 tests by `ignore-error'.
7795 (tramp-find-shell): Open also a new shell, when cache is already
7796 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7798 2012-08-08 Juri Linkov <juri@jurta.org>
7800 * bookmark.el: Add `defaults' property to the bookmark record.
7801 (bookmark-current-buffer): Doc fix.
7802 (bookmark-make-record): Add `defaults' property with default values
7803 to the bookmark record.
7804 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7805 with `bookmark-insert-current-bookmark'.
7806 (bookmark-set): Get `defaults' property from the bookmark record
7807 and use it in `read-from-minibuffer'.
7808 (bookmark-insert-current-bookmark): Remove function.
7810 * info.el (Info-bookmark-make-record): Add `defaults' property
7811 with values of canonical Info node name, the current Info file
7812 name and the current Info node name. (Bug#12107)
7814 2012-08-08 Juri Linkov <juri@jurta.org>
7816 * files.el (basic-save-buffer): Use `buffer-name' as the default
7817 of `read-file-name' when buffer is not visiting a file (bug#12128).
7819 2012-08-08 Juri Linkov <juri@jurta.org>
7821 * info.el (Info-isearch-search): Doc fix.
7822 (Info-search): Change search-failed message from "initial node" to
7823 "end of node" (bug#12078).
7824 (Info-isearch-search): Change `isearch-string-state' to
7825 `isearch--state-string'.
7827 2012-08-08 Glenn Morris <rgm@gnu.org>
7829 * language/persian.el: Remove file.
7830 * language/misc-lang.el: Move unique part of persian.el here.
7831 * loadup.el: Remove language/persian.
7833 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7835 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7837 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7839 * progmodes/python.el: Fix defsubst warning.
7840 (python-syntax-context) Rename from python-info-ppss-context.
7841 (python-syntax-context-type): Rename from
7842 python-info-ppss-context-type.
7843 (python-syntax-comment-or-string-p): Rename from
7844 python-info-ppss-comment-or-string-p.
7846 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7848 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7850 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7852 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7853 a defcustom that is quoted with backquote.
7855 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7856 Fix handling of interactive spec when the body uses return.
7857 (math-do-arg-check, math-define-function-body): Use backquote forms.
7858 * calc/calc-ext.el (math-defcache): Likewise.
7859 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7860 * allout.el (allout-new-exposure): Likewise.
7861 * calc/calcalg2.el (math-tracing-integral): Likewise.
7862 * info.el (Info-last-menu-item): Likewise.
7863 * emulation/vip.el (vip-loop): Likewise.
7864 * textmodes/artist.el (artist-funcall): Likewise.
7865 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7866 Construct menu-item directly.
7868 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7871 2012-08-07 Chong Yidong <cyd@gnu.org>
7873 * simple.el (deactivate-mark): Preserve text properties when
7874 saving the primary selection (Bug#8384).
7876 2012-08-07 Kevin Ryde <user42@zip.com.au>
7878 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7879 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7880 and continue processing (Bug#12110).
7882 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7885 syntax-propertize-function (bug#10095).
7887 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7889 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7890 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7891 describe-function-1.
7892 (describe-function-1): Use them. Move compiler macro after sig.
7893 (help-fns--compiler-macro): Use function-get. Assume we're already in
7894 standard-output. Adjust layout to new call order.
7896 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7897 re-binding a symbol that has a symbol-macro (bug#12119).
7899 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7901 * language/persian.el: New file. (Bug#11812)
7902 * loadup.el: Add language/persian.el.
7904 2012-08-06 Chong Yidong <cyd@gnu.org>
7906 * window.el (window--maybe-raise-frame): New function.
7907 (window--display-buffer): Split off from here.
7908 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7909 (display-buffer-pop-up-window, display-buffer-use-some-window):
7910 Obey an inhibit-switch-frame action alist entry.
7911 (display-buffer): Update doc.
7913 * replace.el (occur-after-change-function): Avoid losing focus by
7914 using the inhibit-switch-frame display parameter (Bug#12139).
7916 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7918 Make internal shell process buffer names start with space.
7919 * progmodes/python.el (python-shell-make-comint): Add optional
7921 (run-python-internal): Use it.
7922 (python-shell-internal-get-or-create-process): Check for new
7923 internal buffer names.
7925 2012-08-06 Glenn Morris <rgm@gnu.org>
7927 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7928 Do less getting and setting of environment variables.
7930 2012-08-05 Chong Yidong <cyd@gnu.org>
7932 * proced.el (proced): Add substitution string to docstring to
7933 trigger autoloading of the proced library on C-h f (Bug#1768).
7935 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7936 Don't show defvars which have no second argument (Bug#8638).
7938 * imenu.el (imenu-generic-expression): Move documentation here
7939 from imenu--generic-function.
7940 (imenu--generic-function): Refer to imenu-generic-expression.
7942 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7944 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7945 indentation declaration.
7946 (viper-loop): Add indentation declaration (Bug#7025).
7948 2012-08-05 Chong Yidong <cyd@gnu.org>
7950 * help-fns.el (describe-variable): Add hyperlink for
7951 directory-local variables files. Improve buffer-local and
7952 permanent-local reporting; suggested by MON KEY (Bug#6644).
7954 * help-mode.el (help-dir-local-var-def): New button type.
7956 * files.el (kill-buffer-hook): Provide a defvar.
7958 2012-08-05 Glenn Morris <rgm@gnu.org>
7960 * eshell/esh-ext.el (eshell/addpath):
7961 Also update eshell-path-env. (Bug#12013)
7963 2012-08-05 Chong Yidong <cyd@gnu.org>
7965 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7967 * fringe.el (fringe-styles): Add docstring.
7968 (fringe--check-mode): New function.
7969 (set-fringe-mode, set-fringe-style): Use it.
7970 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7972 * files.el (set-auto-mode): Fix invalid setq call.
7974 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7976 * isearch.el: Misc simplification; use defstruct.
7977 (isearch-mode-map): Dense maps now work like sparse ones.
7978 (isearch--state): New defstruct.
7979 (isearch-string-state, isearch-message-state, isearch-point-state)
7980 (isearch-success-state, isearch-forward-state)
7981 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7982 (isearch-wrapped-state, isearch-barrier-state)
7983 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7984 replaced by defstruct's accessors.
7985 (isearch--set-state): Rename from isearch-top-state and change
7987 (isearch-push-state): Use new isearch--get-state.
7988 (isearch-toggle-word): Disable regexp when enabling word.
7989 (isearch-message-prefix): Remove unused arg _c-q-hack.
7990 (isearch-message-suffix): Remove unused arg _ellipsis.
7992 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7994 * simple.el (list-processes--refresh): For a server use :host or
7995 :local as the address.
7996 (list-processes): Doc fix.
7998 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8000 * lisp/mpc.el: Support password in host argument.
8001 (mpc--proc-connect): Parse and use new password element.
8002 Set mpc-proc variable instead of returning process.
8003 (mpc-proc): Adjust accordingly.
8005 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8007 * whitespace.el (whitespace-display-mappings): Use Unicode
8008 codepoints, instead of emacs-mule codepoints. See
8009 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8012 * files.el (file-truename): Don't skip symlink-chasing part on
8013 windows-nt. Incorporate the resolution of 8+3 short aliases on
8014 Windows into the loop that recursively chases symlinks.
8015 Compare directory and its parent case-insensitively on MS-Windows and
8018 2012-08-03 Chong Yidong <cyd@gnu.org>
8020 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8022 * sort.el (sort-regexp-fields): Doc fix.
8024 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8026 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8027 labels regex position point at the expected place.
8029 2012-08-03 MON KEY <monkey@sandpframing.com>
8031 * net/imap.el (imap-interactive-login, imap-authenticate)
8032 (imap-mailbox-lsub, imap-mailbox-list)
8033 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8034 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8035 (imap-parse-response): Doc fix.
8037 2012-08-03 João Távora <joaotavora@gmail.com>
8039 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8040 if sexp scanning does not move point (Bug#5734).
8042 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8044 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8045 Add listings, minted, and ctable packages.
8046 (reftex-label-alist-builtin): Move listings, minted, and ctable
8047 entries before LaTeX.
8048 (reftex-label-alist): Docfix.
8050 2012-08-02 Bastien Guerry <bzg@gnu.org>
8052 * replace.el (occur): Fix docstring (bug#12122).
8054 2012-08-02 Glenn Morris <rgm@gnu.org>
8056 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8058 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8060 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8061 * international/mule-cmds.el: Create
8062 inactivate-current-input-method-function as an obsolete alias for
8063 deactivate-current-input-method-function. See Katsumi Yamaoka in
8064 <http://bugs.gnu.org/10150#46>.
8066 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8068 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8071 2012-08-01 Glenn Morris <rgm@gnu.org>
8073 * progmodes/autoconf.el (autoconf-definition-regexp):
8074 Add AH_TEMPLATE, adjust submatch numbering.
8075 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8076 (autoconf-current-defun-function): Update for above change.
8077 (autoconf-current-defun-function): First skip to end of current word.
8079 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8081 * calendar/cal-html.el (cal-html-insert-agenda-days):
8082 Fix typo. (Bug#12018)
8084 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8086 Shell processes: enhancements to startup and CEDET compatibility.
8087 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8088 (python-shell-make-comint): accept-process-output at startup.
8089 (run-python-internal): Set inferior-python-mode-hook to nil.
8090 (python-shell-internal-get-or-create-process): call sit-for.
8091 (python-preoutput-result): Add obsolete alias.
8092 (python-shell-internal-send-string): Use it.
8093 (python-shell-send-setup-code): Remove call to
8094 accept-process-output.
8096 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8098 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8101 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8103 * calc-mode.el (calc-basic-simplification-mode): Rename from
8104 `calc-limited-simplification-mode'.
8105 (calc-alg-simplification-mode): New function.
8106 (calc-set-simplify-mode): Adjust message.
8108 * calc.el (calc-set-mode-line): Adjust mode line display for
8109 basic simplification mode.
8111 * calc-help.el (calc-m-prefix-help): Update help message.
8113 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8114 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8116 2012-07-31 Bastien Guerry <bzg@gnu.org>
8118 * man.el (man): Fix comment. (bug#12101)
8120 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8122 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8123 Don't return a non-nil value when no suitable buffer was found.
8125 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8127 * progmodes/python.el (run-python-internal): Disable font lock for
8130 2012-07-30 Stefan Merten <smerten@oekonux.de>
8132 * textmodes/rst.el: Silence `checkdoc-ispell'.
8133 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8134 (rst-official-version, rst-official-cvs-rev)
8135 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8136 (rst-mode-map): New key binding.
8138 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8140 Update .PHONY listings in makefiles.
8141 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8142 autoloads, update-subdirs, updates, bzr-update, update-authors,
8143 compile-onefile, compile-calc, backup-compiled-files,
8144 compile-after-backup, compile-one-process, mh-autoloads,
8145 bootstrap-clean, distclean, maintainer-clean.
8147 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8149 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8150 (calc-set-mode-line): Don't display "AlgSimp ".
8152 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8153 (calc-lim-simplify-mode): New function.
8154 (calc-set-simplify-mode): Default to 'alg.
8155 (calc-default-simplify-mode): Make algebraic simplifications
8158 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8159 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8161 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8162 indicate new simplification modes.
8164 * calc/README: Mention new default simplification mode.
8166 * calc/calc.el (math-normalize-error): New variable.
8167 (math-normalize): Set `math-normalize-error' to t
8168 when there's an error.
8170 * calc/calc-alg.el (math-simplify): Don't simplify when
8171 `math-normalize' returns an error.
8173 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8175 * international/mule-cmds.el (set-locale-environment): Revert last
8176 change, since display-graphic-p returns nil when this function is
8177 called during startup. Instead...
8179 * term/w32console.el (terminal-init-w32console): ...setup the
8180 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8182 2012-07-29 Juri Linkov <juri@jurta.org>
8184 * simple.el (goto-line): Don't display default line number in the
8185 prompt because it should be displayed by `read-number' (bug#9952).
8186 Add the current line number to the defaults of `goto-line' to
8187 allow its easier modification by users with `M-n' (bug#9201).
8189 * subr.el (read-number): Support multiple default values like in
8190 other minibuffer reading functions. Replace `read' with
8191 `string-to-number' for consistency with `number-to-string'.
8193 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8195 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8196 * emulation/viper-init.el (viper-deactivate-input-method-action):
8197 Rename from viper-inactivate-input-method-action.
8198 (viper-deactivate-input-method):
8199 Rename from viper-inactivate-input-method.
8200 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8201 * international/mule-cmds.el (deactivate-input-method):
8202 Rename from inactivate-input-method.
8203 Also run input-method-deactivate-hook.
8204 (deactivate-current-input-method-function):
8205 Rename from inactivate-current-input-method-function.
8206 (input-method-deactivate-hook): New hook.
8207 (input-method-inactivate-hook): Mark obsolete.
8208 (inactivate-input-method): Mark obsolete.
8210 * international/quail.el (quail-activate):
8211 Also run quail-deactivate-hook.
8212 (quail-deactivate): Rename from quail-inactivate.
8213 * international/robin.el (robin-activate):
8214 Also run robin-deactivate-hook.
8215 (robin-deactivate): Rename from robin-inactivate.
8217 2012-07-29 Chong Yidong <cyd@gnu.org>
8219 * simple.el (indicate-copied-region): New function.
8220 (kill-ring-save): Split off from here.
8222 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8223 (kill-rectangle): Set deactivate-mark to t on read-only error.
8225 * register.el (copy-to-register, copy-rectangle-to-register):
8226 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8227 (append-to-register, prepend-to-register): Call indicate-copied-region.
8229 2012-07-29 Juri Linkov <juri@jurta.org>
8231 * simple.el (async-shell-command-buffer): New defcustom.
8232 (shell-command): Use it. (Bug#4719)
8234 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8236 * international/mule-cmds.el (set-locale-environment): In a
8237 console session on MS-Windows, set up keyboard and terminal
8238 encoding from the OEM codepage, not the ANSI codepage.
8241 2012-07-28 Chong Yidong <cyd@gnu.org>
8243 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8246 2012-07-28 Leo Liu <sdl.web@gmail.com>
8248 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8249 the alist (bug#12029).
8251 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8253 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8254 (compile-always, compile-first)
8255 ($(lisp)/calendar/cal-loaddefs.el)
8256 ($(lisp)/calendar/diary-loaddefs.el)
8257 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8258 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8259 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8260 instead of on update-subdirs.
8261 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8263 2012-07-28 Chong Yidong <cyd@gnu.org>
8265 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8266 directory if vc-deduce-backend returns nil (Bug#7350).
8268 * simple.el (delete-trailing-lines): New option.
8269 (delete-trailing-whitespace): Obey it (Bug#11879).
8271 2012-07-28 David Engster <deng@randomsample.de>
8273 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8274 Explanation of new 'symbol-qnames feature in doc-strings.
8275 (xml-maybe-do-ns): Return expanded names as plain symbols if
8276 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8277 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8279 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8281 Consistent completion in inferior python with emacs -nw.
8282 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8283 binding in inferior-python-mode-map with "\t".
8284 (python-shell-completion-complete-at-point)
8285 (python-completion-complete-at-point): Remove interactive spec.
8287 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8289 * calc/calccomp.el (math-compose-expr): Undo previous change.
8291 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8293 * progmodes/python.el (python-mode-map): Add keybinding for
8295 (python-shell-make-comint): Fix pop-to-buffer call.
8296 (run-python): Autoload. New arg SHOW.
8297 (python-shell-get-or-create-process): Do not pop python process
8300 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8302 * notifications.el (notifications-on-action-signal)
8303 (notifications-on-closed-signal): Use also the bus address for the map.
8304 (notifications-notify, notifications-close-notification)
8305 (notifications-get-capabilities): Add optional argument BUS.
8307 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8309 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8310 Add support for the lstlisting and minted environments, and for the
8312 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8313 labels written in keyvals syntax.
8315 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8317 * calc/calccomp.el (math-compose-expr): Use parentheses when
8318 there is a product in the denominator of a fraction.
8320 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8322 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8323 ($(lisp)/calendar/diary-loaddefs.el)
8324 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8325 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8326 Fixes failures in parallel bootstrap because subdirs.el is being
8327 rewritten while the autoload files are built at the same time,
8328 which needs to load subdirs.el.
8330 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8332 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8333 (mouse-drag-line): Don't exit tracking when a switch-frame or
8334 switch-window event occurs (Bug#12006).
8336 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * mouse.el (popup-menu): Fix last change.
8340 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8342 Autoload from Lisp with more care. Follow aliases when looking for
8343 function properties.
8344 * subr.el (autoloadp): New function.
8345 (symbol-file): Use it.
8346 (function-get): New function.
8347 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8349 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8350 (lisp-indent-function):
8351 * emacs-lisp/gv.el (gv-get):
8352 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8353 * emacs-lisp/byte-opt.el (byte-optimize-form):
8354 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8355 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8357 * emacs-lisp/cl.el: Don't propagate function properties any more.
8359 * speedbar.el (speedbar-add-localized-speedbar-support):
8360 * emacs-lisp/disass.el (disassemble-internal):
8361 * desktop.el (desktop-load-file):
8362 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8363 (describe-function-1):
8364 * emacs-lisp/find-func.el (find-function-noselect):
8365 * emacs-lisp/elp.el (elp-instrument-function):
8366 * emacs-lisp/advice.el (ad-has-proper-definition):
8367 * apropos.el (apropos-safe-documentation, apropos-macrop):
8368 * emacs-lisp/debug.el (debug-on-entry):
8369 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8370 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8371 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8373 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8375 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8376 function, not an obsolete variable (Bug#12046).
8378 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8380 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8382 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8384 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8385 window only if it is still live (Bug#12034).
8387 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8389 * subr.el (redirect-frame-focus): Add advertised calling
8390 convention (Bug#12030).
8392 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8394 Prefer typical American spelling for "acknowledgment".
8395 * vc/add-log.el (change-log-acknowledgment): Rename from
8396 change-log-acknowledgement, with an alias for the old name.
8398 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8400 * calc-alg.el (math-simplify-divide): Don't cross multiply
8401 in an equation when the lhs is a variable.
8403 2012-07-24 Julien Danjou <julien@danjou.info>
8405 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8408 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8410 * startup.el (command-line): Don't display an empty user name in
8411 the error message about non-existent home directory, when
8412 init-file-user was set to an empty string. See
8413 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8414 for the details and context.
8416 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8418 * ses.el (ses-cell-formula-aset): New macro.
8419 (ses-cell-references-aset): New macro.
8420 (ses-cell-p): New function.
8421 (ses-rename-cell): Do no longer rely on complex operations like
8422 ses-cell-set-formula or ses-set-cell to change the cell and handle
8423 the undo at the same time, but rather use lower level new macros
8424 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8425 the undo directly. Refresh the mode line.
8427 2012-07-21 Leo Liu <sdl.web@gmail.com>
8429 * progmodes/cc-cmds.el (c-defun-name):
8430 Use match-string-no-properties instead for consistency.
8432 2012-07-20 Leo Liu <sdl.web@gmail.com>
8434 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8437 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8439 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8441 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8442 * progmodes/bug-reference.el, misearch.el: Provide themselves
8445 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8446 of narrowed buffer (bug#11966).
8448 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8450 * ses.el (ses-rename-cell): Set new name also in reference list of
8451 cells of which the renamed cell depends.
8453 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8455 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8456 to check whether menu-bar is shown or not. If not shown,
8457 show the menu-bar as a popup menu instead of using tmm.
8458 * mouse.el (popup-menu): Accept `point' as `position' argument.
8460 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8462 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8463 up inside string symbol literal (bug#11923).
8465 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8467 * startup.el (fancy-startup-text): Read the whole tutorial, not
8468 just its first 256 bytes. Prevents gibberish in display of the
8471 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8473 Drop idle buffer compaction due to an absence of the
8475 * compact.el: Remove.
8477 2012-07-19 Sam Steingold <sds@gnu.org>
8479 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8480 vc-bzr-pull & vc-bzr-merge-branch.
8481 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8482 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8483 for consistency with compilation-error-regexp-alist.
8484 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8485 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8486 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8487 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8489 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * emacs-lisp/chart.el: Use lexical-binding.
8492 (chart-emacs-storage): Don't hardcode the list of entries.
8494 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8496 Next round of tweaks caused by Fgarbage_collect changes.
8497 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8499 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8501 Compact buffers when idle.
8502 * compact.el: New file.
8504 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * subr.el (eventp): Presume that if it looks vaguely like an event,
8507 it's an event (bug#10190).
8509 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8511 Enhancements to ppss related code (thanks Stefan).
8512 * progmodes/python.el (python-indent-context)
8513 (python-indent-calculate-indentation, python-indent-dedent-line)
8514 (python-indent-electric-colon, python-nav-forward-block)
8515 (python-mode-abbrev-table)
8516 (python-info-assignment-continuation-line-p): Simplify checks
8518 (python-info-continuation-line-p): Cleanup.
8519 (python-info-ppss-context): Do not catch 'quote.
8520 (python-info-ppss-context-type)
8521 (python-info-ppss-comment-or-string-p): Simplify.
8523 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8525 * progmodes/python.el: Enhancements to eldoc support.
8526 (python-info-current-symbol): New function.
8527 (python-eldoc-at-point): Use python-info-current-symbol.
8528 (python-info-current-defun): Fix cornercase on first defun scan.
8529 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8530 and signal error when no inferior python process is available.
8532 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8534 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8535 assume it's always t.
8536 (vc-git-registered): Remove caching, the function is only called
8538 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8540 2012-07-18 Chong Yidong <cyd@gnu.org>
8542 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8544 * simple.el (count-words): Report on narrowing (Bug#9959).
8546 * bindings.el: Bind M-= to count-words.
8548 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8550 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8552 * progmodes/sh-script.el (sh-imenu-generic-expression):
8553 Capture a function with `function' keyword and without parentheses
8554 like "function FOO" (bug#11856).
8556 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8558 * window.el (split-window-sensibly): Make WINDOW argument
8561 2012-07-18 Chong Yidong <cyd@gnu.org>
8563 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8565 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8566 and make C-x 8 RET exit isearch (Bug#11439).
8568 * international/iso-transl.el: Move isearch-mode-map key
8569 definitions to isearch.el.
8571 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8574 (eieio-defclass): Use gv-define-setter when possible.
8576 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8578 Reflect recent changes in Fgarbage_collect.
8579 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8580 reflect new format of data returned by Fgarbage_collect.
8582 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8584 New utility functions + python-info-ppss-context fix (Bug#11910).
8585 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8586 (python-info-ppss-comment-or-string-p): New functions.
8587 (python-info-ppss-context): Small fix for string check.
8589 2012-07-17 Juri Linkov <juri@jurta.org>
8591 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8592 (dired-do-async-shell-command): Don't add `*' at the end of the
8593 command (Bug#11815).
8594 (dired-do-shell-command): Doc fix.
8595 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8596 Join the individual commands using either "&" or ";" as the
8597 separator depending on the values of these trailing characters.
8598 At the end re-add the trailing "&". (Bug#10598)
8600 * simple.el (async-shell-command): Sync the interactive spec with
8601 `shell-command'. Doc fix.
8602 (shell-command): Doc fix.
8604 2012-07-17 Juri Linkov <juri@jurta.org>
8606 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8608 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8610 Final renames and doc fixes for movement commands (bug#11899).
8611 * progmodes/python.el (python-nav-beginning-of-statement):
8612 Rename from python-nav-statement-start.
8613 (python-nav-end-of-statement): Rename from
8614 python-nav-statement-end.
8615 (python-nav-beginning-of-block): Rename from
8616 python-nav-block-start.
8617 (python-nav-end-of-block): Rename from python-nav-block-end.
8619 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8621 * progmodes/python.el (python-shell-send-string-no-output):
8622 Allow accept-process-output to quit, keeping shell process ready for
8623 future interactions (Bug#11868).
8625 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8629 * emacs-lisp/elint.el (elint-find-args-in-code):
8630 Use help-function-arglist, so as to handle lexical byte-code.
8632 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8635 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8638 Avoid spuriously marking the buffer as modified because of c-is-sws.
8640 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8641 as not-a-comment (bug#11946).
8643 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8644 for uninterned vars.
8646 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8647 Use read-event since we don't really want to read chars but bytes.
8649 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8650 $$..$$ but also $..$ using regexps (bug#11953).
8651 Use tex-verbatim for \url and \path.
8652 (tex-font-lock-keywords): Define as defconst like the others.
8653 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8655 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8657 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8658 alias for insert-char.
8660 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8662 * progmodes/python.el: Simplified imenu implementation.
8663 (python-nav-jump-to-defun): Remove command.
8664 (python-mode-map): Use `imenu' instead.
8665 (python-nav-list-defun-positions-cache)
8666 (python-imenu-include-defun-type, python-imenu-make-tree)
8667 (python-imenu-subtree-root-label, python-imenu-index-alist):
8669 (python-nav-list-defun-positions, python-nav-read-defun)
8670 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8671 (python-imenu-make-tree, python-imenu-create-index):
8673 (python-mode): Update to interact with imenu by setting
8674 `imenu-extract-index-name-function' only.
8676 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8678 * progmodes/python.el: Enhancements to navigation commands.
8679 (python-nav-backward-sentence)
8680 (python-nav-forward-sentence): Remove.
8681 (python-nav-backward-statement, python-nav-forward-statement)
8682 (python-nav-statement-start, python-nav-statement-end)
8683 (python-nav-backward-block, python-nav-forward-block)
8684 (python-nav-block-start, python-nav-block-end)
8685 (python-nav-forward-sexp-function)
8686 (python-info-current-line-comment-p)
8687 (python-info-current-line-empty-p): New functions.
8688 (python-indent-context): Use `python-nav-statement-start'.
8690 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8692 * eshell/em-ls.el (eshell/ls): Use `apply'.
8694 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8695 multi-hops, instead of Tramp internals.
8697 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8699 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8700 when F1 and F2 are located on different hosts.
8702 2012-07-14 Chong Yidong <cyd@gnu.org>
8704 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8705 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8706 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8707 (xterm-mouse--read-event-sequence-1000)
8708 (xterm-mouse--read-event-sequence-1006): New functions. For old
8709 mouse protocol, handle M-mouse-X events correctly.
8710 (xterm-mouse-event): New arg specifying mouse protocol.
8711 (turn-on-xterm-mouse-tracking-on-terminal)
8712 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8713 sequence to toggle extended coordinates on newer XTerms.
8714 This appears to be harmless on terminals which do not support this.
8716 2012-07-14 Leo Liu <sdl.web@gmail.com>
8718 Add fringe bitmap indicators for flymake. (Bug#11253)
8719 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8720 (flymake-make-overlay): New arg BITMAP.
8721 (flymake-error-bitmap, flymake-warning-bitmap)
8722 (flymake-fringe-indicator-position): New user variables.
8724 * fringe.el: New bitmap exclamation-mark.
8726 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8728 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8731 2012-07-14 Chong Yidong <cyd@gnu.org>
8733 * electric.el (electric-pair-post-self-insert-function): Fix pair
8734 insertion in empty-region case (Bug#11520).
8736 2012-07-14 Chong Yidong <cyd@gnu.org>
8738 * bindings.el: Consolidate ctl-x-r-map bindings.
8739 Bind copy-rectangle-as-kill to C-x r w.
8741 * rect.el, register.el: Move bindings to bindings.el.
8743 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8745 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8747 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8749 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8751 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8753 * bindings.el (top): Use `mapc' instead of `mapcar'.
8755 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8757 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8759 * progmodes/sql.el (sql-comint): Suppress the check for program on
8760 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8763 2012-07-13 Chong Yidong <cyd@gnu.org>
8765 * bindings.el: Assign a non-nil permanent-local property to
8766 per-buffer variables which lack a default value (Bug#11930).
8768 * help-fns.el (describe-variable): In the "automatically becomes
8769 local" notice, take note of permanent-local variables.
8771 2012-07-13 Chong Yidong <cyd@gnu.org>
8773 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8774 to allow printing the message when called from Lisp.
8776 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8777 Remove toggle-read-only.
8779 * bs.el (bs-toggle-readonly):
8780 * buff-menu.el (Buffer-menu-toggle-read-only):
8781 Remove with-no-warnings around toggle-read-only.
8783 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8784 Remove with-no-warnings around toggle-read-only.
8785 (ffap-read-only, ffap-read-only-other-window)
8786 (ffap-read-only-other-frame): Callers changed.
8788 * help-mode.el: Don't require view package.
8789 (help-mode-finish): Set buffer-read-only instead of calling
8792 * bindings.el (mode-line-toggle-read-only):
8793 * dired.el (dired-toggle-read-only):
8794 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8795 with non-nil second arg.
8797 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8798 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8801 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8803 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8806 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8808 More CL cleanups and reduction of use of cl.el.
8809 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8810 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8811 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8812 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8813 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8814 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8815 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8816 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8817 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8818 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8819 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8820 * eshell/em-cmpl.el, eshell/em-banner.el:
8821 * calendar/parse-time.el: Use cl-lib.
8822 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8823 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8824 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8825 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8826 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8827 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8828 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8829 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8830 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8831 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8832 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8833 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8834 `lambda' rather than with `quote'.
8835 (eshell-do-opt): Adjust accordingly.
8836 (eshell-process-option): Simplify.
8837 * eshell/esh-var.el:
8838 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8839 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8840 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8841 to `pcase--dontcare'.
8842 * emacs-lisp/cl.el (labels): Mark obsolete.
8843 (cl--letf, letf): Move to cl-lib.
8844 (cl--letf*, letf*): Remove.
8845 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8846 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8847 (cl-progv): Rewrite.
8848 (cl--letf, cl-letf): Move from cl.el.
8849 (cl-letf*): New macro.
8850 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8852 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8854 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8856 2012-07-11 Chong Yidong <cyd@gnu.org>
8858 * vc/log-edit.el (log-edit-vc-backend): New variable.
8859 (log-edit): Doc fix.
8861 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8862 argument of log-edit to set up all local variables.
8863 (vc-start-logentry): New optional arg specifying VC backend.
8865 * vc/vc.el (vc-checkin): Use it.
8866 (vc-deduce-fileset): Handle Log Edit buffers.
8867 (vc-diff): Make first argument optional too.
8869 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8871 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8873 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8874 command, just in case. The function is not needed anymore.
8875 (eshell-external-command): Do not call `eshell-remote-command'.
8877 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8879 Reduce use of (require 'cl).
8880 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8881 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8882 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8883 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8884 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8885 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8886 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8887 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8888 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8889 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8890 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8891 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8892 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8893 (byte-compile-unfold-bcf, byte-compile-check-variable):
8894 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8895 (byte-compile-nilconstp):
8896 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8897 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8899 * emacs-lisp/gv.el (cond): Make it a valid place.
8900 (if): Simplify slightly.
8902 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8903 (pcase--self-quoting-p): New function.
8904 (pcase--u1): Use it.
8906 2012-07-10 Glenn Morris <rgm@gnu.org>
8908 * emacs-lisp/authors.el (authors-fixed-entries):
8909 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8911 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8913 Rename configure.in to configure.ac (Bug#11603).
8914 * emacs-lisp/authors.el (authors-canonical-file-name):
8915 * progmodes/autoconf.el (autoconf-mode):
8916 Prefer configure.ac to configure.in.
8918 2012-07-08 Chong Yidong <cyd@gnu.org>
8920 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8921 Implement the mouse-1-click-follows-link handling properly.
8923 * info.el (Info-link-keymap): Use follow-link mechanism for
8924 header-line links (Bug#374).
8926 * simple.el (deactivate-mark): Do not set the primary selection
8927 if another program has acquired it (Bug#11772).
8929 2012-07-07 Kevin Ryde <user42@zip.com.au>
8931 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8932 (woman-decode-region): Replace escaped-escapes without destroying
8933 bold or underline (Bug#11552).
8934 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8936 2012-07-07 Chong Yidong <cyd@gnu.org>
8938 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8939 (interprogram-cut-function, interprogram-paste-function):
8940 Mention that we typically mean the clipboard.
8942 2012-07-06 Glenn Morris <rgm@gnu.org>
8944 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8946 * files.el (toggle-read-only): Restrict message to interactive use.
8948 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8950 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8952 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8954 2012-07-06 Glenn Morris <rgm@gnu.org>
8956 * Makefile.in (compile-one-process): Rename from "recompile".
8958 * Makefile.in (bzr-update): "compile" is the same as "recompile
8959 autoloads", but parallelizable, so use that instead.
8961 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8963 * window.el (quit-window): Always restore window height when
8964 it's saved in quit-restore parameter (Bug#11810).
8966 2012-07-06 Glenn Morris <rgm@gnu.org>
8968 * simple.el (kill-whole-line): Doc tweak.
8970 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8972 * files.el (file-relative-name): Compare file names
8973 case-insensitively if on MS-Windows or MS-DOS, or if
8974 read-file-name-completion-ignore-case is non-nil. Don't use
8975 case-fold-search for this purpose. (Bug#11827)
8977 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8979 * calendar/cal-dst.el (calendar-current-time-zone):
8980 Return calendar-current-time-zone-cache if non-nil.
8982 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8983 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8985 * calendar/cal-dst.el (calendar-current-time-zone):
8986 Return calendar-current-time-zone-cache if non-nil.
8988 2012-07-06 Glenn Morris <rgm@gnu.org>
8990 * Makefile.in (cvs-update): Remove old alias.
8992 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8994 Sync with Tramp 2.2.6-pre.
8996 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8997 compatible declaration.
8999 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9000 Protect `list-load-path-shadows' call.
9002 * net/tramp-compat.el (top): Require packages, which aren't
9003 autoloaded anymore for XEmacs. Protect call of
9004 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9005 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9006 it hurts at least for SXEmacs.
9007 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9008 standard-value for `temporary-file-directory'.
9010 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9011 Redirect stderr to /dev/null.
9012 (tramp-sh-handle-write-region): uid and gid can be floats.
9013 Reported by Russell Sim <russell.sim@gmail.com>.
9014 (tramp-sh-handle-vc-registered): Hide errors.
9015 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9016 and `start-file-process'.
9017 (tramp-maybe-open-connection): Check also whether `non-essential'
9020 2012-07-04 Chong Yidong <cyd@gnu.org>
9022 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9023 (xml-parse-tag): Likewise, and avoid changing entity tables.
9024 (xml-syntax-table): Define from scratch, making sure not to give
9025 x2000 and other Unicode spaces whitespace syntax, since those are
9027 (xml-parse-fragment): Delete unused function.
9028 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9029 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9030 (xml-entity-ref, xml-pe-reference-re)
9031 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9032 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9033 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9034 (xml-entity-value-re): Use syntax references in regexps where
9035 possible; no need to define inside a let-binding.
9036 (xml-parse-dtd): Use xml-pe-reference-re.
9037 (xml-entity-or-char-ref-re): New defconst.
9038 (xml-parse-string, xml-substitute-special): Use it.
9040 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9042 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9043 (find-file--read-only): New function.
9044 (find-file-read-only, find-file-read-only-other-window)
9045 (find-file-read-only-other-frame): Use it.
9046 (insert-file-contents-literally): Don't `fset'.
9047 (get-free-disk-space): Use locate-dominating-file.
9049 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9050 function is already compiled.
9052 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9054 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9056 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9057 files on the same host.
9059 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9061 * help-fns.el (describe-function-1): Only call
9062 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9064 2012-07-03 Chong Yidong <cyd@gnu.org>
9066 * xml.el: Protect parser against XML bombs.
9067 (xml-entity-expansion-limit): New variable.
9068 (xml-parse-string, xml-substitute-special): Use it.
9069 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9071 2012-07-03 Glenn Morris <rgm@gnu.org>
9073 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9074 Allow linking to specific messages in debbugs reports (eg 123#5).
9076 2012-07-02 Chong Yidong <cyd@gnu.org>
9078 * xml.el: Fix entity and character reference expansion, allowing
9079 them to expand into markup as per XML spec.
9080 (xml-default-ns): New variable.
9081 (xml-entity-alist): Use XML spec definitions for lt and amp.
9082 (xml-parse-region): Make first two arguments optional.
9083 Discard text properties.
9084 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9085 All callers changed.
9086 (xml-parse-tag): Call xml-parse-tag-1. For backward
9087 compatibility, this function should not modify buffer contents.
9088 (xml-parse-tag-1): Fix opening-tag regexp.
9089 (xml-parse-string): Rewrite, handling entity and character
9090 references properly.
9091 (xml--entity-replacement-text): Signal an error if a parameter
9092 entity is undefined.
9094 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * comint.el (comint-output-filter): Filter out repeated prompts.
9098 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9099 and file-name-absolute-p.
9100 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9103 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9106 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9107 Rename from byte-compile--refiy-function. All uses changed.
9109 2012-07-01 Chong Yidong <cyd@gnu.org>
9111 * xml.el (xml--parse-buffer): New function. Move most of
9112 xml-parse-region here.
9113 (xml-parse-region): Copy region into a temporary buffer, since
9114 parameter entity substitution requires changing buffer contents.
9115 Use xml--parse-buffer.
9116 (xml-parse-file): Use xml--parse-buffer.
9117 (xml-parse-dtd): Make parameter entity substitution work right.
9118 Use proper regexps for ELEMENT declarations (Bug#7172).
9120 2012-06-30 Glenn Morris <rgm@gnu.org>
9122 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9124 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9125 Remove outdated and unnecessary dbus declarations.
9127 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9129 * emacs-lisp/timer.el (timer-until): Subtract results of
9130 float-time, instead of taking float-time of the result of
9131 time-subtract, since float-time signals an error for negative time
9134 2012-06-30 Chong Yidong <cyd@gnu.org>
9136 * xml.el (xml-*-re): Convert defvars into defconsts, and
9137 eval-and-compile them so eval-and-compile works on derivatives.
9138 (xml--entity-replacement-text): Use eval-and-comple.
9140 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9142 * vc/vc-git.el (vc-git-registered): Use cache property
9144 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9145 `vc-git-working-revision' in order to benefit from the cache.
9146 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9148 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9150 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9151 removed (likely outside Emacs). (Bug#11757)
9153 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9155 * emacs-lisp/cl-lib.el: Require macroexp.
9157 2012-06-30 Chong Yidong <cyd@gnu.org>
9159 * xml.el: Implement XML parameter entities.
9160 (xml-parameter-entity-alist): New variable.
9161 (xml-parse-region, xml-parse-fragment): Preserve previous values
9162 of xml-entity-alist and xml-parameter-entity-alist, so that
9163 repeated calls on different documents do not change them.
9164 (xml-parse-tag): Fix doctype regexp.
9165 (xml--entity-replacement-text): New function.
9166 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9167 properly requires url retrieval which is unimplemented.
9168 (xml-escape-string): Doc fix.
9170 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9174 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9176 * fringe.el (fringe-mode): Doc fix.
9178 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9180 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9182 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9183 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9185 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9187 * calendar/cal-dst.el (calendar-current-time-zone):
9188 Return calendar-current-time-zone-cache if non-nil.
9190 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9192 * progmodes/which-func.el (which-func-format):
9193 Add mouse-face. (Bug#11698)
9195 2012-06-29 Leo Liu <sdl.web@gmail.com>
9197 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9199 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9201 * minibuffer.el (minibuffer-confirm-exit-commands):
9202 Add completion-at-point (bug#11725).
9204 2012-06-29 Glenn Morris <rgm@gnu.org>
9206 * progmodes/f90.el (f90-font-lock-keywords-2):
9207 Add some preprocessor elements. (Bug#10499)
9209 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9211 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9212 Use syntax-propertize (bug#11739).
9214 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9216 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9218 2012-06-28 Julien Danjou <julien@danjou.info>
9220 * term.el (term-handle-colors-array): Use a set of new faces to
9221 color the terminal. Also uses :inverse-video property.
9222 (term-default-fg-color): Set to nil by default, deprecate in favor
9224 (term-default-bg-color): Set to nil by default, deprecate in favor
9226 (term-current-face): Use `term-face' by default.
9227 (term-bold-attribute): Variable deleted.
9229 2012-06-28 Glenn Morris <rgm@gnu.org>
9231 * simple.el (completion-list-mode-finish):
9232 Don't use toggle-read-only. (Since completion-list-mode has
9233 a special mode-class, it wasn't doing anything extra anyway.)
9235 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9237 Make inlining of other-mode interpreted functions work (bug#11799).
9238 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9239 (byte-compile): Use it to fix compilation of lexical-binding closures.
9240 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9241 function, if needed.
9243 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * help-mode.el (help-make-xrefs): Don't just withstand
9246 cyclic-variable-indirection but any error in documentation-property.
9248 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9250 * bindings.el (bindings--define-key): New function.
9251 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9252 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9253 * bindings.el: Use it to purecopy define-key bindings.
9255 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9257 * emacs-lisp/cl.el (flet): Mark obsolete.
9258 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9259 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9260 * progmodes/js.el (js-c-fill-paragraph):
9261 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9262 (ebrowse-switch-member-buffer-to-derived-class):
9263 * play/5x5.el (5x5-solver): Use cl-flet.
9265 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9266 (cl--symbol-function): New macro.
9267 (cl--letf, cl--letf*): Use it.
9269 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9270 Strip "toggle-" if any.
9272 2012-06-27 Glenn Morris <rgm@gnu.org>
9274 * info.el (Info-default-directory-list): Move here from paths.el.
9275 * paths.el: Remove file, which is now empty.
9276 * loadup.el: No longer load "paths".
9278 * custom.el (custom-initialize-delay): Doc fix.
9280 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9281 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9282 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9283 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9284 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9285 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9286 * eshell/eshell.el (eshell-defgroup): Remove alias.
9288 2012-06-27 Chong Yidong <cyd@gnu.org>
9290 * help.el (help-enable-auto-load): New variable.
9292 * help-fns.el (help-fns--autoloaded-p): New function.
9293 (describe-function-1): Refer to a function as "autoloaded" if it
9294 was autoloaded at any time in the past. Perform autoloading if
9295 help-enable-auto-load is non-nil.
9297 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9299 * makefile.w32-in (compile, compile-always): Depend on
9300 update-subdirs, not on subdirs.el. Otherwise, several different
9301 sub-targets of 'bootstrap' running in parallel could
9302 simultaneously write to subdirs.el, producing a garbled file.
9304 2012-06-26 Sam Steingold <sds@gnu.org>
9306 * files.el (file-name-base): New convenience function.
9307 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9308 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9309 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9310 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9311 * textmodes/ispell.el, textmodes/reftex-ref.el:
9312 * textmodes/tex-mode.el: Use it.
9313 Did not touch cedet and org because they are maintained elsewhere.
9315 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9317 * calendar/calendar.el (calendar-exit): Don't try to delete or
9318 iconify last frame. See:
9319 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9321 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9323 * server.el (server-process-filter): Remember dir in the
9324 process's `server-client-directory' properties.
9326 2012-06-24 Chong Yidong <cyd@gnu.org>
9328 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9331 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9333 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9335 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * help-fns.el (describe-variable): Don't croak when doc is not found.
9338 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9339 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9340 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9341 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9342 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9344 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9346 2012-06-23 Chong Yidong <cyd@gnu.org>
9348 * info.el (Info-mouse-follow-link): Accept symbol values of
9349 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9350 (Info-fontify-node): Use Info-link-keymap for all navigation
9351 buttons, with link-args property to perform the desired action.
9352 (Info-link-keymap): Doc fix.
9353 (Info-next-link-keymap, Info-prev-link-keymap)
9354 (Info-up-link-keymap): Delete now-unused keymaps.
9356 2012-06-23 Chong Yidong <cyd@gnu.org>
9358 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9360 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9363 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9365 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9367 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9370 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9371 the requote function doesn't work properly (bug#11714).
9373 2012-06-23 Glenn Morris <rgm@gnu.org>
9375 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9377 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9379 Further GV/CL cleanups.
9380 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9382 (gv--defun-declaration): New function.
9383 (defun-declarations-alist): Use it.
9384 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9385 (gv-place): Autoload.
9386 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9387 original definition of dotimes and dolist.
9388 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9389 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9390 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9391 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9392 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9393 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9394 to the function's definition.
9395 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9399 * env.el: Don't use CL.
9401 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9403 Support higher-resolution time stamps (Bug#9000).
9405 * calendar/time-date.el (with-decoded-time-value): New arg
9406 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9407 (encode-time-value): New optional arg PICO. New type 3.
9408 (time-to-seconds) [!float-time]: Support the new picoseconds
9409 component if it's used.
9410 (seconds-to-time, time-subtract, time-add):
9411 Support ps-resolution time stamps as well.
9413 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9414 (timerp): Timer vectors now have length 9, not 8.
9415 (timer--time): Support new-style (4-part) time stamps.
9416 (timer-next-integral-multiple-of-time): Time stamps now have
9417 picosecond resolution, so take a bit more care about rounding.
9418 (timer-relative-time, timer-inc-time): New optional arg psecs.
9419 (timer-set-time-with-usecs): Set psecs to 0.
9420 (timer--activate): Check psecs component, too.
9422 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9424 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9427 Move the non-essential binding to the post/pre-command-hook where it is
9428 more obviously correct.
9430 * subr.el (read-passwd): Don't use a history at all.
9431 * savehist.el (savehist-save): Remove password saved accidentally
9432 because of the above bug.
9434 2012-06-22 Bastien Guerry <bzg@gnu.org>
9436 * files.el (toggle-read-only): Display a message telling whether
9437 the buffer is read-only or not (bug#11726).
9439 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9441 * emacs-lisp/gv.el: New file.
9442 * subr.el (push, pop): Extend to generalized variables.
9443 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9444 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9445 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9446 gv-define-simple-setter, and gv-define-expander.
9447 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9448 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9449 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9450 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9451 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9453 (cl-defstruct): Don't define setf-method any more.
9454 * emacs-lisp/cl.el (flet): Don't autoload.
9455 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9456 (define-setf-expander, defsetf, define-modify-macro)
9457 (cl-struct-setf-expander): Move from cl-lib.el.
9458 * emacs-lisp/syntax.el:
9459 * emacs-lisp/ewoc.el:
9460 * emacs-lisp/smie.el:
9461 * emacs-lisp/cconv.el:
9462 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9463 (timer--time): Use gv-define-simple-setter.
9464 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9465 to avoid coding-system problems in subr.el. Adjust all users.
9466 (macroexp--maxsize, macroexp-small-p): New functions.
9467 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9468 * scroll-bar.el (scroll-bar-mode):
9469 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9470 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9471 * winner.el (winner-configuration, winner-make-point-alist)
9472 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9473 * files.el (locate-file-completion-table): Avoid list*.
9475 2012-06-22 Chong Yidong <cyd@gnu.org>
9477 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9478 (dired-create-files): Doc fix (Bug#11329).
9479 (dired-do-copy): Doc fix (Bug#11334).
9480 (dired-mark-read-string): Doc fix (Bug#11553).
9482 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9483 Doc fix (Bug#11326).
9484 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9485 (dired-dwim-target): Doc fix.
9487 * wdired.el (wdired-mode): Doc fix.
9489 2012-06-22 Glenn Morris <rgm@gnu.org>
9491 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9492 (pcmpl-rpm-cache-stamp-file): New constant.
9493 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9494 (pcmpl-rpm-packages): Optionally cache list of packages.
9496 * pcmpl-rpm.el (pcmpl-rpm): New group.
9497 (pcmpl-rpm-query-options): New option.
9498 (pcmpl-rpm-packages): No need to inline it.
9499 Use pcmpl-rpm-query-options.
9501 * calendar/calendar.el (calendar-in-read-only-buffer):
9502 Avoid some needless mode changes.
9504 2012-06-21 Chong Yidong <cyd@gnu.org>
9506 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9507 (desktop-path): Remove . from the default value (Bug#10977).
9508 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9510 2012-06-20 Chong Yidong <cyd@gnu.org>
9512 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9514 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9516 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9519 2012-06-20 Chong Yidong <cyd@gnu.org>
9521 * term.el (term-window-width): Handle the case of a missing right
9523 (term-check-size): Use window-text-height (Bug#5445).
9524 (term-mode): Use define-derived-mode. Minor cleanups.
9525 Set font-lock-defaults (Bug#7692).
9526 (term-move-columns, term-insert-char, term-emulate-terminal)
9527 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9529 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9531 * net/ange-ftp.el (ange-ftp-get-passwd):
9532 Bind `enable-recursive-minibuffers'.
9533 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9535 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9537 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9539 2012-06-19 Glenn Morris <rgm@gnu.org>
9541 * progmodes/python.el (python-mode): Derive from prog-mode.
9543 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9545 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9546 (edt-user-menu-bar-update-buffers): New functions.
9547 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9549 2012-06-19 Chong Yidong <cyd@gnu.org>
9551 * subr.el (with-selected-window): Preserve the selected window's
9552 terminal's top-frame (Bug#4702).
9554 * window.el (save-selected-window): Likewise.
9556 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * progmodes/python.el (python-rx-constituents): Move backquote.
9559 (python-skeleton-define, python-define-auxiliary-skeleton):
9562 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9564 * minibuffer.el (read-file-name-default): Revert the patch from
9567 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9569 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9570 (pcase--u1, pcase--q1): Don't use apply-partially.
9572 2012-06-18 Glenn Morris <rgm@gnu.org>
9574 * progmodes/python.el (python-proc, python-buffer)
9575 (python-send-receive, python-send-string): Fix obsolete versions.
9577 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9579 * window.el (special-display-p): Completely remove stringp
9580 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9582 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9584 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9586 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9588 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9589 * net/tramp-sh.el (tramp-maybe-open-connection):
9590 Throw if `non-essential' is non-nil.
9592 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9594 * window.el (special-display-p): Signal an error if BUFFER-NAME
9595 is not a string (Bug#11713).
9597 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9599 * progmodes/python.el (python-info-beginning-of-backslash):
9600 Rename from python-info-beginning-of-backlash, as a spelling fix.
9602 2012-06-17 Chong Yidong <cyd@gnu.org>
9604 * term.el (term-emulate-terminal): If term-check-size is called,
9605 move point to the process mark without resetting point (Bug#4635).
9607 2012-06-17 Glenn Morris <rgm@gnu.org>
9609 * international/mule-cmds.el (mule-menu-keymap)
9610 (set-language-environment, set-locale-environment): Doc tweaks.
9612 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9614 * cus-face.el (custom-face-attributes): Add wave-style underline
9616 * faces.el (set-face-attribute): Update docstring to describe
9617 wave-style underline attribute.
9619 2012-06-16 Chong Yidong <cyd@gnu.org>
9621 * term/xterm.el (terminal-init-xterm): Discard input before
9622 querying background mode (Bug#10959).
9624 2012-06-16 Stefan Merten <smerten@oekonux.de>
9626 * textmodes/rst.el: Added and corrected some comments.
9627 (rst-re-alist-def): Improve symbol syntax.
9628 (rst-mode-syntax-table): Correct syntax entries.
9629 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9630 (rst-official-version, rst-official-cvs-rev): Update version
9633 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9635 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9636 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9638 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9640 * progmodes/python.el: New python.el merge.
9641 (python-guess-indent): Obsolete var.
9642 (python-indent-guess-indent-offset): New defcustom.
9643 (python-indent): Obsolete var.
9644 (python-indent-offset): New defcustom.
9645 (python-python-command, python-jython-command): Delete var.
9646 (python-shell-interpreter): New defcustom.
9647 (python-pdbtrack-do-tracking-p): Delete var.
9648 (python-pdbtrack-activate): New defcustom.
9649 (python-use-skeletons): Obsolete var.
9650 (python-skeleton-autoinsert): New defcustom.
9651 (inferior-python-filter-regexp, python-continuation-offset)
9652 (python-honour-comment-indentation, python-indent-string-contents)
9653 (python-jython-packages, python-mode-hook)
9654 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9655 (python-shell-prompt-alist)
9656 (python-source-modes): Delete defcustoms.
9657 (python-check-buffer-name, python-eldoc-setup-code)
9658 (python-eldoc-string-code, python-ffap-setup-code)
9659 (python-ffap-string-code, python-fill-comment-function)
9660 (python-fill-decorator-function, python-fill-paren-function)
9661 (python-fill-string-function, python-imenu-include-defun-type)
9662 (python-imenu-make-tree, python-imenu-subtree-root-label)
9663 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9664 (python-shell-compilation-regexp-alist)
9665 (python-shell-completion-module-string-code)
9666 (python-shell-completion-pdb-string-code)
9667 (python-shell-completion-setup-code)
9668 (python-shell-completion-string-code)
9669 (python-shell-enable-font-lock, python-shell-exec-path)
9670 (python-shell-extra-pythonpaths)
9671 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9672 (python-shell-process-environment)
9673 (python-shell-prompt-block-regexp)
9674 (python-shell-prompt-output-regexp)
9675 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9676 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9677 (python-shell-virtualenv-path): New defcustoms.
9678 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9679 (inferior-python-mode-syntax-table, python--prompt-regexp)
9680 (python-buffer, python-command python-python-command)
9681 (python-default-template, python-imports, python-indent-index)
9682 (python-indent-list, python-indent-list-length)
9683 (python-mode-running, python-pdbtrack-is-tracking-p)
9684 (python-preoutput-continuation, python-preoutput-leftover)
9685 (python-preoutput-result, python-preoutput-skip-next-prompt)
9686 (python-prev-dir/file, python-recursing)
9687 (python-saved-check-command, python-version-checked)
9688 (python-which-func-length-limit)
9689 (view-return-to-alist): Delete vars.
9690 (python-check-custom-command, python-dotty-syntax-table)
9691 (python-imenu-index-alist, python-indent-current-level)
9692 (python-indent-dedenters, python-indent-levels)
9693 (python-nav-beginning-of-defun-regexp)
9694 (python-nav-list-defun-positions-cache)
9695 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9696 (python-shell-internal-buffer)
9697 (python-skeleton-available): New vars.
9698 (def-python-skeleton): Delete macro.
9699 (python-skeleton-define): New macro.
9700 (python-define-auxiliary-skeleton, python-rx): New macros.
9701 (python-insert-class): Delete command.
9702 (python-skeleton-class): New command.
9703 (python-insert-def): Delete command.
9704 (python-skeleton-def): New command.
9705 (python-insert-for): Delete command.
9706 (python-skeleton-for): New command.
9707 (python-insert-if): Delete command.
9708 (python-skeleton-if): New command.
9709 (python-insert-try/except, python-insert-try/finally): Delete commands.
9710 (python-skeleton-try): New command.
9711 (python-insert-while): Delete command.
9712 (python-skeleton-while): New command.
9713 (python-backspace): Delete command.
9714 (python-indent-dedent-line-backspace): New command.
9715 (python-electric-colon): Delete command.
9716 (python-indent-electric-colon): New command.
9717 (python-guess-indent): Delete command.
9718 (python-indent-guess-indent-offset): New command.
9719 (python-shift-left): Delete command.
9720 (python-indent-shift-left): New command.
9721 (python-shift-right): Delete command.
9722 (python-indent-shift-right): New command.
9723 (python-find-function): Delete command.
9724 (python-nav-jump-to-defun): New command.
9725 (python-next-statement): Delete command.
9726 (python-nav-forward-sentence): New command.
9727 (python-previous-statement): Delete command.
9728 (python-nav-backward-sentence): New command.
9729 (python-fill-paragraph): Delete command.
9730 (python-fill-paragraph-function): New command.
9731 (python-send-buffer): Delete command.
9732 (python-shell-send-buffer): New command.
9733 (python-send-defun): Delete command.
9734 (python-shell-send-defun): New command.
9735 (python-send-region, python-send-region-and-go): Delete commands.
9736 (python-shell-send-region)
9737 (python-shell-switch-to-shell): New commands.
9738 (python-send-string): Delete command.
9739 (python-shell-send-string): New command.
9740 (python-switch-to-python): Delete command.
9741 (python-shell-switch-to-shell): New command.
9742 (python-describe-symbol): Delete command.
9743 (python-eldoc-at-point): New command.
9744 (python--set-prompt-regexp, python-args-to-list)
9745 (python-after-info-look, python-check-version)
9746 (python-check-comint-prompt, python-find-imports)
9747 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9748 (python-unload-function, python-expand-template)
9749 (python-maybe-jython, python-preoutput-filter)
9750 (python-pdbtrack-get-source-buffer)
9751 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9752 (python-pdbtrack-toggle-stack-tracking)
9753 (python-pdbtrack-track-stack-file, python-initial-text)
9754 (python-first-word, python-comment-line-p, python-send-command)
9755 (python-setup-brm, python-sentinel, python-set-proc)
9756 (python-skip-out, python-input-filter, python-outdent-p)
9757 (python-outline-level, python-backslash-continuation-line-p)
9758 (python-end-of-block, python-end-of-statement, python-mark-block)
9759 (python-beginning-of-block, python-beginning-of-statement)
9760 (python-blank-line-p, python-beginning-of-string)
9761 (python-open-block-statement-p): Delete functions.
9762 (python-indent-line, python-indent-line-1): Delete functions.
9763 (python-indent-line): New function.
9764 (python-indentation-levels): Delete function.
9765 (python-indent-calculate-levels): New function.
9766 (python-proc): Delete function.
9767 (python-shell-get-process): New function.
9768 (python-send-receive): Delete function.
9769 (python-shell-send-string-no-output): New function.
9770 (python-module-path): Delete function.
9771 (python-ffap-module-path): New function.
9772 (python-completion-at-point)
9773 (python-symbol-completions): Delete functions.
9774 (python-completion-complete-at-point): New function.
9775 (python-load-file): Delete function.
9776 (python-shell-send-file): New function.
9777 (python-calculate-indentation): Delete function.
9778 (python-indent-calculate-indentation): New function.
9779 (python-skip-comments/blanks): Delete function.
9780 (python-util-forward-comment): New function.
9781 (python-continuation-line-p): Delete function.
9782 (python-info-continuation-line-p): New function.
9783 (python-which-func, python-current-defun): Delete function.
9784 (python-info-current-defun): New function.
9785 (python-beginning-of-defun): Delete function.
9786 (python-nav-beginning-of-defun): New function.
9787 (python-close-block-statement-p)
9788 (python-block-end-p): Delete function.
9789 (python-info-closing-block): New function.
9790 (python-comint-output-filter-function)
9791 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9792 (python-fill-comment, python-fill-decorator, python-fill-paren)
9793 (python-fill-string, python-imenu-make-element-tree)
9794 (python-imenu-make-tree, python-imenu-tree-assoc)
9795 (python-indent-context, python-indent-dedent-line)
9796 (python-indent-line-function)
9797 (python-indent-post-self-insert-function)
9798 (python-indent-toggle-levels)
9799 (python-info-assignment-continuation-line-p)
9800 (python-info-beginning-of-backlash)
9801 (python-info-block-continuation-line-p)
9802 (python-info-closing-block-message)
9803 (python-info-line-ends-backslash-p)
9804 (python-info-looking-at-beginning-of-defun)
9805 (python-info-ppss-context, python-info-ppss-context-type)
9806 (python-nav-list-defun-positions, python-nav-read-defun)
9807 (python-nav-sentence-end, python-nav-sentence-start)
9808 (python-pdbtrack-comint-output-filter-function)
9809 (python-pdbtrack-set-tracked-buffer)
9810 (python-shell-calculate-exec-path)
9811 (python-shell-calculate-process-environment)
9812 (python-shell-completion--do-completion-at-point)
9813 (python-shell-completion--get-completions)
9814 (python-shell-completion-complete-at-point)
9815 (python-shell-completion-complete-or-indent)
9816 (python-shell-get-or-create-process)
9817 (python-shell-get-process-name)
9818 (python-shell-internal-get-or-create-process)
9819 (python-shell-internal-get-process-name)
9820 (python-shell-internal-send-string, python-shell-make-comint)
9821 (python-shell-parse-command, python-shell-send-setup-code)
9822 (python-skeleton-add-menu-items)
9823 (python-util-clone-local-variables, python-util-position)
9824 (run-python-internal, python-indentation-levels)
9825 (python-nav-beginning-of-defun)
9826 (python-completion-complete-at-point): New functions.
9827 (run-python): Change arguments. New API requirements.
9829 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9834 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9835 (macroexp--expand-all): Use it.
9837 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9838 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9839 Use `cl-function' instead.
9841 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9843 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9844 Suggested by Stefan Monnier while discussing bug#11657.
9846 2012-06-14 Sam Steingold <sds@gnu.org>
9848 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9850 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9852 * play/doctor.el (doctor-doc): Remove parameter and use
9853 doctor-sent instead of sent.
9854 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9856 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * files.el: Require cl-lib.
9859 (file-name-non-special): Replace case -> cl-case.
9861 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9863 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9864 mapping from #' to function*.
9866 2012-06-13 Chong Yidong <cyd@gnu.org>
9868 * mouse.el (mouse-drag-track): Do not set the mark if the user
9869 releases the mouse without selecting anything (Bug#11588).
9871 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9873 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9874 as well (bug#11646).
9876 * loadup.el: Count byte-code functions as well.
9878 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9879 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9881 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9882 (bug#11649). Add cl-defun and cl-defmacro.
9884 2012-06-13 Drew Adams <drew.adams@oracle.com>
9886 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9889 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9891 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9892 Otherwise, it blocks in batch mode.
9894 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9896 * help-mode.el (bookmark-make-record-default): Declare.
9898 2012-06-13 Chong Yidong <cyd@gnu.org>
9900 * emacs-lisp/package.el (list-packages): Compute a list of
9901 packages that are newly-available since the last list-packages
9903 (package-menu--new-package-list): New var.
9904 (package-menu--generate, package-menu--print-info)
9905 (package-menu--status-predicate, package-menu-mark-install):
9906 Handle new status label "new".
9908 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9910 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9911 conversion to backquotes.
9913 2012-06-12 Chong Yidong <cyd@gnu.org>
9915 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9916 Rename from gud-inhibit-global-bindings.
9918 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9920 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9921 hook from nxml-glyph-set-hook.
9923 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9926 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9928 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9929 Convert to defcustom.
9931 2012-06-12 Drew Adams <drew.adams@oracle.com>
9933 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9935 (help-mode): Use them.
9937 2012-06-11 Glenn Morris <rgm@gnu.org>
9939 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9940 Use preprocessor face for directives.
9941 (fortran-directive-re): Doc fix.
9943 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9946 conversion to backquotes (bug#11652).
9948 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9949 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9950 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9951 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9952 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9953 (cl-ninth, cl-tenth): Mark them as inlinable.
9954 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9955 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9956 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9957 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9958 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9959 (cl-list*, cl-adjoin): Don't put an autoload manually.
9960 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9961 (cl--compiler-macro-list*): Add autoload cookie.
9962 (cl--compiler-macro-cXXr): New function.
9964 * help-fns.el (help-fns--compiler-macro): New function extracted from
9965 describe-function-1; follow aliases and use `compiler-macro' property.
9966 (describe-function-1): Use it.
9968 2012-06-11 Chong Yidong <cyd@gnu.org>
9970 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9971 is uninstalled, if imagemagick is installed.
9973 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * emacs-lisp/cl-lib.el: Use lexical-binding.
9976 (cl-map-extents, cl-maclisp-member): Remove.
9977 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9978 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9979 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9980 * emacs-lisp/cl-extra.el: Use lexical-binding.
9981 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9982 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9983 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9984 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9985 * emacs-lisp/cl-seq.el: Use lexical-binding.
9986 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9987 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9988 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9989 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9990 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9993 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9995 Sync with Tramp 2.2.6-pre.
9997 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9998 `print-length' and `print-level' to nil, in order to avoid
9999 truncation. Reported by Christopher Schmidt
10000 <christopher@ristopher.com>.
10002 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10004 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10006 (tramp-compat-copy-directory): Add optional argument
10007 COPY-CONTENTS. It is not handled yet.
10009 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10010 (tramp-ftp-file-name-p): Simplify.
10012 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10013 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10016 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10017 (tramp-methods): Do not use `tramp-password-end-of-line'.
10018 (tramp-completion-function-alist-putty): Handle UNIX case.
10019 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10020 (tramp-do-file-attributes-with-stat)
10021 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10022 gid as real numbers. They could run out of integer range on cygwin.
10023 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10024 (tramp-sh-handle-expand-file-name): Handle hops.
10025 (tramp-open-connection-setup-interactive-shell):
10026 Use `tramp-cleanup'. Move check for busyboxes ...
10027 (tramp-find-shell): ... here. Simplify implementation.
10028 Set "remote-shell" property also for alternative shells.
10029 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10030 If failing, a regular file would be written otherwise.
10031 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10032 (tramp-find-inline-encoding): Cache the coding commands in the
10033 process cache. Apply test command on the remote side, if defined.
10034 (tramp-find-inline-compress): Cache the compress commands in the
10036 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10037 when requested. Handle hops.
10038 (tramp-current-connection): New defvar.
10039 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10040 Throw `suppress', if there was a failed connection shortly before.
10041 Handle user interrupt. (Bug#10187)
10042 (tramp-get-inline-compress, tramp-get-inline-coding):
10043 Read connection properties from the process cache.
10045 * net/tramp-smb.el (tramp-smb-server-version)
10046 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10048 (tramp-smb-prompt): Extend for powershell prompt.
10049 (tramp-smb-file-name-handler-alist): Add handlers for
10050 `process-file', `shell-command' and `start-file-process'.
10051 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10052 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10053 (tramp-smb-file-name-p): Simplify.
10054 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10055 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10056 (tramp-smb-shell-quote-argument): New defuns.
10057 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10058 Implement using "tar". By this, time-stamps are preserved.
10059 (tramp-smb-handle-copy-file): Handle also the case of directories.
10060 (tramp-smb-do-file-attributes-with-stat)
10061 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10062 Use `tramp-get-connection-buffer').
10063 (tramp-smb-handle-rename-file): Use "rename", when source and
10064 target are on the same share.
10065 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10066 Use `tramp-smb-server-version'.
10067 (tramp-smb-wait-for-output): Remove prompt.
10069 * net/tramp.el (top): Require 'cl.
10070 (tramp-methods, tramp-rsh-end-of-line):
10071 Remove `tramp-password-end-of-line' from docstring.
10072 (tramp-save-ad-hoc-proxies): New defcustom.
10073 (tramp-completion-function-alist): Adapt docstring.
10074 (tramp-default-password-end-of-line): Remove defcustom.
10075 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10076 (tramp-user-regexp, tramp-file-name-regexp-unified)
10077 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10078 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10079 (tramp-remote-file-name-spec-regexp): New defconst.
10080 (tramp-file-name-structure): Extend structure for hops.
10081 (tramp-get-method-parameter): Move up.
10082 (tramp-file-name-p, tramp-dissect-file-name)
10083 (with-parsed-tramp-file-name): Handle hops.
10084 (tramp-file-name-hop): New defun.
10085 (tramp-make-tramp-file-name): New optional arg HOP.
10086 (tramp-message-show-progress-reporter-message): New defvar.
10087 (tramp-with-progress-reporter): Use it. We cannot use
10088 `tramp-message-show-message' here, because this suppresses also
10090 (tramp-error-with-buffer): Suppress buffer view, if
10091 `tramp-message-show-message' is nil.
10092 Use `tramp-get-connection-buffer'.
10093 (tramp-cleanup): New defun.
10094 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10095 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10096 an error unchanged.
10097 (tramp-completion-handle-file-name-all-completions): Handle hops.
10098 Fix an error when called from ido.
10099 (tramp-completion-dissect-file-name): Use better local variable
10100 name. Add hop to the vector.
10101 (tramp-handle-insert-file-contents): Use progress-reporter for the
10103 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10105 (tramp-check-for-regexp): Simplify search.
10106 (tramp-enter-password): Remove it. Move implementation ...
10107 (tramp-action-password): ... here.
10108 (tramp-mode-string-to-int, tramp-local-host-p)
10109 (tramp-make-tramp-temp-file, tramp-read-passwd)
10110 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10111 Set tramp-autoload cookie.
10113 * net/trampver.el: Update release number.
10115 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10116 Michael Albinus <michael.albinus@gmx.de>
10118 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10119 (tramp-parse-group, tramp-parse-file)
10120 (tramp-parse-shostkeys-sknownhosts): New defuns.
10121 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10122 (tramp-parse-shosts-group, tramp-parse-sconfig)
10123 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10124 (tramp-parse-sknownhosts, tramp-parse-hosts)
10125 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10127 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10128 (tramp-parse-putty-group): Don't narrow.
10129 (tramp-parse-putty): Make a loop.
10130 (tramp-file-name-handler): Catch the `suppress' signal.
10132 2012-06-11 Chong Yidong <cyd@gnu.org>
10134 * image.el (imagemagick-register-types): Put the ImageMagick entry
10135 at the end of image-type-file-name-regexps.
10137 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10139 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10140 (pcase, pcase-let*, pcase-dolist): Use them.
10142 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * emacs-lisp/pcase.el (pcase--let*): New function.
10145 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10146 (pcase--expand): Use macroexp-let².
10148 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10151 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10152 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10153 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10154 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10155 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10157 2012-06-10 Glenn Morris <rgm@gnu.org>
10159 * mail/rmail.el (rmail-yank-current-message): Leave point at
10160 correct position. (Bug#11660)
10162 2012-06-10 Chong Yidong <cyd@gnu.org>
10164 * allout-widgets.el: Fix code header.
10166 2012-06-10 Chong Yidong <cyd@gnu.org>
10168 * cus-edit.el (customize-changed-options-previous-release):
10171 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10173 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10175 2012-06-09 Chong Yidong <cyd@gnu.org>
10177 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10179 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10181 * window.el (special-display-popup-frame): Don't use
10182 window--display-buffer (Bug#11651).
10184 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10186 Fix parallel builds: make sure loaddefs.el is not being written
10187 while Lisp files are compiled.
10188 (compile): Don't depend on 'mh-autoloads'.
10189 (compile-CMD, compile-SH): Depend on 'autoloads'.
10190 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10192 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10194 2012-06-09 Chong Yidong <cyd@gnu.org>
10196 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10197 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10198 Doc fixes (Bug#11225).
10200 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10202 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10203 a function if there's a clear indication that it has a compiler-macro.
10204 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10205 (macro-declarations-alist): Add arglist to declaration functions.
10206 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10207 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10208 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10209 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10210 Also add autoload to find the compiler macro.
10211 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10212 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10213 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10214 (cl--compiler-macro-get): New functions, replacing calls to
10215 cl-define-compiler-macro.
10216 (cl-typep) [compiler-macro]: Use macroexp-let².
10218 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10220 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10221 string properly, fixes Bug#11473.
10223 2012-06-08 Chong Yidong <cyd@gnu.org>
10225 * faces.el (set-face-attribute): Doc fix.
10226 (modify-face): Don't use :bold and :italic.
10227 (error, warning, success): Tweak definitions.
10229 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10230 (custom-modified, custom-set, custom-changed, custom-themed)
10231 (custom-saved, custom-button, custom-button-mouse)
10232 (custom-button-pressed, custom-state, custom-comment-tag)
10233 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10234 (custom-group-subtitle): Use new-style face specs.
10235 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10236 (custom-set-face, custom-changed-face, custom-saved-face)
10237 (custom-button-face, custom-button-pressed-face)
10238 (custom-documentation-face, custom-state-face)
10239 (custom-comment-face, custom-comment-tag-face)
10240 (custom-variable-tag-face, custom-variable-button-face)
10241 (custom-face-tag-face, custom-group-tag-face-1)
10242 (custom-group-tag-face): Remove obsolete face alias.
10244 * epa.el (epa-validity-high, epa-validity-medium)
10245 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10246 (epa-field-name, epa-field-body):
10247 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10248 (font-lock-keyword-face, font-lock-builtin-face)
10249 (font-lock-function-name-face, font-lock-variable-name-face)
10250 (font-lock-type-face, font-lock-constant-face):
10251 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10252 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10253 * speedbar.el (speedbar-button-face, speedbar-file-face)
10254 (speedbar-directory-face, speedbar-tag-face)
10255 (speedbar-selected-face, speedbar-highlight-face)
10256 (speedbar-separator-face):
10257 * whitespace.el (whitespace-newline, whitespace-space)
10258 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10259 (whitespace-line, whitespace-space-before-tab)
10260 (whitespace-space-after-tab, whitespace-indentation)
10261 (whitespace-empty):
10262 * emulation/cua-base.el (cua-global-mark):
10263 * eshell/em-prompt.el (eshell-prompt):
10264 * net/newst-plainview.el (newsticker-new-item-face)
10265 (newsticker-old-item-face, newsticker-immortal-item-face)
10266 (newsticker-obsolete-item-face, newsticker-date-face)
10267 (newsticker-statistics-face, newsticker-default-face):
10268 * net/newst-reader.el (newsticker-feed-face)
10269 (newsticker-extra-face, newsticker-enclosure-face):
10270 * net/newst-treeview.el (newsticker-treeview-face)
10271 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10272 (newsticker-treeview-immortal-face)
10273 (newsticker-treeview-obsolete-face)
10274 (newsticker-treeview-selection-face):
10275 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10276 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10277 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10278 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10279 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10280 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10281 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10283 * progmodes/vera-mode.el (vera-font-lock-number)
10284 (vera-font-lock-function, vera-font-lock-interface):
10285 * textmodes/table.el (table-cell): Use new-style face specs, and
10286 don't use the old :bold and :italic attributes.
10288 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10289 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10290 (ebrowse-member-class, ebrowse-progress): Likewise.
10291 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10292 (ebrowse-file-name-face, ebrowse-default-face)
10293 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10294 (ebrowse-progress-face): Remove obsolete faces.
10296 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10297 Inherit from error and warning faces respectively.
10299 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10301 (flyspell-incorrect-face, flyspell-duplicate-face):
10302 Remove obsolete aliases.
10304 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10306 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10309 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10311 * startup.el (argv, argi): Make lexically scoped.
10312 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10313 * emacs-lisp/cl-macs.el: Use lexical-binding.
10314 Rename cl-bind-* to cl--bind-*.
10315 * files.el: Don't require `cl' since it doesn't use it.
10316 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10318 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10320 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10321 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10322 instead of calling external sort utility.
10323 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10325 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10327 * descr-text.el (describe-char): Mention how to insert the
10328 character, if the current input method doesn't support it.
10329 See the discussion in this thread for the details:
10330 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10332 2012-06-08 Sam Steingold <sds@gnu.org>
10334 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10335 XF86Back to previous-buffer.
10336 (minibuffer-local-map): Bind them to next-history-element and
10337 previous-history-element respectively.
10338 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10339 help-go-back respectively.
10340 * info.el (Info-mode-map): Bind them to Info-history-forward and
10341 Info-history-back respectively.
10342 These are the keys next to Up on the ThinkPad keyboard.
10344 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10346 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10347 * emacs-lisp/cl-macs.el: Provide itself.
10348 (cl--labels-convert-cache): New var.
10349 (cl--labels-convert): New function.
10350 (cl-flet, cl-labels): New implementation with new semantics, relying on
10352 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10353 (cl-closure-vars, cl--function-convert-cache)
10354 (cl--function-convert): Move from cl-macs.el.
10355 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10356 rename by removing the "cl-" prefix.
10357 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10359 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10362 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10363 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10364 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10365 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10366 (cl-hash-table-count): Add old compatibility aliases.
10368 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10369 Use macroexpand-all-environment instead.
10370 (cl--old-macroexpand): New var.
10371 (cl--sm-macroexpand): New function.
10372 (cl-symbol-macrolet): Use it during macro expansion.
10373 (cl--function-convert-cache): New var.
10374 (cl--function-convert): New function, extracted from
10375 cl-macroexpand-all.
10376 (cl-lexical-let): Use it.
10378 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10379 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10380 (cl-member): Remove old alias.
10382 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10383 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10384 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10385 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10386 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10387 (cl-macroexpand-cmacs): Remove var.
10388 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10389 Use macroexpand-all instead.
10391 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10394 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10395 (macroexp-copyable-p): New functions and macros.
10396 * emacs-lisp/edebug.el (edebug-unwrap):
10397 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10398 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10399 (pcase--let*): Remove.
10400 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10401 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10402 macroexp-const-p instead.
10403 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10405 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10406 instead of "cl-" for internal definitions. Use macroexp-const-p.
10407 (cl-old-bc-file-form): Remove var.
10408 (cl-const-exprs-p): Remove fun.
10409 (cl-labels, cl-macrolet): Use backquote.
10410 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10411 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10412 (cl-define-setf-expander): Rename from cl-define-setf-method.
10413 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10415 * international/mule-cmds.el: Don't require CL.
10416 (view-hello-file): Don't use `letf'.
10418 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10420 * tmm.el (tmm-prompt): Use string-prefix-p.
10421 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10422 (tmm-add-prompt): Use minibuffer-completion-help.
10423 (tmm-delete-map): Remove.
10425 * subr.el (kbd): Make it its own function.
10427 2012-06-07 Stefan Merten <smerten@oekonux.de>
10429 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10430 Silence compiler warnings. Fix versions.
10431 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10432 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10433 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10434 (rst-package-emacs-version-alist): Correct Emacs version to
10435 represent major merge with upstream.
10436 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10438 2012-06-06 Glenn Morris <rgm@gnu.org>
10440 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10441 Only print environment variables if set.
10443 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10446 (macroexp--cons): Rename from maybe-cons.
10447 (macroexp--accumulate): Rename from macroexp-accumulate.
10448 (macroexp--all-forms): Rename from macroexpand-all-forms.
10449 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10450 (macroexp--expand-all): Rename from macroexpand-all-1.
10452 2012-06-06 Sam Steingold <sds@gnu.org>
10454 * calendar/calendar.el (calendar-in-read-only-buffer):
10455 Call `special-mode' to enable the standard read-only keybindings.
10457 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10460 with "loading" messages (bug#11635).
10462 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10464 * files.el (enable-remote-dir-locals): New option.
10465 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10467 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10468 Ensure, that the temp directory is local.
10470 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10471 `temporary-file-directory'.
10473 * progmodes/python.el (python-send-region): Ensure, that the
10474 temporary file is created also in the remote case.
10476 2012-06-06 Glenn Morris <rgm@gnu.org>
10478 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10479 (vc-rcs-update-changelog): Use it.
10481 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10483 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10484 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10485 (vc-sccs-diff): Replace use of the external vcdiff script.
10487 2012-06-05 Glenn Morris <rgm@gnu.org>
10489 * ledit.el: Move to obsolete/.
10491 2012-06-05 Sam Steingold <sds@gnu.org>
10493 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10496 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * emacs-lisp/cust-print.el: Move to obsolete.
10500 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10501 compiler-macro expansion.
10503 Add native compiler-macro support.
10504 * emacs-lisp/macroexp.el (macroexpand-all-1):
10505 Support compiler-macros directly. Properly follow aliases and apply
10506 the compiler macros more thoroughly.
10507 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10508 macroexpand now properly follows aliases.
10509 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10510 (cl-compiler-macroexpand): Use new prop.
10511 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10513 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10515 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10517 * window.el (get-lru-window, get-mru-window, get-largest-window):
10518 New argument NOT-SELECTED to avoid picking the selected window.
10519 (window--display-buffer-1, window--display-buffer-2): Replace by
10520 new function window--display-buffer
10521 (display-buffer-same-window, display-buffer-reuse-window)
10522 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10523 Use window--display-buffer.
10524 (display-buffer-use-some-window): Remove temporary dedication
10525 hack by calling get-lru-window and get-largest-window with
10526 NOT-SELECTED argument non-nil. Call window--display-buffer.
10528 2012-06-05 Glenn Morris <rgm@gnu.org>
10530 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10531 Replace external vcdiff script.
10533 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10537 2012-06-04 Chong Yidong <cyd@gnu.org>
10539 * image.el (imagemagick-types-inhibit): Revert last change.
10541 (imagemagick-enabled-types): Remove CIN and EPS*.
10543 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * emacs-lisp/cl-lib.el: Rename from cl.el.
10546 * emacs-lisp/cl.el: New compatibility file.
10547 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10548 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10549 to obey the "cl-" prefix.
10550 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10552 2012-06-03 Glenn Morris <rgm@gnu.org>
10554 * emacs-lisp/authors.el (authors-aliases): Addition.
10556 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10559 2012-06-03 Stefan Merten <smerten@oekonux.de>
10561 * textmodes/rst.el: Add comments.
10562 (rst-transition, rst-adornment): New faces.
10563 (rst-adornment-faces-alist): Make default safe to reevaluate.
10565 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10566 Improve customization tags.
10567 (rst-define-level-faces): Clarify meaning.
10569 2012-06-03 Chong Yidong <cyd@gnu.org>
10571 * progmodes/compile.el (compilation-mode-line-fail)
10572 (compilation-mode-line-run, compilation-mode-line-exit):
10574 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10576 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10578 * progmodes/which-func.el (which-func-update-ediff-windows):
10579 New function. Use it in ediff-select-hook (Bug#11478).
10581 2012-06-03 Chong Yidong <cyd@gnu.org>
10583 * bindings.el: Remove explicit help text from format-mode-line.
10584 It is now supplied by mode-line-default-help-echo.
10585 (mode-line-front-space, mode-line-end-spaces)
10586 (mode-line-misc-info): New variables.
10587 (mode-line-modes, mode-line-position): Move the default value to
10588 the variable definition.
10589 (mode-line-default-help-echo): New defcustom.
10590 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10591 (mode-line-modified-help-echo): New functions.
10592 (mode-line-mule-info, mode-line-modified): Use them.
10593 (mode-line-eol-desc, propertized-buffer-identification):
10594 Consistency fixes for help text.
10595 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10596 set-buffer-file-coding-system (Bug#289).
10597 (mode-line-mule-info-help-echo): Update help text.
10599 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * simple.el (execute-extended-command): Set real-this-command
10604 2012-06-02 Chong Yidong <cyd@gnu.org>
10606 Remove incorrect uses of "modeline" in comments, docstrings, and
10607 function/variable names (Bug#10329).
10609 * cus-edit.el (mode-line):
10610 * dframe.el (dframe-mouse-hscroll):
10611 * emacs-lisp/re-builder.el:
10612 * emacs-lisp/easy-mmode.el (define-minor-mode):
10613 * frame.el (set-frame-name):
10614 * help.el (lookup-minor-mode-from-indicator):
10615 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10616 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10617 (c-toggle-hungry-state):
10618 * progmodes/antlr-mode.el (antlr-language-alist):
10619 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10620 * progmodes/vhdl-mode.el (vhdl-mode):
10621 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10622 * term/ns-win.el (ns-face-at-pos):
10623 * term/sup-mouse.el (sup-mouse-report):
10624 * textmodes/flyspell.el (flyspell-mode-line-string):
10625 * textmodes/ispell.el (ispell-highlight-face):
10626 * textmodes/reftex-global.el:
10627 * vc/vc-arch.el (vc-arch-mode-line-string):
10628 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10629 * vc/vc-git.el (vc-git-mode-line-string):
10630 * vc/vc-hooks.el (vc-display-status)
10631 (vc-default-mode-line-string):
10632 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10634 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10636 * dired.el (dired-sort-set-mode-line): Rename from
10637 dired-sort-set-modeline. All callers changed.
10639 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10640 eshell-status-in-modeline.
10642 * foldout.el (foldout-mode-line-string): Rename from
10643 foldout-modeline-string. All callers changed.
10644 (foldout-update-mode-line): Rename from foldout-update-modeline.
10646 * subr.el (redraw-modeline): Make into obsolete alias.
10648 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10649 timeclock-modeline-display. Make old name an alias.
10650 (timeclock-update-mode-line): Likewise. All callers changed.
10651 (timeclock-mode-line-display): No need to check before using
10653 (timeclock-relative, timeclock-day-over-hook)
10654 (timeclock-use-elapsed, timeclock-mode-string)
10655 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10657 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10658 crisp-mode-modeline-string.
10660 * play/solitaire.el (solitaire-build-mode-line): Rename from
10661 solitaire-build-modeline. All callers changed.
10663 * play/zone.el (zone-hiding-mode-line): Rename from
10664 zone-hiding-modeline. All callers changed.
10665 (zone): Remove unusued `modeline-hidden-level' property.
10667 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10668 xscheme-modeline-initialize. All callers changed.
10670 * strokes.el (strokes-lighter): Rename from
10671 strokes-modeline-string.
10673 * textmodes/sgml-mode.el (html-face-tag-alist)
10674 (html-tag-face-alist): Use mode-line face instead of obsolete
10677 2012-06-02 Stefan Merten <smerten@oekonux.de>
10679 * textmodes/rst.el: Always require `cl'.
10680 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10682 2012-06-02 Chong Yidong <cyd@gnu.org>
10684 * image.el (imagemagick-enabled-types): Rename from
10685 imagemagick-types-enable. Add many more types.
10686 (imagemagick-types-inhibit): Change default to nil.
10687 (imagemagick-filter-types): Caller changed.
10689 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * emacs-lisp/cl-macs.el: Use backquotes.
10692 (cl-transform-function-property): Use eval-and-compile rather than
10694 (defstruct): Use declare-function instead of with-no-warnings.
10696 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10697 (byte-compile-output-docform): Re-add the print-circle bindings.
10698 (byte-compile-fix-header): Use #$ just because it's shorter.
10699 (byte-compile-output-file-form): Remove defun/defmacro.
10701 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10703 * simple.el (choose-completion): Remove now obsolete binding for
10706 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10708 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10709 in order to avoid "Stack overflow in regexp matcher".
10711 2012-05-31 Glenn Morris <rgm@gnu.org>
10713 * image.el: For clarity, call imagemagick-register-types at
10714 top-level, rather than relying on a custom :initialize.
10715 (imagemagick-types-enable): New option. (Bug#11557)
10716 (imagemagick-filter-types): New function. (Bug#7406)
10717 (imagemagick-register-types): Use imagemagick-filter-types.
10718 If disabling support, remove elements altogether rather
10719 than using an impossible regexp.
10720 (imagemagick-types-inhibit): Give it the default init function.
10722 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10725 Handle arbitrary file name lengths (Bug#11585).
10727 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10729 * desktop.el (desktop-read): Clear previous and next buffers for
10730 all windows and bury *Messages* buffer (bug#11556).
10732 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10734 Add `declare' for `defun'. Align `defmacro's with it.
10735 * emacs-lisp/easy-mmode.el (define-minor-mode)
10736 (define-globalized-minor-mode): Don't autoload the var definitions.
10737 * emacs-lisp/byte-run.el: Use lexical-binding.
10738 (defun-declarations-alist, macro-declarations-alist): New vars.
10739 (defmacro, defun): Use them.
10740 (make-obsolete, define-obsolete-function-alias)
10741 (make-obsolete-variable, define-obsolete-variable-alias):
10743 (macro-declaration-function): Mark obsolete.
10744 * emacs-lisp/autoload.el: Use lexical-binding.
10745 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10747 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10749 * textmodes/ispell.el (ispell-with-no-warnings):
10751 (ispell-kill-ispell, ispell-change-dictionary):
10752 Use `called-interactively-p' for Emacs instead of obsolete
10755 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10757 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10758 (macro-declaration-function): Move var from C code.
10759 (macro-declaration-function): Define function with defalias.
10760 * emacs-lisp/macroexp.el (macroexpand-all-1):
10761 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10762 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10763 defun/defmacro any more.
10764 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10765 Provide fallback for unknown arglist.
10766 (byte-compile-arglist-warn): Change calling convention.
10767 (byte-compile-output-file-form): Move print-vars binding.
10768 (byte-compile-output-docform): Simplify accordingly.
10769 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10770 (byte-compile-defmacro-declaration): Remove.
10771 (byte-compile-file-form-defmumble): Generalize to defalias.
10772 (byte-compile-output-as-comment): Return byte-positions.
10773 Simplify callers accordingly.
10774 (byte-compile-lambda): Use `assert'.
10775 (byte-compile-defun, byte-compile-defmacro): Remove.
10776 (byte-compile-file-form-defalias):
10777 Use byte-compile-file-form-defmumble.
10778 (byte-compile-defalias-warn): Remove.
10780 2012-05-29 Stefan Merten <smerten@oekonux.de>
10782 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10783 possible. Fix authors. Improve comments. Improve loading of `cl'.
10785 (rst-mode-abbrev-table): Merge definition.
10786 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10787 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10789 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10791 * calendar/icalendar.el
10792 (icalendar-export-region): Export UID properly.
10794 2012-05-29 Leo Liu <sdl.web@gmail.com>
10795 * calendar/icalendar.el (icalendar-import-format):
10796 Add `icalendar-import-format-uid' (Bug#11525).
10797 (icalendar-import-format-uid): New.
10798 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10801 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10803 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10804 different alternative patterns.
10805 (pcase-codegen): Be more careful to preserve identity.
10806 (pcase--u1): Don't forget to mark vars as used.
10808 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10809 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10810 (byte-compile-from-buffer): ...rather than here.
10812 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10813 functions from byte-compile-function-environment.
10815 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10817 * window.el (window-deletable-p): Avoid deleting the root window
10818 of a frame with an active minibuffer.
10820 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10822 * simple.el (choose-completion): Use quit-window (Bug#11567).
10824 2012-05-29 Chong Yidong <cyd@gnu.org>
10826 * whitespace.el (whitespace-cleanup): Fix usage of
10827 whitespace-empty-at-bob-regexp (Bug#11492).
10829 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10831 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10832 revert (Bug#11488).
10834 2012-05-29 Juri Linkov <juri@jurta.org>
10836 * isearch.el (isearch-mode-map): Bind `M-s _' to
10837 `isearch-toggle-symbol'. Bind `M-s c' to
10838 `isearch-toggle-case-fold'.
10839 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10840 (isearch-forward): Add `M-s _' to the docstring.
10841 (isearch-forward-symbol, isearch-toggle-case-fold)
10842 (isearch-symbol-regexp): New functions. (Bug#11381)
10844 2012-05-29 Juri Linkov <juri@jurta.org>
10846 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10847 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10848 a function, call it to get the regexp.
10849 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10850 property `isearch-message-prefix' instead of the string "word ".
10851 (isearch-search-fun-default): For the case of `isearch-word',
10852 return a lambda that calls re-search-forward/re-search-backward
10853 with a regexp returned by `word-search-regexp' or by the function
10856 2012-05-29 Juri Linkov <juri@jurta.org>
10858 * isearch.el (isearch-search-fun-default): New function.
10859 (isearch-search-fun): Move default part to the new function
10860 `isearch-search-fun-default'.
10861 (isearch-search-fun-function): Set the default value to
10862 `isearch-search-fun-default'. (Bug#11381)
10864 * comint.el (comint-history-isearch-end):
10865 Use `isearch-search-fun-default'.
10866 (comint-history-isearch-search): Use `isearch-search-fun-default'
10867 and remove spacial case for `isearch-word'.
10868 (comint-history-isearch-wrap): Remove spacial case for
10871 * hexl.el (hexl-isearch-search-function):
10872 Use `isearch-search-fun-default'.
10874 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10875 Use `word-search-regexp' for `isearch-word'.
10877 * misearch.el (multi-isearch-search-fun):
10878 Use `isearch-search-fun-default'.
10880 * simple.el (minibuffer-history-isearch-search):
10881 Use `isearch-search-fun-default' and remove spacial case for
10883 (minibuffer-history-isearch-wrap): Remove spacial case for
10886 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10887 Remove spacial case for `isearch-word'.
10888 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10890 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10892 Decrease XEmacs incompatibilities.
10893 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10894 Use `string-match'.
10895 (flyspell-delete-region-overlays): Use alternative definition for
10897 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10898 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10899 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10900 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10901 `define-obsolete-face-alias' under XEmacs, but old method.
10903 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10904 `with-no-warnings' definition or Emacs alias.
10905 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10906 (ispell-word): Do not use `region-p' if XEmacs.
10908 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10910 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10911 Check for `ispell-dictionary-base-alist' instead of full
10912 `ispell-dictionary-alist'.
10913 (ispell-init-process): Show spellchecker when starting new Ispell
10916 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10919 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10921 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10923 * version.el (motif-version-string, gtk-version-string)
10924 (ns-version-string): Declare.
10926 2012-05-27 Juri Linkov <juri@jurta.org>
10928 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10929 after the `eval-defun-1' specialcaseing
10930 like in `edebug-eval-defun' (bug#10181).
10932 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10933 like in `eval-defun-1'.
10935 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10937 * mail/sendmail.el (mail-yank-region):
10938 Recognize rmail-yank-current-message in addition to insert-buffer.
10939 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10940 a *mail* buffer created through rmail-start-mail with sendmail as
10943 2012-05-27 Chong Yidong <cyd@gnu.org>
10945 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10946 Default to 256 (Bug#11267).
10948 * help.el (describe-mode): Doc fix.
10950 2012-05-26 Glenn Morris <rgm@gnu.org>
10952 * w32-fns.el (w32-init-info): Remove.
10953 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10955 * info.el (info-initialize): For self-contained NS builds, put the
10956 included info/ directory at the front. (Bug#2791)
10958 * paths.el (Info-default-directory-list): Make it a defcustom,
10959 mainly so that we can use custom-initialize-delay.
10961 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10963 * subr.el (buffer-has-markers-at): Mark obsolete.
10965 * subr.el (lambda): Use declare.
10967 * emacs-lisp/lisp-mode.el (lambda):
10968 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10970 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10972 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10974 2012-05-26 Glenn Morris <rgm@gnu.org>
10976 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10978 2012-05-25 Glenn Morris <rgm@gnu.org>
10980 * paths.el: Remove no-byte-compile.
10981 * loadup.el: No need to load paths.el uncompiled.
10983 * image.el (imagemagick-types-inhibit): Doc fix.
10985 * version.el: Remove no-byte-compile and associated formatting.
10986 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10987 is ancient code from when there was an "inc-vers.el".
10989 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * progmodes/gdb-mi.el: Minor style changes.
10992 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10993 Turn into minor modes.
10994 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10995 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10996 (gdb-shell): Remove unneeded let-binding.
10997 (gdb-get-many-fields): Eliminate O(n²) behavior.
10999 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11001 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11002 platforms that don't link in fontset.c.
11004 2012-05-25 Juri Linkov <juri@jurta.org>
11006 Use the same diff color scheme as in modern VCSes (bug#10181).
11008 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11009 to avoid confusion with `diff-added' that now uses green colors.
11010 (diff-removed): Use shades of red.
11011 (diff-added): Use shades of green.
11012 (diff-changed): Leave just the yellow color.
11013 (diff-use-changed-face): New variable.
11014 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11015 how to highlight context diff changes.
11016 (diff-refine-change): Use shades of yellow.
11017 (diff-refine-removed): New face that uses shades of red.
11018 (diff-refine-added): New face that uses shades of green.
11019 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11020 `diff-refine-removed' in the call to `smerge-refine-subst'
11021 depending on the value of `diff-use-changed-face'.
11023 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11024 (smerge-other): Use shades of green.
11025 (smerge-base): Use shades of yellow.
11026 (smerge-refined-change): Empty face.
11027 (smerge-refined-removed): New face that uses shades of red.
11028 (smerge-refined-added): New face that uses shades of green.
11029 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11030 args `props-r' and `props-a', and use them. Doc fix.
11031 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11032 on its value use different faces `smerge-refined-change',
11033 `smerge-refined-removed', `smerge-refined-added' in the call to
11034 `smerge-refine-subst'.
11036 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11037 Add face condition `min-colors 88' with shades of red.
11038 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11039 `min-colors 88' with shades of green.
11040 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11041 `min-colors 88' with shades of yellow.
11043 2012-05-24 Glenn Morris <rgm@gnu.org>
11045 * paths.el (prune-directory-list, remote-shell-program): Move to...
11046 * files.el (prune-directory-list, remote-shell-program): ...here.
11047 For the latter, delay initialization, prefer ssh, just search PATH.
11049 * paths.el (term-file-prefix): Move to faces.el (the only user).
11050 * faces.el (term-file-prefix): Move here, make it a defcustom.
11052 * paths.el (news-directory, news-path, news-inews-program):
11053 Move to gnus/nnspool.el.
11055 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11057 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11058 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11059 Make the latter a defcustom, with a delayed initialization.
11061 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11062 These were deleted from Gnus itself late 2010.
11064 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11066 * progmodes/which-func.el (which-func-ff-hook):
11067 Check against user-error, not error.
11069 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11070 cl-specs.el, which no longer exists.
11072 2012-05-22 Glenn Morris <rgm@gnu.org>
11074 * info.el (info-emacs-bug): New command.
11075 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11076 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11078 2012-05-21 Glenn Morris <rgm@gnu.org>
11080 * makefile.w32-in (update-subdirs-SH):
11081 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11083 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11085 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11088 Simplify Maven regexp, and make sure the file can't start with a space
11091 2012-05-21 Glenn Morris <rgm@gnu.org>
11093 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11094 Scrap superfluous subshells.
11096 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11098 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11099 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11101 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11103 * calc/calc.el (calc-ensure-consistent-units): New variable.
11105 * calc/calc-units.el (math-consistent-units-p)
11106 (math-check-unit-consistency): New functions.
11107 (calc-quick-units, calc-convert-units):
11108 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11110 (calc-extract-units): Fix typo.
11112 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11116 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11117 (flyspell-default-deplacement-commands): Don't spell check after
11118 repeated window/frame switches (e.g. triggered by mouse-movement).
11119 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11120 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11121 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11122 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11123 Remove unused vars.
11124 (flyspell-get-casechars, flyspell-get-not-casechars):
11125 Simplify; Don't bother removing a ] just to add it back.
11126 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11128 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11130 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11132 (math-function-table): Add support for more C functions.
11134 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11136 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11137 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11138 Protect delay handling for otherchars against empty otherchars.
11140 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11143 their respective macro declarations.
11144 * skeleton.el (define-skeleton):
11145 * progmodes/compile.el (define-compilation-mode):
11146 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11147 (define-ibuffer-filter):
11148 * emacs-lisp/generic.el (define-generic-mode):
11149 * emacs-lisp/easy-mmode.el (define-minor-mode)
11150 (define-globalized-minor-mode):
11151 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11152 * emacs-lisp/byte-run.el (defsubst):
11153 * custom.el (deftheme): Add doc-string metadata.
11155 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11157 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11159 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11161 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11163 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11164 * emacs-lisp/cl-macs.el: Idem.
11165 * emacs-lisp/cl-specs.el: Remove.
11167 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11169 Minor renaming of internal CL functions and variables.
11170 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11171 (cl--position): Rename from cl-position.
11172 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11173 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11174 (cl--random-state): Rename from *random-state*.
11176 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11178 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11179 parens around the arg list (bug#11499).
11181 2012-05-17 Juri Linkov <juri@jurta.org>
11183 * isearch.el (word-search-regexp, word-search-backward)
11184 (word-search-forward, word-search-backward-lax)
11185 (word-search-forward-lax): Move functions from search.c
11186 (bug#10145, bug#11381).
11188 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11190 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11191 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11192 Delay for otherchars as for normal word components.
11194 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * minibuffer.el (completion--sifn-requote): Fix last change.
11197 (minibuffer-local-must-match-filename-map):
11198 Move define-obsolete-variable-alias before its var.
11200 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11204 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11206 (completion--string-equal-p): New function.
11207 (completion--twq-all): Use it to get better assertion failure data.
11209 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11210 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11211 (shell--requote-argument): New functions.
11212 (shell-completion-vars): Use them.
11213 (shell--parse-pcomplete-arguments): Rename from
11214 shell-parse-pcomplete-arguments.
11215 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11216 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11217 Obey comint-file-name-quote-list.
11219 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11220 (smie-indent-keyword): Use it.
11222 2012-05-14 Stefan Merten <smerten@oekonux.de>
11224 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11226 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * net/rlogin.el (rlogin-mode-map): Fix last change.
11230 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11232 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11233 the following \r\n using a single `process-send-string', since the
11234 Lotus SMTP server refuses to accept any commands if they are sent
11235 with two `process-send-string's (Bug#11444).
11237 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * shell.el (shell-parse-pcomplete-arguments):
11240 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11242 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11244 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11245 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11246 (image-transform-width, image-transform-fit-width): New functions.
11247 (image-transform-properties): Use them.
11248 (image-transform-check-size): New function.
11249 (image-toggle-display-image): Use it (for testing).
11250 (image-transform-set-rotation): Reduce angle mod 360.
11251 Delete obsolete comment.
11253 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11255 * image-mode.el: Fix scaling (bug#11399).
11256 (image-transform-resize): Doc fix.
11257 (image-transform-properties): Default scale is 1 and height should
11260 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11262 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11263 than hard-coding `car', to fix misbehavior when moving forward.
11265 2012-05-13 Chong Yidong <cyd@gnu.org>
11267 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11268 (tabulated-list-entries, tabulated-list-padding)
11269 (tabulated-list-sort-key): Make permanent-local.
11271 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11272 (electric-buffer-list): Put electric buffer menu
11273 command descriptions in this docstring, instead of the docstring
11274 of electric-buffer-menu-mode. Code cleanups.
11275 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11276 Electric-buffer-menu-mode.
11277 (electric-buffer-update-highlight): Minor code cleanup.
11279 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11281 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11284 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11286 Move define-obsolete-variable-alias before the var's definition.
11287 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11288 * tooltip.el (tooltip-hook):
11289 * textmodes/reftex-toc.el (reftex-toc-map):
11290 * textmodes/reftex-sel.el (reftex-select-label-map)
11291 (reftex-select-bib-map):
11292 * textmodes/reftex-index.el (reftex-index-map)
11293 (reftex-index-phrases-map):
11294 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11295 * progmodes/meta-mode.el (meta-mode-map):
11296 * novice.el (disabled-command-hook):
11297 * loadhist.el (unload-hook-features-list):
11298 * frame.el (blink-cursor):
11299 * files.el (find-file-not-found-hooks, write-file-hooks)
11300 (write-contents-hooks):
11301 * emulation/tpu-edt.el (GOLD-map):
11302 * emacs-lock.el (emacs-lock-from-exiting):
11303 * emacs-lisp/generic.el (generic-font-lock-defaults):
11304 * emacs-lisp/chart.el (chart-map):
11305 * dos-fns.el (register-name-alist):
11306 * dired-x.el (dired-omit-files-p):
11307 * desktop.el (desktop-enable):
11308 * cus-edit.el (custom-mode-hook):
11309 * buff-menu.el (buffer-menu-mode-hook):
11310 * bookmark.el (bookmark-read-annotation-text-func)
11311 (bookmark-exit-hooks):
11312 * allout.el (allout-mode-deactivate-hook)
11313 (allout-exposure-change-hook, allout-structure-added-hook)
11314 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11315 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11316 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11317 comes before the corresponding variable's definition.
11319 2012-05-12 Chong Yidong <cyd@gnu.org>
11321 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11322 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11323 (Buffer-menu-mode-map): Bind it.
11324 (Buffer-menu--pretty-name): Add a mouse-face property.
11326 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11329 (prolog-upper-case-string, prolog-lower-case-string)
11330 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11331 (prolog-use-smie, prolog-smie-grammar): New vars.
11332 (prolog-smie-forward-token, prolog-smie-backward-token)
11333 (prolog-smie-rules): New funs.
11334 (prolog-comment-indent): Remove.
11335 (prolog-mode-variables): Use default comment indentation instead.
11337 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11338 (prolog-mode): Don't call them any more.
11339 (prolog-electric-colon, prolog-electric-dash)
11340 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11342 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11344 * minibuffer.el (completion--twq-all): Again, allow case differences.
11346 * term.el: Move keymap initialization code to be more idiomatic.
11347 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11348 (term-terminal-menu): Move initialization into declaration.
11349 (term-escape-char): Let the user set it in her .emacs.
11351 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11352 Provide SMIE-based indentation (not enabled by default yet).
11353 (sh-mode-map): Don't bind electric keys.
11354 Use electric-pair-mode instead of skeleton-pair.
11355 (sh-assignment-regexp): Fit within 80 columns.
11356 (sh-indent-supported): Specify actual shell name instead of boolean.
11357 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11358 (sh-maybe-here-document): Use it. Make obsolete.
11359 (sh-electric-here-document-mode) New minor mode.
11360 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11361 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11362 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11363 (sh-smie-rc-grammar, sh-use-smie): New vars.
11364 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11365 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11366 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11367 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11368 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11369 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11370 (sh-set-shell): Use smie-setup if requested.
11372 * term.el (term-set-escape-char): Properly set term-escape-char.
11373 See http://stackoverflow.com/questions/10524656.
11375 2012-05-10 Chong Yidong <cyd@gnu.org>
11377 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11378 Use url-generic-parse-url, and handle host names and Windows
11379 filenames properly.
11380 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11381 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11382 URL schemes to work on.
11383 (ffap--toggle-read-only): New function.
11384 (ffap-read-only, ffap-read-only-other-window)
11385 (ffap-read-only-other-frame): Use it.
11386 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11387 necessary for ffap-url-unwrap-remote.
11389 2012-05-10 Dave Abrahams <dave@boostpro.com>
11391 * cus-start.el (create-lockfiles): Add it.
11393 2012-05-09 Chong Yidong <cyd@gnu.org>
11395 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11396 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11398 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11402 2012-05-09 Chong Yidong <cyd@gnu.org>
11404 * ansi-color.el (ansi-color-process-output): Check for validity of
11405 comint-last-output-start before using it. This avoids a bad
11406 interaction with gdb-mi's input/output buffer.
11408 2012-05-09 Glenn Morris <rgm@gnu.org>
11410 * files.el (dir-locals-read-from-file):
11411 Mention dir-locals in any error message.
11413 2012-05-09 Chong Yidong <cyd@gnu.org>
11415 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11416 package (Bug#11410).
11418 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11419 variables into description.
11421 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11423 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11424 shell-delimiter-argument-list (bug#11348).
11425 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11427 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11429 * textmodes/rst.el: Silence byte-compiler warnings.
11430 (rst-re-alist, rst-reset-section-caches): Move around.
11431 (rst-re): Use `characterp', not `char-valid-p'.
11432 (font-lock-beg, font-lock-end): Declare.
11434 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11435 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11437 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11439 2012-05-08 Glenn Morris <rgm@gnu.org>
11441 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11443 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11445 * vc/log-edit.el: Add GNU coding standards highlighting.
11446 (log-edit-font-lock-gnu-style)
11447 (log-edit-font-lock-gnu-keywords): New vars.
11448 (log-edit-font-lock-keywords): New fun.
11449 (log-edit-mode): Don't fold case in font-lock.
11450 (log-edit-font-lock-keywords): Do not assume case-folding.
11452 * imenu.el: Misc cleanup. Make docstrings out of comments.
11453 Use lexical-binding.
11454 (imenu--index-alist, imenu--last-menubar-index-alist)
11455 (imenu-menubar-modified-tick): Use defvar-local.
11456 (imenu--split-menu): Remove unused var.
11457 (imenu--cleanup-seen): Declare as global.
11458 (imenu--cleanup): Use dolist.
11460 * subr.el (defvar-local): Add debug spec and doc-string position.
11462 2012-05-08 Glenn Morris <rgm@gnu.org>
11464 * language/burmese.el, language/cham.el, language/czech.el:
11465 * language/english.el, language/georgian.el, language/greek.el:
11466 * language/japanese.el, language/khmer.el, language/korean.el:
11467 * language/lao.el, language/misc-lang.el, language/romanian.el:
11468 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11469 * language/thai.el, language/utf-8-lang.el:
11470 Remove no-byte-compile setting.
11472 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11474 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11476 * progmodes/make-mode.el (makefile-browse):
11477 Remove unnecessary interactive. (Bug#11324)
11479 2012-05-07 Glenn Morris <rgm@gnu.org>
11481 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11483 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11485 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11487 * loadup.el: Preload newcomment.el.
11488 * newcomment.el: Move autoload-only code to toplevel.
11490 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11491 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11492 Handle new :right-align column property.
11493 (tabulated-list-print-col): Idem, plus use `display' text-property to
11494 try and preserve alignment for variable pitch fonts.
11496 2012-05-07 Chong Yidong <cyd@gnu.org>
11498 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11499 (tabulated-list-use-header-line): New var.
11500 (tabulated-list-init-header): Use it.
11501 (tabulated-list-print-fake-header): New function.
11502 (tabulated-list-print): Use it.
11503 (tabulated-list-sort-button-map): Add non-header-line commands.
11504 (tabulated-list-init-header): Add column name property to basic
11506 (tabulated-list-col-sort): Handle non-header-line button case.
11507 (tabulated-list--sort-by-column-name): Fix a corner case.
11509 * buff-menu.el (list-buffers--refresh):
11510 Handle Buffer-menu-use-header-line.
11512 2012-05-06 Chong Yidong <cyd@gnu.org>
11514 * buff-menu.el: Convert to Tabulated List mode.
11515 (Buffer-menu-buffer+size-width): Make obsolete.
11516 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11517 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11518 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11519 documentation into docstring of buffer-menu.
11520 (Buffer-menu-toggle-files-only): Add an informative message.
11521 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11522 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11523 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11524 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11525 (Buffer-menu-execute, Buffer-menu-select)
11526 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11527 (Buffer-menu-bury): Use Tabulated List machinery.
11528 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11529 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11531 (list-buffers--refresh): New function.
11532 (list-buffers-noselect): Use it.
11533 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11534 (Buffer-menu--pretty-file-name): New helper functions.
11536 * loadup.el: Preload tabulated-list.
11538 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11539 tabulated-list-sort-column.
11540 (tabulated-list-init-header): Add the initial aligning space even
11541 if tabulated-list-padding is zero.
11543 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11545 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11546 whose cdr is not a cons cell correctly (bug#11038).
11548 2012-05-06 Chong Yidong <cyd@gnu.org>
11550 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11551 Accept additional plist in column descriptors.
11552 (tabulated-list-init-header): Obey it.
11553 (tabulated-list-get-entry): New function.
11554 (tabulated-list-put-tag): Use it. Use string-width instead of
11556 (tabulated-list--column-number): New function.
11557 (tabulated-list-print): Use it.
11558 (tabulated-list-print-col): New function.
11559 Set `tabulated-list-column-name' property on each column's text.
11560 (tabulated-list-print-entry): Use it.
11561 (tabulated-list-delete-entry, tabulated-list-set-col):
11563 (tabulated-list-sort-column): New command (Bug#11337).
11565 * buff-menu.el (list-buffers): Move C-x C-b binding from
11566 buff-menu.el to bindings.el.
11568 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11569 :advertised-binding feature.
11571 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11573 * progmodes/compile.el (compilation-internal-error-properties):
11574 Calculate start position correctly when end-col is set but
11575 end-line is not (Bug#11382).
11577 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11579 * man.el (Man-unindent): Use text-property-default-nonsticky to
11580 prevent untabify from inheriting face properties (Bug#11408).
11582 2012-05-05 Stefan Merten <smerten@oekonux.de>
11584 * textmodes/rst.el: Major merge with upstream development up to
11585 Docutils SVN r7399 / rst.el V1.2.1.
11587 Clarify maintainership and authors.
11589 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11590 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11591 (rst-official-version, rst-official-cvs-rev, rst-version)
11592 (rst-package-emacs-version-alist): New functions and variables
11593 for version information.
11595 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11596 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11597 (rst-mode-syntax-table, rst-mode): New and corrected functions
11598 and variables representing reStructuredText features.
11600 (rst-re): New function for reStructuredText regexes. Use in
11603 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11604 (rst-mode-map): Rebind keys.
11606 (rst-mode-lazy, rst-font-lock-keywords)
11607 (rst-font-lock-extend-region)
11608 (rst-font-lock-extend-region-internal)
11609 (rst-font-lock-extend-region-extend)
11610 (rst-font-lock-find-unindented-line-limit)
11611 (rst-font-lock-find-unindented-line-match)
11612 (rst-adornment-level, rst-font-lock-adornment-level)
11613 (rst-font-lock-adornment-match)
11614 (rst-font-lock-handle-adornment-pre-match-form)
11615 (rst-font-lock-handle-adornment-matcher): Major revision of
11616 font-locking. Integrate with other code. Use `jit-lock-mode'.
11618 (rst-preferred-adornments, rst-adjust-hook)
11619 (rst-new-adornment-down, rst-preferred-bullets)
11620 (rst-preferred-bullets, rst-indent, rst-indent-width)
11621 (rst-indent-field, rst-indent-literal-normal)
11622 (rst-indent-literal-minimized, rst-indent-comment): Change,
11623 extend and improve customization.
11625 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11626 (rst-normalize-cursor-position, rst-get-decoration)
11627 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11628 (rst-rstrip, rst-toc-insert-find-delete-contents)
11629 (rst-shift-fill-region, rst-compute-bullet-tabs)
11630 (rst-debug-print-tabs, rst-debug-mark-found)
11631 (rst-shift-region-guts, rst-shift-region-right)
11632 (rst-shift-region-left, rst-use-char-classes)
11633 (rst-font-lock-keywords-function)
11634 (rst-font-lock-indentation-point)
11635 (rst-font-lock-find-unindented-line-begin)
11636 (rst-font-lock-find-unindented-line-end)
11637 (rst-font-lock-find-unindented-line)
11638 (rst-font-lock-adornment-point, rst-font-lock-level)
11639 (rst-adornment-level-alist): Remove functions and variables.
11641 (rst-compare-adornments, rst-get-adornment-match)
11642 (rst-suggest-new-adornment, rst-get-adornments-around)
11643 (rst-adornment-complete-p, rst-get-next-adornment)
11644 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11645 (rst-straighten-adornments): Standardize function names to
11646 use "adornment" instead of "decoration". Correct callers.
11647 Similar standardizing in many places.
11649 (rst-update-section, rst-adjust, rst-promote-region)
11650 (rst-enumerate-region, rst-bullet-list-region)
11651 (rst-repeat-last-character): Correct use of `interactive'.
11653 (rst-classify-adornment, rst-find-all-adornments)
11654 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11655 (rst-find-leftmost-column, rst-repeat-last-character):
11656 Refactor functions.
11658 (rst-find-title-line, rst-reset-section-caches)
11659 (rst-get-adornments-around, rst-adjust-adornment-work)
11660 (rst-arabic-to-roman, rst-roman-to-arabic)
11661 (rst-insert-list-pos, rst-insert-list-new-item)
11662 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11665 (rst-all-sections, rst-section-hierarchy)
11666 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11669 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11670 configuration instead of only buffer. Change where necessary.
11672 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11673 (rst-shift-region, rst-adaptive-fill): New functions for
11674 indentation and filling.
11676 (rst-comment-line-break, rst-comment-indent)
11677 (rst-comment-insert-comment, rst-comment-region)
11678 (rst-uncomment-region): New functions for handling comments.
11680 (rst-compile): Quote shell arguments.
11682 (rst-compile-pdf-preview, rst-compile-slides-preview):
11683 Delete temporary files after use.
11685 2012-05-05 Glenn Morris <rgm@gnu.org>
11687 * calendar/cal-html.el: Optionally include holidays in the output.
11688 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11689 (cal-html-holidays): New option.
11690 (cal-html-css-default): Add holiday entry.
11691 (holiday-in-range): Autoload it.
11692 (cal-html-htmlify-entry): Add optional class argument.
11693 (cal-html-htmlify-list): Add optional holidays argument.
11694 (cal-html-insert-agenda-days): Include holidays in the output.
11695 (cal-html-one-month): Maybe include holidays.
11697 * calendar/holidays.el (holiday-in-range):
11698 Move here from cal-tex-list-holidays.
11699 * calendar/cal-tex.el (cal-tex-list-holidays):
11700 Make it an obsolete alias for holiday-in-range. Update all callers.
11702 2012-05-05 Chong Yidong <cyd@gnu.org>
11704 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11707 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11709 * files.el (file-auto-mode-skip): New var.
11710 (set-auto-mode-1): Use it.
11712 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11714 * repeat.el: Use lexical-binding.
11715 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11716 (repeat-undo-count): Remove.
11718 * progmodes/octave-mod.el (octave-abbrev-start):
11719 * progmodes/f90.el (f90-abbrev-start):
11720 * face-remap.el (text-scale-adjust):
11721 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11723 * emacs-lisp/pcase.el (pcase--let*): New function.
11724 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11726 (pcase--split-pred): Be more clever about ruling out overlap between
11727 a predicate and some constant pattern.
11728 (pcase--q1): Use `null' instead of (eq foo nil).
11730 * subr.el (setq-local, defvar-local): New macros.
11731 (kbd): Redefine as an alias.
11732 (with-selected-window): Leave unrelated frames alone.
11733 (set-temporary-overlay-map): New function.
11735 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * subr.el (user-error): New function.
11738 * window.el (switch-to-buffer):
11739 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11740 (smerge-match-conflict):
11741 * simple.el (previous-matching-history-element)
11742 (next-matching-history-element, goto-history-element, undo-more)
11744 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11745 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11746 (next-file, tags-loop-scan, list-tags, complete-tag):
11747 * progmodes/compile.el (compilation-loop):
11748 * mouse.el (mouse-minibuffer-check):
11749 * man.el (Man-bgproc-sentinel, Man-goto-page):
11750 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11751 (Info-history-forward, Info-follow-reference, Info-menu)
11752 (Info-extract-menu-item, Info-extract-menu-counting)
11753 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11754 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11755 (Info-next-reference, Info-prev-reference, Info-index)
11756 (Info-index-next, Info-follow-nearest-node)
11757 (Info-copy-current-node-name):
11758 * imenu.el (imenu--make-index-alist)
11759 (imenu-default-create-index-function, imenu-add-to-menubar):
11760 * files.el (basic-save-buffer, recover-file):
11761 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11762 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11763 (checkdoc-message-text, checkdoc-defun):
11764 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11765 * cus-edit.el (customize-changed-options, customize-rogue)
11766 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11767 (custom-variable-mark-to-reset-standard)
11768 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11770 * completion.el (check-completion-length):
11771 * comint.el (comint-search-arg)
11772 (comint-previous-matching-input-string-position)
11773 (comint-previous-matching-input)
11774 (comint-replace-by-expanded-history-before-point, comint-send-input)
11775 (comint-copy-old-input, comint-backward-matching-input)
11776 (comint-goto-process-mark, comint-set-process-mark):
11777 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11778 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11780 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * dabbrev.el (dabbrev--ignore-case-p): New function.
11783 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11786 * files.el (automount-dir-prefix): Mark as obsolete.
11788 2012-05-04 Glenn Morris <rgm@gnu.org>
11790 * patcomp.el, play/bruce.el: Move to obsolete/.
11792 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11794 Fix minor Y10k bugs.
11795 * arc-mode.el (archive-unixdate):
11796 * autoinsert.el (auto-insert-alist):
11797 * calc/calc-forms.el (math-this-year):
11798 * emacs-lisp/copyright.el (copyright-current-year)
11799 (copyright-update-year, copyright):
11800 * tar-mode.el (tar-clip-time-string):
11801 * time.el (display-time-update):
11802 Don't assume years have 4 digits.
11804 2012-05-04 Chong Yidong <cyd@gnu.org>
11806 * dos-w32.el (file-name-buffer-file-type-alist)
11807 (direct-print-region-use-command-dot-com):
11808 * ffap.el (ffap-menu-regexp):
11809 * find-file.el (ff-special-constructs):
11810 * follow.el (follow-debug):
11811 * forms.el (forms--debug):
11812 * iswitchb.el (iswitchb-all-frames):
11813 * ido.el (ido-all-frames):
11814 * emacs-lisp/timer.el (timer-max-repeats):
11815 * mail/feedmail.el (feedmail-mail-send-hook)
11816 (feedmail-mail-send-hook-queued):
11817 * mail/footnote.el (footnote-signature-separator):
11818 * mail/mailabbrev.el (mail-alias-separator-string)
11819 (mail-abbrev-mode-regexp):
11820 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11821 * progmodes/idlwave.el (idlwave-libinfo-file)
11822 (idlwave-default-completion-case-is-down)
11823 (idlwave-library-routines): Convert defvars to defcustoms.
11825 * mail/rmail.el (rmail-decode-mime-charset):
11826 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11827 (idlwave-shell-fix-inserted-breaks)
11828 (idlwave-shell-activate-alt-keybindings)
11829 (idlwave-shell-use-breakpoint-glyph):
11830 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11832 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11834 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11836 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11838 * progmodes/verilog-mode.el (font-lock-keywords):
11839 Fix mis-highligting auto. Reported by Craig Barner.
11840 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11841 defines from global name space. Reported by Dan Dever.
11842 (verilog-auto-reset, verilog-auto-reset-widths)
11843 (verilog-auto-tieoff): Support using unbased numbers for
11844 AUTORESET and AUTOTIEOFF.
11845 (verilog-submit-bug-report): Update variable list.
11846 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11847 parenthesis from not matching. Reported by Michael Rytting.
11848 (verilog-auto-template-lint): Fix hash error when linting modules
11849 with no used templates.
11850 (verilog-warn, verilog-warn-error)
11851 (verilog-warn-fatal): When non-interactive report multiple
11852 warnings before exiting. Suggested by Brad Dobbie.
11853 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11854 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11855 to report unused template errors. Reported by Brad Dobbie.
11856 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11857 nets, bug438. Reported by Vns Blore.
11858 (verilog-auto-inout-module, verilog-auto-reg)
11859 (verilog-read-decls, verilog-read-sub-decls-sig)
11860 (verilog-signals-edit-wire-reg, verilog-signals-with):
11861 Fix passing of Verilog data types in ANSI input/output ports
11862 such as "output logic" into the AUTOs. Special case "wire" and
11863 "reg" for backwards compatibility presuming Verilog 2001.
11864 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11865 (verilog-preprocess): Fix replication of preprocess output.
11866 Reported by Brad Dobbie.
11867 (verilog-auto-inst-interfaced-ports):
11868 Create verilog-auto-inst-interfaced-ports, bug429.
11869 Reported by Julian Gorfajn.
11870 (verilog-after-save-font-hook)
11871 (verilog-before-save-font-hook): New variable.
11872 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11873 (verilog-save-font-mods): Wrap disabling fontification, reported
11875 (verilog-do-indent, verilog-pretty-declarations-auto)
11876 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11877 Reported by Pierre-David Pfister.
11878 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11879 of class declarations, bug292. Reported by Kevin Heilman.
11880 (verilog-read-decls): Fix 'parameter type' not appearing in
11881 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11882 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11883 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11884 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11885 Reported by David Kravitz.
11887 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11889 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11890 assignment with tests in ifs and for loops.
11891 (verilog-extended-complete-re, verilog-complete-reg): Change so
11892 that DPI inport functions don't look like fuction declarations.
11893 (verilog-pretty-expr): Don't line up assignment
11894 operations to the test and increment in if and for loops
11895 (verilog-extended-complete-re, verilog-complete-reg): Change so
11896 that DPI inport functions don't look like fuction declarations.
11898 2012-05-03 Kenichi Handa <handa@m17n.org>
11900 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11901 decoding, and show a warning message without signaling an error
11904 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * emacs-lisp/bytecomp.el
11907 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11908 since cconv.el might have introduced :fun-body, internal-make-closure,
11909 and friends for bytecomp to handle (bug#11391).
11910 * custom.el (defcustom): Avoid ((λ ..) ..).
11912 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11916 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11918 * notifications.el (dbus-debug):
11919 * term/linux.el (gpm-mouse-enable):
11920 * term/screen.el (xterm-register-default-colors): Declare.
11922 2012-05-02 Chong Yidong <cyd@gnu.org>
11924 * cus-start.el (gc-cons-percentage, exec-suffixes)
11925 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11926 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11927 (make-cursor-line-fully-visible, void-text-area-pointer)
11928 (font-list-limit): Add customization data.
11930 * allout.el (allout-exposure-change-functions)
11931 (allout-structure-added-functions)
11932 (allout-structure-deleted-functions)
11933 (allout-structure-shifted-functions): Rename abnormal hooks from
11934 *-hook, and convert to defcustoms.
11935 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11936 Convert to defcustoms.
11937 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11939 * allout-widgets.el: Hook callers changed.
11941 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11943 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11944 the yanked message in preference to the default value of
11945 buffer-file-coding-system.
11947 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11949 * window.el (display-buffer--action-function-custom-type):
11952 2012-05-02 Alan Mackenzie <acm@muc.de>
11954 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11956 2012-05-01 Glenn Morris <rgm@gnu.org>
11958 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11960 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11962 * cus-edit.el (custom-variable-documentation): Simplify with format.
11964 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11965 Stefan Monnier <monnier@iro.umontreal.ca>
11967 * simple.el (suggest-key-bindings, execute-extended-command):
11968 Move from keyboard.c.
11970 2012-05-01 Chong Yidong <cyd@gnu.org>
11972 * follow.el: Eliminate advice.
11973 (set-process-filter, process-filter, sit-for): Advice deleted.
11974 (follow-mode-off-hook): Obsolete hook removed.
11975 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11977 (follow-auto): Use a :set function.
11978 (follow-mode): Rewritten. Don't advise process filters.
11979 (follow-switch-to-current-buffer-all, follow-scroll-up)
11980 (follow-scroll-down): Assume follow-mode is bound.
11981 (follow-comint-scroll-to-bottom)
11982 (follow-align-compilation-windows): New functions.
11983 (follow--window-sorter): New function.
11984 (follow-all-followers): Use it to explicitly sort windows by their
11985 positions; don't make assumptions about next-window order.
11986 (follow-windows-start-end, follow-delete-other-windows-and-split)
11987 (follow-calc-win-start): Doc fix.
11988 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11989 vertical-motion unnecessarily.
11990 (follow-adjust-window): New function.
11991 (follow-post-command-hook): Use it.
11992 (follow-call-set-process-filter, follow-call-process-filter)
11993 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11994 (follow-stop-intercept-process-output, follow-generic-filter):
11996 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11997 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11998 New functions, replacing advice on scroll-bar-* commands.
11999 (follow-mwheel-scroll): New function (Bug#4112).
12001 * comint.el (comint-adjust-point): New function.
12002 (comint-postoutput-scroll-to-bottom): Use it.
12003 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12005 2012-05-01 Glenn Morris <rgm@gnu.org>
12007 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12008 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12009 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12010 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12011 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12012 Remove no-byte-compile setting.
12014 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12016 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12017 all-completions code to not return a number in the last cdr.
12019 2012-04-30 Leo Liu <sdl.web@gmail.com>
12021 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12024 2012-04-29 Chong Yidong <cyd@gnu.org>
12026 * follow.el (follow-calc-win-end): Rewrite to handle partial
12027 screen lines correctly (Bug#8390).
12028 (follow-avoid-tail-recenter): Minor cleanup.
12030 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12032 Avoid the obsolete `assoc' package.
12033 * speedbar.el (speedbar-refresh): Avoid adelete.
12034 (speedbar-file-lists): Simplify and avoid aput.
12035 * man.el (Man--sections, Man--refpages): New vars, replacing
12036 Man-sections-alist and Man-refpages-alist.
12037 (Man-build-section-alist, Man-build-references-alist):
12038 Use them; avoid aput.
12039 (Man--last-section, Man--last-refpage): New vars.
12040 (Man-follow-manual-reference): Use them.
12041 Use the `default' arg of completing-read.
12042 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12044 2012-04-27 Chong Yidong <cyd@gnu.org>
12046 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12048 * startup.el (x-apply-session-resources): New function.
12050 * term/ns-win.el (ns-initialize-window-system):
12051 * term/w32-win.el (w32-initialize-window-system):
12052 * term/x-win.el (x-initialize-window-system): Use it to properly
12053 set menu-bar-mode and other vars from X resources, even if the
12054 initial frame is not a window-system frame (Bug#2299).
12056 * subr.el (read-key): Avoid running filter function when setting
12057 up temporary tool bar entries (Bug#9922).
12059 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12061 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12064 2012-04-27 Chong Yidong <cyd@gnu.org>
12066 * select.el (xselect--encode-string): New function, split from
12067 xselect-convert-to-string.
12068 (xselect-convert-to-string): Use it.
12069 (xselect-convert-to-filename, xselect-convert-to-os)
12070 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12071 returned strings are properly encoded (Bug#11315).
12073 2012-04-27 Chong Yidong <cyd@gnu.org>
12075 * simple.el (delete-active-region): Move to killing custom group.
12077 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12079 * progmodes/which-func.el (which-func-current): Quote %
12080 characters for mode-line processing.
12082 2012-04-27 Chong Yidong <cyd@gnu.org>
12084 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12085 reaching eob (Bug#11286).
12087 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12089 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12090 (gdb): Make it buffer-local and init to zero.
12091 (gdb-control-commands-regexp): New variable.
12092 (gdb-send): Don't wrap in "-interpreter-exec console" if
12093 gdb-control-level is positive. Increment gdb-control-level
12094 whenever the command matches gdb-control-commands-regexp, and
12095 decrement it each time the command is "end". (Bug#11279)
12097 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12099 * window.el (adjust-window-trailing-edge, enlarge-window)
12100 (shrink-window, window-resize):
12101 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12102 windows (Bug#11276).
12104 2012-04-27 Chong Yidong <cyd@gnu.org>
12106 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12107 fix "missing prefix" warning. All callers changed.
12109 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12111 * emacs-lisp/assoc.el: Move to obsolete/.
12113 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12115 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12117 * term/ns-win.el (ns-define-service):
12118 * progmodes/pascal.el (pascal-goto-defun):
12119 * progmodes/js.el (js--read-tab):
12120 * progmodes/etags.el (tags-lazy-completion-table):
12121 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12122 * emacs-lisp/ewoc.el (ewoc--wrap):
12123 * emacs-lisp/assoc.el (aput, adelete, amake):
12124 * doc-view.el (doc-view-convert-current-doc):
12125 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12127 2012-04-26 Chong Yidong <cyd@gnu.org>
12129 * image.el (image-type-from-buffer): Only return supported image
12132 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12133 value, for symmetry with diff-end-of-hunk.
12134 (diff-split-hunk, diff-find-source-location)
12135 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12136 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12137 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12138 compute the relevant hunk or file properly (Bug#6005).
12139 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12141 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * vc/vc.el: Replace lexical-let by lexical-binding.
12151 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12152 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12153 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12155 2012-04-26 Chong Yidong <cyd@gnu.org>
12157 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12158 (diff-mode-shared-map): Bind it to / and [remap undo].
12160 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12161 (ediff-window-setup-function): Use it as the default, to set up
12162 windows based on whether the current frame is graphical (Bug#2138).
12163 (ediff-choose-window-setup-function-automatically): Make obsolete.
12165 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12167 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12169 * ffap.el: Remove old code for obsolete package.
12170 (ffap-complete-as-file-p): Remove.
12172 Use completion-table-with-quoting for comint and pcomplete.
12173 * comint.el (comint--unquote&requote-argument)
12174 (comint--unquote-argument, comint--requote-argument): New functions.
12175 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12176 (comint-quote-filename): Use regexp-opt-charset.
12177 (comint--common-suffix, comint--common-quoted-suffix)
12178 (comint--table-subvert): Remove.
12179 (comint-unquote-function, comint-requote-function): New vars.
12180 (comint--complete-file-name-data): Use them with
12181 completion-table-with-quoting.
12182 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12183 * pcomplete.el (pcomplete-arg-quote-list)
12184 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12185 (pcomplete-unquote-argument-function): Default to non-nil.
12186 (pcomplete-unquote-argument): Simplify.
12187 (pcomplete--common-quoted-suffix): Remove.
12188 (pcomplete-requote-argument-function): New var.
12189 (pcomplete--common-suffix): New function.
12190 (pcomplete-completions-at-point): Use completion-table-with-quoting
12191 and completion-table-subvert.
12193 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12194 (minibuffer--double-dollars): Preserve properties.
12195 (completion--sifn-requote): New function.
12196 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12198 * minibuffer.el: Add support for completion of quoted/escaped data.
12199 (completion-table-with-quoting, completion-table-subvert): New funs.
12200 (completion--twq-try, completion--twq-all): New functions.
12201 (completion--nth-completion): New function.
12202 (completion-try-completion, completion-all-completions): Use it.
12204 2012-04-25 Leo Liu <sdl.web@gmail.com>
12206 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12207 Use compilation-message if available to find real filename.
12209 2012-04-25 Chong Yidong <cyd@gnu.org>
12211 * vc/diff-mode.el (diff-setup-whitespace): New function.
12212 (diff-mode): Use it.
12214 * vc/diff.el (diff-sentinel):
12215 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12216 Whitespace mode variables based on diff style (Bug#8612).
12218 2012-04-25 Leo Liu <sdl.web@gmail.com>
12220 * progmodes/python.el (python-send-region): Add suffix .py to the
12223 * files.el (auto-mode-alist): Use javascript-mode instead.
12225 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12227 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12229 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12230 (soap-resolve-references-for-array-type): Hack to prevent self
12231 references, see Bug#9.
12232 (soap-parse-envelope): Report the contents of the 'detail' node
12233 when receiving a fault reply.
12234 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12236 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12237 (soap-inspect-simple-type): New function.
12239 * net/soap-client.el (soap-simple-type): New struct.
12240 (soap-default-xsd-types, soap-default-soapenc-types)
12241 (soap-decode-basic-type, soap-encode-basic-type):
12242 support unsignedInt and double basic types.
12243 (soap-resolve-references-for-simple-type)
12244 (soap-parse-simple-type, soap-encode-simple-type): New function.
12245 (soap-parse-schema): Parse xsd:simpleType declarations.
12247 * net/soap-client.el (soap-default-xsd-types)
12248 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12249 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12250 the local name of "soapenc:Array".
12251 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12252 decoding integer, byte and anyURI xsd types.
12254 2012-04-25 Chong Yidong <cyd@gnu.org>
12256 * cus-edit.el (custom-buffer-create-internal): Update header text.
12258 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12260 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12261 settings on 'system-type', not on 'window-system'. On MS-Windows,
12262 set interactive-mode on in GDB.
12264 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12267 (ruby-syntax-propertize-regexp): Remove.
12268 (ruby-syntax-propertize-function): Split regexp into chunks.
12269 Match following code directly.
12271 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12273 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12274 (ruby-syntax-propertize-regexp): New function.
12275 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12276 by a special keyword.
12278 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12279 (ruby-syntax-general-delimiters-goto-beg)
12280 (ruby-syntax-propertize-general-delimiters): New functions.
12281 (ruby-syntax-propertize-function): Use them to handle GDL.
12282 (ruby-font-lock-keywords): Move old handling of GDL...
12283 (ruby-font-lock-syntactic-keywords): .. to here.
12284 (ruby-calculate-indent): Adjust indentation for GDL.
12286 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12288 * notifications.el (top): Remove unneeded declarations.
12289 (notifications-specification-version): Change to "1.2".
12290 (notifications-interface, notifications-notify-method)
12291 (notifications-close-notification-method): Fix docstring.
12292 (notifications-get-capabilities-method): New defconst.
12293 (notifications-notify): Add :action-items, :resident and
12294 :transient hints. Change "image_data" to "image-data" and
12295 "image_path" to "image-path".
12296 (notifications-get-capabilities): New defun.
12298 2012-04-24 Leo Liu <sdl.web@gmail.com>
12300 * progmodes/python.el: Move hideshow setup to the end.
12302 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12304 * window.el (handle-select-window): Clear echo area since this is
12305 no more done by read_char (Bug#11304).
12307 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12309 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12310 and `/ M' to filter-derived-mode.
12311 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12312 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12313 (ibuffer-mark-by-mode): Use default rather than initial-input.
12314 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12316 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12318 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12319 (ibuffer-filter-by-derived-mode): New filter.
12320 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12322 2012-04-23 Andreas Politz <politza@fh-trier.de>
12324 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12326 2012-04-23 Chong Yidong <cyd@gnu.org>
12328 * cus-edit.el (customize-apropos, customize-apropos-options):
12329 Disable matching of non-option variables (Bug#11176).
12330 (customize-option, customize-option-other-window)
12331 (customize-changed-options): Doc fix.
12332 (customize-apropos-options, customize-apropos-faces)
12333 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12335 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12336 Fix word list splitting (Bug#11132).
12337 (apropos-symbol, apropos-keybinding, apropos-label)
12338 (apropos-property, apropos-function-button)
12339 (apropos-variable-button, apropos-misc-button): New faces.
12340 (apropos-symbol-face, apropos-keybinding-face)
12341 (apropos-label-face, apropos-property-face, apropos-match-face):
12342 Variables removed (Bug#8396).
12343 (apropos-library-button, apropos-format-plist, apropos-print)
12344 (apropos-print-doc, apropos-describe-plist): Callers changed.
12346 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12348 * net/xesam.el (xesam-mode-map): Use let-bound map in
12349 initialization. (Bug#11292)
12351 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12353 Preserve ispell session localwords when switching back to
12356 * textmodes/ispell.el (ispell-buffer-session-localwords):
12357 New buffer-local variable to hold buffer session localwords.
12358 (ispell-kill-ispell): Add option 'clear to delete session
12360 (ispell-command-loop, ispell-change-dictionary)
12361 (ispell-buffer-local-words): Preserve session localwords when
12364 * textmodes/flyspell.el (flyspell-process-localwords)
12365 (flyspell-do-correct): Preserve session localwords when needed.
12367 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12369 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12370 using obsolete `translation-table-for-input'.
12371 (ispell-word, ispell-process-line, ispell-complete-word):
12372 Use plain `insert' instead of removed `ispell-insert-word'.
12374 2012-04-22 Chong Yidong <cyd@gnu.org>
12376 * cus-edit.el (custom-variable-menu)
12377 (custom-variable-reset-saved, custom-face-menu)
12378 (custom-face-reset-saved): If there is no saved value, make the
12379 "reset-saved" operation bring back the default (Bug#9509).
12380 (custom-face-state): Properly detect themed faces.
12382 * faces.el (face-spec-set): Stop supporting deprecated form of
12385 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12387 Move functions from C to Lisp. Make non-blocking method calls
12388 the default. Implement further D-Bus standard interfaces.
12390 * net/dbus.el (dbus-message-internal): Declare function.
12391 Remove unneeded function declarations.
12392 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12393 (dbus-message-type-method-return, dbus-message-type-error)
12394 (dbus-message-type-signal): Declare variables. Remove local
12396 (dbus-interface-dbus, dbus-interface-peer)
12397 (dbus-interface-introspectable, dbus-interface-properties)
12398 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12400 (dbus-interface-objectmanager): New defconst.
12401 (dbus-call-method, dbus-call-method-asynchronously)
12402 (dbus-send-signal, dbus-method-return-internal)
12403 (dbus-method-error-internal, dbus-register-service)
12404 (dbus-register-signal, dbus-register-method): New defuns, moved
12406 (dbus-call-method-handler, dbus-setenv)
12407 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12409 (dbus-call-method-non-blocking): Make it an obsolete function.
12410 (dbus-unregister-object, dbus-unregister-service)
12411 (dbus-handle-event, dbus-register-property)
12412 (dbus-property-handler): Obey the new structure of
12413 `bus-registered-objects'.
12414 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12415 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12416 Use `dbus-call-method'.
12418 2012-04-22 Chong Yidong <cyd@gnu.org>
12420 * cus-edit.el (custom-commands, custom-reset-menu)
12421 (Custom-reset-standard): Tweak labels.
12422 (custom-reset-button-menu): Change default to t.
12423 (custom-buffer-create-internal): For the custom-reset-button-menu
12424 case, put the revert button first.
12425 (custom-group-subtitle): New face.
12426 (custom-group-value-create): Align docstring to a specific column.
12428 * wid-edit.el (widget-documentation-link-add): Don't handle
12429 indentation in this function.
12430 (widget-documentation-string-indent-to): New function.
12431 (widget-documentation-string-value-create): Use it.
12433 * autorevert.el (auto-revert):
12434 * epg-config.el (epg):
12435 * ibuffer.el (ibuffer):
12438 * eshell/eshell.el (eshell):
12439 * net/ange-ftp.el (ange-ftp):
12440 * progmodes/ebnf2ps.el (postscript):
12441 * progmodes/flymake.el (flymake):
12442 * progmodes/prolog.el (prolog):
12443 * progmodes/verilog-mode.el (verilog-mode):
12444 * progmodes/which-func.el (which-func):
12445 * term/xterm.el (xterm):
12446 * textmodes/picture.el (picture):
12447 * textmodes/tildify.el (tildify):
12448 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12449 customization buffers.
12451 2012-04-22 Alan Mackenzie <acm@muc.de>
12453 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12454 Adding a ) can hide the resulting (..) from searches. Fix it.
12455 Bound the backward search to the position of the existing (.
12457 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12459 * progmodes/verilog-mode.el (verilog-mode): Check whether
12460 which-func-modes is t before adding verilog-mode.
12461 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12463 2012-04-21 Leo Liu <sdl.web@gmail.com>
12465 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12467 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12469 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12470 filling of the last column of a table (Bug#5635).
12471 (woman-find-next-control-line): New arg, specifying an additional
12472 regexp component for the control line.
12473 (woman2-roff-buffer): Use it.
12474 (woman-break-table): New function.
12475 (woman2-TS): Use it.
12477 2012-04-21 Chong Yidong <cyd@gnu.org>
12479 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12480 (woman-horizontal-escapes, woman-negative-vertical-space)
12481 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12482 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12484 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12486 * minibuffer.el (completion-file-name-table): Complete user names.
12488 2012-04-20 Leo Liu <sdl.web@gmail.com>
12490 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12493 2012-04-20 Chong Yidong <cyd@gnu.org>
12495 * server.el (server-execute): Respect initial-buffer-choice if it
12496 is a string and there are no files to open (Bug#2825).
12497 (server-create-window-system-frame, server-create-tty-frame):
12498 Don't switch buffers here.
12499 (server-process-filter): Only try to open a window system frame if
12500 compiled with graphical support (Bug#8314).
12502 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12504 * battery.el (battery-echo-area-format): Display remaining time
12505 for sysfs backend too (Bug#11269).
12506 (battery-linux-sysfs): Fix conditional for the charge.
12508 2012-04-20 Chong Yidong <cyd@gnu.org>
12510 * progmodes/gdb-mi.el (gdb): Revert previous change.
12511 (gdb-inferior-io--init-proc): New function.
12512 (gdb-init-1): Use it.
12513 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12514 responsible for allocating a new pty and hooking it to gdb when
12515 the old pty gets an EIO due to process exit.
12516 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12517 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12518 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12520 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12522 * window.el (window-min-size, window-sizable, window-min-delta)
12523 (window-max-delta, window--resizable, window-resizable)
12524 (window-total-size, window-full-height-p, window-full-width-p)
12525 (window-in-direction, window--resize-mini-window, window-resize)
12526 (window--resize-child-windows-normal)
12527 (window--resize-child-windows, window--resize-siblings)
12528 (window--resize-this-window, adjust-window-trailing-edge)
12529 (enlarge-window, shrink-window): Doc fixes.
12531 2012-04-20 Chong Yidong <cyd@gnu.org>
12533 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12534 New function to call delete-process on the gdb-inferior buffer's pty.
12535 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12536 pty process (Bug#11273).
12537 (gdb-update): New arg to suppress talking to the gdb process.
12538 (gdb-done-or-error): Use it.
12539 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12540 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12541 sentinel not being called.
12543 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12545 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12547 2012-04-20 Glenn Morris <rgm@gnu.org>
12549 * net/network-stream.el (open-network-stream): Doc fix.
12551 2012-04-20 Chong Yidong <cyd@gnu.org>
12553 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12555 2012-04-20 Alan Mackenzie <acm@muc.de>
12557 Ensure searching for keywords is case sensitive.
12559 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12560 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12561 (c-defun-name, c-mark-function, c-cpp-define-name)
12562 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12563 (c-context-line-break): Bind case-fold-search to nil.
12565 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12566 Bind case-fold-search to nil.
12568 2012-04-20 Chong Yidong <cyd@gnu.org>
12570 * mail/sendmail.el (mail-bury): Call return action with the right
12571 Rmail buffer (Bug#11242).
12573 * server.el (server-process-filter): Handle corner case where both
12574 tty and nowait options are present (Bug#11102).
12576 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12578 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12579 (top level): Put into the executable the ident-style '$Id:' tag on
12580 windows-nt as well.
12582 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12584 * electric.el (electric-indent-post-self-insert-function): Check that
12585 electric-indent-mode is enabled in current buffer.
12587 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12589 * imenu.el (imenu-progress-message): Restore; it is "used" in
12590 erc/erc-imenu.el and net/snmp-mode.el.
12592 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12594 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12595 (mouse-avoidance-nudge-mouse): Remove unused binding.
12597 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12599 * descr-text.el (describe-char):
12600 * progmodes/python.el (python-describe-symbol):
12601 Don't call `toggle-read-only', set `buffer-read-only'.
12603 * imenu.el (imenu-default-goto-function): Mark unused args.
12604 (imenu-progress-message): Remove obsolete macro; all callers changed.
12606 * subr.el (keymap-canonicalize): Remove unused binding.
12607 (read-passwd): Mark unused arg.
12609 * tutorial.el (tutorial--display-changes): Remove unused binding.
12610 (tutorial--save-tutorial-to): Remove unused variable.
12612 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12613 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12614 (package-generate-autoloads, package-menu--generate)
12615 (package-menu--find-upgrades): Remove unused bindings.
12617 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12618 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12619 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12620 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12621 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12622 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12623 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12624 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12625 (cua-delete-char-rectangle): Mark unused args.
12626 (cua-align-rectangle): Remove unused binding.
12628 * mail/rmail.el (compilation--message->loc)
12629 (epa--find-coding-system-for-mime-charset): Declare.
12631 * net/dbus.el (dbus-register-service): Declare.
12632 (dbus-name-owner-changed-handler): Remove unused binding.
12634 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12635 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12636 (nxml-scan-backward-within): Mark unused arg.
12637 (nxml-dynamic-markup-word): Remove unused binding.
12639 * mouse.el (mouse-menu-major-mode-map):
12640 * emacs-lisp/authors.el (authors-scan-change-log)
12641 (authors-add-to-author-list):
12642 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12643 * emacs-lisp/smie.el (smie-auto-fill):
12644 * mail/sendmail.el (mail-bury):
12645 * mail/unrmail.el (unrmail):
12646 * net/tls.el (open-tls-stream):
12647 * textmodes/picture.el (picture-mouse-set-point):
12648 Remove unused bindings.
12650 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12652 * net/tramp.el (tramp-action-password): Let-bind
12653 `enable-recursive-minibuffers' to t.
12655 2012-04-18 Sam Steingold <sds@gnu.org>
12657 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12658 instead of 'string to accommodate values like [f11].
12659 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12660 * progmodes/gdb-mi.el: Likewise.
12662 2012-04-18 Leo Liu <sdl.web@gmail.com>
12664 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12666 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12669 2012-04-18 Chong Yidong <cyd@gnu.org>
12671 * simple.el (line-move): Use forward-line if in batch mode
12674 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12676 * files.el (after-find-file): Do not try to add a final newline if
12677 the buffer is read-only (Bug#11156).
12679 2012-04-17 Richard Stallman <rms@gnu.org>
12681 * mail/rmail.el (rmail-start-mail):
12682 Pass (rmail-mail-return...) for the return-action.
12683 Pass (rmail-yank-current-message...) for the yank-action.
12684 (rmail-yank-current-message): New function.
12685 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12686 (rmail-reply): Likewise.
12687 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12689 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12690 buffer, not the last. Reject temp buffers. Use the rmail-mode
12691 buffer, not newbuf.
12693 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12695 * server.el (server-ensure-safe-dir): Simplify.
12697 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12699 * emacs-lisp/smie.el: Provide smarter auto-filling.
12700 (smie-auto-fill): New function.
12701 (smie-setup): Use it.
12703 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12705 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12707 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12708 (comment-indent): Use it.
12710 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12712 * ses.el: The overall change is to add cell renaming, that is
12713 setting fancy names for cell symbols other than name matching
12714 "\\`[A-Z]+[0-9]+\\'" regexp .
12715 (ses-localvars): Add ses--renamed-cell-symb-list.
12716 (ses-create-cell-variable): New defun.
12717 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12718 (ses-relocate-formula): Relocate formulas only for cells the
12719 symbols of which are not renamed, i.e. symbols whose names do not
12720 match regexp "\\`[A-Z]+[0-9]+\\'".
12721 (ses-relocate-all): Relocate values only for cells the symbols of
12722 which are not renamed.
12723 (ses-load): Create cells variables as the (ses-cell ...) are read,
12724 in order to check row col consistency with cell symbol name only
12725 for cells that are not renamed.
12726 (ses-replace-name-in-formula): New defun.
12727 (ses-rename-cell): New defun.
12729 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12731 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12732 New option (bug#11118).
12733 (perl-calculate-indent): Respect it.
12735 2012-04-17 Glenn Morris <rgm@gnu.org>
12737 * dired-aux.el (dired-mark-read-string): Doc fix.
12739 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12741 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12742 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12744 2012-04-17 Glenn Morris <rgm@gnu.org>
12746 * mouse.el (mouse-drag-track):
12747 * speedbar.el (speedbar-frame-mode):
12748 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12750 2012-04-16 Leo Liu <sdl.web@gmail.com>
12752 * progmodes/python.el: Trivial cleanup.
12754 2012-04-16 Glenn Morris <rgm@gnu.org>
12756 * vc/vc.el (vc-string-prefix-p):
12757 * vc/pcvs-util.el (cvs-string-prefix-p):
12758 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12759 * mpc.el (mpc-string-prefix-p):
12760 Make all of these into obsolete aliases for string-prefix-p.
12762 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12764 * textmodes/two-column.el: Move custom options to the start.
12765 (frame-width): Remove compat definition.
12766 (2C-associate-buffer, 2C-dissociate):
12767 Use with-current-buffer rather than save-excursion.
12768 (2C-dissociate): Force a mode-line update.
12769 (2C-autoscroll): Use ignore-errors.
12771 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12774 * emacs-lisp/cl-extra.el (*random-state*):
12775 Remove unnecessary declaration.
12777 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12779 * play/cookie1.el (cookie-snarf):
12780 Give an explicit error if input file cannot be read.
12782 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12784 * progmodes/perl-mode.el (c-macro-expand):
12785 Remove unnecessary autoload (it is in loaddefs.el).
12787 * textmodes/picture.el (picture-desired-column)
12788 (picture-update-desired-column): Convert comments to doc-strings.
12789 (picture-substitute): Remove function.
12790 (picture-mode-map): Initialize in the defvar.
12792 * woman.el: Remove eval-after-load for tar-mode.
12793 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12794 (woman-tar-extract-file): Autoload it.
12796 * frame.el (automatic-hscrolling): Make this alias obsolete.
12798 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12800 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12801 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12802 (ispell-dictionary-base-alist): Revert to original XEmacs
12803 friendly version for default. [:alpha:] will be added in
12804 `ispell-set-spellchecker-params' if needed.
12806 2012-04-16 Chong Yidong <cyd@gnu.org>
12808 * image.el (imagemagick--file-regexp): New variable.
12809 (imagemagick-register-types): Use it.
12810 (imagemagick-types-inhibit): Add :set function. Allow new value
12811 of t to inhibit all types.
12813 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12814 so we can preload it.
12816 * loadup.el (fboundp): Preload regexp-opt, needed by
12817 imagemagick-register-types.
12819 2012-04-15 Chong Yidong <cyd@gnu.org>
12821 * frame.el (scrolling): Remove nearly unused customization group.
12823 * scroll-all.el (scroll-all-mode): Move to windows group.
12825 2012-04-15 Chong Yidong <cyd@gnu.org>
12827 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12829 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12831 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12832 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12834 2012-04-15 Glenn Morris <rgm@gnu.org>
12836 * simple.el (process-file-side-effects): Doc fix.
12838 2012-04-15 Glenn Morris <rgm@gnu.org>
12840 * international/mule-cmds.el (set-language-environment): Doc fix.
12842 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12844 * server.el (server-auth-key, server-generate-key): Doc fixes.
12845 (server-get-auth-key): Doc fix. Use `string-match-p'.
12846 (server-start): Reflow docstring.
12848 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12850 * server.el (server-generate-key): `called-interactively-p'
12851 requires a parameter.
12853 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12855 * server.el (server-auth-key): New variable.
12856 (server-generate-key, server-get-auth-key): New function.
12857 (server-start): Use the new variable and functions to allow
12858 setting a permanent server key (bug#9423).
12860 2012-04-14 Leo Liu <sdl.web@gmail.com>
12862 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12864 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12867 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12868 Emacs uses American spelling.
12870 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12872 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12873 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12874 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12875 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12877 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * progmodes/which-func.el (which-func-modes): Change default.
12881 2012-04-14 Kim F. Storm <storm@cua.dk>
12883 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12884 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12886 2012-04-14 Chong Yidong <cyd@gnu.org>
12888 * custom.el (custom-theme-set-variables): Doc fix.
12890 2012-04-14 Glenn Morris <rgm@gnu.org>
12892 * international/mule.el (set-auto-coding-for-load): Doc fix.
12894 2012-04-14 Alan Mackenzie <acm@muc.de>
12896 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12897 imenu work again for Objective C Mode. Correct the *-index values,
12898 these having been disturbed by a previous change in 2011-08.
12900 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12901 Correct two search limits.
12903 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12907 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12909 * international/characters.el: Fix sorting.
12911 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12913 * international/characters.el: Add more missing Latin case pairs.
12915 2012-04-14 Glenn Morris <rgm@gnu.org>
12917 * files.el (dir-locals-set-class-variables): Doc fix.
12919 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12921 * international/characters.el: Add set-case-syntax-pair call for
12922 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12923 counterpart. (Bug#11209)
12925 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12927 2012-04-14 Glenn Morris <rgm@gnu.org>
12929 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12931 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12933 * textmodes/ispell.el (ispell-dictionary-base-alist):
12934 Add data for Hebrew.
12936 2012-04-14 Chong Yidong <cyd@gnu.org>
12938 * net/rcirc.el (rcirc-cmd-quit):
12939 Revert 2012-03-18 change (Bug#11192).
12941 2012-04-14 Glenn Morris <rgm@gnu.org>
12943 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12945 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12947 * minibuffer.el (completion-in-region-mode-map):
12948 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12950 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12952 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12954 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12956 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12957 to allow `C-M-f' and `C-M-b' to move to the nearest path
12958 separator (bug#9511).
12960 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12962 * avoid.el: Require cl when compiling. And also move the
12963 `provide' to the end.
12965 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12967 * avoid.el (mouse-avoidance-banish-position): New variable.
12968 (mouse-avoidance-banish-destination): Use it (bug#10165).
12970 2012-04-13 Leo Liu <sdl.web@gmail.com>
12972 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12974 2012-04-13 Ken Brown <kbrown@cornell.edu>
12976 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12977 this is no longer needed now that cygstart understands file:// URLs.
12978 (browse-url-filename-alist): For the same reason, don't modify
12979 file:// URLs on Cygwin.
12981 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12983 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12984 the region on shift if the binding is already shifted (bug#11221).
12986 2012-04-12 Glenn Morris <rgm@gnu.org>
12988 * mail/mailpost.el: Move to obsolete/.
12990 2012-04-12 Drew Adams <drew.adams@oracle.com>
12992 * imenu.el (imenu--generic-function): Ignore invisible definitions
12995 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12997 * hexl.el (hexl-bits): New variable.
12998 (hexl-options): Mention the variable in the doc string.
12999 (hexl-rulerise, hexl-line-displen): New functions.
13000 (hexl-mode): Mention the new variable.
13001 (hexl-mode, hexl-current-address, hexl-current-address):
13003 (hexl-ascii-start-column): New function.
13004 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13005 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13007 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13009 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13010 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13011 the encoding, as expected by hunspell.
13013 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13015 * battery.el (battery--linux-sysfs-regexp): New const.
13016 (battery-status-function): Use it. Remove yeeloong special case.
13017 (battery-yeeloong-sysfs): Remove.
13018 (battery-echo-area-format): Remove yeeloong special case.
13020 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13022 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13023 Reported by Noah Friedman.
13025 * subr.el (read-passwd): Use read-string.
13027 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13029 * vcursor.el (vcursor-move): Increase the priority of the overlay
13032 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13034 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13035 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13037 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13039 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13040 define-minor-mode (bug#10760).
13042 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13044 * progmodes/grep.el (rgrep): Tweak the find command line so
13045 that directories matching `grep-find-ignored-files' won't be
13046 pruned (bug#10351).
13048 2012-04-11 Chong Yidong <cyd@gnu.org>
13050 * startup.el (command-line): Remove support for long-obsolete
13051 variable font-lock-face-attributes.
13053 2012-04-11 Glenn Morris <rgm@gnu.org>
13055 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13057 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13059 * window.el (window--state-get-1): Obey window-point-insertion-type.
13061 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13063 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13064 to previous function when point is on the first character of a
13065 function. Take care of that in `narrow-to-defun' (bug#6157).
13067 2012-04-11 Glenn Morris <rgm@gnu.org>
13069 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13070 not just file-errors.
13072 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13073 (vc-bzr-sha1): Use internal sha1.
13075 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13077 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13079 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13081 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13082 that start in the middle of the line (bug#10496).
13084 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13086 * battery.el (battery-linux-proc-acpi): Only one battery is
13087 discharged at a time, but that seems to confuse battery.el when
13088 computing `rate-type' for the battery not being discharged
13091 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13093 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13095 * international/quail.el: Use dolist and simplify.
13096 (quail-define-package, quail-update-keyboard-layout)
13097 (quail-define-rules): Use dolist.
13098 (quail-insert-kbd-layout, quail-get-translation): CSE.
13100 * tmm.el: Use dolist, remove left over hook.
13101 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13103 (calendar-load-hook): Don't mess with it.
13105 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13106 Use derived-mode-p. Run the diff asynchronously.
13108 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13112 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13114 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13115 (list-dynamic-libraries--loaded): New function.
13116 (list-dynamic-libraries--refresh): Use it.
13118 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13120 * progmodes/python.el (python-fill-paragraph):
13121 Make python-fill-region in a multiline string work when font-lock is
13122 disabled (bug#7018).
13124 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13126 * language/european.el (cp775): Add oem/legacy (en)coding on
13127 DOS/MS Windows for the Baltic languages. There are still plenty
13128 of texts written in this encoding/codepage (bug#6519).
13130 2012-04-10 Glenn Morris <rgm@gnu.org>
13132 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13133 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13135 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13137 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13138 next-line "n" and previous-line "p" in order to make recentf more
13139 consistent with ibuffer, dired or org-mode (bug#9387).
13141 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13143 * image.el (put-image): Return the overlay created instead of the
13144 optional input string (bug#7834). Note that this may break code
13145 that is (for some reason or other) depending on `put-image'
13146 returning the string.
13148 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13150 * simple.el (zap-to-char): Allow zapping using input methods
13153 * textmodes/fill.el (fill-region): Leave point and mark where they
13154 were before filling (bug#5399).
13156 2012-04-09 Glenn Morris <rgm@gnu.org>
13158 * version.el (emacs-bzr-get-version):
13159 Handle lightweight checkouts of local branches.
13161 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13163 * international/characters.el: Recover lost case pairs. (Bug#11209)
13165 2012-04-09 Chong Yidong <cyd@gnu.org>
13167 * custom.el (custom-variable-p): Return nil for non-symbol
13168 arguments instead of signaling an error.
13169 (user-variable-p): Obsolete alias for custom-variable-p.
13171 * apropos.el (apropos-variable):
13172 * files-x.el (read-file-local-variable):
13173 * simple.el (set-variable):
13174 * woman.el (woman-mini-help):
13175 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13177 2012-04-09 Glenn Morris <rgm@gnu.org>
13179 * startup.el (normal-top-level): Don't look for leim-list.el
13180 in places where it will not be found. (Bug#910)
13182 * international/mule-cmds.el (set-default-coding-systems):
13183 * files.el (normal-mode):
13184 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13185 This function was removed with ucs-tables.el in 2008.
13187 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13189 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13190 ispell-encoding8-command to "-i", without a trailing space.
13191 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13192 separate command-line arguments, to specify the encoding, since
13193 that's how hunspell expects it.
13195 2012-04-08 Glenn Morris <rgm@gnu.org>
13197 * loadup.el: Load bindings before cus-start.
13198 This reduces somewhat the number of "rogue" settings in emacs -Q.
13200 2012-04-07 Glenn Morris <rgm@gnu.org>
13202 * version.el (emacs-bzr-get-version): New function.
13203 (emacs-bzr-version): New variable.
13204 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13205 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13207 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13209 * international/uni-bidi.el, international/uni-category.el:
13210 * international/uni-combining.el, international/uni-decimal.el:
13211 * international/uni-decomposition.el, international/uni-digit.el:
13212 * international/uni-lowercase.el, international/uni-mirrored.el:
13213 * international/uni-name.el, international/uni-numeric.el:
13214 * international/uni-titlecase.el, international/uni-uppercase.el:
13215 Update for Unicode 6.1.
13217 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13219 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13221 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13223 * window.el (shrink-window): Mention the `window-min-height'
13224 variable in the doc string.
13226 2012-04-05 Bastien Guerry <bzg@altern.org>
13228 * color.el (color-lighten-name): Fix typo.
13230 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * server.el (server--on-display-p): New function.
13233 (server--on-display-p): Use it.
13235 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13237 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13240 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * comint.el (comint--common-quoted-suffix): Check string boundary
13243 before comparing (bug#11158).
13244 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13246 2012-04-04 Chong Yidong <cyd@gnu.org>
13248 * minibuffer.el (completion-extra-properties): Doc fix.
13250 * subr.el (delayed-warnings-hook): Doc fix.
13252 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13254 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13255 selection (Bug#11159).
13256 (epa-insert-keys): Inform that the default public key will be
13257 exported if no key is selected.
13259 2012-04-04 Richard Stallman <rms@gnu.org>
13261 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13263 2012-04-03 Chong Yidong <cyd@gnu.org>
13265 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13266 mail-insert-file, not its obsolete alias mail-attach-file.
13268 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13270 * notifications.el (notifications-notify): Fix docstring.
13272 2012-04-02 Glenn Morris <rgm@gnu.org>
13274 * emacs-lisp/authors.el (authors-aliases): Another addition.
13276 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13278 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13279 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13280 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13282 2012-04-01 Chong Yidong <cyd@gnu.org>
13284 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13285 Handle root directory properly.
13286 (copy-directory): Caller changed.
13288 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13289 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13291 2012-03-31 Glenn Morris <rgm@gnu.org>
13293 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13295 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13297 * calendar/calendar.el (calendar-window-list)
13298 (calendar-hide-window): Restore. (Bug#11140)
13299 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13301 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13303 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13305 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13306 Check if file is a symlink (Bug#10489).
13308 * files.el (copy-directory): Likewise.
13310 2012-03-30 Chong Yidong <cyd@gnu.org>
13312 * image.el (imagemagick-types-inhibit)
13313 (imagemagick-register-types): Doc fix.
13315 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13317 * textmodes/ispell.el (ispell-get-extended-character-mode):
13318 Disable extended-char-mode for hunspell. hunspell does not support it
13319 and treats ~word as ordinary words in pipe mode.
13321 2012-03-30 Glenn Morris <rgm@gnu.org>
13323 * tutorial.el (help-with-tutorial): Ensure local variables don't
13324 happen to make the buffer read-only. (Bug#11127)
13326 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13329 (perl-calculate-indent): Return `noindent' in strings.
13331 2012-03-28 Sam Steingold <sds@gnu.org>
13333 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13334 instead of the broken adhockery which does not prevent calendar
13335 buffers from being displayed at random after exit.
13336 (calendar-window-list, calendar-hide-window): Remove the broken
13339 2012-03-28 Glenn Morris <rgm@gnu.org>
13341 * replace.el (query-replace-map): Doc fix.
13343 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13345 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13346 contents. (Bug#11109)
13348 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13350 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13352 (avl-tree--check, avl-tree--check-node): New funs.
13354 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13356 * window.el (switch-to-visible-buffer): New option.
13357 (switch-to-prev-buffer, switch-to-next-buffer):
13358 Observe switch-to-visible-buffer. Make sure that checking for a window
13359 showing a buffer already is done on the same frame.
13361 2012-03-27 Glenn Morris <rgm@gnu.org>
13363 * startup.el (mail-host-address): Doc fix.
13365 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13367 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13368 than 197 variables.
13370 2012-03-26 Ami Fischman <ami@fischman.org>
13372 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13374 2012-03-26 Glenn Morris <rgm@gnu.org>
13376 * files.el (save-buffers-kill-emacs): Doc fix.
13378 * startup.el (normal-top-level, command-line, command-line-1):
13379 Give them doc strings.
13381 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13383 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13384 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13386 2012-03-25 Chong Yidong <cyd@gnu.org>
13388 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13389 theme if it was previously enabled before (Bug#11031).
13391 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13392 spec with custom-face-get-current-spec if its :shown-value is not
13393 determined yet (Bug#9337).
13394 (customize-create-theme, custom-theme-revert): Doc fixes.
13396 * button.el (button-at): Minor addition to docstring.
13398 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13400 * vc/vc.el (vc-merge): Fix a prompt.
13402 2012-03-24 Chong Yidong <cyd@gnu.org>
13404 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13407 * button.el (button-at): Minor addition to docstring.
13409 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13411 * newcomment.el (comment-choose-indent): No space after BOL.
13413 2012-03-22 Sam Steingold <sds@gnu.org>
13415 * window.el (switch-to-prev-buffer): Revert last patch because the
13416 bug turned out to be an advertised feature (Elisp manual 28.14).
13418 2012-03-22 Glenn Morris <rgm@gnu.org>
13420 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13421 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13423 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13425 * net/network-stream.el (network-stream-open-starttls): Make error
13426 message under Windows be less misleading.
13428 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13430 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13431 understands (bug#9942).
13433 2012-03-22 Chong Yidong <cyd@gnu.org>
13435 * simple.el (end-of-visible-line): Handle return value of
13436 next-single-property-change properly (Bug#9371).
13438 2012-03-22 Kenichi Handa <handa@m17n.org>
13440 * international/quail.el (quail-insert-kbd-layout): Fix previous
13441 change. To avoid unwanted bidi reordering, use
13442 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13444 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13446 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13447 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13448 (ruby-beginning-of-indent): Be more careful with the difference
13449 between word-boundary and symbol boundary.
13450 (ruby-mode-syntax-table): Make : a symbol constituent.
13452 2012-03-21 Andreas Politz <politza@fh-trier.de>
13454 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13456 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13458 * progmodes/etags.el (tags-completion-at-point-function):
13461 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13463 2012-03-21 Sam Steingold <sds@gnu.org>
13465 * progmodes/etags.el (tags-completion-at-point-function):
13466 Avoid the error when point is inside the pattern.
13468 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13470 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13473 2012-03-21 Drew Adams <drew.adams@oracle.com>
13475 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13477 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13479 * ido.el (ido-set-current-directory, ido-read-internal)
13480 (ido-choose-completion-string, ido-completion-help): Handle nil
13481 value of ido-completion-buffer (Bug#11008).
13483 2012-03-21 Sam Steingold <sds@gnu.org>
13485 * window.el (switch-to-prev-buffer): Do not switch to a visible
13486 window previous buffer, just like with the frame previous buffers.
13488 2012-03-21 Chong Yidong <cyd@gnu.org>
13490 * faces.el (make-face, make-empty-face, copy-face):
13491 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13494 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13497 (widget-complete): Remove broken use of it.
13499 2012-03-20 Chong Yidong <cyd@gnu.org>
13501 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13502 Use string-width and truncate-string-width to handle arbitrary
13505 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13507 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13508 to draw rectangles, not squares. (Regression introduced by revno
13509 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13511 2012-03-18 Chong Yidong <cyd@gnu.org>
13513 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13514 it is not yet defined (for temacs).
13516 2012-03-18 Leo Liu <sdl.web@gmail.com>
13518 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13521 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13523 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13524 (ispell-choices-win-default-height, ispell-silently-savep)
13525 (ispell-dictionary-alist, ispell-encoding8-command)
13526 (ispell-check-version, ispell-aspell-find-dictionary)
13527 (ispell-valid-dictionary-list, ispell-words-keyword)
13528 (ispell-get-word, ispell-internal-change-dictionary)
13529 (ispell-region, ispell-skip-region-list)
13530 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13531 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13532 (ispell-message-text-end, ispell-message)
13533 (ispell-buffer-local-parsing): Doc fix.
13535 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13537 * htmlfontify.el: Add support for code block fontification for ODT
13538 export (Bug #9914).
13539 (hfy-optimisations): Define new option
13541 (hfy-fontify-buffer): Honor above setting.
13542 (hfy-begin-span, hfy-end-span): New routines factored out form
13543 `hfy-fontify-buffer'.
13544 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13545 that permit insertion of custom tags.
13546 (hfy-fontify-buffer): Use above handlers.
13547 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13548 (hfy-face-to-css): Re-defined to be a variable.
13549 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13550 over multiple runs. This is made possible by having the caller let
13551 bind a special variable `hfy-user-sheet-assoc'.
13552 (htmlfontify-string): New defun.
13553 (hfy-compile-face-map): Make sure that the last char in the
13554 buffer is correctly fontified.
13555 (hfy-face-resolve-face): Whitespace only change.
13557 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13559 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13560 message more clear.
13562 2012-03-16 Leo Liu <sdl.web@gmail.com>
13564 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13566 2012-03-16 Alan Mackenzie <acm@muc.de>
13568 Further optimize the handling of large macros.
13570 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13571 limit to a call of `c-literal-limits'.
13572 (c-determine-+ve-limit): New function.
13573 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13574 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13575 In CASE 5B, restrict a search limit to 500.
13576 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13578 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13579 Restrict macro bounds to +-500 from after-change's BEG END.
13581 2012-03-16 Leo Liu <sdl.web@gmail.com>
13583 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13585 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13587 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13588 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13590 2012-03-16 Glenn Morris <rgm@gnu.org>
13592 * view.el (view-buffer, view-buffer-other-window)
13593 (view-buffer-other-frame): Doc fixes re special mode-class.
13595 * subr.el (eval-after-load): If named feature is provided not from
13596 a file, run after-load forms. (Bug#10946)
13598 * calendar/calendar.el (calendar-insert-at-column):
13599 Handle non-unit-width characters a bit better. (Bug#10978)
13601 2012-03-15 Chong Yidong <cyd@gnu.org>
13603 * emacs-lisp/ring.el (ring-extend): New function.
13604 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13606 * comint.el (comint-read-input-ring)
13607 (comint-add-to-input-history): Grow comint-input-ring lazily.
13609 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13611 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13612 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13614 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13615 (imenu-add-to-menubar): Don't add a redundant index.
13616 (imenu-update-menubar): Handle a dynamically composed keymap.
13618 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13620 * mail/sendmail.el (mail-encode-header):
13621 Bind rfc2047-encode-encoded-words to nil.
13623 2012-03-13 Glenn Morris <rgm@gnu.org>
13625 * calendar/calendar.el (calendar-string-spread):
13626 Handle non-unit-width characters a bit better. (Bug#10978)
13628 2012-03-13 Leo Liu <sdl.web@gmail.com>
13630 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13631 directory and file as argument (Bug#10822).
13633 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13635 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13636 For dynamically generated code, follow $PC.
13637 (gdb-disassembly-handler-custom): Handle no function name case.
13639 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13641 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13642 * emulation/ws-mode.el (ws-query-replace):
13643 * sort.el (sort-regexp-fields):
13644 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13646 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13648 * dabbrev.el: Fix cycle completion order (bug#10963).
13649 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13650 (dabbrev-completion): Don't use an obarray; provide
13651 a cycle-sort-function.
13653 2012-03-12 Leo Liu <sdl.web@gmail.com>
13655 * simple.el (kill-new): Use equal-including-properties for comparison.
13656 (kill-do-not-save-duplicates): Doc fix.
13658 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13660 * dabbrev.el: Fix cycle completion (bug#10963).
13661 Use lexical binding and wrap to 80 columns.
13662 (dabbrev-completion): Delay computing the list of completions.
13664 2012-03-12 Kenichi Handa <handa@m17n.org>
13666 * international/quail.el (quail-insert-kbd-layout): Surround each
13667 row by LRO and PDF instead of inserting many LRMs. Pad the left
13668 and right of each non-spacing marks. Insert invisible space
13669 between lower and upper characters to prevent composition.
13671 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13673 * minibuffer.el (minibuffer-complete): Don't get confused when the
13674 function is run twice via different commands (bug#10958).
13675 (complete-with-action): Fix docstring.
13677 2012-03-12 Chong Yidong <cyd@gnu.org>
13679 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13680 (nxml-completion-at-point-function): New function.
13681 (nxml-mode): Use it.
13682 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13684 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13685 Load generated autoloads file before byte compiling (Bug#10970).
13686 (package--make-autoloads-and-compile): New helper fun.
13688 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13690 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13692 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13694 * autorevert.el (auto-revert-handler): Ensure, that
13695 file-readable-p is applied only for local files or in
13696 auto-revert-tail-mode.
13698 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13700 * server.el (server-eval-at): Handle non-tcp connections.
13701 Decode result string.
13703 * server.el (server-msg-size): New constant.
13704 (server-reply-print): New function.
13705 (server-eval-and-print): Use it.
13706 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13707 Handle -print-nonl.
13709 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13711 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13714 2012-03-11 Chong Yidong <cyd@gnu.org>
13716 * simple.el (goto-line): Doc fix (Bug#9938).
13718 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13720 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13721 when finished (Bug#10963).
13723 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13725 * window.el (split-window-below): Fix bug in case where
13726 split-window-keep-point is nil (Bug#10971).
13728 2012-03-11 Juri Linkov <juri@jurta.org>
13730 * replace.el (replace-highlight): Set isearch-word to nil
13731 unconditionally. (Bug#10887)
13733 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13735 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13736 mairix-replace-illegal-chars; all callers changed. Don't remove
13737 ^, ~, and = characters: they are meaningful in mairix search specs.
13738 (mairix-widget-create-query): Add usage information about mairix
13739 search forms: negating words, searching for substrings, etc.
13741 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13743 * international/fontset.el (font-encoding-alist): Add an entry for
13744 ksx1001 (Bug#5667).
13746 2012-03-10 Richard Stallman <rms@gnu.org>
13748 * mail/sendmail.el (mail-encode-header):
13749 Set rfc2047-encode-encoded-words.
13751 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13753 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13754 view buffer means not swapped.
13755 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13756 (rmail-write-region-annotate): Error if real text has disappeared.
13758 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13760 2012-03-10 Chong Yidong <cyd@gnu.org>
13762 * emulation/cua-rect.el (cua--init-rectangles):
13763 * emulation/cua-base.el (cua--init-keymaps):
13764 Add delete-forward-char to remappings (Bug#9666).
13766 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13768 * speedbar.el (speedbar-unhighlight-one-tag-line):
13769 Avoid unhighlighting due to frame switching (Bug#10275).
13771 2012-03-10 Chong Yidong <cyd@gnu.org>
13773 * minibuffer.el (completion-in-region, completion-help-at-point):
13774 Give the completion field overlay a high priority (Bug#6830).
13776 * dired.el (dired-goto-file): Recognize absolute file name
13777 listings (Bug#7126).
13778 (dired-goto-file-1): New helper function.
13779 (dired-toggle-read-only): Inhibit warnings.
13781 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13783 * net/dbus.el (dbus-property-handler): Return empty array if
13784 there are no properties.
13786 2012-03-09 Leo Liu <sdl.web@gmail.com>
13788 * savehist.el (savehist-printable): Stricter check for string
13791 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13793 * mail/smtpmail.el (smtpmail-send-it):
13794 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13797 2012-03-09 Glenn Morris <rgm@gnu.org>
13799 * files.el (dir-locals-find-file):
13800 Don't check result is regular, readable.
13801 (dir-locals-read-from-file): Demote errors.
13803 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13805 * international/quail.el (quail-insert-kbd-layout):
13806 Insert invisible LRM characters before each character in a keyboard
13807 layout cell, to prevent their reordering by bidi display engine.
13808 For details, see the discussion in
13809 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13811 2012-03-08 Alan Mackenzie <acm@muc.de>
13813 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13814 the starting position; make it extend the marked region when
13815 invoked repeatedly - all under appropriate circumstances.
13816 Fixes bugs #5525, #10906.
13818 2012-03-08 Glenn Morris <rgm@gnu.org>
13820 * files.el (locate-dominating-file, dir-locals-find-file):
13821 Undo 2012-03-06 change.
13823 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13825 * international/quail.el (quail-help):
13826 Force bidi-paragraph-direction be left-to-right. See discussion in
13827 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13830 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13832 Avoid superfluous registering of signals. (Bug#10807)
13834 * notifications.el (notifications-on-action-object)
13835 (notifications-on-close-object): New defvars.
13836 (notifications-on-action-signal, notifications-on-closed-signal):
13837 Unregister the signal if not needed any longer.
13838 (notifications-notify): Register `notifications-action-signal' or
13839 `notifications-closed-signal', if :on-action or :on-close has been
13840 passed as argument.
13842 2012-03-07 Chong Yidong <cyd@gnu.org>
13844 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13847 2012-03-06 Glenn Morris <rgm@gnu.org>
13849 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13850 (x-disown-selection-internal, x-get-selection-internal):
13851 Doc fix (add arglist signatures). (Bug#10783)
13853 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13855 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13856 Handle breakpoints with no "type".
13858 2012-03-06 Glenn Morris <rgm@gnu.org>
13860 * files.el (locate-dominating-file): Add optional predicate argument.
13861 (dir-locals-find-file): Make use of above change.
13863 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13865 * info.el (Info-insert-dir): Also try "dir.gz".
13867 2012-03-06 Glenn Morris <rgm@gnu.org>
13869 * files.el (dir-locals-find-file):
13870 Ignore non-readable or non-regular files. (Bug#10928)
13872 * files.el (locate-dominating-file): Doc fix.
13874 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13876 * calendar/calendar.el (calendar-set-mode-line):
13877 `getenv' returns a string. (Bug#10951)
13879 2012-03-05 Leo Liu <sdl.web@gmail.com>
13881 * simple.el (backward-delete-char-untabify): Constrain point to
13884 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13886 2012-03-05 Chong Yidong <cyd@gnu.org>
13888 * simple.el (count-words): If called from Lisp, return the word
13889 count, for symmetry with `count-lines'. Arglist changed.
13890 (count-words--message): Args changed. Consolidate counting code
13891 from count-words and count-words-region.
13892 (count-words-region): Caller changed.
13893 (count-lines-region): Make it an obsolete alias.
13895 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13897 * saveplace.el (save-place-to-alist)
13898 (save-place-ignore-files-regexp): Allow value nil to disable this
13901 2012-03-04 Chong Yidong <cyd@gnu.org>
13903 * faces.el (face-spec-reset-face): For the default face, reset the
13904 attributes to default values (Bug#10748).
13906 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13908 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13909 previous patch: Check `message-send-mail-function', and not the
13910 default function (bug#10897).
13912 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13914 * notifications.el (notifications-on-action-signal)
13915 (notifications-on-closed-signal): Check for unique service name of
13916 incoming event. Fix error in removing entry.
13917 (top): Register for signals with wildcard service name.
13918 (notifications-notify): Use daemon unique service name for map entries.
13920 2012-03-04 Chong Yidong <cyd@gnu.org>
13922 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13924 2012-03-04 Glenn Morris <rgm@gnu.org>
13926 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13927 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13928 (expand-abbrev, define-abbrev-table): Doc fixes.
13930 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13932 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13933 `message-default-send-mail-function' and not `send-mail-function'
13934 when doing the prompting for `sendmail-query-once' before sending
13935 in Message buffers (bug#10897).
13937 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13938 This is inconsistent with all the other stream functions, which leave
13939 the setting up to the higher levels (if so wanted) (bug#10931).
13941 2012-03-02 Alan Mackenzie <acm@muc.de>
13943 Depessimize the handling of very large macros.
13945 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13946 (c-macro-cache-syntactic): New variables to implement a one
13947 element macro cache.
13948 (c-invalidate-macro-cache): New function.
13949 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13950 Adapt to use the new cache.
13951 (c-state-safe-place): Use better the cache of safe positions.
13952 (c-state-semi-nonlit-pos-cache)
13953 (c-state-semi-nonlit-pos-cache-limit):
13954 New variables for...
13955 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13956 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13957 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13958 Use c-state-semi-safe-place.
13960 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13961 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13963 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13965 * jka-compr.el (jka-compr-call-process):
13966 Apply `file-accessible-directory-p' only when the default directory is
13969 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13971 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13972 access of FILE2, if FILE1 does not exist.
13974 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13975 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13977 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13978 Add "PAGER=" to `process-environment'.
13980 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13982 * progmodes/sql.el: Bug fix
13983 (sql-get-login-ext): Save login values in globals.
13984 (sql-get-login): Use new version of `sql-get-login-ext'.
13985 (sql-interactive-mode): Set global `sql-connection' to nil.
13986 (sql-connect): Set global values for connection.
13987 (sql-product-interactive): Save global values as buffer local.
13989 2012-02-29 Leo Liu <sdl.web@gmail.com>
13991 * abbrev.el (define-abbrevs): Reset sys to nil.
13993 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13995 * files.el (file-equal-p): Rename from `files-equal-p'.
13996 Return nil when one or both files don't exist.
13997 (file-subdir-of-p): Now only top directory must exists,
13998 return nil if it doesn't.
13999 (copy-directory): No need to test with `file-subdir-of-p' after
14001 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14004 2012-02-28 Glenn Morris <rgm@gnu.org>
14006 * shell.el (shell-mode):
14007 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14008 * play/landmark.el (landmark-font-lock-face-O):
14009 * play/handwrite.el (handwrite):
14010 * play/gomoku.el (gomoku-O):
14011 * net/browse-url.el (browse-url-browser-display):
14012 * international/mule.el (define-charset):
14013 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14014 * filesets.el (filesets-find-file-delay):
14015 * eshell/em-xtra.el (eshell-xtra):
14016 * eshell/em-unix.el (eshell-grep):
14017 * emulation/viper.el (viper-mode):
14018 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14019 * emacs-lisp/easymenu.el (easy-menu-define):
14020 * calendar/timeclock.el (timeclock-use-display-time):
14022 * bookmark.el (bookmark-save-flag):
14023 Doc fix (standardize possessive apostrophe usage).
14025 2012-02-27 Chong Yidong <cyd@gnu.org>
14027 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14028 Fix key-binding lookup for ESC key (Bug#9146).
14030 * font-lock.el (font-lock-specified-p): Rename from
14031 font-lock-spec-present. Callers changed.
14033 2012-02-27 Daniel Hackney <dan@haxney.org>
14035 * emacs-lisp/package.el (package-compute-transaction):
14036 Handle holding a package version to t in package-load-list.
14038 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14040 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14041 (tramp-get-inode, tramp-get-device): Use cached values.
14043 2012-02-26 Alan Mackenzie <acm@muc.de>
14045 Check there is a font-lock specification before doing initial
14048 * font-core.el (font-lock-mode): Move the conditional from
14049 :after-hook to font-lock-initial-fontify.
14050 (font-lock-default-function): Move the check for a specification
14051 to font-lock-spec-present.
14053 * font-lock.el (font-lock-initial-fontify): Call ...
14054 (font-lock-spec-present): New function.
14056 2012-02-26 Jim Blandy <jimb@red-bean.com>
14058 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14059 (gdb-send): Apply it to the operand of the '-interpreter-exec
14060 console' command, so that we can pass arguments with (say) quotes
14061 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14063 2012-02-26 Chong Yidong <cyd@gnu.org>
14065 * help-fns.el (describe-function-1): Clarify description of
14066 remapping (Bug#10844).
14068 * files.el (files-equal-p): Doc fix.
14069 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14070 and quit the loop once a mismatch is found.
14072 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14074 * bs.el (bs--show-with-configuration): Don't throw an error
14075 if the window cannot be split; otherwise, subsequent calls to
14076 bs-show fail, restoring a stale window config. (Bug#10882)
14078 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14080 * term/ns-win.el (global-map): Bind ns-drag-file to
14081 ns-find-file (Bug#5855, Bug#10050).
14083 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14085 * calendar/parse-time.el (parse-time-string): Allow extractor to
14088 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14090 * net/tramp.el (tramp-file-name-for-operation):
14091 Add `files-equal-p' and `file-subdir-of-p'.
14093 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14094 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14095 Add COPY-CONTENTS argument.
14097 2012-02-25 Chong Yidong <cyd@gnu.org>
14099 Add custom groups for VC backends, for consistency with vc-bzr.
14101 * vc/vc-arch.el (vc-arch):
14102 * vc/vc-cvs.el (vc-cvs):
14103 * vc/vc-git.el (vc-git):
14104 * vc/vc-hg.el (vc-hg):
14105 * vc/vc-mtn.el (vc-mtn):
14106 * vc/vc-rcs.el (vc-rcs):
14107 * vc/vc-sccs.el (vc-sccs):
14108 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14109 All relevant defcustoms reassigned.
14111 2012-02-25 Chong Yidong <cyd@gnu.org>
14113 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14115 * term/x-win.el (x-initialize-window-system): Reduce default for
14116 x-selection-timeout to 5 seconds (Bug#8869).
14118 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14120 * files.el (files-equal-p, file-subdir-of-p): New functions.
14121 (copy-directory): Error when trying to copy a directory on itself.
14122 Add missing copy-contents arg to tramp handler.
14123 * dired-aux.el (dired-copy-file-recursive): Same.
14124 (dired-create-files): Modify destination when source is equal to
14125 dest when copying files.
14126 Return also when dest is a subdir of source. (Bug#10489)
14128 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14130 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14133 2012-02-23 Alan Mackenzie <acm@muc.de>
14135 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14136 parameter "after-hook:" to allow the expansion to run code after
14137 the execution of the mode hooks.
14139 * font-lock.el (font-lock-initial-fontify): New function extracted
14140 from font-lock-mode-internal.
14142 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14145 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14147 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14148 (completion--cache-all-sorted-completions): New function.
14149 (completion-all-sorted-completions): Use it.
14150 (completion--do-completion, minibuffer-force-complete):
14151 Use it to re-instate the flush hook.
14153 * icomplete.el (icomplete-completions): Replace last fix with a better
14156 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14158 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14159 when it might call us back infinitely (bug#10797).
14161 2012-02-23 Glenn Morris <rgm@gnu.org>
14163 * minibuffer.el (completion-category-overrides): Doc fix.
14165 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14167 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14168 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14170 2012-02-23 Glenn Morris <rgm@gnu.org>
14172 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14173 (authors-obsolete-files-regexps, authors-ignored-files)
14174 (authors-ambiguous-files, authors-renamed-files-alist):
14177 2012-02-23 Juri Linkov <juri@jurta.org>
14179 * isearch.el (isearch-occur): Sync interactive spec with occur's
14180 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14182 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14184 2012-02-22 Juri Linkov <juri@jurta.org>
14186 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14187 (ucs-insert): Doc fix. Check for hex digits in the string.
14188 Don't display `nil' in the error message. (Bug#10857)
14190 2012-02-22 Alan Mackenzie <acm@muc.de>
14192 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14194 2012-02-22 Glenn Morris <rgm@gnu.org>
14196 * ffap.el (ffap-c-path):
14197 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14199 2012-02-22 Chong Yidong <cyd@gnu.org>
14201 * custom.el (load-theme): Doc fix.
14203 2012-02-22 Glenn Morris <rgm@gnu.org>
14205 * dired-x.el (dired-guess-shell-alist-default):
14206 Remove escape sequences from nroff output. (Bug#172)
14208 2012-02-21 Glenn Morris <rgm@gnu.org>
14210 * vc/emerge.el (emerge-defvar-local):
14211 Set `permanent-local' property rather than unused `preserved'.
14213 * textmodes/picture.el (picture-delete-char): New alias.
14214 (picture-mode-map): Use it. (Bug#10860)
14215 (picture-mode): Doc fix.
14217 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14219 * newcomment.el (uncomment-region-default): Remove unused binding.
14221 2012-02-21 Glenn Morris <rgm@gnu.org>
14223 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14224 (picture-self-insert, picture-tab-chars): Doc fix.
14225 (picture-mode-map): Fix C-a, C-e.
14227 2012-02-20 Glenn Morris <rgm@gnu.org>
14229 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14231 2012-02-20 Leo Liu <sdl.web@gmail.com>
14233 * icomplete.el (icomplete-completions): Check FROM arg before
14234 passing to substring (Bug#10850).
14236 2012-02-19 Chong Yidong <cyd@gnu.org>
14238 * comint.el: Require ansi-color.
14239 (comint-output-filter-functions): Add ansi-color-process-output.
14241 * ansi-color.el: Don't set comint-output-filter-functions; it is
14242 now in the initial value defined in comint.el.
14243 (ansi-color-apply-face-function): New variable.
14244 (ansi-color-apply-on-region): Use it.
14245 (ansi-color-apply-overlay-face): New function.
14247 * shell.el (shell): No need to require ansi-color.
14248 (shell-mode): Use ansi-color-apply-face-function to highlight
14249 color escapes using font-lock-face property (Bug#10835).
14251 2012-02-19 Chong Yidong <cyd@gnu.org>
14253 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14254 mode-line formats (Bug#10839).
14256 2012-02-18 Glenn Morris <rgm@gnu.org>
14258 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14260 * mail/undigest.el (unforward-rmail-message): Doc fix.
14262 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14264 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14266 * international/characters.el (script-list): Sync with the latest
14267 Unicode Character Database.
14269 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14271 * international/titdic-cnv.el: Remove duplicate coding tag.
14272 * language/cham.el: Likewise.
14273 * language/tai-viet.el: Likewise.
14275 2012-02-18 Glenn Morris <rgm@gnu.org>
14277 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14278 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14279 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14280 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14281 * calendar/holidays.el (holiday-bahai-holidays)
14282 (calendar-holidays, list-holidays):
14283 Use utf-8 Bahá'í in doc-strings, menus, etc.
14285 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14287 * saveplace.el (save-place-ignore-files-regexp): New variable
14288 allowing for excluding files from saving their location of point.
14289 The default value matches the temporary commit message editing
14290 files from Git, SVN, Bazaar, and Mercurial.
14291 (save-place-to-alist): Use it.
14293 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14294 Stefan Monnier <monnier@iro.umontreal.ca>
14296 * newcomment.el (uncomment-region-default): Don't leave extra space
14297 when an arg is provided (bug#8150).
14299 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14301 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14303 2012-02-17 Glenn Morris <rgm@gnu.org>
14305 * net/socks.el: Require network-stream. (Bug#10599)
14307 2012-02-17 Kenichi Handa <handa@m17n.org>
14309 * international/charprop.el:
14310 * international/uni-name.el:
14311 * international/uni-old-name.el:
14312 * international/uni-comment.el: Regenerate.
14314 2012-02-16 Glenn Morris <rgm@gnu.org>
14316 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14317 Interactively in calendar buffer, give an error if not on a date.
14319 2012-02-15 Glenn Morris <rgm@gnu.org>
14321 * shell.el (shell-delimiter-argument-list):
14322 Revert 2011-02-17 change. (Bug#8027)
14324 2012-02-15 Chong Yidong <cyd@gnu.org>
14326 * minibuffer.el (completion-at-point-functions): Doc fix.
14328 * custom.el (defcustom): Doc fix; note use of defvar.
14330 2012-02-15 Glenn Morris <rgm@gnu.org>
14332 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14335 2012-02-14 Glenn Morris <rgm@gnu.org>
14337 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14339 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14341 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14342 way the ports list is computed.
14343 (smtpmail-query-smtp-server): Prompt the user for a port number if
14344 we can't connect to any of the standard ports (bug#10810).
14346 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14348 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14350 2012-02-13 Glenn Morris <rgm@gnu.org>
14352 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14354 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14356 * net/gnutls.el (gnutls-trustfiles): New variable.
14357 (gnutls-negotiate): Use it.
14359 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14361 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14362 does its stuff if Gnus is running.
14364 2012-02-13 Alan Mackenzie <acm@muc.de>
14366 Fix a loop in c-set-fl-decl-start.
14368 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14369 c-backward-syntactic-ws actually moves backwards.
14371 2012-02-13 Leo Liu <sdl.web@gmail.com>
14373 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14374 beginning so that all \C-o chars are removed.
14376 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14378 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14380 2012-02-12 Alan Mackenzie <acm@muc.de>
14382 Fix infinite loop with long macros.
14383 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14385 2012-02-12 Chong Yidong <cyd@gnu.org>
14387 * window.el (display-buffer): Doc fix (Bug#10785).
14389 2012-02-12 Glenn Morris <rgm@gnu.org>
14391 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14392 (x-disown-selection-internal, x-get-selection-internal):
14393 Sync docs with the xselect.c versions.
14395 * allout-widgets.el: Add missing license notice.
14397 2012-02-11 Glenn Morris <rgm@gnu.org>
14399 * select.el (x-get-selection-internal, x-own-selection-internal)
14400 (x-disown-selection-internal):
14401 * x-dnd.el (x-get-selection-internal): Update declarations.
14403 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14405 * window.el (window-sides-slots):
14406 * tool-bar.el (tool-bar-position):
14407 * term/xterm.el (xterm-extra-capabilities):
14408 * ses.el (ses-self-reference-early-detection):
14409 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14410 (verilog-auto-wire-type)
14411 (verilog-auto-delete-trailing-whitespace)
14412 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14413 (verilog-auto-tieoff-declaration):
14414 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14415 (sql-oracle-statement-starters, sql-oracle-scan-on):
14416 * progmodes/prolog.el (prolog-align-comments-flag)
14417 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14418 (prolog-left-indent-regexp, prolog-paren-indent-p)
14419 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14420 (prolog-types, prolog-mode-specificators)
14421 (prolog-determinism-specificators, prolog-directives)
14422 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14423 (prolog-electric-dot-flag)
14424 (prolog-electric-dot-full-predicate-template)
14425 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14426 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14427 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14428 (prolog-program-switches, prolog-prompt-regexp)
14429 (prolog-debug-on-string, prolog-debug-off-string)
14430 (prolog-trace-on-string, prolog-trace-off-string)
14431 (prolog-zip-on-string, prolog-zip-off-string)
14432 (prolog-use-standard-consult-compile-method-flag)
14433 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14434 (prolog-imenu-max-lines, prolog-info-predicate-index)
14435 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14436 (prolog-char-quote-workaround):
14437 * progmodes/cc-vars.el (c-defun-tactic):
14438 * net/tramp.el (tramp-encoding-command-interactive)
14439 (tramp-local-end-of-line):
14440 * net/soap-client.el (soap-client):
14441 * net/netrc.el (netrc-file):
14442 * net/gnutls.el (gnutls):
14443 * minibuffer.el (completion-category-overrides)
14444 (completion-cycle-threshold)
14445 (completion-pcm-complete-word-inserts-delimiters):
14446 * man.el (Man-name-local-regexp):
14447 * mail/feedmail.el (feedmail-display-full-frame):
14448 * international/characters.el (glyphless-char-display-control):
14449 * eshell/em-ls.el (eshell-ls-date-format):
14450 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14451 (lisp-lambda-list-keyword-parameter-indentation)
14452 (lisp-lambda-list-keyword-parameter-alignment):
14453 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14454 * dired-x.el (dired-omit-verbose):
14455 * cus-theme.el (custom-theme-allow-multiple-selections):
14456 * calc/calc.el (calc-highlight-selections-with-faces)
14457 (calc-lu-field-reference, calc-lu-power-reference)
14458 (calc-note-threshold):
14459 * battery.el (battery-mode-line-limit):
14460 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14461 (archive-7z-update):
14462 * allout.el (allout-prefixed-keybindings)
14463 (allout-unprefixed-keybindings)
14464 (allout-inhibit-auto-fill-on-headline)
14465 (allout-flattened-numbering-abbreviation):
14466 * allout-widgets.el (allout-widgets-auto-activation)
14467 (allout-widgets-icons-dark-subdir)
14468 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14469 (allout-widgets-theme-dark-background)
14470 (allout-widgets-theme-light-background)
14471 (allout-widgets-item-image-properties-emacs)
14472 (allout-widgets-item-image-properties-xemacs)
14473 (allout-widgets-run-unit-tests-on-load)
14474 (allout-widgets-time-decoration-activity)
14475 (allout-widgets-hook-error-post-time)
14476 (allout-widgets-track-decoration):
14477 Add missing :version tags to new defcustoms and defgroups.
14479 * progmodes/sql.el (sql-ansi-statement-starters)
14480 (sql-oracle-statement-starters): Add custom type.
14482 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14483 (prolog-system-version): Give it a type.
14485 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14487 * term/pc-win.el (x-select-text, x-selection-owner-p)
14488 (x-own-selection-internal, x-disown-selection-internal)
14489 (x-get-selection-internal): Sync doc strings and argument lists
14490 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14492 2012-02-11 Leo Liu <sdl.web@gmail.com>
14494 * progmodes/python.el (python-end-of-statement): Fix infinite
14497 2012-02-10 Glenn Morris <rgm@gnu.org>
14499 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14500 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14502 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14504 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14505 about SMTP before checking the From header.
14507 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14508 into own function for reuse by emacsbug.el.
14510 2012-02-10 Leo Liu <sdl.web@gmail.com>
14512 * subr.el (condition-case-unless-debug): Rename from
14513 condition-case-no-debug. All callers changed.
14514 (with-demoted-errors): Fix caller.
14516 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14517 * nxml/rng-valid.el (rng-do-some-validation):
14518 * emacs-lisp/package.el (package-refresh-contents)
14519 (package-menu-execute):
14520 * desktop.el (desktop-create-buffer):
14521 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14523 2012-02-10 Glenn Morris <rgm@gnu.org>
14525 * textmodes/bibtex.el:
14526 Add missing :version tags for new/changed defcustoms.
14528 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14530 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14532 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14533 (smtpmail-via-smtp): Use it, or fall back on the From address.
14534 (smtpmail-send-it): Ditto.
14536 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14538 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14539 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14540 (byte-compile-tmp-var): New const.
14541 (byte-compile-defvar): Use it to minimize .elc size.
14542 Just use `defvar' rather than simulate it (bug#10761).
14544 2012-02-09 Glenn Morris <rgm@gnu.org>
14546 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14548 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14551 * progmodes/compile.el (compilation-error-screen-columns)
14552 (compilation-first-column, compilation-filter-start): Doc fixes.
14554 * vc/log-view.el (log-view-toggle-entry-display):
14555 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14557 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14558 (report-emacs-bug-can-use-xdg-email):
14559 (report-emacs-bug-insert-to-mailer): Doc fixes.
14560 (report-emacs-bug): Message fix.
14562 * net/browse-url.el (browse-url-can-use-xdg-open)
14563 (browse-url-xdg-open): Doc fixes.
14565 * electric.el (electric-indent-mode, electric-pair-mode)
14566 (electric-layout-rules, electric-layout-mode): Doc fixes.
14567 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14569 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14571 * server.el (server-unselect-display): Don't inadvertently kill
14572 the current buffer. (Bug#10729)
14574 2012-02-08 Glenn Morris <rgm@gnu.org>
14576 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14577 (sql-list-table): Doc fixes.
14579 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14580 Comment out (does nothing).
14582 * completion.el (dynamic-completion-mode):
14583 * dirtrack.el (dirtrack-debug-mode):
14584 * electric.el (electric-layout-mode):
14585 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14586 * face-remap.el (text-scale-mode, buffer-face-mode):
14587 * iimage.el (iimage-mode):
14588 * image-mode.el (image-transform-mode):
14589 * minibuffer.el (completion-in-region-mode):
14590 * scroll-lock.el (scroll-lock-mode):
14591 * simple.el (next-error-follow-minor-mode):
14592 * tar-mode.el (tar-subfile-mode):
14593 * tooltip.el (tooltip-mode):
14594 * vcursor.el (vcursor-use-vcursor-map):
14595 * wid-browse.el (widget-minor-mode):
14596 * emulation/tpu-edt.el (tpu-edt-mode):
14597 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14598 * international/iso-ascii.el (iso-ascii-mode):
14599 * language/thai-util.el (thai-word-mode):
14600 * mail/supercite.el (sc-minor-mode):
14601 * net/goto-addr.el (goto-address-mode):
14602 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14603 * progmodes/cwarn.el (cwarn-mode):
14604 * progmodes/flymake.el (flymake-mode):
14605 * progmodes/glasses.el (glasses-mode):
14606 * progmodes/hideshow.el (hs-minor-mode):
14607 * progmodes/pascal.el (pascal-outline-mode):
14608 * textmodes/enriched.el (enriched-mode):
14609 * vc/smerge-mode.el (smerge-mode):
14610 Doc fixes (minor mode argument).
14612 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14614 * ls-lisp.el (ls-lisp-sanitize): New function.
14615 (ls-lisp-insert-directory): Use it to fix or remove any elements
14616 in file-alist with missing attributes. (Bug#4673)
14618 2012-02-07 Alan Mackenzie <acm@muc.de>
14620 Fix spurious recognition of c-in-knr-argdecl.
14622 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14623 putative K&R region.
14625 2012-02-07 Alan Mackenzie <acm@muc.de>
14627 * progmodes/cc-engine.el (c-forward-objc-directive):
14628 Prevent looping in "#pragma mark @implementation".
14630 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14632 * notifications.el (notifications-on-closed-signal): Make `reason'
14633 optional. (Bug#10744)
14635 2012-02-07 Glenn Morris <rgm@gnu.org>
14637 * emacs-lisp/easy-mmode.el (define-minor-mode):
14638 Doc fixes for the macro and the mode it defines.
14640 * image.el (imagemagick-types-inhibit): Doc fix.
14642 * cus-start.el (imagemagick-render-type): Add it.
14644 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14646 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14647 Set the default at load time, too, so that `font-lock-fontify-buffer'
14648 can be called without setting up the entire mode first. This fixes
14649 a bug in `mm-inline-text' with C MIME parts.
14651 2012-02-06 Chong Yidong <cyd@gnu.org>
14653 * simple.el (list-processes--refresh): Delete exited processes
14656 * comint.el (comint-next-prompt): next-single-char-property-change
14657 and prev-single-char-property-change never return nil (Bug#8657).
14659 * custom.el (defcustom): Doc fix (Bug#9711).
14661 2012-02-05 Chong Yidong <cyd@gnu.org>
14663 * cus-edit.el (custom-variable-reset-backup): Quote the value
14664 before storing it in the customized-value property (Bug#6712).
14665 (custom-display): Add a customization type tag.
14666 (custom-buffer-create-internal): Improve tooltip message.
14668 * wid-edit.el (widget-field-value-get): New optional arg to
14669 suppress trailing whitespace truncation.
14670 (character): Use it (Bug#2689).
14672 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14674 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14675 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14677 2012-02-05 Chong Yidong <cyd@gnu.org>
14679 * cus-edit.el (custom-variable-value-create): For mismatched
14680 types, show the current value (Bug#7600).
14682 * custom.el (defcustom): Doc fix.
14684 2012-02-05 Glenn Morris <rgm@gnu.org>
14686 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14688 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14690 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14691 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14692 (pp-last-sexp): Use `looking-at-p'.
14694 2012-02-04 Glenn Morris <rgm@gnu.org>
14696 * files.el (revert-buffer):
14697 Doc fix (mention revert-buffer-in-progress-p).
14699 * emacs-lisp/ert-x.el (ert-simulate-command):
14700 Check deferred-action-list (which is obsolete) is bound.
14702 * subr.el (with-wrapper-hook): Doc fixes.
14704 * simple.el (filter-buffer-substring-functions)
14705 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14707 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14709 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14710 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14712 2012-02-04 Leo Liu <sdl.web@gmail.com>
14714 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14716 2012-02-04 Glenn Morris <rgm@gnu.org>
14718 * image.el (image-extension-data): Add obsolete alias.
14720 * isearch.el (isearch-update): Doc fix.
14722 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14724 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14726 2012-02-03 Glenn Morris <rgm@gnu.org>
14728 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14729 (image-animate-timeout): Doc fix.
14731 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14733 2012-02-02 Glenn Morris <rgm@gnu.org>
14735 * server.el (server-auth-dir): Doc fix.
14736 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14738 * subr.el (run-mode-hooks): Doc fix.
14740 2012-02-02 Juri Linkov <juri@jurta.org>
14742 * image-mode.el (image-toggle-display-image): Remove tautological
14743 `major-mode' from the `derived-mode-p' test.
14745 2012-02-02 Kenichi Handa <handa@m17n.org>
14747 * composite.el (compose-region): Cancel previous change.
14749 2012-02-02 Kenichi Handa <handa@m17n.org>
14751 * composite.el (compose-region, compose-string): Signal error for
14752 a null string component (Bug#6988).
14754 2012-02-01 Chong Yidong <cyd@gnu.org>
14756 * view.el (view-buffer-other-window, view-buffer-other-frame):
14757 Handle special modes like view-buffer (Bug#10650).
14758 (view-buffer): Simplify.
14760 * frame.el (set-frame-font): Tweak meaning of third argument.
14762 * dynamic-setting.el (font-setting-change-default-font):
14763 Use set-frame-font (Bug#9982).
14765 2012-02-01 Glenn Morris <rgm@gnu.org>
14767 * progmodes/compile.el (compilation-internal-error-properties):
14768 Respect compilation-first-column in the "*compilation*" buffer.
14770 * emacs-lisp/easy-mmode.el (define-minor-mode):
14771 Relax :variable's test for a named function.
14773 2012-01-31 Alan Mackenzie <acm@muc.de>
14775 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14778 2012-01-31 Chong Yidong <cyd@gnu.org>
14780 * frame.el (set-frame-font): New arg ALL-FRAMES.
14782 * menu-bar.el (menu-set-font): Use set-frame-font.
14784 * faces.el (face-spec-reset-face): Don't apply unspecified
14785 attribute values to the default face.
14787 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14789 * progmodes/cwarn.el (cwarn): Remove dead link.
14790 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14791 Remove * from defcustom docstrings.
14792 (turn-on-cwarn-mode): Make obsolete.
14793 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14794 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14796 2012-01-31 Glenn Morris <rgm@gnu.org>
14798 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14799 Fix :variable handling of mode a symbol not equal to modefun.
14800 Allow named functions to be used as the cdr of :variable.
14802 2012-01-30 Glenn Morris <rgm@gnu.org>
14804 * emacs-lisp/authors.el (authors-fixed-entries):
14805 Remove reference to deleted file rnewspost.el.
14807 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14809 * window.el (window-with-parameter): Remove unused variable `windows'.
14810 (window--side-check): Remove unused variable `code'.
14811 (window--resize-siblings): Remove unused variable `first'.
14812 (adjust-window-trailing-edge): Remove unused variable `failed'.
14813 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14814 Use `let', not `let*'.
14815 (balance-windows-2): Remove unused variable `found'.
14816 (window--state-put-2): Remove unused variable `splits'.
14817 (window-state-put): Remove unused variable `selected'.
14818 (same-window-p): Use `string-match-p'.
14819 (display-buffer-assq-regexp): Remove unused variable `value'.
14820 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14821 Mark argument ALIST as ignored.
14822 (pop-to-buffer): Remove unused variable `old-window'.
14824 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14826 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14827 and .lzma compressed files.
14829 2012-01-29 Chong Yidong <cyd@gnu.org>
14831 * frame.el (window-system-default-frame-alist): Doc fix.
14833 * dynamic-setting.el (font-setting-change-default-font): Don't
14834 change the default face if SET-FONT argument is non-nil (Bug#9982).
14836 2012-01-29 Samuel Bronson <naesten@gmail.com>
14838 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14840 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14842 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14843 breakpoints in files outside current directory (Bug#6098).
14845 2012-01-29 Chong Yidong <cyd@gnu.org>
14847 * progmodes/python.el: Require ansi-color at top-level.
14849 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14850 Define and use in Emacs Lisp mode (Bug#9360).
14851 (lisp-mode-abbrev-table): Add doc.
14852 (lisp-mode-variables): Don't set local-abbrev-table.
14853 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14855 2012-01-28 Roland Winkler <winkler@gnu.org>
14857 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14859 2012-01-28 Roland Winkler <winkler@gnu.org>
14861 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14862 (bibtex-set-dialect): Use it. Either set global values of
14863 dialect-dependent variables or bind these variables buffer-locally
14865 (bibtex-mode): Call bibtex-set-dialect via
14866 hack-local-variables-hook.
14867 (bibtex-dialect): Update docstring.
14868 Add safe-local-variable predicate.
14869 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14870 bibtex-set-dialect.
14871 (bibtex-mode-map): Define menu for each dialect.
14872 (bibtex-entry): Fix docstring.
14874 2012-01-28 Chong Yidong <cyd@gnu.org>
14876 * eshell/esh-arg.el (eshell-quote-argument): New function.
14878 * eshell/esh-ext.el (eshell-invoke-batch-file):
14879 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14880 first arg to eshell-parse-command (Bug#10523).
14882 2012-01-28 Drew Adams <drew.adams@oracle.com>
14884 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14885 `default-directory' is non-nil.
14887 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14889 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14890 line that displays system-configuration-options. (Bug#9924)
14892 2012-01-28 Drew Adams <drew.adams@oracle.com>
14894 * descr-text.el (describe-char): Show information about POS, in
14895 addition to information about the character at POS. Improve and
14896 update the doc string. Change "code point" to "code point in
14897 charset", to avoid confusion with the character's Unicode code
14898 point shown above that. (Bug#10129)
14900 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14902 * descr-text.el (describe-char): Show the raw character, not only
14903 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14904 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14907 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14909 * emacs-lisp/package.el (package-install):
14910 Run package-refresh-contents if there is no archive yet (Bug#9798).
14912 2012-01-28 Chong Yidong <cyd@gnu.org>
14914 * emacs-lisp/package.el (package-maybe-load-descriptor):
14915 New function, split from package-maybe-load-descriptor.
14916 (package-maybe-load-descriptor): Use it.
14917 (package-download-transaction): Fully load required packages
14918 inside the loop, so that `require' calls work (Bug#10593).
14919 (package-install): No need to call package-initialize now.
14921 2012-01-28 Chong Yidong <cyd@gnu.org>
14923 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14925 * tooltip.el (tooltip-mode): Doc fix.
14926 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14928 * frame.el (set-cursor-color): Doc fix (Bug#352).
14930 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14931 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14933 * cus-edit.el (custom-buffer-create-internal): Fix search button
14934 action (Bug#10542).
14935 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14937 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14939 * dired.el (dired-mark-files-regexp):
14940 Include any subdirectory components. (Bug#10445)
14942 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14944 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14945 Handle [host]:port syntax. (Bug#10533)
14947 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14949 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14951 2012-01-26 Glenn Morris <rgm@gnu.org>
14953 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14954 * term.el (term-raw-escape-map): Use Control-X-prefix.
14955 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14957 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14959 * window.el (window-state-get, window--state-get-1): Don't deal
14960 with fixed-sizeness of windows. Simplify code.
14962 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14964 * window.el (window--state-get-1, window--state-put-2):
14965 Don't save and restore the mark.
14967 2012-01-25 Chong Yidong <cyd@gnu.org>
14969 * custom.el (custom-variable-p): Doc fix.
14971 2012-01-25 Glenn Morris <rgm@gnu.org>
14973 * dired.el (dired-goto-file): Handle some of the more common
14974 characters that `ls -b' escapes. (Bug#10596)
14976 * progmodes/compile.el (compilation-next-error-function):
14977 Respect compilation-first-column in the "*compilation*" buffer.
14978 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14980 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14982 2012-01-24 Glenn Morris <rgm@gnu.org>
14984 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14986 2012-01-24 Julien Danjou <julien@danjou.info>
14988 * color.el (color-rgb-to-hsl): Fix value computing.
14989 (color-hue-to-rgb): New function.
14990 (color-hsl-to-rgb): New function.
14991 (color-clamp, color-saturate-hsl, color-saturate-name)
14992 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14993 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14995 2012-01-24 Glenn Morris <rgm@gnu.org>
14997 * vc/vc-rcs.el (vc-rcs-create-tag):
14998 * vc/vc-sccs.el (vc-sccs-create-tag):
14999 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15001 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15003 * eshell/esh-util.el (eshell-read-hosts-file):
15004 Skip comment lines. (Bug#10549)
15006 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15008 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15010 * subr.el (display-delayed-warnings): Doc fix.
15011 (collapse-delayed-warnings): New function to collapse identical
15013 (delayed-warnings-hook): Add it.
15015 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15017 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15019 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15020 (tramp-default-user-alist): Don't add "pscp".
15021 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15022 property "login-as", if set. (Bug#10530)
15024 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15026 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15027 "plink1" and "psftp". (Bug#10530)
15029 2012-01-21 Kenichi Handa <handa@m17n.org>
15031 * international/mule-cmds.el (prefer-coding-system): Show a
15032 warning message if the default value of file-name-coding-system
15035 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15037 * windmove.el (windmove-reference-loc):
15038 Fix windmove-reference-loc miscalculation.
15040 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15042 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15045 2012-01-21 Glenn Morris <rgm@gnu.org>
15047 * international/mule.el (auto-coding-alist): Add .tbz.
15049 * files.el (local-enable-local-variables): Doc fix.
15050 (inhibit-local-variables-regexps): Rename from
15051 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15052 Doc fix. Add some extensions from auto-coding-alist.
15053 (inhibit-local-variables-suffixes):
15054 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15055 (inhibit-local-variables-p):
15056 New function, extracted from set-auto-mode-1.
15057 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15058 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15059 (hack-local-variables): Doc fix. Make the mode-only case
15060 respect enable-local-variables and friends.
15061 Respect inhibit-local-variables-regexps for file-locals, but
15062 not for directory-locals.
15063 (set-visited-file-name):
15064 Take account of inhibit-local-variables-regexps.
15065 Whether it applies may change as the file name is changed.
15066 * jka-cmpr-hook.el (jka-compr-install):
15067 * jka-compr.el (jka-compr-uninstall):
15068 Update for inhibit-first-line-modes-suffixes name change.
15070 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15072 * help-macro.el (make-help-screen): Temporarily restore original
15073 binding for minor-mode-map-alist (Bug#10454).
15075 2012-01-19 Julien Danjou <julien@danjou.info>
15077 * color.el (color-name-to-rgb): Use the white color to find the max
15078 color component value and return correctly computed values.
15079 (color-name-to-rgb): Add missing float conversion for max value.
15081 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15083 * window.el (window--state-get-1, window-state-get): Do not use
15084 special state value for window-persistent-parameters.
15085 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15086 (window--state-put-2): Reset all window parameters to nil before
15087 assigning values of persistent parameters.
15089 2012-01-18 Alan Mackenzie <acm@muc.de>
15091 Eliminate sluggishness and hangs in fontification of "semicolon
15094 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15095 Change value 10000 -> 3000.
15096 (c-state-safe-place): Reformulate so it doesn't stack up an
15097 infinite number of wrong entries in c-state-nonlit-pos-cache.
15098 (c-determine-limit-get-base, c-determine-limit): New functions to
15099 determine backward search limits disregarding literals.
15100 (c-find-decl-spots): Amend commenting.
15101 (c-cheap-inside-bracelist-p): New function which detects "={".
15103 * progmodes/cc-fonts.el
15104 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15106 (c-font-lock-declarations): Fix an occurrence of point being
15107 undefined. Check additionally for point being in a bracelist or
15108 near a macro invocation without a semicolon so as to avoid a
15109 fruitless time consuming search for a declarator. Give a more
15110 precise search limit for declarators using the new
15113 2012-01-18 Glenn Morris <rgm@gnu.org>
15115 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15116 (set-auto-mode): Doc fixes.
15118 2012-01-17 Glenn Morris <rgm@gnu.org>
15120 * isearch.el (search-nonincremental-instead): Fix doc typo.
15122 * dired.el (dired-insert-directory): Handle newlines in directory name.
15123 (dired-build-subdir-alist): Unescape newlines in directory name.
15125 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15127 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15128 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15129 (tramp-action-terminal): Use it. (Bug#10530)
15131 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15133 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15135 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15137 * window.el (window-state-ignored-parameters): Remove variable.
15138 (window--state-get-1): Rename argument MARKERS to IGNORE.
15139 Handle persistent window parameters. Make copy of clone-of
15140 parameter only if requested. (Bug#10348)
15141 (window--state-put-2): Install a window parameter only if it has
15142 a non-nil value or an existing parameter shall be overwritten.
15144 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15146 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15148 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15150 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15151 don't pass the (nil) value of `upnode' to string-match.
15153 2012-01-14 Chong Yidong <cyd@gnu.org>
15155 * startup.el (command-line): Fix X resource class for cursorColor.
15156 Fix values recognized by the cursorBlink resource.
15158 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15160 * epg.el (epg--make-temp-file): Avoid permission race condition
15161 when running on old Emacs versions (bug#10403).
15163 2012-01-14 Glenn Morris <rgm@gnu.org>
15165 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15167 2012-01-13 Alan Mackenzie <acm@muc.de>
15169 Fix filling for when filladapt mode is enabled.
15171 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15172 c-mask-paragraph, pass in `fill-paragraph' rather than
15173 `fill-region-as-paragraph'. (This is a reversion of a previous
15175 * progmodes/cc-mode.el (c-basic-common-init):
15176 Make fill-paragraph-handle-comment buffer local and set it to nil.
15178 2012-01-13 Glenn Morris <rgm@gnu.org>
15180 * dired.el (dired-switches-escape-p): New function.
15181 (dired-insert-directory): Use dired-switches-escape-p.
15182 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15184 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15186 2012-01-12 Glenn Morris <rgm@gnu.org>
15188 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15189 changes in adaptive-fill-regexp. (Bug#10276)
15191 2012-01-11 Alan Mackenzie <acm@muc.de>
15193 Fix Emacs bug #10463 - put `widen's around the critical spots.
15195 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15196 widen around each invocation of c-state-pp-to-literal. Remove an
15197 unused let variable.
15199 2012-01-11 Glenn Morris <rgm@gnu.org>
15201 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15204 2012-01-10 Chong Yidong <cyd@gnu.org>
15206 * net/network-stream.el (network-stream-open-starttls):
15207 Avoid emitting a confusing error message when the server gives a bad
15208 response to the capability command.
15210 2012-01-10 Glenn Morris <rgm@gnu.org>
15212 * mail/unrmail.el (unrmail): Tweak previous change.
15214 2012-01-09 Chong Yidong <cyd@gnu.org>
15216 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15218 2012-01-08 Alan Mackenzie <acm@muc.de>
15220 Optimize font locking in long enum definitions.
15222 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15223 arm to a cond form to handle enums.
15224 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15225 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15227 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15229 * files.el (move-file-to-trash): Preserve default file modes on error.
15232 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15234 * faces.el (set-face-attribute): Clarify the meaning of the nil
15237 * subr.el (with-selected-frame): Mention that the selected frame
15238 is restored (bug#9980).
15240 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15243 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15244 (password-read): Don't autoload unused function.
15246 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15248 * progmodes/which-func.el (which-func-mode): Turn into a
15249 non-interactive function and mark as obsolete (bug#10428).
15251 2012-01-06 Chong Yidong <cyd@gnu.org>
15253 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15254 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15255 functions, along with 1 and -1.
15257 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15259 * time.el (display-time-load-average)
15260 (display-time-default-load-average): Doc fixes. See the thread
15262 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15265 2012-01-06 Glenn Morris <rgm@gnu.org>
15267 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15268 has no messages. (Bug#10377)
15270 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15271 than Info-edit. (Bug#10385)
15273 * time.el (display-time-load-average, display-time-next-load-average):
15276 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15277 local setting of buffer-read-only to the input buffer. (Bug#10419)
15279 * calendar/calendar.el (calendar-mode):
15280 Locally set scroll-margin to 0. (Bug#10379)
15282 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15284 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15286 2012-01-05 Glenn Morris <rgm@gnu.org>
15288 * eshell/em-unix.el (diff-no-select): Autoload it.
15289 (eshell/diff): Use diff-no-select. (Bug#10420)
15291 2012-01-05 Chong Yidong <cyd@gnu.org>
15293 * shell.el (shell-dynamic-complete-functions): Revert last change.
15294 (shell-command-completion-function): New function.
15295 (shell-completion-vars): Use it to implement
15296 shell-completion-execonly (Bug#10417).
15298 * custom.el (enable-theme): Don't set custom-safe-themes.
15300 * cus-theme.el (custom-theme-merge-theme):
15301 Ignore custom-enabled-themes and custom-safe-themes.
15303 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15305 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15306 first prompt in `sql-interacive-mode'.
15307 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15309 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15310 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15311 context of original buffer. Invoke `sql-login-hook'.
15313 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15315 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15316 letters in cite-prefix.
15318 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15320 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15322 2012-01-03 Chong Yidong <cyd@gnu.org>
15324 * shell.el (shell-dynamic-complete-functions):
15325 Put pcomplete-completions-at-point, so as to try
15326 comint-filename-completion first (Bug#10417).
15328 2012-01-02 Richard Stallman <rms@gnu.org>
15330 * battery.el (battery-status-function):
15331 Detect when to use battery-yeeloong-sysfs.
15332 (battery-echo-area-format): Add string for Yeeloong.
15333 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15334 (battery-yeeloong-sysfs): New function.
15336 2012-01-02 Chong Yidong <cyd@gnu.org>
15338 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15339 (dirtrack): Merge code for handling relative filenames in prompt
15340 from shell-dir-cookie-watcher.
15341 (dirtrack-debug-message): New arg to avoid excess format calls.
15343 * shell.el (shell-dir-cookie-re): Variable deleted.
15344 (shell-dir-cookie-watcher): Function deleted.
15345 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15346 with dirtrack-mode.
15348 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15350 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15351 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15354 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15356 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15358 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15360 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15361 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15363 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15365 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15366 also for alternative shells.
15367 (tramp-open-connection-setup-interactive-shell): Check, whether
15368 the shell is a busybox.
15369 (tramp-send-command): Don't suppress multiple prompts for
15370 busyboxes, it hurts.
15372 2011-12-28 Chong Yidong <cyd@gnu.org>
15374 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15375 (gdb-get-source-file): Move mode line update to
15376 gdb-get-source-file (Bug#10087).
15378 2011-12-25 Chong Yidong <cyd@gnu.org>
15380 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15381 gud-gdb-marker-filter without taking it as an argument.
15382 (gud-gdb-run-command-fetch-lines): Caller changed.
15383 (gud-gdb-completion-function): New variable.
15384 (gud-gdb-completion-at-point): Use it.
15385 (gud-gdb-completions-1): Split from gud-gdb-completions.
15387 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15388 function as separate arguments.
15389 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15390 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15391 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15392 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15393 (gdb-stopped, def-gdb-auto-update-trigger)
15394 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15395 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15397 (gud-gdbmi-completions): New function.
15398 (gdb): Use it for generating the completion table.
15400 2011-12-24 Alan Mackenzie <acm@muc.de>
15402 Introduce a mechanism to widen the region used in context font
15403 locking. Use this to protect declarations from losing their contexts.
15405 * progmodes/cc-langs.el (c-before-font-lock-functions):
15406 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15407 (c-before-context-fontification-functions): New defvar, a list of
15408 functions to be run just before context (etc.) font locking.
15410 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15411 New, functionality extracted from
15412 c-neutralize-syntax-in-and-mark-CPP.
15413 (c-in-after-change-fontification): New variable.
15414 (c-after-change): Set c-in-after-change-fontification.
15415 (c-set-fl-decl-start): Rejig its interface, so it can be called
15416 from both after-change and context fontifying.
15417 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15419 (c-standard-font-lock-fontify-region-function): New variable.
15420 (c-font-lock-fontify-region): New function.
15422 2011-12-24 Juri Linkov <juri@jurta.org>
15424 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15427 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15429 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15430 existence of source file. (Bug#10325)
15432 2011-12-23 Alan Mackenzie <acm@muc.de>
15434 Fix unstable fontification inside templates.
15436 * progmodes/cc-langs.el (c-before-font-lock-functions):
15437 Newly created from the singular version. The (c c++ objc) entry now
15438 additionally has c-set-fl-decl-start. The other languages (apart
15439 from AWK) have that as a single entry.
15441 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15442 The functionality for "local" declarations has been extracted to
15443 c-set-fl-decl-start.
15445 * progmodes/cc-mode.el (c-common-init, c-after-change):
15446 Changes due to pluralisation of c-before-font-lock-functions.
15447 (c-set-fl-decl-start): New function, extracted from
15448 c-font-lock-enclosing-decls and enhanced.
15450 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15452 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15454 2011-12-22 Juri Linkov <juri@jurta.org>
15456 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15458 2011-12-22 Chong Yidong <cyd@gnu.org>
15460 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15462 2011-12-21 Drew Adams <drew.adams@oracle.com>
15464 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15466 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15468 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15470 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15472 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15473 highlighting and support. Fix up comments for capitalization.
15474 (cfengine-mode-debug): New var.
15475 (cfengine3-mode): Change the modeline indicator to "CFE3".
15476 (cfengine3-font-lock-keywords): Improve defun highlighting.
15477 (cfengine2-actions): Rename from `cfengine-actions'.
15478 (cfengine2-font-lock-keywords): Rename from
15479 `cfengine-font-lock-keywords'.
15480 (cfengine2-imenu-expression): Rename from
15481 `cfengine-imenu-expression'.
15482 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15483 (cfengine2-beginning-of-defun): Rename from
15484 `cfengine-beginning-of-defun'.
15485 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15486 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15487 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15488 modeline indicator to "CFE2".
15489 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15490 (cfengine-mode-abbrevs): Mark obsolete.
15492 2011-12-21 Chong Yidong <cyd@gnu.org>
15494 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15497 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15499 * window.el (window-normalize-buffer-to-display): Remove.
15500 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15502 2011-12-19 Chong Yidong <cyd@gnu.org>
15504 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15505 Don't signal an error in a predicate function; return non-nil.
15506 (vc-dir-mark-file): Move the error here.
15507 (vc-dir-mark-unmark): If acting on the region, keep going if one
15508 of the entries cannot be marked/unmarked.
15509 (vc-dir-mark-all-files): If current entry is a directory, mark
15510 only child files, as documented.
15512 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15514 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15515 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15518 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15520 * term/ns-win.el (ns-get-selection-internal)
15521 (ns-store-selection-internal): Declare.
15522 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15523 Declare as obsolete.
15524 (ns-get-pasteboard, ns-paste-secondary):
15525 Use ns-get-selection-internal.
15526 (ns-set-pasteboard, ns-copy-including-secondary):
15527 Use ns-store-selection-internal.
15529 2011-12-17 Chong Yidong <cyd@gnu.org>
15531 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15532 (vc-deduce-fileset): Doc fix.
15534 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15536 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15538 2011-12-13 Sam Steingold <sds@gnu.org>
15540 * man.el (Man-getpage-in-background): When running under a
15541 window-system, ignore $MANWIDTH and $COLUMNS.
15543 2011-12-15 Kenichi Handa <handa@m17n.org>
15545 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15546 (setup-ethiopic-environment-internal): Comment out key-binding for
15547 ethio-toggle-punctuation.
15549 2011-12-13 Alan Mackenzie <acm@muc.de>
15551 Add the switch statement to AWK Mode.
15553 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15554 "default" to the keywords regexp.
15556 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15557 expression as the rest.
15558 (c-nonlabel-token-key): Allow string literals for AWK.
15559 Refactor for the other modes.
15561 Large brace-block initialisation makes CC Mode slow: Fix.
15562 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15563 routines. Limit backward searching in c-font-lock-enclosing.decl.
15565 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15566 pp-state and literal type in addition to the limits.
15567 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15568 (c-state-literal-at): Use the above new defun.
15569 (c-slow-in-literal, c-fast-in-literal): Remove.
15570 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15572 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15573 being in a literal. Add a limit for backward searching.
15575 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15578 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15580 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15582 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15584 * window.el (delete-other-windows): Use correct frame in call to
15585 window-with-parameter.
15587 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15589 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15590 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15591 (makefile-gmake-statements, makefile-makepp-statements):
15592 Use it and add new makepp keywords.
15593 (makefile-makepp-font-lock-keywords): Add new patterns.
15594 (makefile-match-function-end): Match new [...] and [[...]].
15596 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15598 * ses.el (ses-call-printer-return, ses-cell-property-get)
15599 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15600 (ses-create-cell-variable, ses-reset-header-string)
15601 (ses-cell-set-formula, ses-repair-cell-reference-all)
15602 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15603 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15604 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15605 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15606 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15607 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15608 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15609 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15610 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15611 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15612 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15613 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15615 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15617 * ses.el: The overall change is to add cell renaming, that is
15618 setting fancy names for cell symbols other than name matching
15619 "\\`[A-Z]+[0-9]+\\'" regexp .
15620 (ses-create-cell-variable): New defun.
15621 (ses-relocate-formula): Relocate formulas only for cells the
15622 symbols of which are not renamed, i.e. symbols whose names do not
15623 match regexp "\\`[A-Z]+[0-9]+\\'".
15624 (ses-relocate-all): Relocate values only for cells the symbols of
15625 which are not renamed.
15626 (ses-load): Create cells variables as the (ses-cell ...) are read,
15627 in order to check row col consistency with cell symbol name only
15628 for cells that are not renamed.
15629 (ses-replace-name-in-formula): New defun.
15630 (ses-rename-cell): New defun.
15632 2011-12-11 Chong Yidong <cyd@gnu.org>
15634 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15635 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15637 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15639 * window.el (other-window): Fix docstring.
15641 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15643 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15644 `from' or `to' address before taking its substring.
15645 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15646 encoded name is chopped in the middle of the encoded string, and
15647 thus displayed encoded.
15649 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15651 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15653 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15655 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15656 to use texinfo-update-node and commands that call it if the
15657 Texinfo file uses @node lines without next/prev/up pointers.
15658 Correct outdated description about texinfo-master-menu.
15659 (texinfo-all-menus-update, texinfo-master-menu)
15660 (texinfo-update-node, texinfo-every-node-update)
15661 (texinfo-multiple-files-update): Doc fix. Warn against updating
15662 all the @node lines.
15663 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15664 argument is numeric. Explain better in the doc string what the
15665 function really does.
15666 (texinfo-insert-master-menu-list): Improve the error message
15667 displayed if there's no menu in the Top node.
15668 (Bug#2975) See also this thread:
15669 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15671 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15673 * speedbar.el (speedbar-supported-extension-expressions):
15674 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15676 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15678 * printing.el (pr-mode-alist):
15679 * simple.el (filter-buffer-substring-functions)
15680 (completion-list-insert-choice-function):
15681 * window.el (window-with-parameter, window-atom-root)
15682 (window-sides-slots, window-size-fixed, window-min-delta)
15683 (window-max-delta, window--resize-mini-window)
15684 (window--resize-child-windows-normal, window-tree)
15685 (delete-other-windows, quit-window, split-window)
15686 (display-buffer-record-window, special-display-buffer-names)
15687 (special-display-regexps, special-display-popup-frame)
15688 (same-window-p, split-window-sensibly)
15689 (display-buffer-overriding-action, display-buffer-alist)
15690 (display-buffer-base-action, display-buffer, switch-to-buffer)
15691 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15692 (fit-window-to-buffer, recenter-positions)
15693 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15694 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15695 and remove unneeded backslashes in docstrings.
15697 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15699 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15701 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15702 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15704 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15705 when reading the makefile (bug#10116).
15707 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15709 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15712 2011-12-06 Glenn Morris <rgm@gnu.org>
15714 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15716 2011-12-06 Chong Yidong <cyd@gnu.org>
15718 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15720 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15722 * textmodes/table.el (table-shorten-cell): Fix typo.
15724 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15726 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15728 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15730 * descr-text.el (describe-char): Fix display of strong
15731 right-to-left characters and directional embeddings and overrides.
15733 * simple.el (what-cursor-position): Fix display of codepoints of
15734 strong right-to-left characters.
15736 2011-12-05 Chong Yidong <cyd@gnu.org>
15738 * faces.el (read-color): Doc fix.
15740 2011-12-05 Glenn Morris <rgm@gnu.org>
15742 * align.el (align--set-marker): Add doc-string.
15743 Don't try to move something that is not a marker. (Bug#10216)
15745 2011-12-04 Glenn Morris <rgm@gnu.org>
15747 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15748 overly zealous deletion of trailing whitespace.
15750 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15752 * server.el (server-delete-client): On Windows, do not try to delete
15754 (server-process-filter): On Windows, treat requests for a tty frame as
15755 if they were for a GUI frame if the running server is in GUI mode.
15757 2011-12-03 Glenn Morris <rgm@gnu.org>
15759 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15761 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15763 * electric.el: Streamline electric-indent's hook.
15764 (electric-indent-chars): Revert to simple list.
15765 (electric-indent-functions): New var.
15766 (electric-indent-post-self-insert-function): Use it.
15768 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15769 there's no inferior buffer (bug#10196).
15770 (prolog-consult-compile): Don't use toggle-read-only.
15772 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15774 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15775 interrupt. (Bug#10187)
15777 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15782 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15785 2011-12-02 Juri Linkov <juri@jurta.org>
15787 * info.el (Info-search): Display "end of manual" when Isearch
15788 reaches the end of single-file Info manual. (Bug#9918)
15790 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15792 * isearch.el (isearch-message-prefix): Run the input method part
15793 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15795 2011-12-02 Juri Linkov <juri@jurta.org>
15797 * isearch.el (isearch-occur): Use `word-search-regexp' for
15799 (isearch-search-and-update): Add condition for `isearch-word' and
15800 call `word-search-regexp'. (Bug#10145)
15802 2011-12-01 Glenn Morris <rgm@gnu.org>
15804 * eshell/em-hist.el (eshell-hist-initialize):
15805 Handle eshell-history-size nil and HISTSIZE set or unset.
15806 (eshell-history-file-name, eshell-history-size): Fix custom type.
15808 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15810 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15812 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15814 * progmodes/verilog-mode.el (verilog-pretty-expr):
15815 Rework verilog-pretty-expr to handle new assignment operators in system
15816 verilog, such as += *= and the like.
15817 (verilog-assignment-operator-re): Regular expression to find the
15818 assigment operator in a verilog assignment.
15819 (verilog-assignment-operation-re): Regular expression to find an
15820 assignment statement for pretty-expr.
15821 (verilog-in-attribute-p): Query returns true if point is in an
15822 attribute context; used to skip these for expression line up from
15824 (verilog-in-parameter-p): Query returns true if point is in an
15825 parameter definition context; used to skip these for expression
15826 line up from pretty-expr.
15827 (verilog-in-parenthesis-p): Query returns true if point is in a
15828 parenthetical expression, specifically ( ) but not [ ] or { };
15829 used by pretty-expr.
15830 (verilog-just-one-space): If there is no space, don't add one.
15831 (verilog-get-lineup-indent-2): Specifically skip just attribute
15832 contexts for expression lineup, rather than skipping all
15833 parenthetical expressions.
15834 (verilog-calculate-indent): Fix comment, and fix indent.
15835 (verilog-do-indent): Indent declarations in lists (suggested by
15837 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15839 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15842 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15844 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15845 parameters with embedded comments. Reported by Ray Stevens.
15846 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15847 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15848 Reported by Tim Holt.
15849 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15850 instantiated by upper module causing wrong expansion until AUTOed a
15851 second time. Reported by K C Buckenmaier.
15852 (verilog-diff-auto): Fix showing .* as a difference when
15853 `verilog-auto-star-save' off. Reported by Dan Dever.
15854 (verilog-auto-reset, verilog-read-always-signals)
15855 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15856 temporary signals in reset list if
15857 verilog-auto-reset-blocking-in-non is nil, and match assignment
15858 style to each signal's assignment type, bug381.
15859 Reported by Thomas Esposito.
15860 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15861 (verilog-uvm-statement-re): Support UVM indentation and
15862 highlighting, with old OVM keywords only.
15863 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15864 Support AUTOTIEOFF creating non-wire data types.
15865 Suggested by Jonathan Greenlaw.
15866 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15867 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15868 (verilog-inject-sense, verilog-read-inst-pins)
15869 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15870 Fix mismatching parenthesis inside commented out code when deleting
15871 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15872 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15873 non-numeric vector width. Reported by Alex Reed.
15874 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15875 detecting signals with parameter widths. Reported by Alex Reed.
15876 (verilog-auto-delete-trailing-whitespace):
15877 With `verilog-auto-delete-trailing-whitespace' remove trailing
15878 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15879 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15880 Fix verilog-scan-cache corruption when running user AUTO expansion
15881 hooks that call indentation routines.
15882 (verilog-simplify-range-expression): Fix typo ignoring lower case
15884 (verilog-delete-auto): Fix delete-autos to also remove user created
15885 automatics, as long as they start with AUTO.
15886 (verilog-batch-diff-auto, verilog-diff-auto)
15887 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15888 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15889 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15890 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15891 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15892 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15893 is disabled and its cache will get corrupt, causing AUTOS not to
15894 expand. Instead use only -quick functions.
15895 (verilog-scan-region): Fix scanning over escaped quotes.
15896 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15897 (verilog-re-search-backward-quick)
15898 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15899 related functions now ignore strings, to fix misparsing of strings
15900 with magic comments embedded in them.
15901 (verilog-read-auto-template):
15902 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15903 Reported by Brad Dobbie.
15904 (verilog-read-auto-template):
15905 Fix 'verilog-auto-inst-template-numbers' with comments.
15906 Reported by Brad Dobbie.
15907 (verilog-auto-inst, verilog-auto-inst-param)
15908 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15909 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15910 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15911 debugging templates without merge conflicts, bug357.
15912 Reported by Brad Dobbie.
15913 (verilog-read-auto-template):
15914 Fix verilog-auto-inst-template-numbers with multiple templates.
15915 Reported by Brad Dobbie.
15916 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15917 abbrevs so user won't be asked to save.
15918 (verilog-read-auto-lisp-present): Fix to start at beginning of
15919 buffer in case called outside of verilog-auto.
15920 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15921 to "X-2". Reported by Matthew Myers.
15922 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15923 all inputs from module templates. Reported by Leith Johnson.
15924 (verilog-module-inside-filename-p): Fix locating programs as with
15926 (verilog-auto-inst-port): Fix vl-width expressions when using
15927 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15928 (verilog-decls-get-regs, verilog-decls-get-signals,
15929 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15930 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15931 verilog-read-decls): Combine reg and wire structures into one var
15932 structure to represent SystemVerilog concepts.
15933 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15934 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15935 (verilog-auto-wire-type, verilog-insert-definition):
15936 Add verilog-auto-wire-type and AUTOLOGIC to support using
15937 SystemVerilog "logic" keyword instead of "wire"/"reg".
15938 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15939 to declares outputs that also have assignments (presumably in an
15940 ifdef or generate if so there's not a driver conflict).
15941 Reported by Matthew Myers.
15942 (verilog-auto-declare-nettype, verilog-insert-definition):
15943 Add verilog-auto-declare-nettype to fix declarations using
15944 `default_nettype none. Reported by Julian Gorfajn.
15945 (verilog-read-always-signals-recurse, verilog-read-decls)
15946 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15947 malformed end statement, bug325. Reported by Joshua Wise and
15949 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15950 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15951 when expanding .* in interfaces, bug320.
15952 Reported by Pierre-David Pfister.
15953 (verilog-read-module-name): Fix import statements between module
15954 name and open parenthesis, bug317.
15955 Reported by Pierre-David Pfister.
15956 (verilog-simplify-range-expression): Fix simplification of
15957 multiplications inside AUTOWIRE connections, bug303.
15958 (verilog-auto-inst-port): Support parameter expansion in
15959 multidimensional arrays.
15960 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15961 after "assert property". Reported by Julian Gorfajn.
15962 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15963 with multiplication, bug303.
15964 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15965 Reported by Jan Frode Lonnum.
15967 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15969 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15970 (hfy-shell-file-name, hfy-shell):
15971 * international/fontset.el (x-decompose-font-name): Fix typos.
15973 2011-11-29 Ken Brown <kbrown@cornell.edu>
15975 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15976 (gdb-version): Remove defvar.
15977 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15978 (gdb-gud-context-command, gdb-non-stop-handler)
15979 (gdb-current-context-command, gdb-stopped): Use it.
15980 (gdb-init-1): Enable pretty printing here.
15981 (gdb-non-stop-handler): Don't enable pretty-printing here.
15982 Check to see if the target supports non-stop mode; if not, turn off
15983 non-stop mode. Use the following.
15984 (gdb-check-target-async): New defun.
15985 (gud-watch, gdb-stopped): Fix whitespace.
15986 (gdb-get-source-file): Don't try to display the source file if
15987 `gdb-main-file' is nil.
15989 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15991 * align.el: Try to generate fewer markers (bug#10047).
15992 (align--set-marker): New macro.
15993 (align-region): Use it.
15995 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15997 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15999 2011-11-29 Chong Yidong <cyd@gnu.org>
16001 * indent.el (indent-for-tab-command, indent-according-to-mode):
16003 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16005 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16007 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16008 aware of remote file names. (Bug#10124)
16010 2011-11-29 Chong Yidong <cyd@gnu.org>
16012 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16014 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16016 * files.el (find-file): Don't use force-same-window (bug#10144).
16017 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16018 use pop-to-buffer if the selected window can't be used.
16019 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16021 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16023 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16026 2011-11-28 Chong Yidong <cyd@gnu.org>
16028 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16030 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16032 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16033 gdb-get-source-file-list on gdb-create-source-file-list.
16035 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16037 * whitespace.el (whitespace-newline): Use a different foreground
16038 color for 16-color light-background displays.
16040 2011-11-24 Chong Yidong <cyd@gnu.org>
16042 * window.el (display-buffer--special-action): Doc fix.
16044 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16046 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16047 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16048 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16049 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16050 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16051 (avl-tree-stack-first):
16052 * emacs-lisp/cconv.el (cconv--analyse-use):
16053 * net/gnutls.el (gnutls-negotiate): Fix typos.
16055 2011-11-24 Glenn Morris <rgm@gnu.org>
16057 * lpr.el (lpr-windows-system, lpr-lp-system):
16058 * mail/binhex.el (binhex-begin-line):
16059 * progmodes/grep.el (grep-history, grep-find-history):
16060 * textmodes/flyspell.el:
16061 * vc/pcvs-defs.el (cvs-global-menu):
16062 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16063 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16064 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16066 * net/tls.el: Fix case of "GnuTLS".
16068 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16070 * version.el (emacs-build-system): Give it a doc-string.
16072 2011-11-24 Juri Linkov <juri@jurta.org>
16074 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16076 2011-11-24 Glenn Morris <rgm@gnu.org>
16078 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16079 if called on a non-mime message just toggle the headers. (Bug#8006)
16081 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16083 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16084 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16085 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16086 (allout-rebullet-heading, allout-open-sibtopic)
16087 (allout-toggle-current-subtree-encryption)
16088 (allout-toggle-subtree-encryption, allout-encrypt-string)
16089 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16090 (allout-distinctive-bullets-string, allout-auto-activation):
16091 * window.el (window-normalize-buffer-to-display):
16092 * progmodes/verilog-mode.el (verilog-batch-indent):
16093 * textmodes/bibtex.el (bibtex-field-braces-opt)
16094 (bibtex-field-strings-opt):
16095 * vc/cvs-status.el (cvs-tree-merge):
16098 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16100 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16101 `non-essential' to t, in order to avoid remote connections.
16103 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16105 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16106 On MS-DOS and MS-Windows, compare with loaddefs.el
16107 case-insensitively.
16109 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16111 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16113 2011-11-23 Glenn Morris <rgm@gnu.org>
16115 * paths.el (rmail-file-name): Reformat the doc-string so that it
16118 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16119 (rmail-auto-file): Ignore case in the "special" field names,
16120 as mail-fetch-field does for all others.
16122 * mail/rmail.el (rmail-forward):
16123 * mail/rmailkwd.el (rmail-set-label):
16124 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16125 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16127 * mail/rmail.el (rmail-current-message): Doc fix.
16129 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16131 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16133 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16135 2011-11-22 Glenn Morris <rgm@gnu.org>
16137 * mail/rmailmm.el (test-rmail-mime-handler)
16138 (test-rmail-mime-bulk-handler)
16139 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16141 2011-11-21 Juri Linkov <juri@jurta.org>
16143 * calc/calc.el (calc-read-key-sequence):
16144 Let-bind `input-method-function' to nil. (Bug#10018)
16146 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16148 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16149 Tell the caller that the next line needs recomputation, even
16150 though it doesn't start a sexp (bug#10094).
16152 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16154 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16156 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16159 Use force-same-window.
16161 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16163 * descr-text.el (describe-char-unicode-data):
16164 * json.el (json-string-escape):
16165 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16166 (Footnote-unicode, Footnote-style-p):
16167 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16169 2011-11-20 Chong Yidong <cyd@gnu.org>
16171 * window.el (replace-buffer-in-windows): Restore interactive spec.
16173 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16175 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16177 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16178 (byte-compile-global-not-obsolete-vars): New var.
16179 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16181 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16183 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16185 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16186 * progmodes/pascal.el (electric-pascal-equal):
16187 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16188 * xml.el (xml-substitute-special): Fix typos.
16190 2011-11-20 Glenn Morris <rgm@gnu.org>
16192 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16193 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16195 (rmail-decode-mime-charset): Mark as obsolete.
16197 * mail/rmailsum.el (rmail-message-regexp-p-1):
16198 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16199 Before using mime functions, check they are set. (Bug#10077)
16201 2011-11-19 Juri Linkov <juri@jurta.org>
16203 * info.el (Info-finder-find-node): Use `package--builtins' instead
16204 of `package-alist'. Use node names formed by the pattern "Keyword "
16205 and the keyword name.
16207 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16209 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16211 2011-11-19 Juri Linkov <juri@jurta.org>
16213 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16214 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16215 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16216 `old-history', `old-history-forward'. Add let-binding
16217 `window-selected'. Remove calls to `kill-buffer',
16218 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16219 before calling `Info-find-node', so `Info-find-node-2' will reread
16220 the Info file. Restore window positions only when `window-selected'
16223 2011-11-19 Juri Linkov <juri@jurta.org>
16225 * isearch.el (isearch-lazy-highlight-new-loop):
16226 Remove condition `(not isearch-error)'. (Bug#9918)
16228 * misearch.el (multi-isearch-search-fun): Add condition
16229 `(not bound)' to ignore lazy-highlighting search.
16230 Add the search-failed message "end of multi" when the end of
16231 multi-sequence is reached. Uncapitalize the search-failed
16232 message "Repeat for next buffer".
16234 * info.el (Info-search): Add the search-failed message
16235 "end of the manual" when the end of the manual is reached
16238 2011-11-19 Juri Linkov <juri@jurta.org>
16240 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16241 Use non-destructive `remove' instead of `delete' because
16242 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16243 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16245 2011-11-19 Juri Linkov <juri@jurta.org>
16247 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16248 to nil instead of binding `search-ring' and `regexp-search-ring'.
16251 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16253 * simple.el (line-move): Force movement by logical lines for any
16254 hscrolled window, not only when auto-hscroll-mode is on.
16255 (line-move-visual): Update doc string to that effect. (Bug#10076)
16257 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16259 * language/european.el (macintosh): Define as alias for mac-roman.
16261 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16263 * mail/rmailmm.el (rmail-mime-display-header)
16264 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16265 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16266 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16267 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16268 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16270 (rmail-mime-entity-segment): To get past the tagline, move forward
16271 2 more lines, to account for the 2 empty lines that precede and
16272 follow the line with the buttons.
16273 (rmail-mime-update-tagline): Move one more line, to get past the
16274 empty line that follows the buttons in the tagline. (Bug#9520)
16276 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16278 * window.el (window-max-delta-1, window-min-delta-1)
16279 (window-min-size-1, window-state-get-1, window-state-put-1)
16280 (window-state-put-2): Use "window--" prefix.
16282 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16285 (smie-warning-count): New var.
16286 (smie-set-prec2tab): Use it.
16287 (smie-bnf->prec2): Improve warnings. Add docstring.
16288 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16289 (smie-bnf--set-class): New function.
16290 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16293 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16294 (compilation-error-properties, compilation-move-to-column):
16295 Handle compilation-first-column while in the target buffer.
16297 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16298 Don't hardcode point-min==1.
16300 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16301 (eshell-rewrite-for-command): Remove workaround.
16302 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16303 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16304 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16306 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16308 2011-11-17 Glenn Morris <rgm@gnu.org>
16310 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16311 Ignore buffer-local generated-autoload-file if it is the same
16312 as the global value. (Bug#10049)
16314 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16316 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16317 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16318 (reftex-toc-previous-heading, reftex-toc-max-level)
16319 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16320 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16321 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16322 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16323 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16324 (reftex-toc-rename-label, reftex-toc-visit-location)
16325 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16326 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16327 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16328 leaving "*toc*" only for references to the buffer.
16330 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16332 * window.el (window-resize, delete-window, split-window):
16333 Replace window-splits by window-combination-resize.
16334 * cus-start.el (window-splits): Replace by window-combination-resize.
16336 2011-11-17 Glenn Morris <rgm@gnu.org>
16338 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16339 Make bash entry derive from sh entry, not shell entry.
16341 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16343 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16346 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16348 * menu-bar.el (menu-bar-file-menu):
16349 * printing.el (pr-ps-utility):
16350 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16351 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16352 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16353 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16354 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16355 (icalendar--convert-cyclic-to-ical)
16356 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16357 (icalendar--convert-ical-to-diary)
16358 (icalendar--convert-recurring-to-diary)
16359 (icalendar--convert-non-recurring-all-day-to-diary)
16360 (icalendar-import-format-sample):
16361 * progmodes/idlw-shell.el (idlwave-shell-mode):
16362 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16363 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16364 (vhdl-ps-print-init): Fix typos.
16366 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16368 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16369 FSF and collapse date sequence, obscure author/maintainer email address
16370 better, remove extra version line, track relocation of author's webpage.
16372 * progmodes/python.el (python-pdbtrack-input-prompt)
16373 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16374 regular python pdb prompts. Adjustments shamelessly taken exactly as
16375 suggested in EmacsWiki page (tiny change):
16376 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16378 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16380 * expand.el (expand-pos, expand-index, expand-point):
16381 Remove redundant info from docstring.
16382 (expand-add-abbrevs): Doc fix.
16383 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16384 (expand-sample-perl-mode-expand-list): Fix typos.
16386 * net/dbus.el (dbus-event-member-name):
16387 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16388 * term/pc-win.el (msdos-create-frame-with-faces):
16389 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16391 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16393 * window.el (split-window, window-state-get-1)
16394 (window-state-put-1, window-state-put-2): Rename occurrences of
16395 window-nest to window-combination-limit.
16396 * cus-start.el (window-nest): Rename to window-combination-limit.
16398 2011-11-16 Chong Yidong <cyd@gnu.org>
16400 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16401 regexp (Bug#10033).
16403 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16405 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16406 `completing-read' will remove *Completions* and will preserve
16407 current-buffer for us.
16408 (tmm-add-prompt): Users of *Completions* will always (re)set its
16410 (tmm-old-comp-map): Remove.
16412 2011-11-16 Glenn Morris <rgm@gnu.org>
16414 * mail/rmailedit.el: Require rmailmm when compiling.
16415 (rmail-old-mime-state): New declaration.
16416 (rmail-edit-current-message): If editing a mime message,
16417 edit the "raw" message from the mbox buffer.
16418 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16420 2011-11-15 Glenn Morris <rgm@gnu.org>
16422 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16423 which wasn't being used. Add optional arg to force given state.
16424 (rmail-mime): Add optional arg to force given state.
16426 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16428 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16429 * frame.el (display-mm-dimensions-alist):
16430 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16431 (outline-move-subtree-down):
16432 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16433 (newsticker--treeview-do-get-node):
16434 * net/quickurl.el (quickurl-list-buffer-name):
16435 * progmodes/dcl-mode.el (dcl-mode):
16436 * progmodes/gdb-mi.el (gdb-mapcar*):
16437 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16439 2011-11-15 Glenn Morris <rgm@gnu.org>
16441 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16442 in a boolean sense, so just make it a boolean, and fix the doc.
16443 (rmail-show-mime-function, rmail-mime-feature)
16444 (rmail-require-mime-maybe): Doc fixes.
16445 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16447 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16449 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16451 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16452 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16453 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16454 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16456 2011-11-15 Glenn Morris <rgm@gnu.org>
16458 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16459 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16460 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16461 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16462 (rmail-mime, rmail-show-mime): Doc fixes.
16464 * term/ns-win.el (mode-line-frame-identification):
16465 Leave it alone. (Bug#10051)
16467 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16469 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16470 Handle empty buffers. (Bug#9978)
16472 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16474 * international/mule.el (define-charset):
16475 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16476 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16477 * progmodes/verilog-mode.el (verilog-backward-token):
16478 * textmodes/ispell.el (lookup-words):
16479 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16481 2011-11-14 Glenn Morris <rgm@gnu.org>
16483 * progmodes/executable.el
16484 (executable-make-buffer-file-executable-if-script-p):
16485 Handle file-modes returning nil.
16487 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16488 message - not necessary, and causes problems. (Bug#9831)
16490 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16492 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16494 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16495 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16496 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16498 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16500 * window.el (window-resize, delete-window): Use window-splits
16501 variable instead of function.
16502 (window-state-get-1, window-state-put-2, window-state-put):
16503 Don't deal with windows' splits status.
16505 2011-11-12 Glenn Morris <rgm@gnu.org>
16507 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16508 (apropos-documentation): Doc fixes.
16510 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16512 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16513 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16515 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16517 * electric.el (electric-indent-post-self-insert-function): Make it
16518 possible for a char to only indent in some circumstances.
16519 (electric-indent-mode): Simplify.
16521 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16523 * window.el (windows-with-parameter): Remove unused function.
16524 (windows-at-side): Rename to window-at-side-list.
16525 (window-check, window-atom-check, window-atom-check-1)
16526 (window-side-check, window-size-ignore, window-size-fixed-1)
16527 (window-in-direction-2): Prefix with "window--".
16528 (window-tree-1): Rename to window--subtree, fix doc-string.
16530 2011-11-11 Glenn Morris <rgm@gnu.org>
16532 * subr.el (eval-after-load): If FILE is already loaded,
16533 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16535 2011-11-10 Glenn Morris <rgm@gnu.org>
16537 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16538 Call svn via vc-svn-command rather than vc-do-command.
16539 (vc-svn-command): Add --non-interactive. (Bug#9993)
16540 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16542 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16543 Add toggle-read-only. (Bug#7292)
16544 * files.el (toggle-read-only): Mention that it should only
16545 be used interactively. (Bug#10006)
16547 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16550 Adjust regexp for OCaml warnings.
16552 * electric.el (electric-pair-post-self-insert-function): Let user
16553 turn it off buffer-locally (bug#9932).
16555 * progmodes/python.el (python-beginning-of-statement):
16556 Rewrite (bug#2703).
16558 * progmodes/compile.el: Better handle TABs (bug#9749).
16559 (compilation-internal-error-properties)
16560 (compilation-next-error-function): Obey the target buffer's
16561 compilation-error-screen-columns.
16563 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16565 * progmodes/meta-mode.el: Remove obsolete comments.
16566 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16567 Fix typos in docstrings.
16569 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16571 * window.el (window-size-fixed-p): Rewrite doc-string.
16572 (window-resizable-p): Rename to window--resizable-p. Update callers.
16573 (window--resizable): New function. Make all callers of
16574 window-resizable call window--resizable instead.
16575 (window-resizable): Rewrite in terms of window--resizable.
16577 2011-11-08 Glenn Morris <rgm@gnu.org>
16579 * progmodes/delphi.el (delphi-mode-syntax-table):
16580 Let define-derived-mode define a proper syntax table. (Bug#9994)
16582 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16584 * window.el: Stay away from defsubst.
16585 (window-list-no-nils): Remove.
16586 (window-state-get-1, window-state-get): Use backquote instead.
16588 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16590 * emacs-lisp/find-func.el (find-function-read):
16591 Fix incorrect use of default argument in `completing-read'.
16593 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16595 * window.el (display-buffer-function, special-display-function):
16596 Mention display-buffer-record-window but do not mention
16597 help-setup parameter in doc-strings.
16598 (window-min-delta): Fix doc-string typo.
16600 2011-11-08 Chong Yidong <cyd@gnu.org>
16602 * window.el (window-total-height, window-total-width): Doc fix.
16603 (window-body-size): Move from C.
16604 (window-body-height, window-body-width): Move to C.
16606 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16608 * window.el: Make special-display like display-buffer-alist (bug#9532).
16609 (display-buffer--special-action): New function, morphed
16610 from display-buffer--special.
16611 (display-buffer): Use it to handle special-display-buffers at higher
16612 priority (just after display-buffer-alist).
16613 (display-buffer-fallback-action, display-buffer--other-frame-action)
16614 (pop-to-buffer-same-window): Remove display-buffer--special.
16616 2011-11-07 Glenn Morris <rgm@gnu.org>
16618 * calendar/cal-menu.el (cal-menu-set-date-title):
16619 Do nothing if not in a calendar. (Bug#9976)
16621 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16623 * files.el (find-file): Always use selected-window.
16625 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16627 * window.el (window-combinations): Make WINDOW argument
16628 mandatory. Rewrite doc-string.
16629 (walk-window-subtree, window-atom-check, window-min-delta)
16630 (window-max-delta, window--resize-this-window)
16631 (window--resize-root-window-vertically, window-tree)
16632 (balance-windows, window-state-put): Rewrite doc-strings as to
16633 not mention the term "subwindow".
16634 (window--resize-subwindows-skip-p): Rename to
16635 window--resize-child-windows-skip-p.
16636 (window--resize-subwindows-normal): Rename to
16637 window--resize-child-windows-normal.
16638 (window--resize-subwindows): Rename to
16639 window--resize-child-windows.
16640 (window-or-subwindow-p): Rename to window--in-subtree-p.
16642 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16644 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16645 Ensure that mbox format messages end in two newlines (Bug#9974).
16647 2011-11-06 Chong Yidong <cyd@gnu.org>
16649 * window.el (window-combination-p): Function deleted; its
16650 side-effect is not used in any existing code.
16651 (window-combinations, window-combined-p): Call window-*-child
16654 2011-11-05 Chong Yidong <cyd@gnu.org>
16656 * window.el (window-valid-p): Rename from window-any-p.
16657 (window-size-ignore, window-state-get): Callers changed.
16658 (window-normalize-window): Rename from window-normalize-any-window.
16659 New arg LIVE-ONLY, replacing window-normalize-live-window.
16660 (window-normalize-live-window): Delete.
16661 (window-combination-p, window-combined-p, window-combinations)
16662 (walk-window-subtree, window-atom-root, window-min-size)
16663 (window-sizable, window-sizable-p, window-size-fixed-p)
16664 (window-min-delta, window-max-delta, window-resizable)
16665 (window-resizable-p, window-full-height-p, window-full-width-p)
16666 (window-current-scroll-bars, window-point-1, set-window-point-1)
16667 (window-at-side-p, window-in-direction, window-resize)
16668 (adjust-window-trailing-edge, maximize-window, minimize-window)
16669 (window-deletable-p, delete-window, delete-other-windows)
16670 (record-window-buffer, unrecord-window-buffer)
16671 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16672 (quit-window, split-window, window-state-put)
16673 (set-window-text-height, fit-window-to-buffer)
16674 (shrink-window-if-larger-than-buffer): Callers changed.
16676 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16678 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16679 rfc2047-decode-string.
16680 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16683 * window.el (window-body-height, window-body-width): Mention in
16684 the doc string that the return values are in frame's canonical
16687 2011-11-03 Alan Mackenzie <acm@muc.de>
16689 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16690 change in cc-engine.el.
16692 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16696 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16698 * window.el (quit-window): Call unrecord-window-buffer after
16699 showing another buffer in the window. (Bug#9937)
16700 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16702 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16704 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16705 Accept status with more than 9 shelves. (Bug#9935)
16706 Reported by Colin D Bennett <colin@gibibit.com>.
16708 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16710 * help.el (with-help-window): Don't reference
16711 temp-buffer-show-specifiers in doc-string.
16713 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16715 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16718 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16720 * whitespace.el: New version 13.2.2.
16721 (whitespace-newline-mode): Disable properly. Reported by Sarah
16724 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16726 * net/newst-treeview.el: Remove "Time-stamp".
16727 (newsticker--group-manage-orphan-feeds): Do not call
16728 newsticker--treeview-tree-update.
16729 (newsticker-treeview-update, newsticker-treeview):
16730 Call newsticker--treeview-tree-update if necessary.
16732 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16734 * window.el (window-iso-combination-p, window-iso-combined-p)
16735 (window-iso-combinations): Remove "iso-" infix.
16736 Suggested by Chong Yidong.
16737 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16738 (window-max-delta-1, window-resize, window--resize-siblings)
16739 (window--resize-this-window, adjust-window-trailing-edge)
16740 (split-window, balance-windows-1)
16741 (shrink-window-if-larger-than-buffer):
16742 * calendar/calendar.el (calendar-generate-window):
16743 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16745 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16747 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16748 in place (bug#9907).
16749 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16750 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16751 (eshell-structure-basic-command, eshell-rewrite-while-command)
16752 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16753 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16754 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16755 (eshell-do-pipelines-synchronously, eshell-eval-command):
16756 Use backquotes and prefer setq to set.
16757 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16758 (eshell-macrop): Use functionp.
16759 (eshell-do-eval): Handle multiple expressions in `while' body.
16761 2011-10-30 Chong Yidong <cyd@gnu.org>
16763 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16764 instead of set-mark (Bug#9810).
16766 2011-10-30 Chong Yidong <cyd@gnu.org>
16768 * window.el (split-window-below, split-window-right): Rename from
16769 split-window-above-each-other and split-window-side-by-side
16770 respectively. All callers changed.
16771 (split-window-sensibly, split-window-sensibly): Use them.
16772 (split-window-keep-point): Doc fix.
16774 * isearch.el: Add isearch-scroll property to split-window-below
16775 and split-window-right.
16777 * follow.el (follow-mode):
16778 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16779 * progmodes/ada-xref.el (ada-gdb-application):
16780 * emulation/vip.el (vip-buffer-in-two-windows):
16781 * image-dired.el (image-dired-dired-with-window-configuration):
16782 * dired-x.el (dired-do-find-marked-files):
16783 * dired.el (dired-pop-to-buffer):
16784 * bs.el (bs--show-with-configuration):
16785 * vc/emerge.el (emerge-setup-windows):
16786 * textmodes/two-column.el (2C-two-columns):
16787 * textmodes/reftex-toc.el (reftex-toc):
16788 * progmodes/gdb-mi.el (gdb-setup-windows):
16789 * progmodes/fortran.el (fortran-window-create):
16790 * net/newst-treeview.el (newsticker--treeview-window-init):
16791 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16792 * emulation/tpu-edt.el (tpu-gold-map):
16793 * emulation/crisp.el (crisp-mode-map):
16794 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16796 2011-10-29 Chong Yidong <cyd@gnu.org>
16798 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16800 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16802 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16803 forged Ispell output (Bug#7904).
16805 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16807 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16809 * doc-view.el: Avoid ugly errors about not finding nil.
16810 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16811 (doc-view-dvipdf-program, doc-view-unoconv-program)
16812 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16813 Avoid nil or absolute file name as default value.
16814 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16816 2011-10-28 Alan Mackenzie <acm@muc.de>
16818 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16820 2011-10-28 Alan Mackenzie <acm@muc.de>
16822 Amend the handling of c-beginning/end-of-defun in nested declaration
16825 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16826 cc-langs.el. Change it to a defcustom.
16828 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16831 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16832 Prevent "class foo : bar" being spuriously recognized as a label.
16834 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16835 Add parameter `inclusive' (to include enclosing braces in the region).
16836 (c-widen-to-enclosing-decl-scope): New function.
16837 (c-while-widening-to-decl-block): New macro.
16838 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16839 outward for defun boundaries, and correspondingly change symbol
16840 `respect-enclosure' to `go-outward'.
16841 (c-declaration-limits): Change algorithm to report only the "innermost"
16842 defun's boundaries.
16844 2011-10-28 Deniz Dogan <deniz@dogan.se>
16846 * net/rcirc.el (rcirc-mode): Use hard newlines.
16848 2011-10-28 Alan Mackenzie <acm@muc.de>
16850 Amend to indent and fontify macros "which include their own semicolon"
16851 correctly, using the "virtual semicolon" mechanism.
16853 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16855 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16856 Recode to scan one line at a time rather than having \n and \r
16857 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16858 (c-forward-label): Amend for virtual semicolons.
16859 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16861 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16862 of the new C macros.
16864 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16865 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16866 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16867 (c-opt-cpp-macro-define): Make into a full language variable.
16868 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16869 AWK Mode (including \n, \r) removed, no longer needed.
16871 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16872 Invoke c-make-macro-with-semi-re.
16874 * progmodes/cc-vars.el (c-macro-with-semi-re):
16875 (c-macro-names-with-semicolon): New variables.
16876 (c-make-macro-with-semi-re): New function.
16878 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16880 * vc/log-edit.el: Fill empty field rather than adding new one.
16881 (log-edit-add-field): New function.
16882 (log-edit-insert-changelog): Use it.
16884 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16886 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16888 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16890 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16891 (gdb--check-interpreter): New function.
16894 2011-10-27 Glenn Morris <rgm@gnu.org>
16896 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16897 (least-positive-float, least-negative-float)
16898 (least-positive-normalized-float, least-negative-normalized-float)
16899 (float-epsilon, float-negative-epsilon):
16900 Remove unnecessary declarations.
16902 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16903 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16904 (least-positive-float, least-negative-float)
16905 (least-positive-normalized-float, least-negative-normalized-float)
16906 (float-epsilon, float-negative-epsilon): Add doc-strings,
16907 based on those in cl.texi.
16909 * files.el (set-visited-file-name): If the major-mode changed,
16910 reload the local variables. (Bug#9796)
16912 2011-10-27 Chong Yidong <cyd@gnu.org>
16914 * subr.el (change-major-mode-after-body-hook): New hook.
16915 (run-mode-hooks): Run it.
16917 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16918 Use change-major-mode-before-body-hook.
16920 * simple.el (fundamental-mode):
16921 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16922 change introducing fundamental-mode-hook.
16924 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16926 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16928 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16930 * ido.el (ido-file-name-all-completions-1): Do not require
16931 tramp.el explicitly. (Bug#7583)
16933 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16935 * progmodes/octave-mod.el:
16936 * progmodes/octave-inf.el: Update maintainer.
16938 2011-10-26 Chong Yidong <cyd@gnu.org>
16940 * subr.el (with-wrapper-hook): Rewrite doc.
16942 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16944 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16945 filenames "/method:foo:". (Bug#9793)
16947 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16949 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16952 2011-10-24 Glenn Morris <rgm@gnu.org>
16954 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16956 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16958 * notifications.el: Add the requirement of a running D-Bus session
16959 bus to the Commentary.
16961 2011-10-24 Juri Linkov <juri@jurta.org>
16963 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16964 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16967 2011-10-24 Juri Linkov <juri@jurta.org>
16969 * info.el (Info-following-node-name-re): Add newline to the list
16970 of allowed characters for leading space. (Bug#9824)
16972 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * progmodes/octave-inf.el (inferior-octave-mode-map):
16975 Fix C-c C-h binding.
16976 * progmodes/octave-mod.el (octave-help): Remove.
16978 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16980 Sync with Tramp 2.2.3.
16982 * net/tramp-cache.el (top): Pacify byte-compiler using
16983 `init-file-user' and `site-run-file'.
16985 * net/trampver.el: Update release number.
16987 2011-10-23 Chong Yidong <cyd@gnu.org>
16989 * files.el (toggle-read-only): Remove obsolete comment about
16992 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16993 for toggle-read-only. Note that this hasn't called vc-next-action
16994 since 2008-05-02, though it wasn't documented at the time.
16996 * vc/ediff-init.el (ediff-toggle-read-only-function):
16997 Use toggle-read-only.
16999 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17001 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17004 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17005 correct faulty logical expression.
17006 (c-parse-state-state, c-record-parse-state-state):
17007 (c-replay-parse-state-state): New defvar/defuns.
17008 (c-debug-parse-state): Use new functions.
17010 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17012 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17013 last fix. Use window-in-direction correctly.
17015 2011-10-21 Chong Yidong <cyd@gnu.org>
17017 * progmodes/idlwave.el (idlwave-mode):
17018 * progmodes/vera-mode.el (vera-mode): No need to set
17019 require-final-newline; that's done in prog-mode.
17020 Suggested by Stefan Monnier.
17022 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17024 * mouse.el (mouse-drag-window-above)
17025 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17026 (mouse-drag-mode-line-1, mouse-drag-header-line)
17027 (mouse-drag-vertical-line-rightward-window): Remove.
17028 (mouse-drag-line): New function.
17029 (mouse-drag-mode-line, mouse-drag-header-line)
17030 (mouse-drag-vertical-line): Call mouse-drag-line.
17031 * window.el (window-at-side-p, windows-at-side): New functions.
17033 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17035 * tar-mode.el (tar-grind-file-mode):
17036 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17038 2011-10-21 Chong Yidong <cyd@gnu.org>
17040 * progmodes/idlwave.el (idlwave-mode):
17041 * progmodes/vera-mode.el (vera-mode):
17042 Use mode-require-final-newline.
17044 2011-10-20 Glenn Morris <rgm@gnu.org>
17046 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17048 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17050 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17052 2011-10-20 Chong Yidong <cyd@gnu.org>
17054 * emulation/cua-base.el (cua-mode):
17055 * mail/footnote.el (footnote-mode):
17056 * mail/mailabbrev.el (mail-abbrevs-mode):
17057 * net/xesam.el (xesam-minor-mode):
17058 * progmodes/bug-reference.el (bug-reference-mode):
17059 * progmodes/cap-words.el (capitalized-words-mode):
17060 * progmodes/compile.el (compilation-minor-mode)
17061 (compilation-shell-minor-mode):
17062 * progmodes/gud.el (gud-tooltip-mode):
17063 * progmodes/hideif.el (hide-ifdef-mode):
17064 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17065 * progmodes/subword.el (subword-mode):
17066 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17067 * progmodes/which-func.el (which-function-mode):
17068 * term/tvi970.el (tvi970-set-keypad-mode):
17069 * term/vt100.el (vt100-wide-mode):
17070 * textmodes/flyspell.el (flyspell-mode):
17071 * textmodes/ispell.el (ispell-minor-mode):
17072 * textmodes/nroff-mode.el (nroff-electric-mode):
17073 * textmodes/paragraphs.el (use-hard-newlines):
17074 * textmodes/refill.el (refill-mode):
17075 * textmodes/reftex.el (reftex-mode):
17076 * textmodes/rst.el (rst-minor-mode):
17077 * textmodes/sgml-mode.el (html-autoview-mode)
17078 (sgml-electric-tag-pair-mode):
17079 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17080 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17081 * emulation/crisp.el (crisp-mode):
17082 * emacs-lisp/eldoc.el (eldoc-mode):
17083 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17084 minor mode behavior.
17086 2011-10-19 Juri Linkov <juri@jurta.org>
17088 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17089 the list of hard-coded chars with escape-glyph face.
17091 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17093 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17095 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17097 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17100 2011-10-19 Glenn Morris <rgm@gnu.org>
17102 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17103 Ignore ignored files. (Bug#9726)
17105 2011-10-19 Chong Yidong <cyd@gnu.org>
17107 Doc fix for minor modes, stating that an omitted argument enables
17108 the mode unconditionally when called from Lisp.
17110 * abbrev.el (abbrev-mode):
17111 * allout.el (allout-mode):
17112 * autoinsert.el (auto-insert-mode):
17113 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17114 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17115 (global-auto-revert-mode):
17116 * battery.el (display-battery-mode):
17117 * composite.el (global-auto-composition-mode)
17118 (auto-composition-mode):
17119 * delsel.el (delete-selection-mode):
17120 * desktop.el (desktop-save-mode):
17121 * dired-x.el (dired-omit-mode):
17122 * dirtrack.el (dirtrack-mode):
17123 * doc-view.el (doc-view-minor-mode):
17124 * double.el (double-mode):
17125 * electric.el (electric-indent-mode, electric-pair-mode):
17126 * emacs-lock.el (emacs-lock-mode):
17127 * epa-hook.el (auto-encryption-mode):
17128 * follow.el (follow-mode):
17129 * font-core.el (font-lock-mode):
17130 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17131 * help.el (temp-buffer-resize-mode):
17132 * hilit-chg.el (highlight-changes-mode)
17133 (highlight-changes-visible-mode):
17134 * hi-lock.el (hi-lock-mode):
17135 * hl-line.el (hl-line-mode, global-hl-line-mode):
17136 * icomplete.el (icomplete-mode):
17137 * ido.el (ido-everywhere):
17138 * image-file.el (auto-image-file-mode):
17139 * image-mode.el (image-minor-mode):
17140 * iswitchb.el (iswitchb-mode):
17141 * jka-cmpr-hook.el (auto-compression-mode):
17142 * linum.el (linum-mode):
17143 * longlines.el (longlines-mode):
17144 * master.el (master-mode):
17145 * mb-depth.el (minibuffer-depth-indicate-mode):
17146 * menu-bar.el (menu-bar-mode):
17147 * minibuf-eldef.el (minibuffer-electric-default-mode):
17148 * mouse-sel.el (mouse-sel-mode):
17149 * msb.el (msb-mode):
17150 * mwheel.el (mouse-wheel-mode):
17151 * outline.el (outline-minor-mode):
17152 * paren.el (show-paren-mode):
17153 * recentf.el (recentf-mode):
17154 * reveal.el (reveal-mode, global-reveal-mode):
17155 * rfn-eshadow.el (file-name-shadow-mode):
17156 * ruler-mode.el (ruler-mode):
17157 * savehist.el (savehist-mode):
17158 * scroll-all.el (scroll-all-mode):
17159 * scroll-bar.el (scroll-bar-mode):
17160 * server.el (server-mode):
17161 * shell.el (shell-dirtrack-mode):
17162 * simple.el (auto-fill-mode, transient-mark-mode)
17163 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17164 (line-number-mode, column-number-mode, size-indication-mode)
17165 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17166 * strokes.el (strokes-mode):
17167 * time.el (display-time-mode):
17168 * t-mouse.el (gpm-mouse-mode):
17169 * tool-bar.el (tool-bar-mode):
17170 * tooltip.el (tooltip-mode):
17171 * type-break.el (type-break-mode-line-message-mode)
17172 (type-break-query-mode):
17173 * view.el (view-mode):
17174 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17175 (global-whitespace-mode, global-whitespace-newline-mode):
17176 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17178 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17179 Fix autogenerated docstring.
17181 2011-10-19 Juri Linkov <juri@jurta.org>
17183 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17184 by checking environment variables "DESKTOP_SESSION" and
17185 "XDG_CURRENT_DESKTOP". (Bug#9779)
17187 2011-10-19 Juri Linkov <juri@jurta.org>
17189 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17190 (browse-url-chromium-program, browse-url-chromium-arguments):
17192 (browse-url-default-browser): Check for `browse-url-chromium' and
17193 call `browse-url-chromium-program'.
17194 (browse-url-chromium): New command. (Bug#9779)
17196 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17198 * facemenu.el (list-colors-duplicates): On Windows, detect more
17199 duplicates by assuming that only colors matching "^System" are
17200 special "system colors". (Bug#9722)
17202 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17204 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17205 to distinguish the author from the committer.
17207 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17209 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17211 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17213 * international/mule.el (sgml-html-meta-auto-coding-function):
17214 Add support for detecting encoding in HTML5 specified only as
17215 <meta charset="UTF-8">. Implementation just makes http-equiv and
17216 content-type parts from HTML4 encoding string optional. (Bug#9716)
17218 2011-10-18 Glenn Morris <rgm@gnu.org>
17220 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17222 2011-10-18 Chong Yidong <cyd@gnu.org>
17224 * faces.el (cursor): Doc fix.
17226 2011-10-17 Chong Yidong <cyd@gnu.org>
17228 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17230 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17232 * dirtrack.el (dirtrack): Support shell buffers with path
17233 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17235 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17237 * json.el: Bump version to 1.3 and note change in History.
17238 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17240 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17242 * comint.el (comint-insert-input, comint-send-input)
17243 (comint-get-old-input-default, comint-backward-matching-input)
17244 (comint-next-prompt): Use nil instead of `input' for field property of
17245 past user input (bug#114).
17247 * minibuffer.el (completion--replace): Inherit surrounding properties
17249 (minibuffer-complete-and-exit): Use it.
17251 * comint.el (comint--table-subvert): Quote the all-completions output
17254 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17256 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17258 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17259 window on right of selected. (Bug#9350) Reword other window
17260 entries and separate them from frame entries.
17262 2011-10-15 Glenn Morris <rgm@gnu.org>
17264 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17267 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17269 * net/network-stream.el (network-stream-open-starttls):
17270 Improve detection of failure due to lack of TLS support.
17272 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17273 putting the input text in front and in bold.
17275 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17277 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17279 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17282 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17283 unread-command-events rather than pushing yet-another event.
17285 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17287 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17288 the explanation of the possible choices. Make the options passed
17289 to completing-read shorter.
17291 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17293 * textmodes/flyspell.el (flyspell-large-region): Make sure
17294 extended character mode is used if defined (Bug#1339).
17296 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17298 * simple.el (what-cursor-position): Fix the display of the
17299 character info for LRE, LRO, RLE, and RLO characters by appending
17302 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17304 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17305 even in case of error; add debug spec; simplify data flow.
17306 (with-timeout-handler): Remove.
17308 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17310 Fix Bug#6019, Bug#9315.
17312 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17313 complete `buffer-file-name', the local file name part could look
17314 remotely (for example on VMS).
17316 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17317 `tramp-run-real-handler'.
17318 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17319 already quoted by '"'.
17321 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17322 Let `file-name-handler-alist' be nil, the local file name part
17323 could look remotely (for example on VMS).
17325 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17327 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17329 (flyspell-post-command-hook): ...to here.
17331 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17333 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17335 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17336 using completion. Protect against "slow" callers.
17337 Remove the "message hack".
17339 2011-10-11 Juri Linkov <juri@jurta.org>
17341 * isearch.el (isearch-lazy-highlight-word): New variable.
17342 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17345 2011-10-11 Glenn Morris <rgm@gnu.org>
17347 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17348 like f90-previous-statement does.
17350 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17352 * eshell/eshell.el (eshell-command): History should be saved
17353 only in interactive use, to avoid error.
17355 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17357 * minibuffer.el (completion-file-name-table): Fix last change,
17358 i.e. ignore normal errors but not the other ones.
17360 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17362 * window.el (special-display-buffer-names)
17363 (special-display-regexps): Remove some remnants of earlier
17364 changes from doc-strings.
17365 (quit-windows-on): New function.
17367 * vc/vc.el (vc-revert, vc-rollback):
17368 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17369 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17370 (Bug#6183) (Bug#7074) (Bug#7447)
17372 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17374 * window.el (frame-auto-hide-function): Add version tag.
17377 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17379 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17382 2011-10-09 Leo Liu <sdl.web@gmail.com>
17384 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17387 2011-10-08 Glenn Morris <rgm@gnu.org>
17389 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17390 before the first code statement zero indent. (Bug#9690)
17392 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17394 * simple.el (count-words-region): Always count in the region.
17395 Report the number of lines and characters too.
17396 (count-words): New command, which counts in the buffer if the
17397 region is inactive, as count-words-region used to.
17398 (count-words--message): New function. Handle plurals.
17399 (count-lines-region): Make it an alias for count-words-region.
17401 * bindings.el (esc-map): Replace count-lines-region with
17402 count-words-region.
17404 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17406 * window.el (window--delete): Delete dedicated frame
17407 unconditionally when argument KILL is non-nil. (Bug#9699)
17408 (switch-to-buffer): Fix doc-string typo.
17410 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17412 * eshell/eshell.el (eshell-command): Avoid using hooks.
17414 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17416 * bindings.el ([M-left],[M-right]): Bind to left-word and
17417 right-word respectively.
17419 2011-10-07 Glenn Morris <rgm@gnu.org>
17421 * cus-start.el (debug-on-quit): Fix custom type.
17423 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17425 * subr.el (define-key-after): Clarify that the function is not
17426 useful for non-menu keymaps.
17428 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17430 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17432 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17433 in current minibuffer (Fix bug with recursive minibuffers).
17435 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17437 * progmodes/gdb-mi.el (gdb): Doc fix.
17439 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17441 * window.el (frame-auto-hide-function): New option replacing
17442 frame-auto-delete. Suggested by Stefan Monnier.
17443 (window--delete): Call frame-auto-hide-function instead of
17444 investigating frame-auto-delete.
17445 (window-point-1, set-window-point-1): New functions.
17446 (window-in-direction, record-window-buffer, window-state-get-1)
17447 (display-buffer-record-window): Use window-point-1 instead of
17449 (set-window-buffer-start-and-point): Use set-window-point-1.
17451 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17453 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17455 2011-10-05 Glenn Morris <rgm@gnu.org>
17457 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17458 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17460 2011-10-05 Leo Liu <sdl.web@gmail.com>
17462 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17463 works with buffer object.
17465 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17467 * mpc.el (mpc-tool-bar-map): Add labels.
17469 2011-10-04 Glenn Morris <rgm@gnu.org>
17471 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17473 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17475 * window.el (window--delete): New function.
17476 (frame-auto-delete): Resuscitate option.
17477 (bury-buffer, replace-buffer-in-windows)
17478 (quit-window): Rewrite using window--delete.
17479 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17480 Pass display-buffer-mark-dedicated to window--display-buffer-2
17483 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17485 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17486 returns a list (bug#9554). Add remote file name completion.
17487 * comint.el (comint--table-subvert): Curry and get quote&unquote
17488 functions as arguments.
17489 (comint--complete-file-name-data): Adjust call accordingly.
17490 * pcomplete.el (pcomplete--table-subvert): Remove.
17491 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17493 * minibuffer.el (completion-table-case-fold): Use currying.
17494 (completion--styles-type, completion--cycling-threshold-type):
17496 (completion-styles, completion-category-overrides)
17497 (completion-cycle-threshold): Use them.
17498 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17499 completion-table-case-fold.
17501 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17503 * minibuffer.el (completion-category-overrides): Fix type of styles
17504 and add more user friendly tags (bug#9660).
17506 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17508 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17509 (mule-input-method-string): New widget.
17510 (default-input-method, language-info-custom-alist): Use it.
17512 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17514 * pcomplete.el: Require comint.
17515 (pcomplete--common-suffix): Remove.
17516 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17517 (pcomplete--table-subvert): Sync with comint--table-subvert.
17518 (pcomplete--entries): Use comint-completion-file-name-table.
17519 * comint.el (comint-unquote-filename): Simplify.
17520 (comint-completion-file-name-table): New function (bug#9616).
17521 (comint--complete-file-name-data): Use it.
17523 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17524 (pcmpl-gnu-tar-buffer): Remove.
17525 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17526 around. Make sure pcomplete-suffix-list is only changed temporarily.
17527 Don't look inside the tar's file if it's too large.
17529 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17531 * cus-edit.el (custom-mode-map):
17532 * epa.el (epa-key-list-mode-map):
17533 * man.el (Man-mode-map):
17534 * startup.el (splash-screen-keymap):
17535 * simple.el (special-mode-map): Use scroll-up-command and
17536 scroll-down-command.
17538 * progmodes/idlw-help.el (idlwave-help-mode-map):
17539 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17540 * net/newst-plainview.el (newsticker-mode-map):
17541 * emulation/ws-mode.el (wordstar-mode-map):
17542 * emulation/vi.el (vi-com-map):
17543 * calc/calc-graph.el (calc-graph-show-dumb):
17544 * term/sun.el (terminal-init-sun):
17545 * term/ns-win.el (global-map):
17546 * progmodes/grep.el (grep-mode-map):
17547 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17548 * mail/rmail.el (rmail-mode-map):
17549 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17551 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17552 custom-safe-themes as special.
17554 2011-10-01 Julien Danjou <julien@danjou.info>
17556 * notifications.el (notifications-notify): Fix docstring.
17558 2011-10-01 Per Starbäck <per@starback.se>
17560 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17562 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17564 * startup.el (command-line-1): Fix last fix by inserting
17565 initial-scratch-message into *scratch* before displaying it.
17566 (Bug#9605) and (Bug#9636)
17568 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17570 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17571 window is hscrolled, move by logical lines. (Bug#9607)
17572 (line-move-visual): Update the doc string to the above effect.
17574 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17576 * window.el (display-buffer-record-window): When WINDOW is the
17577 selected window use `point' instead of `window-point'. (Bug#9626)
17579 * startup.el (command-line-1): Use insert-before-markers when
17580 inserting initial-scratch-message. (Bug#9605)
17582 * help.el (help-window): Remove variable.
17584 2011-09-29 Glenn Morris <rgm@gnu.org>
17586 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17588 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17590 * descr-text.el (describe-char-categories): Accept category
17591 descriptions more than one line long.
17593 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17595 * simple.el (delete-trailing-whitespace): Fix last change.
17597 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17598 Don't confuse "y => 3" as the beginning of a `y' operation.
17600 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17601 object has more than 4 slots (bug#9613).
17603 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17605 * subr.el (with-output-to-temp-buffer):
17606 * net/quickurl.el (quickurl, quickurl-browse-url):
17607 Fix typos in docstrings.
17609 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17611 * minibuffer.el (completion-styles)
17612 (completion-category-overrides): Cross reference each other in doc
17615 2011-09-27 Glenn Morris <rgm@gnu.org>
17617 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17618 to split-string. (Bug#9606)
17620 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17625 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17627 * emacs-lisp/package.el (list-packages): Fix echo area message.
17629 2011-09-27 Leo Liu <sdl.web@gmail.com>
17631 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17633 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17635 * net/dbus.el (dbus-unregister-object): Don't release services for
17636 registered signals. (Bug#9581)
17638 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17640 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17641 function that picks between cfengine 2 and 3 support
17642 automatically. Update docs accordingly.
17644 2011-09-22 Kenichi Handa <handa@m17n.org>
17646 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17648 (indian-itrans-v5-table-for-tamil): New variable.
17649 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17651 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17653 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17654 that's true if the current command involved collapsing of text.
17655 It's reset to false at the beginning of the next command.
17656 (allout-post-command-business): Move the cursor to the beginning
17657 of entry if the cursor is hidden and collapsing activity just
17660 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17662 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17663 tracking (Bug#9541).
17665 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17667 * net/newst-reader.el (newsticker-html-renderer)
17668 (newsticker-show-news): Automatically load html rendering package
17669 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17670 because w3m-fill-column is let-bound" and the error "Symbol's value
17671 as variable is void: w3m-fill-column".
17673 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17675 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17676 Release services only if they are defined. (Bug#9581)
17678 2011-09-23 Richard Stallman <rms@gnu.org>
17680 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17681 distinguish start of paragraph from start of its text.
17683 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17685 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17686 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17687 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17689 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17691 * international/mule-diag.el (mule-diag): Insert a newline after
17692 each fontset description.
17694 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17696 * simple.el (delete-trailing-whitespace):
17697 Document last change; simplify.
17699 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17701 * simple.el (delete-trailing-whitespace): Also delete
17702 extra newlines at the end of the buffer.
17704 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17705 (picture-newline): Use forward-line so as to ignore fields.
17707 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17709 * subr.el (with-wrapper-hook): Fix edebug spec.
17711 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17713 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17716 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17718 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17719 Fix nasty bug using wrong cached values.
17721 2011-09-23 Alan Mackenzie <acm@muc.de>
17723 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17725 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17727 * window.el (pop-to-buffer): Ensure right window is selected if we
17728 chose another frame.
17730 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17732 * simple.el (what-cursor-position): Use get-char-property-change
17733 and next-single-char-property-change, to be able to show display
17734 properties that come from overlays as well as text properties.
17736 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17738 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17740 * cmuscheme.el (run-scheme, switch-to-scheme):
17741 * cus-edit.el (customize-group, custom-buffer-create)
17742 (customize-browse):
17744 * shell.el (shell):
17745 * mail/sendmail.el (mail):
17746 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17748 2011-09-22 Richard Stallman <rms@gnu.org>
17750 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17751 move back only to line beg, don't move back over blank lines.
17753 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17755 * files.el (copy-directory): Set directory attributes only in case
17756 they could be retrieved from the source directory. (Bug#9565)
17758 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17760 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17761 (hs-find-block-beginning, hs-hide-level-recursive):
17762 Ignore strings as well as comments. (Bug#9502)
17764 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17766 * progmodes/sql.el (sql-comint-postgres):
17767 Convert port number to a string. (Bug#9566)
17769 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17771 * window.el (quit-window): Undedicate window when switching to
17772 previous buffer. Reported by Thierry Volpiatto
17773 <thierry.volpiatto@gmail.com>.
17774 (special-display-popup-frame): When popping up a new frame reset
17775 its previous buffers to nil. Simplify code.
17777 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17779 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17780 and process filter, as done also in `shell-command'.
17782 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17784 * window.el (set-window-buffer-start-and-point):
17785 Call set-window-start with NOFORCE argument t.
17786 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17787 (quit-window): Reword doc-string. Handle new format of
17788 quit-restore parameter. Don't delete window if it has a
17789 previous buffer we can show instead of the present one.
17790 (display-buffer-record-window): Rewrite using a new format for
17791 the quit-restore window parameter
17792 (special-display-popup-frame, display-buffer-same-window)
17793 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17794 (display-buffer-pop-up-window, display-buffer-use-some-window):
17795 Adapt symbol passed to display-buffer-record-window.
17796 * help.el (help-window-setup): Handle new format of quit-restore
17799 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17801 * faces.el (face-list): Fix docstring (bug#9564).
17803 * window.el (display-buffer--action-function-custom-type):
17804 Don't include internal functions in the Custom interface.
17806 2011-09-20 Juri Linkov <juri@jurta.org>
17808 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17809 (Info-forward-node, Info-backward-node, Info-next-preorder)
17810 (Info-last-preorder): Use it. (Bug#9528)
17812 2011-09-20 Juri Linkov <juri@jurta.org>
17814 * info.el (Info-last-preorder): Visit last menu item only when
17815 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17817 2011-09-20 Julien Danjou <julien@danjou.info>
17819 * password-cache.el (password-cache-remove): Remove entries even if the
17820 value is nil, so that password with a nil value (negative caching) is
17821 possible to invalidate.
17823 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17825 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17826 all whitespace around breakpoint. (Bug#9553)
17827 (f90-find-breakpoint): Only break at whitespace inside a comment.
17829 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17831 * minibuffer.el (completion-file-name-table): Keep track of errors.
17832 (completion-table-with-predicate): Handle the case where pred1 is nil.
17833 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17835 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17837 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17838 (debugger-return-value): Signal an error if the debugging context does
17839 not await any return value.
17841 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17842 * image-mode.el (image-toggle-display-text)
17843 (image-toggle-display-image): Stay away from evil `intangible'.
17845 2011-09-19 Leo Liu <sdl.web@gmail.com>
17847 * replace.el (occur-revert-arguments): Make it permanent-local.
17848 (occur-mode): Don't call font-lock-defontify.
17850 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17852 * net/ldap.el (ldap-search-internal): Don't push empty search
17855 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17857 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17859 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17861 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17862 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17864 2011-09-18 Juri Linkov <juri@jurta.org>
17866 * buff-menu.el (Buffer-menu-mode-map):
17867 * dired.el (dired-mode-map):
17868 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17869 (lisp-interaction-mode-map):
17870 * emacs-lisp/package.el (package-menu-mode-map):
17871 * epa.el (epa-key-list-mode-map):
17872 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17873 (menu-bar-options-menu):
17874 * outline.el (outline-mode-menu-bar-map):
17875 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17876 * vc/vc-dir.el (vc-dir-menu-map):
17877 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17878 Capitalize non-function content words in menu item strings.
17880 * dired.el (dired-mode-map): Add menu item for
17881 `image-dired-dired-toggle-marked-thumbs'.
17883 2011-09-18 Juri Linkov <juri@jurta.org>
17885 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17886 to `isearch-case-fold-search' and restore its original value
17887 after the `isearch-mode' call.
17889 2011-09-18 Juri Linkov <juri@jurta.org>
17891 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17892 because `zgrep' returns 1 for successful matches (bug#9226).
17894 2011-09-18 Juri Linkov <juri@jurta.org>
17896 * info.el (Info-extract-menu-node-name): Check the second match
17897 for empty string (second test-case of bug#9528).
17898 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17899 intermediate nodes to the history (first test-case of bug#9528).
17901 2011-09-18 Juri Linkov <juri@jurta.org>
17903 * info.el (Info-mode-syntax-table): New variable.
17904 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17906 2011-09-18 Juri Linkov <juri@jurta.org>
17908 * info.el (Info-file-supports-index-cookies):
17909 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17910 outputs one more line for long file names (bug#4142).
17912 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17914 * newcomment.el (comment-normalize-vars): If prompting for
17915 comment-start, set comment-start-skip too (Bug#8424).
17917 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17919 * icomplete.el: Fix previous fix of Bug#5849.
17920 (icomplete-mode): Don't set completion-show-inline-help.
17921 (icomplete-minibuffer-setup): Set completion-show-inline-help
17922 locally during icompletion.
17924 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17926 * woman.el (woman2-process-escapes): Don't delete unrecognized
17927 escapes (Bug#7843).
17929 * files.el (inhibit-first-line-modes-regexps): Add image files.
17930 (hack-local-variables-prop-line): Return nil for malformed
17931 prop-lines (Bug#9044).
17933 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17935 * net/tramp.el (top): Don't require 'shell.
17936 (tramp-methods): Fix docstring.
17937 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17938 Return complete remote file name. Handle "smb" case.
17939 Use `tramp-tmpdir', if defined for the respective method.
17940 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17942 * net/tramp-compat.el (top): Require 'shell.
17944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17945 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17946 `tramp-current-host'.
17947 (tramp-get-remote-tmpdir): Remove.
17949 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17950 `tramp-tmpdir' entries.
17951 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17952 (tramp-smb-handle-file-attributes): Ignore errors.
17953 (tramp-smb-wait-for-output): Check also for process end.
17955 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17957 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17958 when sending QUIT (bug#9312).
17960 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17962 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17963 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17964 occur-mode-display-occurrence.
17965 (occur-edit-mode): Add usage message.
17966 (occur-cease-edit): New command.
17967 (occur-after-change-function): Use text properties to find the
17968 position of the prefix text.
17969 (occur-engine): Set stickiness of prefix text properties.
17971 2011-09-17 Glenn Morris <rgm@gnu.org>
17973 * progmodes/etags.el (complete-tag):
17974 Fix call to completion-in-region. (Bug#9526)
17976 2011-09-17 Juri Linkov <juri@jurta.org>
17978 * textmodes/ispell.el (ispell-word): Add to the error message
17979 the word, ispell program name and current dictionary (bug#9121).
17980 (ispell-tex-arg-end): Capitalize "error" in the error message.
17982 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17984 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17987 2011-09-17 Juri Linkov <juri@jurta.org>
17989 * window.el (window-safe-min-height, window-safe-min-width):
17990 Fix typos (followup to bug#9522).
17992 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17994 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17996 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17998 * simple.el (line-move): If goal-column is set, move by logical
17999 lines, not by display lines. (Bug#971)
18000 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18001 to reflect the above change.
18003 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18005 * image.el (imagemagick-register-types): Use regexp-opt.
18007 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18009 * window.el (display-buffer-base-action): Rename from
18010 display-buffer-default-action. Make default value empty.
18011 (display-buffer-overriding-action): Convert to defvar.
18012 (display-buffer-fallback-action): New var.
18014 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18016 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18018 (package--add-to-archive-contents): If there is a duplicate entry
18019 with an older version, remove it.
18020 (package-menu-mark-delete, package-menu-mark-install)
18021 (package-menu-mark-unmark): Make unused args optional.
18022 (package-menu-mark-obsolete-for-deletion):
18023 Use package-menu-get-status instead of a regexp search.
18024 (package-menu-get-status): Use tabulated-list-entry.
18025 (package-menu-mark-upgrades): New command.
18026 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18027 (package-menu-execute): Do installation before deletion.
18028 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18029 instead of checking major-mode.
18030 (package-menu--find-upgrades): New function.
18032 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18034 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18035 passwords in the log buffer.
18036 (smtpmail-process-filter): Update the process marker so that the
18037 "broken by peer" status message is inserted in the right place.
18039 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18041 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18042 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18043 bibtex-completion-at-point-function.
18044 (bibtex-completion-at-point-function): Use them.
18046 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18048 * mpc.el (mpc-constraints-tag-lookup): New function.
18049 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18050 also to browser "album|playlist".
18052 2011-09-14 Juri Linkov <juri@jurta.org>
18054 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18055 (isearch-edit-string): Use length of `isearch-string' when
18056 `isearch-fail-pos' returns nil.
18057 (isearch-message): Remove duplicate code and call
18058 `isearch-fail-pos' with arg `t'.
18060 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18062 * replace.el (occur-mode-goto-occurrence): Don't force using other
18065 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18067 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18069 * window.el (display-buffer-window): Remove.
18070 (display-buffer-record-window): Use help-setup window parameter
18071 instead of variable display-buffer-window.
18072 (display-buffer-function, special-display-buffer-names)
18073 (special-display-function): Mention help-setup parameter instead
18074 of display-buffer-window in doc-string.
18075 * help.el (help-window-setup): New argument help-window.
18076 Use help-window-setup parameter instead of display-buffer-window.
18077 Reword some messages.
18078 (with-help-window): Pass window used for displaying the buffer
18079 to help-window-setup. Don't set display-buffer-window.
18081 2011-09-13 Glenn Morris <rgm@gnu.org>
18083 * emacs-lisp/debug.el (debugger-make-xrefs):
18084 Preserve point. (Bug#9462)
18086 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18088 * window.el (window-deletable-p): Use next-frame.
18090 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18092 * window.el (window-auto-delete): Remove.
18093 (window-deletable-p): Remove argument FORCE. Don't deal with
18094 dedication and previous buffers.
18095 (switch-to-prev-buffer): Don't delete window.
18096 (delete-windows-on): Delete a window's frame if and only if the
18097 window is dedicated.
18098 (replace-buffer-in-windows): Delete buffer's window or frame if
18099 and only if window is dedicated.
18100 (quit-window): Handle quit-restore as before last change.
18101 (bury-buffer): Delete window only if window-deletable-p returns t.
18103 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18105 * window.el (window-deletable-p): Never delete the last frame on a
18108 2011-09-13 Glenn Morris <rgm@gnu.org>
18110 * help.el (describe-key-briefly): Copy previous standard-output change.
18112 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18114 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18116 2011-09-13 Glenn Morris <rgm@gnu.org>
18118 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18119 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18121 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18123 * dired-aux.el (dired-mark-read-string): Don't return default
18124 value on empty input (Bug#9361).
18125 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18126 Omit initial minibuffer contents.
18127 (dired-do-chmod): Signal an error on empty input.
18128 (dired-mark-read-string): Don't return default on empty input.
18130 * files.el (file-modes-symbolic-to-number): Doc fix.
18132 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18134 * international/mule-cmds.el (ucs-completions): Remove.
18135 (read-char-by-name): Use complete-with-action instead; add metadata.
18137 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18139 * window.el (display-buffer--action-function-custom-type)
18140 (display-buffer--action-custom-type): New vars.
18141 (display-buffer-alist, display-buffer-default-action)
18142 (display-buffer-overriding-action): Add defcustom types.
18144 * frame.el (delete-other-frames): Doc fix (Bug#276).
18146 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18148 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18150 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18152 Change modes that used same-window-* vars to use switch-to-buffer.
18154 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18155 Use switch-to-buffer.
18157 * cus-edit.el (customize-group, custom-buffer-create)
18158 (customize-browse, custom-buffer-create-other-window):
18159 Use switch-to-buffer or switch-to-buffer-other-window.
18161 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18162 (Info-prev, Info-up, Info-speedbar-goto-node)
18163 (info-display-manual): Use switch-to-buffer.
18164 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18166 * mail/sendmail.el (mail): Use switch-to-buffer.
18167 (mail-recover): Use switch-to-buffer-other-window.
18169 * cmuscheme.el (run-scheme, switch-to-scheme):
18171 * shell.el (shell):
18172 * net/rlogin.el (rlogin):
18173 * net/telnet.el (telnet, rsh):
18174 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18176 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18178 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18180 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18182 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18183 so don't mention it (bug#9301).
18184 (dired-sort-toggle-or-edit): Clarify string further.
18186 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18187 match `x', `w32' and `ns', like the manual says (bug#9029).
18189 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18190 (process-kill-buffer-query-function): Mention the buffer name in
18193 * image-mode.el (image-next-line): The line parameter is mandatory
18196 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18197 which can be useful (bug#9301).
18199 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18201 * subr.el (match-string): Mention that the current buffer should
18202 be the same as the search was done in (bug#9282).
18204 * facemenu.el: Disable the remove-* commands if the mark isn't
18207 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18209 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18211 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18213 * replace.el (occur-mode-goto-occurrence)
18214 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18215 and display-buffer.
18217 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18220 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18221 special-display and same-window variables.
18222 (mail-other-window): Use switch-to-buffer-other-window.
18223 (mail-other-frame): USe switch-to-buffer-other-frame.
18225 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18226 Use display-buffer-other-frame.
18227 (gdb-display-gdb-buffer): Use pop-to-buffer.
18229 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18231 * progmodes/python.el: Don't set same-window-buffer-names.
18233 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18235 * window.el (display-buffer-alist): Add *Python*.
18237 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18239 * window.el (display-buffer-alist): Add entry for buffers
18240 previously handled same-window-*.
18241 (display-buffer-alist, display-buffer-default-action)
18242 (display-buffer-overriding-action): Mark as risky.
18243 (display-buffer-alist): Document action function changes.
18244 (display-buffer--same-window-action)
18245 (display-buffer--other-frame-action): New variables.
18246 (switch-to-buffer, display-buffer-other-frame): Use them.
18247 (display-buffer): Rename reuse-frame entry to reusable-frames.
18248 (display-buffer-reuse-selected-window): Function deleted.
18249 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18250 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18251 (display-buffer-special): New function.
18252 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18253 display-buffer-reuse-or-pop-window. Split off special-display
18254 part into display-buffer-special.
18255 (display-buffer-use-some-window): Don't perform any special
18256 pop-up-frames handling.
18257 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18258 (display-buffer--maybe-same-window): Rename from
18259 display-buffer-maybe-same-window.
18261 * info.el: Don't set same-window-regexps.
18262 (info-setup): New function.
18263 (info-other-window, info): Call it.
18265 * cus-edit.el: Don't set same-window-regexps.
18266 (customize-group): New argument.
18267 (customize-group-other-window): Use it.
18268 (customize-face, customize-face-other-window): Likewise.
18269 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18273 * progmodes/gud.el: Don't set same-window-regexps.
18278 * mail/sendmail.el:
18279 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18281 2011-09-10 Juri Linkov <juri@jurta.org>
18283 * isearch.el (isearch-edit-string): Remove obsolete mention of
18284 `C-w' (`isearch-yank-word-or-char') from docstring.
18285 (isearch-query-replace): Fix typo in docstring (bug#9466).
18287 2011-09-10 Juri Linkov <juri@jurta.org>
18289 * paren.el (show-paren-function): Don't show escaped parens.
18290 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18292 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18294 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18295 (mm-default-file-encoding): Remove autoload forms, they are
18296 replaced with autoload cookies in mml.el and mm-encode.el.
18297 (mail-add-attachment): New command.
18298 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18299 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18301 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18303 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18305 * simple.el (count-words-region): Use buffer if there's no region
18308 2011-09-09 Juri Linkov <juri@jurta.org>
18310 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18311 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18312 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18314 2011-09-09 Alan Mackenzie <acm@muc.de>
18316 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18317 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18319 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18321 Fix for Savannah bug#9392.
18322 * simple.el (mail-encode-mml): New defvar.
18324 * mail/rmail.el (mail-encode-mml): Add a defvar.
18325 (rmail-enable-mime-composing): Default to t.
18326 (rmail-forward): Use MIME method of forwarding only if both
18327 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18328 Set mail-encode-mml non-nil if the MIME method was used.
18330 * mail/sendmail.el (mml-to-mime): Add autoload form.
18331 (mail-encode-mml): Add a defvar.
18332 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18334 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18335 message through mml-to-mime, and reset mail-encode-mml to nil.
18337 2011-09-09 Glenn Morris <rgm@gnu.org>
18339 * woman.el (woman-if-body): When processing an .el block,
18340 do not delete the next .el block as well. (Bug#9447)
18341 (woman-special-characters): Add oq, cq, and hy characters.
18343 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18345 * window.el (window-deletable-p): Make sure window is live before
18346 invoking window-prev-buffers.
18348 2011-09-08 Leo Liu <sdl.web@gmail.com>
18350 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18352 2011-09-08 Juri Linkov <juri@jurta.org>
18354 * progmodes/compile.el (compilation-environment): Make it
18355 a defcustom (bug#8340).
18357 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18359 * window.el (frame-auto-delete): Rename to window-auto-delete.
18360 Make it control auto-deletion of windows and/or frames.
18361 (window-deletable-p): New argument FORCE. Rewrite conditions
18362 for deleting window/frame. (Bug#9419)
18363 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18364 Rewrite handling of case when window/frame can be deleted.
18365 (delete-windows-on): Call window-deletable-p with new FORCE
18366 argument t. (Bug#9456)
18368 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18370 * help-mode.el (help-mode): Restore autoload.
18372 2011-09-07 Juri Linkov <juri@jurta.org>
18374 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18375 `compilation-environment'. Set buffer-local
18376 `compilation-environment' to `thisenv' later after (funcall mode).
18379 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18380 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18381 instead of replacing its value. (Bug#8340)
18383 2011-09-07 Juri Linkov <juri@jurta.org>
18385 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18386 based on text properties put by `grep-filter' instead of matching
18388 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18389 to the value of `grep-error-screen-columns' (bug#9438).
18391 2011-09-07 Juri Linkov <juri@jurta.org>
18393 * simple.el (next-error-highlight, next-error-highlight-no-select):
18394 Doc fix (bug#9432).
18396 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18398 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18399 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18401 2011-09-07 Leo Liu <sdl.web@gmail.com>
18403 * net/rcirc.el (rcirc-mode): Conditionally initialize
18406 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18408 * emacs-lisp/find-func.el (find-function-C-source): Only set
18409 find-function-C-source-directory after checking that we found a source
18410 file there (bug#9440).
18412 2011-09-06 Alan Mackenzie <acm@muc.de>
18414 * isearch.el (isearch-other-meta-char): Wherever a key list is
18415 unread, "unread" the prefix arg, too. This fixes bug #8901.
18417 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18419 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18421 2011-09-05 Juri Linkov <juri@jurta.org>
18423 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18425 2011-09-05 Juri Linkov <juri@jurta.org>
18427 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18428 keeping point where processing of grep matches begins, and
18429 continue to delete remaining escape sequences from the same point.
18430 (grep-filter): Make leading zero optional in "0?1;31m" because
18431 git-grep emits "\033[1;31m" escape sequences unlike expected
18432 "\033[01;31m" as GNU Grep does (bug#9408).
18433 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18435 2011-09-05 Juri Linkov <juri@jurta.org>
18437 * subr.el (y-or-n-p): Capitalize "yes".
18439 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18441 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18442 `tramp-cache-unload-hook' where appropriate.
18443 (tramp-methods): Rename `tramp-remote-sh' to
18444 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18445 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18447 * net/tramp-sh.el (top): Don't require 'shell.
18448 (tramp-methods): Add `tramp-remote-shell' and
18449 `tramp-remote-shell-args' entries.
18450 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18451 (tramp-sh-handle-shell-command): Remove.
18452 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18453 Use `tramp-remote-shell'.
18455 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18457 * mail/sendmail.el (sendmail-query-once-function): Delete.
18458 (sendmail-query-once): Save directly to send-mail-function.
18459 Update message-send-mail-function too.
18461 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18463 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18465 * progmodes/python.el (python-mode-map): Use correct function to
18466 start python interpreter from menu-bar (as reported by Geert
18468 (inferior-python-mode-map): Fix typo.
18469 (python-shell-map): Remove.
18471 2011-09-03 Deniz Dogan <deniz@dogan.se>
18473 * net/rcirc.el (rcirc-print): Simplify code for
18474 rcirc-scroll-show-maximum-output. There is no need to walk
18475 through all windows to find the right one.
18477 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18479 * help.el (help-return-method): Doc fix.
18481 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18483 * window.el (window-deletable-p): Don't return a non-nil value
18484 when there's a buffer that was shown in the window before.
18486 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18487 Set window's previous buffers to nil.
18489 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18491 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18492 newline before and after the tag line, so it doesn't interfere
18493 with determining the paragraph direction of bidirectional text.
18495 2011-09-03 Leo Liu <sdl.web@gmail.com>
18497 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18499 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18501 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18502 (pop-to-buffer): Change interactive spec. Pass second argument
18503 directly to display-buffer.
18504 (display-buffer): Fix interactive spec. Use functionp to
18505 distinguish between a function and a list of functions.
18507 * abbrev.el (edit-abbrevs):
18508 * arc-mode.el (archive-extract):
18509 * autoinsert.el (auto-insert):
18510 * bookmark.el (bookmark-bmenu-list):
18511 * files.el (find-file):
18512 * view.el (view-buffer):
18513 * progmodes/compile.el (compilation-goto-locus):
18514 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18516 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18518 * window.el (display-buffer-alist): Doc fix.
18519 (display-buffer): Add docstring. Don't treat
18520 display-buffer-default specially.
18521 (display-buffer-reuse-selected-window)
18522 (display-buffer-same-window, display-buffer-maybe-same-window)
18523 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18524 (display-buffer-pop-up-window)
18525 (display-buffer-reuse-or-pop-window)
18526 (display-buffer-use-some-window): New functions.
18527 (display-buffer-default-action): Use them.
18528 (display-buffer-default): Delete.
18529 (pop-to-buffer-1): Fix choice of actions.
18531 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18533 * minibuffer.el (completion--insert-strings): Don't get confused by
18534 completion entries that end with an LF char.
18536 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18538 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18540 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18542 * window.el (display-buffer): Restore interactive spec.
18543 (display-buffer-same-window, display-buffer-other-window):
18545 (pop-to-buffer-1): New function. Use the above.
18546 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18547 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18549 * view.el (view-buffer-other-window, view-buffer-other-frame):
18550 Just use pop-to-buffer.
18552 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18554 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18556 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18558 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18560 2011-08-31 Richard Stallman <rms@gnu.org>
18562 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18563 of the separation of rmail-view-buffer from rmail-buffer.
18564 If you say no to "replace original", the decrypt is in the
18565 view buffer. If you say yes, the decrypt goes into the
18568 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18570 * window.el (display-buffer-window): Rewrite doc-string.
18571 (display-buffer-record-window): New function.
18572 (display-buffer-macro-specifiers)
18573 (display-buffer-even-window-sizes, display-buffer-set-height)
18574 (display-buffer-set-width, display-buffer-in-window)
18575 (display-buffer-reuse-window, display-buffer-split-specifiers)
18576 (display-buffer-side-specifiers, display-buffer-split-window-1)
18577 (display-buffer-split-window, display-buffer-split-atom-window)
18578 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18579 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18580 (display-buffer-other-window-means-other-frame)
18581 (display-buffer-normalize-special)
18582 (display-buffer-normalize-default)
18583 (display-buffer-normalize-argument)
18584 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18585 (display-buffer-normalize-specifiers, display-buffer-frame)
18586 (display-buffer-same-window, display-buffer-same-frame)
18587 (display-buffer-other-window)
18588 (display-buffer-same-frame-other-window)
18589 (display-buffer-other-frame, pop-to-buffer-same-window)
18590 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18591 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18592 (switch-to-buffer-same-frame)
18593 (switch-to-buffer-other-window-same-frame)
18594 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18595 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18596 (display-buffer-alist-set): Remove.
18597 (display-buffer-function, special-display-buffer-names)
18598 (special-display-regexps, special-display-function):
18599 In doc-string refer to display-buffer-window and quit-restore
18601 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18602 (special-display-frame-alist, special-display-popup-frame)
18603 (same-window-buffer-names, same-window-regexps, same-window-p)
18604 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18605 (split-window-preferred-function, split-height-threshold)
18606 (split-width-threshold, window-splittable-p)
18607 (split-window-sensibly, window--try-to-split-window)
18608 (window--frame-usable-p, even-window-heights)
18609 (window--even-window-heights, window--display-buffer-1)
18610 (window--display-buffer-2, display-buffer-other-frame):
18611 Restore old Emacs 23 code, order and doc-strings where applicable.
18612 (display-buffer-default, display-buffer-assq-regexp): New functions.
18613 (display-buffer-alist): Rewrite doc-string.
18614 (display-buffer-default-action)
18615 (display-buffer-overriding-action): New variables.
18616 (display-buffer, switch-to-buffer): Rewrite.
18617 (pop-to-buffer): Restore Emacs 23 behavior but use
18618 window-normalize-buffer-to-display.
18619 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18620 Restore Emacs 23 behavior but use
18621 window-normalize-buffer-to-switch-to.
18622 (pop-to-buffer-same-window): Rewrite.
18623 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18624 Rewrite using Emacs 23 options.
18626 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18628 * net/tramp.el (tramp-root-regexp): Remove.
18629 (tramp-completion-file-name-regexp-unified)
18630 (tramp-completion-file-name-regexp-separate)
18631 (tramp-completion-file-name-regexp-url): Don't use leading volume
18632 letter on w32 systems. (Bug#5303, Bug#9311)
18633 (tramp-drop-volume-letter): Simplify definition.
18634 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18636 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18638 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18641 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18643 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18645 2011-08-29 Juri Linkov <juri@jurta.org>
18647 * isearch.el (isearch-done): Don't display message "Mark saved"
18648 when arg `edit' is non-nil to prevent its flicker in the echo area.
18650 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18652 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18653 obsolete packages for deletion.
18655 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18657 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18658 (help-mode): Derive help-mode from special-mode. Don't invoke
18659 view-mode from help-mode.
18660 (help-xref-override-view-map): Remove.
18661 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18662 view-mode is not used anymore.
18664 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18666 * server.el (server-port): Doc fix.
18668 * cus-theme.el (custom-theme-choose-mode): Inherit from
18669 special-mode (Bug#9124).
18670 (custom-theme-choose-mode-map): Add special-mode to parent.
18672 2011-08-28 Alan Mackenzie <acm@muc.de>
18674 * progmodes/cc-fonts.el
18675 (c-make-font-lock-BO-decl-search-function): New function.
18676 (c-basic-matchers-after - "Fontify the clauses after various
18677 keywords"): Extract the three keyword lists for the 3 erroneous
18678 constructs from the list of four, and use the new function above
18679 in place of an old one.
18681 2011-08-28 Deniz Dogan <deniz@dogan.se>
18683 * net/rcirc.el (rcirc-insert-prev-input)
18684 (rcirc-insert-next-input): Remove unused argument.
18686 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18688 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18690 2011-08-27 Alan Mackenzie <acm@muc.de>
18692 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18693 handle function pointer parameters properly.
18695 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18697 * window.el (display-buffer-reuse-window): Fix case where
18698 selected window was reused with non-nil OTHER-WINDOW argument.
18701 2011-08-27 Deniz Dogan <deniz@dogan.se>
18703 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18704 oftc's NickServ messages.
18706 2011-08-27 Glenn Morris <rgm@gnu.org>
18708 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18710 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18712 * emacs-lisp/package.el (package-install): Call package-initialize
18713 if called interactively.
18715 2011-08-26 Leo Liu <sdl.web@gmail.com>
18717 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18719 2011-08-25 Juri Linkov <juri@jurta.org>
18721 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18722 `search-whitespace-regexp' (bug#9364).
18724 2011-08-25 Juri Linkov <juri@jurta.org>
18726 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18727 `regexp-search-ring' to their global values to protect from
18728 updating by `read-from-minibuffer' (bug#9185).
18730 2011-08-25 Juri Linkov <juri@jurta.org>
18732 * textmodes/ispell.el (ispell-command-loop): Add newline
18733 at the end of the "Use option `i'..." line.
18735 2011-08-25 Juri Linkov <juri@jurta.org>
18737 * battery.el (display-battery-mode): If `battery-status-function'
18738 or `battery-mode-line-format' is nil, display the message and set
18739 `display-battery-mode' to nil (bug#9363).
18741 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18743 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18744 bidi-string-mark-left-to-right; they are unnecessary now.
18746 2011-08-25 Deniz Dogan <deniz@dogan.se>
18748 * net/quickurl.el: Documentation typo fixes.
18750 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18752 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18754 2011-08-25 Glenn Morris <rgm@gnu.org>
18756 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18758 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18759 (smtpmail-via-smtp): Handle nil response from smtp.
18761 2011-08-24 Juri Linkov <juri@jurta.org>
18763 * proced.el (proced-marked): Inherit from `error' instead of
18764 `font-lock-warning-face'.
18766 * ibuffer.el (ibuffer-marked-face): Change default face from
18767 `font-lock-warning-face' to `warning'.
18768 (ibuffer-deletion-face): Change default face from
18769 `font-lock-type-face' to `error'.
18771 * battery.el (battery-update): Use the face `error' instead of
18772 `font-lock-warning-face' (bug#6117).
18774 2011-08-24 Juri Linkov <juri@jurta.org>
18776 * faces.el (success): Change face color from "Green3" to
18777 "ForestGreen" on light background (bug#9353).
18779 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18781 * window.el (quit-window): Rename from quit-restore-window.
18782 Use same arglist as old quit-window.
18783 (frame-auto-delete): Doc fix.
18785 * view.el (view-mode-exit): Use quit-window.
18787 2011-08-24 Juri Linkov <juri@jurta.org>
18789 * isearch.el (isearch-ring-adjust1): Start visiting previous
18790 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18791 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18792 for empty search string (when the last search string is reused
18793 automatically) to adjust the isearch ring to the last element and
18794 prepare the correct index for further M-p commands (bug#9185).
18796 2011-08-24 Kenichi Handa <handa@m17n.org>
18798 * international/ucs-normalize.el: If decomposition property of
18799 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18801 (nfd, nfkd): Likewise.
18803 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18805 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18806 from process filters aren't reliably transmitted to the surrounding
18807 accept-process-output.
18808 (mpc-proc-check): New function.
18809 (mpc-proc-sync): Use it (bug#8293)
18811 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18813 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18814 Add compatibility functions (bug#9313).
18816 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18818 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18820 * international/uni-bidi.el: Regenerate.
18822 2011-08-23 Kenichi Handa <handa@m17n.org>
18824 * international/charprop.el:
18825 * international/uni-bidi.el:
18826 * international/uni-category.el:
18827 * international/uni-combining.el:
18828 * international/uni-comment.el:
18829 * international/uni-decimal.el:
18830 * international/uni-decomposition.el:
18831 * international/uni-digit.el:
18832 * international/uni-lowercase.el:
18833 * international/uni-mirrored.el:
18834 * international/uni-name.el:
18835 * international/uni-numeric.el:
18836 * international/uni-old-name.el:
18837 * international/uni-titlecase.el:
18838 * international/uni-uppercase.el: Regenerate.
18840 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18842 * help.el (help-window-setup): Fix message displayed when other
18843 window is reused. (Bug#9341)
18845 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18847 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18848 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18850 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18852 * shell.el (shell-parse-pcomplete-arguments): New function.
18853 (shell-completion-vars): Use it instead (bug#9160).
18855 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18857 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18858 strings and comments (bug#9333).
18860 * emacs-lisp/debug.el (debug-arglist): New function.
18861 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18862 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18864 2011-08-22 Juri Linkov <juri@jurta.org>
18866 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18867 Revert regexp that highlights output switches to its old
18868 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18870 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18871 to check for empty output (bug#9226).
18873 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18875 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18876 symbol-constituent as the default, as that stops font-lock from
18877 working properly (Bug#8843).
18879 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18881 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18882 `coding-system-for-*' around the process open call to avoid
18883 auth-source side effects.
18884 (smtpmail-try-auth-methods): Expand the secret password.
18885 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18888 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18890 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18892 * emacs-lisp/find-func.el (find-function-noselect): New arg
18895 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18896 signal an error for built-in functions (Bug#6664).
18898 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18900 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18901 (smtpmail-try-auth-methods): Use it.
18903 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18905 * font-lock.el (font-lock-fontify-region)
18906 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18907 (font-lock-default-unfontify-buffer)
18908 (font-lock-default-fontify-region)
18909 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18911 * progmodes/compile.el (compilation-error-properties):
18912 Fix confusion between file struct and message struct (Bug#9319).
18913 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18916 * net/browse-url.el (browse-url-firefox): Don't call
18917 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18919 2011-08-20 Glenn Morris <rgm@gnu.org>
18921 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18923 * tutorial.el (tutorial--default-keys): Update some default bindings.
18925 * files.el (hack-local-variables): Fully ignore case for "mode:".
18927 2011-08-20 Alan Mackenzie <acm@muc.de>
18929 Resolve invalid use of a regexp in regexp-opt.
18931 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18932 detection for a java annotation.
18934 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18935 detection for a java annotation.
18937 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18939 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18941 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18943 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18946 2011-08-20 Alan Mackenzie <acm@muc.de>
18948 Fontify CPP expressions correctly when starting in the middle of
18949 such a construct. Mainly for when jit-lock etc. starts a chunk
18952 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18954 (c-make-font-lock-search-form): New function, extracted from
18955 c-make-font-lock-search-function.
18956 (c-make-font-lock-search-function): Use the above function.
18957 (c-make-font-lock-context-search-function): New function.
18958 (c-cpp-matchers): Enhance the preprocessor expression case with
18960 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18961 which takes an expression.
18963 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18965 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18967 * window.el (display-buffer-reuse-window)
18968 (display-buffer-pop-up-window): Don't reuse or split a side
18971 2011-08-19 Glenn Morris <rgm@gnu.org>
18973 * files.el (hack-local-variables-prop-line, hack-local-variables):
18974 Downcase "Mode:". (Bug#9331)
18976 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18978 * international/characters.el: Add L and R categories.
18980 * subr.el (bidi-string-mark-left-to-right): Rename from
18981 string-mark-left-to-right. Use category search.
18983 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18985 2011-08-18 Juri Linkov <juri@jurta.org>
18987 * faces.el (error, warning, success): New faces with definitions
18988 copied from old default values of `font-lock-warning-face',
18989 `compilation-warning', `compilation-info' (bug#6117).
18991 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18993 * progmodes/compile.el (compilation-error): Inherit from `error'.
18994 (compilation-warning): Inherit from `warning'.
18995 (compilation-info): Inherit from `success'.
18997 * dired.el (dired-marked): Inherit from `warning'.
18998 (dired-flagged): Inherit from `error'.
19000 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19002 * mail/smtpmail.el (auth-source): Require to avoid problems with
19003 binding variables (bug#9298). Also clean up some unused
19006 * net/network-stream.el (network-stream-open-starttls):
19007 Support using starttls.el without using gnutls-cli.
19009 2011-08-17 Juri Linkov <juri@jurta.org>
19011 * progmodes/grep.el (rgrep): Handle the case when
19012 `grep-find-command' is a cons cell (bug#9278).
19014 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19016 * window.el (display-buffer-pop-up-frame): Run frame creation
19017 function with BUFFER current (as special-display-popup-frame
19018 does). Reported by Drew Adams.
19020 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19022 * epa-mail.el: Simplify GnuPG group expansion using
19024 (epa-mail-group-alist, epa-mail-group-modtime)
19025 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19026 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19027 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19030 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19032 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19034 2011-08-16 Alan Mackenzie <acm@muc.de>
19036 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19037 Correct, to avoid the inside of macros.
19039 2011-08-16 Richard Stallman <rms@gnu.org>
19041 * epa-mail.el: Handle GnuPG group definitions.
19042 (epa-mail-group-alist, epa-mail-group-modtime)
19043 (epa-mail-gnupg-conf-file): New variables.
19044 (epa-mail-parse-groups, epa-mail-sync-groups)
19045 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19046 (epa-mail-expand-recipients): New functions.
19047 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19049 * mail/rmail.el (rmail-epa-decrypt): New command.
19051 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19052 Don't bind buffer-read-only, just inhibit-read-only.
19053 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19054 (epa-decrypt-armor-in-region): Make error message clearer.
19056 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19058 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19059 and "a2b" to "ab" for `prefix'.
19061 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19063 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19065 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19066 Fourquet (Bug#8804).
19068 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19070 * startup.el (argi): Declare as global variable (bug#9275).
19072 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19074 * subr.el (string-mark-left-to-right): Search the entire string
19075 for RTL script, not just the terminating character. Doc fix.
19077 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19079 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19081 (js--regexp-literal, js-syntax-propertize-function): Remove.
19082 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19083 (js-mode-map): Don't rebind electric keys.
19084 (js-insert-and-indent): Remove.
19085 (js-mode): Setup electric-layout and electric-indent instead.
19087 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19089 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19091 * epa.el (epa-progress-callback-function): Fix the logic of
19092 displaying progress.
19093 * epa-file.el (epa-file-insert-file-contents): Make progress
19094 display more user-friendly.
19095 (epa-file-write-region): Ditto.
19097 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19099 * subr.el (string-mark-left-to-right): New function.
19101 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19102 Use string-mark-left-to-right.
19103 (list-buffers-noselect): Caller changed.
19105 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19106 Use string-mark-left-to-right.
19107 (tabulated-list-print): Recenter after moving point.
19109 2011-08-10 Juri Linkov <juri@jurta.org>
19111 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19112 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19113 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19115 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19117 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19120 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19122 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19123 character. (Bug#6594)
19125 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19127 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19128 (image-dired--with-db-file): New macro.
19129 (image-dired-write-tags, image-dired-remove-tag)
19130 (image-dired-create-gallery-lists, image-dired-write-comments)
19131 (image-dired-get-comment, image-dired-mark-tagged-files)
19132 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19133 (image-dired-gallery-generate): Use insert-file-contents.
19135 * time.el (display-time-world-list, display-time-world-display):
19136 * time-stamp.el (time-stamp-string):
19137 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19138 set-time-zone-rule (Bug#7337).
19140 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19142 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19143 (epg-error-to-string, epg-errors-to-string): New function.
19144 (epg-wait-for-completion): Reverse errors list.
19145 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19146 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19147 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19148 (epg-sign-keys, epg-generate-key-from-file)
19149 (epg-generate-key-from-string): Format errors by using
19150 epg-errors-to-string (bug#9255).
19151 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19153 2011-08-07 Juri Linkov <juri@jurta.org>
19155 * faces.el (list-faces-display): Remove extra angle bracket
19156 from `help-mode-map'.
19158 * info.el (Info-history-toc-nodes): Doc fix.
19160 * longlines.el (longlines-mode): Doc fix.
19162 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19164 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19165 of statements and in a few more cases (bug#9183).
19167 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19169 (cl-transform-lambda): Use them (bug#9239).
19171 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19173 * window.el (display-buffer-same-window)
19174 (display-buffer-same-frame, display-buffer-other-window)
19175 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19176 (pop-to-buffer-other-window)
19177 (pop-to-buffer-same-frame-other-window)
19178 (pop-to-buffer-other-frame): Make them defuns.
19179 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19181 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19183 * subr.el (make-composed-keymap): Move from C. Change calling
19184 convention, and improve docstring to bring attention to a subtle point.
19185 * minibuffer.el (completing-read-default): Adjust accordingly.
19187 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19189 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19190 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19192 * net/trampver.el: Update release number.
19194 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19196 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19199 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19201 * mail/sendmail.el (sendmail-query-once): Restore the current
19202 buffer after querying (bug#9074).
19204 * dired.el (dired-flagged): Use different faces for marked and
19205 flagged files (bug#6117).
19207 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19210 * ido.el (ido-mode): Switch off the message if called
19213 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19214 before 587, since it appears that that's more likely to work for
19217 * cus-edit.el (custom-file): When running under emacs -q, always
19218 refuse to save the customizations, even if the .emacs file doesn't
19221 * info.el: Remove the `Info-beginning-of-buffer' function
19224 * net/network-stream.el (network-stream-open-starttls):
19225 Use `starttls-available-p' to see whether starttls.el can be used.
19227 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19229 * window.el (display-buffer-in-window): Don't set dedicated status
19230 of window here (Bug#9215).
19231 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19232 (display-buffer-pop-up-side-window)
19233 (display-buffer-in-side-window): Set dedicated status of window here.
19235 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19237 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19238 before binding generated-autoload-file.
19240 2011-08-01 Deniz Dogan <deniz@dogan.se>
19242 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19244 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19246 Sync with Tramp 2.2.2.
19248 * net/trampver.el: Update release number.
19250 2011-07-30 Juri Linkov <juri@jurta.org>
19252 * dired-aux.el (dired-touch-initial): Remove function.
19253 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19254 current time, and `default' to the last modification time of the
19255 current marked file (bug#6887).
19257 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19259 * simple.el (goto-line): Use string-to-number to provide a
19260 numeric argument to read-number (bug#9163).
19262 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19264 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19265 connection process, it could be nil.
19267 2011-07-27 Leo Liu <sdl.web@gmail.com>
19269 Simplify url handling in rcirc-mode.
19271 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19272 (rcirc-browse-url-at-mouse): Remove.
19273 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19275 2011-07-26 Alan Mackenzie <acm@muc.de>
19277 Fontify bitfield declarations properly.
19279 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19280 (c-symbol-chars): Now exported as a lang variable.
19281 (c-not-primitive-type-keywords): New lang variable.
19283 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19284 QT keyword "more" to prevent "more slots: ...." being spuriously
19285 parsed as a bitfield declaration.
19287 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19288 Refactor and enhance to handle bitfield declarations.
19289 (c-punctuation-in): New function.
19290 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19291 declarations properly.
19293 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19295 * calendar/icalendar.el (icalendar--all-events): Take care of
19296 multiple vcalendars in a single file.
19297 (icalendar--convert-float-to-ical): Checkdoc fixes.
19299 2011-07-25 Deniz Dogan <deniz@dogan.se>
19301 * image.el (insert-image): Clarifying docstring.
19303 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19305 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19306 `tramp-send-command-and-check' if there is no error.
19307 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19309 2011-07-22 Alan Mackenzie <acm@muc.de>
19311 Prevent cc-langs.elc being loaded at run time.
19313 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19316 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19317 "(require 'cc-langs)". Quote a form so it will evaluate at
19318 (cc-mode's) compilation time.
19320 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19322 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19323 loading. (Bug#9114)
19325 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19327 * window.el (display-buffer-pop-up-window)
19328 (display-buffer-pop-up-side-window)
19329 (display-buffer-in-side-window): Call display-buffer-set-height
19330 and display-buffer-set-width after setting the new window's
19331 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19333 2011-07-20 Sam Steingold <sds@gnu.org>
19335 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19336 (etags-tags-included-tables): Call `convert-standard-filename' on
19337 the file names contained in TAGS so that windows Emacs can handle
19338 TAGS files created by cygwin ctags.
19340 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19342 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19343 which apparently didn't work.
19345 2011-07-19 Roland Winkler <winkler@gnu.org>
19347 * proced.el (proced-send-signal): For *Marked Processes* buffer
19348 put point at beginning of buffer.
19350 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19352 * proced.el (proced-format): Make header lines align with the text
19355 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19357 * view.el (view-buffer): Allow running in `special' modes if we're
19358 visiting a file (bug#8615).
19360 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19362 * window.el (display-buffer-alist-of-strings-p)
19363 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19365 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19368 2011-07-18 Alan Mackenzie <acm@muc.de>
19370 Fontify declarators properly when, e.g., a jit-lock chunk begins
19371 inside a declaration.
19373 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19377 (c-complex-decl-matchers): Insert reference to
19378 c-font-lock-enclosing-decls.
19380 * progmodes/cc-engine.el (c-backward-single-comment):
19381 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19382 to nil around calls to (forward-comment -1).
19384 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19386 * image.el (put-image): Doc typo fix.
19388 * progmodes/etags.el (tags-search): Doc typo fix.
19390 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19391 password if we get errors 550 to 554.
19393 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19395 * net/gnutls.el (gnutls-log-level): Remove.
19397 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19398 indentation character (bug#6380).
19400 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19402 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19403 to clarify what the problem is (bug#4291).
19405 * simple.el (current-kill): Clarify what
19406 `interprogram-paste-function' does (bug#7500).
19407 (auto-fill-mode): Document `auto-fill-function' in relation to
19408 `auto-fill-mode' (bug#2470).
19410 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19412 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19413 method if slot is read-only (bug#9035).
19415 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19417 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19418 * window.el (pop-to-buffer): Select window used even if it was
19419 selected before, see discussion of (Bug#8615), (Bug#6954).
19420 Pass argument NORECORD on to select-frame-set-input-focus.
19422 2011-07-15 Glenn Morris <rgm@gnu.org>
19424 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19427 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19429 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19430 (gnutls-negotiate): Use it.
19432 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19434 * net/gnutls.el (gnutls-negotiate):
19435 Upcase `gnutls-algorithm-priority'.
19437 2011-07-15 Glenn Morris <rgm@gnu.org>
19439 * jka-compr.el (jka-compr-verbose): Move from here...
19440 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19441 Add missing :version tag.
19442 * info.el: No need to require jka-compr when compiling.
19444 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19446 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19447 (gnutls-negotiate): Use it.
19449 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19451 * info.el (Info-beginning-of-buffer): New command.
19452 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19453 announcing `b' as the key (bug#8325).
19454 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19456 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19458 * international/mule-cmds.el
19459 (describe-specified-language-support): Make the error message
19460 clearer (bug#8905).
19462 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19464 * isearch.el (isearch-barrier): Add a doc string, since it's
19465 mentioned in a function doc string (bug#8678).
19467 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19469 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19470 buffer argument (Bug#9083) and self-identifying label argument.
19472 2011-07-15 Glenn Morris <rgm@gnu.org>
19474 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19476 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19478 * man.el (Man-fontify-manpage): Fix message when formatting the
19479 man page (bug#7929).
19481 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19483 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19484 argument LRM; if non-nil, append an invisible LRM character to the
19486 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19487 last argument non-nil, when formatting buffer names.
19488 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19489 paragraph direction.
19491 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19493 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19494 the man page name (bug#7929).
19496 * image.el (put-image): Mention the `put-image' overlay property
19499 * scroll-bar.el (set-scroll-bar-mode): Mention that
19500 `scroll-bar-mode' lists the values (bug#7772).
19502 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19503 command (bug#7729).
19505 * rect.el (apply-on-rectangle): Return the point after the last
19507 (string-rectangle): Go to the point after the last operation
19510 * printing.el (pr-toggle-region): Clarify the documentation
19511 slightly (bug#7493).
19513 * time.el (display-time-update):
19514 Allow `display-time-mail-function' to return nil (bug#7158).
19515 Fix suggested by Detlev Zundel.
19517 * vc/diff.el (diff): Clarify the order the file names are read
19520 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19521 the doc string (bug#7015).
19523 * font-lock.el (font-lock-maximum-decoration): Mention what
19524 numeric levels mean (bug#6935).
19526 * startup.el (initial-buffer-choice): Don't mention the `none'
19527 selection, which is against policy.
19529 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19531 * window.el (display-buffer-normalize-special):
19532 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19534 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19536 * subr.el (version<, version<=, version=): Mention "-CVS" and
19537 "-12345" alpha version numbers.
19539 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19541 * bindings.el: Add advertised binding for set-mark-command
19544 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19546 * bindings.el (mode-line-other-buffer):
19547 * bookmark.el (bookmark-bmenu-2-window):
19548 * bs.el (bs-cycle-next, bs-cycle-previous):
19549 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19552 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19555 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19557 * follow.el (follow-debug-message, follow-redisplay):
19558 * jka-cmpr-hook.el (with-auto-compression-mode):
19559 Fix typos in docstrings.
19561 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19563 * subr.el (with-silent-modifications): Clarify somewhat what the
19564 macro inhibits (bug#6525).
19566 * simple.el (eval-expression): Note what it does if called
19567 interactively (bug#6495).
19569 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19571 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19572 Use pop-to-buffer buffer-or-name if it is nil.
19574 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19575 Remove switch-to-buffer.
19577 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19579 * files.el (make-directory): Clarify that an error will be raised
19580 if there's an error (bug#6397).
19582 * startup.el (initial-buffer-choice): Add `none' as a choice
19585 * subr.el (add-hook): Clarify section about buffer-local hooks
19588 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19590 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19592 * tabify.el (untabify): Preserve the current column so that point
19593 doesn't move (bug#6032).
19595 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19597 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19598 Rewrite to avoid awkward possessive "s" (bug#5986).
19600 2011-07-13 Glenn Morris <rgm@gnu.org>
19602 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19603 (dired-insert-directory): Give a message the first time
19604 if ls is found not to support --dired.
19606 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19608 * simple.el (toggle-truncate-lines): Clarify what is toggled
19609 (bug#5580). Text by Drew Adams.
19611 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19613 * simple.el (blink-matching-open): Make the error message from the
19614 last change less verbose.
19616 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19618 * font-lock.el (font-lock-comment-face): Use the high contrast
19619 "yellow" color for font-lock-comment-face on low color terminals
19620 using a dark background color (bug#4221).
19622 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19624 * dired.el (dired-insert-set-properties): Make the doc string
19625 reflect what it does now (bug#5325).
19627 * simple.el (blink-matching-open): Say that we were unable to find
19628 the match within the limit, if we're limited (bug#5122).
19630 * international/mule-cmds.el (prefer-coding-system): Add an
19631 example (bug#4869).
19633 * progmodes/etags.el (tags-search): Document `file-list-form'
19636 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19638 * net/browse-url.el (browse-url-default-browser)
19639 (browse-url-browser-function): Make the default browser choice a
19640 bit more logical (bug#4300). Also clean up the doc string.
19642 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19644 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19645 binary endings (bug#4440).
19647 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19649 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19650 which can be pretty annoying (bug#8971).
19652 * jka-compr.el (jka-compr-verbose): New variable, and use
19653 throughout (bug#8971).
19655 * info.el (Info-find-file): Fall back on the installation
19656 directory if we can't find the info node anywhere else.
19658 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19660 * vc/vc.el (vc-revert-file):
19661 Don't set file time-stamp in the past. (Bug#5181)
19663 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19665 * files.el (after-find-file): Give a better error message when
19666 trying to find a symlink that points to a file that doesn't exist
19669 * progmodes/cc-vars.el: Remove (probably) misleading comment
19672 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19674 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19676 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19678 * mouse-sel.el: Hack restoring functionality, while keeping
19679 compatibility with 2010-07-03 changes to mouse selection.
19680 (mouse-sel-primary-overlay): New var.
19681 (mouse-sel-selection-alist): Use it.
19682 (mouse-sel-mode): Doc fix; remove points that are default features
19685 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19687 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19688 Fix previous fix (bug#2490).
19690 2011-07-12 Roland Winkler <winkler@gnu.org>
19692 * textmodes/bibtex.el (bibtex-initialize):
19693 Use pop-to-buffer-same-window.
19694 (bibtex-search-entries): Fix interactive call.
19696 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19698 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19699 Fontise bytecomp Error lines more correctly (bug#2490).
19700 Fix suggested by Johan Bockgård.
19702 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19704 * dired-x.el (dired-guess-default): Use `delete-dups'.
19706 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19708 * dired.el (dired-mark-prompt):
19709 * dired-aux.el (dired-read-shell-command): Doc fix.
19711 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19713 * mail/sendmail.el (sendmail-query-once):
19714 Use `customize-save-variable' unconditionally, now that it works under
19717 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19719 * cus-edit.el (custom-file): Take an optional no-error variable.
19720 (customize-save-variable): Set the variable, and give a warning if
19721 running under "emacs -q".
19723 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19725 * loadhist.el (unload-feature-special-hooks):
19726 Add `auto-coding-functions', `fill-nobreak-predicate' and
19727 `find-directory-functions' (bug#5327).
19729 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19731 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19733 * cus-edit.el (custom-guess-name-alist): -alist variables should
19734 use the `alist' type (bug#3120). Suggested by Drew Adams.
19736 * printing.el: Add documentation to all the `pr-toggle-' commands.
19738 2011-07-11 Leo Liu <sdl.web@gmail.com>
19740 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19741 backends where it makes sense (bug#2623).
19743 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19745 * dired-x.el (dired-guess-default): Remove duplicate shell command
19746 entries (bug#2028).
19747 (dired-guess-default): Fix grammar in doc string (bug#2028).
19748 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19750 * subr.el (remove-duplicates): New conveniency function.
19752 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19754 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19757 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19759 * window.el (display-buffer-normalize-default): Don't invert
19760 meaning of even-window-heights. Reported by Eli Zaretskii
19763 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19765 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19767 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19769 * window.el (display-buffer): Fix arguments to
19770 display-buffer-reuse-window in last change.
19772 * faces.el (link): Use a less saturated blue on light backgrounds.
19774 * startup.el (fancy-startup-text, fancy-about-text)
19775 (fancy-startup-tail): Use font-lock faces, for background safety.
19777 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19779 * emulation/viper-cmd.el (viper-change-state-to-vi):
19780 Limit triggering of abbrev expansion (Bug#9038).
19782 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19784 * window.el (display-buffer-default-specifiers): Remove.
19785 (display-buffer-macro-specifiers): Remove default specifiers.
19786 (display-buffer-alist): Default to nil.
19787 (display-buffer-reuse-window): New optional argument other-window.
19788 (display-buffer-pop-up-window): Allow splitting internal
19789 windows. Check whether a live window was created.
19790 (display-buffer-other-window-means-other-frame)
19791 (display-buffer-normalize-arguments): Rename to
19792 display-buffer-normalize-argument and rewrite. Set the
19793 other-window specifier.
19794 (display-buffer-normalize-special): New function.
19795 (display-buffer-normalize-options): Rename to
19796 display-buffer-normalize-default and rewrite.
19797 (display-buffer-normalize-options-inhibit): Remove.
19798 (display-buffer-normalize-specifiers): Rewrite.
19799 (display-buffer): Process other-window specifier and call
19800 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19802 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19803 (display-buffer-alist-set): Don't handle 'unset default values.
19804 (display-buffer-in-window, display-buffer-alist-set):
19805 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19806 <tassilo@member.fsf.org>.
19808 2011-07-09 Leo Liu <sdl.web@gmail.com>
19810 * register.el (insert-register): Restore accidental change on
19811 2011-06-26. (Bug#9028)
19813 2011-07-09 Glenn Morris <rgm@gnu.org>
19815 * subr.el (remq): Handle the empty list. (Bug#9024)
19817 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19819 * mail/sendmail.el (send-mail-function): No longer delay custom
19821 * custom.el (custom-initialize-delay): Doc fix.
19823 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19825 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19827 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19829 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19830 human-friendly prompt.
19832 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19834 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19835 provided by a particular plugin.
19837 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19839 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19840 save customizations (with "emacs -Q"), just set the variable
19841 instead of erroring out.
19843 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19845 2011-07-08 Juri Linkov <juri@jurta.org>
19847 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19848 (archive-zip-update-case): Use 7z if found by `executable-find'.
19849 The order of searching the available programs is the same as in
19850 `archive-zip-extract' (bug#8968).
19852 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19854 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19855 (menu-bar-options-menu): Tweak descriptions.
19857 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19859 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19860 menu items into verb phrases (bug#1421). Also refill to fit under
19863 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19865 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19866 (Info-read-node-name): Doc fix (Bug#1084).
19868 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19869 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19870 (end-of-sexp, beginning-of-sexp)
19871 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19872 (forward-symbol, forward-same-syntax, word-at-point)
19873 (sentence-at-point): Doc fix (Bug#1144).
19875 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19877 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19878 should cover it (bug#1281).
19880 * cus-edit.el (custom-show): Mark as obsolete.
19882 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19883 negotiation fails, then possibly try again with a non-encrypted
19884 connection (bug#9017).
19886 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19889 2011-07-07 Richard Stallman <rms@gnu.org>
19891 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19892 property, and handle its changed format.
19893 Look for the correct line number.
19894 Use file's line contents (but not past first =) to find
19895 correct line in message.
19897 2011-07-07 Kenichi Handa <handa@m17n.org>
19899 * international/characters.el (build-unicode-category-table):
19901 (unicode-category-table): Set it by unicode-property-table-internal.
19903 * international/mule-cmds.el (char-code-property-alist): Move to
19905 (get-char-code-property): Call unicode-property-table-internal to
19906 load a file. Call get-unicode-property-internal where necessary.
19907 (put-char-code-property): Call unicode-property-table-internal to
19908 load a file. Call put-unicode-property-internal where necessary.
19909 put-unicode-property-internal where necessary.
19910 (char-code-property-description):
19911 Call unicode-property-table-internal to load a file.
19913 * international/charprop.el:
19914 * international/uni-bidi.el:
19915 * international/uni-category.el:
19916 * international/uni-combining.el:
19917 * international/uni-comment.el:
19918 * international/uni-decimal.el:
19919 * international/uni-decomposition.el:
19920 * international/uni-digit.el:
19921 * international/uni-lowercase.el:
19922 * international/uni-mirrored.el:
19923 * international/uni-name.el:
19924 * international/uni-numeric.el:
19925 * international/uni-old-name.el:
19926 * international/uni-titlecase.el:
19927 * international/uni-uppercase.el: Regenerate.
19929 * loadup.el: Load international/charprop.el before
19930 international/characters.
19932 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19934 * window.el (next-buffer, previous-buffer): Signal an error if
19935 called from a minibuffer window.
19937 * bindings.el: Revert 2011-07-04 change.
19939 2011-07-06 Richard Stallman <rms@gnu.org>
19941 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19942 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19943 Treat markers like ints.
19944 (rmail-mime-entity): Doc fix.
19946 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19949 defcustom again for backwards compatibility.
19951 * simple.el (shell-command-on-region): Fill.
19953 * dired-aux.el (dired-kill-line): Add a doc string.
19955 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19956 to "\\sw\\|\\s_" (bug#358).
19958 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19959 (dired-unmark-backward): Ditto.
19960 (dired-flag-backup-files): Ditto.
19962 * dired-x.el (dired-mark-sexp): Ditto.
19964 2011-07-06 Richard Stallman <rms@gnu.org>
19966 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19967 (rmail-mime-entity): New arg TRUNCATED.
19968 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19970 (rmail-mime-save): Warn if entity is truncated.
19971 (rmail-mime-toggle-hidden): Likewise, for showing.
19972 (rmail-mime-process-multipart): Record when an entity is truncated.
19974 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19975 if ENTITY is a string.
19977 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19979 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19980 of faces when `M-C-x'-ing their definitions (bug#8378).
19981 Also clean up the code slightly.
19983 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19984 because that makes the colors go away.
19986 * mail/sendmail.el (send-mail-function): Change the default to
19987 `sendmail-query-once'.
19988 (sendmail-query-once): Add an autoload cookie.
19990 * net/network-stream.el (network-stream-open-starttls): Try using
19991 a plain connection even if the server offered STARTTLS, and we
19992 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19993 capability. This should make smtpmail.el work in slightly more
19996 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19998 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20000 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20002 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20004 * progmodes/sql.el: Version 3.0
20005 (sql-product-alist): Add product :completion-object,
20006 :completion-column, and :statement attributes.
20007 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20008 (sql-mode-syntax-table): Mark all punctuation.
20009 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20011 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20012 (sql-mode-oracle-font-lock-keywords): Improve.
20013 (sql-oracle-show-reserved-words): New function for development.
20014 (sql-product-font-lock): Simplify for source code buffers.
20015 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20017 (sql-highlight-product): Set product specific syntax table.
20018 (sql-mode-map): Add statement movement functions.
20019 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20021 (sql-statement-regexp, sql-beginning-of-statement)
20022 (sql-end-of-statement, sql-signum): New functions.
20023 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20024 (sql-show-sqli-buffer): Bug fix.
20025 (sql-interactive-mode): Store connection data as buffer local.
20026 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20027 with sql-interactive-mode.
20028 (sql-save-connection): Save buffer local settings.
20029 (sql-connection-menu-filter): Change menu entry name.
20030 (sql-product-interactive): Bug fix.
20031 (sql-preoutput-hold): New variable.
20032 (sql-interactive-remove-continuation-prompt): Bug fixes.
20033 (sql-debug-redirect): New variable.
20034 (sql-str-literal): New function.
20035 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20037 (sql-oracle-save-settings, sql-oracle-restore-settings)
20038 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20039 (sql-completion-object, sql-completion-column)
20040 (sql-completion-sqlbuf): New variables.
20041 (sql-build-completions-1, sql-build-completions)
20042 (sql-try-completion): New functions.
20043 (sql-read-table-name): Use them.
20044 (sql-contains-names): New buffer local variable.
20045 (sql-list-all, sql-list-table): Use it.
20046 (sql-oracle-completion-types): New variable.
20047 (sql-oracle-completion-object, sql-sqlite-completion-object)
20048 (sql-postgres-completion-object): New functions.
20050 2011-07-06 Glenn Morris <rgm@gnu.org>
20052 * window.el (pop-to-buffer): Doc fix.
20054 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20056 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20058 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20060 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20062 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20064 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20066 * button.el (button): Inherit from link face. Suggested by Dan
20069 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20071 * progmodes/gdb-mi.el: Fit in 80 columns.
20072 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20075 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20076 if imenu is simply not configured (bug#8941).
20078 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20080 * allout.el (allout-post-undo-hook): New allout outline-change
20081 event hook to signal undo activity.
20082 (allout-post-command-business): Run allout-post-undo-hook if an
20083 undo just occurred.
20084 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20085 * allout-widgets.el (allout-widgets-after-undo-function):
20086 Ensure the integrity of the current item's decoration after it has been
20087 in the vicinity of an undo.
20088 (allout-widgets-mode): Include allout-widgets-after-undo-function
20089 on the new allout-post-undo-hook.
20091 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20093 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20094 Let define-derived-mode define it.
20095 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20096 cycles of abbrev-table inheritance (bug#8998).
20098 2011-07-05 Roland Winkler <winkler@gnu.org>
20100 * textmodes/bibtex.el: Add support for biblatex.
20101 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20102 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20103 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20104 (bibtex-entry-alist, bibtex-field-alist): New variables.
20105 (bibtex-entry-field-alist): Obsolete alias for
20106 bibtex-BibTeX-entry-alist.
20107 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20108 (bibtex-set-dialect): New command.
20109 (bibtex-entry-type, bibtex-entry-head)
20110 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20111 Bind via bibtex-set-dialect.
20112 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20113 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20114 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20115 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20116 Define via bibtex-set-dialect.
20117 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20118 Obey bibtex-no-opt-remove-re.
20119 (bibtex-vec-push, bibtex-vec-incr): New functions.
20120 (bibtex-format-entry, bibtex-field-list)
20121 (bibtex-print-help-message, bibtex-validate)
20122 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20124 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20126 * progmodes/compile.el (compilation-goto-locus):
20127 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20128 * bs.el (bs-cycle-next, bs-cycle-previous):
20129 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20130 * bindings.el (mode-line-other-buffer):
20131 * autoinsert.el (auto-insert):
20132 * arc-mode.el (archive-extract):
20133 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20135 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20137 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20138 Fix check of `emacs-lock-unlockable-modes'.
20139 Coerce true values of `emacs-lock--try-unlocking' to t.
20141 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20143 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20144 * emacs-lock.el: New file.
20146 2011-07-05 Julien Danjou <julien@danjou.info>
20148 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20149 than `boundp' to check if face is set.
20151 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20153 * register.el (registerv-make):
20154 * window.el (window-min-height): Fix typos in docstrings.
20156 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20158 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20161 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20163 * server.el (server-execute): Catch quit and call
20164 `server-return-error' to pass the error back to emacsclient and
20165 close the connection (bug#8942).
20167 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20169 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20170 insecure exception for current topic. Also note that auto-saves
20171 are handled differently.
20173 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20174 State variables for tracking auto-save inhibition situation.
20176 (allout-write-contents-hook-handler): Rename from
20177 'allout-write-file-hook-handler', and describe how it depends on
20178 write-contents-functions sensitivity to non-nil value to prevent
20181 (allout-auto-save-hook-handler): Remove. auto-save does not check
20182 this in individual buffers, only in the starting buffer, so this
20183 is not the right way for us to inhibit auto-save in a buffer
20184 according to its condition.
20186 (allout-mode): Use new allout-write-contents-hook-handler, and
20187 only with write-contents-functions. Remove auto-save provisions -
20188 they're implemented elsewhere.
20190 (allout-before-change-handler): If undo is in progress, note that
20191 for attention of allout-post-command-business.
20193 (allout-post-command-business): If the command we're following was
20194 an undo, check for change in the status of encrypted items and
20195 adjust auto-save inhibitions accordingly.
20197 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20198 according to whether there are or aren't any plain-text topics
20199 pending encryption.
20201 (allout-inhibit-auto-save-info-for-decryption):
20202 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20203 if there are plain-text topics pending encryption.
20205 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20206 buffer-saved-size and some allout state to not inhibit auto-saves
20207 if there are no longer any plain-text topics pending encryption.
20209 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20210 No longer provide for exemption of the current topic.
20212 2011-07-04 Juri Linkov <juri@jurta.org>
20214 Add 7z operations to delete and save changed members (bug#8968).
20215 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20217 (archive-7z-write-file-member): New function.
20218 (archive-7z-summarize): Fix the number of dashes in the
20221 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20223 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20226 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20228 * bindings.el: Ignore next-buffer and previous-buffer in
20229 minibuffer-local-map.
20231 * font-lock.el (font-lock-builtin-face): Change light background
20232 color to dark slate blue (Bug#6693).
20234 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20236 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20238 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20242 Add switch-to-buffer.
20244 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246 * isearch.el (isearch-search-fun-function): Clarify further the
20247 meaning of the function returned.
20249 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20251 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20253 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20254 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20256 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20257 `tramp-default-remote-path' does not exist.
20258 (tramp-send-command-and-read): New optional argument NOERROR.
20259 (tramp-open-connection-setup-interactive-shell)
20260 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20261 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20262 (tramp-process-sentinel): Flush also process' connection property.
20263 (tramp-sh-handle-start-file-process): Do not set process
20264 sentinel. It is done now ...
20265 (tramp-maybe-open-connection): ... here. (Bug#8929)
20267 2011-07-04 MON KEY <monkey@sandpframing.com>
20269 * play/animate.el (animate-string): Doc fixes and allow changing
20270 the buffer name (bug#5417).
20272 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20274 * play/animate.el (animation-buffer-name): Rename from *animate*.
20276 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20278 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20279 This is simpler and helps future-proof the code.
20280 (timer-until): Use time-subtract and float-time.
20281 (timer--time-less-p): Use time-less-p.
20283 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20285 * type-break.el (timep): Use the value of `float-time' to avoid a
20286 byte-compiler warning.
20288 * server.el (server-eval-and-print): Return any result, even nil.
20290 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20292 * type-break.el: Accept time formats that the builtins accept.
20293 (timep, type-break-time-difference): Accept any format that
20294 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20295 This is simpler and helps future-proof the code.
20296 (type-break-time-difference): Round rather than ignoring
20297 subseconds components.
20299 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301 * info.el (Info-apropos-matches): Make non-interactive, since it
20302 doesn't seem to do anything useful as a command (bug#8829).
20304 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20306 * frame.el (frame-background-mode, frame-set-background-mode):
20307 Move from faces.el.
20308 (frame-default-terminal-background): New function.
20310 * custom.el (custom-push-theme): Don't record faces in `changed'
20311 theme; this doesn't work correctly for per-frame face settings.
20312 (disable-theme): Use face-set-after-frame-default to reset faces.
20313 (custom--frame-color-default): New function.
20315 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20317 * dired.el (dired-flagging-regexp): Remove unused variable
20320 2011-03-29 Kevin Ryde <user42@zip.com.au>
20322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20323 `perl-Test2' extend to match possible "fail #N" rep count
20326 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20328 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20329 `smtpmail-via-smtp' now returns the error instead of nil.
20331 * isearch.el (isearch-search-fun-function): Clarify the doc string
20334 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20336 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20337 unnecessary spaces (bug#8987).
20339 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20341 * net/network-stream.el (open-network-stream): Use the
20342 :end-of-capability command thoughout.
20344 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20346 * net/network-stream.el (open-network-stream): Add the
20347 :end-of-capability command parameter, used by pop3.el.
20349 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20351 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20353 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20354 for list)" (bug#6475).
20356 * files.el (file-expand-wildcards): Ignore non-readable
20357 sub-directories while trying to find matches instead of signaling
20358 an error (bug#6297).
20360 * man.el (Man-reference-regexp): Allow matching possible
20361 word-wrapped references (bug#6289).
20363 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20364 for consistency with the other vc buffers (bug#6197).
20365 (vc-checkin): Ditto.
20367 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20369 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20371 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20373 * custom.el (defcustom): Clarify that :set is only used in the
20374 Customize user interface (bug#6089).
20376 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20377 associated with a file, refuse to run instead of erroring out
20380 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20381 the doc string, since it appears that using `fill-column' always
20382 controls the width (bug#7845).
20384 * simple.el (shell-command-on-region): Say where the error output
20385 went if `shell-command-default-error-buffer' is set (bug#6857).
20387 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20389 * allout.el (allout-yank-processing): Adjust cursor position for
20390 backwards-deleted space.
20392 (allout-rebullet-heading): Register changes with
20393 allout-exposure-changed-hook, so the modified topic is properly
20396 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20398 * minibuffer.el (completion-in-region): Document PREDICATE
20401 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20402 of keyword/argument pairs (bug#6904).
20404 * replace.el (multi-occur):
20405 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20407 2011-07-02 Drew Adams <drew.adams@oracle.com>
20409 * dired.el (dired-mark-if): Make the message about whether it's
20410 marking or unmarking clearer (bug#8523).
20412 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20414 * disp-table.el (display-table-print-array): New function.
20415 (describe-display-table): Use it to print the vectors more pretty
20418 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20420 * window.el (window-state-get-1): Don't assign clone numbers.
20421 Add clone-of item to list of window parameters.
20422 (window-state-put-2): Don't process clone numbers.
20423 (display-buffer-alist): Fix doc-string.
20425 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20427 * subr.el (remq): Don't allocate if it's not needed.
20428 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20429 (keymap--merge-bindings): New functions.
20430 (keymap-canonicalize): Use them to refine the canonicalization.
20431 * minibuffer.el (minibuffer-local-completion-map)
20432 (minibuffer-local-must-match-map): Move initialization from C.
20433 (minibuffer-local-filename-completion-map): Move initialization from C;
20434 don't inherit from anything here.
20435 (minibuffer-local-filename-must-match-map): Make obsolete.
20436 (completing-read-default): Use make-composed-keymap to combine
20437 minibuffer-local-filename-completion-map with either
20438 minibuffer-local-must-match-map or
20439 minibuffer-local-filename-completion-map.
20441 2011-07-01 Glenn Morris <rgm@gnu.org>
20443 * type-break.el (type-break-time-sum): Use dolist.
20445 * textmodes/flyspell.el (flyspell-word-search-backward):
20446 Replace CL function.
20448 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20450 * mouse.el (mouse--strip-first-event): New function.
20451 (function-key-map): Use it to map fringe clicks to normal clicks
20454 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20455 (vc-bzr-revision-completion-table): Add support for annotate and date.
20457 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20458 inherit from parent.
20460 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20462 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20463 (dired-show-file-type): Doc fixup (bug#8818).
20465 * dired.el (dired-mode): Fix up the doc string as suggested by
20466 Drew Adams (bug#8817).
20468 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20469 cookie, since the manual says that it should be possible to add
20470 this function to `find-file-hook' (bug#8709).
20472 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20474 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20475 here. Noted Ted Zlatanov as the maintainer.
20476 (cfengine-common-settings, cfengine-common-syntax): New functions
20477 to set up common things between `cfengine-mode' and
20479 (cfengine3-mode): New mode.
20480 (cfengine3-defuns cfengine3-defuns-regex
20481 (cfengine3-class-selector-regex cfengine3-category-regex)
20482 (cfengine3-vartypes cfengine3-font-lock-keywords)
20483 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20484 (cfengine3-indent-line): Add from cfengine3.el.
20486 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20488 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20490 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20492 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20494 * window.el (same-window-buffer-names, same-window-regexps)
20495 (same-window-p, special-display-frame-alist)
20496 (special-display-popup-frame, special-display-function)
20497 (special-display-buffer-names, special-display-regexps)
20498 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20499 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20500 (split-window-preferred-function, split-height-threshold)
20501 (split-width-threshold, even-window-heights)
20502 (display-buffer-mark-dedicated, window-splittable-p)
20503 (split-window-sensibly, window-safely-shrinkable-p):
20505 (display-buffer): Don't spread args with function specifier
20506 because special-display-popup-frame won't like it.
20508 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20510 Time-stamp simplifications and fixes.
20511 These improve accuracy slightly, and future-proof the code
20512 against some potential changes to current-time format.
20514 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20515 by using time-since and float-time.
20517 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20518 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20519 + NNN microseconds".
20521 * type-break.el (type-break-time-sum): Rewrite using time-add.
20523 * play/hanoi.el (hanoi-current-time-float): Remove.
20524 All uses replaced by float-time.
20526 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20527 This yields a more-accurate answer.
20528 (rng-time-to-float): Remove; no longer needed.
20530 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20532 * calendar/timeclock.el (timeclock-seconds-to-time):
20533 Defalias to seconds-to-time, since they're the same thing.
20535 * emacs-lisp/elp.el (elp-elapsed-time):
20536 * emacs-lisp/benchmark.el (benchmark-elapse):
20537 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20539 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20541 * window.el (bury-buffer): Don't iconify the only frame.
20542 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20543 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20545 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20547 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20548 Add mouse-yank-primary.
20550 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20552 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20554 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20556 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20557 (find-library-name): Use it to find relative load names when provided
20558 absolute file name (bug#8803).
20560 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20562 * textmodes/flyspell.el (flyspell-word): Consider words that
20563 differ only in case as potential doublons (bug#5687).
20565 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20566 Remove two rather uninteresting debugging-like messages to make
20567 debbugs.el more silent.
20569 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20570 a password-like phrase.
20572 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20574 * progmodes/cc-guess.el: New file.
20576 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20578 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20579 derived from `c-basic-common-init'.
20581 * progmodes/cc-mode.el (top-level): Require cc-guess.
20582 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20584 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20586 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20588 2011-06-30 Alan Mackenzie <acm@muc.de>
20590 * progmodes/cc-engine.el (c-guess-continued-construct):
20591 Correct the handling of template-args-cont, particularly for when font
20592 lock is disabled. Name this case as "CASE G".
20594 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20596 * allout.el (allout-yank-processing): Fix injection of extra space
20597 between bullet and non-whitespace character in first topic when
20598 pasting, ensuring that the actual spacing in the pasted topic
20599 following the bullet char is preserved. This extra space was
20600 causing pasted encrypted topics to get a decrypted status even
20601 when the content was actually still encrypted. Now the decryption
20602 status from before the paste is preserved.
20604 (allout-flag-region): Set all allout overlays so they evaporate
20605 when reduced to zero length (evanescent), to prevent overlay
20608 2011-06-30 Glenn Morris <rgm@gnu.org>
20610 * w32-fns.el (w32-charset-info-alist): Declare.
20612 * find-dired.el (find-grep-options): Simplify.
20614 * term/ns-win.el (ns-set-resource): Declare.
20616 * ses.el (row, col): Declare dynamic variables honestly.
20618 * textmodes/reftex-parse.el (index-tags): Declare.
20620 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20622 * cus-edit.el (customize-push-and-save): New function.
20624 * files.el (hack-local-variables-confirm): Use it.
20626 * custom.el (load-theme): New arg NO-CONFIRM.
20627 Use customize-push-and-save (Bug#8720).
20628 (custom-enabled-themes): Doc fix.
20630 * cus-theme.el (customize-create-theme)
20631 (custom-theme-merge-theme): Callers to load-theme changed.
20633 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20635 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20636 short URLs have at least one dot in them (bug #7614).
20638 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20639 nil, because using a pty is apparently too slow (bug #895).
20641 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20643 * mail/sendmail.el (sendmail-query-once): New function.
20644 (sendmail-query-once-function): New variable.
20646 2011-06-29 Glenn Morris <rgm@gnu.org>
20648 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20650 * ses.el (top-level): Require cl when compiling.
20651 (ses-set-localvars): Fix error statement.
20652 Call it at compile time to silence a storm of warnings.
20654 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20656 * window.el (normalize-live-buffer): Rename to
20657 window-normalize-buffer.
20658 (normalize-live-frame): Rename to window-normalize-frame.
20659 (normalize-any-window): Rename to window-normalize-any-window.
20660 (normalize-live-window): Rename to window-normalize-live-window.
20661 (make-window-atom): Rename to window-make-atom.
20662 (window-resize-reset): Rename to window--resize-reset.
20663 (window-resize-reset-1): Rename to window--resize-reset-1.
20664 (resize-mini-window): Rename to window--resize-mini-window.
20665 (resize-subwindows-skip-p): Rename to
20666 window--resize-subwindows-skip-p.
20667 (resize-subwindows-normal): Rename to
20668 window--resize-subwindows-normal.
20669 (resize-subwindows): Rename to window--resize-subwindows.
20670 (resize-other-windows): Rename to window--resize-siblings.
20671 (resize-this-window): Rename to window--resize-this-window.
20672 (resize-root-window): Rename to window--resize-root-window.
20673 (resize-root-window-vertically): Rename to
20674 window--resize-root-window-vertically.
20675 (normalize-buffer-to-display): Rename to
20676 window-normalize-buffer-to-display.
20677 (normalize-buffer-to-switch-to): Rename to
20678 window-normalize-buffer-to-switch-to.
20679 Correspondingly update all callers of the functions listed
20681 (display-buffer-alist, display-buffer-normalize-arguments)
20682 (display-buffer-normalize-options, display-buffer)
20683 (display-buffer-alist-set): Use "function" instead of
20686 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20688 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20689 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20690 debbugs.gnu.org. Mention acknowledgment email.
20692 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20694 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20695 buffer multibyteness, since it shouldn't matter.
20697 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20699 * window.el (display-buffer-in-side-window): Handle dedicated
20700 windows as in display-buffer-reuse-window.
20701 (display-buffer-normalize-alist): Use value of override
20703 (display-buffer-normalize-specifiers): Use value of
20704 other-window-means-other-frame specifier.
20705 (display-buffer-alist): Rewrite some texts in widgets.
20706 (display-buffer): Spread arguments when calling function
20707 specified by fun-with-args.
20709 2011-06-28 Deniz Dogan <deniz@dogan.se>
20711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20714 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20715 selectors (Bug#5732).
20716 (css-proprietary-nmstart-re): Use `regexp-opt'.
20718 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20720 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20721 (eshell-ls-date-format): New defcustom.
20722 (eshell-ls-file): Use it.
20724 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20726 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20728 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20730 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20731 (ange-ftp-make-tmp-name): New arg.
20732 (ange-ftp-file-local-copy): Use it.
20734 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20736 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20737 no-conversion (Bug#8870).
20739 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20741 * window.el (window-right, window-left, window-child)
20742 (window-child-count, window-last-child)
20743 (window-iso-combination-p, walk-window-tree-1)
20744 (window-atom-check-1, window-tree-1, delete-window)
20745 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20746 new naming conventions - window-vchild, window-hchild,
20747 window-next and window-prev are now called window-top-child,
20748 window-left-child, window-next-sibling and window-prev-sibling
20750 (resize-window-reset): Rename to window-resize-reset.
20751 (resize-window-reset-1): Rename to window-resize-reset-1.
20752 (resize-window): Rename to window-resize.
20753 (window-min-height, window-min-width)
20754 (resize-mini-window, resize-this-window, resize-root-window)
20755 (resize-root-window-vertically, adjust-window-trailing-edge)
20756 (enlarge-window, shrink-window, maximize-window)
20757 (minimize-window, delete-window, quit-restore-window)
20758 (split-window, balance-windows, balance-windows-area-adjust)
20759 (balance-windows-area, window-state-put-2)
20760 (display-buffer-even-window-sizes, display-buffer-set-height)
20761 (display-buffer-set-width, set-window-text-height)
20762 (fit-window-to-buffer): Rename all "resize-window" prefixed
20763 calls to use the "window-resize" prefix convention.
20764 (display-buffer-alist): Fix symbol for label specifier.
20765 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20766 corresponding specifier.
20767 Reported by Juanma Barranquero <lekktu@gmail.com>.
20769 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20771 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20773 (ses-call-printer): Does not pass an empty string to formatter when the
20774 cell is empty to keep from barking printer Calc math-format-value.
20776 2011-06-27 Richard Stallman <rms@gnu.org>
20778 * battery.el (battery-mode-line-limit): New variable.
20779 (battery-update): Handle it.
20781 * mail/rmailmm.el (rmail-mime-process-multipart):
20782 Handle truncated messages.
20784 2011-06-27 Glenn Morris <rgm@gnu.org>
20786 * progmodes/flymake.el (flymake-err-line-patterns):
20787 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20789 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20791 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20792 (ses--clean-!, ses--clean-_): New functions.
20793 (ses-range): Add configurability of readout order, and conversion
20796 * ses.el (ses-repair-cell-reference-all): New function.
20797 (ses-cell-symbol): Set macro as safe, so that it can be used in
20800 * ses.el: Update cycle detection algorithm.
20801 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20802 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20803 (ses-set-localvars): New function.
20804 (ses-make-cell): Add property-list as a cell element.
20805 (ses-cell-property-get-fun, ses-cell-property-get)
20806 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20807 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20809 (ses-cell-property-set, ses-cell-property-pop)
20810 (ses-cell-property-get-handle): New macro.
20811 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20812 New aliases, used for code readability.
20813 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20815 (ses-self-reference-early-detection): New defcustom.
20816 (ses-formula-references): Robustify against self-referring cells.
20817 (ses-mode): Use ses-set-localvars.
20818 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20819 before lauching the update processing.
20820 (ses-initialize-Dijkstra-attempt): New function.
20821 (ses-recalculate-cell): Update for cycle detection based on
20822 Dijkstra algorithm.
20824 * ses.el: Fix commenting and indenting convention.
20826 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20828 * bs.el (bs-cycle-next): Complete last change.
20830 2011-06-27 Drew Adams <drew.adams@oracle.com>
20832 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20834 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20836 * net/network-stream.el (network-stream-open-starttls):
20837 Don't re-get capabilities unless we've reestablished connection.
20838 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20840 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20841 to binary to possibly avoid line encoding issues on Windows (among
20844 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20846 * net/network-stream.el (open-network-stream): Return an :error
20847 saying what the problem was, if possible.
20849 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20852 * net/network-stream.el (network-stream-open-starttls): If we
20853 wanted to use STARTTLS, and the server offered it, but we weren't
20854 able to because we had no STARTTLS support, then close the connection.
20855 (open-network-stream): Return an :error element, if present.
20857 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20859 * hl-line.el (hl-line-sticky-flag): Doc fix.
20860 (global-hl-line-sticky-flag): New option (Bug#8323).
20861 (global-hl-line-highlight): Obey it.
20863 * vc/vc.el (vc-revert-show-diff): Default to t.
20865 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20867 * allout-widgets.el (allout-widgets-post-command-business):
20868 Stop decorating intermediate isearch matches. They're not being
20869 undecorated when an isearch is continued past, and isearch
20870 automatically collapses them. This leads to "widget leaks", where
20871 decorated items accumulate in collapsed areas. Lines with lots of
20872 hidden widgets can slow down cursor travel, substantially.
20873 Too much complicated machinery would be needed to ensure undecoration,
20874 so we're doing without this nicety.
20876 (allout-widgets-tally-string): Don't try to do a hash-table-count
20877 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20878 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20879 *Messages* when allout-widgets-maintain-tally is t.
20881 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20883 * window.el (display-buffer-normalize-argument): Rename to
20884 display-buffer-normalize-arguments. Handle special meaning of
20885 LABEL argument. Respect special-display-function when popping up
20886 a new frame. Fix code searching for a window showing the buffer
20888 (display-buffer-normalize-specifiers):
20889 Call display-buffer-normalize-arguments.
20890 (display-buffer-in-window): Don't undedicate the window if its
20891 buffer remains the same.
20892 Reported by Drew Adams <drew.adams@oracle.com>.
20893 (display-buffer-alist): Add choice for same-window macro
20895 (display-buffer): Mention special meaning of LABEL argument in
20896 doc-string. Fix quoting. Don't pop up a new frame even as
20899 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20901 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20902 avoid deleting the current window in some cases (bug#8911).
20904 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20906 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20909 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20911 * net/network-stream.el (network-stream-open-starttls):
20912 Use built-in TLS support if `gnutls-available-p' is true.
20913 (network-stream-open-tls): Ditto.
20915 2011-06-26 Leo Liu <sdl.web@gmail.com>
20917 * register.el (registerv): New struct.
20918 (registerv-make): New function.
20919 (jump-to-register, describe-register-1, insert-register):
20920 Support the jump-func, print-func and insert-func slot of a registerv
20923 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20925 * vc/vc.el (vc-revert-show-diff): New defcustom.
20926 (vc-diff-internal): New arg specifying diff buffer.
20927 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20928 reuse an existing *vc-diff* buffer (Bug#8927).
20930 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20932 2011-06-26 Glenn Morris <rgm@gnu.org>
20934 * progmodes/f90.el (f90-critical-indent): New option.
20935 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20936 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20937 (f90-mode): Doc fix.
20938 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20939 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20940 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20941 (f90-match-end): Handle block, critical.
20943 2011-06-25 Glenn Morris <rgm@gnu.org>
20945 * calendar/diary-lib.el (diary-included-files): Doc fix.
20946 (diary-include-files): New function, extracted from
20947 diary-include-other-diary-files and diary-mark-included-diary-files.
20948 (diary-include-other-diary-files, diary-mark-included-diary-files):
20949 Just call diary-include-files.
20950 (diary-mark-entries): Reset diary-included-files on first call.
20952 * calendar/diary-lib.el (diary-mark-entries)
20953 (diary-mark-included-diary-files):
20954 Visit included diary-files in temp buffers.
20956 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20957 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20958 (f90-start-block-re, f90-imenu-generic-expression)
20959 (f90-looking-at-program-block-start, f90-no-block-limit):
20960 Add support for submodules.
20962 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20963 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20965 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20967 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20968 buffer-file-type before setting its value, to avoid disastrous
20969 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20971 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20973 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20975 * ses.el (ses-unload-function):
20976 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20978 * proced.el (proced-unload-function):
20979 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20981 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20983 * server.el (server-create-window-system-frame): Add parameters arg.
20984 (server-process-filter): Doc fix. Handle frame-parameters.
20986 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20988 Fix bug#8730, bug#8781.
20990 * loadhist.el (unload--set-major-mode): New function.
20991 (unload-feature): Use it.
20993 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20994 (python-unload-function): New function.
20996 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20998 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21000 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21002 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21003 the candidates list.
21005 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21007 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21009 2011-06-23 Richard Stallman <rms@gnu.org>
21011 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21012 (rmail-variables): Set next-error-move-function.
21013 (rmail-what-message): Take argument POS.
21014 (rmail-next-error-move): New function.
21016 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21018 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21019 messages for adjacent non-terminals.
21021 2011-06-23 Richard Stallman <rms@gnu.org>
21023 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21024 (rmail-show-message-1): Preserve buffer modified flag.
21025 (rmail-start-mail): Don't specify use of rmail-mail-return;
21026 that's done by mail-bury now.
21027 (rmail-mail-return): Handle arg NEWBUF.
21029 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21031 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21034 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21036 * window.el (get-lru-window, get-mru-window)
21037 (get-largest-window): Never return a minibuffer window.
21038 (display-buffer-pop-up-window): Fix a bug that could lead to
21039 reusing the minibuffer window.
21040 (display-buffer): Pass original specifier argument to
21041 display-buffer-function instead of the normalized one.
21042 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21044 2011-06-22 Leo Liu <sdl.web@gmail.com>
21046 * minibuffer.el (completing-read-function)
21047 (completing-read-default): Move from minibuf.c.
21049 2011-06-22 Richard Stallman <rms@gnu.org>
21051 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21052 to Rmail even if not started by a special Rmail command.
21054 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21055 Copy the buffer currently showing just one message.
21057 2011-06-22 Roland Winkler <winkler@gnu.org>
21059 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21060 (bibtex-clean-entry): First delete the old key so that a
21061 customized algorithm for generating the new key does not get
21062 confused by the old key.
21063 (bibtex-url): Obey regexp of first step.
21064 (bibtex-search-entries): Do not use add-to-list with local
21067 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21069 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21070 stored a user name, then query for the password first, instead of
21071 waiting for SMTP to give an error message and the trying again.
21073 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21075 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21076 BUFFER in call-process.
21078 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21080 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21082 (smtpmail-try-auth-methods): Require user name and password from
21085 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21087 * window.el (display-buffer-default-specifiers)
21088 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21089 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21090 (split-window): Normalize SIDE argument (Bug#8916).
21092 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21093 (special-display-frame-alist, special-display-popup-frame):
21094 Remove duplicate declarations. These are now in window.el.
21096 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21098 * mail/smtpmail.el (smtpmail-via-smtp):
21099 Set :use-starttls-if-possible so that we always use STARTTLS if the
21100 server supports it. SMTP servers that support STARTTLS commonly
21103 * net/network-stream.el (network-stream-open-starttls): Support
21104 upgrading to STARTTLS always, even if we don't have built-in support.
21105 (open-network-stream): Add the :always-query-capabilities keyword.
21107 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21108 upgrades with `open-network-stream', and rely solely on
21109 auth-source for all credentials. Big changes throughout the file,
21111 (smtpmail-auth-credentials): Remove.
21112 (smtpmail-starttls-credentials): Remove.
21113 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21116 * net/network-stream.el (network-stream-open-starttls):
21117 Provide support for client certificates both for external and built-in
21119 (auth-source): Require.
21120 (open-network-stream): Document the :client-certificate keyword.
21121 (network-stream-certificate): Change cert-cert to cert and
21124 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21126 * net/tramp-cache.el (top): Don't load the persistency file when
21127 "emacs -Q" has been called.
21129 2011-06-21 Tim Harper <timcharper@gmail.com>
21131 * term/ns-win.el (ns-initialize-window-system):
21132 Set application-specific `ApplePressAndHoldEnabled' system
21133 resource to NO as it is not yet supported by the NS port.
21135 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21137 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21138 (list-dynamic-libraries): ...not here.
21140 2011-06-21 Leo Liu <sdl.web@gmail.com>
21142 * subr.el (sha1): Implement sha1 using secure-hash.
21144 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21146 * window.el (display-buffer-alist): In default value do not
21147 enforce searching a window on any but the selected frame.
21148 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21149 (display-buffer-select-window): Remove function.
21150 (display-buffer-in-window): When a window on another frame gets
21151 reused, do not select it any more but just raise its frame if
21152 necessary (Bug#8851) and (Bug#8856).
21153 (display-buffer-normalize-options): Handle pop-up-frames related
21154 options more faithfully.
21155 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21156 window if it is on another frame.
21157 (display-buffer-alist, display-buffer-default-specifiers):
21158 Don't make new frame unsplittable by default.
21159 (display-buffer-normalize-argument): Fix doc-string typo and use
21160 'same-frame-other-window instead of 'other-window when associating
21161 with display-buffer-macro-specifiers.
21163 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21165 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21167 (5x5-mode-map, 5x5-mode-menu): Bind them.
21168 (5x5-draw-grid): Tweak the solver's rendering.
21170 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21172 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21173 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21175 2011-06-21 Drew Adams <drew.adams@oracle.com>
21177 * menu-bar.el: Use function variable instead of switch-to-buffer.
21178 (menu-bar-select-buffer-function): New variable.
21179 (menu-bar-update-buffers): Use it (bug#8876).
21181 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21183 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21186 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21188 * x-dnd.el (x-dnd-version-from-flags)
21189 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21190 and long as number (Bug#8899).
21191 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21193 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21195 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21196 (completion-try-completion, completion-all-completions): Compute the
21197 metadata argument if it's missing; make it optional (bug#8795).
21199 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21200 (widget-complete): Use new :completion-function property.
21201 (widget-completions-at-point): New function.
21202 (default): Use :completion-function instead of :complete.
21203 (widget-default-completions): Rename from widget-default-complete;
21205 (widget-string-complete, widget-file-complete, widget-color-complete):
21207 (file, symbol, function, variable, coding-system, color):
21208 * international/mule-cmds.el (default-input-method, charset)
21209 (language-info-custom-alist):
21210 * cus-edit.el (face): Use new property :completions.
21212 * progmodes/pascal.el (pascal-completions-at-point): New function.
21213 (pascal-mode): Use it.
21214 (pascal-mode-map): Use completion-at-point.
21215 (pascal-toggle-completions): Make obsolete.
21216 (pascal-complete-word, pascal-show-completions):
21217 * progmodes/octave-mod.el (octave-complete-symbol):
21218 Redefine as obsolete alias.
21219 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21220 Signal absence of completion info for old Octave,
21221 (inferior-octave-complete): Redefine as obsolete alias.
21222 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21223 (meta-completions-at-point): Rename from meta-complete-symbol and
21224 adapt it for use on completion-at-point-functions.
21225 (meta-common-mode): Use it.
21226 (meta-looking-at-backward, meta-match-buffer): Remove.
21227 (meta-complete-symbol): Redefine as obsolete alias.
21228 (meta-common-mode-map): Use completion-at-point.
21229 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21230 (makefile-mode-map): Use completion-at-point.
21231 (makefile-completions-at-point): Rename from makefile-complete and
21232 adapt it for use on completion-at-point-functions.
21233 (makefile-mode): Use it.
21234 (makefile-complete): Redefine as obsolete alias.
21236 2011-06-20 Deniz Dogan <deniz@dogan.se>
21238 * net/rcirc.el: Delete trailing whitespaces once and for all.
21240 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21242 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21244 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21246 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21248 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21250 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21252 * window.el (display-buffer-other-window-means-other-frame):
21253 Call display-buffer-normalize-alist.
21254 (display-buffer-normalize-specifiers-1): Rename to
21255 display-buffer-normalize-argument. New argument other-frame.
21257 (display-buffer-normalize-specifiers-2): Rename to
21258 display-buffer-normalize-options.
21259 (display-buffer-normalize-alist-1): New function.
21260 (display-buffer-normalize-specifiers-3): Rename to
21261 display-buffer-normalize-alist.
21262 Call display-buffer-normalize-alist-1.
21263 (display-buffer-normalize-options-inhibit): New variable.
21264 (display-buffer-normalize-specifiers): Rewrite calling
21265 display-buffer-normalize-alist,
21266 display-buffer-normalize-argument, and
21267 display-buffer-normalize-options. Don't call the latter if
21268 display-buffer-normalize-options-inhibit is non-nil.
21269 (frame-auto-delete): New option.
21270 (window-deletable-p): Use frame-auto-delete.
21271 (window-list-no-nils, window-state-ignored-parameters)
21272 (window-state-get-1, window-state-get, window-state-put-list)
21273 (window-state-put-1, window-state-put-2, window-state-put):
21275 (display-buffer-normalize-options): Move special-display-p group
21276 after pop-up-frame group (Bug#8851) and (Bug#8856).
21278 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21280 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21282 (rx-submatch-n): New function.
21285 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21288 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21290 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21292 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21293 anytime existing face settings are present (Bug#8889).
21295 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21296 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21297 Remove unused argument.
21299 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21301 * window.el (display-buffer-default-specifiers):
21302 Remove pop-up-frame. Add pop-up-window-min-height,
21303 pop-up-window-min-width, and another reuse-window specifier
21304 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21305 (display-buffer-normalize-specifiers-2):
21306 Handle split-height-threshold and split-width-threshold also when
21307 pop-up-windows is unset. Add a reuse-window specifier for the
21308 case popping up a new window fails.
21309 (special-display-popup-frame): Remove double quoting.
21310 (display-buffer-normalize-specifiers-1): Fix thinko.
21312 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21314 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21315 according to comint-completion-addsuffix.
21317 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21318 (pcomplete-suffix-list): Mark as obsolete.
21319 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21320 pcomplete-seen in the closure.
21321 (pcomplete-comint-setup): Setup completion-at-point as well.
21322 (pcomplete--entries): New function.
21323 (pcomplete--env-regexp): New var.
21324 (pcomplete-entries): Rewrite to work with partial-completion and
21325 without relying on pcomplete-suffix-list.
21326 (pcomplete-pare-list): Remove, unused.
21328 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21330 * window.el (display-buffer-alist): Set pop-up-window-min-height
21331 and pop-up-window-min-width in default value. Reported by
21332 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21333 other-window-means-other-frame.
21334 (display-buffer-macro-specifiers): Comment out entry for
21335 other-window specifier.
21336 (display-buffer-other-window-means-other-frame): New function.
21337 (display-buffer-normalize-specifiers-1): New arguments
21338 buffer-name and label. Treat other-window case specially.
21339 (display-buffer-normalize-specifiers-2): Treat other-window case
21341 (display-buffer-normalize-specifiers-3): New function.
21342 (display-buffer-normalize-specifiers):
21343 Call display-buffer-normalize-specifiers-3.
21345 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21347 * window.el (same-window-p): Fix two typos introduced when
21348 adding with-no-warnings.
21349 (display-buffer-normalize-specifiers-1): Don't check
21350 pop-up-frames for 'unset initialization.
21351 (display-buffer-normalize-specifiers-2): Major rewrite using
21352 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21353 (pop-up-frames, display-buffer-reuse-frames)
21354 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21355 Suggested by David Engster <deng@randomsample.de>.
21356 (even-window-heights): Initialize to 'unset.
21357 (display-buffer-alist-set): Handle new 'unset initializations.
21358 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21361 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21363 * window.el (display-buffer-normalize-specifiers-1):
21364 Respect current value of pop-up-frames for most reasonable values of
21365 second argument of display-buffer (Bug#8865).
21366 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21367 (switch-to-buffer-other-window-same-frame)
21368 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21370 (display-buffer): Don't check noninteractive when calling
21371 display-buffer-pop-up-frame.
21372 (display-buffer-pop-up-frame): Never pop up a frame in
21373 noninteractive mode (Bug#8857).
21374 (enlarge-window, shrink-window): Don't report an error when the
21375 window can't be resized as requested (Bug#8862).
21377 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21379 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21381 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21383 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21385 2011-06-15 Alan Mackenzie <acm@muc.de>
21387 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21388 for declarators, disable knr checking to speed up for normal files.
21389 2: Refactor, replacing a sequence of nested if forms by a cond form.
21391 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21393 * net/network-stream.el (open-network-stream): Add the keyword
21394 :always-query-capabilities for the case where you want to force a
21395 `plain' network connection, but the protocol still requires the
21396 capabilitiy command (i.e., SMTP and EHLO).
21398 * subr.el (process-live-p): Rename from `process-alive-p' for
21399 consistency with other `-live-p' functions.
21401 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21403 * window.el (same-window-buffer-names, same-window-regexps)
21404 (special-display-frame-alist, special-display-popup-frame)
21405 (special-display-function, special-display-buffer-names)
21406 (special-display-regexps, pop-up-frame-alist)
21407 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21408 (pop-up-windows, split-window-preferred-function)
21409 (split-height-threshold, split-width-threshold, even-window-heights)
21410 (display-buffer-mark-dedicated): Don't encourage the use of
21411 display-buffer-alist from Elisp code.
21413 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21415 * progmodes/python.el (python-mode): Derive from prog-mode.
21416 * progmodes/ps-mode.el (ps-mode):
21417 * progmodes/mixal-mode.el (mixal-mode):
21418 * progmodes/cfengine.el (cfengine-mode):
21419 * progmodes/ld-script.el (ld-script-mode): Likewise.
21421 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21423 * window.el (display-buffer-alist): Trim default value to avoid
21424 popping up a new frame (Bug#8857) or reusing an arbitrary window
21426 (display-buffer): Do not fall back on popping up a new frame in
21427 batch mode (Bug#8857).
21429 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21431 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21432 (custom-theme-summary): New function.
21433 (customize-themes): Use it.
21435 2011-06-13 Glenn Morris <rgm@gnu.org>
21437 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21439 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21441 * help.el (help-window): Remove variable.
21442 (help-window-point-marker, temp-buffer-max-height)
21443 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21444 (help-print-return-message): Don't set help-window.
21445 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21446 (help-window-setup-finish): Remove.
21447 (help-window-display-message, help-window-setup)
21448 (with-help-window): Major rewrite based on new
21449 display-buffer-window variable.
21451 * help-mode.el (help-mode-finish): Remove help-window related
21454 * view.el (view-exits-all-viewing-windows): Remove reference to
21455 view-return-to-alist in doc-string.
21456 (view-return-to-alist): Make obsolete.
21457 (view-buffer): Call pop-to-buffer-same-window and remove
21459 (view-buffer-other-window): Call pop-to-buffer-other-window and
21460 simplify code. Ignore second argument.
21461 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21462 simplify code. Ignore second argument.
21463 (view-return-to-alist-update): Make obsolete.
21464 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21465 Rewrite using quit-restore window parameters.
21466 (view-mode-exit): Rename second argument to EXIT-ONLY.
21467 Rewrite using quit-restore-window.
21468 (View-exit, View-exit-and-edit, View-leave, View-quit)
21469 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21470 appropriate arguments.
21471 (view-end-message): Use quit-restore window parameter.
21473 * window.el (display-buffer-function): Rewrite doc-string.
21474 (display-buffer-window, display-buffer-alist): New variables.
21475 (display-buffer-split-specifiers)
21476 (display-buffer-side-specifiers)
21477 (display-buffer-macro-specifiers): New constants.
21478 (display-buffer-even-window-sizes, display-buffer-set-height)
21479 (display-buffer-set-width, display-buffer-select-window)
21480 (display-buffer-in-window, display-buffer-reuse-window)
21481 (display-buffer-split-window-1, display-buffer-split-window)
21482 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21483 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21484 (display-buffer-in-side-window, normalize-buffer-to-display)
21485 (display-buffer-normalize-specifiers-1)
21486 (display-buffer-normalize-specifiers-2)
21487 (display-buffer-normalize-specifiers, display-buffer-frame):
21489 (display-buffer): Major rewrite.
21490 (display-buffer-other-window, display-buffer-other-frame)
21491 (pop-to-buffer, switch-to-buffer-other-window)
21492 (switch-to-buffer-other-frame): Rewrite.
21493 (display-buffer-same-window, display-buffer-same-frame)
21494 (display-buffer-same-frame-other-window)
21495 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21496 (pop-to-buffer-other-window)
21497 (pop-to-buffer-same-frame-other-window)
21498 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21499 (switch-to-buffer-other-window-same-frame): New functions.
21500 (same-window-p, special-display-p): Rewrite disabling warnings.
21502 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21503 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21505 (same-window-buffer-names, same-window-regexps)
21506 (special-display-frame-alist, special-display-popup-frame)
21507 (special-display-function, special-display-buffer-names)
21508 (special-display-regexps, pop-up-frame-alist)
21509 (pop-up-frame-function, split-window-preferred-function)
21510 (split-height-threshold, split-width-threshold)
21511 (even-window-heights): Make obsolete.
21513 2011-06-12 Glenn Morris <rgm@gnu.org>
21515 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21516 Misc simplifications.
21518 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21520 * window.el (window-safely-shrinkable-p): Restore function which
21521 was inadvertently removed in change from 2011-06-11. Declare as
21524 * calendar/calendar.el (calendar-generate-window):
21525 Use window-iso-combined-p instead of combination of one-window-p and
21526 window-safely-shrinkable-p.
21528 2011-06-12 Glenn Morris <rgm@gnu.org>
21530 * progmodes/fortran.el (fortran-mode-syntax-table):
21531 * progmodes/f90.el (f90-mode-syntax-table):
21532 Set % to punctuation. (Bug#8820)
21533 (f90-find-tag-default): Remove, no longer needed.
21535 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21537 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21539 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21541 * image.el (image-animated-p): Return animation delay in seconds.
21542 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21543 (image-animate-timeout): Remove DELAY argument. Don't assume
21544 every subimage has the same delay; get it from image-animated-p.
21545 (image-animate): Caller changed.
21547 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21549 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21550 to ignored backtrace functions.
21552 2011-06-11 Glenn Morris <rgm@gnu.org>
21554 * calendar/appt.el (appt-disp-window-function): Doc fix.
21555 (appt-check): Handle overlapping appointments. (Bug#8337)
21557 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21559 * window.el (window-tree-1, window-tree): New functions, moving
21560 the latter to window.el.
21561 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21562 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21563 (bw-refresh-edges): Remove.
21564 (balance-windows-1, balance-windows-2): New functions.
21565 (balance-windows): Rewrite in terms of window tree functions,
21566 balance-windows-1 and balance-windows-2.
21567 (bw-adjust-window): Remove.
21568 (balance-windows-area-adjust): New function with functionality of
21569 bw-adjust-window but using resize-window.
21570 (set-window-text-height): Rewrite doc-string.
21571 Use normalize-live-window and resize-window.
21572 (enlarge-window-horizontally, shrink-window-horizontally):
21573 Rename argument to DELTA.
21574 (window-buffer-height): New function.
21575 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21576 Rewrite using new window resize routines.
21577 (kill-buffer-and-window, mouse-autoselect-window-select):
21578 Use ignore-errors instead of condition-case.
21579 (quit-window): Call delete-frame instead of delete-windows-on
21580 for the only buffer on frame.
21582 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21584 * loadup.el (top-level): Load window before files for the sake
21585 of replace-buffer-in-windows.
21587 * files.el (read-buffer-to-switch)
21588 (switch-to-buffer-other-window)
21589 (switch-to-buffer-other-frame, display-buffer-other-frame):
21592 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21593 (previous-buffer): Move to window.el.
21595 * bindings.el (unbury-buffer): Move to window.el.
21597 * window.el (delete-other-windows-vertically): Move after
21598 definition of delete-other-windows.
21599 (other-window, delete-windows-on, replace-buffer-in-windows):
21600 Move here from window.c.
21601 (record-window-buffer, unrecord-window-buffer)
21602 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21603 (switch-to-next-buffer): New functions.
21604 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21605 from simple.el. Call switch-to-next-buffer.
21606 (previous-buffer): Move here from simple.el.
21607 Call switch-to-prev-buffer.
21608 (bury-buffer): Move here from buffer.c. Switch to previous
21609 buffer when window cannot be deleted.
21610 (unbury-buffer): Move here from bindings.el.
21611 (ctl-x-map): Move binding for other-window from window.c to
21613 (read-buffer-to-switch, switch-to-buffer-other-window)
21614 (switch-to-buffer-other-frame): Move here from files.el.
21615 (normalize-buffer-to-switch-to): New functions.
21616 (switch-to-buffer): Move here from buffer.c.
21617 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21619 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21621 * window.el (window-min-height, window-min-width): Move here
21622 from window.c. Add defcustoms and rewrite doc-strings.
21623 (resize-mini-window, resize-window): New functions.
21624 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21625 Move here from window.c.
21626 (maximize-window, minimize-window): New functions.
21627 (delete-window, delete-other-windows, split-window): Move here
21629 (window-split-min-size): New function.
21630 (split-window-keep-point): Mention split-window-above-each-other
21631 instead of split-window-vertically.
21632 (split-window-above-each-other, split-window-vertically):
21633 Rename split-window-vertically to split-window-above-each-other
21634 and provide defalias for old definition.
21635 (split-window-side-by-side, split-window-horizontally):
21636 Rename split-window-horizontally to split-window-side-by-side
21637 and provide defalias for the old definition.
21638 (ctl-x-map): Move bindings for delete-window,
21639 delete-other-windows and enlarge-window here from window.c.
21640 Replace bindings for split-window-vertically and
21641 split-window-horizontally by bindings for
21642 split-window-above-each-other and split-window-side-by-side.
21644 * cus-start.el (all): Remove entries for window-min-height and
21645 window-min-width. Add entries for window-splits and
21648 2011-06-09 Glenn Morris <rgm@gnu.org>
21650 * calendar/appt.el (appt-mode-line): New function.
21651 (appt-check, appt-disp-window): Use it.
21653 * files.el (hack-one-local-variable-eval-safep):
21654 Allow minor-modes with explicit +/-1 arguments.
21656 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21658 * term/xterm.el (xterm): Add defgroup.
21659 (xterm-extra-capabilities): Add defcustom to supply known xterm
21660 capabilities, skip querying them, or query them (default).
21661 (terminal-init-xterm): Use it.
21662 (terminal-init-xterm-modify-other-keys): New function to set up
21663 modifyOtherKeys support to simplify `terminal-init-xterm'.
21665 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21667 * window.el (resize-window-reset, resize-window-reset-1)
21668 (resize-subwindows-skip-p, resize-subwindows-normal)
21669 (resize-subwindows, resize-other-windows, resize-this-window)
21670 (resize-root-window, resize-root-window-vertically)
21671 (window-deletable-p, window-or-subwindow-p)
21672 (frame-root-window-p): New functions.
21674 2011-06-09 Glenn Morris <rgm@gnu.org>
21676 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21677 (ange-ftp-get-files): Use it.
21679 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21681 * mail/sendmail.el (mail-recover-1, mail-recover):
21682 * files.el (recover-file, recover-session):
21683 Handle dired-listing-switches not being just a single short option.
21685 2011-06-09 Glenn Morris <rgm@gnu.org>
21687 * calendar/appt.el (appt-display-message, appt-disp-window):
21688 Handle lists of appointments.
21690 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21692 * window.el (one-window-p): Move down in code.
21693 Rewrite doc-string.
21694 (window-current-scroll-bars): Rewrite doc-string.
21695 Normalize live window argument.
21696 (walk-windows, get-window-with-predicate, count-windows):
21697 Rewrite doc-string. Use window-list-1.
21698 (window-in-direction-2, window-in-direction, get-mru-window):
21701 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21703 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21704 Doc fix (Bug#8713).
21706 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21708 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21710 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21712 * loadhist.el (unload-feature-special-hooks):
21713 Add `comint-output-filter-functions'.
21715 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21717 * calendar/appt.el (appt-check): Move some initializations into the let.
21719 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21721 * window.el (window-height): Defalias to window-total-height.
21722 (window-width): Defalias to window-body-width.
21724 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21726 * image-mode.el (image-toggle-animation): New command.
21727 (image-mode-map): Bind it to RET.
21728 (image-mode): Update message.
21729 (image-toggle-display-image): Avoid a spurious cache flush.
21730 (image-transform-rotation): Doc fix.
21731 (image-transform-properties): Return quickly in the normal case.
21732 (image-animate-loop): Rename from image-animate-max-time.
21734 * image.el (image-animate-max-time): Move to image-mode.el.
21735 (create-animated-image): Remove unnecessary function.
21736 (image-animate): Rename from image-animate-start. New arg.
21737 (image-animate-stop): Remove; just use image-animate-timer.
21738 (image-animate-timer): Use car-safe.
21739 (image-animate-timeout): Rename argument.
21741 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21743 * window.el (get-lru-window, get-largest-window): Move here from
21744 window.c. Rename first argument to ALL-FRAMES.
21745 Rephrase doc-strings.
21746 (get-buffer-window-list): Rewrite using window-list-1.
21747 Rephrase doc-string.
21748 (window-safe-min-height, window-safe-min-width): New constants.
21749 (window-size-ignore, window-min-size, window-min-size-1)
21750 (window-sizable, window-sizable-p, window-size-fixed-1)
21751 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21752 (window-max-delta-1, window-max-delta, window-resizable)
21753 (window-resizable-p, window-total-height, window-total-width)
21754 (window-body-width): New functions.
21755 (window-full-height-p, window-full-width-p): Rewrite using
21757 (window-body-height): Rewrite using window-body-size.
21759 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21761 * window.el (window-right, window-left, window-child)
21762 (window-child-count, window-last-child, window-any-p)
21763 (normalize-live-buffer, normalize-live-frame)
21764 (normalize-any-window, normalize-live-window)
21765 (window-iso-combination-p, window-iso-combined-p)
21766 (window-iso-combinations)
21767 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21768 (windows-with-parameter, window-with-parameter)
21769 (window-atom-root, make-window-atom, window-atom-check-1)
21770 (window-atom-check, window-side-check, window-check):
21772 (ignore-window-parameters, window-sides, window-sides-vertical)
21773 (window-sides-slots): New variables.
21774 (window-size-fixed): Move down in code. Minor doc-string fix.
21776 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21778 * comint.el (comint-dynamic-complete-as-filename)
21779 (comint-dynamic-complete-filename): Correctly call
21780 completion-in-region.
21782 2011-06-05 Deniz Dogan <deniz@dogan.se>
21784 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21787 2011-06-05 Deniz Dogan <deniz@dogan.se>
21789 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21790 (rcirc): Use it to prompt for encryption.
21792 2011-06-05 Roland Winkler <winkler@gnu.org>
21794 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21795 (bibtex-search-entries): New command bound to C-c C-a.
21796 (bibtex-display-entries): New function.
21798 2011-06-05 Roland Winkler <winkler@gnu.org>
21800 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21801 (bibtex-insert-kill): After yanking insert newline if necessary.
21802 (bibtex-initialize): Call bibtex-string-files-init only once.
21803 (bibtex-mode): Do not call easy-menu-add.
21804 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21805 (bibtex-yank): Set arg properly if nil.
21807 2011-06-05 Roland Winkler <winkler@gnu.org>
21809 * textmodes/bibtex.el (bibtex-search-entry-globally):
21811 (bibtex-search-entry): Use it.
21813 2011-06-05 Roland Winkler <winkler@gnu.org>
21815 * textmodes/bibtex.el (bibtex-entry-format): New option
21817 (bibtex-format-entry, bibtex-reformat): Honor this option.
21818 (bibtex-parse-entry): Return fields in proper order.
21820 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21822 * doc-view.el (doc-view-remove-if): Move computation of result out
21823 of `dolist' to silence misleading lexical-binding warning.
21825 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21827 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21828 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21830 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21832 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21835 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21837 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21838 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21839 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21840 (tramp-parse-putty):
21841 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21842 (tramp-completion-function-alist-ssh)
21843 (tramp-completion-function-alist-telnet)
21844 (tramp-completion-function-alist-su)
21845 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21848 * net/tramp-ftp.el:
21850 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21851 load "tramp.el" `tramp-set-completion-function'.
21853 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21855 * shell.el: Require and use pcomplete.
21856 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21857 (shell-completion-vars): Set pcomplete-default-completion-function.
21859 2011-06-04 Deniz Dogan <deniz@dogan.se>
21861 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21864 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21866 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21868 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21870 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21871 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21872 * vc/log-view.el (log-view-beginning-of-defun):
21873 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21874 (smerge-refine-forward, smerge-refine-chopup-region):
21875 Silence warning for unused `dotimes' counter variables.
21877 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21879 * net/tramp.el (tramp-with-progress-reporter): Rename from
21880 with-progress-reporter. Use `declare'.
21881 * net/tramp-smb.el:
21883 * net/tramp-gvfs.el: Update all uses.
21885 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21887 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21888 buffer isn't killed before making it current.
21890 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21892 Silence various byte-compiler warnings.
21893 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21894 `access-type' and new obsolescence format.
21895 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21897 (byte-compile-check-variable): New `access-type' argument.
21898 Only warn if the access-type is obsolete.
21899 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21900 (byte-compile-variable-set): Adjust callers.
21901 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21902 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21903 setting it as obsolete.
21904 * simple.el (minibuffer-completing-symbol):
21905 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21906 access as obsolete.
21907 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21909 * international/quail.el (quail-mouse-choose-completion): Remove unused
21910 code referring to obsolete var.
21911 (quail-choose-completion-string): Remove.
21912 * server.el (server-clients-with, server-kill-buffer-query-function)
21913 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21914 * proced.el (proced-send-signal):
21915 * emacs-lisp/lisp.el (lisp-complete-symbol):
21916 Replace completion-annotate-function with completion-extra-properties.
21918 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21920 * simple.el (goto-line): Use read-number.
21921 (overriding-map-is-bound): Remove.
21922 (saved-overriding-map): Change default.
21923 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21924 Take the map as argument.
21925 (universal-argument, negative-argument, digit-argument): Use it.
21926 (restore-overriding-map): Adjust.
21927 (do-auto-fill): Use fill-forward-paragraph.
21928 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21930 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21931 (minibuffer-inactive-mode): New major mode.
21932 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21933 the *Messages* buffer" hack.
21934 (mouse-popup-menubar): Don't burp if the event is a normal key.
21936 Miscellaneous tweaks.
21937 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21938 lexical scoping as in subr.el's dolist and dotimes.
21939 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21940 Silence compiler warning.
21941 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21942 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21943 * international/ccl.el (ccl-compile): Trivial simplification.
21944 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21945 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21946 `printflag' argument.
21947 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21948 Purecopy the whole obsolescence data.
21950 2011-06-01 Leo Liu <sdl.web@gmail.com>
21952 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21953 improve doc-string as suggested by Marco Pessotto
21954 <melmothx@gmail.com>.
21955 (rcirc-print): Fix last change.
21957 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21959 * minibuffer.el (complete-with-action): Return nil for the metadata and
21960 boundaries of non-functional tables.
21961 (completion-table-dynamic): Return nil for the metadata.
21962 (completion-table-with-terminator): Add default case, using
21963 complete-with-action.
21964 (completion--metadata): New function.
21965 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21966 to try and avoid pathological performance problems.
21967 (completion--embedded-envvar-table): Return `category' metadata.
21969 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21971 * subr.el (process-alive-p): New tiny convenience function.
21973 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21975 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21976 content but also its previous major mode.
21978 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21980 * emacs-lisp/debug.el (debug): Restore the previous content of the
21981 *Backtrace* buffer when we exit with C-M-c.
21983 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21985 * minibuffer.el: Add metadata method to completion tables.
21986 (completion-category-overrides): New defcustom.
21987 (completion-metadata, completion--field-metadata)
21988 (completion-metadata-get, completion--styles)
21989 (completion--cycle-threshold): New functions.
21990 (completion-try-completion, completion-all-completions):
21991 Add `metadata' argument to choose completion-styles.
21992 (completion--do-completion): Use metadata to choose cycling.
21993 (completion-all-sorted-completions): Use metadata for sorting.
21994 Remove :completion-cycle-penalty which is not needed any more.
21995 (completion--try-word-completion): Add `metadata' argument.
21996 (minibuffer-completion-help): Check metadata for annotation function
21998 (completion-file-name-table): Return `category' metadata.
21999 (minibuffer-completing-file-name): Make obsolete.
22000 * simple.el (minibuffer-completing-symbol): Make obsolete.
22001 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22002 completion-try-completion.
22004 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22006 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22008 2011-05-30 Leo Liu <sdl.web@gmail.com>
22010 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22011 (rcirc-print): Decode all incoming messages (bug#8744).
22012 (rcirc-decode-coding-system): Allow value nil for automatic coding
22015 2011-06-01 Glenn Morris <rgm@gnu.org>
22017 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22019 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22021 * image.el (image-animate-max-time): Allow nil and t values.
22023 (create-animated-image): Doc fix.
22024 (image-animate-start): Remove second arg; just use
22025 image-animate-max-time.
22026 (image-animate-timeout): Doc fix. Args changed.
22028 * image-mode.el (image-toggle-display-image): Ensure that the
22029 image spec passed to the animate timer is the same object as in
22030 the buffer's display property (Bug#6981).
22031 (image-transform-properties): Doc fix.
22033 * image.el (image-animate-max-time): Default to nil.
22035 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22037 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22038 entire buffer list (Bug#8184).
22040 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22042 * image.el (imagemagick-types-inhibit)
22043 (imagemagick-register-types): Doc fix.
22045 2011-05-29 Deniz Dogan <deniz@dogan.se>
22047 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22050 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22052 * select.el: Don't perform clipboard-manager saving in hooks;
22053 leave the hooks empty.
22055 2011-05-28 Leo Liu <sdl.web@gmail.com>
22057 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22058 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22059 (occur-edit-mode): New major mode (Bug#8463).
22060 (occur-after-change-function): New function.
22061 (occur-engine): Give Occur tags a read-only property.
22063 2011-05-28 Kevin Ryde <user42@zip.com.au>
22065 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22067 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22069 * bindings.el (help-echo): Make the initial non-indicator dash
22070 empty on graphical terminals (Bug#7295).
22072 * files.el (auto-mode-alist): Move config rule after the
22073 in-stripping one (Bug#8547).
22075 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22077 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22078 setting (Bug#8740).
22080 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22082 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22083 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22086 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22088 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22090 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22092 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22093 (hs-hide-block-at-point, hs-find-block-beginning)
22094 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22097 2011-05-28 Glenn Morris <rgm@gnu.org>
22099 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22101 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22103 * help-fns.el (describe-function-1): If the function is a derived
22104 major mode, print the parent mode.
22106 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22107 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22109 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22111 * minibuffer.el (completion--capf-wrapper): Check applicability before
22112 returning non-nil for non-exclusive completion data.
22113 * progmodes/etags.el (tags-completion-at-point-function):
22114 * info-look.el (info-lookup-completions-at-point): Mark as
22116 (info-complete): Adjust accordingly.
22118 * info-look.el: Convert to lexical-binding and completion-at-point.
22119 (info-lookup-completions-at-point): New function.
22120 (info-complete): Use it and completion-in-region.
22122 2011-05-28 Drew Adams <drew.adams@oracle.com>
22124 * isearch.el: Let M-e start with point at the first mismatched char.
22125 (isearch-fail-pos): New function.
22126 (isearch-edit-string): Use it.
22128 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22130 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22132 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22134 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22135 traversal functions for avl-trees.
22136 (avl-tree--stack): New struct.
22137 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22138 (avl-tree-enter): Add optional `updatefun' arg.
22139 (avl-tree--do-enter): Add optional `updatefun' arg.
22140 Change return value.
22141 (avl-tree-delete): Add optional `test' and `nilflag' args.
22142 (avl-tree--do-delete): Add `test' and `nilflag' args.
22143 Change return value.
22144 (avl-tree-member): Add optional `nilflag'
22145 (avl-tree-member-p): New function.
22146 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22147 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22148 (avl-tree-stack-empty-p): New functions.
22150 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22151 avl-tree--del-balance1 and make it work both ways.
22152 (avl-tree--del-balance2): Remove.
22153 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22154 make it work both ways.
22155 (avl-tree--enter-balance2): Remove.
22156 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22158 (avl-tree--mapc, avl-tree-map): Add direction argument.
22160 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22162 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22164 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22166 * select.el: Support clipboard managers with built-in function
22167 x-clipboard-manager-save, via delete-frame-functions and
22169 (xselect-convert-to-targets): Add MULTIPLE target to list.
22170 (xselect-convert-to-save-targets): New function.
22172 2011-05-27 Kenichi Handa <handa@m17n.org>
22174 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22175 let-binding rfc2047-encode-encoded-words to nil.
22177 2011-05-27 Glenn Morris <rgm@gnu.org>
22179 * mail/emacsbug.el: Don't require url-util.
22181 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22183 * files.el (set-auto-mode):
22184 Also respect mode: entries at the end of the file. (Bug#8586)
22186 2011-05-26 Glenn Morris <rgm@gnu.org>
22188 * files.el (hack-local-variables-prop-line, hack-local-variables):
22189 Downcase mode names, as seems to be traditional.
22190 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22192 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22193 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22195 2011-05-25 Julien Danjou <julien@danjou.info>
22197 * textmodes/rst.el (rst-define-level-faces): Do not define face
22198 symbol if it is already defined.
22200 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22202 * play/5x5.el (5x5-new-game, 5x5-randomize):
22203 Reset 5x5-solver-output to nil when a new grid is cast.
22204 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22205 these debugging traces, as defmacro breaks the compiled code.
22207 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22209 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22211 2011-05-24 Leo Liu <sdl.web@gmail.com>
22213 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22214 (vc-bzr-sha1): Adapt.
22216 * sha1.el: Remove. Function `sha1' is now builtin.
22218 * bindings.el: Provide sha1 feature.
22220 2011-05-24 Kenichi Handa <handa@m17n.org>
22222 * mail/sendmail.el: Require `rfc2047'.
22223 (mail-insert-from-field): Do not perform RFC2047 encoding.
22224 (mail-encode-header): New function.
22225 (sendmail-send-it): Set buffer-file-coding-system of the work
22226 buffer to the return value of select-message-coding-system.
22227 Call mail-encode-header.
22229 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22231 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22233 * mail/supercite.el (sc-default-cite-frame):
22234 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22236 2011-05-24 Glenn Morris <rgm@gnu.org>
22238 * progmodes/python.el (brm-menu): Declare.
22240 * emulation/viper.el (viper-set-hooks): Declare.
22242 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22243 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22244 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22245 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22246 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22247 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22249 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22251 Add an :exit-function for completion-at-point.
22253 * minibuffer.el (completion--done): New fun.
22254 (completion--do-completion): Use it. New arg `expect-exact'.
22255 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22256 since completion--do-completion does it for us now.
22257 (minibuffer-force-complete): Use completion--done and
22258 completion--replace. Handle sole-completion case with more care.
22259 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22260 (completion-extra-properties): New var.
22261 (completion-annotate-function): Make obsolete.
22262 (minibuffer-completion-help): Adjust accordingly.
22263 Use completion-list-insert-choice-function.
22264 (completion-at-point, completion-help-at-point):
22265 Bind completion-extra-properties.
22266 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22267 * simple.el (completion-list-insert-choice-function): New var.
22268 (completion-setup-function): Preserve it.
22269 (choose-completion): Pay attention to it, shuffle the code a bit.
22270 (choose-completion-string): New arg `insert-function'.
22272 * textmodes/bibtex.el: Convert to lexical binding.
22273 (bibtex-mode-map): Use completion-at-point.
22274 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22275 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22276 (bibtex-complete): Define as obsolete alias.
22277 (bibtex-complete-internal): Remove.
22278 (bibtex-format-entry): Remove unused sub-group in regexp.
22279 * shell.el (shell--command-completion-data)
22280 (shell-environment-variable-completion):
22281 * pcomplete.el (pcomplete-completions-at-point):
22282 * comint.el (comint--complete-file-name-data): Use :exit-function
22283 instead of completion-table-with-terminator so it also works for
22286 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22288 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22290 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22293 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22295 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22297 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22298 customization variable and implement: If non-nil, auto-fill will
22299 be inhibited while on topic's header line.
22301 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22303 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22304 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22305 always have a solution in grid size = 5 cases.
22306 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22307 (5x5-solver-output, 5x5-log-buffer): New vars.
22308 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22309 Make these variables buffer local to achieve 5x5 multi-session-ness.
22310 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22311 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22312 (5x5-solve-suggest): New funs.
22313 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22314 randomize a grid so that we ensure that there is always a solution.
22315 (5x5-make-random-grid): Allow other movement than flipping.
22317 2011-05-23 Kevin Ryde <user42@zip.com.au>
22319 * emacs-lisp/advice.el (ad-read-advised-function):
22320 Use `function-called-at-point' as the default, if it has
22321 advice and passes PREDICATE.
22323 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22325 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22326 byte-compile-lambda if it's actually a lambda.
22328 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22329 Fix function quoting. Use backquote better.
22331 2011-05-22 Yuanle Song <sylecn@gmail.com>
22333 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22334 matching (Bug#8516).
22336 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22338 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22339 different face (Bug#8178).
22341 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22343 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22344 defface (Bug#8144).
22346 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22348 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22349 funcall as well (bug#8712). Warn when performing those conversions.
22350 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22352 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22354 2011-05-22 Glenn Morris <rgm@gnu.org>
22356 * files.el (hack-local-variables-prop-line): Small simplifications.
22357 (hack-local-variables, hack-local-variables-prop-line):
22358 If MODE-ONLY, return the mode, rather than just `t'.
22360 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22362 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22364 2011-05-21 Glenn Morris <rgm@gnu.org>
22366 * files.el (hack-local-variables-prop-line, hack-local-variables):
22367 If only interested in the mode, don't bother doing the other stuff.
22369 * image-mode.el (image-after-revert-hook):
22370 Redraw all frames on which the image is visible. (Bug#8567)
22372 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22374 * wid-edit.el (widget-checklist-match-inline):
22375 Fix 2011-04-19 change. (Bug#8649)
22377 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22379 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22380 Also allow singlespace after single-letter capitals followed by a dot.
22382 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22383 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22385 2011-05-20 Nix <nix@esperi.org.uk>
22387 * files.el (basic-save-buffer-2):
22388 Fix handling of break-hardlink-on-save with non-existent files.
22390 2011-05-19 Deniz Dogan <deniz@dogan.se>
22392 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22393 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22395 2011-05-19 Glenn Morris <rgm@gnu.org>
22397 * progmodes/f90.el (f90-type-def-re):
22398 Handle "type, bind(c)". (Bug#8691)
22400 * emacs-lisp/autoload.el (batch-update-autoloads):
22401 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22403 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22405 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22406 property for the correct connection in case of multihops.
22408 2011-05-18 Glenn Morris <rgm@gnu.org>
22410 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22411 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22413 Rationalize calendar handling of day and month abbrev-arrays.
22414 * calendar/calendar.el (calendar-customized-p): New function.
22415 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22416 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22418 (calendar-abbrev-length, calendar-day-abbrev-array)
22419 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22420 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22421 Elements may no longer be nil.
22422 (calendar-day-name, calendar-month-name):
22423 Update for changed nature of abbrev arrays.
22424 * calendar/diary-lib.el (diary-name-pattern):
22425 Update for changed nature of abbrev arrays.
22426 (diary-mark-entries-1): Update calendar-make-alist calls.
22427 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22428 * calendar/cal-html.el (cal-html-day-abbrev-array):
22429 Simply inherit from calendar-day-abbrev-array.
22431 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22433 * progmodes/grep.el (grep-mode): Disable default
22434 compilation-directory-matcher setting (bug#8684).
22436 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22438 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22439 instead of "head" and "tail". There were problems with SunOS 5.9,
22440 and it performs better.
22442 2011-05-17 Glenn Morris <rgm@gnu.org>
22444 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22446 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22447 Replace obsolete function.
22449 * shell.el (pcomplete-parse-arguments-function): Declare.
22451 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22452 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22453 (appt-check): Doc fixes.
22454 (appt-disp-window-function, appt-delete-window-function):
22455 Remove needless special case in custom :type.
22456 (appt-display-count): Default to 0, not nil.
22457 (appt-check): Reset appt-display-count to 0, not nil.
22459 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22461 * progmodes/python.el (python-font-lock-keywords):
22462 Add the Python 3.X keyword "nonlocal" (bug#8639).
22464 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22466 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22468 2011-05-16 Kevin Ryde <user42@zip.com.au>
22470 * info-look.el (makefile-automake-mode): New setups, looking in
22471 automake manual, then makefile-mode.
22472 (makefile-mode): Remove automake manual, have it just in
22473 makefile-automake-mode since there's various things different or
22474 not relevant to plain make.
22475 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22476 believe a hypothetical automake-mode would go to makefile-mode,
22477 not the other way around.
22479 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22481 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22482 hunk-end tags (Bug#8672).
22484 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22485 vc-annotate-show-diff-revision-at-line (Bug#8671).
22487 2011-05-14 Glenn Morris <rgm@gnu.org>
22489 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22490 in the middle of an existing one with multiple authors. (Bug#8645)
22491 (change-log-font-lock-keywords): Also handle multiple author lines
22492 with leading tabs. (Bug#8644)
22494 * calendar/appt.el (appt-check): Rename some local variables.
22495 Some simplification/reordering.
22497 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22498 (feedmail-sendmail-f-doesnt-sell-me-out)
22499 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22500 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22501 (feedmail-queue-runner-message-sender): Set :version.
22502 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22503 (bbdb-dwim-net-address, vm-mail): Declare.
22504 (feedmail-binmail-gnulinuxish-template):
22505 Rename from feedmail-binmail-linuxish-template.
22506 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22507 Use insert-buffer-substring.
22509 2011-05-14 Bill Carpenter <bill@carpenter.org>
22511 * mail/feedmail.el (feedmail-patch-level): Increase.
22512 (feedmail-debug): New custom group.
22513 (feedmail-confirm-outgoing-timeout)
22514 (feedmail-sendmail-f-doesnt-sell-me-out)
22515 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22516 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22517 (feedmail-sender-line, feedmail-from-line)
22518 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22519 (feedmail-spray-this-address)
22520 (feedmail-spray-address-fiddle-plex-list)
22521 (feedmail-queue-use-send-time-for-date)
22522 (feedmail-queue-use-send-time-for-message-id)
22523 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22524 (feedmail-buffer-eating-function):
22526 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22527 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22528 (feedmail-message-action-scroll-down): New functions.
22529 (feedmail-queue-directory, feedmail-queue-draft-directory):
22530 Use expand-file-name.
22531 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22532 Remove C-v help entry.
22533 (feedmail-queue-buffer-file-name): New variable.
22534 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22535 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22536 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22537 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22538 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22539 (feedmail-message-action-toggle-spray)
22540 (feedmail-run-the-queue-no-prompts)
22541 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22542 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22543 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22544 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22545 (feedmail-envelope-deducer, feedmail-fiddle-from)
22546 (feedmail-fiddle-sender, feedmail-default-date-generator)
22547 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22548 (feedmail-fiddle-spray-address)
22549 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22550 (feedmail-fiddle-list-of-fiddle-plexes)
22551 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22552 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22553 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22554 Change default. Doc fix.
22555 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22556 (feedmail-binmail-linuxish-template): New constant.
22557 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22558 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22559 (feedmail-send-it): Add debug call.
22560 Use feedmail-queue-buffer-file-name, and
22561 feedmail-send-it-immediately-wrapper.
22562 (feedmail-message-action-send): Add debug call.
22563 Use feedmail-send-it-immediately-wrapper.
22564 (feedmail-queue-express-to-queue): Add debug call.
22565 Run feedmail-queue-express-hook.
22566 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22567 (feedmail-message-action-help-blat):
22568 Rename from feedmail-queue-send-edit-prompt-help-first.
22569 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22570 Check line-endings. Handle errors better.
22571 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22572 Doc fix. Add debug call.
22573 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22574 Use feedmail-queue-send-edit-prompt-inner.
22575 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22576 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22577 from feedmail-queue-send-edit-prompt.
22578 (feedmail-queue-send-edit-prompt-help)
22579 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22580 (feedmail-tidy-up-slug): Add debug call.
22581 Respect feedmail-queue-slug-suspect-regexp.
22582 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22583 (feedmail-dump-message-to-queue): Add debug call.
22584 Expand queue-directory.
22585 (feedmail-dump-message-to-queue): Change message slightly.
22586 Use feedmail-say-chatter.
22587 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22588 (feedmail-send-it-immediately-wrapper): New function.
22589 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22590 Insert empty string rather than newline. Handle full-frame case.
22591 Use catch/throw. Use feedmail-say-chatter.
22592 (feedmail-fiddle-from): Try mail-host-address.
22593 (feedmail-default-message-id-generator): Doc fix.
22594 Bind system-time-locale. Handle missing end.
22595 (feedmail-fiddle-x-mailer): Add debug call.
22596 Handle feedmail-x-mailer-line being nil.
22597 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22598 Add debug call. Use buffer-substring-no-properties.
22599 (feedmail-say-debug, feedmail-say-chatter): New functions.
22600 (feedmail-find-eoh): Give an explicit error.
22602 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22604 * net/newst-treeview.el (newsticker-treeview-face): Change default
22605 family from helvetica to sans.
22606 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22607 etc/images/newsticker.
22609 * net/newst-reader.el (newsticker-feed-face): Change default
22610 family from helvetica to sans.
22612 * net/newst-plainview.el (newsticker-new-item-face)
22613 (newsticker-old-item-face, newsticker-immortal-item-face)
22614 (newsticker-obsolete-item-face, newsticker-date-face)
22615 (newsticker-statistics-face): Change default family from
22617 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22618 etc/images/newsticker.
22620 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22621 (newsticker--process-auto-mark-filter-match): Tell user about
22624 2011-05-13 Didier Verna <didier@xemacs.org>
22626 Common Lisp indentation improvements on defmethod and lambda-lists.
22627 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22629 (lisp-lambda-list-keyword-parameter-indentation)
22630 (lisp-lambda-list-keyword-parameter-alignment)
22631 (lisp-lambda-list-keyword-alignment): New customizable user options.
22632 (lisp-indent-defun-method): Improve docstring.
22633 (extended-loop-p): Fix comment.
22634 (lisp-indent-lambda-list-keywords-regexp): New variable.
22635 (lisp-indent-lambda-list): New function.
22636 (lisp-indent-259): Use it.
22637 (lisp-indent-defmethod): Support for more than one
22638 method qualifier and properly indent methods lambda-lists.
22639 (defgeneric): Provide a missing common-lisp-indent-function property.
22641 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22643 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22644 bounds for the empty string (bug#8667).
22646 2011-05-13 Glenn Morris <rgm@gnu.org>
22648 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22650 * mail/sendmail.el (sendmail-program): Try executable-find first.
22651 (sendmail-send-it): `sendmail-program' cannot be unbound.
22653 * calendar/appt.el (appt-make-list): Simplify.
22654 (appt-time-msg-list): Doc fix.
22655 (appt-check): Change mode-line message at the time of the appointment.
22657 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22659 * progmodes/ld-script.el (ld-script-keywords)
22660 (ld-script-builtins): Update keywords list.
22662 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22664 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22666 * shell.el (shell-completion-vars): New function.
22668 * simple.el (read-shell-command): Use it.
22669 (blink-matching-open): No need for " [...]" in minibuffer-message.
22671 2011-05-12 Glenn Morris <rgm@gnu.org>
22673 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22674 (appt-check): Simplify.
22676 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22678 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22679 literal "/dev/null".
22681 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22683 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22686 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22688 * progmodes/which-func.el (which-function):
22689 Use add-log-current-defun instead of add-log-current-defun-function,
22690 which might not be defined (Bug#8260).
22692 2011-05-12 Glenn Morris <rgm@gnu.org>
22694 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22695 Let byte-compile-initial-macro-environment always take precedence.
22697 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22699 * net/rcirc.el: Add support for SSL/TLS connections.
22700 (rcirc-server-alist): New field `encryption'.
22701 (rcirc): Check `encryption' settings.
22702 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22703 Merge make-local-variable into `set'.
22704 (rcirc--connection-open-p): New function.
22705 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22706 the process is not a network process (e.g. running gnutls-cli).
22707 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22708 Make rcirc-(en|de)code-coding-system local here.
22709 (rcirc-mode): Merge make-local-variable into `set'.
22710 (rcirc-parent-buffer): Make permanent buffer-local.
22711 (rcirc-multiline-minor-mode): Don't do it here.
22712 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22713 there's no server buffer.
22715 2011-05-11 Glenn Morris <rgm@gnu.org>
22717 * newcomment.el (comment-kill): Prefix "unused" local.
22719 * term/w32console.el (get-screen-color): Declare.
22721 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22722 Handle symbol elements of byte-compile-initial-macro-environment.
22724 2011-05-10 Leo Liu <sdl.web@gmail.com>
22726 * bookmark.el (bookmark-bmenu-mode-map):
22727 Bind bookmark-bmenu-search to `/'.
22729 * mail/footnote.el: Convert to utf-8 encoding.
22730 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22731 (Footnote-unicode): New function.
22732 (footnote-style-alist): Add unicode style to the list.
22733 (footnote-style): Doc fix.
22735 2011-05-10 Jim Meyering <meyering@redhat.com>
22737 Fix doubled-word typos.
22738 * international/quail.el (quail-insert-kbd-layout): and and -> and
22739 * kermit.el: and and -> and
22740 * net/ldap.el (ldap-search-internal): to to -> to
22741 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22742 * progmodes/js.el (js-mode): and and -> and
22743 * textmodes/artist.el (artist-move-to-xy): at at -> at
22744 (artist-draw-region-trim-line-endings): if if -> if
22745 And Safetyc -> Safety.
22746 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22748 2011-05-10 Glenn Morris <rgm@gnu.org>
22749 Stefan Monnier <monnier@iro.umontreal.ca>
22751 * files.el (hack-one-local-variable-eval-safep):
22752 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22754 2011-05-10 Glenn Morris <rgm@gnu.org>
22756 * calendar/diary-lib.el (diary-list-entries-hook)
22757 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22758 (diary-nongregorian-marking-hook, diary-list-entries)
22759 (diary-include-other-diary-files, diary-mark-entries)
22760 (diary-mark-included-diary-files): Doc fixes.
22762 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22764 * misc.el: Require tabulated-list.el during compilation.
22766 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22768 * progmodes/compile.el (compilation-start):
22769 Run compilation-filter-hook for the async case too.
22770 (compilation-filter-hook): Doc fix.
22772 2011-05-09 Deniz Dogan <deniz@dogan.se>
22774 * wdired.el: Remove outdated installation comment. Fix usage
22777 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22779 * misc.el: Implement new command `list-dynamic-libraries'.
22780 (list-dynamic-libraries--loaded-only-p): New variable.
22781 (list-dynamic-libraries--refresh): New function.
22782 (list-dynamic-libraries): New command.
22784 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22787 Fix the ant regexp to handle end-line and end-column info from jikes.
22788 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22789 higher priority to avoid clobbering by gnu.
22791 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22793 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22794 if the face has existing theme settings (Bug#8454).
22796 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22798 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22799 Only match variables declared via `my' or `our' (Bug#8261).
22801 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22802 special file names `.' and `..' (Bug#8259).
22804 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22806 * progmodes/grep.el (grep-mode-font-lock-keywords):
22807 Remove buffer-changing entries.
22808 (grep-filter): New function.
22809 (grep-mode): Add it to compilation-filter-hook.
22811 * progmodes/compile.el (compilation-filter-hook)
22812 (compilation-filter-start): New defvars.
22813 (compilation-filter): Call compilation-filter-hook prior to
22814 updating the process mark.
22816 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22818 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22820 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22822 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22823 mailclient-send-it even if window-system is nil. (Bug#8595)
22825 * term/w32console.el (terminal-init-w32console):
22826 Call get-screen-color and use its output to set the frame
22827 background-mode. (Bug#8597)
22829 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22831 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22832 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22834 (defgeneric, eieio--defmethod): Use them.
22835 (eieio-defgeneric): Remove.
22836 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22838 2011-05-07 Glenn Morris <rgm@gnu.org>
22840 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22841 Use let rather than let*.
22842 (timeclock-find-discrep): Remove unused local.
22844 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22846 * calendar/appt.el (appt-time-msg-list): Doc fix.
22848 2011-05-06 Noah Friedman <friedman@splode.com>
22850 * apropos.el (apropos-print-doc): Only use
22851 emacs-lisp-docstring-fill-column when it is bound to an integer,
22852 per that variable's documentation.
22854 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22856 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22857 and warnings are not silently discarded (e.g. use -d instead of -P).
22859 2011-05-06 Glenn Morris <rgm@gnu.org>
22861 * calendar/appt.el (appt-message-warning-time): Doc fix.
22862 (appt-warning-time-regexp): New option.
22863 (appt-make-list): Respect appt-message-warning-time.
22865 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22867 (diary-add-to-list): Strip comments from the displayed string.
22868 (diary-mode): Set comment-start and comment-end.
22870 * vc/diff-mode.el (smerge-refine-subst): Declare.
22871 (diff-refine-hunk): Don't require smerge-mode when compiling.
22873 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22875 * simple.el (list-processes): Return nil as the docstring says.
22877 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22879 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22881 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22882 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22883 determining of binary transfer. (Bug#7383)
22885 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22887 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22888 Fix port computation bug. (Bug#8618)
22890 2011-05-05 Glenn Morris <rgm@gnu.org>
22892 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22894 * simple.el (shell-dynamic-complete-functions)
22895 (comint-dynamic-complete-functions): Declare.
22897 * net/network-stream.el (gnutls-negotiate):
22898 * simple.el (tabulated-list-print): Fix declarations.
22900 * progmodes/gud.el (syntax-symbol, syntax-point):
22901 Remove unnecessary and incorrect declarations.
22903 * emacs-lisp/check-declare.el (check-declare-scan):
22904 Handle byte-compile-initial-macro-environment in bytecomp.el.
22906 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22908 Fix earlier half-done eieio-defmethod change (bug#8338).
22909 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22910 Streamline and change calling convention.
22911 (defmethod): Adjust accordingly and simplify.
22912 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22913 new eieio--defmethod.
22914 (slot-boundp): Minor CSE simplification.
22916 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22918 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22919 (glasses-make-readable): Use glasses-separate-capital-groups.
22921 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22923 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22924 (warning-series): Doc fix.
22925 (display-warning): Don't try to create the buffer if we just found it.
22927 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22929 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22930 (autoload-find-generated-file): New function.
22931 (generate-file-autoloads): Bind generated-autoload-file to
22933 (update-file-autoloads, update-directory-autoloads):
22934 Use autoload-find-generated-file. If called interactively, prompt for
22935 output file (Bug#7989).
22936 (batch-update-autoloads): Doc fix.
22938 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22940 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22942 2011-05-04 Glenn Morris <rgm@gnu.org>
22944 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22945 function, so it follows changes in calendar-date-style.
22946 (diary-fancy-date-matcher): New function.
22947 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22948 (diary-fancy-font-lock-fontify-region-function):
22949 Use diary-fancy-date-pattern as a function.
22951 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22952 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22954 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22956 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22957 instead of positional arguments. Allow :keylist and :crlfiles
22959 (open-gnutls-stream): Call it.
22961 * net/network-stream.el (network-stream-open-starttls): Adjust to
22962 call `gnutls-negotiate' with :process and :hostname arguments.
22964 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22966 * minibuffer.el (completion--message): New function.
22967 (completion--do-completion, minibuffer-complete)
22968 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22969 (completion--do-completion): Don't ignore completion-auto-help when in
22972 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22973 internal encoding (e.g. tibetan zero is not whitespace).
22974 (global-whitespace-mode): Prefer save-current-buffer.
22975 (whitespace-trailing-regexp): Remove useless save-match-data.
22976 (whitespace-empty-at-bob-regexp): Minor simplification.
22978 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22980 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22982 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22984 * textmodes/ispell.el (ispell-add-per-file-word-list):
22985 Use `concat' to create string for insertion.
22987 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22989 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22990 Avoid open-line which runs post-self-insert-hook.
22991 (bibtex-fill-entry): Remove unused `end' var.
22993 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22995 * textmodes/ispell.el (ispell-add-per-file-word-list):
22996 Protect against `nil' value of `comment-start' (Bug#8579).
22998 2011-05-03 Leo Liu <sdl.web@gmail.com>
23000 * isearch.el (isearch-yank-pop): New command.
23001 (isearch-mode-map): Bind it to `M-y'.
23002 (isearch-forward): Mention it.
23004 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23006 * simple.el (minibuffer-complete-shell-command): Remove.
23007 (minibuffer-local-shell-command-map): Use completion-at-point.
23008 (read-shell-command): Setup completion vars here instead.
23009 (read-expression-map): Bind TAB to symbol completion.
23011 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23012 error directly rather via storing it into `results'.
23014 2011-05-02 Leo Liu <sdl.web@gmail.com>
23016 * vc/diff.el: Fix description.
23018 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23020 * server.el (server-eval-at): New function.
23022 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23024 * net/network-stream.el (open-network-stream): Take a :nowait
23025 parameter and pass it on to `make-network-process'.
23026 (network-stream-open-plain): Ditto.
23028 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23030 * faces.el (face-spec-set-match-display): Don't match toolkit
23031 options on terminal frames.
23033 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23035 * progmodes/pascal.el: Use lexical binding.
23036 (pascal-mode-map): Remove author preferences.
23038 * pcomplete.el (pcomplete-std-complete): Don't abuse
23039 completion-at-point.
23041 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23043 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23044 removing code that has been dead since 1991 or so.
23046 * startup.el (command-line): When warning about "_emacs", use a
23047 delayed warning to allow the user to filter it out.
23049 2011-04-28 Deniz Dogan <deniz@dogan.se>
23051 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23052 user has not joined.
23054 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23056 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23057 aren't any completions at point.
23059 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23061 * subr.el (display-delayed-warnings): New function.
23062 (delayed-warnings-hook): New variable.
23064 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23066 * minibuffer.el (completion-at-point, completion-help-at-point):
23067 Don't presume that a given completion-at-point-function will always
23068 use the same calling convention.
23070 * pcomplete.el (pcomplete-completions-at-point):
23071 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23072 pcomplete-seen is non-nil.
23073 (pcomplete-comint-setup): Also recognize the new comint/shell
23074 completion functions.
23075 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23076 pcomplete-seen is non-nil.
23078 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23080 * calendar/icalendar.el (diary-lib): Add require statement.
23081 (icalendar--create-uid): Read out a uid from a text-property on
23082 the first character in the entry. This allows for code to add its
23083 own uid to the entry.
23084 (icalendar--convert-float-to-ical): Add export of
23085 `diary-float'-entries save for those with the optional DAY
23088 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23090 * subr.el (shell-quote-argument): Use alternate escaping strategy
23091 when we spot a variable reference in a string.
23093 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23095 * cus-start.el (all): Define customization for debug-on-event.
23097 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23099 * subr.el (shell-quote-argument): Escape correctly under Windows.
23101 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23103 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23105 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23107 * net/tramp.el (tramp-process-actions): Add POS argument.
23108 Delete region between POS and (pos).
23110 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23111 Use `nil' position in `tramp-process-actions' call.
23112 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23114 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23115 position in `tramp-process-actions' call.
23117 * net/trampver.el: Update release number.
23119 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23121 * custom.el (defcustom): Obey lexical-binding.
23123 Fix octave-inf completion problems reported by Alexander Klimov.
23124 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23125 Inherit from octave-mode-syntax-table.
23126 (inferior-octave-mode): Set info-lookup-mode.
23127 (inferior-octave-completion-at-point): New function.
23128 (inferior-octave-complete): Use it and completion-in-region.
23129 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23130 comint-filename-completion.
23131 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23132 symbol elements which shouldn't be word elements.
23133 (octave-font-lock-keywords, octave-beginning-of-defun)
23134 (octave-function-header-regexp): Adjust regexps accordingly.
23135 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23137 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23139 * net/gnutls.el (gnutls-errorp): Declare before first use.
23141 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23143 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23144 verify-error, and verify-hostname-error parameters. Check whether
23145 default trustfile exists before going to use it. Add missing
23146 argument to gnutls-message-maybe call. Return value.
23147 Reported by Claudio Bley <claudio.bley@gmail.com>.
23148 (open-gnutls-stream): Add usage example.
23150 * net/network-stream.el (network-stream-open-starttls): Give host
23151 parameter to `gnutls-negotiate'.
23152 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23153 * subr.el (shell-quote-argument): Escape correctly under Windows.
23155 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23157 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23158 Use correct match group (bug#8438).
23160 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23162 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23163 (package-menu--generate): New arg specifying packages to show.
23164 (package-menu-refresh, package-menu-execute, list-packages):
23166 (package-show-package-list): New function, replacing deleted
23167 package--list-packages (renamed because it is non-internal).
23169 * finder.el (finder-list-matches): Use package-show-package-list
23170 instead of deleted package--list-packages.
23172 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23173 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23174 (vc-annotate-mode-map): Bind it to RET.
23176 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23178 * progmodes/etags.el (next-file): Don't use set-buffer to change
23179 buffers (Bug#8478).
23181 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23183 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23185 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23186 (apropos-accumulator): Doc fix.
23187 (apropos-function, apropos-macro, apropos-command)
23188 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23189 (apropos-plist): Add face property.
23190 (apropos-symbols-internal): Fix indentation.
23191 (apropos-print): Simplify help, and recognize apropos-multi-type.
23192 (apropos-print-doc): Use button-type-get to extract the button's
23193 face property. Fill docstring (Bug#8352).
23195 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23197 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23199 * play/mpuz.el (mpuz-silent): Doc fix.
23200 (mpuz-mode-map): Use mapc.
23201 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23202 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23203 Fix typos in docstrings.
23205 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23206 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23208 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23210 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23212 * minibuffer.el (completion--do-completion): Avoid the "Next char
23213 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23215 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23216 mouse-2 into unread-command-events, it is interpreted correctly.
23218 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23219 (image-toggle-display): Doc fix.
23221 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23223 * textmodes/page.el (what-page): Use line-number-at-pos to
23224 calculate line number (Bug#6825).
23226 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23228 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23229 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23230 Pass argument NO-DEFAULT to `find-tag-interactive'.
23232 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23234 Lexical-binding cleanup.
23236 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23237 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23238 * progmodes/ada-prj.el (ada-prj-initialize-values)
23239 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23240 (ada-prj-show-value):
23241 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23242 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23243 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23244 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23245 * progmodes/bug-reference.el (bug-reference-push-button):
23246 * progmodes/fortran.el (fortran-line-length):
23247 * progmodes/glasses.el (glasses-change):
23248 * progmodes/octave-mod.el (octave-fill-paragraph):
23249 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23250 (python-pdbtrack-grub-for-buffer, python-sentinel):
23251 * progmodes/sql.el (sql-save-connection):
23252 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23253 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23254 Mark unused parameters.
23256 * progmodes/compile.el (compilation--flush-directory-cache)
23257 (compilation--flush-parse, compile-internal): Mark unused parameters.
23258 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23259 (compilation-next-error-function): Remove unused variable `timestamp'.
23261 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23262 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23264 * progmodes/dcl-mode.el (dcl-end-of-command):
23265 Remove unused variable `start'.
23266 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23267 (dcl-option-value-basic, dcl-option-value-offset)
23268 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23269 Mark unused parameters.
23270 (dcl-save-local-variable): Remove unused variable `val'.
23273 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23274 Mark unused parameters.
23275 (delphi-ignore-changes): Move before first use.
23276 (delphi-charset-token-at): Remove unused variable `start'.
23277 (delphi-else-start): Remove unused variable `if-count'.
23278 (delphi-comment-block-start, delphi-comment-block-end):
23279 Remove unused variable `kind'.
23280 (delphi-indent-line): Remove unused variable `new-point'.
23282 * progmodes/ebrowse.el (ebrowse-files-list)
23283 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23284 Mark unused parameters. Don't quote `lambda'.
23285 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23286 Don't quote `lambda'.
23287 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23288 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23289 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23290 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23291 Use `ignore-errors'.
23292 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23293 (ebrowse-view/find-file-and-search-pattern)
23294 (ebrowse-view/find-member-declaration/definition):
23295 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23296 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23297 Rename parameter PREFIX-ARG to PREFIX.
23298 (ebrowse-tags-read-name): Remove unused variables `start' and
23300 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23303 * progmodes/etags.el (local-find-tag-hook): Declare.
23304 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23305 Mark unused parameters.
23307 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23308 (executable-interpret): Mark unused parameter.
23310 * progmodes/flymake.el (flymake-process-sentinel)
23311 (flymake-after-change-function)
23312 (flymake-create-temp-with-folder-structure)
23313 (flymake-get-include-dirs-dot): Mark unused parameters.
23314 (flymake-safe-delete-directory): Remove unused variable `err'.
23316 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23317 (speedbar-timer-fn, speedbar-line-text)
23318 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23319 (speedbar-center-buffer-smartly): Declare functions.
23320 (gdb-find-watch-expression): Remove unused variable `array'.
23321 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23322 (gdb-starting): Mark unused parameters.
23323 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23324 (gdb-table-string): Remove unused variable `res'.
23325 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23326 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23327 (gdb-display-buffer): Remove unused variable `cur-size'.
23329 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23330 allow lexical-binding compilation.
23331 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23332 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23333 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23334 Mark unused parameters.
23335 (gud-gdb-marker-filter): Remove unused variable `match'.
23336 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23337 lambda expressions and funcall them, instead of using `fset'.
23339 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23340 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23342 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23343 variable `header-beg'; use `let'.
23345 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23346 `restart', `last-sexp' and `at-do'.
23348 * progmodes/js.el (js--debug): Mark unused parameter.
23349 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23350 (js--splice-into-items): Remove unused variable `item'.
23351 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23353 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23354 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23355 (makefile-complete): Remove unused variable `try'.
23356 (makefile-fill-paragraph, makefile-match-function-end):
23357 Mark unused parameters.
23359 * progmodes/octave-inf.el (inferior-octave-complete):
23360 Remove unused variable `proc'.
23361 (inferior-octave-output-digest): Mark unused parameter.
23363 * progmodes/perl-mode.el (perl-calculate-indent):
23364 Remove unused variable `err'.
23366 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23367 (prolog-indent-line): Mark unused parameters.
23368 (prolog-indent-line): Remove unused variable `beg'.
23370 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23371 (reporter-dont-compact-list): Declare.
23373 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23374 Remove unused variable `char'.
23375 (sh-debug): Mark unused parameter.
23376 (sh-get-indent-info): Remove unused variable `start'.
23377 (sh-calculate-indent): Remove unused variable `var'.
23379 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23380 (simula-electric-keyword): Remove unused variable `null'.
23381 (simula-search-backward, simula-search-forward): Remove unused
23382 variables `begin' and `end'.
23384 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23385 Remove unused variable `pos'.
23386 (vera-electric-tab, vera-comment-uncomment-region):
23387 Mark unused parameters.
23388 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23390 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23392 * emacs-lisp/package.el (package--builtins, package-alist)
23393 (package-load-descriptor, package-built-in-p, package-activate)
23394 (define-package, package-installed-p)
23395 (package-compute-transaction, package-buffer-info)
23396 (package--push): Doc fix. Distinguish more clearly between
23397 version strings and version lists.
23399 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23401 Lexical-binding cleanup.
23403 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23404 (5x5-make-mutate-best):
23405 * play/fortune.el (fortune-in-buffer):
23406 * play/gomoku.el (gomoku-init-display):
23407 * play/solitaire.el (solitaire, solitaire-do-check):
23408 * play/tetris.el (tetris-default-update-speed-function):
23409 Mark unused parameters.
23411 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23412 (bubbles--shift): Remove unused variable `char-org'.
23413 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23414 (bubbles--show-images): Remove unused variable `char'.
23416 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23417 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23418 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23419 (decipher-analyze-buffer): Use ?\s.
23420 (decipher-make-checkpoint): Remove unused variable `mapping'.
23422 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23424 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23425 Remove unused variable `result'; use `let'.
23427 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23428 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23429 (gametree-children-shown-p, gametree-compute-reduced-score):
23430 Use `ignore-errors'.
23432 * play/handwrite.el (ps-lpr-switches): Declare.
23433 (handwrite): Remove unused variables `pmin' and `lastp'.
23435 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23437 * play/landmark.el (landmark-init-display)
23438 (landmark-update-naught-weights): Mark unused parameters.
23439 (landmark-y): Remove unused variable `noise'. Simplify.
23440 (landmark-human-plays): Remove unused variable `score'.
23442 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23443 (mpuz-try-proposal): Remove unused variable `game'.
23445 * play/zone.el (life-patterns): Declare.
23447 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23449 * vc/vc.el (ediff-vc-internal): Declare function.
23451 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23453 * shell.el: Use lexical-binding and std completion UI.
23454 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23455 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23456 comint-preoutput-filter-functions rather than on
23457 comint-output-filter-functions.
23458 (shell-command-completion, shell--command-completion-data)
23459 (shell-filename-completion, shell-environment-variable-completion)
23460 (shell-c-a-p-replace-by-expanded-directory): New functions.
23461 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23462 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23463 (shell-dynamic-complete-environment-variable): Use them.
23464 (shell-dynamic-complete-as-environment-variable)
23465 (shell-dynamic-complete-as-command): Remove.
23466 (shell-match-partial-variable): Match past point.
23467 * comint.el: Clean up use of completion-at-point-functions.
23468 (comint-completion-at-point): New function.
23469 (comint-mode): Use it completion-at-point-functions.
23470 (comint-dynamic-complete): Make it obsolete.
23471 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23472 (comint-c-a-p-replace-by-expanded-history): New function.
23473 (comint-dynamic-complete-functions)
23474 (comint-replace-by-expanded-history): Use it.
23475 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23476 termination strings. Try harder to avoid second try-completion.
23477 (completion-in-region-mode-map): Disable bindings that don't work yet.
23479 * comint.el: Use lexical-binding. Require CL.
23480 (comint-dynamic-complete-functions): Use comint-filename-completion.
23481 (comint-completion-addsuffix): Tweak custom type.
23482 (comint-filename-completion, comint--common-suffix)
23483 (comint--common-quoted-suffix, comint--table-subvert)
23484 (comint--complete-file-name-data): New functions.
23485 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23486 (comint-dynamic-list-filename-completions): Use them.
23487 (comint-dynamic-simple-complete): Make obsolete.
23489 * minibuffer.el (completion-in-region-mode):
23490 Keep completion-in-region-mode--predicate global.
23491 (completion-in-region--postch):
23492 Assume completion-in-region-mode--predicate is not null.
23494 * progmodes/flymake.el (flymake-start-syntax-check-process):
23495 Obey `dir'. Simplify.
23497 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23498 we're in VC after all.
23500 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23502 * vc/vc.el (vc-diff-build-argument-list-internal)
23503 (vc-version-ediff, vc-ediff): New commands.
23504 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23506 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23508 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23511 * obsolete/erc-hecomplete.el: Make obsolete.
23512 * obsolete/: Standardize obsolescence info in the header.
23514 2011-04-20 Glenn Morris <rgm@gnu.org>
23516 * calendar/solar.el (solar-horizontal-coordinates):
23517 Use the longitude argument rather than `calendar-longitude'.
23518 (solar-date-next-longitude): Remove unused locals.
23520 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23522 * whitespace.el: New version 13.2.1.
23524 2011-04-20 felix <EmacsWiki> (tiny change)
23526 * whitespace.el (global-whitespace-mode): Keep highlight when
23527 switching between major modes on a file.
23529 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23531 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23532 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23533 multi-line comments as well.
23535 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23537 Lexical-binding cleanup.
23539 * arc-mode.el (archive-mode-revert):
23540 * cmuscheme.el (scheme-interactively-start-process):
23541 * custom.el (custom-initialize-delay):
23542 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23543 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23544 * emacs-lock.el (emacs-lock-clear-sentinel):
23545 * ezimage.el (defezimage):
23546 * follow.el (follow-avoid-tail-recenter):
23547 * fringe.el (set-fringe-mode-1):
23548 * generic-x.el (bat-generic-mode-compile):
23549 * help-mode.el (help-info-variable, help-do-xref)
23550 (help-mode-revert-buffer):
23551 * help.el (view-emacs-todo):
23552 * iswitchb.el (iswitchb-completion-help):
23553 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23554 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23555 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23556 * locate.el (locate-update):
23557 * longlines.el (longlines-encode-region)
23558 (longlines-after-change-function):
23559 * outline.el (outline-isearch-open-invisible):
23560 * ps-def.el (declare-function, charset-dimension, char-width)
23562 * ps-mule.el (ps-mule-plot-string):
23563 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23564 (recentf-edit-list-select, recentf-edit-list-validate)
23565 (recentf-open-files-action):
23566 * rect.el (delete-whitespace-rectangle-line)
23567 (rectangle-number-line-callback):
23568 * register.el (window-configuration-to-register)
23569 (frame-configuration-to-register):
23570 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23571 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23572 (xselect-convert-to-targets, xselect-convert-to-delete)
23573 (xselect-convert-to-filename, xselect-convert-to-charpos)
23574 (xselect-convert-to-lineno, xselect-convert-to-colno)
23575 (xselect-convert-to-os, xselect-convert-to-host)
23576 (xselect-convert-to-user, xselect-convert-to-class)
23577 (xselect-convert-to-name, xselect-convert-to-integer)
23578 (xselect-convert-to-atom, xselect-convert-to-identity):
23579 * subr.el (declare, ignore, process-kill-without-query)
23580 (text-clone-maintain):
23581 * terminal.el (te-get-char, te-tic-sentinel):
23582 * tool-bar.el (tool-bar-make-keymap):
23583 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23584 * type-break.el (type-break-mode, type-break-noninteractive-query):
23585 * view.el (View-back-to-mark):
23586 * wid-browse.el (widget-browse-action, widget-browse-widget)
23587 (widget-browse-widgets, widget-browse-sexp):
23588 * widget.el (define-widget-keywords):
23589 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23590 Mark unused parameters.
23592 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23593 (align-areas): Remove unused variable `look'.
23594 (align-region): Remove unused variables `real-end' and `pos-list'.
23596 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23598 * bindings.el (mode-line-modified, mode-line-remote):
23599 Mark unused parameters.
23600 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23602 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23603 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23605 * comint.el (comint-history-isearch-pop-state)
23606 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23607 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23608 (comint-substitute-in-file-name): Doc fix.
23610 * completion.el (cmpl-statistics-block): Mark unused parameter.
23611 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23612 (save-completions-to-file, load-completions-from-file):
23613 Remove unused local variable `e'.
23615 * composite.el (compose-chars): Remove unused variable `len'.
23616 (lgstring-insert-glyph): Remove unused variable `g'.
23617 (compose-glyph-string): Remove unused variables `ascent',
23618 `descent', `lbearing' and `rbearing'.
23619 (compose-glyph-string-relative): Remove unused variables
23620 `lbearing', `rbearing' and `wadjust'.
23621 (compose-gstring-for-graphic): Remove unused variables `header',
23622 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23623 (compose-gstring-for-terminal): Remove unused variables `header'
23624 and `nchars'. Use `let', not `let*'.
23626 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23627 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23628 (Custom-buffer-done, custom-buffer-create-internal)
23629 (custom-browse-visibility-action, custom-browse-group-tag-action)
23630 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23631 (widget-magic-mouse-down-action, custom-toggle-parent)
23632 (custom-add-parent-links, custom-toggle-hide-variable)
23633 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23634 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23635 (custom-face-menu-create, custom-variable-menu-create, get)
23636 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23637 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23638 (customize-apropos): Remove unused variable `tests'.
23639 (custom-group-value-create): Remove unused variable `hidden-p'.
23640 (sort-fold-case): Declare.
23642 * cus-theme.el (custom-reset-standard-faces-list)
23643 (custom-reset-standard-variables-list): Declare.
23644 (customize-create-theme, custom-theme-revert, custom-theme-write)
23645 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23646 Mark unused parameters.
23648 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23650 * delim-col.el (delimit-columns-max): Move defvar before first use.
23652 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23653 (describe-char): Don't quote `lambda'. Mark unused parameter.
23655 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23656 (auto-insert): Declare.
23657 (desktop-restore-file-buffer): Rename desktop-* parameters;
23659 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23660 (desktop-buffer): Rename desktop-* parameters.
23662 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23663 (dframe-reposition-frame-xemacs, dframe-help-echo)
23664 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23665 Mark unused parameters.
23667 * dired-aux.el (backup-extract-version-start, overwrite-query)
23668 (overwrite-backup-query, rename-regexp-query)
23669 (rename-non-directory-query): Declare.
23670 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23671 (dired-add-entry): Remove unused variable `orig-file-name'.
23672 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23673 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23674 `dired-copy-preserve-time' directly.
23675 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23676 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23678 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23679 (dired-virtual-revert, dired-make-relative-symlink):
23680 Mark unused parameters.
23681 (manual-program): Declare.
23682 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23683 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23684 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23686 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23688 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23690 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23693 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23695 * electric.el (Electric-command-loop): Rename parameter
23696 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23698 * expand.el (expand-in-literal): Remove unused variable `here'.
23700 * facemenu.el (facemenu-add-new-color):
23701 Remove unused variable `docstring'.
23703 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23704 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23705 (face-attr-construct): Mark unused parameter. Doc fix.
23706 (read-color): Remove unused variable `hex-string'.
23708 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23709 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23710 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23711 (display-buffer-other-frame): Remove unused variable `old-window'.
23712 (kill-buffer-hook): Declare.
23713 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23714 Mark unused parameters.
23715 (after-find-file): Pass 1 to `auto-save-mode', not t.
23717 * files-x.el (auto-insert): Declare.
23718 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23720 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23721 variable `buf'. Mark unused parameter.
23722 (find-lisp-insert-directory): Mark unused parameter.
23724 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23725 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23726 (format-common-tail): Remove, unused.
23727 (format-deannotate-region): Remove unused variable `loc'.
23728 (format-annotate-region): Remove unused variable `p'.
23729 (format-annotate-single-property-change): Remove unused variables
23730 `default' and `tail'.
23732 * forms.el (read-file-filter): Declare.
23733 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23735 * frame.el (frame-creation-function-alist): Mark unused parameter.
23736 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23738 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23739 Remove unused parameters.
23740 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23741 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23743 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23744 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23745 (hfy-prepare-tag-map): Mark unused parameters.
23746 (htmlfontify-buffer): Use `called-interactively-p'.
23748 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23749 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23750 (ibuffer-do-occur): Mark unused parameters.
23751 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23752 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23754 * ibuffer.el: Don't quote `lambda'.
23755 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23756 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23757 Mark unused parameters.
23759 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23760 (ido-completing-read): Mark unused parameters.
23761 (ido-copy-current-word): Mark unused parameters;
23762 remove unused variable `name'.
23763 (ido-sort-merged-list): Remove unused parameter `dirs'.
23765 * ielm.el (ielm-input-sender): Mark unused parameter.
23766 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23767 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23768 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23769 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23770 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23772 * image-dired.el (image-dired-display-thumbs): Remove unused
23773 variables `curr-file' and `count'.
23774 (image-dired-remove-tag): Remove unused variable `start'.
23775 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23776 variable `curr-file'
23777 (image-dired-rotate-original): Remove unused variable `temp-file'.
23778 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23779 Remove unused variable `file'.
23780 (image-dired-gallery-generate): Remove unused variable `curr'.
23781 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23783 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23785 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23787 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23789 * isearch.el (minibuffer-history-symbol): Declare.
23790 (isearch-edit-string): Remove unused variable `err'.
23791 (isearch-message-prefix, isearch-message-suffix):
23792 Mark unused parameters.
23794 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23796 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23798 * makesum.el (double-column): Remove unused variable `cnt'.
23800 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23801 (ido-ignore-item-temp-list): Declare.
23803 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23804 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23805 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23806 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23809 * mouse-sel.el (mouse-extend-internal):
23810 Remove unused variable `orig-window-frame'.
23812 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23813 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23814 Move declarations before first use.
23815 (pcomplete-opt): Mark unused parameters; doc fix.
23817 * proced.el (proced-revert): Mark unused parameter.
23818 (proced-send-signal): Remove unused variable `err'.
23820 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23821 Rename parameter PREFIX-ARG to ARG.
23822 (ps-basic-plot-string, ps-basic-plot-whitespace):
23823 Mark unused parameters.
23825 * replace.el (replace-count): Define.
23826 (occur-revert-function): Mark unused parameters.
23827 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23828 (isearch-case-fold-search, isearch-string): Declare.
23829 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23830 bind `case-fold-search'. Remove unused variables `beg' and `end',
23832 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23833 COUNT and bind `replace-count'.
23834 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23837 * savehist.el (print-readably, print-string-length): Declare.
23839 * shadowfile.el (shadow-expand-cluster-in-file-name):
23840 Remove unused variable `cluster'.
23841 (shadow-copy-file): Remove unused variable `i'.
23842 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23843 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23844 (shadow-define-literal-group, shadow-define-regexp-group)
23845 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23847 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23848 (shell): Use `called-interactively-p'.
23849 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23851 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23852 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23853 (delete-backward-char): Remove unused variable `ocol'.
23854 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23855 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23856 (event-apply-hyper-modifier, event-apply-shift-modifier)
23857 (event-apply-control-modifier, event-apply-meta-modifier):
23858 Mark unused parameters.
23859 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23860 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23862 * speedbar.el (speedbar-ignored-directory-expressions)
23863 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23864 (speedbar-find-file, speedbar-dir-follow)
23865 (speedbar-directory-buttons-follow, speedbar-tag-find)
23866 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23867 (speedbar-buffers-line-directory, speedbar-buffer-click):
23868 Mark unused parameters.
23869 (speedbar-tag-file): Remove unused variable `mode'.
23870 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23872 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23874 * talk.el (talk): Remove unused variable `display'.
23876 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23877 (tar-write-region-annotate): Mark unused parameter.
23879 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23880 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23881 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23882 warning by another.
23884 * time-stamp.el (time-stamp-string-preprocess):
23885 Remove unused variable `require-padding'.
23887 * tree-widget.el (widget-glyph-enable): Declare.
23888 (tree-widget-action): Mark unused parameter.
23890 * w32-fns.el (x-get-selection): Mark unused parameter.
23891 (autoload-make-program, generated-autoload-file): Declare.
23893 * wdired.el (wdired-revert): Mark unused parameters.
23894 (wdired-xcase-word): Remove unused variable `err'.
23896 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23897 (whitespace-help-scroll): Remove unused variable `data-help'.
23899 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23900 (widget-image-insert, widget-after-change, default)
23901 (widget-default-format-handler, widget-default-notify)
23902 (widget-default-prompt-value, widget-info-link-action)
23903 (widget-url-link-action, widget-function-link-action)
23904 (widget-variable-link-action, widget-file-link-action)
23905 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23906 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23907 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23908 (widget-insert-button-action, widget-delete-button-action, visibility)
23909 (widget-documentation-link-action, widget-documentation-string-action)
23910 (widget-const-prompt-value, widget-regexp-match, symbol)
23911 (widget-coding-system-prompt-value)
23912 (widget-key-sequence-value-to-external, sexp)
23913 (widget-sexp-value-to-internal, character, vector, cons)
23914 (widget-choice-prompt-value, widget-boolean-prompt-value)
23915 (widget-color--choose-action): Mark unused parameters.
23916 (widget-item-match-inline, widget-choice-match-inline)
23917 (widget-checklist-match, widget-checklist-match-inline)
23918 (widget-group-match): Rename parameter VALUES to VALS.
23919 (widget-field-value-set): Remove unused variable `size'.
23920 (widget-color-action): Remove unused variables `value' and `start'.
23922 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23923 variable `dir'. Doc fix.
23924 (windmove-find-other-window): Don't pass it.
23926 * window.el (count-windows): Mark unused parameter.
23927 (bw-adjust-window): Remove unused variable `err'.
23929 * woman.el (woman-file-name): Remove unused variable `default'.
23930 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23931 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23932 (global-font-lock-mode): Declare.
23933 (woman-decode-region): Mark unused parameter.
23934 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23936 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23937 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23938 (x-dnd-handle-moz-url): Remove unused variable `title'.
23939 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23941 * xml.el (xml-parse-tag, xml-parse-attlist):
23942 Remove unused variable `pos'.
23944 2011-04-19 Glenn Morris <rgm@gnu.org>
23946 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23947 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23948 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23949 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23950 * calendar/cal-html.el (cal-html-insert-minical):
23951 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23952 (calendar-mark-date-pattern):
23953 Prefix "unused" locals.
23955 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23956 optional argument `style'.
23958 * calendar/appt.el (appt-make-list):
23959 * calendar/cal-china.el (calendar-chinese-date-string):
23960 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23961 (diary-hebrew-yahrzeit):
23962 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23963 * calendar/calendar.el (calendar-generate-window):
23964 * calendar/time-date.el (time-to-days):
23965 Remove unused local variables.
23967 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23969 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23970 glyphless-char-display table.
23971 (tabulated-list-glyphless-char-display): New var.
23973 2011-04-18 Sam Steingold <sds@gnu.org>
23975 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23976 to acknowledgments.
23978 2011-04-17 Glenn Morris <rgm@gnu.org>
23980 * calendar/diary-lib.el (diary-sexp-entry):
23981 * calendar/holidays.el (holiday-sexp):
23982 Set debug-on-error rather than the removed stack-trace-on-error.
23984 2011-04-16 Glenn Morris <rgm@gnu.org>
23986 * progmodes/f90.el: Use lexical-binding.
23987 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23989 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23991 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23992 (mail-mode): Setup mailalias completion here instead.
23993 * mail/mailalias.el: Use lexical-binding.
23994 (pattern, mailalias-done): Declare dynamic.
23995 (mail-completion-at-point-function): New function, from mail-complete.
23996 (mail-complete): Use it.
23997 (mail-completion-expand): New function.
23998 (mail-get-names): Use it.
23999 (mail-directory, mail-directory-process, mail-directory-stream):
24000 Don't use `pattern' for lexically bound arg.
24002 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24004 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24005 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24006 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24008 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24009 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24010 (byte-interactive-p): Define them again, for use when inlining
24013 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24015 * loadup.el: Use `string-to-number', not `string-to-int'.
24017 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24019 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24020 gud-gdb-complete-command.
24021 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24022 (gud-gdb-completion-at-point): New function.
24023 (gud-gdb-completions): Remove.
24025 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24027 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24028 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24029 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24030 whether `executable-find' is bound.
24032 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24034 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24036 * minibuffer.el (completion-in-region-mode-predicate)
24037 (completion-in-region-mode--predicate): New vars.
24038 (completion-in-region, completion-in-region--postch)
24039 (completion-in-region-mode): Use them.
24040 (completion--capf-wrapper): Also return the hook function.
24041 (completion-at-point, completion-help-at-point):
24042 Adjust and provide a predicate.
24044 Preserve arg names for advice of subr and lexical functions (bug#8457).
24045 * help-fns.el (help-function-arglist): Consolidate the subr and
24046 new-byte-code cases. Add argument `preserve-names' to extract names
24047 from the docstring when needed.
24048 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24049 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24050 (ad-arglist): Use help-function-arglist's new arg.
24051 (ad-definition-type): Use cond.
24053 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24055 * autorevert.el (auto-revert-handler):
24056 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24057 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24058 Don't quote lambda.
24060 * image-mode.el (image-transform-set-scale):
24061 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24063 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24065 * net/network-stream.el (network-stream-open-starttls): Only do
24066 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24067 Upgrades via gnutls-cli are too slow to be done opportunistically.
24069 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24071 * dframe.el (dframe-current-frame): Remove spurious quote.
24073 2011-04-12 Glenn Morris <rgm@gnu.org>
24075 * calendar/cal-tex.el (cal-tex-end-document):
24076 Try to automatically use latin1 input if needed.
24078 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24079 Don't try to cons a mark onto an empty element.
24081 2011-04-11 Leo Liu <sdl.web@gmail.com>
24083 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24085 (ido-kill-buffer-at-head): Support killing virtual buffers.
24087 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24089 * minibuffer.el (completion-show-inline-help): New var.
24090 (completion--do-completion, minibuffer-complete)
24091 (minibuffer-force-complete, minibuffer-complete-word):
24092 Inhibit minibuffer messages if completion-show-inline-help is nil.
24094 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24095 to avoid interference from inline help (Bug#5849).
24097 2011-04-10 Leo Liu <sdl.web@gmail.com>
24099 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24102 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24104 * image-mode.el (image-toggle-display-image): Signal an error if
24106 (image-transform-mode, image-transform-resize)
24107 (image-transform-set-rotation): Doc fix.
24108 (image-transform-set-resize): Delete.
24109 (image-transform-set-scale, image-transform-fit-to-height)
24110 (image-transform-fit-to-width): Handle image-toggle-display-image
24111 and image-transform-resize directly.
24113 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24115 * doc-view.el (doc-view-fit-width-to-window)
24116 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24117 New functions for fitting the shown image to the Emacs window size.
24118 (doc-view-mode-map): Add bindings for the new functions.
24120 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24122 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24123 Fix typo in docstring.
24125 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24127 * files.el (file-size-human-readable): Produce one digit after
24128 decimal, like "ls -lh" does.
24130 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24131 the file size representation.
24133 * simple.el (list-processes): If async subprocesses are not
24134 available, error out with a clear error message.
24136 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24138 * help.el (help-form-show): New function, to be called from C.
24139 Put help-form output in a buffer named differently than *Help*.
24141 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24143 * files.el (file-size-human-readable): New function.
24145 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24146 computing the representation inline. Don't require `cl'.
24148 2011-04-08 Glenn Morris <rgm@gnu.org>
24150 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24152 * net/browse-url.el (browse-url-firefox):
24153 Test system-type, not system-configuration.
24155 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24156 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24157 Use log-edit-empty-buffer-p. (Bug#7598)
24159 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24160 (rlogin-mode-map): Initialize in the defvar.
24161 (rlogin): Use ignore-errors.
24163 * replace.el (occur-mode-map): Some fixes for menu items.
24165 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24167 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24169 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24171 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24172 issuing unused warnings.
24174 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24177 * simple.el: Lisp reimplement of list-processes. Based on an
24178 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24179 (process-menu-mode): New major mode.
24180 (list-processes--refresh, list-processes):
24181 (process-menu-visit-buffer): New functions.
24183 * files.el (save-buffers-kill-emacs): Don't assume any return
24184 value of list-processes, which is undocumented anyway.
24186 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24188 * emacs-lisp/tabulated-list.el: New file.
24190 * emacs-lisp/package.el: Use Tabulated List mode.
24191 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24192 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24193 table format using Tabulated List mode variables.
24194 (package--push): New macro, replacing package-list-maybe-add.
24195 (package-menu--generate): Use package--push. Renamed from
24196 package--generate-package-list.
24197 (package-menu-refresh, list-packages): Use it.
24198 (package-menu--print-info): Rename from package-print-package.
24199 Return insertion data instead of inserting it directly.
24200 (package-menu-describe-package, package-menu-execute):
24201 Use tabulated-list-get-id.
24202 (package-menu-mark-delete, package-menu-mark-install)
24203 (package-menu-mark-unmark, package-menu-backup-unmark)
24204 (package-menu-mark-obsolete-for-deletion):
24205 Use tabulated-list-put-tag.
24206 (package--list-packages, package-menu-revert)
24207 (package-menu-get-package, package-menu-get-version)
24208 (package-menu-sort-by-column): Functions deleted.
24209 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24210 (package-menu--status-predicate, package-menu--version-predicate)
24211 (package-menu--name-predicate)
24212 (package-menu--description-predicate): Handle arguments in the
24213 Tabulated List format.
24214 (package-list-packages-no-fetch): Call list-packages.
24216 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24218 * files.el (after-find-file-from-revert-buffer): Remove variable.
24219 (after-find-file): Don't bind it.
24220 (revert-buffer-in-progress-p): New variable.
24221 (revert-buffer): Bind it.
24222 Pass nil for `after-find-file-from-revert-buffer'.
24224 * saveplace.el (save-place-find-file-hook): Use new variable
24225 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24227 2011-04-06 Glenn Morris <rgm@gnu.org>
24229 * Makefile.in (AUTOGEN_VCS): New variable.
24230 (autoloads): Use $AUTOGEN_VCS.
24232 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24233 * calendar/calendar.el (calendar-mode-map):
24234 Check for toolkit scroll bars. (Bug#8305)
24236 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24238 * minibuffer.el (completion-in-region--postch)
24239 (completion-in-region-mode): Remove unnecessary messages.
24241 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24243 * font-lock.el (font-lock-refresh-defaults):
24244 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24245 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24247 * info.el (Info-directory-list, Info-read-node-name-2)
24248 (Info-split-parameter-string): Doc fixes.
24249 (Info-virtual-nodes): Reflow docstring.
24250 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24251 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24252 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24253 Fix typos in docstrings.
24254 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24255 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24256 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24257 (Info-restore-desktop-buffer): Mark unused parameters.
24258 (Info-directory-find-file, Info-directory-find-node)
24259 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24260 (Info-virtual-index-find-node, Info-apropos-find-file)
24261 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24262 Mark unused parameters; fix typos in docstrings.
24263 (Info-virtual-index): Remove unused local variable `nodename'.
24265 2011-04-05 Deniz Dogan <deniz@dogan.se>
24267 * net/rcirc.el: Update my e-mail address.
24268 (rcirc-mode-map): Remove M-o binding.
24270 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24272 * startup.el (command-line): Save the cursor's theme-face
24273 directly, instead of using face-override-spec.
24275 * custom.el (load-theme): Minor optimization in assigning faces.
24277 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24279 * help-fns.el (describe-variable): Complete all variables having
24280 documentation, including keywords.
24281 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24283 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24285 Convert to lexical-binding.
24287 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24288 (bs--get-marked-string, bs--get-modified-string)
24289 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24290 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24291 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24293 * ehelp.el (electric-help-execute-extended)
24294 (electric-help-ctrl-x-prefix):
24295 * hexl.el (hexl-revert-buffer-function):
24296 * linum.el (linum-after-change, linum-after-scroll):
24297 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24299 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24301 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24308 * epg.el: Use lexical binding.
24310 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24312 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24314 * textmodes/flyspell.el (flyspell-word): Recognize default
24315 dictionary case for flyspell-mark-duplications-exceptions.
24316 Use regexp matching for languages.
24317 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24318 default dictionary (Bug#7926).
24320 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24322 * emacs-lisp/package.el (package--with-work-buffer):
24323 Recognize https URLs.
24325 * net/network-stream.el: Move from gnus/proto-stream.el.
24326 Change prefix to network-stream throughout.
24327 (open-protocol-stream): Merge into open-network-stream, leaving
24328 open-protocol-stream as an alias. Handle nil BUFFER args.
24330 * subr.el (open-network-stream): Move to net/network-stream.el.
24332 2011-04-02 Glenn Morris <rgm@gnu.org>
24334 * find-dired.el (find-exec-terminator): New option.
24335 (find-ls-option): Test for -ls support.
24336 (find-ls-subdir-switches): Test for -b in find-ls-option.
24337 (find-dired, find-grep-dired): Doc fixes.
24338 (find-dired): Use find-exec-terminator.
24340 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24341 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24342 (find-name-arg): Remove purecopy.
24344 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24345 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24346 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24347 accordingly. Don't add the null-device if not needed.
24349 * files.el (save-some-buffers): Doc fix.
24351 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24353 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24355 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24357 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24358 Use `dolist' rather than `mapcar'.
24360 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24362 Add lexical binding.
24364 * subr.el (apply-partially): Use new closures rather than CL.
24365 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24366 (dolist, dotimes): Use slightly different expansion for lexical code.
24367 (functionp): Move to C.
24368 (letrec): New macro.
24369 (with-wrapper-hook): Use it and apply-partially instead of CL.
24370 (eval-after-load): Preserve lexical-binding.
24371 (save-window-excursion, with-output-to-temp-buffer): Turn them
24374 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24376 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24378 (help-add-fundoc-usage): Don't add `Not documented'.
24379 (help-function-arglist): Handle closures, subroutines, and new
24380 byte-code-functions.
24381 (help-make-usage): Remove leading underscores.
24382 (describe-function-1): Handle closures.
24383 (describe-variable): Use special-variable-p for completion.
24385 * files.el (lexical-binding): Declare safe.
24387 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24388 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24389 (pcase): Add `let' pattern.
24390 Change memoization so it actually works.
24391 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24392 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24395 * emacs-lisp/macroexp.el: Use lexical binding.
24396 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24397 Don't convert ' to #' without checking that it's indeed quoting
24400 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24401 Use eval-sexp-add-defvars.
24402 (eval-sexp-add-defvars): New fun.
24404 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24406 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24408 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24409 than the internal `byte-compile-lambda'.
24410 (defmethod): Don't hide code under quotes.
24411 (eieio-defmethod): New `code' argument.
24413 * emacs-lisp/eieio-comp.el: Remove.
24415 * emacs-lisp/edebug.el (edebug-eval-defun)
24416 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24417 (edebug-toggle): Avoid `eval'.
24419 * emacs-lisp/disass.el (disassemble-internal): Handle new
24421 (disassemble-1): Handle new byte codes.
24423 * emacs-lisp/cl.el (pushnew): Silence warning.
24425 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24426 (cl-byte-compile-throw): Remove.
24427 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24429 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24432 * emacs-lisp/cconv.el: New file.
24434 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24435 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24436 (byte-compile-initial-macro-environment):
24437 Handle declare-function here.
24438 (byte-compile--lexical-environment): New var.
24439 (byte-stack-ref, byte-stack-set, byte-discardN)
24440 (byte-discardN-preserve-tos): New lap codes.
24441 (byte-interactive-p): Don't use any more.
24442 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24444 (byte-compile-lapcode): Use them and handle new lap codes.
24445 (byte-compile-obsolete): Remove.
24446 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24447 (byte-compile-arglist-warn): Check late def of inlinable funs.
24448 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24449 since they should have been expanded by now.
24450 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24451 (byte-compile-from-buffer): Remove unused second arg.
24452 (byte-compile-preprocess): New function.
24453 (byte-compile-toplevel-file-form): New function to distinguish
24454 file-form calls from outside from file-form calls from hunk-handlers.
24455 (byte-compile-file-form): Simplify.
24456 (byte-compile-file-form-defsubst): Remove.
24457 (byte-compile-file-form-defmumble): Simplify now that
24458 byte-compile-lambda always returns a byte-code-function.
24459 (byte-compile): Preprocess.
24460 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24461 Remove, not used any more.
24462 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24463 (byte-compile-make-args-desc): New funs.
24464 (byte-compile-lambda): Handle lexical functions. Always return
24465 a byte-code-function.
24466 (byte-compile-reserved-constants): New var, to make up room for
24467 closed-over variables.
24468 (byte-compile-constants-vector): Obey it.
24469 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24470 (byte-compile-macroexpand-declare-function): New function.
24471 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24472 byte-code-functions.
24473 (byte-compile-form): Check obsolescence here.
24474 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24475 (byte-compile-variable-ref): Remove.
24476 (byte-compile-dynamic-variable-op): New fun.
24477 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24478 (byte-compile-variable-set): New funs.
24479 (byte-compile-discard): Add 2 args.
24480 (byte-compile-stack-ref, byte-compile-stack-set)
24481 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24482 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24483 macroexpand-all instead.
24484 (byte-compile-quote-form): Remove.
24485 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24486 (byte-compile-bind, byte-compile-unbind): New funs.
24487 (byte-compile-let): Handle let* and lexical binding.
24488 (byte-compile-let*): Remove.
24489 (byte-compile-catch, byte-compile-unwind-protect)
24490 (byte-compile-track-mouse, byte-compile-condition-case):
24491 Handle a new :fun-body form, used for lexical scoping.
24492 (byte-compile-save-window-excursion)
24493 (byte-compile-with-output-to-temp-buffer): Remove.
24494 (byte-compile-defun): Simplify.
24495 (byte-compile-stack-adjustment): New fun.
24496 (byte-compile-out): Use it.
24497 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24499 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24502 * emacs-lisp/byte-opt.el: Use lexical binding.
24503 (byte-inline-lapcode): Remove (to bytecomp).
24504 (byte-compile-inline-expand): Pay attention to inlining to/from
24505 lexically bound code.
24506 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24508 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24509 any more and don't call compiler-macros.
24510 (byte-compile-splice-in-already-compiled-code): Remove.
24511 (byte-code): Don't inline any more.
24512 (disassemble-offset): Receive `bytes' as argument rather than via
24514 (byte-compile-tag-number): Declare before first use.
24515 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24516 `return' even if make-spliceable.
24517 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24518 obsolete interactive-p.
24519 (byte-optimize-lapcode): Optimize new lap-codes.
24520 Don't trip up on new form of `byte-constant' lap code.
24522 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24524 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24526 * custom.el (custom-initialize-default, custom-declare-variable):
24529 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24531 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24532 (COMPILE_FIRST): Add macroexp and cconv.
24533 * makefile.w32-in: Mirror changes in Makefile.in.
24535 * vc/cvs-status.el:
24539 * vc/smerge-mode.el:
24540 * textmodes/bibtex-style.el:
24541 * textmodes/css-mode.el:
24549 * emacs-lisp/smie.el:
24552 * abbrev.el: Use lexical binding.
24554 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24556 * info.el (info-display-manual): New function.
24558 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24560 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24562 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24564 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24565 an entry for that server in rcirc-authinfo. (Bug#8385)
24567 2011-03-31 Glenn Morris <rgm@gnu.org>
24569 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24571 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24573 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24575 * progmodes/python.el (python-default-interpreter)
24576 (python-python-command-args, python-jython-command-args)
24577 (python-which-shell, python-which-args, python-which-bufname)
24578 (python-file-queue, python-comint-output-filter-function)
24579 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24580 variables and functions.
24582 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24584 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24585 (completion-in-region-mode): New minor mode.
24586 (completion-in-region): Use it.
24587 (completion-in-region--data, completion-in-region-mode-map): New vars.
24588 (completion-in-region--postch): New function.
24589 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24591 (completion--capf-wrapper): New function.
24592 (completion-at-point): Use it to track well-behavedness of
24594 (completion-help-at-point): New command.
24596 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24598 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24599 syntax class to search for whitespace on a single line
24600 (Message-ID: <4D938140.4030905@redhat.com>).
24602 2011-03-30 Leo Liu <sdl.web@gmail.com>
24604 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24606 (edit-abbrevs-map): Bind them here.
24607 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24609 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24611 * allout.el (allout-hide-by-annotation, allout-flag-region):
24612 Reduce possibility of overlay leakage by making them volatile.
24614 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24615 hash is not shared between buffers. Mode initialization is
24616 responsible for giving it a useful starting value.
24617 (allout-item-span): Reduce possibility of overlay leakage by
24618 making them volatile.
24619 (allout-widgets-count-buttons-in-region): Add diagnostic function
24620 for tracking down button overlay leaks.
24622 2011-03-29 Leo Liu <sdl.web@gmail.com>
24624 * ido.el (ido-read-internal): Use the default history var
24625 minibuffer-history if no HISTORY is specified.
24627 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24629 * net/imap.el (imap-shell-open, imap-process-connection-type):
24630 Use imap-process-connection-type for 'shell' streams as well as
24631 Kerberos, SSL, other subprocesses.
24633 2011-03-28 Leo Liu <sdl.web@gmail.com>
24635 * abbrev.el (abbrev-table-empty-p): New function.
24636 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24637 nonempty ones. (Bug#5937)
24639 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24641 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24643 2011-03-27 Leo Liu <sdl.web@gmail.com>
24645 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24646 for foreground and background colors.
24647 (ansi-color-make-color-map): Adapt.
24649 2011-03-25 Leo Liu <sdl.web@gmail.com>
24651 * midnight.el (midnight-time-float): Remove. Note it calculates
24652 the microsecond component incorrectly and seconds-to-time does the
24654 Remove redundant (require 'timer).
24656 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24657 (ido-completions): Remove unused arguments. (Bug#8329)
24659 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24661 * minibuffer.el (completion--flush-all-sorted-completions):
24662 Remove itself from hook.
24663 (completion-at-point): Let the functions perform the completion
24664 immediately and return nil or t.
24665 * comint.el (comint-dynamic-complete-functions): Now identical to
24666 completion-at-point-functions.
24667 (comint-dynamic-list-input-ring): Remove unused var `index'.
24668 (comint--match-partial-filename, comint--unquote&expand-filename):
24669 New funs, split from comint-match-partial-filename.
24670 (comint-dynamic-complete): Use completion-at-point.
24671 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24673 2011-03-24 Drew Adams <drew.adams@oracle.com>
24675 * thingatpt.el: Support `defun'.
24677 2011-03-23 Leo Liu <sdl.web@gmail.com>
24679 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24681 * help-mode.el (help-mode-finish): Tweak regexp.
24683 2011-03-23 Glenn Morris <rgm@gnu.org>
24685 * eshell/esh-opt.el (eshell-eval-using-options):
24686 Do not bind unused local variable `eshell-option-stub'.
24688 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24690 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24692 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24693 keymap variable in `with-no-warnings' to avoid a warning when the
24694 keymap has been already `defconst'ed.
24696 2011-03-22 Leo Liu <sdl.web@gmail.com>
24698 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24699 encode all chars in abbrevs; otherwise use emacs-mule or
24700 utf-8-emacs. (Bug#8308)
24702 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24704 * simple.el (backward-delete-char-untabify):
24705 Avoid warning about using `delete-backward-char'.
24707 * image.el (image-type-file-name-regexps): Make it variable.
24708 `imagemagick-register-types' modifies it, and the user may want
24709 to add new extensions for known image types.
24710 (imagemagick-register-types): Throw error if not using ImageMagick.
24712 2011-03-22 Leo Liu <sdl.web@gmail.com>
24714 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24715 located before rcirc-prompt-end-marker.
24716 (rcirc-complete): Error if point is not after rcirc prompt.
24717 Handle the case when table is nil.
24718 (rcirc-user-authenticated): Define to fix compiler warning.
24720 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24722 * custom.el (custom--inhibit-theme-enable): Make it affect only
24723 custom-theme-set-variables and custom-theme-set-faces.
24724 (provide-theme): Ignore custom--inhibit-theme-enable.
24725 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24726 (custom-enabling-themes): Delete variable.
24727 (enable-theme): Accept only loaded themes as arguments.
24728 Ignore the special custom-enabled-themes variable.
24729 (custom-enabled-themes): Forbid themes from setting this.
24730 Eliminate use of custom-enabling-themes.
24731 (custom-push-theme): Quote "changed" custom var entry.
24733 2011-03-21 Leo Liu <sdl.web@gmail.com>
24735 * ido.el (ido-read-internal): Add ido-selected to history instead
24738 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24740 * subr.el (deferred-action-list, deferred-action-function):
24743 2011-03-21 Leo Liu <sdl.web@gmail.com>
24745 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24746 change on 2011-02-13 (bug#8309).
24748 * minibuffer.el (read-file-name-function): Change default value.
24749 (read-file-name--defaults): Rename from read-file-name-defaults.
24750 (read-file-name-default): Rename from read-file-name.
24751 (read-file-name): Call read-file-name-function.
24753 2011-03-21 Glenn Morris <rgm@gnu.org>
24755 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24758 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24760 * cus-theme.el: Add missing provide statement.
24761 (customize-create-theme): Extract theme value correctly.
24762 (custom-theme-visit-theme): Autoload.
24763 (customize-create-theme): Prompt before inserting default faces.
24765 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24767 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24768 units and musical notes.
24770 2011-03-20 Leo Liu <sdl.web@gmail.com>
24772 * ido.el (ido-read-internal): Use completing-read-default.
24773 (ido-completing-read): Fix compatibility with completing-read.
24775 2011-03-20 Christian Ohler <ohler@gnu.org>
24777 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24778 (ert-delete-all-tests): Use `called-interactively-p' rather than
24780 (ert--make-xrefs-region): Respect END.
24782 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24784 * dired-aux.el (dired-create-directory): Signal an error if the
24785 directory already exists (Bug#8246).
24787 * facemenu.el (list-colors-display): Call list-faces-display
24788 inside with-help-window.
24789 (list-colors-print): Use display property to align the final
24790 column, instead of checking window-width.
24792 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24794 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24795 windows-nt systems.
24796 (emerge-protect-metachars): Quote correctly for ms-dos and
24797 windows-nt systems.
24799 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24801 * info.el (info-initialize): Replace all uses of `:' with
24802 path-separator for compatibility with non-Unix systems.
24803 Cache quoting of path-separator. (Bug#8258)
24805 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24807 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24808 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24809 (mouse-avoidance-mode): Fix typos in docstrings.
24811 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24813 * startup.el (package-subdirectory-regexp): Move from package.el.
24814 Omit \\` and \\', and let callers add them.
24816 * emacs-lisp/package.el (package-strip-version)
24817 (package-load-all-descriptors): Add \\` and \\' to
24818 package-subdirectory-regexp before using it.
24819 (package-untar-buffer): New arg DIR; ensure that file untars only
24820 into this expected directory. Remove superfluous delete-region.
24821 (package-unpack): Caller changed.
24822 (package-tar-file-info): Use package-subdirectory-regexp.
24824 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24826 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24827 diff-mode-shared-map (bug#8284).
24828 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24830 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24832 * calendar/time-date.el (format-seconds): Use assoc instead of
24833 assoc-string, since assoc-string doesn't exist in XEmacs.
24835 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24837 * custom.el (custom-known-themes): Reflow docstring.
24838 (custom-theme-load-path): Fix typo in docstring.
24839 (load-theme): Fix typo in error message.
24840 (custom-available-themes, custom-variable-theme-value):
24841 Use `let', not `let*'.
24843 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24845 * calc/README: Mention inclusion of musical notes.
24847 * calc/calc-units.el (calc-lu-quant): Rename from
24848 `calc-logunits-quantity'.
24849 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24850 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24851 (calc-db): Rename from `calc-dblevel'.
24852 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24853 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24854 (calc-np): Rename from `calc-nplevel'.
24855 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24856 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24857 (calc-lu-plus): Rename from `calc-logunits-add'.
24858 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24859 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24860 (calc-lu-minus): Rename from `calc-logunits-sub'.
24861 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24862 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24863 (calc-lu-times): Rename from `calc-logunits-mul'.
24864 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24865 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24866 (calc-lu-divide): Rename from `calc-logunits-div'.
24867 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24868 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24870 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24871 functions being autoloaded.
24873 * calc/calc.el (calc-lu-power-reference): Rename from
24874 `calc-logunits-power-reference'.
24875 (calc-lu-field-reference): Rename from
24876 `calc-logunits-field-reference'.
24878 * calc/calc-help.el (calc-l-prefix-help):
24879 Mention musical note functions.
24881 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24883 * minibuffer.el (completion-all-sorted-completions):
24884 Use :completion-cycle-penalty text property if present.
24886 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24888 * allout.el (allout-yank-processing): Adjust for new rebulleting
24889 regime so bullet being yanked is used without prompting the user
24892 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24894 * startup.el (command-line): Warn the user that _emacs is deprecated.
24896 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24898 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24899 (delphi-verbose, delphi-comment-face, delphi-string-face)
24900 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24901 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24902 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24903 (delphi-new-comment-line, delphi-font-lock-defaults)
24904 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24905 Fix typos in docstrings.
24907 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24909 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24910 Invert the roles of character and string values for INSTEAD, so a
24911 string is used for the more common case of a defaulting prompt.
24913 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24915 * progmodes/ruby-mode.el (ruby-backward-sexp):
24916 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24917 * play/gamegrid.el (gamegrid-make-face):
24918 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24919 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24920 * notifications.el (notifications-notify):
24921 * net/xesam.el (xesam-search-engines):
24922 * net/quickurl.el (quickurl-list-insert):
24923 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24925 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24927 * startup.el (command-line): Update package subdirectory regexp.
24929 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24931 * allout.el (allout-abbreviate-flattened-numbering)
24932 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24934 * subr.el (read-char-choice): Only show the cursor after the prompt,
24935 not after the answer.
24937 2011-03-15 Kevin Ryde <user42@zip.com.au>
24939 * help-fns.el (variable-at-point): Skip leading quotes, if any
24942 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24944 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24947 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24949 * shell.el (shell): When called interactively, offer to change the
24950 shell file name on remote hosts.
24952 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24954 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24955 integration for LDAP parameters. The host, base, user or binddn,
24956 and secret tokens can be specified in a netrc file, for instance.
24957 This is optional because an `auth-source' parameter must be
24958 specified in the search attributes.
24960 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24962 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24964 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24966 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24967 into declaration. Remove redundant and harmful binding.
24969 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24971 * files.el (file-ownership-preserved-p): Pass `integer' as an
24972 explicit 2nd argument to `file-attributes'. If the file's owner
24973 is the Administrators group on Windows, and the current user is
24974 Administrator, consider that a match.
24976 * server.el (server-ensure-safe-dir): Consider server directory
24977 safe on MS-Windows if its owner is the Administrators group while
24978 the current Emacs user is Administrator. Use `=' to compare
24979 numerical UIDs, since they could be integers or floats.
24981 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24983 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24985 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24987 Sync with Tramp 2.2.1.
24989 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24991 * net/trampver.el: Update release number.
24993 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24995 * progmodes/compile.el (compilation--previous-directory): Fix up
24996 various nil/dead-marker mismatches (bug#8014).
24997 (compilation-directory-properties, compilation-error-properties):
24998 Don't call it at a position past the one we're about to change.
25000 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25001 Disable obsolescence warnings in the file that declares it.
25003 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25005 * allout-widgets.el (allout-widgets-tally):
25006 Initialize allout-widgets-tally as a hash table rather than nil to
25007 prevent mode-line redisplay warnings. Also, clarify the module
25008 description and fix a comment typo.
25010 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25012 * help-fns.el (describe-variable): Don't complete keywords.
25013 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25015 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25017 * emacs-lisp/package.el (package-version-join): Impose a standard
25018 string representation for pre/alpha/beta version lists.
25019 (package-unpack-single): Standardize the directory name by passing
25020 it through package-version-join.
25021 (package-strip-rcs-id): Accept any version string that does not
25022 signal an error in version-to-list.
25024 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25026 * simple.el (delete-trailing-whitespace): Return nil for the
25027 benefit of `write-file-functions'.
25029 2011-03-10 Glenn Morris <rgm@gnu.org>
25031 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25033 * vc/vc-git.el (vc-git-program): New option.
25034 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25035 (vc-git--call): Use it.
25037 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25039 * cus-edit.el (Custom-newline): If no button at point, look
25040 for a subgroup button at start-of-line. (Bug#2298)
25042 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25044 2011-03-10 Julien Danjou <julien@danjou.info>
25046 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25047 `cursor-type' is nil.
25049 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25051 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25053 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25055 * allout.el: Change so yank of distinctive-bullet items
25056 preserves the existing header prefix, rebulleting it if necessary,
25057 rather than replacing it. This is necessary for proper operation
25058 of cooperative addons like allout-widgets.
25059 (allout-make-topic-prefix, allout-rebullet-heading):
25060 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25061 value as alternate bullet to be used, instead of prompting the user
25062 for a bullet character.
25064 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25066 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25067 Do not use `tramp-file-name-port', because this returns also
25068 `tramp-default-port'.
25070 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25072 * net/rcirc.el (rcirc-handler-001): Remove useless
25073 with-rcirc-process-buffer.
25074 (rcirc-check-auth-status): Swap arguments to string-match.
25076 2011-03-09 Glenn Morris <rgm@gnu.org>
25078 * shell.el (shell-mode):
25079 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25081 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25082 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25084 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25086 * emacs-lisp/package.el (package-refresh-contents)
25087 (package-menu-execute): Use condition-case-no-debug.
25089 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25091 * simple.el (shell-command-to-string): Use `process-file'.
25093 * emacs-lisp/package.el (package-tar-file-info): Handle also
25096 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25097 Use `equal' for upload base check.
25099 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25101 * textmodes/texinfo.el (texinfo-environments):
25102 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25104 2011-03-08 Glenn Morris <rgm@gnu.org>
25106 * cus-start.el (cursor-in-non-selected-windows):
25107 Fix :set quoting oddness. (Bug#8192)
25109 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25110 in some setf expressions. (Bug#2159)
25112 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25114 * custom.el (custom-available-themes): Return themes in
25115 alphabetical order.
25117 See ChangeLog.15 for earlier changes.
25119 ;; Local Variables:
25123 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25125 This file is part of GNU Emacs.
25127 GNU Emacs is free software: you can redistribute it and/or modify
25128 it under the terms of the GNU General Public License as published by
25129 the Free Software Foundation, either version 3 of the License, or
25130 (at your option) any later version.
25132 GNU Emacs is distributed in the hope that it will be useful,
25133 but WITHOUT ANY WARRANTY; without even the implied warranty of
25134 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25135 GNU General Public License for more details.
25137 You should have received a copy of the GNU General Public License
25138 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.