1 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3 * xt-mouse.el (xterm-mouse-event-read): Remove.
4 (xterm-mouse--read-event-sequence-1000)
5 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
7 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
9 * term/xterm.el (xterm-function-map): Support format used with
10 formatOtherKeys=1 (bug#13839).
12 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
13 (with-no-warnings): Use `declare'.
15 * whitespace.el (whitespace-enable-predicate): New variable.
16 (whitespace-enable-predicate): Use it.
18 * comint.el (comint-send-input, comint-snapshot-last-prompt)
19 (comint-output-filter, comint-update-fence):
20 Use with-silent-modifications.
22 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
24 * replace.el (occur-read-regexp-defaults-function): New var.
25 (occur-read-regexp-defaults): New defun.
26 (occur-read-primary-args): Propagate above change (bug#13892).
28 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
30 * mouse.el (mouse-drag-track): Remove left-over debugging code.
32 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
34 Major rewrite due to changed D-Bus interface of GVFS 1.14.
36 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
37 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
38 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
40 (tramp-gvfs-file-name-handler-alist) [directory-files]
41 [directory-files-and-attributes, file-exists-p, file-modes]:
42 Use Tramp default handler.
43 [file-acl, file-selinux-context, process-file, set-file-acl]:
44 [set-file-modes, set-file-selinux-context, shell-command]:
45 [start-file-process]: Remove handler.
46 [verify-visited-file-modtime]: New handler.
47 (tramp-gvfs-dbus-string-to-byte-array)
48 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
49 calls of `dbus-string-to-byte-array' and
50 `tramp-gvfs-dbus-byte-array-to-string'.
51 (tramp-gvfs-handle-copy-file)
52 (tramp-gvfs-handle-delete-directory)
53 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
54 (tramp-gvfs-handle-file-directory-p)
55 (tramp-gvfs-handle-file-executable-p)
56 (tramp-gvfs-handle-file-name-all-completions)
57 (tramp-gvfs-handle-file-readable-p)
58 (tramp-gvfs-handle-file-writable-p)
59 (tramp-gvfs-handle-insert-directory)
60 (tramp-gvfs-handle-insert-file-contents)
61 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
62 (tramp-gvfs-handle-set-visited-file-modtime)
63 (tramp-gvfs-handle-write-region): Rewrite.
64 (tramp-gvfs-handle-file-acl)
65 (tramp-gvfs-handle-file-selinux-context)
66 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
67 (tramp-gvfs-handle-set-file-modes)
68 (tramp-gvfs-handle-set-file-selinux-context)
69 (tramp-gvfs-handle-shell-command)
70 (tramp-gvfs-handle-start-file-process)
71 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
72 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
73 over the symlinks. Fix user handling.
74 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
76 (tramp-gvfs-connection-mounted-p): Handle different names of the
78 (tramp-gvfs-mount-spec-entry): New defun.
79 (tramp-gvfs-mount-spec): Use it.
80 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
81 there is a share name. Handle different names of the D-Bus
83 (tramp-gvfs-maybe-open-connection): Set connection properties
84 needed for `tramp-check-cached-permissions'.
85 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
88 * net/tramp.el (tramp-backtrace): Move up.
89 (tramp-error): Apply a backtrace into the debug buffer when
91 (tramp-file-mode-type-map, tramp-file-mode-from-int)
92 (tramp-file-mode-permissions, tramp-get-local-uid)
93 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
96 * net/tramp-sh.el (tramp-file-mode-type-map)
97 (tramp-check-cached-permissions, tramp-file-mode-from-int)
98 (tramp-file-mode-permissions, tramp-get-local-uid)
99 (tramp-get-local-gid): Move to tramp.el.
101 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
103 Separate mouse-1-click-follows-link from mouse-drag-region.
104 * mouse.el (mouse--down-1-maybe-follows-link): New function.
105 (key-translation-map): Use it to implement mouse-1-click-follows-link.
106 (mouse-drag-line, mouse-drag-track):
107 Remove mouse-1-click-follows-link code.
108 (mouse--remap-link-click-p): Remove.
110 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
112 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
113 (hi-lock-read-regexp-defaults): New defun.
114 (hi-lock-line-face-buffer, hi-lock-face-buffer)
115 (hi-lock-face-phrase-buffer): Propagate above change.
116 Update docstring (bug#13892).
118 * subr.el (find-tag-default-as-regexp): New defun.
119 * replace.el (read-regexp): Propagate above change.
121 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
123 * calc/calc-units.el (calc-convert-units): Fix the way that default
124 new units are stored.
126 2013-03-07 Matthias Meulien <orontee@gmail.com>
128 * bookmark.el: Define a face to highlight bookmark names in
129 bookmark menu buffers, where the default is a bold face similarly
130 to buffer names in buffer menu buffers.
131 (bookmark-menu-bookmark): New face to highlight bookmark names.
132 (bookmark-insert-location): Remove duplicated text property to
133 conform to buffer list (see `list-buffers').
134 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
135 `bookmark-menu-bookmark' to bookmark names.
137 2013-03-07 Matthias Meulien <orontee@gmail.com>
138 Karl Fogel <kfogel@red-bean.com>
140 * bookmark.el: Display the bookmark list header similarly to the
141 buffer list header (see `list-buffers'), where the default is now
142 an immovable/immutable header line.
143 (bookmark-bmenu-use-header-line): New variable.
144 (bookmark-bmenu-inline-header-height): New name for
145 `bookmark-bmenu-header-height', to avoid confusion with the code
146 for the new immovable header. All references changed.
147 (bookmark-bmenu-set-header): New function.
148 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
149 Conditionalize header construction accordingly.
150 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
151 the inline header height.
152 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
153 Conditionalize the skipping of the inline header height.
155 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
157 * progmodes/js.el (js--multi-line-declaration-indentation):
158 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
160 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
162 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
163 Only propertize regexp when not inside a string (Bug#13885).
165 2013-03-06 Alan Mackenzie <acm@muc.de>
167 Correct the position of point in some line-up functions.
168 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
169 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
170 point at column 0 rather than at a random place in the line.
172 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
174 * net/tramp-compat.el (tramp-compat-delete-directory):
175 Implement TRASH argument.
177 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
179 Keep pre-existing highlighting in completion candidates (Bug#13250).
180 * minibuffer.el (completions-first-difference): State that the
181 face is "added" in the docstring.
182 (completions-common-part): Same. And don't inherit from default.
183 (completion-hilit-commonality): Prepend 'completions-common-part
184 and 'completion-first-difference faces to the 'face property,
185 instead of replacing the value(s).
186 (completion--insert-strings): Same with 'completions-annotations face.
187 (completion-hilit-commonality): Use 'face instead of
188 'font-lock-face, because it gets priority if the completion
189 strings already have 'face set.
191 2013-03-04 Alan Mackenzie <acm@muc.de>
193 Replace `last-command-event' by `last-command-char' in XEmacs.
194 * progmodes/cc-defs.el (c-last-command-char): New macro.
195 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
196 (c-semi&comma-no-newlines-before-nonblanks)
197 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
198 in place of `last-command-event'.
199 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
200 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
201 (c-electric-paren, c-electric-continued-statement): Use the new
202 macro in place of `last-command-event'.
204 2013-03-04 Glenn Morris <rgm@gnu.org>
206 * files.el (inhibit-local-variables-regexps):
207 Add .diff and .patch. (Bug#13862)
209 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
211 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
212 whether the "su" command is available on the device.
214 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
216 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
217 (tramp-adb-handle-process-file): Remove superfluous setting.
218 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
219 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
220 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
222 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
224 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
225 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
226 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
227 Use dict-key rather than dict-name for the error message.
229 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
231 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
232 when reverting (bug#13831).
234 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
236 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
237 Always expand affix-file before storing to protect against changed
239 (ispell-print-if-debug): Make sure message is printed at the end
242 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
244 * net/tramp.el (tramp-obsolete-methods): New defconst.
245 (tramp-warned-obsolete-methods): New defvar.
246 (tramp-find-method): Check for obsolete methods. Map them to a
247 replacement method if appropriate.
249 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
251 (top): Remove completion functions for "scp1", "scp2", "ssh1",
254 2013-02-28 Dale Sedivec <dale@codefu.org>
256 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
257 Return valid syntax-table property value when converting
258 quotes within text from string syntax to punctuation syntax (bug#13844).
260 2013-02-28 Juri Linkov <juri@jurta.org>
262 * dired-aux.el (dired-diff): If file at point is a backup file,
263 use its original as the default value, and reverse the order
264 of arguments to the `diff' call. Doc fix. (Bug#13772)
266 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
268 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
269 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
271 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
273 Initial support for hunspell dictionaries auto-detection (Bug#13639)
275 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
276 Ask hunspell about available and default dictionaries.
277 (ispell-parse-hunspell-affix-file): Extract relevant info from
279 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
280 `ispell-dictionary-alist' entry for given dictionary after info
281 provided by `ispell-parse-hunspell-affix-file'.
282 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
283 of parsed hunspell dicts and associated affix files.
284 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
285 of parsed hunspell dicts and associated parameters.
286 (ispell-set-spellchecker-params):
287 Call `ispell-find-hunspell-dictionaries' if hunspell and not
289 (ispell-start-process):
290 Call `ispell-hunspell-fill-dictionary-entry' for current
291 dictionary if it is not initialized.
293 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
295 * imenu.el: Comment nitpicks.
297 2013-02-28 Sam Steingold <sds@gnu.org>
299 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
300 See <http://stackoverflow.com/questions/14720205>.
302 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
304 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
305 (net-utils-mode): Use it.
306 (net-utils--revert-cmd): New var.
307 (net-utils-run-simple): Set it, and remove bogus interactive spec.
308 (traceroute): Use net-utils-run-simple.
310 2013-02-28 Glenn Morris <rgm@gnu.org>
312 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
314 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
316 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
317 (doc-view-fallback-mode): Remove overlays here.
318 (doc-view-toggle-display): Instead of here. Don't throw away
319 image-mode-winprops-alist.
320 (doc-view-goto-page): Don't mess with hscroll.
322 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
324 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
325 &optional (bug#13819).
327 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
329 * net/tramp-adb.el (tramp-adb-parse-device-names)
330 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
332 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
334 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
335 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
336 defined. POSIX environments fall back to the "C" locale then and
337 emit a warning, which shall be suppressed.
339 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
341 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
342 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
344 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
346 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
348 2013-02-25 Juri Linkov <juri@jurta.org>
350 * replace.el (read-regexp): Let-bind `default' to the first
351 element of `defaults' if it's a list, otherwise it should be
352 a string or nil. Let-bind `suggestions' to `defaults' if it's
353 a list, otherwise make a list with the string value. Doc fix.
356 2013-02-25 Eli Zaretskii <eliz@gnu.org>
358 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
359 that match "\`\.#", to avoid compiling lock files, even if they
360 are readable (as they are on MS-Windows).
362 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
364 * files.el (basic-save-buffer): Remove redundant directory-creation.
366 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
368 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
369 Add option to force `pi' to remain symbolic.
370 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
371 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
372 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
373 derivatives, when necessary.
375 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
377 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
378 (ps-mode-octal-region): Use string-make-unibyte.
380 2013-02-23 Glenn Morris <rgm@gnu.org>
382 * emulation/viper-cmd.el (viper-submit-report):
383 * progmodes/ps-mode.el (ps-mode-maintainer-address):
384 * progmodes/vera-mode.el (vera-mode-help-address):
385 * textmodes/artist.el (artist-maintainer-address):
386 * textmodes/reftex.el (reftex-report-bug):
387 * vc/ediff-util.el (ediff-submit-report):
388 Add bug-gnu-emacs to bug report address.
390 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
391 Remove bug report entries.
392 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
394 * emacs-lisp/bytecomp.el (byte-compile-level): New.
395 (byte-compile-file, byte-compile-from-buffer):
396 Use separate input/output buffers for each level of recursive
397 byte-compile-file calls. (Bug#13787)
399 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
401 * net/tramp.el (tramp-methods): Fix docstring.
402 (tramp-ssh-controlmaster-options): Rename it from
403 `tramp-ssh-controlmaster-template'. Return a string.
404 (tramp-default-method): Adapt check for
405 `tramp-ssh-controlmaster-options'.
407 * net/tramp-sh.el (tramp-methods):
408 Replace `tramp-ssh-controlmaster-template' by "%c".
409 (tramp-do-copy-or-rename-file-out-of-band)
410 (tramp-maybe-open-connection): Use it in format spec. Ensure,
411 that it is applied for the first hop only.
413 2013-02-22 Juri Linkov <juri@jurta.org>
415 * isearch.el (isearch-lazy-highlight-new-loop):
416 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
417 to `isearch-other-end' if it is not nil. (Bug#13402)
419 * replace.el (replace-highlight): Let-bind `isearch-other-end'
422 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
423 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
424 and `isearch-error' to nil.
426 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
428 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
430 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
431 Handle multibyte file names.
433 2013-02-22 Glenn Morris <rgm@gnu.org>
435 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
436 (sgml-transformation-function): Give it a :set function.
439 * cmuscheme.el (scheme-buffer):
440 * progmodes/inf-lisp.el (inferior-lisp-buffer):
441 * progmodes/tcl.el (inferior-tcl-buffer):
442 * textmodes/tex-mode.el (tex-command): Doc fixes.
444 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
446 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
448 2013-02-21 Bastien Guerry <bzg@gnu.org>
450 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
452 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
454 * progmodes/python.el (python-info-current-defun):
455 Enhance match-data cluttering prevention.
457 2013-02-21 Glenn Morris <rgm@gnu.org>
459 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
460 loaded while outline-regexp is let bound. (Bug#9584)
462 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
464 * progmodes/python.el (python-info-current-defun): Fix failed
465 defun name retrieval because of unwanted match-data cluttering.
467 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
469 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
470 defconst. Apply independent check for ControlPersist.
472 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
473 temporarily, via "env".
475 2013-02-21 Glenn Morris <rgm@gnu.org>
477 * info.el (Info-enable-edit): Remove.
478 (Info-edit): Disable it rather than using Info-enable.
479 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
480 (Info-cease-edit): Make editing of Info files obsolete.
482 * informat.el (Info-tagify):
483 Handle buffers not visiting files. (Bug#13763)
485 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
487 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
489 2013-02-21 Glenn Morris <rgm@gnu.org>
491 * files.el (basic-save-buffer): Move check for existing parent
492 directory after hooks. (Bug#13773)
494 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
496 * simple.el (command-execute): Move from C. Add obsolete check.
497 (extended-command-history): Move from C.
499 2013-02-20 Ulrich Müller <ulm@gentoo.org>
501 * jka-cmpr-hook.el (jka-compr-compression-info-list)
502 (jka-compr-mode-alist-additions): Handle .txz suffix for
503 XZ-compressed tar archives (bug#13770).
505 2013-02-20 Bastien Guerry <bzg@gnu.org>
507 * outline.el (outline-regexp, outline-heading-end-regexp):
508 Make variables, not options (bug#13731).
510 2013-02-20 Glenn Morris <rgm@gnu.org>
512 * image.el (image-current-frame): Change from variable to function.
513 (image-show-frame): Rename from image-nth-frame. Update callers.
514 * image-mode.el (image-multi-frame): New variable.
515 (image-mode-map, image-mode, image-goto-frame):
516 Use image-multi-frame rather than image-current-frame.
517 (image-mode, image-goto-frame): Use image-current-frame as
518 function rather than as variable.
520 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
521 * emacs-lisp/cl-macs.el (cl--make-type-test)
522 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
524 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
526 * net/tramp-cache.el (tramp-get-hash-table): New defun.
527 (tramp-get-file-property, tramp-set-file-property)
528 (tramp-get-connection-property, tramp-set-connection-property): Use it.
529 (tramp-flush-file-property, tramp-flush-directory-property):
530 Rename argument to KEY.
531 (tramp-flush-connection-property): Simplify a little bit.
532 (tramp-connection-property-p): New defun.
533 (top): Reapply saved values only if there isn't a corresponding
534 entry in `tramp-connection-properties'.
536 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
538 * progmodes/python.el (python-indent-context):
539 Fix python-info-line-ends-backslash-p call.
540 (python-info-line-ends-backslash-p)
541 (python-info-beginning-of-backslash): Respect line-number argument.
542 (python-info-current-line-comment-p):
543 Fix behavior when not at beginning-of-line.
544 (python-util-position): Remove function.
545 (python-util-goto-line): New function.
547 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
549 * eshell/em-unix.el (eshell/su): Require tramp.
550 (eshell/sudo): Require tramp. Remove now unnecessary check.
552 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
553 `tramp-current-connection' in order to avoid an error when several
554 commands are invoked in a short time in eshell and friends.
556 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
558 Cleanup some of EIEIO's namespace.
559 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
560 Use it to define all the class-* and object-* field accessors (renamed
561 to eieio--class-* and eieio--object-*). Update all uses.
562 (eieio--class-num-slots, eieio--object-num-slots): Rename from
563 class-num-slots and object-num-slots.
564 (eieio--check-type): New macro.
565 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
566 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
567 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
568 (object-assoc-list-safe): Use it.
569 (eieio-defclass): Tighten regexp.
570 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
571 Remove unreachable code.
572 (object-class-fast): Declare obsolete.
573 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
574 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
575 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
576 Rename from class-name, object-name, object-set-name-string,
577 object-class, object-class-name, class-parents, class-children,
578 class-precedence-list, class-parent; with obsolete alias.
579 (class-of, class-direct-superclasses, class-direct-subclasses):
581 (eieio-defmethod): Use `memq'; remove unreachable code.
582 * emacs-lisp/eieio-base.el (eieio-persistent-read):
583 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
584 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
587 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
589 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
590 Use font-lock-keyword-face for macros and special forms (bug#8345).
592 2013-02-17 Didier Verna <didier@didierverna.net>
594 * net/network-stream.el (network-stream-open-starttls):
595 Check that response to the starttls-command is non-nil. (Bug#13706)
597 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
599 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
600 Don't assume all identifier chars have syntax word.
601 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
602 Remove bar-not-symbol. Adjust callers.
603 (lisp-mode-variables): Don't set a font-lock-syntax-table.
605 2013-02-17 Leo Liu <sdl.web@gmail.com>
607 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
609 2013-02-17 Glenn Morris <rgm@gnu.org>
611 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
613 * image-mode.el (image-mode-map): Add image-dired menu entry.
615 * image-dired.el (tumme): Make this alias obsolete.
617 2013-02-16 Glenn Morris <rgm@gnu.org>
619 * image.el (image-animated-types): Remove.
620 (image-multi-frame-p): Rename from image-animated-p, and generalize.
621 (image-animated-p): Make obsolete alias.
622 (image-animate, image-nth-frame, image-animate-timeout):
623 Use image-multi-frame-p.
624 (image-animate-timeout): If no delay, use image-default-frame-delay.
625 * image-mode.el (image-mode, image-toggle-animation):
626 Use image-multi-frame-p. (Bug#763, bug#10739)
627 (image-mode): Adjust startup message for a multi-frame image.
629 * image-mode.el (image-mode-map): Give it a menu.
631 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
633 * net/tramp-cache.el (tramp-connection-properties): New customer
635 (tramp-get-connection-property): Use it.
637 * net/tramp-compat.el (top): Require 'trampver.
639 * net/tramp-sh.el (tramp-remote-process-environment):
640 Set tramp-autoload cookie.
642 2013-02-16 Kevin Ryde <user42@zip.com.au>
644 * info-look.el (info-lookup-select-mode): If major-mode has no
645 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
647 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
649 * replace.el (read-regexp): Tighten the regexp that matches tag.
650 When tag is retrieved with `find-tag-default', use regexp that
651 matches tag at point. Also update docstring (Bug#13687).
653 2013-02-16 Eli Zaretskii <eliz@gnu.org>
655 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
656 add watch for the file, not its parent directory, since w32notify
657 sets up the watch for the directory internally. (Bug#13725)
659 2013-02-16 Glenn Morris <rgm@gnu.org>
661 * image.el (image-default-frame-delay): New variable.
662 (image-animated-p): Use image-default-frame-delay.
663 (image-minimum-frame-delay): New constant.
664 (image-animate-timeout): Use image-minimum-frame-delay.
666 * image.el (image-nth-frame): New, split from image-animate-timeout.
667 (image-animate-timeout): Use image-nth-frame.
668 * image-mode.el (image-goto-frame, image-next-frame)
669 (image-previous-frame): New commands.
670 (image-mode-map): Add new frame commands.
672 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
674 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
675 If col-desc already has help-echo, use it. (Bug#13563)
677 2013-02-16 Glenn Morris <rgm@gnu.org>
679 * image.el (image-current-frame): New variable.
680 (image-animate-timeout): Set image-current-frame.
681 * image-mode.el (image-mode): For animated images,
682 display a frame counter via mode-line-process.
684 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
686 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
688 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
690 2013-02-15 Alan Mackenzie <acm@muc.de>
692 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
693 global minor mode has been enabled, call the minor mode function
694 for a new buffer once only, after the major mode hook, whilst
695 allowing that hook explicitly to disable the minor mode.
696 (MODE-disable-in-buffer): New (generated) function.
697 (disable-MODE): New (generated) buffer local variable.
699 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
701 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
702 `iswitchb-next-match' and `iswitchb-prev-match' resply.
703 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
704 `ido-next-match' and `ido-prev-match' resply.
705 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
706 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
707 `icomplete-backward-completions' (Bug#13708).
709 2013-02-15 Glenn Morris <rgm@gnu.org>
711 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
713 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
715 * net/goto-addr.el (goto-address-fontify): Add start and end args.
716 (goto-address-fontify-region): Use them instead of narrowing, so
717 syntax-ppss has access to the whole buffer.
719 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
721 * progmodes/python.el: Explain how to restore "cc-mode"-like
722 forward-sexp movement in header documentation (Bug#13642).
723 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
724 comments and strings (GH bug 114).
726 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
728 * progmodes/python.el (python-info-current-defun): Fix current
729 defun detection (Bug#13618).
731 2013-02-15 Chong Yidong <cyd@gnu.org>
733 * xml.el (xml-parse-string): Fix typo in handling of bad character
736 2013-02-15 Glenn Morris <rgm@gnu.org>
738 * play/fortune.el (fortune-compile): Simplify and fix previous change.
740 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
742 * net/tramp.el (tramp-debug-message):
743 Add `tramp-condition-case-unless-debug'.
744 (tramp-debug-on-error): New defvar.
745 (tramp-condition-case-unless-debug): New defun.
746 (tramp-file-name-handler): Use it.
748 2013-02-14 Juri Linkov <juri@jurta.org>
750 * info.el (Info-isearch-filter): Treat non-nil values of
751 `search-invisible' including its default value `open'
752 like the value `t' to match hidden text. (Bug#13402)
754 2013-02-14 Glenn Morris <rgm@gnu.org>
756 * help-fns.el (find-lisp-object-file-name): Give special treatment
757 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
759 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
761 * net/quickurl.el (quickurl-save-urls):
762 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
764 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
766 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
767 depth for unfinished percent literal. Not using it in the caller.
768 (ruby-move-to-block): Jump over multiline literals of all types,
769 ignoring code-looking contents inside them.
770 (ruby-add-log-current-method): Improve performance at the expense
771 of accuracy. `ruby-block-contains-point' is relatively slow, so
772 only use it for method and singleton class blocks.
774 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
776 Use ControlMaster where applicable. (Bug#13677)
778 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
779 replacing `tramp-detect-ssh-controlmaster'.
780 (tramp-default-method): Use it.
782 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
783 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
785 [scpc, rsyncc]: Remove methods.
786 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
788 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
789 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
791 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
793 * emacs-lisp/package.el (package--initialized): Move before first use.
795 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
797 * icomplete.el (icomplete-hide-common-prefix): New user option.
798 (icomplete-first-match): New face.
799 (icomplete-completions): Correct handling of "complete but not
802 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
804 * descr-text.el (describe-char): Display the script (bug#13698).
806 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
808 * tmm.el: Use lexical-binding and current-active-maps.
809 (tmm-menubar): Use map-keymap and pcase.
810 (tmm--completion-table): New function.
811 (tmm-prompt): Use it to fix the menu order.
812 (tmm-get-keybind): Use current-active-maps.
814 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
816 Add dired-hide-details-mode. (Bug#6799)
818 * locate.el (locate-mode): Set parent mode property to dired-mode.
820 * find-dired.el (find-dired): Call dired-insert-set-properties on
821 initial information line. Set process mark on end of buffer.
822 (find-dired-sentinel):
823 Call dired-insert-set-properties on summary.
825 * dired.el (dired-hide-details-hide-symlink-targets)
826 (dired-hide-details-hide-information-lines): New options.
827 (dired-insert-directory):
828 Set properties after final treatment of output.
829 (dired-insert-set-properties):
830 Set dired-hide-details-* properties.
831 (dired-mode-map): Bind dired-hide-details-mode.
832 (dired-mode): Set buffer-invisibility-spec to a list.
833 (dired-next-line): Skip hidden lines.
834 (dired-previous-line): Use dired-next-line.
835 (dired-hide-details-mode): New minor mode.
836 (dired-hide-details-update-invisibility-spec): New function.
838 2013-02-13 Glenn Morris <rgm@gnu.org>
840 * play/yow.el: Move to obsolete/. (Bug#9384)
842 2013-02-13 Juri Linkov <juri@jurta.org>
844 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
845 to select `ediff-control-frame' and set input focus correctly on Xfce.
848 2013-02-13 Juri Linkov <juri@jurta.org>
850 * image-mode.el (image-mode-map):
851 * doc-view.el (doc-view-mode-map):
852 * vc/ediff-util.el (ediff-setup-keymap):
853 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
855 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
857 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
858 performance. Instead of recalculating indentation fully for each
859 line, sum up indentation depth based only on visited lines.
860 (ruby-parse-partial): Increase the depth after "do" even when END
862 (ruby-parse-partial): When END is in the middle of a percent
863 literal, increase the depth if the delimiter chars belong to the
866 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
868 * play/fortune.el (fortune-compile): Also make the compiled file
869 if it does not exist at all, not just if it is old. (Bug#5338)
871 2013-02-13 Glenn Morris <rgm@gnu.org>
873 * emacs-lisp/package.el (package-menu-execute): Doc fix.
875 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
877 * lisp/emacs-lisp/package.el (package-menu-execute):
878 Add optional noquery argument. (Bug#13625)
880 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
882 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
883 if DIR exists and PARENTS is non-nil.
885 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
887 * progmodes/js.el (js--multi-line-declaration-indentation):
888 Silence byte-compiler warning.
890 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
892 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
894 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
895 only if it doesn't exist.
897 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
900 2013-02-12 Tassilo Horn <tsdh@gnu.org>
902 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
903 UserInstallation when calling soffice to work around LibreOffice
906 2013-02-12 Glenn Morris <rgm@gnu.org>
908 * files.el (basic-save-buffer):
909 Offer to create a non-existing directory. (Bug#3016)
911 * calc/calc-graph.el (calc-graph-show-dumb):
912 * calendar/calendar.el (calendar-mode-map):
913 * cus-edit.el (custom-mode-map):
914 * ehelp.el (electric-help-map):
915 * emulation/vip.el (vip-mode-map):
916 * epa.el (epa-key-list-mode-map):
917 * info.el (Info-mode-map):
918 * mail/rmail.el (rmail-mode-map):
919 * mail/rmailsum.el (rmail-summary-mode-map):
920 * man.el (Man-mode-map):
921 * net/newst-plainview.el (newsticker-mode-map):
922 * progmodes/cpp.el (cpp-edit-mode-map):
923 * progmodes/grep.el (grep-mode-map):
924 * progmodes/idlw-help.el (idlwave-help-mode-map):
925 * simple.el (special-mode-map):
926 * startup.el (splash-screen-keymap):
927 * view.el (view-mode-map):
928 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
930 2013-02-11 Elias Pipping <pipping@lavabit.com>
932 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
935 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
937 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
939 2013-02-11 Glenn Morris <rgm@gnu.org>
941 * vc/diff.el (diff-use-labels): New variable.
942 (diff-no-select): Use --label rather than -L, and first
943 check that it is supported. (Bug#11067)
945 * files.el (enable-dir-local-variables): New variable.
946 (hack-dir-local-variables): Respect enable-dir-local-variables.
947 * tutorial.el (help-with-tutorial):
948 Ignore directory-local variables. (Bug#11127)
950 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
951 (vc-svn-global-switches): ... to here. (Bug#13513)
953 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
955 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
956 Handle "foo (bar, default: xxx): " prompts.
958 2013-02-10 Chong Yidong <cyd@gnu.org>
960 * files.el (basic-save-buffer-1): Do not set
961 buffer-file-coding-system-explicit (Bug#4533).
963 * mail/emacsbug.el (report-emacs-bug): Change binding of
964 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
966 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
968 * calc/calc.el (calc-allow-units-as-numbers): New variable.
969 * calc/calc-units.el (calc-convert-units): Use new variable.
971 2013-02-09 Eli Zaretskii <eliz@gnu.org>
973 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
975 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
978 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
979 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
980 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
981 coding-system-for-write instead.
983 * jka-compr.el (jka-compr-write-region): Don't bind
986 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
989 * files.el (file-name-buffer-file-type-alist): Remove defvar.
990 (insert-file-contents-literally): Remove reference to
991 file-name-buffer-file-type-alist.
993 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
995 (find-buffer-file-type-match, find-buffer-file-type): Remove.
996 (find-buffer-file-type-coding-system): Remove references to
997 find-buffer-file-type-match, find-buffer-file-type, and
999 Don't put find-buffer-file-type-coding-system into
1000 file-coding-system-alist.
1001 (find-file-binary, find-file-text): Bind coding-system-for-read
1002 instead of file-name-buffer-file-type-alist.
1004 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1006 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1007 converter (Bug#13622).
1008 (doc-view-unoconv-program): Make obsolete alias.
1009 (doc-view-odf->pdf-converter-program): New variable.
1010 (doc-view-odf->pdf-converter-function): New variable.
1011 (doc-view-mode-p): Use it.
1012 (doc-view-odf->pdf-converter-unoconv):
1013 Rename from `doc-view-odf->pdf-converter-unoconv'.
1014 (doc-view-odf->pdf-converter-soffice): New function.
1015 (doc-view-convert-current-doc):
1016 Use `doc-view-odf->pdf-converter-function'.
1018 2013-02-09 Chong Yidong <cyd@gnu.org>
1020 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1021 view-echo-area-messages (Bug#13340).
1023 * help.el (view-echo-area-messages): Use display-buffer.
1025 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1028 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1031 Eval body right away, now that we do eager macroexpansion (bug#13605).
1033 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1034 (fundamental-mode): Use run-mode-hooks.
1036 * eshell/esh-proc.el (eshell/kill): Fix last change.
1037 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1039 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1041 * eshell/esh-proc.el (eshell/kill): Rewrite.
1043 * eshell/em-ls.el (show-almost-all): Declare.
1044 (eshell-do-ls): Add support for -A argument.
1046 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1048 * icomplete.el (icomplete-forward-completions)
1049 (icomplete-backward-completions): Handle corner case (bug#13602).
1051 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1053 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1054 be nil. Handle this. (Bug#13636)
1056 2013-02-07 Richard Stallman <rms@gnu.org>
1058 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1059 `save-buffer-coding-system'.
1061 2013-02-07 Alan Mackenzie <acm@muc.de>
1063 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1064 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1065 (c-parse-state-get-strategy): Don't return 'BOD any more.
1066 (c-append-lower-brace-pair-to-state-cache):
1067 Extra parameter HERE instead of narrowing.
1068 Widen to top of buffer before searching backwards for a brace pair.
1069 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1070 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1071 Narrow to parameter HERE, in place of being called narrowed.
1072 (c-remove-stale-state-cache): Extra parameter HERE in place of
1073 narrowing. Check there's an open brace in the cache before
1074 searching for its match.
1075 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1076 (c-parse-state-1): Don't narrow here for 'forward strategy,
1077 instead passing extra parameter HERE to several functions.
1078 Remove 'BOD strategy.
1080 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1082 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1083 used to install the package.
1085 2013-02-06 Glenn Morris <rgm@gnu.org>
1087 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1088 if we can't get user input. (Bug#6567)
1090 * startup.el (command-line): If simple.el is missing,
1091 test and warn about for some possible causes.
1093 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1095 * cus-start.el (all): Add ns-use-native-fullscreen.
1097 2013-02-05 Glenn Morris <rgm@gnu.org>
1099 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1101 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1102 Fix directory creation in fallback case.
1104 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1106 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1107 (vc-update-change-log): Use dolist.
1109 2013-02-04 Chong Yidong <cyd@gnu.org>
1111 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1113 (thing-at-point-beginning-of-url-regexp): New var.
1114 (thing-at-point-uri-schemes): Update list of URI schemes.
1115 (thing-at-point-url-regexp): Variable deleted.
1116 (thing-at-point-markedup-url-regexp): Disallow newlines.
1117 (thing-at-point-newsgroup-regexp)
1118 (thing-at-point-newsgroup-heads)
1119 (thing-at-point-default-mail-uri-scheme): New variables.
1120 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1121 method to find the possible bounds of the URI at point.
1122 New optional argument to find ill-formed URIs.
1123 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1124 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1125 the scheme-adding heuristics from ffap-url-at-point.
1126 (thing-at-point--bounds-of-well-formed-url): New function.
1127 Do parens matching to decide whether to include parens in the URI
1130 * ffap.el: Require thingatpt.
1131 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1132 All URI-valid characters are now recognized (Bug#5673).
1133 (ffap-string-at-point): Use use-region-p.
1134 (ffap-url-regexp): Extra character is handled by thing-at-point.
1135 (ffap-string-at-point-mode-alist): Allow parentheses.
1136 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1137 Convert to aliases; code moved to thingatpt.el.
1138 (ffap-gnus-hook): Use setq-local.
1140 2013-02-04 Glenn Morris <rgm@gnu.org>
1142 * emacs-lisp/ert.el (ert--explain-format-atom):
1143 Don't try to print non-characters as characters. (Bug#13543)
1145 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1147 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1148 (tramp-backtrace): New defun.
1149 (tramp-handle-insert-file-contents): Use `visit' when inserting
1152 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1153 Use `remote-file-name-inhibit-cache'.
1155 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1157 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1160 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1161 current-load-list (bug#13366).
1163 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1166 Identify g++ template instantiation trace. (Bug#12287)
1167 (compilation-mode-hook, compilation-start-hook)
1168 (compilation-window-height): Simplify docstrings. (Bug#13379)
1170 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * mouse.el (mouse-drag-track): Always deactivate the mark before
1173 running the final event's command since that command is in charge of
1174 activating the mark if needed (bug#13523).
1176 2013-02-02 Juri Linkov <juri@jurta.org>
1178 * replace.el (perform-replace): Move let-bindings of isearch-*
1179 variables deeper to the loop that searches for the next match.
1180 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1181 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1184 * isearch.el (isearch-search-fun-default): Check for null
1185 first element of isearch-cmds as a precaution when it's used
1186 with inactive isearch.
1188 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1190 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1191 error when buffer in question is narrowed so position 1 is out of
1194 2013-02-02 Glenn Morris <rgm@gnu.org>
1196 * textmodes/remember.el (remember-clipboard): Doc fix.
1198 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
1201 properties (bug#13179).
1203 2013-02-02 Juri Linkov <juri@jurta.org>
1205 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
1206 instead of hard-coded default face `match'. (Bug#9438)
1208 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
1210 * vc/vc-arch.el (vc-arch-registered):
1211 * vc/vc-bzr.el (vc-bzr-registered):
1212 * vc/vc-cvs.el (vc-cvs-registered):
1213 * vc/vc-git.el (vc-git-registered):
1214 * vc/vc-hg.el (vc-hg-registered):
1215 * vc/vc-mtn.el (vc-mtn-registered):
1216 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1219 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1220 prefix argument. (Bug#11656)
1222 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1226 2013-02-01 Glenn Morris <rgm@gnu.org>
1228 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1229 if the backend is known not to support it.
1231 * imenu.el (imenu-default-create-index-function):
1232 Tweak infinite loop test to check for forward motion as well as none.
1234 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1236 * net/soap-client.el (soap-invoke): Encode the string for
1237 `url-request-data' as UTF-8.
1238 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1240 2013-02-01 Glenn Morris <rgm@gnu.org>
1242 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1244 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1246 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1248 * net/tramp.el (tramp-tramp-file-p): Comment check for
1249 `string-as-unibyte'. The function does not exist on XEmacs, and
1250 likely we need another approach.
1252 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1253 `tramp-gw-*' variables are bound.
1255 2013-01-31 Glenn Morris <rgm@gnu.org>
1257 * files.el (basic-save-buffer-2): Choose coding system for
1258 writing the file before backing it up, to reduce delay between
1259 backing up and writing the new version. (Bug#13522)
1261 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1263 * simple.el (cycle-spacing): New command.
1264 (just-one-space): Use it.
1266 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1269 (opascal-newline-always-indents): Remove custom.
1270 (opascal-tab, opascal-newline): Remove commands.
1271 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1272 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1273 (opascal-save-match-data): Remove, use save-match-data instead.
1274 (opascal-save-state): Use with-silent-modifications.
1276 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1279 2013-01-30 Juri Linkov <juri@jurta.org>
1281 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1282 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1283 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1285 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1288 column if we're just deleting the backslashes.
1289 (makefile-fill-paragraph): Use eolp.
1291 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1293 * autorevert.el (auto-revert-use-notify): Fix docstring.
1295 2013-01-30 Leo Liu <sdl.web@gmail.com>
1297 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1299 2013-01-30 Glenn Morris <rgm@gnu.org>
1301 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1302 unread-command-events twice in some cases. This tries to implement
1303 the 2012-07-26 changes in a different way. (Bug#13560)
1305 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1307 * progmodes/python.el
1308 (python-pdbtrack-comint-output-filter-function): Enhancements on
1309 stacktrace detection. (thanks @gnovak)
1311 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1314 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1316 (jit-lock-register): Use setq-local.
1318 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1320 * calc-units.el (math-default-units-table): Remove initial value.
1321 (calc-convert-units): Treat expressions where all the units cancel as
1322 if they didn't have units.
1324 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1326 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1327 (tramp-completion-reread-directory-timeout): Fix type.
1328 (tramp-connection-min-time-diff): New defcustom.
1330 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1332 2013-01-30 Glenn Morris <rgm@gnu.org>
1334 * imenu.el (imenu-default-create-index-function):
1335 Put back a version of the infinite loop test removed 2013-01-23.
1337 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1339 * progmodes/python.el (python-shell-parse-command):
1340 Find python-shell-interpreter with modified environment.
1342 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1344 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1346 2013-01-29 Alan Mackenzie <acm@muc.de>
1348 Amend to fontify /regexp/s in actions correctly.
1349 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1350 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1351 are no longer included.
1352 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1353 What used to be these variables without "-line" in the name.
1354 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1355 (c-awk-non-arith-op-bra-re): Now also matches {.
1356 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1357 "return", and "case".
1358 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1360 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1361 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1363 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1365 * autorevert.el (auto-revert-use-notify):
1366 Use `custom-initialize-default' for initialization. (Bug#13583)
1368 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1370 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1371 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1372 in `tramp-file-name-handler'.
1373 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1375 (tramp-compute-multi-hops): Check, whether
1376 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1378 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1383 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1386 checks made superfluous by the \_< operator.
1387 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1388 temporarily) broken indentation.
1389 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1390 Highlight nested constants, too. \_< broke that.
1392 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1394 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1397 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1399 * autorevert.el (auto-revert-handler): Notifications which result
1400 from a saved file shall not be taken into account. (Bug#13557)
1402 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1404 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1405 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1406 (lisp-mode): Pass t for it. (Bug#13556)
1408 2013-01-25 Alan Mackenzie <acm@muc.de>
1410 AWK Mode: Fix indentation bug at top level. Bug #12274.
1412 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1413 just before CASE 5D.
1415 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1417 * net/socks.el (socks-nslookup-host): Use string-to-number.
1419 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1421 * autorevert.el (auto-revert-remote-files)
1422 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1423 (auto-revert-notify-enabled, auto-revert-use-notify)
1424 (auto-revert-notify-watch-descriptor-hash-list)
1425 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1426 (auto-revert-notify-event-descriptor)
1427 (auto-revert-notify-event-action)
1428 (auto-revert-notify-event-file-name): Doc fix.
1429 (global-auto-revert-mode): Reorder checks.
1430 (auto-revert-notify-rm-watch): Respect changed values of
1431 `auto-revert-notify-watch-descriptor-hash-list'.
1432 (auto-revert-notify-add-watch): Check for
1433 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1434 `inotify-add-watch'. Watch `default-directory' instead of
1435 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1436 has a changed meaning now. (Bug#13540)
1437 (auto-revert-notify-handler): Change implementation wrt events
1438 returning from a directory.
1439 (auto-revert-handler): Reorder implementation for checks of remote
1441 (auto-revert-buffers): Fix parentheses error.
1443 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1445 * progmodes/python.el: Enhancements to header documentation about
1446 skeletons. (Bug#5716)
1448 * imenu.el (imenu-default-create-index-function): Remove useless
1449 infinite loop check. (Bug#13438)
1451 2013-01-25 Alan Mackenzie <acm@muc.de>
1453 Fix a bug in the state cache mechanism. Refactor this a bit.
1455 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1456 `cache-pos' element from the return value.
1457 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1458 buffer to enable proper searching from beyond HERE. Amend the
1459 test for detecting the sought brace pair. Amend the value written
1460 to the "brace desert cache" when the brace isn't found.
1461 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1462 and several other variables analogously.
1463 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1464 parameter to a locally calculated variable.
1465 (c-parse-state-1): Change the calling conventions to the two
1466 defuns involving `cache-pos'.
1468 2013-01-25 Chong Yidong <cyd@gnu.org>
1470 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1472 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1474 * paren.el (show-paren-function): Make sure to set 'priority and
1475 'face only if the overlay does exist.
1477 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1479 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1481 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1483 (tramp-sh-handle-set-file-acl): Improve error checking.
1485 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1487 * doc-view.el (doc-view-display): Force mode line update until all
1488 document is converted. Suggested by Stefan Monnier (Bug#13164).
1490 2013-01-23 Bastien Guerry <bzg@gnu.org>
1492 * paren.el (show-paren-function): Make sure an overlay exists
1493 before trying to delete it. Also use `pos' as a position only
1494 when it is an integer.
1496 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1498 * play/gametree.el (gametree-break-line-here): Use point-marker.
1500 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1502 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1503 Mark descriptive parts with `display' property.
1505 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1507 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1508 New variable to map standard dict names to hunspell ones.
1509 (ispell-set-spellchecker-params): Make sure specific dict names
1510 are used for standard dicts with hunspell.
1512 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1514 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1515 chars for note (%N) and url (%U).
1516 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1518 2013-01-21 Juri Linkov <juri@jurta.org>
1520 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1521 in addition to existing separate binding `meta f10' in `global-map'.
1524 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1526 Improve XEmacs compatibility.
1528 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1530 * net/tramp-adb.el (top): Require `time-date'.
1531 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1532 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1533 Use `tramp-file-name-handler'.
1534 (tramp-adb-maybe-open-connection):
1535 Use `tramp-compat-set-process-query-on-exit-flag'.
1537 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1538 Use `tramp-compat-funcall'.
1540 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1541 `tramp-compat-funcall'.
1543 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1545 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1546 reimplementation using "adb shell command ..." instead of running
1547 remote shell interactively.
1549 2013-01-20 Glenn Morris <rgm@gnu.org>
1551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1552 Add native profiler menu entries.
1554 * profiler.el (profiler-running-p): New function.
1555 (profiler-cpu-profile): Use profiler-running-p.
1556 (profiler-report-mode-map): Add some more menu entries.
1558 2013-01-19 Glenn Morris <rgm@gnu.org>
1560 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1561 fixes 2012-12-07 change. (Bug#13499)
1563 2013-01-19 Leo Liu <sdl.web@gmail.com>
1565 * dired.el (dired-get-marked-files): Prune erroneous values due to
1566 last change. (Bug#13152)
1568 2013-01-19 Glenn Morris <rgm@gnu.org>
1570 * progmodes/etags.el (tags-table-check-computed-list):
1571 Preserve point in tags buffer. (Bug#13412)
1573 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1575 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1576 Chong Yidong <cyd@gnu.org>
1578 * image-mode.el (image-next-file, image-previous-file):
1579 New commands (Bug#8453).
1580 (image-mode-map): Bind them to n and p.
1581 (image-mode--images-in-directory): New helper function.
1583 2013-01-19 Chong Yidong <cyd@gnu.org>
1585 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1586 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1587 save and restore the old window configuration.
1589 2013-01-18 Leo Liu <sdl.web@gmail.com>
1591 * progmodes/js.el: Tweak autoload cookie for alias.
1593 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1595 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1596 buffer local, again. This was lost with the fix on 2013-01-12.
1598 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1600 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1601 order to support several eshell buffers in parallel.
1603 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1605 * autorevert.el (auto-revert-use-notify): In the :set function, do
1606 not modify `kill-buffer-hook'.
1607 (auto-revert-notify-rm-watch):
1608 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1609 (auto-revert-notify-add-watch): Do not call
1610 `auto-revert-notify-rm-watch', but add it to a buffer local
1613 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1616 call to `eval' rather than a backquoted lambda.
1618 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1621 to return an explicit nil.
1622 (advice--remove-function): Change accordingly.
1624 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1625 the use of nadvice.el.
1627 * progmodes/which-func.el (which-function): Silence imenu errors
1630 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1632 * progmodes/sql.el: (sql-imenu-generic-expression):
1633 (sql-mode-font-lock-object-name): Match schema qualified names.
1634 (sql-connect): Use string keys.
1635 (sql-product-interactive): Wait for interpreter prompt.
1636 (sql-comint-oracle): Set process coding based on NLS_LANG.
1638 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1640 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1641 (sql-interactive-remove-continuation-prompt):
1642 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1644 2013-01-14 Leo Liu <sdl.web@gmail.com>
1646 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1649 2013-01-14 Glenn Morris <rgm@gnu.org>
1651 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1652 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1654 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1656 * progmodes/python.el (python-nav-end-of-statement):
1657 Fix cornercase when handling multiline strings.
1659 2013-01-13 Richard Stallman <rms@gnu.org>
1661 * mail/sendmail.el (mail-position-on-field): Add doc string.
1663 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1664 Get current message boundaries and pass them to
1665 message-forward-make-body-mime. Minor style changes.
1667 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1669 * cus-start.el (all): Avoid warnings about
1670 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1672 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1674 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1676 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1679 (jit-lock--debug-fontifying): New var.
1680 (jit-lock--debug-fontify): New function.
1681 * subr.el (condition-case-unless-debug): Don't prevent catching the
1682 error, just let the debbugger run.
1683 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1684 timer code and don't drop errors silently.
1686 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1688 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1689 `permanent-local' property.
1690 (auto-revert-notify-handler): Use `file-equal-p'.
1692 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1694 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1695 file notification by ACTION. For filtering by file name, compare
1696 only the non-directory part of the file name.
1698 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1700 * autorevert.el: Use cl-lib instead of cl.
1702 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1703 (vc-bzr-checkin): Use it.
1704 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1705 will preserve match-data.
1707 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1709 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1710 (js--declaration-keyword-re): New var.
1711 (js--multi-line-declaration-indentation): New function.
1712 (js--proper-indentation): Use it.
1714 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1716 * calc/calc.el (calc-highlight-selections-with-faces)
1718 * comint.el (comint-history-isearch-message):
1719 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1720 * ffap.el (ffap-string-at-point-region, ffap-next)
1721 (ffap-string-at-point, ffap-string-around)
1722 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1724 * font-lock.el (font-lock-keywords-alist)
1725 (font-lock-removed-keywords-alist):
1726 * help-mode.el (help-xref-symbol-regexp):
1727 * info.el (Info-find-emacs-command-nodes):
1728 * international/mule.el (add-to-coding-system-list):
1729 * isearch.el (isearch-message-function, isearch-fail-pos):
1730 * misearch.el (multi-isearch-next-buffer-function):
1731 * newcomment.el (comment-box):
1732 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1733 (pr-setting-database):
1734 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1735 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1736 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1737 (pike-font-lock-keywords-3):
1738 * progmodes/compile.el (compile):
1739 * progmodes/etags.el (tags-table-files)
1740 (tags-table-files-function, tags-included-tables-function):
1741 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1742 (gdb-restore-windows):
1743 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1744 (ps-n-up-filling-database):
1745 * server.el (server-buffer, server-log):
1746 * simple.el (newline, delete-backward-char, delete-forward-char)
1747 (minibuffer-history-isearch-message, kill-line, track-eol)
1748 (temporary-goal-column):
1749 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1750 (flyspell-default-deplacement-commands):
1751 * textmodes/ispell.el (ispell-accept-output):
1752 * textmodes/sgml-mode.el (html-tag-help):
1753 * vc/compare-w.el (compare-ignore-whitespace)
1754 (compare-ignore-case, compare-windows-dehighlight):
1755 * vc/diff.el (diff):
1756 * whitespace.el (whitespace-point)
1757 (whitespace-font-lock-refontify, whitespace-bob-marker)
1758 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1760 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1762 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1763 (auto-revert-notify-rm-watch): Ignore errors.
1764 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1765 inotify, and '(size last-write-time) for w32notify.
1766 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1767 watch fails - this is a fallback to the file modification check.
1768 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1769 (auto-revert-notify-event-action)
1770 (auto-revert-notify-event-file-name): New defuns.
1771 (auto-revert-notify-handler): Use them. Implement first
1772 plausibility checks.
1773 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1775 2013-01-11 Julien Danjou <julien@danjou.info>
1777 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1778 max are almost equal. Also return the correct value for V which is
1779 already between 0 and 1.
1781 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1783 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1785 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1787 * autorevert.el (auto-revert-notify-rm-watch)
1788 (auto-revert-notify-add-watch): Fix typos in w32notify function
1791 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1793 * autorevert.el (auto-revert-notify-enabled): Move up.
1794 (auto-revert-use-notify): New defcustom.
1795 (auto-revert-mode, global-auto-revert-mode)
1796 (auto-revert-notify-add-watch, auto-revert-handler)
1797 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1798 `auto-revert-notify-enabled'.
1800 2013-01-10 Elias Pipping <pipping@exherbo.org>
1802 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1803 * doc-view.el (doc-view-document->bitmap):
1804 Use doc-view-single-page-converter-function instead of
1805 single-page-converter arg; adjust callers.
1807 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1809 * progmodes/which-func.el (which-function): Understand Semantic's use
1810 of overlays in imenu--index-alist.
1812 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1814 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1815 (Man-man-k-use-anchor): New var.
1816 (Man-parse-man-k): New function.
1817 (Man-completion-table): Use it.
1818 (man): Flush the completion cache between uses.
1820 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1822 * autorevert.el: Add file watch support.
1823 (auto-revert-notify-enabled): New defconst.
1824 (auto-revert-notify-watch-descriptor-hash-list)
1825 (auto-revert-notify-watch-descriptor)
1826 (auto-revert-notify-modified-p): New defvars.
1827 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1828 (auto-revert-notify-handler): New defuns.
1829 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1830 when mode is disabled.
1831 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1832 (auto-revert-buffers): Add file watches for active buffers.
1834 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1836 * cus-start.el (toplevel): Only allow float values for
1837 scroll-up-aggressively and scroll-down-aggressively.
1838 Allow any number for line-spacing.
1840 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1843 (doc-view-pdf->png-converter-function): Use mupdf if available.
1844 (doc-view-djvu->png-converter-function)
1845 (doc-view-ps->png-converter-function): Remove.
1846 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1847 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1848 (doc-view-already-converted-p): Adjust accordingly.
1849 (doc-view-mode-p): Simplify.
1850 (doc-view-enlarge): Use setq-local.
1851 (doc-view-pdf->png-converter-ghostscript)
1852 (doc-view-djvu->png-converter-ddjvu)
1853 (doc-view-pdf->png-converter-mupdf): Rework to call
1854 doc-view-start-process directly.
1855 (doc-view-pdf/ps->png): Simplify accordingly.
1856 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1857 (doc-view-document->bitmap): Rename from doc-view-document->png.
1858 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1859 (doc-view-set-slice-from-bounding-box): Fix completion table.
1860 (doc-view-mode): Use add-hook for after-revert-hook.
1862 2013-01-10 Glenn Morris <rgm@gnu.org>
1864 * emacs-lisp/authors.el (authors-ignored-files)
1865 (authors-valid-file-names, authors-renamed-files-alist):
1866 Add some more entries.
1868 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1871 `t' pseudo-window entry.
1873 2013-01-10 Alan Mackenzie <acm@muc.de>
1875 Fix bugs in the c-parse-state mechanism. Reuse some markers
1876 instead of continually generating new ones.
1878 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1879 (c-state-old-cpp-end-marker): New variables.
1880 (c-append-lower-brace-pair-to-state-cache): Start a backward
1881 search for "}" definitively outside CPP constructs.
1882 (c-remove-stale-state-cache): Inform the caller of a need to
1883 search back for a brace pair in certain circumstances.
1884 (c-state-maybe-marker): New macro.
1885 (c-parse-state): Reuse markers when appropriate.
1887 2013-01-10 Glenn Morris <rgm@gnu.org>
1889 * simple.el (execute-extended-command): Doc fix.
1890 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1892 2013-01-10 Chong Yidong <cyd@gnu.org>
1894 * faces.el (read-face-name): Doc fix.
1896 2013-01-10 Roland Winkler <winkler@gnu.org>
1898 * emacs-lisp/crm.el: Allow any regexp for separators.
1899 (crm-default-separator): All spaces around the default comma separator.
1900 (crm--completion-command): New macro.
1901 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1902 (crm-complete-and-exit): Handle non-single-char separators.
1904 2013-01-09 Elias Pipping <pipping@lavabit.com>
1906 * doc-view.el: Add support for DjVu (bug#13164).
1907 (doc-view-djvu->png-converter-function): New config var.
1908 (doc-view-single-page-converter-function, doc-view--image-type)
1909 (doc-view--image-file-extension): New vars.
1910 (doc-view-mode): Initialize them.
1911 (doc-view-goto-page): Use them.
1912 (doc-view-mode-p): Add support for ddjvu.
1913 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1914 (doc-view-set-up-single-converter): New funs.
1915 (doc-view-pdf/ps->png): Extend for djvu.
1916 (doc-view-document->png): Rename from doc-view-pdf->png.
1917 (doc-view-convert-current-doc): Handle djvu.
1918 (doc-view-insert-image, doc-view-display)
1919 (doc-view-already-converted-p): Don't hardcode png.
1920 (doc-view-set-doc-type): Recognize djvu docs.
1922 2013-01-09 Elias Pipping <pipping@lavabit.com>
1924 * doc-view.el: Add support for mupdf converter (bug#13164).
1925 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1926 (doc-view-ps->png-converter-function): New config vars.
1927 (doc-view-pdf->png-converter-ghostscript)
1928 (doc-view-ps->png-converter-ghostscript)
1929 (doc-view-pdf->png-converter-mupdf): New functions.
1930 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1932 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1934 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1935 first in session cache: When `tramp-own-remote-path' is in
1936 `tramp-remote-path', the remote path is only set in the session
1939 2013-01-09 Glenn Morris <rgm@gnu.org>
1941 * emacs-lisp/trace.el (trace-function-foreground)
1942 (trace-function-background): Doc fix.
1944 2013-01-09 Juri Linkov <juri@jurta.org>
1946 * international/mule-cmds.el (read-char-by-name): Move let-binding
1947 of completion-ignore-case around completing-read to fix regression
1948 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1949 `string-match-p' using the nil value of `case-fold-search' and
1950 `completion-ignore-case' in `completion-pcm--all-completions'.
1953 2013-01-09 Glenn Morris <rgm@gnu.org>
1955 * progmodes/compile.el (compilation-parse-errors):
1956 Fix typo. (Bug#13369)
1958 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1960 * comint.el (comint-send-input): Check size of buffer before
1961 waiting for process output, in case already accepted. (Bug#13290)
1963 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1966 * net/tramp-adb.el (tramp-adb-get-toolbox):
1967 Fix misspelling of 'unknown'.
1969 2013-01-08 Juri Linkov <juri@jurta.org>
1971 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1972 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1973 Use underline style wave on terminals that support it. (Bug#13000)
1975 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1978 the predicate returns nil.
1980 * simple.el: Use lexical-binding.
1981 (primitive-undo): Use pcase.
1982 (minibuffer-history-isearch-push-state): Use a closure.
1984 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1986 * simple.el (primitive-undo): Move from undo.c.
1988 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1990 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1991 (cvs-mode-remove-handled): Use it (bug#13380).
1993 * emacs-lisp/nadvice.el (advice--tweak): New function.
1994 (advice--remove-function, advice--subst-main): Use it.
1996 * emacs-lisp/advice.el: Update commentary.
1998 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2001 Remove spurious entry.
2003 2013-01-08 Glenn Morris <rgm@gnu.org>
2005 * net/tramp.el (tramp-default-host-alist): Add :version.
2007 2013-01-08 Juri Linkov <juri@jurta.org>
2009 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2010 single completion. (Bug#12456)
2011 (info--manual-names): Expand node completions into an explicit list
2012 before appending it to another list. Filter out internal buffers
2013 with the leading space in the buffer name. (Bug#10771)
2015 2013-01-08 Juri Linkov <juri@jurta.org>
2017 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2018 that defaults to the Top node.
2019 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2020 the short format (FILENAME) goes to the Top node.
2021 (Info-build-node-completions): Rename arg `file' to `filename'.
2024 2013-01-07 Bastien Guerry <bzg@gnu.org>
2026 * menu-bar.el (menu-bar-search-documentation-menu):
2027 Use `apropos-user-option' and fix the help message.
2029 2013-01-07 Bastien Guerry <bzg@gnu.org>
2031 * apropos.el (apropos-do-all): Update docstring.
2032 (apropos-user-option-button): New face.
2033 (apropos-user-option): Rename from `apropos-variable' and update
2035 (apropos-variable): Rewrite, now show all variables by default.
2036 (apropos-print): Mention "User option" instead of "Variable" when
2037 printing doc for user options. (Bug#13276)
2039 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2041 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2042 Handle filename correctly, when parsing "source -> target" symlink
2044 (tramp-adb-handle-set-file-times): New defun.
2046 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2048 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2049 advice list when the interactive-spec of ad-Advice-* changes.
2051 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2053 * wid-edit.el (widget-default-get): Work for inlined elements.
2056 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2058 * net/tramp.el (tramp-default-host-alist): New defcustom.
2059 (tramp-find-host): Use it.
2060 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2061 `eshell-directory-change-hook'.
2063 * net/tramp-adb.el (top): Add adb specific entry in
2064 `tramp-default-host-alist'.
2065 (tramp-adb-file-name-host): Remove function.
2066 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2067 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2069 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2071 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2073 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2075 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2077 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2078 consist of more than one digit.
2079 (tramp-adb-file-name-handler-alist):
2080 Use `tramp-handle-file-exists-p' consistently.
2081 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2082 (tramp-adb-handle-file-exists-p): Remove function.
2083 (tramp-adb-file-name-host): New defun.
2084 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2086 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2088 2013-01-06 Chong Yidong <cyd@gnu.org>
2090 * vc/vc.el (vc-next-action): Detect buffer modifications
2091 conflicting with locking VCS operation (Bug#11490).
2093 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2095 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2097 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2098 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2100 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2102 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2103 parsing of ls output using regular expression (handle filenames
2104 with spaces). Use virtual device number.
2105 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2108 2013-01-04 Daiki Ueno <ueno@gnu.org>
2110 * epg.el: Silence byte-compiler warnings.
2111 (epg--start): Use delete-char instead of delete-backward-char.
2112 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2114 2013-01-04 Daiki Ueno <ueno@gnu.org>
2116 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2117 Suggested by Eli Zaretskii <eliz@gnu.org>.
2119 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2121 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2122 non-negative integers. Otherwise, the default values are used.
2123 (tramp-convert-file-attributes): Convert uid and gid to integers.
2125 2013-01-04 Glenn Morris <rgm@gnu.org>
2127 * term.el (term-handle-colors-array): Ensure face attributes
2128 are fully specified, not nil. (Bug#13337)
2130 * term.el (term-default-fg-color, term-default-bg-color):
2133 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2134 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2135 rather than 'jka-compr being loaded. (Bug#13338)
2137 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2139 * icomplete.el (icomplete-completions):
2140 Honor icomplete-prospects-height once more following
2141 2012-11-29 changes. (Bug#13224)
2143 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2146 of called-interactively-p as well (bug#13237).
2148 * view.el (view--enable, view--disable): Rename from view-mode-enable
2149 and view-mode-disable and assume it's called from view-mode.
2150 (view-mode-enable, view-mode-disable): Redefine as obsolete
2151 compatibility layer above view-mode.
2152 (view-mode-enter): Call `view-mode'.
2154 * files.el (after-find-file): Call `view-mode'.
2156 * doc-view.el (doc-view-scale-internally): New var.
2157 (doc-view-enlarge, doc-view-insert-image): Obey it.
2159 2013-01-03 Daiki Ueno <ueno@gnu.org>
2161 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2164 2013-01-03 Glenn Morris <rgm@gnu.org>
2166 * mail/rmail.el (rmail-set-header-1): Ignore case.
2167 Handle multi-line headers. (Bug#13330)
2169 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2170 Handle paragraph starting at beginning of buffer.
2172 * subr.el (eval-after-load): Don't purecopy the form, so that it
2173 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2175 * emacs-lisp/byte-run.el (defun): Place cl declarations
2176 after any interactive spec. (Bug#13265)
2178 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2180 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2181 defun. Don't check for DECL if DOCSTRING isn't a string.
2184 2013-01-02 Glenn Morris <rgm@gnu.org>
2186 * eshell/em-cmpl.el (eshell-pcomplete):
2187 More thoroughly imitate pcomplete. (Bug#13293)
2189 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2190 Return nil for empty path elements. (Bug#13296)
2192 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2194 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2195 order to improve efficiency (Based on Daniel Colascione's
2196 <dancol@dancol.org> patch). (Bug#13182)
2198 2013-01-02 Glenn Morris <rgm@gnu.org>
2200 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
2202 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2204 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
2205 neither DOCSTRING nor DECL was given. (Bug#13316)
2207 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
2209 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
2211 (tramp-do-copy-or-rename-file): Ignore errors when calling
2212 `set-file-extended-attributes'.
2214 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2215 Add handler for `file-acl'.
2216 (tramp-smb-handle-file-acl): New defun.
2218 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2220 * calc/README: Mention ISO 8601 week-numbering dates.
2222 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2224 * view.el (view-mode-enable): New argument run-view-mode-hook.
2225 Run view-mode-hook only when it's non-nil (Bug#13315).
2226 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2229 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2231 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2232 (No device connected, invalid device name). (Bug #13299)
2234 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2236 * window.el (window-resizable--p): Rename to window-resizable-p.
2237 (window-resize-no-error): New function.
2239 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2240 broken in fix from 2012-12-28.
2242 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2244 * subr.el (special-form-p): Don't signal errors on undef aliases.
2246 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2248 * calc/calc-forms.el (math-parse-date): Try using
2249 `math-parse-iso-date' when it looks like it might be needed.
2250 Allow times of 24:00.
2251 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2254 2012-12-30 Glenn Morris <rgm@gnu.org>
2256 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2257 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2258 (rmail-summary-displayed, rmail-summary): Declare.
2259 (mairix-rmail-display): Just require rmail.
2261 2012-12-30 Chong Yidong <cyd@gnu.org>
2263 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2264 check for the tarball contents.
2266 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2268 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2269 tarfile content listings (Bug#13136).
2271 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2273 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2274 Insert the undecoded text of the message being forwarded. (Bug#9521)
2276 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2278 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2279 integers, if they are real numbers. (Bug#13282)
2281 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2282 Return `t' on success.
2284 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2285 Add handler for `set-file-selinux-context'.
2287 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2289 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2290 (tramp-sh-handle-set-file-acl): Return `t' on success.
2292 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2294 * files.el (backup-buffer-copy, basic-save-buffer-2):
2295 If set-file-extended-attributes fails, fall back on set-file-modes
2296 instead of signaling an error. (Bug#13298)
2297 (basic-save-buffer): Likewise.
2299 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2301 * progmodes/python.el: Support other commands triggering
2302 python-indent-line so indentation cycling continues to work.
2303 (python-indent-trigger-commands): New defcustom.
2304 (python-indent-line): Use it.
2306 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2308 * progmodes/python.el (python-shell-send-region): Add blank lines
2309 for non sent code so backtraces remain correct.
2311 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2313 * progmodes/python.el: Remove cl dependency.
2314 (python-syntax-count-quotes): Replace incf call.
2315 (python-fill-string): Replace setf call.
2317 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2319 * info.el (info-other-window): New arg, for consistency with info.
2321 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2323 * mail/rmail.el (rmail-maybe-display-summary):
2324 Rewrite (Bug#13066).
2326 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2328 * epg.el (epg--start): Modify process-environment locally.
2330 2012-12-28 Daiki Ueno <ueno@gnu.org>
2332 * epg.el: Support pinentry-curses.
2333 Suggested by Werner Koch in
2334 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2335 (epg-agent-file, epg-agent-mtime): New variable.
2336 (epg--start): Record the modified time of gpg-agent socket file,
2337 to restore Emacs frame after pinentry-curses termination.
2338 (epg-wait-for-completion): Restore Emacs frame here.
2340 2012-12-27 Juri Linkov <juri@jurta.org>
2342 * info.el (Info-file-completions): New variable.
2343 (Info-read-node-name-1): Complete node names in the Info file
2344 when a file name is given. Call `Info-build-node-completions'
2346 (Info-build-node-completions): Add new arg `file'. When it is
2347 non-nil, visit it in a temporary buffer and cache its completions in
2348 `Info-current-file-completions'. Move most of the function body to
2349 `Info-build-node-completions-1'.
2350 (Info-build-node-completions-1): New function with the body from
2351 `Info-build-node-completions'. (Bug#12456)
2353 2012-12-27 Juri Linkov <juri@jurta.org>
2355 * frame.el (frame-maximization-style): Remove user option.
2356 (cycle-frame-maximized): Remove function.
2357 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2358 (toggle-frame-fullscreen): New command bound to <f11> instead of
2359 `toggle-frame-maximized'.
2360 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2362 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2364 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2367 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2368 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2369 for `file-accessible-directory-p'. (Bug#13275)
2371 2012-12-27 Sam Steingold <sds@gnu.org>
2373 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2374 continuations, see <http://stackoverflow.com/questions/3582436>.
2376 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2378 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2379 "module" and "def" to have indentation before them.
2380 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2382 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2384 2012-12-27 Alan Mackenzie <acm@muc.de>
2386 Speed up fontification where there's large brace blocks.
2387 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2388 to a call of c-beginning-of-decl-1.
2390 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2392 * comint.el (comint-adjust-window-point): New function.
2393 (comint-postoutput-scroll-to-bottom):
2394 Call comint-adjust-window-point (Bug#13248).
2396 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2398 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2400 (auto-mode-alist): Associate .gemspec files with ruby-mode
2401 (https://bugs.ruby-lang.org/issues/5453).
2403 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2405 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2406 Suppress coloring, if possible (required for BusyBox based systems like
2408 (tramp-adb-handle-file-attributes)
2409 (tramp-adb-handle-insert-directory)
2410 (tramp-adb-handle-file-name-all-completions): Use it.
2411 (tramp-adb-get-toolbox): New defun. Check for remote shell
2412 implementation (BusyBox or Toolbox).
2414 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2416 * startup.el (initial-buffer-choice): Allow function as value
2418 (command-line-1): Handle case where initial-buffer-choice
2419 specifies a function.
2420 * server.el (server-execute): Handle case where
2421 initial-buffer-choice specifies a function.
2423 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2425 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2427 (smtpmail-try-auth-methods): Forget the user name/password if the
2428 login is unsuccessful (bug#12424).
2430 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2432 * notifications.el (notifications-notify): Protect body with
2433 `with-demoted-errors'.
2435 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2436 Check properties of remote device. Restart connection, if there is a
2439 2012-12-21 Chong Yidong <cyd@gnu.org>
2441 * sort.el (sort-subr): Doc fix (Bug#13056).
2443 2012-12-21 Bastien Guerry <bzg@gnu.org>
2445 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2447 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2449 * simple.el (process-file): Overwrite stderr file, if exists.
2451 2012-12-21 Daiki Ueno <ueno@gnu.org>
2453 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2454 (epg-error): Set `error-message' property.
2456 2012-12-21 Chong Yidong <cyd@gnu.org>
2458 * international/mule-cmds.el (read-char-by-name): Signal an error
2459 if the user does not supply a valid character (Bug#13177).
2461 * simple.el (transpose-subr-1): Preserve marker positions by
2462 changing the insertion sequence (Bug#13122).
2464 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2466 * simple.el (kill-region): Deactivate mark even for empty regions
2469 2012-12-21 Chong Yidong <cyd@gnu.org>
2471 * help-fns.el (describe-variable): Make sure we get the right
2472 buffer name (Bug#13105). Suggested by Kelly Dean.
2474 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2476 * comint.el (comint-redirect-previous-input-string): New variable.
2477 (comint-redirect-setup, comint-redirect-cleanup)
2478 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2479 (comint-redirect-preoutput-filter): Fix verbose message.
2481 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2483 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2484 is too long for Tramp. See discussion in
2485 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2487 * progmodes/compile.el (compilation-start): Remove line escape
2490 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2492 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2495 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2497 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2498 following non-comment text (bug#13207).
2499 (lm-header-multiline): Continuation lines need to be indented more than
2501 (lm-homepage): New function.
2502 (lm-with-file): Don't be confused if narrowing is in effect.
2504 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2507 very beginning of a hunk (e.g. killing the first line).
2509 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2511 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2512 and text properties from returned ACL string.
2513 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2514 for "setfacl" command.
2516 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2518 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2519 `tramp-cleanup-this-connection', when the process has died.
2522 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2526 2012-12-17 Kevin Ryde <user42@zip.com.au>
2528 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2530 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2532 Add support for preserving ACL entries of files.
2534 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2535 `set-file-acl' handlers.
2537 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2538 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2540 * net/tramp-compat.el (tramp-compat-copy-file):
2541 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2544 Add `file-acl' and `set-file-acl' handlers.
2545 (tramp-gvfs-handle-copy-file):
2546 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2547 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2550 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2551 Add `file-acl' and `set-file-acl' handlers.
2552 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2553 (tramp-sh-handle-set-file-acl): New defuns.
2554 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2555 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2557 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2558 Add `file-acl' and `set-file-acl' handlers.
2559 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2561 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2563 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2564 use pop-to-buffer with NORECORD argument t. As buffer name, use
2565 *Metahelp* with a leading space (Bug#13190).
2567 2012-12-16 Romain Francoise <romain@orebokech.com>
2569 * files.el (file-extended-attributes)
2570 (set-file-extended-attributes): New functions.
2571 (backup-buffer): Use them to handle both SELinux context and ACL
2573 (backup-buffer-copy): Work with an alist of extended attributes,
2574 rather than an SELinux context.
2575 (basic-save-buffer-2): Ditto.
2577 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2579 * battery.el (battery-bsd-apm): New function.
2581 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2583 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2584 standard date formats.
2586 2012-12-15 Juri Linkov <juri@jurta.org>
2588 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2589 `isearch-insert-char-by-name'.
2590 (with-isearch-suspended): New defmacro with body mostly from
2591 `isearch-edit-string' except the part that sets
2592 `isearch-new-string' and `isearch-new-message'.
2593 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2594 body that sets `isearch-new-string' and `isearch-new-message'.
2595 (isearch-insert-char-by-name): New command.
2596 * international/mule-cmds.el (read-char-by-name): Let-bind
2597 `enable-recursive-minibuffers' to t.
2598 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2600 2012-12-15 Juri Linkov <juri@jurta.org>
2602 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2605 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2607 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2608 the prompt. (Bug#13045)
2610 2012-12-14 Glenn Morris <rgm@gnu.org>
2612 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2613 Try to include filename in non-bytecomp warning. (Bug#13132)
2615 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2617 Fix permissions bugs with setgid directories etc. (Bug#13125)
2618 * files.el (backup-buffer): Don't rely on 9th output of
2619 file-attributes, as it's now a placeholder. Instead, use the new
2620 optional arg of file-ownership-preserved-p.
2621 (file-ownership-preserved-p): New optional arg GROUP.
2622 Fix mishandling of setuid directories that would cause this
2623 function to return t when it should have returned nil.
2624 Document what happens if the file does not exist, and when
2625 it's not known whether the ownership will be preserved.
2626 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2628 (tramp-get-local-gid): Use group-gid for integer, as that's
2629 faster and more reliable.
2631 2012-12-14 Julien Danjou <julien@danjou.info>
2633 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2634 Update keywords list, data type and PL/pgSQL.
2636 2012-12-14 Dave Abrahams <dave@boostpro.com>
2638 * vc/ediff-util.el (ediff-buffer-type): New function.
2639 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2640 rather than taking it as as argument.
2641 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2643 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2645 * json.el: Add pretty-print option (bug#12634).
2646 (json-encoding-separator, json-encoding-default-indentation)
2647 (json--encoding-current-indentation, json-encoding-pretty-print)
2648 (json-encoding-lisp-style-closings): New vars.
2649 (json--with-indentation): New macro.
2650 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2651 (json-encode-array): Use it to obey json-encoding-pretty-print.
2652 (json-pretty-print-buffer, json-pretty-print): New commands.
2654 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2656 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2657 Extract `ruby-syntax-propertize-expansions'.
2658 (ruby-syntax-propertize-expansions): Only change syntax on
2659 certain string delimiters, to punctuation. This way the common
2660 functions like forward-word and thing-at-point still work.
2661 (ruby-match-expression-expansion): Improve readability.
2662 (ruby-block-contains-point): New function.
2663 (ruby-add-log-current-method): Handle several edge cases.
2665 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2667 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2668 unload-feature finishes even when aborting an ongoing edebug session.
2669 Also, do not worry about edebug-mode, unload-feature takes care of it.
2671 2012-12-13 Andreas Schwab <schwab@suse.de>
2673 * net/tls.el (tls-program): Update customize type.
2675 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2677 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2678 (edebug-setup-hook, cl-read-load-hooks): Use it.
2679 (edebug-unload-function): New function. (Bug#13163)
2681 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2683 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2684 Otherwise, there could be errors in autoloading. (Bug#13151)
2686 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2688 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2691 2012-12-13 Alan Mackenzie <acm@muc.de>
2693 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2694 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2695 around `forward-comment' not recognizing ^M as whitespace.
2697 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2699 * progmodes/python.el (python-skeleton-class)
2700 (python-skeleton-def): Do not add space after defun name.
2702 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2704 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2705 (cl--symbol-function): Remove (now that funbound is like nil).
2707 2012-12-12 Glenn Morris <rgm@gnu.org>
2709 * button.el (button--area-button-p): Fix typo.
2711 2012-12-12 Sam Steingold <sds@gnu.org>
2713 * frame.el (frame-maximization-style): New user option.
2714 (toggle-frame-maximized): Toggle frame maximization according to
2715 `frame-maximization-style', bound to <f11>.
2716 (cycle-frame-maximized): Cycle between all maximization styles and
2717 non-maximized frame, bound to shift-<f11>.
2719 2012-12-12 David Cadé <codename68@gmail.com>
2721 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2723 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2725 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2726 (eieio-override-prin1): Don't quote kewords and booleans.
2727 (object-write) <eieio-default-superclass>: Don't put closing parens
2728 on new line, avoid needless empty lines, align values that are objects
2729 with the slot keyword (instead of beginning on the same line).
2730 (eieio-list-prin1): Align value with slot keyword; increase
2731 eieio-print-depth before printing members of the list.
2733 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2736 a display text-property.
2737 (report-emacs-bug-hook): Don't bother deleting it any more.
2739 * hilit-chg.el (highlight-save-buffer-state): Delete.
2740 Use with-silent-modifications instead.
2741 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2743 * button.el: Handle buttons in display text-properties.
2744 (button--area-button-p, button--area-button-string):
2745 Use (STRING . STRING-POS) representation instead of just STRING.
2747 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2749 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2750 subdirectory be skipped.
2752 2012-12-11 Glenn Morris <rgm@gnu.org>
2754 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2756 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2757 Treat preprocessor lines embedded in continuations like comments.
2758 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2760 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2762 * calc/calc.el (calc-standard-date-formats): Add more date
2764 * calc/calc-forms.el (math-parse-iso-date): New function.
2765 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2766 (math-parse-iso-date-validate): Add extra error checking.
2767 (calc-date-notation): Add ability to access new date formats.
2769 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2772 font-lock as well as when there's no text-property.
2774 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2776 * hi-lock.el: Refine the choice of default face.
2777 (hi-lock-keyword->face): New function. Use it wherever we used
2779 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2780 (hi-lock--last-face): Remove var.
2781 (hi-lock--unused-faces): New var to replace it.
2782 (hi-lock-read-face-name): Use/maintain it.
2783 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2784 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2785 if it has another face.
2787 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2789 * subr.el (w32notify-handle-event): New function.
2790 (inotify-handle-event): Doc fix.
2792 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2794 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2796 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2798 * simple.el (just-one-space): Doc fix.
2800 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2802 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2804 2012-12-10 Le Wang <l26wang@gmail.com>
2806 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2807 narrowed buffer (bug#12361).
2809 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2811 * vc/vc-hooks.el (vc-state): Doc fix.
2813 2012-12-10 Glenn Morris <rgm@gnu.org>
2815 * mail/rmail.el (rmail-maybe-display-summary):
2816 Preserve buffer, in case select-window changes it. (Bug#13066)
2818 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2821 cl-load-hook where they belong.
2823 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2827 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2829 Parallelize byte compilation on MS-Windows.
2830 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2831 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2832 (WINS_BASIC): Define as concatenation of the above.
2833 (compile): Subdivide into 4 separate and independent jobs that can
2835 (compile0-CMD, compile0-SH): New targets for compiling
2836 COMPILE_FIRST files, which are prerequisites for the rest of the
2838 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2839 New targets for parallel compilation with cmd.exe.
2840 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2841 compiling under a Unixy shell.
2843 2012-12-09 Chong Yidong <cyd@gnu.org>
2845 * simple.el (set-mark-default-inactive): Delete this
2846 accidentally-introduced option.
2847 (set-mark-command, exchange-point-and-mark): Remove calls.
2849 2012-12-09 Glenn Morris <rgm@gnu.org>
2851 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2852 Respect a defcustom's :set function, if appropriate. (Bug#109)
2853 (eval-defun): Doc fix.
2855 2012-12-08 Juri Linkov <juri@jurta.org>
2857 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2858 (Info-fontify-node, Info-bookmark-make-record): Remove the
2859 file extension from Info-current-file (Bug#13016).
2861 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2864 point, still provide some default.
2865 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2866 names, since we don't use it right now. Actually return the list.
2867 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2869 2012-12-07 Chong Yidong <cyd@gnu.org>
2871 * novice.el (disabled-command-function): Remove a spurious help
2872 xref (Bug#13043). Suggested by Kelly Dean.
2874 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2875 syntax is specified (Bug#13025).
2877 * info.el (Info-set-mode-line): Remove the file extension from
2878 Info-current-file if there is one (Bug#13016).
2880 2012-12-07 Glenn Morris <rgm@gnu.org>
2882 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2883 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2884 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2885 and rmail-mime-decoded. (Bug#9841)
2887 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2888 (batch-unrmail, unrmail): Doc fixes.
2889 (unrmail): Respect unrmail-mbox-format.
2890 * mail/rmail.el (rmail-mbox-format): New option.
2891 (rmail-show-message-1): Respect rmail-mbox-format.
2893 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2895 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2897 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2899 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2900 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2901 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2902 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2903 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2904 (cl-progv): Don't rely on dynamic scoping to find the body.
2905 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2906 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2907 (cl-declaim): Use backquotes.
2908 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2909 Use "cl--" prefix for the object's tag.
2911 * ses.el: Use advice-add/remove.
2912 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2913 (copy-region-as-kill, yank): Use advice-add.
2914 (ses-unload-function): Use advice-remove.
2916 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2918 * button.el: Make them work in header-lines (bug#12817).
2919 (button-map): Add bindings for header-line and mode-line use.
2920 (button-get, button-put, button-label): `button' may now be a string.
2921 (button-activate): Don't make it a defsubst.
2922 (button--area-button-p, button--area-button-string): New functions.
2923 (make-text-button): Fix the return value when `beg' was a string.
2924 (push-button): Handle the mode-line case.
2926 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2929 (sql-signum): Remove. Use `cl-signum' instead.
2930 (sql-read-passwd): Remove; use read-passwd instread.
2931 (sql-get-login-ext): Use read-string.
2932 (sql-get-login): Use dolist and pcase.
2933 (sql--completion-table): Rename from sql-try-completion.
2934 Use complete-with-action.
2935 (sql-mode): Don't change abbrev-all-caps globally.
2936 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2937 (sql-postgres-completion-object): Initialize vars in their `let'.
2938 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2939 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2940 (sql-comint-interbase): Use a single append, without setq.
2941 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2943 * hi-lock.el: Rework the default face and the serialize regexp code.
2944 (hi-lock--auto-select-face-defaults): Remove.
2945 (hi-lock-string-serialize-serial): Remove.
2946 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2948 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2950 (hi-lock-set-pattern): Adjust accordingly.
2951 (hi-lock--regexps-at-point): Simplify accordingly.
2952 (hi-lock--auto-select-face-defaults): Remove.
2953 (hi-lock--last-face): New var to replace it.
2954 (hi-lock-read-face-name): Rewrite (bug#11095).
2955 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2957 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2959 * net/tramp.el (tramp-replace-environment-variables):
2960 Hide compiler warning.
2961 (tramp-file-name-for-operation): Remove `executable-find',
2962 `start-process', `call-process' and `call-process-region'.
2964 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2966 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2969 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2971 2012-12-06 Chong Yidong <cyd@gnu.org>
2973 * ffap.el (ffap-replace-file-component): Fix typo.
2975 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2978 fix open-paren-like token test (bug#12785).
2980 2012-12-06 Glenn Morris <rgm@gnu.org>
2982 * mail/rmailsum.el (rmail-new-summary): Tweak for
2983 rmail-maybe-display-summary changing buffer. (Bug#13066)
2985 2012-12-06 Juri Linkov <juri@jurta.org>
2987 * info.el (Info-fontify-node): Don't hide the last newline.
2990 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2992 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2993 so as to enable message-read-from-minibuffer to expand mail aliases.
2995 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2998 the `intangible' property.
2999 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3001 2012-12-05 Deniz Dogan <deniz@dogan.se>
3003 * net/rcirc.el (rcirc-urls): Update documentation.
3004 (rcirc-condition-filter): New function.
3005 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3006 and exclude consecutive duplicate URLs (Bug#6082).
3008 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3010 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3011 Check return code of copy command.
3013 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3014 Use group `tramp'. Add version.
3016 2012-12-05 Chong Yidong <cyd@gnu.org>
3018 * ffap.el (ffap-url-regexp): Don't require matching at front of
3020 (ffap-url-p): If only a substring matches, return that.
3021 (ffap-url-at-point): Use the return value of ffap-url-p.
3022 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3023 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3024 (ffap-guess-file-name-at-point): Likewise.
3025 (ffap-replace-file-component): Fix typo.
3027 * info.el (info-display-manual): Add existing Info buffers, whose
3028 files may not be in Info-directory-list, to the completion.
3029 (info--manual-names): New helper function.
3031 2012-12-05 Glenn Morris <rgm@gnu.org>
3033 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3034 New functions, for detecting and resolving conflicts. (Bug#10709)
3036 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3038 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3039 (hi-lock-auto-select-face-defaults): New buffer local variable.
3040 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3041 (hi-lock-unface-buffer): Prompt user with useful defaults.
3042 With prefix arg, unhighlight all hi-lock patterns in buffer.
3044 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3048 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3050 * Makefile.in (TRAMP_SRC):
3051 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3053 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3055 * net/tramp-adb.el: New package.
3057 2012-12-04 Chong Yidong <cyd@gnu.org>
3059 * terminal.el: Move to obsolete/.
3061 * longlines.el: Move to obsolete/.
3063 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3064 Remove code referring to longlines mode.
3066 2012-12-03 Juri Linkov <juri@jurta.org>
3068 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3070 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3072 * textmodes/ispell.el (ispell-init-process)
3073 (ispell-start-process, ispell-internal-change-dictionary):
3074 Make sure personal dictionary name is expanded after initial
3075 `default-directory' value. Use expanded strings for
3076 keep/restart checks and for value (Bug#13019).
3078 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3080 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3082 2012-12-03 Leo Liu <sdl.web@gmail.com>
3084 * files.el (dir-locals-read-from-file): Check file non-empty
3085 before reading. (Bug#13038)
3087 2012-12-03 Glenn Morris <rgm@gnu.org>
3089 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3090 Remove any version extension before checking filename. (Bug#13006)
3091 (jka-compr-compression-info-list): Belated :version bump.
3093 2012-12-03 Chong Yidong <cyd@gnu.org>
3095 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3097 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3098 (buffer-menu): Doc fix (Bug#12294).
3100 2012-12-03 Roland Winkler <winkler@gnu.org>
3102 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3103 of diary-show-all-entries in the diary buffer (Bug#12994).
3105 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3107 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3108 "<STDIN>". This is binary safe.
3110 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3112 * calc/calc-forms.el (math-absolute-from-iso-dt)
3113 (math-date-to-iso-dt, math-parse-iso-date-validate)
3114 (math-iso-dt-to-date): New functions.
3115 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3116 (math-fd-isoweekday): New variables.
3117 (calc-date-notation, math-parse-standard-date, math-format-date)
3118 (math-format-date-part): Add support for more formatting codes.
3120 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3122 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3123 current buffer's file name when called interactively (Bug#12488).
3125 2012-12-02 Juri Linkov <juri@jurta.org>
3127 * info.el (info-display-manual): Don't clobber an existing Info
3128 buffer (Bug#10770). Add completion (Bug#10771).
3130 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3132 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3133 before using it for comparison (Bug#5297).
3135 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3137 * textmodes/css-mode.el (css-current-defun-name): New function.
3140 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3141 (html-mode): Use it.
3143 2012-12-01 Chong Yidong <cyd@gnu.org>
3145 Modularize add-log-current-defun (Bug#2224).
3146 Suggested by Jari Aalto.
3148 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3149 (add-log-current-defun): Move mode-specific code to other files.
3150 (add-log-lisp-like-modes, add-log-c-like-modes)
3151 (add-log-tex-like-modes): Variables deleted.
3153 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3154 (lisp-mode-variables): Use it.
3156 * progmodes/cc-mode.el (c-common-init):
3157 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3158 add-log-current-defun-function.
3160 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3163 * progmodes/perl-mode.el (perl-current-defun-name): New.
3164 (perl-mode): Use it.
3166 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3167 Use lisp-current-defun-name.
3169 * textmodes/tex-mode.el (tex-current-defun-name): New.
3170 (tex-common-initialization): Use it.
3172 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3173 (texinfo-mode): Use it.
3175 2012-12-01 Chong Yidong <cyd@gnu.org>
3177 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3178 * progmodes/autoconf.el (autoconf-mode):
3179 * progmodes/js.el (js-mode):
3180 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3181 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3182 * progmodes/perl-mode.el (perl-mode):
3183 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3184 * textmodes/css-mode.el (css-mode):
3185 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3186 (sgml-tags-invisible, sgml-guess-indent):
3187 * textmodes/tex-mode.el (tex-common-initialization)
3188 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3189 (doctex-mode, plain-tex-mode, latex-mode):
3190 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3192 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3194 * vc/vc-hg.el (vc-hg-next-revision):
3195 Ensure use of default "tip" output format. (Bug#6968)
3197 2012-12-01 Kim F. Storm <storm@cua.dk>
3199 * startup.el (fancy-startup-tail): Add a clickable link
3202 2012-12-01 Chong Yidong <cyd@gnu.org>
3204 * startup.el (fancy-startup-tail): Improve the message about
3205 auto-save files (Bug#2176).
3207 * files.el (recover-session): Improve the descriptive message, and
3208 use substitute-command-keys.
3210 2012-12-01 Glenn Morris <rgm@gnu.org>
3212 * ido.el (ido-file-internal):
3213 Handle other-window, other-frame for dired. (Bug#13036)
3215 2012-11-30 Glenn Morris <rgm@gnu.org>
3217 * icomplete.el (icomplete-separator): Fix :version.
3219 2012-11-30 Chong Yidong <cyd@gnu.org>
3221 * shell.el (shell): For C-u M-x shell, use an inactive shell
3222 buffer as the default (Bug#1975).
3223 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3224 (shell-mode): Use them to reapply ansi colorization if Shell mode
3227 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3229 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3231 2012-11-30 Samuel Bronson <naesten@gmail.com>
3233 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3234 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3236 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3238 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3239 by move-to-column (Bug#3234).
3241 2012-11-30 Chong Yidong <cyd@gnu.org>
3243 * longlines.el (longlines-wrap-line, longlines-encode-region):
3244 Preserve text properties (Bug#1425).
3246 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3248 * vc/vc.el (vc-register): Allow registering a file which is
3249 already registered with a different backend (Bug#10589).
3251 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3252 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * icomplete.el: Change separator; add ido-style commands.
3255 (icomplete-show-key-bindings): Remove custom var.
3256 (icomplete-get-keys): Remove function.
3257 (icomplete-forward-completions, icomplete-backward-completions):
3259 (icomplete-minibuffer-map): New var.
3260 (icomplete-minibuffer-setup): Use it.
3261 (icomplete-exhibit): Don't delay if the list of completions is known.
3262 (icomplete-separator): New custom.
3263 (icomplete-completions): Use it.
3264 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3265 (minibuffer-force-complete-and-exit): New command.
3266 (minibuffer--complete-and-exit): New function extracted from
3267 minibuffer-complete-and-exit.
3268 (minibuffer-complete-and-exit): Use it.
3270 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3271 error message when the file doesn't exist (bug#12974).
3273 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3275 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3277 2012-11-29 Glenn Morris <rgm@gnu.org>
3279 * files.el (hack-dir-local-variables): Warn if try to set
3280 coding via dir-locals, since it doesn't work. (Bug#7169)
3282 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3283 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3284 Set buffer-local value of desktop-save-buffer.
3285 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3287 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3288 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3290 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3291 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3293 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3296 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3298 * calc/calc-forms.el (calc-date-notation): Fix regexp
3299 used to find time codes. Fix symbol for seconds.
3301 2012-11-27 Glenn Morris <rgm@gnu.org>
3303 * emacs-lisp/derived.el (derived-mode-make-docstring):
3304 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3306 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3309 lexically scoped variables (bug#13005).
3311 2012-11-27 Glenn Morris <rgm@gnu.org>
3313 * vc/vc-hooks.el (vc-mistrust-permissions):
3314 Default to t, to avoid data-loss. (Bug#11490)
3316 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3318 * progmodes/python.el (python-indent-guess-indent-offset):
3319 If indentation is guessed make python-indent-offset buffer-local.
3321 Fix Imenu regression.
3322 * progmodes/python.el (python-nav-beginning-of-defun):
3323 Fix forward movement when statement(s) separates point from defun.
3324 (python-imenu-prev-index-position): New function.
3326 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3328 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3330 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3331 Don't set buffer-file-type. Return nil. (Bug#12989)
3333 2012-11-27 Glenn Morris <rgm@gnu.org>
3335 * hippie-exp.el (hippie-expand-try-functions-list):
3336 Re-autoload it. (Bug#12982)
3338 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3340 * descr-text.el (describe-char-padded-string):
3341 Call internal-char-font only on GUI frames. (Bug#11964)
3343 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3345 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3346 and obsoletion message.
3348 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3350 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3351 the constructs to keep outside of the `cl-block' (bug#12977).
3353 2012-11-27 Chong Yidong <cyd@gnu.org>
3355 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3356 keep reading until we get the up-event anyway, in order to process
3357 the up-event for mouse-1-click-follows-link (Bug#12971).
3359 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3361 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3362 base function is not yet defined (bug#12965).
3363 (ad-activate-advised-definition): Use ad-compile-function.
3364 (ad-activate): Use cond.
3366 2012-11-25 Leo Liu <sdl.web@gmail.com>
3368 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3371 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3373 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3374 reftex-section-info-function in order to be compatible with
3375 Texinfo integration.
3377 * textmodes/reftex.el (reftex-section-pre-regexp)
3378 (reftex-section-post-regexp, reftex-section-info-function):
3380 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3381 reftex-section-post-regexp, and reftex-section-info-function in order
3382 to be compatible with Texinfo integration.
3384 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3385 use reftex-section-pre-regexp variable in order to be compatible with
3386 Texinfo integration.
3388 2012-11-25 Chong Yidong <cyd@gnu.org>
3390 * faces.el: Make face-spec-set more analogous to setq.
3391 (face-spec-set): Change the third arg to specify whether this
3392 function is being called via defface, customize, or a third party.
3393 Set the appropriate symbol properties. Clear the override spec if
3394 setting via Custom. Initialize face if necessary. (Bug#4988)
3395 (face-spec-recalc): Allow theme faces to completely replace the
3396 defface spec, in the same way as custom faces (Bug#8454).
3398 * cus-face.el (custom-declare-face): Move face initialization to
3400 (custom-theme-set-faces): Don't initialize the face name here, as
3401 that is now done in face-spec-set.
3403 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3404 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3405 Simplify by using the new arg to face-spec-set.
3407 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3408 reset face-override-spec too, and use custom-declare-face.
3410 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3412 * term/ns-win.el (ns-initialize-window-system): Move creation of
3413 fontsets here (Bug#11964).
3415 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3417 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3420 2012-11-24 Chong Yidong <cyd@gnu.org>
3422 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3425 * custom.el (custom-theme-set-variables): Use a topological sort
3426 for ordering by custom dependencies (Bug#12952).
3427 (custom--sort-vars, custom--sort-vars-1): New functions.
3429 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3431 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3432 lexical-binding (bug#12938).
3434 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3436 * image-mode.el (image-transform-check-size): Use assertions only
3437 for images of type imagemagick.
3439 Otherwise no error, image-transform-fit-to-{width,height} is
3440 silently ignored, as before. Doc fix.
3442 2012-11-24 Chong Yidong <cyd@gnu.org>
3444 * faces.el (color-defined-p): Doc fix (Bug#12853).
3446 2012-11-24 Juri Linkov <juri@jurta.org>
3448 * dired.el (dired-mark): Add optional arg `interactive'.
3449 Check for `use-region-p' if `interactive' is non-nil.
3450 (dired-unmark, dired-flag-file-deletion): Add optional arg
3451 `interactive'. Call `dired-mark' with the arg `interactive'.
3454 * wdired.el: Revert 2012-10-17 change partly and replace it with
3455 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3456 (wdired-finish-edit): Add marks for new file names to
3457 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3458 after `revert-buffer'.
3459 (wdired-do-renames): Remove calls to `dired-remove-file',
3460 `dired-add-file', `dired-add-entry'. (Bug#11795)
3462 2012-11-24 Alan Mackenzie <acm@muc.de>
3464 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3466 Fix bugs in the state cache. Enhance a debugging mechanism.
3467 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3468 "brace at column zero" strategy for C++.
3469 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3470 (c-parse-state-point): New variable.
3471 (c-record-parse-state-state): Record old parse state with
3472 `copy-tree'. Record previous value of point.
3473 (c-debug-parse-state-double-cons): New debugging function.
3474 (c-debug-parse-state): Call the above new function.
3475 (c-toggle-parse-state-debug): Output a confirmatory message.
3477 * progmodes/cc-mode.el (c-before-change, c-after-change):
3478 Call c-invalidate-state-cache from `c-before-change' instead of
3481 2012-11-23 Chong Yidong <cyd@gnu.org>
3483 * find-cmd.el (find-constituents): Add executable, ipath,
3484 readable, samefile, writable, daystart, regextype (Bug#12856).
3486 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3488 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3490 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3492 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3493 definition. This fixes a bootstrap failure.
3494 (calc-gregorian-switch): In menu, put dates before regions.
3495 This is easier to follow, lines up better in the menu, and lets us
3496 coalesce regions that switch at the same time. Give country
3497 names, not "Vatican", as that's better for non-expert users.
3498 Use names that are stable between the date of switch and now, e.g.,
3499 Bohemia and Moravia (which existed then and now) and not
3500 Czechoslovakia (which didn't exist then and doesn't exist now).
3501 What is now the U.S. mostly did not switch at the same time as
3502 Britain, so omit the U.S. Correct spelling of "Britain".
3503 Catholic Switzerland was too much of a mess, so omit it.
3505 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3507 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3508 after the variable is changed.
3510 2012-11-21 Daniel Colascione <dancol@dancol.org>
3512 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3513 in SQL declarations for font-lock.
3514 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3516 2012-11-21 Glenn Morris <rgm@gnu.org>
3518 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3519 (face-italic-p): Add optional argument "inherit".
3521 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3522 Remove -p suffix from names, for consistency with other set-face-*.
3523 (set-face-inverse-video): Fix interactive spec.
3524 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3525 * textmodes/table.el (table--update-cell-face):
3526 Use set-face-inverse-video rather than now obsolete alias.
3528 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3530 * simple.el (line-move): Don't call line-move-partial if
3531 scroll-conservatively is in effect. (Bug#12927)
3533 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3536 Fallback on completion-at-point rather than
3537 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3538 (eshell-cmpl-initialize): Setup completion-at-point.
3540 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3542 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3544 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3546 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3547 are remote, check out-of-band property for both.
3549 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3554 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3556 More minor time fixes.
3557 * calendar/time-date.el: Commentary fix.
3558 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3559 too much other code depends on (0 0) time stamps.
3560 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3561 Add a couple of FIXME comments.
3563 Minor cleanup for times as lists of four integers.
3564 * files.el (dir-locals-directory-cache):
3565 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3567 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3568 * ps-bdf.el (bdf-file-newer-than-time):
3569 Process four-integers time stamps, not two. Doc fixes.
3571 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * uniquify.el (uniquify-managed): Use defvar-local.
3574 (rename-buffer, create-file-buffer): Advise with advice-add.
3575 (uniquify-unload-function): Unadvise accordingly.
3577 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3578 (trace-buffer): Don't purecopy.
3579 (trace-entry-message, trace-exit-message): Add `context' arg.
3580 (trace--timer): New var.
3581 (trace-make-advice): Adjust for use in nadvice.
3582 Add `context' argument. Delay `display-buffer' via a timer.
3583 (trace-function-internal): Use advice-add.
3584 (trace--read-args): New function.
3585 (trace-function-foreground, trace-function-background): Use it.
3586 (trace-function): Rename to trace-function-foreground and redefine as
3587 an alias to that new name.
3588 (untrace-function, untrace-all): Adjust to the use of nadvice.
3590 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3592 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3594 * subr.el (called-interactively-p-functions): New var.
3595 (internal--called-interactively-p--get-frame): New macro.
3596 (called-interactively-p, interactive-p): Rewrite in Lisp.
3597 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3598 (called-interactively-p-functions): Use it.
3599 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3600 (called-interactively-p-functions): Use it.
3601 * allout.el (allout-called-interactively-p): Don't assume
3602 called-interactively-p is a subr.
3604 2012-11-20 Glenn Morris <rgm@gnu.org>
3606 * profiler.el (profiler-report-mode-map): Add a menu.
3607 No need to bind `q' because we derive from special-mode.
3608 (profiler-report-find-entry): Handle calls from the menu-bar.
3610 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * emacs-lisp/byte-run.el (defun-declarations-alist):
3613 Allow a compiler-macro to be a lambda expression.
3615 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3617 (python-syntax-context): Add compiler-macro.
3618 (python-font-lock-keywords): Simplify with De Morgan.
3620 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3622 * files.el (load-file): Require match in minibuffer selection, as was
3623 the case in Emacs-20 before we changed the spec to allow .elc files
3626 * json.el: Don't require cl since we don't use it.
3627 * color.el: Don't require cl.
3628 (color-complement): `caddr' -> `nth 2'.
3630 * calendar/time-date.el (time-to-seconds): De-obsolete.
3632 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3634 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3636 (math-date-to-julian-dt): Adjust the initial approximation for the
3637 year to deal with the new definition of the DATE.
3639 2012-11-19 Daniel Colascione <dancol@dancol.org>
3641 * term/w32-win.el (cygwin-convert-path-from-windows):
3642 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3644 2012-11-18 Chong Yidong <cyd@gnu.org>
3646 * filecache.el (file-cache--read-list): New function.
3647 (file-cache-add-directory-list, file-cache-add-file-list)
3648 (file-cache-delete-file-list, file-cache-delete-directory-list):
3649 Use it to read a list of files or directories (Bug#12846).
3650 (file-cache-add-file, file-cache-add-directory)
3651 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3652 (file-cache-delete-directory): Print an message.
3654 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3656 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3657 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3659 2012-11-18 Glenn Morris <rgm@gnu.org>
3661 * image.el (insert-image, insert-sliced-image): Doc fix.
3663 2012-11-18 Chong Yidong <cyd@gnu.org>
3665 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3668 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3670 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3671 response when the target file is in a subdirectory (Bug#12757).
3673 2012-11-18 Chong Yidong <cyd@gnu.org>
3675 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3677 2012-11-18 Glenn Morris <rgm@gnu.org>
3679 * emacs-lisp/cl-lib.el (face-underline-p):
3680 Use set-face-underline rather than the alias set-face-underline-p.
3682 * window.el (with-temp-buffer-window): Doc fix.
3683 * subr.el (with-output-to-temp-buffer):
3684 Add doc xref to with-temp-buffer-window.
3686 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3688 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3689 * calc/calc.el (math-format-date-cache): Declare.
3691 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3693 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3694 It also uses January 1, 1 AD as its day number 1.
3695 * calc/calc-forms.el (math-julian-date-beginning)
3696 (math-julian-date-beginning-int): Implement this.
3698 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3700 * descr-text.el (quail-find-key):
3701 * dired.el (desktop-file-name):
3702 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3703 * generic-x.el (comint-mode, comint-exec):
3704 * image-dired.el (widget-forward):
3705 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3706 (speedbar-change-expand-button-char)
3707 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3708 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3709 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3710 (widget-field-action, widget-value-set):
3711 * speedbar.el (imenu--make-index-alist):
3712 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3713 (ring-length, ring-insert):
3714 * vcursor.el (compare-windows-skip-whitespace):
3715 * woman.el (dired-get-filename):
3718 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3720 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3722 * calc/calc.el (calc-gregorian-switch): New variable.
3724 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3725 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3726 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3727 (math-leap-year-p): Add option to distinguish between Julian
3728 and Gregorian calendars.
3729 (math-day-number): Use `math-day-in-year' to do the computations.
3730 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3731 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3732 to do the computations.
3733 (math-date-to-dt): Use `math-date-to-julian-dt' and
3734 `math-date-to-gregorian-dt' to do the computations.
3735 (calcFunc-weekday, math-format-date-part): Use the new version of
3736 the DATE to determine the weekday.
3737 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3740 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3742 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3743 Cygwin; otherwise use 'file:'. (Bug#12914)
3744 (cygwin-convert-path-from-windows): Declare, to avoid
3745 byte-compiler warnings.
3747 2012-11-17 Andreas Politz <politza@fh-trier.de>
3749 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3750 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3751 prefix and negative numeric prefix args (Bug#12795).
3753 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3755 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3756 Don't signal an error with a score that is too low to add to the
3757 list of top scores. (Bug#12779)
3759 2012-11-17 Chong Yidong <cyd@gnu.org>
3761 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3763 * filecache.el (file-cache-add-file): Handle relative file name in
3764 the argument (Bug#12694).
3766 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3768 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3770 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3774 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3776 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3778 * window.el (enlarge-window, shrink-window): Don't mention return
3779 value in doc-string (Bug#12896).
3780 (window--display-buffer): Don't resize frames - it won't work
3781 with all window managers and defeat pop-up-frame-alist.
3782 (display-buffer-alist): In doc-string explain that CONDITION can
3783 be a function and which arguments are passed to it (Bug#12854).
3784 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3785 expressions (Bug#12854).
3786 (display-buffer): Pass ACTION argument to
3787 display-buffer-assq-regexp.
3789 2012-11-16 Glenn Morris <rgm@gnu.org>
3791 * window.el (fit-frame-to-buffer-bottom-margin)
3792 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3794 * faces.el (face-underline-p): Use face-attribute-specified-or.
3796 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3798 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3800 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3804 2012-11-16 Glenn Morris <rgm@gnu.org>
3806 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3807 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3809 * faces.el (face-underline-p): Doc fix. Handle :underline being
3810 things other than `t' (a string, a list).
3811 (face-inverse-video-p): Doc fix.
3812 (set-face-underline): Rename it back from set-face-underline-p.
3813 Doc fix. Allow interactive input of values other than t.
3814 (read-face-attribute): Apply formatting to :underline,
3815 since like :box and :stipple it can take list values.
3817 * term.el (ansi-term): Don't let C-x escape-char binding
3818 clobber the more standard C-c binding. (Bug#12842)
3820 * subr.el (set-temporary-overlay-map): Doc fix.
3822 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3824 * window.el (record-window-buffer)
3825 (display-buffer-record-window): When copying the markers to
3826 window-point preserve window-point-insertion-type. (Bug#12588)
3828 2012-11-16 Glenn Morris <rgm@gnu.org>
3830 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3831 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3832 Use new names for hooks rather than obsolete aliases.
3834 2012-11-15 Daniel Colascione <dancol@dancol.org>
3836 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3837 prefix instead of "file:" so that when FILE-NAME begins with "//",
3838 as it does when the target file is on a network share, url-handler
3841 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3844 a preactivated advice from an old advice.el; they're not compatible!
3846 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3848 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3849 Fix string-spec case.
3851 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3853 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3856 (advice--buffer-local-function-sample): New var.
3857 (advice--set-buffer-local, advice--buffer-local): New functions.
3858 (add-function, remove-function): Use them.
3860 2012-11-15 Drew Adams <drew.adams@oracle.com>
3862 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3864 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3867 potential binding of print-gensym to t, and prettify (back)quotes in
3868 case they appear in args's default values (bug#12884).
3870 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3873 (advice-eval-interactive-spec): New function.
3874 (advice--make-interactive-form): Support around advice (bug#12844).
3876 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3878 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3879 more strict. Add docstring.
3880 (ruby-expression-expansion-re): Extract from
3881 `ruby-match-expression-expansion'.
3882 (ruby-syntax-propertize-function): After everything else, search
3883 for expansions in string literals, mark their insides as
3884 whitespace syntax and save match data for font-lock.
3885 (ruby-font-lock-keywords): Use the 2nd group from expression
3887 (ruby-match-expression-expansion): Use the match data saved to the
3888 text property in ruby-syntax-propertize-function.
3890 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3895 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3897 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3898 start/end keyword a bit harder. Works with different values of N.
3900 (ruby-end-of-block): Update accordingly.
3902 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3904 * woman.el (woman-file-name): Don't mess with unread-command-events
3907 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3908 Remove out of date self-require hack.
3909 (ad-do-advised-functions): Use simple `dolist'.
3910 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3911 (ad-advice-definition): Redefine as functions.
3912 (ad-advice-classes): Move before first use.
3913 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3914 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3915 (ad--defalias-fset): Remove functions.
3916 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3917 (ad-get-orig-definition): Rewrite.
3918 (ad-make-advised-definition-docstring): Change base docstring.
3919 (ad-real-orig-definition): Rewrite.
3920 (ad-map-arglists): Change name of called function.
3921 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3922 (ad-make-advised-definition): Simplify.
3923 (ad-assemble-advised-definition): Tweak for new calling context.
3924 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3925 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3926 function and call ad-activate if needed.
3927 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3928 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3929 (ad-compile-function): Compile ad-Advice-*.
3930 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3931 (ad-start-advice, ad-stop-advice): Remove.
3933 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3935 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3936 period before class method names, not after. Remove handling of
3937 one impossible case. Add comments.
3939 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * emacs-lisp/advice.el: Remove support for freezing.
3942 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3943 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3944 Remove support for `freeze'.
3946 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3947 override the default.
3948 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3950 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3953 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3955 (advice--strip-macro): New function.
3956 (advice--defalias-fset): Use them to handle macros.
3957 (advice-add): Use them.
3958 (advice-member-p): Correctly handle macros.
3960 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3962 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3963 Never font-lock the beginning of singleton class as heredoc.
3965 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3969 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3971 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3972 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3973 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3975 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3977 Fix end-of-defun misbehavior.
3978 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3979 python-beginning-of-defun-function. Handle nested defuns
3981 (python-nav-end-of-defun): Rename from
3982 python-end-of-defun-function. Ensure forward movement.
3983 (python-info-current-defun): Reimplement to work as intended
3984 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3985 parent defuns as soon as possible.
3987 2012-11-13 Glenn Morris <rgm@gnu.org>
3989 * progmodes/flymake.el (flymake-error-bitmap)
3990 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3991 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3993 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3995 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3996 backward, always stop at indentation. Reverts the change from
3997 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3999 2012-11-13 Glenn Morris <rgm@gnu.org>
4001 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4002 Add ibuffer-filter-by-derived-mode.
4004 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4005 the same name shadowing each other.
4007 * window.el (with-temp-buffer-window): Doc tweak.
4009 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4011 * help.el (temp-buffer-max-height):
4012 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4013 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4015 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4017 * emacs-lisp/nadvice.el: New package.
4018 * subr.el (special-form-p): New function.
4019 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4020 (elp-all-instrumented-list): Remove var.
4021 (elp-not-profilable): Remove elp-wrapper.
4022 (elp-profilable-p): Use autoloadp and special-form-p.
4023 (elp--advice-name): New const.
4024 (elp-instrument-function): Use advice-add.
4025 (elp--instrumented-p): New predicate.
4026 (elp-restore-function): Use advice-remove.
4027 (elp-restore-all, elp-reset-all): Use mapatoms.
4028 (elp-set-master): Use elp--instrumented-p.
4029 (elp--make-wrapper): Rename from elp-wrapper, return a function
4030 suitable for advice-add. Use cl-inf.
4031 (elp-results): Use mapatoms+elp--instrumented-p.
4032 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4033 (debug-function-list): Remove var.
4034 (debug): Rename arg, and then let-bind it explicitly inside.
4035 (debugger-setup-buffer): Rename arg.
4036 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4037 (debugger-frame-number): Adjust to new debug-on-entry setup.
4038 (debug--implement-debug-on-entry): Rename from
4039 implement-debug-on-entry, add argument.
4040 (debugger-special-form-p): Remove, use special-form-p instead.
4041 (debug-on-entry): Use advice-add.
4042 (debug--function-list): New function.
4043 (cancel-debug-on-entry): Use it, along with advice-remove.
4044 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4045 (debugger-list-functions): Use debug--function-list instead of
4046 debug-function-list.
4047 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4048 (ad-special-form-p): Remove, use special-form-p instead.
4049 (ad-set-advice-info): Use add-function and remove-function.
4050 (ad--defalias-fset): Adjust accordingly.
4052 2012-11-10 Glenn Morris <rgm@gnu.org>
4054 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4055 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4056 (report-emacs-bug-create-existing-bugs-buffer)
4057 (report-emacs-bug-parse-query-results)
4058 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4060 * term.el (term-default-fg-color, term-default-bg-color):
4061 Make obsolete, rather than just saying "deprecated" in the doc.
4063 * term.el (term): Rename from `term-face'.
4064 (term-current-face, ansi-term-color-vector)
4065 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4068 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4070 * server.el (server-create-window-system-frame): Handle Nextstep
4071 specially (Bug#12780).
4073 2012-11-10 Glenn Morris <rgm@gnu.org>
4075 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4076 Unautoload, and make obsolete. (Bug#7449)
4078 2012-11-10 Chong Yidong <cyd@gnu.org>
4080 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4081 rename from diff-remove-trailing-whitespace (Bug#12831).
4083 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4086 miscompilation of trace.el.
4088 2012-11-10 Glenn Morris <rgm@gnu.org>
4090 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4092 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4094 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4097 2012-11-10 Chong Yidong <cyd@gnu.org>
4099 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4100 a defcustom with an appropriate :set function.
4101 (minibuffer-default--in-prompt-regexps): New function.
4103 2012-11-10 Glenn Morris <rgm@gnu.org>
4105 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4106 (define-modify-macro): Doc fixes.
4108 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4109 (gv-define-simple-setter): Update doc of `fix-return'.
4111 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4113 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4114 twice when `fix-return' is set (bug#12813).
4116 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4117 gv-define-simple-setter (bug#12812).
4119 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4122 2012-11-10 Glenn Morris <rgm@gnu.org>
4124 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4126 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4127 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4128 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4129 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4131 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4133 2012-11-10 Leo Liu <sdl.web@gmail.com>
4135 * ido.el (ido-set-matches-1): Improve flex matching performance by
4136 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4138 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4141 (ad--defalias-fset): New function.
4142 (ad-safe-fset): Remove.
4143 (ad-make-freeze-definition): Use cl-letf*.
4145 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4147 * subr.el (dolist): Don't bind VAR in RESULT.
4149 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4150 (fset, documentation): Don't save real def since we don't advise.
4151 (ad-do-advised-functions): Remove problematic `result-form'.
4152 (ad-safe-fset): `ad-real-fset' => `fset'.
4153 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4154 uses CL's dolist internally.
4155 (ad-arglist): Remove unused arg `name'.
4156 (ad-docstring, ad-make-advised-docstring):
4157 `ad-real-documentation' => `documentation'.
4158 (warning-suppress-types): Declare.
4159 (ad-set-arguments): Simple CSE.
4160 (ad-recover-normality): Sanity check.
4162 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4163 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4165 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4167 * ses.el: symbol to coordinate mapping is made by symbol property
4168 `ses-cell'. This means that the same mapping is done for all SES
4169 sheets. That is good enough for cells with standard A1 names, but
4170 not for named cell. So a hash map is added for the latter.
4171 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4172 (ses-sym-rowcol): Use hashmap for named cell.
4173 (ses-is-cell-sym-p): New defun.
4174 (ses-decode-cell-symbol): New defun.
4175 (ses-create-cell-variable): Add cell to hashmap when name is not
4177 (ses-rename-cell): Check that cell new name is not already in
4178 spreadsheet with the use of ses-is-cell-sym-p
4179 (ses-rename-cell): Use hash map for named cells, but accept also
4180 renaming back to A1-like.
4182 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * emacs-lisp/advice.el: Use new dynamic docstrings.
4185 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4186 Use dynamic-docstring-function instead of ad-advice-info.
4187 (ad--make-advised-docstring): New function extracted from
4188 ad-make-advised-docstring.
4189 (ad-make-advised-docstring): Use it.
4190 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4192 (sql-help): Use it with dynamic-docstring-function.
4194 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4196 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4198 * files.el (hack-one-local-variable--obsolete): New function.
4199 (hack-one-local-variable): Use it for obsolete settings.
4201 * subr.el (locate-user-emacs-file): If both old and new name exist, use
4204 * progmodes/js.el (js--filling-paragraph): New var.
4205 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
4206 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
4209 2012-11-08 Julien Danjou <julien@danjou.info>
4211 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
4212 `auto-mode-alist' (Bug#12835).
4214 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4217 (perl--prettify-symbols-alist): New const.
4218 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4220 (perl-font-lock-keywords-2): Use them.
4221 (perl-electric-noindent-p): New function.
4222 (perl-mode): Use it to set up electric-indent-mode.
4223 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4224 (perl-mode-map): Remove bindings for them.
4225 (perl-imenu-generic-expression, perl-outline-level):
4226 Match functions&packages in column>0.
4228 * env.el (env--substitute-vars-regexp): New const.
4229 (substitute-env-vars): Use it. Add `only-defined' arg.
4230 * net/tramp.el (tramp-replace-environment-variables): Use it.
4232 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4233 Byte-compile *before* eval in eval-and-compile.
4234 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4235 (byte-compile-file-form-autoload): Don't hide actual definition.
4236 (byte-compile-maybe-guarded): Accept `functionp' as well.
4238 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4240 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4242 * notifications.el (notifications-get-server-information-method):
4244 (notifications-get-capabilities): Fix docstring.
4245 (notifications-get-server-information): New defun.
4247 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4249 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4252 * textmodes/ispell.el: Experimental support for support debugging.
4253 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4255 (ispell-print-if-debug): New function to print stuff to
4256 `ispell-debug-buffer' if debugging is enabled.
4257 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4258 show some debugging info.
4259 (ispell-buffer-with-debug): New function that creates a debugging
4260 buffer and calls `ispell-buffer' with debugging enabled.
4262 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4263 comment in autoconf mode. (Bug#12768)
4265 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4267 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4268 frame-first-window, frame-root-window, frame-selected-window,
4269 minibuffer-selected-window, minibuffer-window,
4270 window-absolute-pixel-edges, window-at, window-body-height,
4271 window-body-width, window-display-table, window-combination-limit,
4272 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4273 window-inside-edges, window-inside-pixel-edges, window-left-child,
4274 window-left-column, window-margins, window-next-buffers,
4275 window-next-sibling, window-new-normal, window-new-total,
4276 window-normal-size, window-parameter, window-parameters, window-parent,
4277 window-pixel-edges, window-point, window-prev-buffers,
4278 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4279 window-start, window-text-height, window-top-child, window-top-line,
4280 window-total-height, window-total-width and window-use-time to the list
4281 of functions without side-effects.
4282 (toplevel): Add window-valid-p to the list of error-free functions
4283 without side-effects.
4285 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4287 * textmodes/ispell.el (ispell-program-name):
4288 Update spellchecker parameters when customized.
4290 2012-11-04 Glenn Morris <rgm@gnu.org>
4292 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4294 2012-11-04 Chong Yidong <cyd@gnu.org>
4296 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4297 same-window-* variables.
4299 2012-11-04 Juri Linkov <juri@jurta.org>
4301 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4302 (isearch-describe-key, isearch-describe-mode): Use a display
4303 action instead of binding same-window-* variables (Bug#10040).
4305 2012-11-03 Glenn Morris <rgm@gnu.org>
4307 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4308 Rename handler properties back from cl-- to cl-. (Bug#12788)
4310 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4312 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4314 * term/pc-win.el: Don't load term/internal from here.
4316 * loadup.el: Load term/internal from here.
4318 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4320 * progmodes/python.el (inferior-python-mode): Fix hang in
4321 jit-lock (Bug#12645).
4323 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4325 * window.el (switch-to-visible-buffer)
4326 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4328 2012-11-03 Glenn Morris <rgm@gnu.org>
4330 * emacs-lisp/cl-lib.el (cl--random-time):
4331 Rename from cl-random-time. (Bug#12773)
4332 (cl--gensym-counter, cl--random-state): Update callers.
4333 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4335 2012-11-03 Chong Yidong <cyd@gnu.org>
4337 * cus-start.el: Make cursor-type customizable (Bug#11633).
4339 2012-11-02 Glenn Morris <rgm@gnu.org>
4341 * filecache.el: No need to load find-lisp when compiling.
4342 (find-lisp-find-files): Autoload it.
4343 (file-cache-add-directory-recursively): Don't require find-lisp.
4345 * image.el (image-type-from-file-name): Trivial simplification.
4347 * emacs-lisp/bytecomp.el (byte-compile-eval):
4348 Decouple "noruntime" and "cl-functions" warnings.
4350 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4352 * play/gomoku.el (gomoku-display-statistics): Update mode line
4353 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4355 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4357 * window.el (quit-restore-window): If the window has been
4358 created on an existing frame and ended up as the sole window on
4359 that frame, do not delete it (Bug#12764).
4361 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4363 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4364 Rename from sh--inside-arithmetic-expression, handle more cases
4367 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4368 (sh-font-lock-open-heredoc): Use it (bug#12770).
4370 2012-10-30 Glenn Morris <rgm@gnu.org>
4372 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4374 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4376 2012-10-29 Chong Yidong <cyd@gnu.org>
4378 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4379 function key is stored in a keyboard macro (Bug#4894).
4381 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4383 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4387 (diff-unified->context, diff-context->unified)
4388 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4390 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4392 * files.el (find-alternate-file): Only ask one question (bug#12487).
4394 2012-10-29 Chong Yidong <cyd@gnu.org>
4396 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4397 Suggested by Dan Nicolaescu (Bug#6326).
4399 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4401 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4403 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4405 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4407 * face-remap.el (face-remap-add-relative): Handle the case where a
4408 face-remapping-alist entry is a cons cell (Bug#12762).
4410 2012-10-29 Kevin Ryde <user42@zip.com.au>
4412 * woman.el (woman-parse-numeric-value): Handle picas correctly
4415 2012-10-29 Glenn Morris <rgm@gnu.org>
4417 * emacs-lisp/cl.el (defsetf): Doc fix.
4419 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4422 syntax to the matching opener, if any (bug#12547).
4423 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4424 matching open as a "case-(".
4425 (sh-smie-rc-grammar): Add a corresponding rule for it.
4427 2012-10-28 Daniel Hackney <dan@haxney.org>
4429 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4430 "PKGNAME-autoloads.el" in case we created it.
4432 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4434 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4435 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4436 (completion--twq-all): Disable too-strict assertions.
4438 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4440 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4442 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4443 text to match the real keybindings.
4445 2012-10-27 Juri Linkov <juri@jurta.org>
4447 * wdired.el (wdired-keep-marker-rename): New defcustom.
4448 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4451 * dired.el (dired-keep-marker-rename): Add reference to
4452 `wdired-keep-marker-rename' in the docstring.
4453 Add default character value ?R to display initially in
4454 Customization UI instead of ?@.
4456 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4458 * window.el (display-buffer): In doc-string describe
4459 window-height and window-width alist entries.
4461 * time.el (display-time-world): Restore fit-window-to-buffer
4464 2012-10-27 Chong Yidong <cyd@gnu.org>
4466 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4468 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4470 * minibuffer.el (completion-category-overrides): New completion
4471 category `bookmark' (bug#11131).
4473 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4476 Silence bogus compiler warnings for ad-do-it.
4478 * bookmark.el (bookmark-completing-read): Set the completion category
4479 to `bookmark' (bug#11131).
4481 2012-10-26 Bastien <bzg@altern.org>
4482 Stefan Monnier <monnier@iro.umontreal.ca>
4484 * face-remap.el: Use lexical-binding.
4485 (text-scale-adjust): Improve docstring. Use itself for the temporary
4486 overlay-map bindings, so as to repeat the "Use..." message each time.
4488 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4490 * emacs-lisp/macroexp.el (macroexp--expand-all):
4491 Obey byte-compile-warning-enabled-p (bug#12486).
4493 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4494 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4496 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4498 * mouse.el (mouse-drag-line): Move last form into preceding when
4501 * help.el (resize-temp-buffer-window): Fix doc-string.
4503 2012-10-25 David Engster <deng@randomsample.de>
4505 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4506 Remove. This feature is already integrated in imenu.
4508 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4509 always loaded. Require `speedbar' unconditionally.
4511 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4513 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4515 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4517 * net/ldap.el (ldap-search-internal): The official ldif format starts
4518 with a "version: 1" header (bug#12724).
4520 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4523 2012-10-25 Glenn Morris <rgm@gnu.org>
4525 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4527 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * minibuffer.el (minibuffer-force-complete): Use one more marker
4530 for the temporary-overlay-map command (bug#12619).
4532 2012-10-24 Chong Yidong <cyd@gnu.org>
4534 * time.el (display-time-world-mode): Derive from special-mode.
4535 (display-time-world): Use display-buffer (Bug#12708).
4536 (display-time-world-mode-map): Variable deleted.
4537 (display-time-world-display): Wrap the final delete-char inside
4540 2012-10-24 Chong Yidong <cyd@gnu.org>
4542 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4545 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4547 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * minibuffer.el (completion--all-sorted-completions-location): New var.
4550 (completion--cache-all-sorted-completions)
4551 (completion--flush-all-sorted-completions): Use it.
4552 (completion-in-region, completion-in-region--postch)
4553 (completion-at-point, completion-help-at-point): Use markers in
4554 completion-in-region--data (bug#12619).
4556 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4558 * progmodes/compile.el (compilation-start): Try to handle common
4559 quoting of `cd' argument (bug#12640).
4561 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4564 2012-10-23 Glenn Morris <rgm@gnu.org>
4566 * progmodes/gud.el (gud-menu-map):
4567 Check gdb-active-process is bound. (Bug#12358)
4569 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * repeat.el (repeat): Set real-this-command (bug#12232).
4573 * htmlfontify.el (hfy-post-html-hook):
4574 * filesets.el (filesets-cache-fill-content-hook):
4575 * arc-mode.el (archive-extract-hook):
4576 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4577 * net/rcirc.el (rcirc-sentinel-functions)
4578 (rcirc-receive-message-functions, rcirc-activity-functions)
4579 (rcirc-print-functions):
4580 * net/dbus.el (dbus-event-error-functions):
4581 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4582 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4583 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4584 * term/sun.el (sun-raw-prefix-hooks):
4585 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4587 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4589 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4590 Set `tramp-chunksize' to 1. This improves the performance.
4591 (tramp-smb-wait-for-output): Add timeout to
4592 `tramp-accept-process-output' calls.
4594 2012-10-23 Chong Yidong <cyd@gnu.org>
4596 * faces.el (font-list-limit): Define as an obsolete variable.
4598 * startup.el (command-line):
4599 * cus-start.el: Don't refer to font-list-limit.
4601 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4603 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4605 * subr.el (internal-temp-output-buffer-show): Rename from
4606 temp-output-buffer-show, since previously compiled files expect this name.
4608 2012-10-23 Glenn Morris <rgm@gnu.org>
4610 * image.el (image-type-from-file-name): If multiple types match,
4611 return the first one that is supported. (Bug#9045)
4613 2012-10-22 Glenn Morris <rgm@gnu.org>
4615 * image.el (imagemagick-enabled-types): Doc fix.
4617 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4619 * progmodes/which-func.el (which-func-current): The hash-table may have
4620 an explicit nil (bug#12338).
4622 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * electric.el (electric-pair-delete-selection-self-insert-function):
4625 Rename to electric-pair-will-use-region, return a boolean.
4626 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4628 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4629 (delete-selection-pre-hook): Use use-region-p.
4630 (delete-selection-self-insert-function): Remove.
4631 (self-insert-command): Obey self-insert-uses-region-functions.
4632 (self-insert-iso): Revert to previous setting, since we don't actually
4633 know what that command does.
4634 (delete-selection-self-insert-hooks): Remove.
4636 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4638 * delsel.el (delete-selection-helper): New function, extracted from
4639 delete-selection-pre-hook.
4640 (delete-selection-pre-hook): Use it.
4641 (delete-selection-self-insert-function): New function.
4642 (delete-selection-self-insert-hooks): New hook.
4643 (self-insert-command, self-insert-iso): Use it.
4644 * electric.el (electric-pair-syntax): New function, extracted from
4645 electric-pair-post-self-insert-function.
4646 (electric-pair-post-self-insert-function): Use it.
4647 (electric-pair-delete-selection-self-insert-function): New function.
4648 (electric-pair-mode): Require delsel and setup
4649 delete-selection-self-insert-hooks (bug#11520).
4651 2012-10-20 Chong Yidong <cyd@gnu.org>
4653 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4654 no changes to show (Bug#12586).
4656 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4657 list explicitly (Bug#12571).
4659 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4661 * progmodes/flymake.el (flymake-create-temp-inplace):
4664 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4666 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4668 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4670 * calc/calc-units.el (math-extract-units): Properly extract powers
4673 2012-10-20 Daniel Colascione <dancol@dancol.org>
4675 * frame.el (make-frame): Set x-display-name as we used to in order
4676 to unbreak creating an X11 frame from an Emacs daemon started
4679 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4682 the same completion-field (bug#12221).
4684 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4686 * emacs-lisp/debug.el (debug): Record height of debugger window
4687 also when debugger will be back (Bug#8789).
4689 2012-10-18 Chong Yidong <cyd@gnu.org>
4691 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4692 Convert to defcustom.
4693 (gdb-get-source-file): Don't bind pop-up-windows.
4695 * progmodes/gud.el (gud-display-line): Don't specially re-use
4696 other frames for the gdb-mi case (Bug#12648).
4698 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * emacs-lisp/advice.el: Clean up commentary a bit.
4701 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4702 (byte-code-function-p): Never redefine.
4704 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4706 2012-10-18 Glenn Morris <rgm@gnu.org>
4708 * dired.el (dired-sort-toggle): Some ls implementations only allow
4709 a single option string. (Bug#12666)
4711 * minibuffer.el (completion-cycle-threshold): Doc fix.
4713 2012-10-17 Kenichi Handa <handa@gnu.org>
4715 * international/mule.el (set-keyboard-coding-system):
4716 Recover input meta mode when the new coding system doesn not use 8-bit.
4717 Supply TERMINAL arg to set-input-meta-mode.
4719 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4721 * wdired.el (wdired-old-marks): New variable.
4722 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4723 (wdired-do-renames): Move point with renamed file and don't lose
4724 mark status (Bug#11795).
4726 2012-10-16 Juri Linkov <juri@jurta.org>
4728 * replace.el (query-replace-help): Mention multi-buffer replacement
4729 keys in the Help message. (Bug#12655)
4731 2012-10-15 Chong Yidong <cyd@gnu.org>
4733 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4735 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4737 * window.el (display-buffer): Doc fix.
4739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4740 Adjust the msft regexp to the output of Studio 2010, and move msft
4741 before edg-1. See the discussion on emacs-devel,
4742 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4745 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4748 (oset): Move uses of object-class-fast macro after its definition.
4750 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4752 2012-10-13 Chong Yidong <cyd@gnu.org>
4754 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4755 enabled, re-enable it (Bug#11963).
4757 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4759 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4760 non-nil, restore window configuration (Bug#12623).
4762 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * help-fns.el (describe-variable, describe-function-1):
4765 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4767 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4769 2012-10-12 Glenn Morris <rgm@gnu.org>
4771 * mail/rmailsum.el (rmail-header-summary):
4772 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4774 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4776 * progmodes/python.el (python-mode-map):
4777 Replace subtitute-key-definition with proper command remapping.
4778 (python-nav--up-list): Fix behavior for blocks on the same level.
4780 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4784 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4785 changes to the format of load-history.
4787 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4788 completion-ignore-case in case that var is buffer-local (bug#12615).
4790 2012-10-11 Kenichi Handa <handa@gnu.org>
4792 * international/eucjp-ms.el: Re-generated.
4794 2012-10-10 Kenichi Handa <handa@gnu.org>
4796 * select.el (xselect--encode-string): If a coding is specified for
4797 selection, and that is compatible with COMPOUND_TEXT, use it.
4799 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4801 * window.el (switch-to-buffer-preserve-window-point): New option.
4803 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4805 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4807 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4808 Don't document nil as a useful value (bug#12583).
4810 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4812 * net/tramp.el (tramp-debug-message):
4813 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4814 (with-tramp-progress-reporter): Rename from
4815 `tramp-with-progress-reporter'.
4816 (with-tramp-file-property, with-tramp-connection-property):
4817 Move from tramp-cache.el, rename from `with-file-property' and
4818 `with-connection-property', respectively.
4820 * net/tramp-cache.el: Remove `with-file-property' and
4821 `with-connection-property'.
4824 * net/tramp-gvfs.el:
4826 * net/tramp-smb.el: Adapt callees.
4828 * net/trampver.el: Update release number.
4830 2012-10-09 Glenn Morris <rgm@gnu.org>
4832 * w32-fns.el (set-message-beep):
4833 * term/w32-win.el (set-message-beep): Update declarations.
4835 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4837 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4838 (mode-line-widen, mode-line-input-method-map)
4839 (mode-line-coding-system-map, mode-line-remote)
4840 (mode-line-unbury-buffer, mode-line-bury-buffer)
4841 (mode-line-next-buffer, mode-line-previous-buffer):
4842 Replace save-selected-window+select-window => with-selected-window.
4844 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4845 * progmodes/cc-vars.el (bq-process): Remove, unused.
4847 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4849 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4851 Implemented `backward-up-list'-like navigation.
4852 * progmodes/python.el (python-nav-up-list)
4853 (python-nav-backward-up-list): New functions.
4854 (python-mode-map): Define substitute key for backward-up-list to
4855 python-nav-backward-up-list.
4857 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4859 * progmodes/python.el (python-fill-paragraph): Rename from
4860 python-fill-paragraph-function. Fixed fill-paragraph for
4861 decorators (Bug#12605).
4863 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4865 * progmodes/python.el (python-shell-output-filter): Handle extra
4866 carriage return in OSX (Bug#12409).
4868 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4870 Fix shell handling of unbalanced quotes and parens in output.
4871 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4872 (python-syntax-propertize-function): Use it.
4873 (python-shell-output-syntax-table): New var.
4874 (inferior-python-mode): Prevent unbalanced parens/quotes from
4875 previous output mess with current input context.
4877 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4879 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4880 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4882 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4884 * ffap.el (ffap-replace-file-component): Support Tramp file name
4885 syntax, not only ange-ftp's one.
4887 2012-10-08 Glenn Morris <rgm@gnu.org>
4889 * cus-start.el (message-log-max): Set :version.
4891 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4893 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4895 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4896 the minibuffer window (Bug#10851).
4898 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4900 Enhancements on forward-sexp movement.
4901 * progmodes/python.el (python-nav-beginning-of-statement)
4902 (python-nav-end-of-statement): Return point-marker.
4903 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4904 (python-info-current-symbol)
4905 (python-info-statement-starts-block-p): Rename from
4906 python-info-beginning-of-block-p.
4907 (python-info-statement-ends-block-p): Rename from
4908 python-info-end-of-block-p.
4909 (python-info-beginning-of-statement-p)
4910 (python-info-end-of-statement-p)
4911 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4914 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4916 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4917 frame-selected-windows.
4919 2012-10-08 Daniel Colascione <dancol@dancol.org>
4921 * battery.el (battery-status-function): Check for
4922 w32-battery-status itself, not system-time windows-nt.
4924 * frame.el: Require cl-lib.
4925 (display-format-alist): New variable mapping frame types to
4926 functions that initialize them.
4927 (window-system-for-display): New function: interprets
4928 display-format-alist.
4929 (make-frame-on-display): Remove existing display-selection logic
4930 and just forward to make-frame, which will now DTRT.
4931 (make-frame): Restructure to use window-system-for-display to
4932 figure out how to create a frame on a given display.
4933 (display-mouse-p): Look for frame-type w32, not a particular
4936 * loadup.el: Load w32 lisp code when we have the w32 feature.
4938 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4939 system-type windows-nt.
4941 * server.el (server-create-window-system-frame): Look for window
4943 (server-proces-filter): Only force a window system when windows-nt
4944 _and_ w32. Explain why.
4946 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4947 of window systems we configure for the mode.
4949 * startup.el (command-line): Mark window system is initialized
4950 after we've done it.
4952 * common-win.el (x-select-text): Look for w32, not windows-nt.
4954 * ns-win.el: Require cl-lib. Add ourselves to
4955 display-format-alist.
4956 (ns-initialize-window-system): Assert we're not initialized twice.
4958 * w32-win.el: Enable lexical binding; require cl-lib; add
4959 ourselves to display-format-alist.
4960 (w32-handle-dropped-file): Convert incoming dropped files from
4961 Windows paths to Cygwin ones before passing them on to the rest of
4963 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4964 (w32-initialize-window-system): Assert we're not initialized twice.
4966 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4967 (x-initialize-window-system): Assert we're not initialized twice.
4969 * w32-common-fns.el: New File.
4970 (w32-version, w32-using-nt, w32-get-clipboard-data)
4971 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4972 (w32-charset-info-alist, x-last-selected, text)
4973 (x-get-selection-value, x-selection-value): Move here.
4975 * w32-fns.el: Require w32-common-fns.
4976 (w32-version, w32-using-nt, w32-get-clipboard-data)
4977 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4978 (w32-charset-info-alist, x-last-selected, text)
4979 (x-get-selection-value, x-selection-value): Move to
4983 (w32-allow-system-shell, w32-system-shells): Define only in
4986 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4988 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4989 (read-passwd): Remove a few more potential sources of leaks.
4991 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4993 * progmodes/python.el (inferior-python-mode)
4994 (python-shell-make-comint): Fix initialization of local
4995 variables copied from parent buffer.
4997 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4999 * term/ns-win.el (ns-read-file-name): Update declaration to match
5001 (ns-respond-to-change-font): Change fontsize separatly so we are sure
5002 it is set when font is acted upon.
5004 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5006 Enhancements to indentation.
5007 * progmodes/python.el (python-indent-context): Give priority to
5008 inside-string context. Make comments indentation markers.
5009 (python-indent-region): Do not mess with strings, unless it's the
5010 enclosing set of quotes.
5012 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * window.el (internal--before-save-selected-window)
5015 (internal--after-save-selected-window): New functions extracted from
5016 save-selected-window. Make sure we return the `alist' we construct.
5017 (save-selected-window): Use them.
5019 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5020 Use with-selected-window.
5022 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5023 forms that define macros (bug#12593).
5025 2012-10-07 Kenichi Handa <handa@gnu.org>
5027 * international/mule-conf.el (compound-text-with-extensions):
5028 Add :mime-charset property as x-ctext.
5030 2012-10-07 Stefan Merten <smerten@oekonux.de>
5032 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5033 (rst-indent-literal-normal, rst-indent-literal-minimized)
5034 (rst-indent-comment): Correct :version tag.
5035 (rst-official-cvs-rev): Correct version string.
5037 2012-10-07 Glenn Morris <rgm@gnu.org>
5039 * mail/rmailmm.el (rmail-mime-process-multipart):
5040 Do not confuse a multipart message with an epilogue
5041 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5043 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5045 Fix shell output retrieval and comint-prompt-regexp init.
5046 * progmodes/python.el (inferior-python-mode):
5047 (python-shell-make-comint): Fix initialization of
5048 comint-prompt-regexp from copied file local variables.
5049 (python-shell-fetched-lines): Remove var.
5050 (python-shell-output-filter-in-progress): Rename from
5051 python-shell-fetch-lines-in-progress.
5052 (python-shell-output-filter-buffer): Rename from
5053 python-shell-fetch-lines-string.
5054 (python-shell-fetch-lines-filter): Delete function.
5055 (python-shell-output-filter): New function.
5056 (python-shell-send-string-no-output): Use them.
5058 2012-10-07 Glenn Morris <rgm@gnu.org>
5060 * hi-lock.el (hi-lock-process-phrase):
5061 Try to make it less fragile. (Bug#7161)
5063 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5065 2012-10-06 Glenn Morris <rgm@gnu.org>
5067 * ehelp.el (electric-help-mode): Use help-mode rather than
5068 non-existent mode `help'.
5069 (electric-help-map): Use button-buffer-map. (Bug#10917)
5071 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5072 (reftex-create-bibtex-footer): Fix custom types.
5074 * progmodes/sh-script.el (sh-indent-after-continuation):
5075 Add explicit :group.
5077 * textmodes/rst.el (rst-preferred-decorations)
5078 (rst-shift-basic-offset): Clarify obsolescence versions.
5080 * profiler.el (profiler): Add missing group :version tag.
5081 * avoid.el (mouse-avoidance-banish-position):
5082 * proced.el (proced-renice-command):
5083 * calc/calc.el (calc-ensure-consistent-units):
5084 * calendar/icalendar.el (icalendar-import-format-uid):
5085 * net/tramp.el (tramp-save-ad-hoc-proxies):
5086 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5087 * progmodes/flymake.el (flymake-error-bitmap)
5088 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5089 * progmodes/sh-script.el (sh-indent-after-continuation):
5090 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5091 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5092 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5093 (vhdl-array-index-record-field-in-sensitivity-list)
5094 (vhdl-indent-comment-like-next-code-line):
5095 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5096 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5097 (reftex-cite-key-separator, reftex-create-bibtex-header)
5098 (reftex-create-bibtex-footer):
5099 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5100 (rst-indent-literal-normal, rst-indent-literal-minimized)
5101 (rst-indent-comment): Add missing custom :version tags.
5103 * calendar/timeclock.el (timeclock-modeline-display):
5104 Add missing obsolete alias for renamed user option.
5106 * strokes.el (strokes-modeline-string):
5107 * emulation/crisp.el (crisp-mode-modeline-string):
5108 * eshell/esh-mode.el (eshell-status-in-modeline):
5109 Aliases to defcustoms must come before the defcustom.
5111 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5112 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5113 (cal-tex-cursor-week-monday): Doc fixes.
5114 (cal-tex-cursor-week2-summary): Doc fix.
5115 Rename from cal-tex-cursor-week-at-a-glance.
5117 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5118 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5120 * calendar/calendar.el (calendar-mode-map):
5121 Add cal-tex-cursor-week2-summary.
5123 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5125 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5127 * subr.el (read-passwd-map): New var.
5128 (read-passwd): Use `read-string' again.
5129 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5131 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5133 * register.el (append-to-register, prepend-to-register):
5134 Deactivate mark, as does `copy-to-register' (bug#12389).
5136 2012-10-06 Chong Yidong <cyd@gnu.org>
5138 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5140 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5142 * international/characters.el: Fix simple mistake ((car chars) ->
5143 elt), delete duplicated code.
5145 2012-10-06 Glenn Morris <rgm@gnu.org>
5147 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5149 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5151 * color.el (color-hsl-to-rgb): Fix incorrect results for
5152 small and large hue values. (Bug#12559)
5154 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5156 Enhancements to docstring formatting when filling paragraphs.
5157 * progmodes/python.el (python-fill-docstring-style): Rename from
5158 python-fill-string-style. Added new style.
5159 (python-fill-string): Use new style. Better checks for
5162 2012-10-05 Glenn Morris <rgm@gnu.org>
5164 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5166 * color.el (color-name-to-rgb, color-rgb-to-hex)
5167 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5168 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5169 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5170 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5172 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5174 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5176 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5177 to get the correct size across symlinks.
5179 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5181 2012-10-04 Juri Linkov <juri@jurta.org>
5183 * replace.el (query-replace-interactive): Declare obsolete.
5184 (query-replace-read-from): Add the last incremental search string
5185 to the list of default values accessible via M-n.
5186 (map-query-replace-regexp): Use `read-regexp'.
5187 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5188 (map-query-replace-regexp, replace-string, replace-regexp):
5189 Fix docstrings to replace mentions of `query-replace-interactive'
5190 with alternatives. (Bug#12526)
5192 2012-10-04 Juri Linkov <juri@jurta.org>
5194 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5195 (dired-pop-to-buffer): Declare obsolete.
5196 (dired-mark-pop-up): Doc fix.
5198 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5200 Allow user to set docstring style for fill-paragraph.
5201 * progmodes/python.el
5202 (python-fill-comment-function, python-fill-string-function)
5203 (python-fill-decorator-function, python-fill-paren-function):
5204 Remove :safe for defcustoms.
5205 (python-fill-string-style): New defcustom
5206 (python-fill-paragraph-function): Enhance context detection.
5207 (python-fill-string): Honor python-fill-string-style settings.
5209 2012-10-04 Martin Rudalics <rudalics@gmx.at>
5211 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5212 after setting its buffer (Bug#10805).
5214 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5216 Fix cornercase for string syntax.
5217 * progmodes/python.el (python-syntax-propertize-function):
5218 Simplify and enhance the regexp for unescaped quotes. Now it also
5219 matches quotes in weird situations like the single quote in
5221 (python-syntax-stringify): Simplify num-quotes detecting code.
5223 2012-10-03 Glenn Morris <rgm@gnu.org>
5225 * help-macro.el (three-step-help):
5226 Revert 2012-09-29 change. (Bug#12567)
5228 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5230 * menu-bar.el (kill-this-buffer): Don't do anything when
5231 `menu-frame' is not alive or visible (Bug#8184).
5233 * emacs-lisp/debug.el (debug): When quitting the debugger window
5234 restore current buffer (Bug#12502).
5236 2012-10-02 Chong Yidong <cyd@gnu.org>
5238 * progmodes/hideif.el (hif-lookup, hif-defined):
5239 Handle semantic-c-takeover-hideif.
5241 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5243 Change sampling interval units from ms to ns.
5244 * profiler.el (profiler-sampling-interval): Change units
5245 from ms to ns, multiplying the default by 1000000 so that
5247 (profiler-report-cpu-line-format): Give enough room for
5248 the maximum counters on 64-bit hosts.
5249 (profiler-report-render-calltree-1): Call them "CPU samples",
5250 not "Time (ms)", since they are not milliseconds now (and
5253 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5255 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5256 Fix querying BBDB for entries without a last name (Bug#11580).
5258 2012-10-02 Chong Yidong <cyd@gnu.org>
5260 * emacs-lisp/eieio.el: Restore Version header.
5262 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5264 * vc/diff-mode.el (diff--auto-refine-data): New var.
5265 (diff-hunk): Use it to delay refinement.
5266 (diff-mode): Remove overlays when we turn off font-lock.
5268 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5269 (table-initialize-table-fixed-width-mode)
5270 (table-set-table-fixed-width-mode): Remove functions.
5271 (table-command-list): Move initialization into declaration.
5272 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5273 (table-with-cache-buffer): Use `declare'.
5274 (table-span-cell): Simplify via CSE.
5275 (table-fixed-width-mode): Use define-minor-mode.
5276 (table-call-interactively, table-funcall, table-apply): Remove.
5277 (table-function): New function, to replace them.
5279 * bookmark.el (bookmark-search-pattern): Remove var.
5280 (bookmark-read-search-input): Remove function.
5281 (bookmark-bmenu-search): Reimplement using a minibuffer.
5283 * faces.el (modeline): Remove obsolete face name.
5285 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5286 and give a non-nil default value.
5287 (add-change-log-entry): Simplify accordingly.
5289 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5291 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5292 (vc-git-log-edit-toggle-amend): New function.
5293 (vc-git-log-edit-toggle-signoff): New function.
5294 (vc-git-log-edit-mode): New major mode.
5295 (vc-git-log-edit-mode-map): Keymap for it.
5296 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5298 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5300 (log-edit-toggle-header): New function.
5301 (log-edit-extract-headers): Accept function values in HEADERS alist.
5303 2012-10-01 David Engster <deng@randomsample.de>
5305 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5306 from symbol property and change message to be more consistent with
5308 (eieio-describe-generic): Add filename for each implementation.
5309 Fix indices for generic and normal methods.
5310 (eieio-method-def, eieio-class-def): New buttons.
5311 (eieio-help-find-method-definition)
5312 (eieio-help-find-class-definition): New functions.
5313 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5314 class, constructor and method definitions.
5316 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5317 information in symbol property.
5318 (scoped-class): Remove.
5319 (eieio-slot-name-index, call-next-method): Check if it is bound.
5321 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5323 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5324 (eieio-custom-mode): New major mode.
5325 (eieio-customize-object): Use it.
5327 2012-10-01 Eric Ludlam <zappo@gnu.org>
5329 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5330 specifying the expected class, and whether subclassing is allowed.
5331 (eieio-persistent-convert-list-to-object):
5332 (eieio-persistent-validate/fix-slot-value)
5333 (eieio-persistent-slot-type-is-class-p): New functions.
5334 (eieio-named::slot-missing): Doc fix.
5336 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5337 Stop using unused publd variable.
5339 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5340 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5341 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5342 (eieio-speedbar-handle-click): Do not specify a class for the
5343 method. Fixes method invocation order problems with EDE.
5345 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5348 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5350 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5352 * bookmark.el (bookmark-version-control): Give tags in the
5353 :type choices (Bug#12309), and improve doc string.
5354 (bookmark-write-file): Bind `print-circle' to `t' to allow
5355 circular custom bookmark types. (Bug#12503)
5357 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5359 Revert the FOLLOW-SYMLINKS change for file-attributes.
5360 * files.el (remote-file-name-inhibit-cache, after-find-file):
5361 * time.el (display-time-file-nonempty-p): Undo last change.
5363 * profiler.el (profiler-sampling-interval): Change default back to 1.
5364 See Stefan Monnier in
5365 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5367 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5369 Shell output catching a la gud-gdb.
5370 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5371 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5373 (python-shell-fetch-lines-filter): New function.
5374 (python-shell-send-string-no-output): Use them.
5376 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5378 * profiler.el (profiler-sampling-interval): Rename from
5379 profiler-sample-interval.
5380 (profiler-sampling-interval): Default to 10.
5381 (profiler-find-profile): New command (was profiler-find-log).
5382 (profiler-find-profile-other-window): New command.
5383 (profiler-find-profile-other-frame): New command.
5384 (profiler-profile): Introduce API-level data structure.
5386 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5388 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5389 * files.el (remote-file-name-inhibit-cache):
5390 * time.el (display-time-file-nonempty-p): Use it.
5391 * files.el (after-find-file): Don't chase links before calling
5392 file-exists-p, as file-exists-p already does the right thing.
5394 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5396 Merge from standalone RefTeX repository.
5398 The following ChangeLog entries are shortened versions of the
5399 original ones with file paths adapted. A not so strongly edited
5400 version of the original ChangeLog can be found in the commit log.
5402 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5403 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5404 Correctly handle new value type returned by `reftex-citation'.
5406 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5407 that entries with whitespace at various places are found.
5408 Doc fix. Include entries that are cross-referenced from cited entries.
5409 Include @String definitions in the resulting bib file. Add header
5410 and footer defined in `reftex-create-bibtex-header' and
5411 `reftex-create-bibtex-footer'.
5412 (reftex-do-citation): Make it possible again to insert
5413 non-existent entries. Save match data when asking for optional
5414 arguments. Return all keys, not just the first one.
5415 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5416 all citations in the same line.
5417 (reftex-parse-bibtex-entry): Accept additional optional argument
5418 `raw' and keep quotes or braces if it is non-nil. Match fields
5419 containing hyphens besides word constituents.
5420 (reftex-get-string-refs): New function.
5421 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5422 and ask if it should be reread in case it did.
5423 (reftex-pop-to-bibtex-entry)
5424 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5425 entries with spaces or tabs in front of arguments.
5426 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5427 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5428 Match entries containing numbers and symbol constituents.
5429 (reftex-do-citation, reftex-figure-out-cite-format):
5430 Use `reftex-cite-key-separator'.
5432 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5433 (reftex-mouse-view-crossref): Explain why point is set.
5435 * textmodes/reftex-global.el: Whitespace changes.
5437 * textmodes/reftex-index.el: Move provide statement to end of
5439 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5440 (reftex-index-visit-phrases-buffer): Set marker when visiting
5441 buffer. This allows for returning from the phrases file to the
5442 file one was just editing instead of the file where the last
5443 phrases was added from.
5444 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5445 punctuation syntax as it usually is not used as string quote in
5446 TeX-related modes and may occur unmatched. The change also
5447 prevents fontification of quoted content.
5448 (reftex-index-phrases-mode): Use it.
5450 * textmodes/reftex-parse.el (reftex-parse-from-file):
5451 Move backward one char if a `\' was matched after a section macro.
5452 (reftex-parse-from-file): Use beginning of match instead of end as
5455 * textmodes/reftex-ref.el: Adapt creation of
5456 `reftex-<package>-<macro>' functions to new structure of
5457 `reftex-ref-style-alist'.
5458 (reftex-reference): Use `reftex-ref-style-list' function.
5459 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5460 reference macro if `reftex-ref-macro-prompt' is non-nil.
5461 (reftex-reference): Pass refstyle to `reftex-format-special'.
5462 Determine reference macro by looking at
5463 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5464 Use only one special format function.
5465 (reftex-varioref-vref, reftex-fancyref-fref)
5466 (reftex-fancyref-Fref): Remove definitions. The functions are now
5467 generated from `reftex-ref-style-alist'.
5468 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5470 (reftex-format-special): New function.
5472 * textmodes/reftex-sel.el
5473 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5474 of `reftex-ref-style-alist'. Remove code for testing macro type.
5475 (reftex-select-toggle-varioref)
5476 (reftex-select-toggle-fancyref): Remove.
5477 (reftex-select-cycle-ref-style-internal)
5478 (reftex-select-cycle-ref-style-forward)
5479 (reftex-select-cycle-ref-style-backward): New functions.
5480 (reftex-select-label-map): Use `v' and `V' for general cycling
5481 through reference styles. Add `p' for switching between number
5482 and page reference types.
5484 * textmodes/reftex-toc.el (reftex-re-enlarge):
5485 Call `enlarge-window' only if there is something to do because in Emacs
5486 the horizontal version throws an error even if the parameter is 0.
5488 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5489 (reftex-plug-into-AUCTeX): Doc fix.
5490 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5491 string. Adapt to new name.
5492 (reftex-ref-style-alist): Change structure so that it is not
5493 possible to use multiple different package names within a style.
5494 Remove the symbols for symbols for macro type distinction.
5495 Add characters for macro selection.
5496 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5497 (reftex-create-bibtex-footer): New variables.
5498 (reftex-format-ref-function): Mention third argument of special
5500 (reftex-ref-style-alist, reftex-ref-style-default-list):
5502 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5503 to new implementation. Mark as obsolete. Add compatibility code
5504 for honoring the variable values in case they are set.
5505 (reftex-cite-format-builtin, reftex-bibliography-commands):
5506 Add support for ConTeXt.
5507 (reftex-format-ref-function, reftex-format-cite-function):
5509 (reftex-cite-key-separator): New variable.
5511 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5512 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5513 `reftex-syntax-table' because parens have to retain their paren
5514 syntax in order for parsing of BibTeX entries like @book(...) to
5516 (reftex-in-comment): Do not error out if `comment-start-skip' is
5517 not set. Deal correctly with escaped comment characters.
5518 (reftex-tie-multifile-symbols): Add doc string.
5519 Initialize `reftex-ref-style-list'.
5520 (reftex-untie-multifile-symbols): Add doc string.
5521 (reftex-add-index-macros): Doc fix.
5522 (reftex-ref-style-activate, reftex-ref-style-toggle)
5523 (reftex-ref-style-list): New functions.
5524 (reftex-mode-menu): Use them. Adapt to new structure of
5525 `reftex-ref-style-alist'.
5526 (reftex-select-with-char): Kill the RefTeX Select buffer when
5528 (reftex-remove-if): New function.
5529 (reftex-erase-all-selection-and-index-buffers)
5530 (reftex-mode-menu): Reference styles are now computed from
5531 `reftex-ref-style-alist'. Fix typo.
5532 (reftex-report-bug): New function.
5533 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5534 algorithms with O(n log n). Introduce optional argument SORT (not
5537 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5539 Enhancements for triple-quote string syntax.
5540 * progmodes/python.el (python-syntax-propertize-function):
5541 Match both quote cases in one regexp.
5542 (python-syntax-stringify): Handle matches properly.
5544 2012-09-30 Juri Linkov <juri@jurta.org>
5546 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5547 to nil around the call to `insert' to prevent
5548 directory time modification by lock_file. (Bug#2295)
5549 * tar-mode.el (tar-summarize-buffer): Idem.
5551 2012-09-30 Juri Linkov <juri@jurta.org>
5553 * facemenu.el (list-colors-sort): Add option "Luminance".
5554 (list-colors-sort-key): Implement it.
5556 * vc/diff-mode.el (diff-refine-removed):
5557 * vc/ediff-init.el (ediff-fine-diff-A):
5558 * vc/smerge-mode.el (smerge-refined-removed):
5559 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5561 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5563 * term/ns-win.el (x-file-dialog): New function.
5565 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5567 * ido.el (ido-max-directory-size): Default to nil; the current
5568 default is small for POSIX systems, and impractical on Windows 7
5569 now that lstat returns directory sizes for NTFS.
5571 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5573 In buffer display functions handle window-height/window-width
5574 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5575 * window.el (window--display-buffer): New argument ALIST.
5576 Obey window-height and window-width alist entries.
5577 (window--try-to-split-window): New argument ALIST.
5578 Bind window-combination-limit to t when the window's size shall be
5579 changed and window-combination-limit equals `window-size'.
5580 (display-buffer-in-atom-window)
5581 (display-buffer-in-major-side-window)
5582 (display-buffer-in-side-window, display-buffer-same-window)
5583 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5584 (display-buffer-pop-up-window, display-buffer-below-selected)
5585 (display-buffer-at-bottom, display-buffer-in-previous-window)
5586 (display-buffer-use-some-window): Adjust all callers of
5587 window--display-buffer and window--try-to-split-window.
5588 (fit-frame-to-buffer): New option.
5589 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5591 (display-buffer-in-major-side-window): Evaluate window-height /
5592 window-width alist entries.
5594 * help.el (temp-buffer-resize-frames)
5595 (temp-buffer-resize-regexps): Remove options.
5596 (temp-buffer-resize-mode): Adjust doc-string.
5597 (resize-temp-buffer-window): Don't consult
5598 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5599 temp-buffer-resize-frames.
5601 * dired.el (dired-mark-pop-up):
5602 Call display-buffer-below-selected with a fit-window-to-buffer alist
5605 2012-09-30 Chong Yidong <cyd@gnu.org>
5607 * server.el (server-host): Document the security implications.
5608 (server-auth-key): Doc fix.
5610 * startup.el (initial-buffer-choice): Doc fix.
5612 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5614 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5617 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5619 * help-fns.el (help-fns--obsolete): Fix last change.
5621 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5624 (minor-mode-map-alist): Remove redundant code.
5626 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5627 visited in a buffer.
5628 (cvs-insert-visited-file): New function.
5629 (find-file-hook): Use it.
5631 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5633 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5635 (log-edit-empty-buffer-p): Don't require a space after a header.
5637 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5639 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5641 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5642 a proper minor-mode.
5644 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5646 2012-09-29 Glenn Morris <rgm@gnu.org>
5648 * winner.el (winner-mode): Remove variable (let define-minor-mode
5650 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5652 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5653 (winner-mode): Use define-minor-mode.
5655 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5656 the full definition in loaddefs, rather than duplicating it.
5658 * help-macro.el (three-step-help): No need to autoload defcustom.
5660 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5661 (inferior-lisp-program, inferior-lisp-load-command)
5662 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5663 No need to autoload defcustoms.
5665 * hippie-exp.el (hippie-expand-try-functions-list)
5666 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5667 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5668 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5669 (hippie-expand-only-buffers): No need to autoload defcustoms.
5670 * progmodes/vhdl-mode.el (vhdl-line-expand):
5671 Explicitly load hippie-exp, so it does not get autoloaded
5672 while hippie-expand-try-functions-list is let-bound.
5674 2012-09-28 Glenn Morris <rgm@gnu.org>
5676 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5678 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5679 Only "cl.el" counts as cl these days.
5681 2012-09-28 Juri Linkov <juri@jurta.org>
5683 Display archive errors in the echo area instead of inserting
5686 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5687 to STDERR-TEST that can be a regexp matching a successful output.
5688 Create a temporary file and redirect stderr to it. Search for
5689 STDERR-TEST in the stderr output and display it in the echo area
5690 if no match is found.
5691 (archive-extract-by-file): New function like
5692 `archive-extract-by-stdout' but extracting archives to files
5693 and looking for successful matches in stdout. Function body is
5694 mostly copied from `archive-rar-extract'.
5695 (archive-rar-extract): Use `archive-extract-by-file'.
5696 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5698 2012-09-28 Leo Liu <sdl.web@gmail.com>
5700 * pcomplete.el (pcomplete-show-completions):
5701 Use minibuffer-message to make pcomplete usable in minibuffer.
5703 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5705 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * type-break.el: Use lexical-binding.
5708 (type-break-mode): Use define-minor-mode.
5710 * emacs-lisp/pcase.el (pcase--mark-used): New.
5711 (pcase--u1): Use it (bug#12512).
5713 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5714 in load-history with the right file name.
5716 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5718 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5719 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5720 (doc-view-get-bounding-box): Make bounding box slicing work for
5721 ODF and DVI documents.
5723 2012-09-28 Glenn Morris <rgm@gnu.org>
5725 * type-break.el (type-break-mode, type-break-interval)
5726 (type-break-good-rest-interval, type-break-keystroke-threshold):
5727 No need to autoload.
5728 (type-break-good-rest-interval, type-break-keystroke-threshold):
5731 2012-09-28 Chong Yidong <cyd@gnu.org>
5733 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5736 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5740 2012-09-27 Glenn Morris <rgm@gnu.org>
5742 * faces.el (x-display-name): Declare (for without-x builds).
5744 * linum.el (linum-format): Don't autoload it. Improve :type.
5746 * progmodes/tcl.el: Don't require outline when compiling.
5747 (outline-regexp, outline-level): Declare.
5748 * textmodes/sgml-mode.el: Don't require outline when compiling.
5749 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5751 * term.el (term-ansi-reset):
5752 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5754 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5755 files for RCS and SCCS. (Bug#9781)
5757 2012-09-27 Chong Yidong <cyd@gnu.org>
5759 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5760 change; value should be t.
5762 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * image-mode.el: Use lexical-binding.
5765 (image-mode-winprops): Use t to stand for the window of
5766 a buffer that's not displayed.
5767 * doc-view.el (doc-view-new-window-function): Handle the new
5769 (doc-view-enlarge): Make it a real nop if the size is not changed.
5770 (doc-view-display): Handle the case where the buffer is not (yet?)
5771 displayed in any window.
5772 (doc-view-saved-settings): New var.
5773 (doc-view-mode): Use it.
5774 (doc-view-fallback-mode): Set it.
5776 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5777 Set lexical-binding.
5778 (minibuffer-eldef-shorten-default): New var.
5779 (minibuffer-default-in-prompt-regexps): Use it for new default.
5780 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5782 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5784 * international/uni-bidi.el:
5785 * international/uni-category.el:
5786 * international/uni-name.el:
5787 * international/uni-numeric.el: Regenerate.
5789 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5790 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * profiler.el: New file.
5794 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5797 (testcover-reinstrument): Simplify with CSE.
5799 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5801 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5803 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5805 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5806 (verilog-auto-input, verilog-auto-insert-lisp)
5807 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5808 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5809 (verilog-auto-unused, verilog-auto-wire)
5810 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5811 newline. Reported by Andrew Jones.
5812 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5813 Reported by Brad Dobbie.
5814 (verilog-batch-delete-trailing-whitespace):
5815 Create verilog-batch-delete-trailing-whitespace.
5816 Reported by Brad Dobbie.
5817 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5818 parameters from another module. Reported by Dan Katz.
5819 (verilog-auto, verilog-auto-assign-modport)
5820 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5821 AUTOINOUTMODPORT for UVM interface module shell generation.
5822 Reported by Brad Dobbie.
5823 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5825 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5826 Reported by Matt Martin.
5828 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5830 * window.el (window--resize-child-windows): When resizing child
5831 windows proportionally, process them in reverse order to
5832 preserve the "when splitting a window the new one gets the odd
5834 (window--resize-root-window-vertically): When resizing the
5835 minibuffer window try to affect only windows at the bottom of the
5838 2012-09-25 Chong Yidong <cyd@gnu.org>
5840 * subr.el (declare): Doc fix.
5842 * help-fns.el (help-fns--obsolete): Handle macros properly.
5844 2012-09-25 Chong Yidong <cyd@gnu.org>
5846 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5847 this function obsolete.
5849 * calendar/cal-x.el (calendar-two-frame-setup)
5850 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5851 * calendar/calendar.el (american-calendar, european-calendar)
5852 (calendar-for-loop):
5853 * comint.el (comint-dynamic-simple-complete)
5854 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5855 * desktop.el (desktop-load-default):
5856 * dired-x.el (dired-omit-here-always)
5857 (dired-hack-local-variables, dired-default-directory):
5858 * emacs-lisp/derived.el (derived-mode-class):
5859 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5860 * emacs-lock.el (toggle-emacs-lock):
5861 * epa.el (epa-display-verify-result):
5862 * epg.el (epg-sign-keys, epg-start-sign-keys)
5863 (epg-passphrase-callback-function):
5864 * eshell/esh-util.el (eshell-for):
5865 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5866 (eshell-add-to-window-buffer-names):
5867 * files.el (locate-file-completion):
5868 * imenu.el (imenu-example--create-c-index)
5869 (imenu-example--create-lisp-index)
5870 (imenu-example--lisp-extract-index-name)
5871 (imenu-example--name-and-position):
5872 * international/mule-cmds.el (princ-list):
5873 * international/mule-diag.el (decode-codepage-char):
5874 * international/mule-util.el (detect-coding-with-priority):
5875 * iswitchb.el (iswitchb-read-buffer):
5876 * mail/mailalias.el (mail-complete):
5877 * mail/sendmail.el (mail-sent-via):
5878 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5879 (mouse-major-mode-menu):
5880 * password-cache.el (password-read-and-add):
5881 * pcomplete.el (pcomplete-parse-comint-arguments):
5882 * progmodes/sh-script.el (sh-maybe-here-document):
5883 * replace.el (query-replace-regexp-eval):
5884 * savehist.el (savehist-load):
5885 * simple.el (choose-completion-delete-max-match):
5886 * term.el (term-dynamic-simple-complete):
5887 * vc/ediff-init.el (ediff-check-version):
5888 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5889 * vc/vc.el (vc-diff-switches-list):
5890 * view.el (view-return-to-alist-update): Likewise.
5892 * subr.el (eval-next-after-load, makehash, insert-string)
5893 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5895 (mode-line-inverse-video): Variable deleted.
5897 * international/mule-util.el (string-to-sequence): Remove.
5899 * calendar/calendar.el (calendar-version):
5900 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5901 (icalendar-convert-diary-to-ical):
5902 * cus-edit.el (custom-mode):
5903 * ansi-color.el (ansi-color-unfontify-region):
5904 * international/latin1-disp.el (latin1-char-displayable-p):
5905 * progmodes/cwarn.el (turn-on-cwarn-mode):
5906 * progmodes/which-func.el (which-func-update-1):
5907 Use define-obsolete-function-alias.
5909 * net/newst-backend.el (newsticker-cache-filename):
5910 * net/newst-treeview.el (newsticker-groups-filename):
5911 Fix incorrect obsolescence declaration.
5913 * allout.el (allout-passphrase-hint-string): Likewise.
5914 (allout-init): Use a declare form to mark obsolete.
5916 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5917 this applies to functions.
5919 * iswitchb.el (iswitchb-read-buffer): Move code of
5920 iswitchb-define-mode-map here, and delete that obsolete function.
5922 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5923 font-lock-reference-face.
5925 2012-09-25 Glenn Morris <rgm@gnu.org>
5927 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5930 * eshell/em-term.el (eshell-term-name):
5931 Default to term-term-name. (Bug#12485)
5933 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5935 * progmodes/python.el (python-shell-send-buffer): Better handling
5936 of "if __name__ == '__main__':" conditionals when sending the buffer.
5938 2012-09-24 Glenn Morris <rgm@gnu.org>
5940 * eshell/esh-cmd.el (eshell-find-alias-function):
5941 Tighten up file-name regexp. (Bug#12499)
5943 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5945 Enhancements for triple-quote string syntax.
5946 * progmodes/python.el (python-quote-syntax): Remove.
5947 (python-syntax-propertize-function): New value.
5948 (python-syntax-count-quotes, python-syntax-stringify):
5951 2012-09-24 Chong Yidong <cyd@gnu.org>
5953 * mail/supercite.el (sc-version): Remove obsolete function.
5954 (sc-describe): Don't mark as obsolete, since it is bound.
5955 (sc-submit-bug-report): Remove.
5957 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5958 (cvs-commit-buffer-require-final-newline): Remove.
5959 (log-edit-require-final-newline)
5960 (log-edit-changelog-full-paragraphs): Default to t.
5962 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5963 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5964 * vc/vc.el (vc-checkout-carefully): Likewise.
5966 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5967 (emerge-version): Remove.
5969 * progmodes/compile.el (compile-internal): Remove.
5970 (compilation-parse-errors-function): Fix typo.
5972 * international/mule.el (set-char-table-default): Remove.
5973 (set-coding-priority, make-coding-system, generic-char-p)
5974 (charset-list, charset-bytes, charset-id): Use declare to mark
5975 functions as obsolete.
5977 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5978 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5979 * vc/vc-hooks.el (vc-default-registered): Don't use
5980 vc-master-templates.
5982 * font-lock.el (font-lock-reference-face):
5983 Use define-obsolete-variable-alias.
5985 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5986 * calendar/calendar.el (calendar-font-lock-keywords):
5987 * calendar/diary-lib.el (diary-font-lock-keywords)
5988 (diary-fancy-font-lock-keywords):
5989 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5990 * textmodes/reftex-index.el (reftex-insert-index):
5991 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5992 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5993 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5994 * progmodes/prolog.el (prolog-font-lock-keywords):
5995 * progmodes/idlwave.el (idlwave-idl-keywords):
5996 * progmodes/ada-mode.el (ada-font-lock-keywords):
5997 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5999 2012-09-24 Glenn Morris <rgm@gnu.org>
6001 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6003 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6005 * progmodes/python.el (python-indent-line): More consistent cursor
6008 2012-09-23 Stefan Merten <smerten@oekonux.de>
6010 * textmodes/rst.el: Fix compiler warning.
6012 2012-09-23 Roland Winkler <winkler@gnu.org>
6014 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6015 Transcribe also LaTeX hyphenation.
6016 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6017 bibtex-reformat-previous-options.
6019 2012-09-23 Roland Winkler <winkler@gnu.org>
6021 * proced.el (proced-renice-command): New variable.
6022 (proced-marked-processes): New function.
6023 (proced-with-processes-buffer): New macro.
6024 (proced-send-signal): Use them.
6025 (proced-renice): New command bound to r.
6027 2012-09-23 Roland Winkler <winkler@gnu.org>
6029 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6030 ibuffer-saved-filter-groups has one element, shortcut the call of
6031 completing-read. (Bug#12331)
6033 2012-09-23 Chong Yidong <cyd@gnu.org>
6035 * bindings.el (mode-line-toggle-read-only):
6036 * bs.el (bs-toggle-readonly):
6037 * buff-menu.el (Buffer-menu-toggle-read-only):
6038 * dired.el (dired-toggle-read-only):
6039 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6041 2012-09-23 Chong Yidong <cyd@gnu.org>
6043 * image.el (image-type-available-p): Adapt to init-image-library
6046 2012-09-22 Juri Linkov <juri@jurta.org>
6048 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6049 `dired-toggle-read-only'. (Bug#12462)
6051 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6053 * subr.el (temp-output-buffer-show): New function.
6054 (with-output-to-temp-buffer): Call temp-output-buffer-show
6055 instead of internal-temp-output-buffer-show.
6057 2012-09-22 Chong Yidong <cyd@gnu.org>
6059 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6062 * repeat.el (repeat): Doc fix (Bug#12348).
6064 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6067 * simple.el (shell-command-on-region): Doc fix.
6068 (read-only-mode): Doc fix.
6070 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6072 * emacs-lisp/timer.el (run-with-idle-timer)
6073 (timer-activate-when-idle): Warn against reinvoking an idle timer
6074 from within its own timer action. (Bug#12447)
6076 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6078 * cus-start.el (window-combination-limit): Add new optional
6080 * window.el (temp-buffer-window-show)
6081 (window--try-to-split-window): Handle new values of
6082 window-combination-limit (Bug#1806).
6083 (split-window): Test window-combination-limit for t instead of
6085 (display-buffer-at-bottom): New buffer display action function.
6086 * help.el (temp-buffer-resize-regexps): New option.
6087 (temp-buffer-resize-mode): Rewrite doc-string.
6088 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6089 Don't resize reused window. Suggested by Glenn Morris.
6091 2012-09-22 Stefan Merten <smerten@oekonux.de>
6093 * textmodes/rst.el: Revamp section title faces.
6094 (rst-official-version)
6095 (rst-package-emacs-version-alist): Sync with official version
6097 (rst-faces-defaults, rst-set-level-default)
6098 (rst-level-face-max, rst-level-face-base-color)
6099 (rst-level-face-base-light, rst-level-face-format-light)
6100 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6101 (rst-adornment-faces-alist): Match new setup.
6102 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6103 (rst-level-5, rst-level-6): New faces.
6105 2012-09-22 Chong Yidong <cyd@gnu.org>
6107 * simple.el (undo): Handle indirect buffers (Bug#8207).
6109 2012-09-21 Leo Liu <sdl.web@gmail.com>
6111 IDO: Disable match re-ordering for buffer switching.
6112 * ido.el (ido-buffer-disable-smart-matches): New variable.
6113 (ido-set-matches-1): Use it. (Bug#2042)
6115 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6117 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6118 Fix 2011-05-17 change. (Bug#12418)
6120 2012-09-21 Leo Liu <sdl.web@gmail.com>
6122 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6124 2012-09-21 Glenn Morris <rgm@gnu.org>
6126 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6127 Be more robust about locating simple.el.
6129 2012-09-21 Glenn Morris <rgm@gnu.org>
6131 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6133 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6135 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6137 2012-09-20 Juri Linkov <juri@jurta.org>
6139 * replace.el (query-replace-read-from): Use `read-regexp' instead
6140 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6141 (occur-read-primary-args): Use `read-regexp' instead of
6143 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6144 `read-from-minibuffer'.
6145 * isearch.el (isearch-occur): Use `read-regexp' instead of
6147 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6148 `read-from-minibuffer'.
6149 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6150 of `read-string'. (Bug#7567)
6152 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6153 and allow accepting a list of strings prepended to a list of
6154 standard default values. Doc fix. (Bug#12321)
6156 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6158 * replace.el (read-regexp): Don't add ": " when PROMPT already
6159 ends with a colon and space. (Bug#12321)
6161 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6163 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6166 2012-09-20 Stefan Merten <smerten@oekonux.de>
6168 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6169 Fixes feature request bug#11711.
6170 (rst-mode): Create `imenu-create-index-function'.
6171 (rst-get-stripped-line): Delete after refactoring.
6172 (rst-section-tree, rst-section-tree-rec)
6173 (rst-section-tree-point): Refactor and document properly.
6174 (rst-imenu-find-adornments-for-position)
6175 (rst-imenu-convert-cell, rst-imenu-create-index):
6178 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6181 (macroexp--expand-all): Use it.
6182 (macroexp--funcall-and-return): Remove by folding it into its sole
6183 caller (macroexp--warn-and-return).
6184 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6185 Use macroexp--obsolete-warning.
6187 * calc/calc.el: Fix last change by removing the whole chunk, since it
6188 was only needed back when Calc was not bundled.
6190 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6192 * emacs-lisp/debug.el (debug): Restore assignment to
6193 debugger-old-buffer removed on 2012-09-08.
6195 2012-09-20 Juri Linkov <juri@jurta.org>
6197 * dired-aux.el (dired-diff): Remove (require 'diff) since
6198 `diff-latest-backup-file' is now autoloaded.
6200 2012-09-20 Chong Yidong <cyd@gnu.org>
6202 * vc/diff.el (diff-latest-backup-file): Autoload.
6204 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6206 * calc/calc.el: Remove redundant autoload shape check.
6207 (sel-mode): Don't defvar.
6208 (calc-get-stack-element): Add `sel-mode' arg instead.
6209 (calc-top, calc-top-list): Pass it this additional argument.
6210 * calc/calc-store.el (calc-store-map):
6211 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
6212 (calc-map-equation, calc-outer-product, calc-inner-product):
6213 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6215 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6217 2012-09-19 Juri Linkov <juri@jurta.org>
6219 * dired-aux.el (dired-diff): Add (require 'diff) because
6220 `diff-latest-backup-file' is not autoloaded.
6221 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6222 of `dired-get-filename' to t to not report error when there is
6223 no default file on the current line.
6225 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6227 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6228 macroexp--eval-if-compile.
6229 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6230 (macroexp--expand-all): Use them (bug#12371).
6232 * doc-view.el (doc-view-guess-paper-size)
6233 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6235 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6237 New feature: set optimal slice from BoundingBox information.
6238 * doc-view.el (doc-view-mode-map): Add keybinding.
6239 (doc-view-menu): Add menu entry.
6240 (doc-view-set-slice): Adapt docstring.
6241 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6242 (doc-view-scale-bounding-box)
6243 (doc-view-set-slice-from-bounding-box): New functions.
6244 (doc-view-paper-sizes): New defvar.
6246 2012-09-19 Glenn Morris <rgm@gnu.org>
6248 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6249 (byte-compile-log-warning): Autoload. (Bug#12371)
6251 * calendar/calendar.el (calendar-american-month-header)
6252 (calendar-european-month-header, calendar-iso-month-header)
6253 (calendar-month-header): New options.
6254 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6255 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6257 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6259 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6261 2012-09-18 Juri Linkov <juri@jurta.org>
6263 * dired-aux.el (dired-diff): Restore original functionality of
6264 getting the default value, but keep new feature of using the
6265 latest existing backup file (`diff-latest-backup-file').
6267 2012-09-18 Juri Linkov <juri@jurta.org>
6269 * dired.el (dired-mark): If the region is active in Transient Mark
6270 mode, mark all files in the active region. Doc fix.
6271 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6272 Doc fix. (Bug#10624)
6274 2012-09-18 Juri Linkov <juri@jurta.org>
6276 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6277 attributes for M-n are pulled from the file at point.
6278 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6279 Suggested by Drew Adams. (Bug#10624)
6281 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6283 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6284 whitespace after "end".
6285 (ruby-do-end-to-brace): Collapse block to one line if it fits
6288 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6290 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6292 (debug): Don't remove debugger window when debugger is expected
6295 2012-09-18 Chong Yidong <cyd@gnu.org>
6297 * custom.el (defface): Doc fix.
6299 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6301 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6303 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6304 to initialize query-on-exit; then test that instead (bug#12288).
6306 2012-09-17 Stefan Merten <smerten@oekonux.de>
6308 * textmodes/rst.el: Add support for `testcover'.
6309 (rst-defcustom-testcover, rst-testcover-add-compose)
6310 (rst-testcover-add-1value): New functions.
6311 (rst-portable-mark-active-p): Replace by `use-region-p'.
6312 (rst-update-section, rst-classify-adornment)
6313 (rst-find-title-line): Mark `1value' forms.
6314 (rst-classify-adornment): Remove superfluous form.
6315 (rst-update-section, rst-get-adornments-around)
6316 (rst-adornment-complete-p, rst-get-next-adornment)
6317 (rst-adjust, rst-promote-region)
6318 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6319 (rst-find-pfx-in-region, rst-section-tree-rec)
6320 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6321 (rst-toc-node, rst-toc, rst-forward-section)
6322 (rst-iterate-leftmost-paragraphs)
6323 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6324 (rst-bullet-list-region)
6325 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6326 (rst-compile-find-conf, rst-compile)
6327 (rst-repeat-last-character): Fix style.
6329 2012-09-17 Chong Yidong <cyd@gnu.org>
6331 * comint.el (comint--complete-file-name-data): Don't add a space
6332 if the status is `sole'; that adds a gratuitous space in the
6333 completion-cycling case (Bug#12092).
6335 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6337 2012-09-17 Richard Stallman <rms@gnu.org>
6339 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6340 only in the mime-shown mode, not in raw mode.
6341 (rmail-mime): Toggle off mime by displaying the message without
6342 mime processing. (Bug#12305)
6344 * mail/rmail.el (rmail-retry-failure):
6345 Turn off mime processing first. (Bug#12037)
6347 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6349 2012-09-17 Chong Yidong <cyd@gnu.org>
6351 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6352 (shell-dynamic-complete-functions): Convert to defcustom.
6353 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6355 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6356 * comint.el (comint-prompt-read-only):
6357 * custom.el (defcustom):
6358 * hi-lock.el (hi-lock-mode):
6359 * ibuffer.el (ibuffer-formats):
6360 * ielm.el (ielm-prompt-read-only):
6361 * novice.el (disable-command):
6362 * saveplace.el (toggle-save-place):
6363 * speedbar.el (speedbar-supported-extension-expressions):
6364 * startup.el (auto-save-list-file-prefix, init-file-user)
6365 (after-init-hook, inhibit-startup-echo-area-message):
6366 * strokes.el (strokes-help):
6367 * time-stamp.el (time-stamp):
6368 * calendar/calendar.el (calendar, diary-file):
6369 * calendar/diary-lib.el (diary-mail-entries, diary)
6370 (diary-list-entries-hook):
6371 * calendar/holidays.el (holidays, calendar-holidays):
6372 * calendar/lunar.el (lunar-phases):
6373 * calendar/solar.el (sunrise-sunset):
6374 * emulation/edt.el (edt-load-keys):
6375 * emulation/viper.el (viper-mode):
6376 * eshell/em-alias.el (eshell-command-aliases-list):
6377 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6378 * international/ogonek.el (ogonek-information):
6379 * net/tramp-cmds.el (tramp-bug):
6380 * net/quickurl.el (quickurl-reread-hook-postfix):
6381 * play/decipher.el (decipher-font-lock-keywords):
6382 * progmodes/cc-styles.el (c-set-style):
6383 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6384 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6385 * progmodes/octave-mod.el (octave-mode):
6386 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6387 * progmodes/verilog-mode.el (verilog-read-defines):
6388 * textmodes/two-column.el (2C-mode): Likewise.
6390 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6392 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6393 that holds many addresses.
6395 2012-09-16 Chong Yidong <cyd@gnu.org>
6397 * align.el (align-areas): Call the indication function with
6398 positions instead of markers for arguments (Bug#12343).
6400 * files.el (parse-colon-path): Use split-string (Bug#12351).
6402 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6403 (display-buffer-function): Mark as obsolete.
6405 * progmodes/compile.el (compilation-parse-errors): Accept list
6406 values similar to font-lock-keywords (Bug#12136).
6407 Suggested by Oleksandr Manzyuk.
6408 (compilation-error-regexp-alist): Doc fix.
6410 2012-09-15 Glenn Morris <rgm@gnu.org>
6412 * version.el (emacs-bzr-version-bzr): New function.
6413 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6415 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6416 checkouts, check the parent dirstate matches the branch.
6417 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6420 * version.el (emacs-bzr-version): Doc fix.
6421 (emacs-bzr-version-dirstate): New function.
6422 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6423 is local try and check that it matches the branch. If not, just
6424 use dirstate information. (Bug#12441)
6426 2012-09-14 Juri Linkov <juri@jurta.org>
6428 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6431 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6435 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6436 Remove obsolete byte-compiler hack that tried to silence some warnings.
6437 (edebug-submit-bug-report): Remove.
6438 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6439 Remove aliases, use the un-prefixed name instead.
6440 (edebug-pop-to-buffer): Consider other frames.
6441 (edebug-original-read):: Make it more obvious that it's always defined.
6442 (edebug--make-form-data-entry, edebug--form-data-name)
6443 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6444 single-dashed name, and implement with cl-defstruct.
6445 (edebug-set-form-data-entry): Use the standard accessors.
6446 (edebug-make-top-form-data-entry): Use push.
6447 (edebug-no-match): Drop useless `funcall'.
6448 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6450 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6451 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6452 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6453 (easy-menu-define, with-custom-print): Remove redundant specs.
6454 (edebug-outside-overriding-local-map)
6455 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6456 (edebug--display): Bind unread-command-events directly to nil rather
6457 than binding it to unread-command-events and later setting it to nil.
6458 (edebug--display): Kill edebug-eval-buffer here...
6459 (edebug--recursive-edit): ...rather than here.
6460 Bind standard-output and standard-input.
6461 (edebug-eval): Check cl-macroexpand-all is fboundp.
6462 (edebug-temp-display-freq-count): Fix last change.
6464 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6465 * subr.el (noreturn, 1value): Add `debug' spec.
6466 * emacs-lisp/advice.el: Require cl-lib.
6467 (ad-copy-tree): Remove, use copy-tree instead.
6468 (ad-dolist): Remove use dolist or cl-dolist instead.
6469 (ad-do-return): Remove, use cl-return instead.
6470 (defadvice): Add `debug' spec.
6472 2012-09-13 Juri Linkov <juri@jurta.org>
6474 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6477 2012-09-13 Glenn Morris <rgm@gnu.org>
6479 * calc/calc.el (math-compose-expr):
6480 * calc/calc-ext.el (math-compose-expr):
6481 * progmodes/cc-defs.el (cl-macroexpand-all):
6482 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6483 (cl-macroexpand-all): Update declarations.
6485 * vc/vc.el: No need to require ediff.
6486 (ediff-load-version-control): Declare.
6487 (ediff-vc-internal): Fix declaration.
6488 (vc-version-ediff): Require ediff.
6490 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6492 Use a more backwards-compatible timer format (Bug#12430).
6493 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6494 being right after USECS, as that better supports old code that
6495 inadvisedly looked directly at the timer vector.
6497 2012-09-13 Kenichi Handa <handa@gnu.org>
6499 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6500 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6501 `coding-priority' property of these language environment.
6503 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6505 Fix glitches caused by addition of psec to timers (Bug#12430).
6506 * image.el (image-animate-timer):
6507 * time.el (display-time-world-timer):
6508 Use timer--function and timer--args rather than raw access to
6511 2012-09-13 Glenn Morris <rgm@gnu.org>
6513 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6514 If not compiling a file, try using load-file-name.
6516 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6520 (edebug-update-eval-list): Use `push'.
6522 * emacs-lisp/edebug.el: Use lexical-binding.
6523 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6524 Mark unused args with underscore.
6525 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6526 (edebug-form-data): Use defvar-local.
6527 (edebug-make-before-and-after-form, edebug-make-after-form):
6529 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6530 Not dynamically scoped any more.
6531 (edebug--enter-trace): Add arguments `function' and `args'.
6532 Rename from edebug-enter-trace.
6533 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6534 (edebug--update-coverage): Add `after-index' and `value' args.
6535 Rename from edebug-update-coverage.
6536 (edebug-slow-after): Call it accordingly.
6537 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6538 edebug-recursive-edit.
6539 (edebug--display): Call it accordingly. Add args `value',
6540 `offset-index', and `arg-mode'. Rename from edebug-display.
6541 (edebug-debugger, edebug): Call it accordingly.
6542 (edebug-eval-display-list): Use dolist.
6544 2012-09-12 Juri Linkov <juri@jurta.org>
6546 * info.el (Info-search): Don't check for isearch-mode and
6547 isearch-regexp before let-binding search-spaces-regexp to
6548 Info-search-whitespace-regexp.
6549 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6550 search-whitespace-regexp if isearch-lax-whitespace or
6551 isearch-regexp-lax-whitespace is non-nil.
6552 (Info-mode): Don't set local variable search-whitespace-regexp.
6553 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6555 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6558 (debugger-env-macro): Remove support for unread-command-char.
6560 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6561 the temporary map re-appearing on emulation-mode-map-alists.
6563 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6566 * ehelp.el (with-electric-help): Accept functions in
6567 electric-help-form-to-execute.
6568 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6569 And replace unread-command-char -> unread-command-events.
6571 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6573 Sync with Tramp 2.2.6.
6575 * net/tramp.el (tramp-accept-process-output): Don't use
6576 JUST-THIS-ONE in the XEmacs case.
6578 * net/trampver.el: Update release number.
6580 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6582 * emacs-lisp/debug.el (debugger-previous-window-height):
6584 (debug): When debugger-jumping-flag is non-nil try to restore
6585 height of debugger window. (Bug#8789)
6587 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6589 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6590 overriding-local-map and pre/post-command-hook here.
6591 (edebug-recursive-edit): Do it here instead (bug#12345).
6592 (edebug-outside-unread-command-char): Remove all uses of
6593 unread-command-char.
6595 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6596 inhibit-debugger is bound instead.
6598 2012-09-11 Bastien Guerry <bzg@gnu.org>
6600 * subr.el (set-temporary-overlay-map): Add a docstring.
6603 2012-09-11 Bastien Guerry <bzg@gnu.org>
6605 * minibuffer.el (completion-table-subvert): Fix docstring.
6608 2012-09-11 Bastien Guerry <bzg@gnu.org>
6610 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6612 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6614 * progmodes/sql.el: Version 3.1
6615 (sql-db2-escape-newlines): New variable.
6616 (sql-escape-newlines-filter): Use it.
6618 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6620 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6622 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6624 * vc/diff-mode.el (diff-mode-menu):
6625 Bind diff-remove-trailing-whitespace.
6627 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6630 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6631 (emacs-lisp-byte-code-mode): New functions.
6632 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6633 (eval-defun-2): Remove bogus interactive spec.
6634 (lisp-indent-line): Remove redundant whole-exp code, now done in
6635 indent-according-to-mode.
6636 (save-match-data): Remove redundant indent data.
6638 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6641 2012-09-09 Juri Linkov <juri@jurta.org>
6643 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6644 (replace-lax-whitespace, query-replace-regexp)
6645 (query-replace-regexp-eval, replace-regexp): Doc fix.
6646 (perform-replace, replace-highlight): Let-bind
6647 isearch-lax-whitespace to replace-lax-whitespace and
6648 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6650 * isearch.el (isearch-query-replace): Let-bind
6651 replace-lax-whitespace to isearch-lax-whitespace and
6652 replace-regexp-lax-whitespace to
6653 isearch-regexp-lax-whitespace. (Bug#10885)
6655 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6659 2012-09-09 Alan Mackenzie <acm@muc.de>
6661 * progmodes/cc-engine.el (c-state-cache-init):
6662 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6663 (c-record-parse-state-state):
6664 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6666 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6668 * register.el (register-separator): Rename from
6669 separator-register. All uses changed. Doc fix.
6670 (register): Fix version.
6672 2012-09-09 Chong Yidong <cyd@gnu.org>
6674 * replace.el (query-replace-map): Bind four new symbols for
6675 requesting window scrolling.
6677 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6678 query-replace-map (Bug#8948).
6680 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6682 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6683 since they are now in query-replace-map.
6685 * window.el (scroll-other-window-down): Make the arg optional.
6687 2012-09-09 Chong Yidong <cyd@gnu.org>
6689 * files.el (hack-local-variables-confirm): Use quit-window to kill
6690 the *Local Variables* buffer.
6692 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6694 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6695 not just expect to be at its beginning. Adjust callees.
6696 Succeed when do-end block has no space before the pipe character.
6697 (ruby-brace-to-do-end): When the original block is one-liner,
6698 convert to multiline. Reindent the result.
6700 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6702 * register.el (register): New group.
6703 (separator-register): New user option.
6704 (increment-register): Route it to `append-to-register', if
6705 register contains text. Implication is that `C-x r +' can now be
6706 used for appending to a text register (bug#12217).
6707 (append-to-register, prepend-to-register): Add separator based on
6708 `separator-register'.
6710 2012-09-08 Alan Mackenzie <acm@muc.de>
6712 AWK Mode: make auto-newline work when there's "==" in the pattern.
6713 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6715 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6716 Test more rigorously for "=" token.
6718 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6720 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6721 Only fail when reached LIMIT.
6723 2012-09-08 Chong Yidong <cyd@gnu.org>
6725 * dired.el (dired-mode-map): Don't bind M-=.
6727 * dired-aux.el (dired-diff): Use backup file as default.
6729 2012-09-08 Drew Adams <drew.adams@oracle.com>
6731 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6733 2012-09-08 Chong Yidong <cyd@gnu.org>
6735 * subr.el (syntax-after, syntax-class): Doc fix.
6737 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6739 * window.el (display-buffer-in-previous-window): New buffer
6740 display action function.
6742 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6743 (debugger-previous-window): New variable.
6744 (debug): Rewrite using display-buffer-in-previous-window,
6745 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6747 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6749 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6751 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6753 * progmodes/python.el (python-shell-send-string):
6754 When default-directory is remote, create temp file on remote
6756 (python-shell-send-file): When file is remote, pass local view of
6757 file paths to remote Python interpreter. (Bug#12340)
6759 2012-09-07 Chong Yidong <cyd@gnu.org>
6761 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6763 * files.el (after-find-file): Don't fail on a read-only buffer if
6764 require-final-newline is `visit' or `visit-save' (Bug#11156).
6766 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6768 * userlock.el (ask-user-about-supersession-threat):
6769 Use read-char-choice (Bug#12093).
6771 2012-09-07 Chong Yidong <cyd@gnu.org>
6773 * subr.el (buffer-narrowed-p): New function.
6775 * ses.el (ses-widen):
6776 * simple.el (count-words--buffer-message):
6777 * net/browse-url.el (browse-url-of-buffer): Use it.
6779 * simple.el (count-words-region): Don't signal an error if there
6780 is a non-nil prefix arg and the mark is not set.
6782 * help.el (describe-key-briefly): Allow the message to be seen
6783 when invoked from the minibuffer (Bug#7014).
6785 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6787 * progmodes/ruby-mode.el (ruby-end-of-defun)
6788 (ruby-beginning-of-defun): Simplify, allow indentation before
6789 block beginning and end keywords.
6790 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6791 (ruby-end-of-defun): Expect that the point is at the beginning of
6794 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6798 (cl--make-usage-args): Strip _ from argument names.
6800 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6802 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6803 obsolete alias speedbar-key-map.
6804 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6805 (vhdl-index-menu-init): Don't use obsolete variable
6806 font-lock-maximum-size.
6808 2012-09-06 Chong Yidong <cyd@gnu.org>
6810 * frame.el (window-system-version): Mark as obsolete.
6812 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6813 of obsolete variable speedbar-key-map.
6815 2012-09-06 Juri Linkov <juri@jurta.org>
6817 * replace.el (replace-lax-whitespace): New defcustom.
6818 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6819 (replace-string, replace-regexp): Mention it in docstrings.
6820 (perform-replace, replace-highlight): Let-bind
6821 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6822 to the values of replace-lax-whitespace and regexp-flag.
6823 Don't let-bind search-whitespace-regexp. (Bug#10885)
6825 * isearch.el (isearch-query-replace): Let-bind
6826 replace-lax-whitespace instead of let-binding
6827 replace-search-function and replace-re-search-function.
6828 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6829 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6830 (isearch-toggle-symbol): Set isearch-regexp to nil
6831 in isearch-word mode (like in isearch-toggle-word).
6833 2012-09-06 Juri Linkov <juri@jurta.org>
6835 * replace.el (replace-search-function)
6836 (replace-re-search-function): Set default values to nil.
6837 (perform-replace): Let-bind isearch-related variables based on
6838 replace-related values, call `isearch-search-fun' and let-bind
6839 the result to `search-function'. Remove code that sets
6840 `search-function' and `search-string' separately for
6842 (replace-highlight): Add new argument `delimited-flag' and
6843 rename other arguments to the names used in `perform-replace'.
6844 Let-bind `isearch-word' to the argument `delimited-flag'.
6845 (Bug#10885, bug#10887)
6847 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6849 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6850 ruby-beginning-of-indent, simplify, allow all keywords to have
6851 indentation before them.
6852 (ruby-beginning-of-indent): Adjust for above. Search until the
6853 found point is not inside a string or comment.
6854 (ruby-font-lock-keywords): Allow symbols to start with "@"
6855 character, give them higher priority than variables.
6856 (ruby-syntax-propertize-function)
6857 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6858 matchers. Expression expansions are not comments when inside a
6859 string, and there comment syntax status is irrelevant.
6860 (ruby-match-expression-expansion): New function. Check that
6861 expression expansion is inside a string, and it's not escaped.
6862 (ruby-font-lock-keywords): Use it.
6864 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6866 * help.el (temp-buffer-max-height): New default value.
6867 (temp-buffer-resize-frames): New option.
6868 (resize-temp-buffer-window): Optionally resize frame.
6870 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6871 (fit-frame-to-buffer): New function.
6873 2012-09-05 Glenn Morris <rgm@gnu.org>
6875 * emulation/cua-rect.el (cua--init-rectangles):
6876 * textmodes/picture.el (picture-mode-map):
6877 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6878 like forward-char and backward-char. (Bug#12317)
6880 2012-09-05 Leo Liu <sdl.web@gmail.com>
6882 * progmodes/flymake.el (flymake-warning-re): New variable.
6883 (flymake-parse-line): Use it.
6885 2012-09-05 Glenn Morris <rgm@gnu.org>
6887 * calendar/holidays.el (holiday-christian-holidays):
6888 Rename an entry. (Bug#12289)
6890 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6892 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6895 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6897 * loadup.el: Load macroexp. Remove hack.
6898 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6899 (macroexp--expand-all): Use it to get better warnings.
6900 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6901 (internal-macroexpand-for-load): New functions.
6902 (macroexp--pending-eager-loads): New var.
6903 (emacs-startup-hook): New hack to replace one in loadup.el.
6904 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6905 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6906 (cl-psetf): Simplify.
6907 (cl-defstruct): Add indent rule.
6909 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6911 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6912 over `user-mail-address' for the SMTP MAIL FROM envelope.
6913 (smtpmail-via-smtp): Ditto.
6915 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6917 * progmodes/ruby-mode.el: Clean up keybindings.
6918 (ruby-mode-map): Don't bind ruby-electric-brace,
6919 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6920 backward-kill-word, reindent-then-newline-and-indent.
6921 (ruby-mark-defun): Remove.
6922 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6923 (ruby-mode): Set local beginning-of-defun-function and
6924 end-of-defun-function values.
6926 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6928 * window.el (temp-buffer-window-setup-hook)
6929 (temp-buffer-window-show-hook): New hooks.
6930 (temp-buffer-window-setup, temp-buffer-window-show)
6931 (with-temp-buffer-window): New functions.
6932 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6933 (special-display-popup-frame): Make sure the window used shows BUFFER.
6935 * help.el (temp-buffer-resize-mode): Fix doc-string.
6936 (resize-temp-buffer-window): New optional argument WINDOW.
6938 * files.el (recover-file, save-buffers-kill-emacs):
6939 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6941 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6943 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6944 remote definition of `default-directory', ensure we can connect.
6946 2012-09-02 Juri Linkov <juri@jurta.org>
6948 Toggle whitespace matching mode with M-s SPC.
6949 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6951 * isearch.el (search-whitespace-regexp): Doc fix.
6952 Remove cons cell customization.
6953 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6954 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6956 (isearch-forward, isearch-forward-regexp): Doc fix.
6957 (isearch-toggle-lax-whitespace): New command.
6958 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6959 (re-search-forward-lax-whitespace)
6960 (re-search-backward-lax-whitespace): New functions.
6961 (isearch-whitespace-regexp): Remove function.
6962 (isearch-query-replace): Let-bind replace-search-function and
6963 replace-re-search-function.
6964 (isearch-occur): Let-bind search-spaces-regexp according to the
6965 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6966 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6967 condition for C-q SPC.
6968 (isearch-search-fun-default): Use new functions mentioned above.
6969 (isearch-search-forward, isearch-search-backward): Remove functions.
6970 (isearch-search): Don't let-bind search-spaces-regexp.
6971 (isearch-lazy-highlight-space-regexp): Remove variable.
6972 (isearch-lazy-highlight-lax-whitespace)
6973 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6974 (isearch-lazy-highlight-new-loop): Use them.
6975 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6977 2012-09-02 Chong Yidong <cyd@gnu.org>
6979 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6981 2012-09-02 Glenn Morris <rgm@gnu.org>
6983 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6985 2012-09-01 Glenn Morris <rgm@gnu.org>
6987 * term.el: Tidy up menu definitions.
6988 (term-mode-map): Use easymenu for In/Out, Complete menus.
6989 (term-pager-break-map): Initialize in the defvar.
6990 (term-terminal-menu, term-signals-menu): Define with easymenu.
6991 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6992 (term-pager-menu): New, extracted from term-process-pager.
6993 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6994 (term-update-mode-line): Propertize line/char and page items.
6995 (term-process-pager): Move keymap initialization elsewhere.
6997 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6999 * window.el (switch-to-prev-buffer): Handle additional values of
7000 BURY-OR-KILL argument. Don't switch in minibuffer window.
7001 (switch-to-next-buffer): Don't switch in minibuffer window.
7002 (quit-restore-window): New function based on quit-window.
7003 Handle additional values of former KILL argument.
7004 (quit-window): Call quit-restore-window with appropriate
7005 interpretation of KILL argument.
7006 (display-buffer-below-selected): New buffer display action
7009 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7011 * minibuffer.el (completion-at-point-functions): Complete docstring
7014 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7016 Better seed support for (random).
7017 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7018 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7019 * play/mpuz.el, play/tetris.el, play/zone.el:
7020 * calc/calc-comb.el (math-init-random-base):
7021 * play/blackbox.el (bb-init-board):
7022 * play/life.el (life):
7023 * server.el (server-use-tcp):
7024 * type-break.el (type-break):
7025 Remove unnecessary call to (random t).
7026 * net/sasl.el (sasl-unique-id-function):
7027 Change (random t) to (random), now that the latter is more random.
7028 * play/life.el (life-initialized): Remove no-longer-needed var.
7030 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7032 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7033 Consider frame's buffer predicate when choosing the buffer.
7036 2012-08-30 Richard Stallman <rms@gnu.org>
7038 * simple.el (special-mode-map): Delete binding for `z'.
7040 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7042 * progmodes/compile.el (compilation-always-kill): Doc fix.
7044 2012-08-30 Chong Yidong <cyd@gnu.org>
7046 * window.el (display-buffer-reuse-frames): Make the obsolescence
7047 message more informative.
7049 2012-08-30 Glenn Morris <rgm@gnu.org>
7051 * paren.el (show-paren-delay):
7052 Add a :set function. Doc fix. (Bug#12297)
7054 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7056 * progmodes/compile.el (compilation-always-kill): New var.
7057 (compilation-start): Use it.
7059 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7062 * files.el (read-only-mode): Move to simple.el.
7064 * files.el (read-only-mode): New minor mode.
7065 (toggle-read-only): Use it and mark obsolete.
7066 (find-file--read-only):
7067 * vc/vc.el (vc-next-action, vc-checkout):
7068 * vc/vc-cvs.el (vc-cvs-checkout):
7069 * obsolete/vc-mcvs.el (vc-mcvs-update):
7070 * ffap.el (ffap--toggle-read-only): Update callers.
7072 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7074 * eshell/esh-ext.el (eshell-external-command): Do not examine
7075 remote shell scripts.
7076 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7078 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7081 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7085 2012-08-28 Leo Liu <sdl.web@gmail.com>
7087 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7088 completion-at-point. (Bug#12220)
7090 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7092 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7094 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7096 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7097 be buffer-local; add delete-trailing-whitespace (bug#12259).
7099 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7101 * progmodes/hideif.el (hif-compress-define-list):
7102 Fix typo. (Bug#11951)
7104 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7106 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7107 buffer local setting.
7109 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7110 rcirc-encode-coding-system.
7112 2012-08-28 Leo Liu <sdl.web@gmail.com>
7114 * net/rcirc.el (rcirc-split-message): New function.
7115 (rcirc-send-message): Use it. (Bug#12051)
7117 2012-08-28 Juri Linkov <juri@jurta.org>
7119 * info.el (Info-fontify-node): Hide empty lines at the end of
7120 the node. (Bug#12272)
7122 2012-08-27 Drew Adams <drew.adams@oracle.com>
7124 * dired.el (dired-pop-to-buffer): Make window start at beginning
7125 of buffer (Bug#12281).
7127 2012-08-26 Chong Yidong <cyd@gnu.org>
7129 * window.el (special-display-regexps, special-display-frame-alist)
7130 (special-display-buffer-names, special-display-function)
7131 (display-buffer-reuse-frames): Mark as obsolete.
7133 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7135 * help.el (help-print-return-message): Don't treat
7136 display-buffer-reuse-frames specially.
7138 2012-08-26 Chong Yidong <cyd@gnu.org>
7140 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7141 New variable, replacing gdb-frame-parameters.
7142 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7143 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7144 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7145 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7146 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7147 the functions directly with gdb-display-buffer-other-frame-action.
7148 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7149 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7150 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7151 (gdb-display-registers-buffer): Define directly.
7152 (def-gdb-display-buffer): Macro deleted.
7153 (gdb-display-buffer): Remove second and third args, callers don't
7154 use them. Defer to the default display-buffer behavior, apart
7155 from making windows dedicated.
7156 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7158 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7160 * window.el (display-buffer-pop-up-frame): Handle a
7161 pop-up-frame-parameters alist entry.
7162 (display-buffer): Document it.
7164 2012-08-26 Chong Yidong <cyd@gnu.org>
7166 * isearch.el (search-whitespace-regexp): Make string and nil
7167 values apply to both ordinary and regexp search. Allow a cons
7168 cell value to distinguish between the two.
7169 (isearch-whitespace-regexp, isearch-search-forward)
7170 (isearch-search-backward): New functions.
7171 (isearch-occur, isearch-search-fun-default, isearch-search)
7172 (isearch-lazy-highlight-new-loop): Use them.
7173 (isearch-forward, isearch-forward-regexp): Doc fix.
7175 2012-08-26 Chong Yidong <cyd@gnu.org>
7177 * faces.el (help-argument-name): Always inherit from italic
7180 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7182 * window.el (window--even-window-heights): Even heights when
7183 WINDOW and the selected window form a vertical combination.
7184 (display-buffer-use-some-window): Provide that window used gets
7185 sized back by quit-window. (Bug#11880) and (Bug#12091)
7187 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7189 Fix file time stamp problem with bzr and CVS (Bug#12001).
7190 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7191 in the file's time stamp, since the version control system loses
7194 2012-08-22 Juri Linkov <juri@jurta.org>
7196 * info.el (Info-fontify-node): Hide the suffix of the
7197 Info file name in the header line. (Bug#12187)
7199 2012-08-22 Glenn Morris <rgm@gnu.org>
7201 * calendar/cal-tex.el (cal-tex-weekly-common):
7202 Restore leading blank page.
7204 2012-08-22 Le Wang <l26wang@gmail.com>
7206 * misc.el (forward-to-word, backward-to-word): Activate or extend
7207 the region under `shift-select-mode'. (Bug#12231)
7209 2012-08-22 Bastien Guerry <bzg@gnu.org>
7211 * progmodes/executable.el (executable-prefix): Set to "#!" instead
7212 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7213 gives details on why the space is never needed.
7215 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7217 * window.el (walk-window-tree, window-with-parameter):
7218 New optional argument MINIBUF to control whether these functions
7219 should run on the minibuffer window.
7220 (window-at-side-list): Don't operate on minibuffer window.
7221 (window-in-direction): Simplify and rewrite doc-string.
7222 (window--size-ignore): Rename to window--size-ignore-p.
7224 (display-buffer-in-atom-window, window--major-non-side-window)
7225 (window--major-side-window, display-buffer-in-major-side-window)
7226 (delete-side-window, display-buffer-in-side-window):
7228 (window--side-check, window-deletable-p, delete-window)
7229 (delete-other-windows, split-window): Handle side windows and
7230 atomic windows appropriately.
7231 (window--display-buffer): Call display-buffer-record-window also
7232 when the window buffer did not change.
7234 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7236 * help-fns.el (help-fns--key-bindings):
7237 Abbreviate non-symbol remap targets. (Bug#12174)
7239 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7241 * dired.el (dired-mark-remembered): Don't clobber point.
7244 2012-08-22 Glenn Morris <rgm@gnu.org>
7246 * progmodes/bug-reference.el (bug-reference): New custom group.
7247 (bug-reference-bug-regexp): Make it a defcustom.
7249 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7251 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7252 (js-paren-indent-offset, js-square-indent-offset)
7253 (js-curly-indent-offset): Add :safe (Bug#12257).
7255 2012-08-22 Edward O'Connor <hober0@gmail.com>
7257 * json.el (json-key-format): Add error properties.
7258 (json-encode-key): New function.
7259 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7260 Use json-encode-key.
7262 2012-08-22 Glenn Morris <rgm@gnu.org>
7264 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7265 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7266 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7267 Update for above change.
7269 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7271 * cus-face.el (custom-face-attributes): Fix customize type for the
7272 :underline attribute. (Bug#11805)
7274 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7276 * window.el (window-point-1, set-window-point-1): Remove.
7277 (window-in-direction, record-window-buffer)
7278 (set-window-buffer-start-and-point, split-window-below)
7279 (window--state-get-1, display-buffer-record-window):
7280 Replace calls to window-point-1 and set-window-point-1 by calls to
7281 window-point and set-window-point respectively.
7283 2012-08-21 Glenn Morris <rgm@gnu.org>
7285 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7286 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7289 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7290 (cal-tex-shortday): New function.
7291 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7292 (cal-tex-cursor-filofax-daily): Use the above.
7294 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7296 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7297 (cal-tex-cursor-filofax-week): Use them.
7299 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7301 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7302 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7304 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7305 (cal-tex-end-document): Don't rely on buffer name.
7307 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7309 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7310 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7311 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7314 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7315 (cal-tex-cursor-week, cal-tex-cursor-week2)
7316 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7317 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7318 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7319 (cal-tex-insert-preamble, cal-tex-b-document)
7320 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7321 Improve cal-tex-cmd usage.
7323 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7324 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7325 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7326 (cal-tex-weekly-paper): New function.
7327 (cal-tex-cursor-week, cal-tex-cursor-week2)
7328 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7329 (cal-tex-cursor-day): Use it.
7331 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7332 (cal-tex-cursor-filofax-week): Remove leading blank page.
7334 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7335 Add autoload cookie. For now at least, don't use color, since
7336 no other cal-tex function does.
7338 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7339 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7340 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7342 2012-08-21 Juri Linkov <juri@jurta.org>
7344 * info.el (Info-file-attributes): New variable.
7345 (info-insert-file-contents): Add file attributes to
7346 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7347 `Info-toc-nodes' when previous modtime of the Info file is less
7349 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7350 of info.el. (Bug#12230)
7352 2012-08-20 Glenn Morris <rgm@gnu.org>
7354 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7355 * calendar/holidays.el (calendar-holiday-list):
7356 Report errors with display-warning rather than beep'n'sleep.
7358 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7360 * net/tramp.el (tramp-accept-process-output): Accept only output
7361 from PROC. Otherwise, process filters and sentinels might be
7362 confused. (Bug#12145)
7364 2012-08-20 Chong Yidong <cyd@gnu.org>
7366 * descr-text.el (describe-text-properties-1): Use overlays-in to
7367 report on empty overlays (Bug#3322).
7369 2012-08-20 Glenn Morris <rgm@gnu.org>
7371 * mail/rmailout.el (rmail-output-read-file-name):
7372 Trap and report errors in rmail-output-file-alist elements.
7374 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7375 since most non-font-lock faces are not also variables).
7377 2012-08-20 Edward Reingold <reingold@iit.edu>
7379 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7380 New function. (Bug12160)
7382 2012-08-19 Glenn Morris <rgm@gnu.org>
7384 * mail/rmailout.el (rmail-output-read-file-name):
7385 Fix previous change (when the alist is nil or does not match).
7387 2012-08-19 Chong Yidong <cyd@gnu.org>
7389 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7392 2012-08-18 Chong Yidong <cyd@gnu.org>
7394 * simple.el (yank-handled-properties): New defcustom.
7395 (yank-excluded-properties): Add font-lock-face and category.
7398 * subr.el (remove-yank-excluded-properties):
7399 Obey yank-handled-properties. The special handling of font-lock-face
7400 and category is now done this way, instead of being hard-coded.
7401 (insert-for-yank-1): Remove font-lock-face handling.
7402 (yank-handle-font-lock-face-property)
7403 (yank-handle-category-property): New function.
7405 2012-08-17 Glenn Morris <rgm@gnu.org>
7407 * mail/rmailout.el (rmail-output-read-file-name):
7408 Check rmail-output-file-alist against the full message body
7409 in the correct rmail buffer. (Bug#12214)
7411 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7413 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7414 Eliminate superfluous prompt. (Bug#12203)
7416 2012-08-17 Chong Yidong <cyd@gnu.org>
7418 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7419 font spec, set the font directly (Bug#3228).
7421 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7423 * window.el (delete-window): Fix last fix.
7425 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7427 * window.el (window-valid-p): Move to window.c.
7428 (window-child, window-child-count, window-last-child)
7429 (window-normalize-window, window-combined-p)
7430 (window-combinations, window-atom-root, window-min-size)
7431 (window-sizable, window-sizable-p, window-size-fixed-p)
7432 (window-min-delta, window-max-delta, window--resizable)
7433 (window--resizable-p, window-resizable, window-total-size)
7434 (window-full-height-p, window-full-width-p, window-body-size)
7435 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7436 (minimize-window, window-deletable-p, delete-window)
7437 (delete-other-windows, set-window-buffer-start-and-point)
7438 (next-buffer, previous-buffer, split-window, balance-windows-2)
7439 (set-window-text-height, window-buffer-height)
7440 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7441 (truncated-partial-width-window-p): Minor code adjustments.
7442 In doc-strings state whether the argument window has to denote a
7443 live, valid or any window.
7445 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7447 * progmodes/subword.el (subword-forward-function)
7448 (subword-backward-function, subword-forward-regexp)
7449 (subword-backward-regexp): New variables.
7450 (subword-forward, subword-forward-internal, subword-backward-internal):
7451 Use new variables, eg so that different "word" definitions
7452 can be easily used. (Bug#11411)
7454 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7456 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7457 for composite selectors.
7458 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7459 operation just because we can't find a previous revision.
7461 2012-08-15 Chong Yidong <cyd@gnu.org>
7463 * frame.el (set-frame-font): Accept font objects.
7465 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7467 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7469 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7471 * man.el (Man-overstrike-face, Man-underline-face)
7472 (Man-reverse-face): Remove variables.
7473 (Man-overstrike, Man-underline, Man-reverse): New faces.
7474 (Man-fontify-manpage): Use them instead of the variables.
7475 (Man-cleanup-manpage): Comment change.
7476 (Man-ansi-color-map): New variable.
7477 (Man-fontify-manpage): Use it.
7478 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7480 Implement ANSI SGR parameters 22-27 (bug#12146).
7481 * ansi-color.el (ansi-colors): Doc fix.
7482 (ansi-color-context, ansi-color-context-region): Doc fix.
7483 (ansi-color--find-face): New function.
7484 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7485 Rename the local variable `face' to `codes' since it is now a list of
7486 ansi codes. Doc fix.
7487 (ansi-color-get-face): Remove.
7488 (ansi-color-parse-sequence): New function, derived from
7489 ansi-color-get-face.
7490 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7493 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * subr.el (read-passwd): Allow use from a minibuffer.
7497 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7499 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7500 inside comments and strings as identifiers.
7502 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7503 expression to evaluate. This allows to evaluate expressions with
7504 embedded whitespace.
7505 (gud-tooltip-tips): Add a blank before the newline in the
7506 message-box text, for the benefit of message-box emulation on
7509 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7510 messages from GDB, pop them up in a tooltip to give feedback to
7512 (gdb-tooltip-print-1): Quote the expression to evaluate.
7513 This allows to evaluate expressions with embedded whitespace.
7514 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7515 if the TTY name is nil or empty (which happens when communicating
7516 with the inferior via pipes, e.g. on MS-Windows).
7517 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7518 don't send that to the GUD buffer.
7520 2012-08-14 Glenn Morris <rgm@gnu.org>
7522 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7523 Optimize away setq-default with no args, as for setq. (Bug#12195)
7525 2012-08-14 Chong Yidong <cyd@gnu.org>
7527 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7529 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7532 2012-08-14 Glenn Morris <rgm@gnu.org>
7534 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7536 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7538 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7539 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7540 Use cached shell name.
7542 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7544 * progmodes/python.el (python-shell-send-string):
7545 (python-shell-send-setup-code): Do not use `format' with `message'.
7547 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7549 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7550 (ruby-percent-literal-beg-re): New constant.
7551 (ruby-syntax-general-delimiters-goto-beg): Rename to
7552 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7553 (ruby-syntax-propertize-general-delimiters): Rename to
7554 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7555 popular term. Adjust comments everywhere.
7556 (ruby-syntax-propertize-percent-literal): Only propertize when not
7557 inside a simple string or comment. When the literal is unclosed,
7558 leave the text after it unpropertized.
7559 (ruby-syntax-methods-before-regexp): New constant.
7560 (ruby-syntax-propertize-function): Use it to recognize regexps.
7561 Don't look at the text after regexp, just use the whitelist.
7563 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7565 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7566 non-nil always load the compiled file if it exists. (Bug#12197)
7568 2012-08-14 Chong Yidong <cyd@gnu.org>
7570 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7571 (hi-lock-set-pattern): When deciding whether to use font lock or
7572 overlays, look at font-lock-mode instead of font-lock-fontified
7574 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7575 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7577 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7579 * subr.el (internal--after-with-selected-window): Fix typo
7582 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7584 Use `completion-table-dynamic' for completion functions.
7585 * progmodes/python.el
7586 (python-shell-completion--do-completion-at-point)
7587 (python-shell-completion--get-completions):
7589 (python-shell-completion-complete-at-point): New function.
7590 (python-completion-complete-at-point): Use it.
7592 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7594 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7595 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7597 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * subr.el (function-get): Refine `autoload' arg so it can also
7600 autoload functions for gv.el (bug#12191).
7601 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7604 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7605 Prefer pcase-let over destructuring-bind.
7606 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7607 Also, remove whitespace as we go, rather than after accumulating the
7610 * subr.el (internal--before-with-selected-window)
7611 (internal--after-with-selected-window): Fix typo seleted->selected.
7612 (with-selected-window): Adjust callers.
7613 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7615 2012-08-13 Bastien Guerry <bzg@gnu.org>
7617 * window.el (special-display-popup-frame): Minor docstring
7618 enhancement. (Bug#12172)
7620 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7622 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7624 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7627 * files.el (hack-local-variables-filter): Remove useless eval.
7629 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7631 * subr.el (with-selected-window): Fix last change.
7633 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * subr.el (internal--before-with-seleted-window)
7636 (internal--after-with-seleted-window): New functions.
7637 (with-selected-window): Use them, to replace dependency on
7640 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7642 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7643 binding for `newline'.
7644 (ruby-move-to-block): When moving backward, stop at block opening,
7646 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7647 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7648 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7649 `ruby-toggle-block'.
7651 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * ibuffer.el (ibuffer-do-toggle-read-only):
7654 * dired.el (dired-toggle-read-only):
7655 * buff-menu.el (Buffer-menu-toggle-read-only):
7656 * bindings.el (mode-line-toggle-read-only):
7657 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7659 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7661 * descr-text.el (describe-char): Put the overlays over the
7662 "displayed as" character.
7664 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7666 * calc/calc-units.el (math-default-units-table): Give an
7668 (math-put-default-units): Add options to put composite units and
7669 unit systems in the default units table.
7670 (calc-convert-units): Send composite units to
7671 `math-put-default-units' when appropriate.
7673 2012-08-11 Glenn Morris <rgm@gnu.org>
7675 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7677 * tutorial.el (help-with-tutorial):
7678 * emacs-lisp/copyright.el (copyright-update-directory):
7679 * emacs-lisp/autoload.el (autoload-find-generated-file)
7680 (autoload-find-file): Disable local eval: (for insurance).
7682 * files.el (hack-local-variables-filter): If an eval: form is not
7683 known to be safe, and enable-local-variables is :safe, then ignore
7684 the form totally, as is done for non-eval forms. (Bug#12155)
7685 This is CVE-2012-3479.
7687 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7689 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7690 (rx-form): Simplify.
7692 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7694 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7695 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7696 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7697 (ruby-syntax-propertize-function): Adjust for changes in
7698 `ruby-syntax-propertize-heredoc'.
7700 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7702 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7703 binding (use `M-;' instead).
7704 (ruby-singleton-class-p): New function.
7705 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7707 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7709 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7711 2012-08-10 Chong Yidong <cyd@gnu.org>
7713 * progmodes/python.el (python-shell-get-process-name): Don't mess
7714 with same-window-buffer-names.
7716 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7717 (eshell-remove-from-window-buffer-names): Make obsolete.
7718 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7719 (eshell): Just use pop-to-buffer-same-window instead.
7721 2012-08-10 Chong Yidong <cyd@gnu.org>
7723 * bindings.el: Bind M-= back to count-words-region.
7725 * simple.el (count-words-region): Accept a prefix arg for acting
7726 on the entire buffer.
7727 (count-words--buffer-message): New helper function.
7729 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7731 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7732 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7733 (event-start, event-end): Use posn-at-point to return a more
7735 (posnp): New function.
7736 * mouse.el (popup-menu-normalize-position): Use it.
7738 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7740 * mouse.el (popup-menu-normalize-position): New function.
7741 (popup-menu): Use `popup-menu-normalize-position' to normalize
7742 the form for POSITION argument.
7744 * term/x-win.el (x-menu-bar-open):
7745 Use the value returend from (posn-at-point) as position
7746 passed to `popup-menu'.
7748 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7750 * calc/calccomp.el (math-compose-expr): Add extra argument
7751 indicating that parentheses should be put around products in
7752 denominators. Give multiplication precedence over division during
7755 2012-08-09 Chong Yidong <cyd@gnu.org>
7757 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7758 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7759 (Man-untabify-command, manual-program): Convert to defcustom
7762 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7764 * descr-text.el (describe-char): Don't insert extra newlines
7767 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7768 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7770 * align.el (align-region): Delete temporary markers (Bug#10047).
7771 Plus some code cleanups.
7773 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7775 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7776 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7777 (python-shell-internal-last-output): Use make-local-variable
7778 instead of make-variable-buffer-local.
7780 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7782 * progmodes/python.el: Enhancements to forward-sexp.
7783 (python-nav-forward-sexp): Rename from
7784 python-nav-forward-sexp-function.
7785 (python-nav--forward-sexp, python-nav--backward-sexp):
7788 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7790 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7791 modes and simplification modes.
7793 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * delsel.el (delete-selection-pre-hook): Don't propagate the
7796 file-supersession signals (bug#12161).
7798 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7801 (cl-map-extents): Add compatibility aliases (bug#12135).
7803 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7805 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7806 tests by `ignore-error'.
7807 (tramp-find-shell): Open also a new shell, when cache is already
7808 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7810 2012-08-08 Juri Linkov <juri@jurta.org>
7812 * bookmark.el: Add `defaults' property to the bookmark record.
7813 (bookmark-current-buffer): Doc fix.
7814 (bookmark-make-record): Add `defaults' property with default values
7815 to the bookmark record.
7816 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7817 with `bookmark-insert-current-bookmark'.
7818 (bookmark-set): Get `defaults' property from the bookmark record
7819 and use it in `read-from-minibuffer'.
7820 (bookmark-insert-current-bookmark): Remove function.
7822 * info.el (Info-bookmark-make-record): Add `defaults' property
7823 with values of canonical Info node name, the current Info file
7824 name and the current Info node name. (Bug#12107)
7826 2012-08-08 Juri Linkov <juri@jurta.org>
7828 * files.el (basic-save-buffer): Use `buffer-name' as the default
7829 of `read-file-name' when buffer is not visiting a file (bug#12128).
7831 2012-08-08 Juri Linkov <juri@jurta.org>
7833 * info.el (Info-isearch-search): Doc fix.
7834 (Info-search): Change search-failed message from "initial node" to
7835 "end of node" (bug#12078).
7836 (Info-isearch-search): Change `isearch-string-state' to
7837 `isearch--state-string'.
7839 2012-08-08 Glenn Morris <rgm@gnu.org>
7841 * language/persian.el: Remove file.
7842 * language/misc-lang.el: Move unique part of persian.el here.
7843 * loadup.el: Remove language/persian.
7845 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7847 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7849 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7851 * progmodes/python.el: Fix defsubst warning.
7852 (python-syntax-context) Rename from python-info-ppss-context.
7853 (python-syntax-context-type): Rename from
7854 python-info-ppss-context-type.
7855 (python-syntax-comment-or-string-p): Rename from
7856 python-info-ppss-comment-or-string-p.
7858 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7860 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7862 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7864 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7865 a defcustom that is quoted with backquote.
7867 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7868 Fix handling of interactive spec when the body uses return.
7869 (math-do-arg-check, math-define-function-body): Use backquote forms.
7870 * calc/calc-ext.el (math-defcache): Likewise.
7871 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7872 * allout.el (allout-new-exposure): Likewise.
7873 * calc/calcalg2.el (math-tracing-integral): Likewise.
7874 * info.el (Info-last-menu-item): Likewise.
7875 * emulation/vip.el (vip-loop): Likewise.
7876 * textmodes/artist.el (artist-funcall): Likewise.
7877 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7878 Construct menu-item directly.
7880 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7883 2012-08-07 Chong Yidong <cyd@gnu.org>
7885 * simple.el (deactivate-mark): Preserve text properties when
7886 saving the primary selection (Bug#8384).
7888 2012-08-07 Kevin Ryde <user42@zip.com.au>
7890 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7891 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7892 and continue processing (Bug#12110).
7894 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7897 syntax-propertize-function (bug#10095).
7899 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7902 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7903 describe-function-1.
7904 (describe-function-1): Use them. Move compiler macro after sig.
7905 (help-fns--compiler-macro): Use function-get. Assume we're already in
7906 standard-output. Adjust layout to new call order.
7908 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7909 re-binding a symbol that has a symbol-macro (bug#12119).
7911 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7913 * language/persian.el: New file. (Bug#11812)
7914 * loadup.el: Add language/persian.el.
7916 2012-08-06 Chong Yidong <cyd@gnu.org>
7918 * window.el (window--maybe-raise-frame): New function.
7919 (window--display-buffer): Split off from here.
7920 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7921 (display-buffer-pop-up-window, display-buffer-use-some-window):
7922 Obey an inhibit-switch-frame action alist entry.
7923 (display-buffer): Update doc.
7925 * replace.el (occur-after-change-function): Avoid losing focus by
7926 using the inhibit-switch-frame display parameter (Bug#12139).
7928 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7930 Make internal shell process buffer names start with space.
7931 * progmodes/python.el (python-shell-make-comint): Add optional
7933 (run-python-internal): Use it.
7934 (python-shell-internal-get-or-create-process): Check for new
7935 internal buffer names.
7937 2012-08-06 Glenn Morris <rgm@gnu.org>
7939 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7940 Do less getting and setting of environment variables.
7942 2012-08-05 Chong Yidong <cyd@gnu.org>
7944 * proced.el (proced): Add substitution string to docstring to
7945 trigger autoloading of the proced library on C-h f (Bug#1768).
7947 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7948 Don't show defvars which have no second argument (Bug#8638).
7950 * imenu.el (imenu-generic-expression): Move documentation here
7951 from imenu--generic-function.
7952 (imenu--generic-function): Refer to imenu-generic-expression.
7954 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7956 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7957 indentation declaration.
7958 (viper-loop): Add indentation declaration (Bug#7025).
7960 2012-08-05 Chong Yidong <cyd@gnu.org>
7962 * help-fns.el (describe-variable): Add hyperlink for
7963 directory-local variables files. Improve buffer-local and
7964 permanent-local reporting; suggested by MON KEY (Bug#6644).
7966 * help-mode.el (help-dir-local-var-def): New button type.
7968 * files.el (kill-buffer-hook): Provide a defvar.
7970 2012-08-05 Glenn Morris <rgm@gnu.org>
7972 * eshell/esh-ext.el (eshell/addpath):
7973 Also update eshell-path-env. (Bug#12013)
7975 2012-08-05 Chong Yidong <cyd@gnu.org>
7977 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7979 * fringe.el (fringe-styles): Add docstring.
7980 (fringe--check-mode): New function.
7981 (set-fringe-mode, set-fringe-style): Use it.
7982 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7984 * files.el (set-auto-mode): Fix invalid setq call.
7986 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7988 * isearch.el: Misc simplification; use defstruct.
7989 (isearch-mode-map): Dense maps now work like sparse ones.
7990 (isearch--state): New defstruct.
7991 (isearch-string-state, isearch-message-state, isearch-point-state)
7992 (isearch-success-state, isearch-forward-state)
7993 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7994 (isearch-wrapped-state, isearch-barrier-state)
7995 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7996 replaced by defstruct's accessors.
7997 (isearch--set-state): Rename from isearch-top-state and change
7999 (isearch-push-state): Use new isearch--get-state.
8000 (isearch-toggle-word): Disable regexp when enabling word.
8001 (isearch-message-prefix): Remove unused arg _c-q-hack.
8002 (isearch-message-suffix): Remove unused arg _ellipsis.
8004 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8006 * simple.el (list-processes--refresh): For a server use :host or
8007 :local as the address.
8008 (list-processes): Doc fix.
8010 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8012 * lisp/mpc.el: Support password in host argument.
8013 (mpc--proc-connect): Parse and use new password element.
8014 Set mpc-proc variable instead of returning process.
8015 (mpc-proc): Adjust accordingly.
8017 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8019 * whitespace.el (whitespace-display-mappings): Use Unicode
8020 codepoints, instead of emacs-mule codepoints. See
8021 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8024 * files.el (file-truename): Don't skip symlink-chasing part on
8025 windows-nt. Incorporate the resolution of 8+3 short aliases on
8026 Windows into the loop that recursively chases symlinks.
8027 Compare directory and its parent case-insensitively on MS-Windows and
8030 2012-08-03 Chong Yidong <cyd@gnu.org>
8032 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8034 * sort.el (sort-regexp-fields): Doc fix.
8036 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8038 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8039 labels regex position point at the expected place.
8041 2012-08-03 MON KEY <monkey@sandpframing.com>
8043 * net/imap.el (imap-interactive-login, imap-authenticate)
8044 (imap-mailbox-lsub, imap-mailbox-list)
8045 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8046 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8047 (imap-parse-response): Doc fix.
8049 2012-08-03 João Távora <joaotavora@gmail.com>
8051 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8052 if sexp scanning does not move point (Bug#5734).
8054 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8056 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8057 Add listings, minted, and ctable packages.
8058 (reftex-label-alist-builtin): Move listings, minted, and ctable
8059 entries before LaTeX.
8060 (reftex-label-alist): Docfix.
8062 2012-08-02 Bastien Guerry <bzg@gnu.org>
8064 * replace.el (occur): Fix docstring (bug#12122).
8066 2012-08-02 Glenn Morris <rgm@gnu.org>
8068 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8070 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8072 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8073 * international/mule-cmds.el: Create
8074 inactivate-current-input-method-function as an obsolete alias for
8075 deactivate-current-input-method-function. See Katsumi Yamaoka in
8076 <http://bugs.gnu.org/10150#46>.
8078 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8080 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8083 2012-08-01 Glenn Morris <rgm@gnu.org>
8085 * progmodes/autoconf.el (autoconf-definition-regexp):
8086 Add AH_TEMPLATE, adjust submatch numbering.
8087 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8088 (autoconf-current-defun-function): Update for above change.
8089 (autoconf-current-defun-function): First skip to end of current word.
8091 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8093 * calendar/cal-html.el (cal-html-insert-agenda-days):
8094 Fix typo. (Bug#12018)
8096 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8098 Shell processes: enhancements to startup and CEDET compatibility.
8099 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8100 (python-shell-make-comint): accept-process-output at startup.
8101 (run-python-internal): Set inferior-python-mode-hook to nil.
8102 (python-shell-internal-get-or-create-process): call sit-for.
8103 (python-preoutput-result): Add obsolete alias.
8104 (python-shell-internal-send-string): Use it.
8105 (python-shell-send-setup-code): Remove call to
8106 accept-process-output.
8108 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8110 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8113 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8115 * calc-mode.el (calc-basic-simplification-mode): Rename from
8116 `calc-limited-simplification-mode'.
8117 (calc-alg-simplification-mode): New function.
8118 (calc-set-simplify-mode): Adjust message.
8120 * calc.el (calc-set-mode-line): Adjust mode line display for
8121 basic simplification mode.
8123 * calc-help.el (calc-m-prefix-help): Update help message.
8125 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8126 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8128 2012-07-31 Bastien Guerry <bzg@gnu.org>
8130 * man.el (man): Fix comment. (bug#12101)
8132 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8134 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8135 Don't return a non-nil value when no suitable buffer was found.
8137 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8139 * progmodes/python.el (run-python-internal): Disable font lock for
8142 2012-07-30 Stefan Merten <smerten@oekonux.de>
8144 * textmodes/rst.el: Silence `checkdoc-ispell'.
8145 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8146 (rst-official-version, rst-official-cvs-rev)
8147 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8148 (rst-mode-map): New key binding.
8150 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8152 Update .PHONY listings in makefiles.
8153 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8154 autoloads, update-subdirs, updates, bzr-update, update-authors,
8155 compile-onefile, compile-calc, backup-compiled-files,
8156 compile-after-backup, compile-one-process, mh-autoloads,
8157 bootstrap-clean, distclean, maintainer-clean.
8159 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8161 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8162 (calc-set-mode-line): Don't display "AlgSimp ".
8164 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8165 (calc-lim-simplify-mode): New function.
8166 (calc-set-simplify-mode): Default to 'alg.
8167 (calc-default-simplify-mode): Make algebraic simplifications
8170 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8171 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8173 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8174 indicate new simplification modes.
8176 * calc/README: Mention new default simplification mode.
8178 * calc/calc.el (math-normalize-error): New variable.
8179 (math-normalize): Set `math-normalize-error' to t
8180 when there's an error.
8182 * calc/calc-alg.el (math-simplify): Don't simplify when
8183 `math-normalize' returns an error.
8185 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8187 * international/mule-cmds.el (set-locale-environment): Revert last
8188 change, since display-graphic-p returns nil when this function is
8189 called during startup. Instead...
8191 * term/w32console.el (terminal-init-w32console): ...setup the
8192 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8194 2012-07-29 Juri Linkov <juri@jurta.org>
8196 * simple.el (goto-line): Don't display default line number in the
8197 prompt because it should be displayed by `read-number' (bug#9952).
8198 Add the current line number to the defaults of `goto-line' to
8199 allow its easier modification by users with `M-n' (bug#9201).
8201 * subr.el (read-number): Support multiple default values like in
8202 other minibuffer reading functions. Replace `read' with
8203 `string-to-number' for consistency with `number-to-string'.
8205 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
8207 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
8208 * emulation/viper-init.el (viper-deactivate-input-method-action):
8209 Rename from viper-inactivate-input-method-action.
8210 (viper-deactivate-input-method):
8211 Rename from viper-inactivate-input-method.
8212 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8213 * international/mule-cmds.el (deactivate-input-method):
8214 Rename from inactivate-input-method.
8215 Also run input-method-deactivate-hook.
8216 (deactivate-current-input-method-function):
8217 Rename from inactivate-current-input-method-function.
8218 (input-method-deactivate-hook): New hook.
8219 (input-method-inactivate-hook): Mark obsolete.
8220 (inactivate-input-method): Mark obsolete.
8222 * international/quail.el (quail-activate):
8223 Also run quail-deactivate-hook.
8224 (quail-deactivate): Rename from quail-inactivate.
8225 * international/robin.el (robin-activate):
8226 Also run robin-deactivate-hook.
8227 (robin-deactivate): Rename from robin-inactivate.
8229 2012-07-29 Chong Yidong <cyd@gnu.org>
8231 * simple.el (indicate-copied-region): New function.
8232 (kill-ring-save): Split off from here.
8234 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8235 (kill-rectangle): Set deactivate-mark to t on read-only error.
8237 * register.el (copy-to-register, copy-rectangle-to-register):
8238 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8239 (append-to-register, prepend-to-register): Call indicate-copied-region.
8241 2012-07-29 Juri Linkov <juri@jurta.org>
8243 * simple.el (async-shell-command-buffer): New defcustom.
8244 (shell-command): Use it. (Bug#4719)
8246 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8248 * international/mule-cmds.el (set-locale-environment): In a
8249 console session on MS-Windows, set up keyboard and terminal
8250 encoding from the OEM codepage, not the ANSI codepage.
8253 2012-07-28 Chong Yidong <cyd@gnu.org>
8255 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8258 2012-07-28 Leo Liu <sdl.web@gmail.com>
8260 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8261 the alist (bug#12029).
8263 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8265 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8266 (compile-always, compile-first)
8267 ($(lisp)/calendar/cal-loaddefs.el)
8268 ($(lisp)/calendar/diary-loaddefs.el)
8269 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8270 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8271 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8272 instead of on update-subdirs.
8273 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8275 2012-07-28 Chong Yidong <cyd@gnu.org>
8277 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8278 directory if vc-deduce-backend returns nil (Bug#7350).
8280 * simple.el (delete-trailing-lines): New option.
8281 (delete-trailing-whitespace): Obey it (Bug#11879).
8283 2012-07-28 David Engster <deng@randomsample.de>
8285 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8286 Explanation of new 'symbol-qnames feature in doc-strings.
8287 (xml-maybe-do-ns): Return expanded names as plain symbols if
8288 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8289 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8291 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8293 Consistent completion in inferior python with emacs -nw.
8294 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8295 binding in inferior-python-mode-map with "\t".
8296 (python-shell-completion-complete-at-point)
8297 (python-completion-complete-at-point): Remove interactive spec.
8299 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8301 * calc/calccomp.el (math-compose-expr): Undo previous change.
8303 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8305 * progmodes/python.el (python-mode-map): Add keybinding for
8307 (python-shell-make-comint): Fix pop-to-buffer call.
8308 (run-python): Autoload. New arg SHOW.
8309 (python-shell-get-or-create-process): Do not pop python process
8312 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8314 * notifications.el (notifications-on-action-signal)
8315 (notifications-on-closed-signal): Use also the bus address for the map.
8316 (notifications-notify, notifications-close-notification)
8317 (notifications-get-capabilities): Add optional argument BUS.
8319 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8321 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8322 Add support for the lstlisting and minted environments, and for the
8324 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8325 labels written in keyvals syntax.
8327 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8329 * calc/calccomp.el (math-compose-expr): Use parentheses when
8330 there is a product in the denominator of a fraction.
8332 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8334 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8335 ($(lisp)/calendar/diary-loaddefs.el)
8336 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8337 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8338 Fixes failures in parallel bootstrap because subdirs.el is being
8339 rewritten while the autoload files are built at the same time,
8340 which needs to load subdirs.el.
8342 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8344 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8345 (mouse-drag-line): Don't exit tracking when a switch-frame or
8346 switch-window event occurs (Bug#12006).
8348 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8350 * mouse.el (popup-menu): Fix last change.
8352 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8354 Autoload from Lisp with more care. Follow aliases when looking for
8355 function properties.
8356 * subr.el (autoloadp): New function.
8357 (symbol-file): Use it.
8358 (function-get): New function.
8359 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8361 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8362 (lisp-indent-function):
8363 * emacs-lisp/gv.el (gv-get):
8364 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8365 * emacs-lisp/byte-opt.el (byte-optimize-form):
8366 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8367 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8369 * emacs-lisp/cl.el: Don't propagate function properties any more.
8371 * speedbar.el (speedbar-add-localized-speedbar-support):
8372 * emacs-lisp/disass.el (disassemble-internal):
8373 * desktop.el (desktop-load-file):
8374 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8375 (describe-function-1):
8376 * emacs-lisp/find-func.el (find-function-noselect):
8377 * emacs-lisp/elp.el (elp-instrument-function):
8378 * emacs-lisp/advice.el (ad-has-proper-definition):
8379 * apropos.el (apropos-safe-documentation, apropos-macrop):
8380 * emacs-lisp/debug.el (debug-on-entry):
8381 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8382 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8383 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8385 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8387 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8388 function, not an obsolete variable (Bug#12046).
8390 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8392 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8394 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8396 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8397 window only if it is still live (Bug#12034).
8399 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8401 * subr.el (redirect-frame-focus): Add advertised calling
8402 convention (Bug#12030).
8404 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8406 Prefer typical American spelling for "acknowledgment".
8407 * vc/add-log.el (change-log-acknowledgment): Rename from
8408 change-log-acknowledgement, with an alias for the old name.
8410 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8412 * calc-alg.el (math-simplify-divide): Don't cross multiply
8413 in an equation when the lhs is a variable.
8415 2012-07-24 Julien Danjou <julien@danjou.info>
8417 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8420 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8422 * startup.el (command-line): Don't display an empty user name in
8423 the error message about non-existent home directory, when
8424 init-file-user was set to an empty string. See
8425 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8426 for the details and context.
8428 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8430 * ses.el (ses-cell-formula-aset): New macro.
8431 (ses-cell-references-aset): New macro.
8432 (ses-cell-p): New function.
8433 (ses-rename-cell): Do no longer rely on complex operations like
8434 ses-cell-set-formula or ses-set-cell to change the cell and handle
8435 the undo at the same time, but rather use lower level new macros
8436 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8437 the undo directly. Refresh the mode line.
8439 2012-07-21 Leo Liu <sdl.web@gmail.com>
8441 * progmodes/cc-cmds.el (c-defun-name):
8442 Use match-string-no-properties instead for consistency.
8444 2012-07-20 Leo Liu <sdl.web@gmail.com>
8446 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8449 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8451 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8453 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8454 * progmodes/bug-reference.el, misearch.el: Provide themselves
8457 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8458 of narrowed buffer (bug#11966).
8460 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8462 * ses.el (ses-rename-cell): Set new name also in reference list of
8463 cells of which the renamed cell depends.
8465 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8467 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8468 to check whether menu-bar is shown or not. If not shown,
8469 show the menu-bar as a popup menu instead of using tmm.
8470 * mouse.el (popup-menu): Accept `point' as `position' argument.
8472 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8474 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8475 up inside string symbol literal (bug#11923).
8477 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8479 * startup.el (fancy-startup-text): Read the whole tutorial, not
8480 just its first 256 bytes. Prevents gibberish in display of the
8483 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8485 Drop idle buffer compaction due to an absence of the
8487 * compact.el: Remove.
8489 2012-07-19 Sam Steingold <sds@gnu.org>
8491 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8492 vc-bzr-pull & vc-bzr-merge-branch.
8493 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8494 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8495 for consistency with compilation-error-regexp-alist.
8496 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8497 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8498 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8499 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8501 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * emacs-lisp/chart.el: Use lexical-binding.
8504 (chart-emacs-storage): Don't hardcode the list of entries.
8506 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8508 Next round of tweaks caused by Fgarbage_collect changes.
8509 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8511 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8513 Compact buffers when idle.
8514 * compact.el: New file.
8516 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8518 * subr.el (eventp): Presume that if it looks vaguely like an event,
8519 it's an event (bug#10190).
8521 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8523 Enhancements to ppss related code (thanks Stefan).
8524 * progmodes/python.el (python-indent-context)
8525 (python-indent-calculate-indentation, python-indent-dedent-line)
8526 (python-indent-electric-colon, python-nav-forward-block)
8527 (python-mode-abbrev-table)
8528 (python-info-assignment-continuation-line-p): Simplify checks
8530 (python-info-continuation-line-p): Cleanup.
8531 (python-info-ppss-context): Do not catch 'quote.
8532 (python-info-ppss-context-type)
8533 (python-info-ppss-comment-or-string-p): Simplify.
8535 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8537 * progmodes/python.el: Enhancements to eldoc support.
8538 (python-info-current-symbol): New function.
8539 (python-eldoc-at-point): Use python-info-current-symbol.
8540 (python-info-current-defun): Fix cornercase on first defun scan.
8541 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8542 and signal error when no inferior python process is available.
8544 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8546 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8547 assume it's always t.
8548 (vc-git-registered): Remove caching, the function is only called
8550 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8552 2012-07-18 Chong Yidong <cyd@gnu.org>
8554 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8556 * simple.el (count-words): Report on narrowing (Bug#9959).
8558 * bindings.el: Bind M-= to count-words.
8560 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8562 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8564 * progmodes/sh-script.el (sh-imenu-generic-expression):
8565 Capture a function with `function' keyword and without parentheses
8566 like "function FOO" (bug#11856).
8568 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8570 * window.el (split-window-sensibly): Make WINDOW argument
8573 2012-07-18 Chong Yidong <cyd@gnu.org>
8575 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8577 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8578 and make C-x 8 RET exit isearch (Bug#11439).
8580 * international/iso-transl.el: Move isearch-mode-map key
8581 definitions to isearch.el.
8583 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8586 (eieio-defclass): Use gv-define-setter when possible.
8588 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8590 Reflect recent changes in Fgarbage_collect.
8591 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8592 reflect new format of data returned by Fgarbage_collect.
8594 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8596 New utility functions + python-info-ppss-context fix (Bug#11910).
8597 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8598 (python-info-ppss-comment-or-string-p): New functions.
8599 (python-info-ppss-context): Small fix for string check.
8601 2012-07-17 Juri Linkov <juri@jurta.org>
8603 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8604 (dired-do-async-shell-command): Don't add `*' at the end of the
8605 command (Bug#11815).
8606 (dired-do-shell-command): Doc fix.
8607 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8608 Join the individual commands using either "&" or ";" as the
8609 separator depending on the values of these trailing characters.
8610 At the end re-add the trailing "&". (Bug#10598)
8612 * simple.el (async-shell-command): Sync the interactive spec with
8613 `shell-command'. Doc fix.
8614 (shell-command): Doc fix.
8616 2012-07-17 Juri Linkov <juri@jurta.org>
8618 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8620 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8622 Final renames and doc fixes for movement commands (bug#11899).
8623 * progmodes/python.el (python-nav-beginning-of-statement):
8624 Rename from python-nav-statement-start.
8625 (python-nav-end-of-statement): Rename from
8626 python-nav-statement-end.
8627 (python-nav-beginning-of-block): Rename from
8628 python-nav-block-start.
8629 (python-nav-end-of-block): Rename from python-nav-block-end.
8631 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8633 * progmodes/python.el (python-shell-send-string-no-output):
8634 Allow accept-process-output to quit, keeping shell process ready for
8635 future interactions (Bug#11868).
8637 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8639 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8641 * emacs-lisp/elint.el (elint-find-args-in-code):
8642 Use help-function-arglist, so as to handle lexical byte-code.
8644 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8647 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8650 Avoid spuriously marking the buffer as modified because of c-is-sws.
8652 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8653 as not-a-comment (bug#11946).
8655 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8656 for uninterned vars.
8658 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8659 Use read-event since we don't really want to read chars but bytes.
8661 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8662 $$..$$ but also $..$ using regexps (bug#11953).
8663 Use tex-verbatim for \url and \path.
8664 (tex-font-lock-keywords): Define as defconst like the others.
8665 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8667 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8669 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8670 alias for insert-char.
8672 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8674 * progmodes/python.el: Simplified imenu implementation.
8675 (python-nav-jump-to-defun): Remove command.
8676 (python-mode-map): Use `imenu' instead.
8677 (python-nav-list-defun-positions-cache)
8678 (python-imenu-include-defun-type, python-imenu-make-tree)
8679 (python-imenu-subtree-root-label, python-imenu-index-alist):
8681 (python-nav-list-defun-positions, python-nav-read-defun)
8682 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8683 (python-imenu-make-tree, python-imenu-create-index):
8685 (python-mode): Update to interact with imenu by setting
8686 `imenu-extract-index-name-function' only.
8688 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8690 * progmodes/python.el: Enhancements to navigation commands.
8691 (python-nav-backward-sentence)
8692 (python-nav-forward-sentence): Remove.
8693 (python-nav-backward-statement, python-nav-forward-statement)
8694 (python-nav-statement-start, python-nav-statement-end)
8695 (python-nav-backward-block, python-nav-forward-block)
8696 (python-nav-block-start, python-nav-block-end)
8697 (python-nav-forward-sexp-function)
8698 (python-info-current-line-comment-p)
8699 (python-info-current-line-empty-p): New functions.
8700 (python-indent-context): Use `python-nav-statement-start'.
8702 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8704 * eshell/em-ls.el (eshell/ls): Use `apply'.
8706 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8707 multi-hops, instead of Tramp internals.
8709 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8711 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8712 when F1 and F2 are located on different hosts.
8714 2012-07-14 Chong Yidong <cyd@gnu.org>
8716 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8717 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8718 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8719 (xterm-mouse--read-event-sequence-1000)
8720 (xterm-mouse--read-event-sequence-1006): New functions. For old
8721 mouse protocol, handle M-mouse-X events correctly.
8722 (xterm-mouse-event): New arg specifying mouse protocol.
8723 (turn-on-xterm-mouse-tracking-on-terminal)
8724 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8725 sequence to toggle extended coordinates on newer XTerms.
8726 This appears to be harmless on terminals which do not support this.
8728 2012-07-14 Leo Liu <sdl.web@gmail.com>
8730 Add fringe bitmap indicators for flymake. (Bug#11253)
8731 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8732 (flymake-make-overlay): New arg BITMAP.
8733 (flymake-error-bitmap, flymake-warning-bitmap)
8734 (flymake-fringe-indicator-position): New user variables.
8736 * fringe.el: New bitmap exclamation-mark.
8738 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8740 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8743 2012-07-14 Chong Yidong <cyd@gnu.org>
8745 * electric.el (electric-pair-post-self-insert-function): Fix pair
8746 insertion in empty-region case (Bug#11520).
8748 2012-07-14 Chong Yidong <cyd@gnu.org>
8750 * bindings.el: Consolidate ctl-x-r-map bindings.
8751 Bind copy-rectangle-as-kill to C-x r w.
8753 * rect.el, register.el: Move bindings to bindings.el.
8755 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8757 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8759 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8761 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8763 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8765 * bindings.el (top): Use `mapc' instead of `mapcar'.
8767 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8769 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8771 * progmodes/sql.el (sql-comint): Suppress the check for program on
8772 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8775 2012-07-13 Chong Yidong <cyd@gnu.org>
8777 * bindings.el: Assign a non-nil permanent-local property to
8778 per-buffer variables which lack a default value (Bug#11930).
8780 * help-fns.el (describe-variable): In the "automatically becomes
8781 local" notice, take note of permanent-local variables.
8783 2012-07-13 Chong Yidong <cyd@gnu.org>
8785 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8786 to allow printing the message when called from Lisp.
8788 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8789 Remove toggle-read-only.
8791 * bs.el (bs-toggle-readonly):
8792 * buff-menu.el (Buffer-menu-toggle-read-only):
8793 Remove with-no-warnings around toggle-read-only.
8795 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8796 Remove with-no-warnings around toggle-read-only.
8797 (ffap-read-only, ffap-read-only-other-window)
8798 (ffap-read-only-other-frame): Callers changed.
8800 * help-mode.el: Don't require view package.
8801 (help-mode-finish): Set buffer-read-only instead of calling
8804 * bindings.el (mode-line-toggle-read-only):
8805 * dired.el (dired-toggle-read-only):
8806 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8807 with non-nil second arg.
8809 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8810 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8813 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8815 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8818 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8820 More CL cleanups and reduction of use of cl.el.
8821 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8822 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8823 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8824 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8825 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8826 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8827 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8828 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8829 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8830 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8831 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8832 * eshell/em-cmpl.el, eshell/em-banner.el:
8833 * calendar/parse-time.el: Use cl-lib.
8834 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8835 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8836 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8837 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8838 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8839 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8840 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8841 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8842 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8843 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8844 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8845 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8846 `lambda' rather than with `quote'.
8847 (eshell-do-opt): Adjust accordingly.
8848 (eshell-process-option): Simplify.
8849 * eshell/esh-var.el:
8850 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8851 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8852 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8853 to `pcase--dontcare'.
8854 * emacs-lisp/cl.el (labels): Mark obsolete.
8855 (cl--letf, letf): Move to cl-lib.
8856 (cl--letf*, letf*): Remove.
8857 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8858 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8859 (cl-progv): Rewrite.
8860 (cl--letf, cl-letf): Move from cl.el.
8861 (cl-letf*): New macro.
8862 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8864 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8866 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8868 2012-07-11 Chong Yidong <cyd@gnu.org>
8870 * vc/log-edit.el (log-edit-vc-backend): New variable.
8871 (log-edit): Doc fix.
8873 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8874 argument of log-edit to set up all local variables.
8875 (vc-start-logentry): New optional arg specifying VC backend.
8877 * vc/vc.el (vc-checkin): Use it.
8878 (vc-deduce-fileset): Handle Log Edit buffers.
8879 (vc-diff): Make first argument optional too.
8881 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8883 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8885 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8886 command, just in case. The function is not needed anymore.
8887 (eshell-external-command): Do not call `eshell-remote-command'.
8889 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8891 Reduce use of (require 'cl).
8892 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8893 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8894 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8895 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8896 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8897 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8898 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8899 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8900 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8901 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8902 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8903 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8904 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8905 (byte-compile-unfold-bcf, byte-compile-check-variable):
8906 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8907 (byte-compile-nilconstp):
8908 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8909 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8911 * emacs-lisp/gv.el (cond): Make it a valid place.
8912 (if): Simplify slightly.
8914 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8915 (pcase--self-quoting-p): New function.
8916 (pcase--u1): Use it.
8918 2012-07-10 Glenn Morris <rgm@gnu.org>
8920 * emacs-lisp/authors.el (authors-fixed-entries):
8921 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8923 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8925 Rename configure.in to configure.ac (Bug#11603).
8926 * emacs-lisp/authors.el (authors-canonical-file-name):
8927 * progmodes/autoconf.el (autoconf-mode):
8928 Prefer configure.ac to configure.in.
8930 2012-07-08 Chong Yidong <cyd@gnu.org>
8932 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8933 Implement the mouse-1-click-follows-link handling properly.
8935 * info.el (Info-link-keymap): Use follow-link mechanism for
8936 header-line links (Bug#374).
8938 * simple.el (deactivate-mark): Do not set the primary selection
8939 if another program has acquired it (Bug#11772).
8941 2012-07-07 Kevin Ryde <user42@zip.com.au>
8943 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8944 (woman-decode-region): Replace escaped-escapes without destroying
8945 bold or underline (Bug#11552).
8946 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8948 2012-07-07 Chong Yidong <cyd@gnu.org>
8950 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8951 (interprogram-cut-function, interprogram-paste-function):
8952 Mention that we typically mean the clipboard.
8954 2012-07-06 Glenn Morris <rgm@gnu.org>
8956 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8958 * files.el (toggle-read-only): Restrict message to interactive use.
8960 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8962 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8964 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8966 2012-07-06 Glenn Morris <rgm@gnu.org>
8968 * Makefile.in (compile-one-process): Rename from "recompile".
8970 * Makefile.in (bzr-update): "compile" is the same as "recompile
8971 autoloads", but parallelizable, so use that instead.
8973 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8975 * window.el (quit-window): Always restore window height when
8976 it's saved in quit-restore parameter (Bug#11810).
8978 2012-07-06 Glenn Morris <rgm@gnu.org>
8980 * simple.el (kill-whole-line): Doc tweak.
8982 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8984 * files.el (file-relative-name): Compare file names
8985 case-insensitively if on MS-Windows or MS-DOS, or if
8986 read-file-name-completion-ignore-case is non-nil. Don't use
8987 case-fold-search for this purpose. (Bug#11827)
8989 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8991 * calendar/cal-dst.el (calendar-current-time-zone):
8992 Return calendar-current-time-zone-cache if non-nil.
8994 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8995 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8997 * calendar/cal-dst.el (calendar-current-time-zone):
8998 Return calendar-current-time-zone-cache if non-nil.
9000 2012-07-06 Glenn Morris <rgm@gnu.org>
9002 * Makefile.in (cvs-update): Remove old alias.
9004 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9006 Sync with Tramp 2.2.6-pre.
9008 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9009 compatible declaration.
9011 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9012 Protect `list-load-path-shadows' call.
9014 * net/tramp-compat.el (top): Require packages, which aren't
9015 autoloaded anymore for XEmacs. Protect call of
9016 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9017 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9018 it hurts at least for SXEmacs.
9019 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9020 standard-value for `temporary-file-directory'.
9022 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9023 Redirect stderr to /dev/null.
9024 (tramp-sh-handle-write-region): uid and gid can be floats.
9025 Reported by Russell Sim <russell.sim@gmail.com>.
9026 (tramp-sh-handle-vc-registered): Hide errors.
9027 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9028 and `start-file-process'.
9029 (tramp-maybe-open-connection): Check also whether `non-essential'
9032 2012-07-04 Chong Yidong <cyd@gnu.org>
9034 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9035 (xml-parse-tag): Likewise, and avoid changing entity tables.
9036 (xml-syntax-table): Define from scratch, making sure not to give
9037 x2000 and other Unicode spaces whitespace syntax, since those are
9039 (xml-parse-fragment): Delete unused function.
9040 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9041 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9042 (xml-entity-ref, xml-pe-reference-re)
9043 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9044 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9045 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9046 (xml-entity-value-re): Use syntax references in regexps where
9047 possible; no need to define inside a let-binding.
9048 (xml-parse-dtd): Use xml-pe-reference-re.
9049 (xml-entity-or-char-ref-re): New defconst.
9050 (xml-parse-string, xml-substitute-special): Use it.
9052 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9055 (find-file--read-only): New function.
9056 (find-file-read-only, find-file-read-only-other-window)
9057 (find-file-read-only-other-frame): Use it.
9058 (insert-file-contents-literally): Don't `fset'.
9059 (get-free-disk-space): Use locate-dominating-file.
9061 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9062 function is already compiled.
9064 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9066 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9068 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9069 files on the same host.
9071 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9073 * help-fns.el (describe-function-1): Only call
9074 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9076 2012-07-03 Chong Yidong <cyd@gnu.org>
9078 * xml.el: Protect parser against XML bombs.
9079 (xml-entity-expansion-limit): New variable.
9080 (xml-parse-string, xml-substitute-special): Use it.
9081 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9083 2012-07-03 Glenn Morris <rgm@gnu.org>
9085 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9086 Allow linking to specific messages in debbugs reports (eg 123#5).
9088 2012-07-02 Chong Yidong <cyd@gnu.org>
9090 * xml.el: Fix entity and character reference expansion, allowing
9091 them to expand into markup as per XML spec.
9092 (xml-default-ns): New variable.
9093 (xml-entity-alist): Use XML spec definitions for lt and amp.
9094 (xml-parse-region): Make first two arguments optional.
9095 Discard text properties.
9096 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9097 All callers changed.
9098 (xml-parse-tag): Call xml-parse-tag-1. For backward
9099 compatibility, this function should not modify buffer contents.
9100 (xml-parse-tag-1): Fix opening-tag regexp.
9101 (xml-parse-string): Rewrite, handling entity and character
9102 references properly.
9103 (xml--entity-replacement-text): Signal an error if a parameter
9104 entity is undefined.
9106 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9108 * comint.el (comint-output-filter): Filter out repeated prompts.
9110 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9111 and file-name-absolute-p.
9112 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9115 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9118 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9119 Rename from byte-compile--refiy-function. All uses changed.
9121 2012-07-01 Chong Yidong <cyd@gnu.org>
9123 * xml.el (xml--parse-buffer): New function. Move most of
9124 xml-parse-region here.
9125 (xml-parse-region): Copy region into a temporary buffer, since
9126 parameter entity substitution requires changing buffer contents.
9127 Use xml--parse-buffer.
9128 (xml-parse-file): Use xml--parse-buffer.
9129 (xml-parse-dtd): Make parameter entity substitution work right.
9130 Use proper regexps for ELEMENT declarations (Bug#7172).
9132 2012-06-30 Glenn Morris <rgm@gnu.org>
9134 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9136 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9137 Remove outdated and unnecessary dbus declarations.
9139 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9141 * emacs-lisp/timer.el (timer-until): Subtract results of
9142 float-time, instead of taking float-time of the result of
9143 time-subtract, since float-time signals an error for negative time
9146 2012-06-30 Chong Yidong <cyd@gnu.org>
9148 * xml.el (xml-*-re): Convert defvars into defconsts, and
9149 eval-and-compile them so eval-and-compile works on derivatives.
9150 (xml--entity-replacement-text): Use eval-and-comple.
9152 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9154 * vc/vc-git.el (vc-git-registered): Use cache property
9156 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9157 `vc-git-working-revision' in order to benefit from the cache.
9158 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9160 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9162 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9163 removed (likely outside Emacs). (Bug#11757)
9165 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * emacs-lisp/cl-lib.el: Require macroexp.
9169 2012-06-30 Chong Yidong <cyd@gnu.org>
9171 * xml.el: Implement XML parameter entities.
9172 (xml-parameter-entity-alist): New variable.
9173 (xml-parse-region, xml-parse-fragment): Preserve previous values
9174 of xml-entity-alist and xml-parameter-entity-alist, so that
9175 repeated calls on different documents do not change them.
9176 (xml-parse-tag): Fix doctype regexp.
9177 (xml--entity-replacement-text): New function.
9178 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9179 properly requires url retrieval which is unimplemented.
9180 (xml-escape-string): Doc fix.
9182 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9186 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9188 * fringe.el (fringe-mode): Doc fix.
9190 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9192 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9194 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9195 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9197 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9199 * calendar/cal-dst.el (calendar-current-time-zone):
9200 Return calendar-current-time-zone-cache if non-nil.
9202 2012-06-29 Masatake YAMATO <yamato@redhat.com>
9204 * progmodes/which-func.el (which-func-format):
9205 Add mouse-face. (Bug#11698)
9207 2012-06-29 Leo Liu <sdl.web@gmail.com>
9209 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
9211 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9213 * minibuffer.el (minibuffer-confirm-exit-commands):
9214 Add completion-at-point (bug#11725).
9216 2012-06-29 Glenn Morris <rgm@gnu.org>
9218 * progmodes/f90.el (f90-font-lock-keywords-2):
9219 Add some preprocessor elements. (Bug#10499)
9221 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9223 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9224 Use syntax-propertize (bug#11739).
9226 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9228 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9230 2012-06-28 Julien Danjou <julien@danjou.info>
9232 * term.el (term-handle-colors-array): Use a set of new faces to
9233 color the terminal. Also uses :inverse-video property.
9234 (term-default-fg-color): Set to nil by default, deprecate in favor
9236 (term-default-bg-color): Set to nil by default, deprecate in favor
9238 (term-current-face): Use `term-face' by default.
9239 (term-bold-attribute): Variable deleted.
9241 2012-06-28 Glenn Morris <rgm@gnu.org>
9243 * simple.el (completion-list-mode-finish):
9244 Don't use toggle-read-only. (Since completion-list-mode has
9245 a special mode-class, it wasn't doing anything extra anyway.)
9247 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9249 Make inlining of other-mode interpreted functions work (bug#11799).
9250 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9251 (byte-compile): Use it to fix compilation of lexical-binding closures.
9252 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9253 function, if needed.
9255 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * help-mode.el (help-make-xrefs): Don't just withstand
9258 cyclic-variable-indirection but any error in documentation-property.
9260 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9262 * bindings.el (bindings--define-key): New function.
9263 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9264 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9265 * bindings.el: Use it to purecopy define-key bindings.
9267 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9269 * emacs-lisp/cl.el (flet): Mark obsolete.
9270 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9271 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9272 * progmodes/js.el (js-c-fill-paragraph):
9273 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9274 (ebrowse-switch-member-buffer-to-derived-class):
9275 * play/5x5.el (5x5-solver): Use cl-flet.
9277 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9278 (cl--symbol-function): New macro.
9279 (cl--letf, cl--letf*): Use it.
9281 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9282 Strip "toggle-" if any.
9284 2012-06-27 Glenn Morris <rgm@gnu.org>
9286 * info.el (Info-default-directory-list): Move here from paths.el.
9287 * paths.el: Remove file, which is now empty.
9288 * loadup.el: No longer load "paths".
9290 * custom.el (custom-initialize-delay): Doc fix.
9292 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9293 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9294 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9295 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9296 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9297 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9298 * eshell/eshell.el (eshell-defgroup): Remove alias.
9300 2012-06-27 Chong Yidong <cyd@gnu.org>
9302 * help.el (help-enable-auto-load): New variable.
9304 * help-fns.el (help-fns--autoloaded-p): New function.
9305 (describe-function-1): Refer to a function as "autoloaded" if it
9306 was autoloaded at any time in the past. Perform autoloading if
9307 help-enable-auto-load is non-nil.
9309 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9311 * makefile.w32-in (compile, compile-always): Depend on
9312 update-subdirs, not on subdirs.el. Otherwise, several different
9313 sub-targets of 'bootstrap' running in parallel could
9314 simultaneously write to subdirs.el, producing a garbled file.
9316 2012-06-26 Sam Steingold <sds@gnu.org>
9318 * files.el (file-name-base): New convenience function.
9319 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9320 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9321 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9322 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9323 * textmodes/ispell.el, textmodes/reftex-ref.el:
9324 * textmodes/tex-mode.el: Use it.
9325 Did not touch cedet and org because they are maintained elsewhere.
9327 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9329 * calendar/calendar.el (calendar-exit): Don't try to delete or
9330 iconify last frame. See:
9331 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9333 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9335 * server.el (server-process-filter): Remember dir in the
9336 process's `server-client-directory' properties.
9338 2012-06-24 Chong Yidong <cyd@gnu.org>
9340 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9343 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9345 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9347 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9349 * help-fns.el (describe-variable): Don't croak when doc is not found.
9350 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9351 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9352 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9353 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9354 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9356 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9358 2012-06-23 Chong Yidong <cyd@gnu.org>
9360 * info.el (Info-mouse-follow-link): Accept symbol values of
9361 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9362 (Info-fontify-node): Use Info-link-keymap for all navigation
9363 buttons, with link-args property to perform the desired action.
9364 (Info-link-keymap): Doc fix.
9365 (Info-next-link-keymap, Info-prev-link-keymap)
9366 (Info-up-link-keymap): Delete now-unused keymaps.
9368 2012-06-23 Chong Yidong <cyd@gnu.org>
9370 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9372 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9375 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9377 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9382 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9383 the requote function doesn't work properly (bug#11714).
9385 2012-06-23 Glenn Morris <rgm@gnu.org>
9387 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9389 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9391 Further GV/CL cleanups.
9392 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9394 (gv--defun-declaration): New function.
9395 (defun-declarations-alist): Use it.
9396 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9397 (gv-place): Autoload.
9398 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9399 original definition of dotimes and dolist.
9400 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9401 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9402 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9403 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9404 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9405 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9406 to the function's definition.
9407 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9411 * env.el: Don't use CL.
9413 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9415 Support higher-resolution time stamps (Bug#9000).
9417 * calendar/time-date.el (with-decoded-time-value): New arg
9418 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9419 (encode-time-value): New optional arg PICO. New type 3.
9420 (time-to-seconds) [!float-time]: Support the new picoseconds
9421 component if it's used.
9422 (seconds-to-time, time-subtract, time-add):
9423 Support ps-resolution time stamps as well.
9425 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9426 (timerp): Timer vectors now have length 9, not 8.
9427 (timer--time): Support new-style (4-part) time stamps.
9428 (timer-next-integral-multiple-of-time): Time stamps now have
9429 picosecond resolution, so take a bit more care about rounding.
9430 (timer-relative-time, timer-inc-time): New optional arg psecs.
9431 (timer-set-time-with-usecs): Set psecs to 0.
9432 (timer--activate): Check psecs component, too.
9434 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9436 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9439 Move the non-essential binding to the post/pre-command-hook where it is
9440 more obviously correct.
9442 * subr.el (read-passwd): Don't use a history at all.
9443 * savehist.el (savehist-save): Remove password saved accidentally
9444 because of the above bug.
9446 2012-06-22 Bastien Guerry <bzg@gnu.org>
9448 * files.el (toggle-read-only): Display a message telling whether
9449 the buffer is read-only or not (bug#11726).
9451 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9453 * emacs-lisp/gv.el: New file.
9454 * subr.el (push, pop): Extend to generalized variables.
9455 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9456 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9457 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9458 gv-define-simple-setter, and gv-define-expander.
9459 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9460 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9461 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9462 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9463 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9465 (cl-defstruct): Don't define setf-method any more.
9466 * emacs-lisp/cl.el (flet): Don't autoload.
9467 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9468 (define-setf-expander, defsetf, define-modify-macro)
9469 (cl-struct-setf-expander): Move from cl-lib.el.
9470 * emacs-lisp/syntax.el:
9471 * emacs-lisp/ewoc.el:
9472 * emacs-lisp/smie.el:
9473 * emacs-lisp/cconv.el:
9474 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9475 (timer--time): Use gv-define-simple-setter.
9476 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9477 to avoid coding-system problems in subr.el. Adjust all users.
9478 (macroexp--maxsize, macroexp-small-p): New functions.
9479 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9480 * scroll-bar.el (scroll-bar-mode):
9481 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9482 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9483 * winner.el (winner-configuration, winner-make-point-alist)
9484 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9485 * files.el (locate-file-completion-table): Avoid list*.
9487 2012-06-22 Chong Yidong <cyd@gnu.org>
9489 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9490 (dired-create-files): Doc fix (Bug#11329).
9491 (dired-do-copy): Doc fix (Bug#11334).
9492 (dired-mark-read-string): Doc fix (Bug#11553).
9494 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9495 Doc fix (Bug#11326).
9496 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9497 (dired-dwim-target): Doc fix.
9499 * wdired.el (wdired-mode): Doc fix.
9501 2012-06-22 Glenn Morris <rgm@gnu.org>
9503 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9504 (pcmpl-rpm-cache-stamp-file): New constant.
9505 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9506 (pcmpl-rpm-packages): Optionally cache list of packages.
9508 * pcmpl-rpm.el (pcmpl-rpm): New group.
9509 (pcmpl-rpm-query-options): New option.
9510 (pcmpl-rpm-packages): No need to inline it.
9511 Use pcmpl-rpm-query-options.
9513 * calendar/calendar.el (calendar-in-read-only-buffer):
9514 Avoid some needless mode changes.
9516 2012-06-21 Chong Yidong <cyd@gnu.org>
9518 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9519 (desktop-path): Remove . from the default value (Bug#10977).
9520 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9522 2012-06-20 Chong Yidong <cyd@gnu.org>
9524 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9526 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9528 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9531 2012-06-20 Chong Yidong <cyd@gnu.org>
9533 * term.el (term-window-width): Handle the case of a missing right
9535 (term-check-size): Use window-text-height (Bug#5445).
9536 (term-mode): Use define-derived-mode. Minor cleanups.
9537 Set font-lock-defaults (Bug#7692).
9538 (term-move-columns, term-insert-char, term-emulate-terminal)
9539 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9541 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9543 * net/ange-ftp.el (ange-ftp-get-passwd):
9544 Bind `enable-recursive-minibuffers'.
9545 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9547 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9549 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9551 2012-06-19 Glenn Morris <rgm@gnu.org>
9553 * progmodes/python.el (python-mode): Derive from prog-mode.
9555 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9557 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9558 (edt-user-menu-bar-update-buffers): New functions.
9559 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9561 2012-06-19 Chong Yidong <cyd@gnu.org>
9563 * subr.el (with-selected-window): Preserve the selected window's
9564 terminal's top-frame (Bug#4702).
9566 * window.el (save-selected-window): Likewise.
9568 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * progmodes/python.el (python-rx-constituents): Move backquote.
9571 (python-skeleton-define, python-define-auxiliary-skeleton):
9574 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9576 * minibuffer.el (read-file-name-default): Revert the patch from
9579 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9581 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9582 (pcase--u1, pcase--q1): Don't use apply-partially.
9584 2012-06-18 Glenn Morris <rgm@gnu.org>
9586 * progmodes/python.el (python-proc, python-buffer)
9587 (python-send-receive, python-send-string): Fix obsolete versions.
9589 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9591 * window.el (special-display-p): Completely remove stringp
9592 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9594 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9596 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9598 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9600 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9601 * net/tramp-sh.el (tramp-maybe-open-connection):
9602 Throw if `non-essential' is non-nil.
9604 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9606 * window.el (special-display-p): Signal an error if BUFFER-NAME
9607 is not a string (Bug#11713).
9609 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9611 * progmodes/python.el (python-info-beginning-of-backslash):
9612 Rename from python-info-beginning-of-backlash, as a spelling fix.
9614 2012-06-17 Chong Yidong <cyd@gnu.org>
9616 * term.el (term-emulate-terminal): If term-check-size is called,
9617 move point to the process mark without resetting point (Bug#4635).
9619 2012-06-17 Glenn Morris <rgm@gnu.org>
9621 * international/mule-cmds.el (mule-menu-keymap)
9622 (set-language-environment, set-locale-environment): Doc tweaks.
9624 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9626 * cus-face.el (custom-face-attributes): Add wave-style underline
9628 * faces.el (set-face-attribute): Update docstring to describe
9629 wave-style underline attribute.
9631 2012-06-16 Chong Yidong <cyd@gnu.org>
9633 * term/xterm.el (terminal-init-xterm): Discard input before
9634 querying background mode (Bug#10959).
9636 2012-06-16 Stefan Merten <smerten@oekonux.de>
9638 * textmodes/rst.el: Added and corrected some comments.
9639 (rst-re-alist-def): Improve symbol syntax.
9640 (rst-mode-syntax-table): Correct syntax entries.
9641 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9642 (rst-official-version, rst-official-cvs-rev): Update version
9645 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9647 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9648 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9650 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9652 * progmodes/python.el: New python.el merge.
9653 (python-guess-indent): Obsolete var.
9654 (python-indent-guess-indent-offset): New defcustom.
9655 (python-indent): Obsolete var.
9656 (python-indent-offset): New defcustom.
9657 (python-python-command, python-jython-command): Delete var.
9658 (python-shell-interpreter): New defcustom.
9659 (python-pdbtrack-do-tracking-p): Delete var.
9660 (python-pdbtrack-activate): New defcustom.
9661 (python-use-skeletons): Obsolete var.
9662 (python-skeleton-autoinsert): New defcustom.
9663 (inferior-python-filter-regexp, python-continuation-offset)
9664 (python-honour-comment-indentation, python-indent-string-contents)
9665 (python-jython-packages, python-mode-hook)
9666 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9667 (python-shell-prompt-alist)
9668 (python-source-modes): Delete defcustoms.
9669 (python-check-buffer-name, python-eldoc-setup-code)
9670 (python-eldoc-string-code, python-ffap-setup-code)
9671 (python-ffap-string-code, python-fill-comment-function)
9672 (python-fill-decorator-function, python-fill-paren-function)
9673 (python-fill-string-function, python-imenu-include-defun-type)
9674 (python-imenu-make-tree, python-imenu-subtree-root-label)
9675 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9676 (python-shell-compilation-regexp-alist)
9677 (python-shell-completion-module-string-code)
9678 (python-shell-completion-pdb-string-code)
9679 (python-shell-completion-setup-code)
9680 (python-shell-completion-string-code)
9681 (python-shell-enable-font-lock, python-shell-exec-path)
9682 (python-shell-extra-pythonpaths)
9683 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9684 (python-shell-process-environment)
9685 (python-shell-prompt-block-regexp)
9686 (python-shell-prompt-output-regexp)
9687 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9688 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9689 (python-shell-virtualenv-path): New defcustoms.
9690 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9691 (inferior-python-mode-syntax-table, python--prompt-regexp)
9692 (python-buffer, python-command python-python-command)
9693 (python-default-template, python-imports, python-indent-index)
9694 (python-indent-list, python-indent-list-length)
9695 (python-mode-running, python-pdbtrack-is-tracking-p)
9696 (python-preoutput-continuation, python-preoutput-leftover)
9697 (python-preoutput-result, python-preoutput-skip-next-prompt)
9698 (python-prev-dir/file, python-recursing)
9699 (python-saved-check-command, python-version-checked)
9700 (python-which-func-length-limit)
9701 (view-return-to-alist): Delete vars.
9702 (python-check-custom-command, python-dotty-syntax-table)
9703 (python-imenu-index-alist, python-indent-current-level)
9704 (python-indent-dedenters, python-indent-levels)
9705 (python-nav-beginning-of-defun-regexp)
9706 (python-nav-list-defun-positions-cache)
9707 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9708 (python-shell-internal-buffer)
9709 (python-skeleton-available): New vars.
9710 (def-python-skeleton): Delete macro.
9711 (python-skeleton-define): New macro.
9712 (python-define-auxiliary-skeleton, python-rx): New macros.
9713 (python-insert-class): Delete command.
9714 (python-skeleton-class): New command.
9715 (python-insert-def): Delete command.
9716 (python-skeleton-def): New command.
9717 (python-insert-for): Delete command.
9718 (python-skeleton-for): New command.
9719 (python-insert-if): Delete command.
9720 (python-skeleton-if): New command.
9721 (python-insert-try/except, python-insert-try/finally): Delete commands.
9722 (python-skeleton-try): New command.
9723 (python-insert-while): Delete command.
9724 (python-skeleton-while): New command.
9725 (python-backspace): Delete command.
9726 (python-indent-dedent-line-backspace): New command.
9727 (python-electric-colon): Delete command.
9728 (python-indent-electric-colon): New command.
9729 (python-guess-indent): Delete command.
9730 (python-indent-guess-indent-offset): New command.
9731 (python-shift-left): Delete command.
9732 (python-indent-shift-left): New command.
9733 (python-shift-right): Delete command.
9734 (python-indent-shift-right): New command.
9735 (python-find-function): Delete command.
9736 (python-nav-jump-to-defun): New command.
9737 (python-next-statement): Delete command.
9738 (python-nav-forward-sentence): New command.
9739 (python-previous-statement): Delete command.
9740 (python-nav-backward-sentence): New command.
9741 (python-fill-paragraph): Delete command.
9742 (python-fill-paragraph-function): New command.
9743 (python-send-buffer): Delete command.
9744 (python-shell-send-buffer): New command.
9745 (python-send-defun): Delete command.
9746 (python-shell-send-defun): New command.
9747 (python-send-region, python-send-region-and-go): Delete commands.
9748 (python-shell-send-region)
9749 (python-shell-switch-to-shell): New commands.
9750 (python-send-string): Delete command.
9751 (python-shell-send-string): New command.
9752 (python-switch-to-python): Delete command.
9753 (python-shell-switch-to-shell): New command.
9754 (python-describe-symbol): Delete command.
9755 (python-eldoc-at-point): New command.
9756 (python--set-prompt-regexp, python-args-to-list)
9757 (python-after-info-look, python-check-version)
9758 (python-check-comint-prompt, python-find-imports)
9759 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9760 (python-unload-function, python-expand-template)
9761 (python-maybe-jython, python-preoutput-filter)
9762 (python-pdbtrack-get-source-buffer)
9763 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9764 (python-pdbtrack-toggle-stack-tracking)
9765 (python-pdbtrack-track-stack-file, python-initial-text)
9766 (python-first-word, python-comment-line-p, python-send-command)
9767 (python-setup-brm, python-sentinel, python-set-proc)
9768 (python-skip-out, python-input-filter, python-outdent-p)
9769 (python-outline-level, python-backslash-continuation-line-p)
9770 (python-end-of-block, python-end-of-statement, python-mark-block)
9771 (python-beginning-of-block, python-beginning-of-statement)
9772 (python-blank-line-p, python-beginning-of-string)
9773 (python-open-block-statement-p): Delete functions.
9774 (python-indent-line, python-indent-line-1): Delete functions.
9775 (python-indent-line): New function.
9776 (python-indentation-levels): Delete function.
9777 (python-indent-calculate-levels): New function.
9778 (python-proc): Delete function.
9779 (python-shell-get-process): New function.
9780 (python-send-receive): Delete function.
9781 (python-shell-send-string-no-output): New function.
9782 (python-module-path): Delete function.
9783 (python-ffap-module-path): New function.
9784 (python-completion-at-point)
9785 (python-symbol-completions): Delete functions.
9786 (python-completion-complete-at-point): New function.
9787 (python-load-file): Delete function.
9788 (python-shell-send-file): New function.
9789 (python-calculate-indentation): Delete function.
9790 (python-indent-calculate-indentation): New function.
9791 (python-skip-comments/blanks): Delete function.
9792 (python-util-forward-comment): New function.
9793 (python-continuation-line-p): Delete function.
9794 (python-info-continuation-line-p): New function.
9795 (python-which-func, python-current-defun): Delete function.
9796 (python-info-current-defun): New function.
9797 (python-beginning-of-defun): Delete function.
9798 (python-nav-beginning-of-defun): New function.
9799 (python-close-block-statement-p)
9800 (python-block-end-p): Delete function.
9801 (python-info-closing-block): New function.
9802 (python-comint-output-filter-function)
9803 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9804 (python-fill-comment, python-fill-decorator, python-fill-paren)
9805 (python-fill-string, python-imenu-make-element-tree)
9806 (python-imenu-make-tree, python-imenu-tree-assoc)
9807 (python-indent-context, python-indent-dedent-line)
9808 (python-indent-line-function)
9809 (python-indent-post-self-insert-function)
9810 (python-indent-toggle-levels)
9811 (python-info-assignment-continuation-line-p)
9812 (python-info-beginning-of-backlash)
9813 (python-info-block-continuation-line-p)
9814 (python-info-closing-block-message)
9815 (python-info-line-ends-backslash-p)
9816 (python-info-looking-at-beginning-of-defun)
9817 (python-info-ppss-context, python-info-ppss-context-type)
9818 (python-nav-list-defun-positions, python-nav-read-defun)
9819 (python-nav-sentence-end, python-nav-sentence-start)
9820 (python-pdbtrack-comint-output-filter-function)
9821 (python-pdbtrack-set-tracked-buffer)
9822 (python-shell-calculate-exec-path)
9823 (python-shell-calculate-process-environment)
9824 (python-shell-completion--do-completion-at-point)
9825 (python-shell-completion--get-completions)
9826 (python-shell-completion-complete-at-point)
9827 (python-shell-completion-complete-or-indent)
9828 (python-shell-get-or-create-process)
9829 (python-shell-get-process-name)
9830 (python-shell-internal-get-or-create-process)
9831 (python-shell-internal-get-process-name)
9832 (python-shell-internal-send-string, python-shell-make-comint)
9833 (python-shell-parse-command, python-shell-send-setup-code)
9834 (python-skeleton-add-menu-items)
9835 (python-util-clone-local-variables, python-util-position)
9836 (run-python-internal, python-indentation-levels)
9837 (python-nav-beginning-of-defun)
9838 (python-completion-complete-at-point): New functions.
9839 (run-python): Change arguments. New API requirements.
9841 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9846 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9847 (macroexp--expand-all): Use it.
9849 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9850 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9851 Use `cl-function' instead.
9853 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9855 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9856 Suggested by Stefan Monnier while discussing bug#11657.
9858 2012-06-14 Sam Steingold <sds@gnu.org>
9860 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9862 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9864 * play/doctor.el (doctor-doc): Remove parameter and use
9865 doctor-sent instead of sent.
9866 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9868 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * files.el: Require cl-lib.
9871 (file-name-non-special): Replace case -> cl-case.
9873 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9875 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9876 mapping from #' to function*.
9878 2012-06-13 Chong Yidong <cyd@gnu.org>
9880 * mouse.el (mouse-drag-track): Do not set the mark if the user
9881 releases the mouse without selecting anything (Bug#11588).
9883 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9885 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9886 as well (bug#11646).
9888 * loadup.el: Count byte-code functions as well.
9890 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9891 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9893 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9894 (bug#11649). Add cl-defun and cl-defmacro.
9896 2012-06-13 Drew Adams <drew.adams@oracle.com>
9898 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9901 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9903 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9904 Otherwise, it blocks in batch mode.
9906 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9908 * help-mode.el (bookmark-make-record-default): Declare.
9910 2012-06-13 Chong Yidong <cyd@gnu.org>
9912 * emacs-lisp/package.el (list-packages): Compute a list of
9913 packages that are newly-available since the last list-packages
9915 (package-menu--new-package-list): New var.
9916 (package-menu--generate, package-menu--print-info)
9917 (package-menu--status-predicate, package-menu-mark-install):
9918 Handle new status label "new".
9920 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9922 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9923 conversion to backquotes.
9925 2012-06-12 Chong Yidong <cyd@gnu.org>
9927 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9928 Rename from gud-inhibit-global-bindings.
9930 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9932 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9933 hook from nxml-glyph-set-hook.
9935 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9938 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9940 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9941 Convert to defcustom.
9943 2012-06-12 Drew Adams <drew.adams@oracle.com>
9945 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9947 (help-mode): Use them.
9949 2012-06-11 Glenn Morris <rgm@gnu.org>
9951 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9952 Use preprocessor face for directives.
9953 (fortran-directive-re): Doc fix.
9955 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9957 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9958 conversion to backquotes (bug#11652).
9960 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9961 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9962 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9963 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9964 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9965 (cl-ninth, cl-tenth): Mark them as inlinable.
9966 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9967 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9968 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9969 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9970 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9971 (cl-list*, cl-adjoin): Don't put an autoload manually.
9972 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9973 (cl--compiler-macro-list*): Add autoload cookie.
9974 (cl--compiler-macro-cXXr): New function.
9976 * help-fns.el (help-fns--compiler-macro): New function extracted from
9977 describe-function-1; follow aliases and use `compiler-macro' property.
9978 (describe-function-1): Use it.
9980 2012-06-11 Chong Yidong <cyd@gnu.org>
9982 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9983 is uninstalled, if imagemagick is installed.
9985 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * emacs-lisp/cl-lib.el: Use lexical-binding.
9988 (cl-map-extents, cl-maclisp-member): Remove.
9989 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9990 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9991 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9992 * emacs-lisp/cl-extra.el: Use lexical-binding.
9993 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9994 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9995 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9996 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9997 * emacs-lisp/cl-seq.el: Use lexical-binding.
9998 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9999 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10000 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10001 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10002 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10005 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10007 Sync with Tramp 2.2.6-pre.
10009 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10010 `print-length' and `print-level' to nil, in order to avoid
10011 truncation. Reported by Christopher Schmidt
10012 <christopher@ristopher.com>.
10014 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10016 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10018 (tramp-compat-copy-directory): Add optional argument
10019 COPY-CONTENTS. It is not handled yet.
10021 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10022 (tramp-ftp-file-name-p): Simplify.
10024 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10025 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10028 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10029 (tramp-methods): Do not use `tramp-password-end-of-line'.
10030 (tramp-completion-function-alist-putty): Handle UNIX case.
10031 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10032 (tramp-do-file-attributes-with-stat)
10033 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10034 gid as real numbers. They could run out of integer range on cygwin.
10035 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10036 (tramp-sh-handle-expand-file-name): Handle hops.
10037 (tramp-open-connection-setup-interactive-shell):
10038 Use `tramp-cleanup'. Move check for busyboxes ...
10039 (tramp-find-shell): ... here. Simplify implementation.
10040 Set "remote-shell" property also for alternative shells.
10041 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10042 If failing, a regular file would be written otherwise.
10043 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10044 (tramp-find-inline-encoding): Cache the coding commands in the
10045 process cache. Apply test command on the remote side, if defined.
10046 (tramp-find-inline-compress): Cache the compress commands in the
10048 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10049 when requested. Handle hops.
10050 (tramp-current-connection): New defvar.
10051 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10052 Throw `suppress', if there was a failed connection shortly before.
10053 Handle user interrupt. (Bug#10187)
10054 (tramp-get-inline-compress, tramp-get-inline-coding):
10055 Read connection properties from the process cache.
10057 * net/tramp-smb.el (tramp-smb-server-version)
10058 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10060 (tramp-smb-prompt): Extend for powershell prompt.
10061 (tramp-smb-file-name-handler-alist): Add handlers for
10062 `process-file', `shell-command' and `start-file-process'.
10063 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10064 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10065 (tramp-smb-file-name-p): Simplify.
10066 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10067 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10068 (tramp-smb-shell-quote-argument): New defuns.
10069 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10070 Implement using "tar". By this, time-stamps are preserved.
10071 (tramp-smb-handle-copy-file): Handle also the case of directories.
10072 (tramp-smb-do-file-attributes-with-stat)
10073 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10074 Use `tramp-get-connection-buffer').
10075 (tramp-smb-handle-rename-file): Use "rename", when source and
10076 target are on the same share.
10077 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10078 Use `tramp-smb-server-version'.
10079 (tramp-smb-wait-for-output): Remove prompt.
10081 * net/tramp.el (top): Require 'cl.
10082 (tramp-methods, tramp-rsh-end-of-line):
10083 Remove `tramp-password-end-of-line' from docstring.
10084 (tramp-save-ad-hoc-proxies): New defcustom.
10085 (tramp-completion-function-alist): Adapt docstring.
10086 (tramp-default-password-end-of-line): Remove defcustom.
10087 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10088 (tramp-user-regexp, tramp-file-name-regexp-unified)
10089 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10090 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10091 (tramp-remote-file-name-spec-regexp): New defconst.
10092 (tramp-file-name-structure): Extend structure for hops.
10093 (tramp-get-method-parameter): Move up.
10094 (tramp-file-name-p, tramp-dissect-file-name)
10095 (with-parsed-tramp-file-name): Handle hops.
10096 (tramp-file-name-hop): New defun.
10097 (tramp-make-tramp-file-name): New optional arg HOP.
10098 (tramp-message-show-progress-reporter-message): New defvar.
10099 (tramp-with-progress-reporter): Use it. We cannot use
10100 `tramp-message-show-message' here, because this suppresses also
10102 (tramp-error-with-buffer): Suppress buffer view, if
10103 `tramp-message-show-message' is nil.
10104 Use `tramp-get-connection-buffer'.
10105 (tramp-cleanup): New defun.
10106 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10107 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10108 an error unchanged.
10109 (tramp-completion-handle-file-name-all-completions): Handle hops.
10110 Fix an error when called from ido.
10111 (tramp-completion-dissect-file-name): Use better local variable
10112 name. Add hop to the vector.
10113 (tramp-handle-insert-file-contents): Use progress-reporter for the
10115 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10117 (tramp-check-for-regexp): Simplify search.
10118 (tramp-enter-password): Remove it. Move implementation ...
10119 (tramp-action-password): ... here.
10120 (tramp-mode-string-to-int, tramp-local-host-p)
10121 (tramp-make-tramp-temp-file, tramp-read-passwd)
10122 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10123 Set tramp-autoload cookie.
10125 * net/trampver.el: Update release number.
10127 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10128 Michael Albinus <michael.albinus@gmx.de>
10130 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10131 (tramp-parse-group, tramp-parse-file)
10132 (tramp-parse-shostkeys-sknownhosts): New defuns.
10133 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10134 (tramp-parse-shosts-group, tramp-parse-sconfig)
10135 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10136 (tramp-parse-sknownhosts, tramp-parse-hosts)
10137 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10139 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10140 (tramp-parse-putty-group): Don't narrow.
10141 (tramp-parse-putty): Make a loop.
10142 (tramp-file-name-handler): Catch the `suppress' signal.
10144 2012-06-11 Chong Yidong <cyd@gnu.org>
10146 * image.el (imagemagick-register-types): Put the ImageMagick entry
10147 at the end of image-type-file-name-regexps.
10149 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10151 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10152 (pcase, pcase-let*, pcase-dolist): Use them.
10154 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10156 * emacs-lisp/pcase.el (pcase--let*): New function.
10157 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10158 (pcase--expand): Use macroexp-let².
10160 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10163 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10164 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10165 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10166 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10167 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10169 2012-06-10 Glenn Morris <rgm@gnu.org>
10171 * mail/rmail.el (rmail-yank-current-message): Leave point at
10172 correct position. (Bug#11660)
10174 2012-06-10 Chong Yidong <cyd@gnu.org>
10176 * allout-widgets.el: Fix code header.
10178 2012-06-10 Chong Yidong <cyd@gnu.org>
10180 * cus-edit.el (customize-changed-options-previous-release):
10183 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10185 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10187 2012-06-09 Chong Yidong <cyd@gnu.org>
10189 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10191 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10193 * window.el (special-display-popup-frame): Don't use
10194 window--display-buffer (Bug#11651).
10196 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10198 Fix parallel builds: make sure loaddefs.el is not being written
10199 while Lisp files are compiled.
10200 (compile): Don't depend on 'mh-autoloads'.
10201 (compile-CMD, compile-SH): Depend on 'autoloads'.
10202 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
10204 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
10206 2012-06-09 Chong Yidong <cyd@gnu.org>
10208 * face-remap.el (face-remap-add-relative, face-remap-set-base)
10209 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
10210 Doc fixes (Bug#11225).
10212 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10215 a function if there's a clear indication that it has a compiler-macro.
10216 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10217 (macro-declarations-alist): Add arglist to declaration functions.
10218 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10219 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10220 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10221 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10222 Also add autoload to find the compiler macro.
10223 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10224 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10225 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10226 (cl--compiler-macro-get): New functions, replacing calls to
10227 cl-define-compiler-macro.
10228 (cl-typep) [compiler-macro]: Use macroexp-let².
10230 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10232 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10233 string properly, fixes Bug#11473.
10235 2012-06-08 Chong Yidong <cyd@gnu.org>
10237 * faces.el (set-face-attribute): Doc fix.
10238 (modify-face): Don't use :bold and :italic.
10239 (error, warning, success): Tweak definitions.
10241 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10242 (custom-modified, custom-set, custom-changed, custom-themed)
10243 (custom-saved, custom-button, custom-button-mouse)
10244 (custom-button-pressed, custom-state, custom-comment-tag)
10245 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10246 (custom-group-subtitle): Use new-style face specs.
10247 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10248 (custom-set-face, custom-changed-face, custom-saved-face)
10249 (custom-button-face, custom-button-pressed-face)
10250 (custom-documentation-face, custom-state-face)
10251 (custom-comment-face, custom-comment-tag-face)
10252 (custom-variable-tag-face, custom-variable-button-face)
10253 (custom-face-tag-face, custom-group-tag-face-1)
10254 (custom-group-tag-face): Remove obsolete face alias.
10256 * epa.el (epa-validity-high, epa-validity-medium)
10257 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10258 (epa-field-name, epa-field-body):
10259 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10260 (font-lock-keyword-face, font-lock-builtin-face)
10261 (font-lock-function-name-face, font-lock-variable-name-face)
10262 (font-lock-type-face, font-lock-constant-face):
10263 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10264 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10265 * speedbar.el (speedbar-button-face, speedbar-file-face)
10266 (speedbar-directory-face, speedbar-tag-face)
10267 (speedbar-selected-face, speedbar-highlight-face)
10268 (speedbar-separator-face):
10269 * whitespace.el (whitespace-newline, whitespace-space)
10270 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10271 (whitespace-line, whitespace-space-before-tab)
10272 (whitespace-space-after-tab, whitespace-indentation)
10273 (whitespace-empty):
10274 * emulation/cua-base.el (cua-global-mark):
10275 * eshell/em-prompt.el (eshell-prompt):
10276 * net/newst-plainview.el (newsticker-new-item-face)
10277 (newsticker-old-item-face, newsticker-immortal-item-face)
10278 (newsticker-obsolete-item-face, newsticker-date-face)
10279 (newsticker-statistics-face, newsticker-default-face):
10280 * net/newst-reader.el (newsticker-feed-face)
10281 (newsticker-extra-face, newsticker-enclosure-face):
10282 * net/newst-treeview.el (newsticker-treeview-face)
10283 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10284 (newsticker-treeview-immortal-face)
10285 (newsticker-treeview-obsolete-face)
10286 (newsticker-treeview-selection-face):
10287 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10288 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10289 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10290 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10291 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10292 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10293 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10295 * progmodes/vera-mode.el (vera-font-lock-number)
10296 (vera-font-lock-function, vera-font-lock-interface):
10297 * textmodes/table.el (table-cell): Use new-style face specs, and
10298 don't use the old :bold and :italic attributes.
10300 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10301 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10302 (ebrowse-member-class, ebrowse-progress): Likewise.
10303 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10304 (ebrowse-file-name-face, ebrowse-default-face)
10305 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10306 (ebrowse-progress-face): Remove obsolete faces.
10308 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10309 Inherit from error and warning faces respectively.
10311 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10313 (flyspell-incorrect-face, flyspell-duplicate-face):
10314 Remove obsolete aliases.
10316 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10318 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10321 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10323 * startup.el (argv, argi): Make lexically scoped.
10324 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10325 * emacs-lisp/cl-macs.el: Use lexical-binding.
10326 Rename cl-bind-* to cl--bind-*.
10327 * files.el: Don't require `cl' since it doesn't use it.
10328 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10330 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10332 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10333 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10334 instead of calling external sort utility.
10335 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10337 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10339 * descr-text.el (describe-char): Mention how to insert the
10340 character, if the current input method doesn't support it.
10341 See the discussion in this thread for the details:
10342 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10344 2012-06-08 Sam Steingold <sds@gnu.org>
10346 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10347 XF86Back to previous-buffer.
10348 (minibuffer-local-map): Bind them to next-history-element and
10349 previous-history-element respectively.
10350 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10351 help-go-back respectively.
10352 * info.el (Info-mode-map): Bind them to Info-history-forward and
10353 Info-history-back respectively.
10354 These are the keys next to Up on the ThinkPad keyboard.
10356 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10358 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10359 * emacs-lisp/cl-macs.el: Provide itself.
10360 (cl--labels-convert-cache): New var.
10361 (cl--labels-convert): New function.
10362 (cl-flet, cl-labels): New implementation with new semantics, relying on
10364 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10365 (cl-closure-vars, cl--function-convert-cache)
10366 (cl--function-convert): Move from cl-macs.el.
10367 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10368 rename by removing the "cl-" prefix.
10369 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10371 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10373 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10374 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10375 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10376 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10377 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10378 (cl-hash-table-count): Add old compatibility aliases.
10380 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10381 Use macroexpand-all-environment instead.
10382 (cl--old-macroexpand): New var.
10383 (cl--sm-macroexpand): New function.
10384 (cl-symbol-macrolet): Use it during macro expansion.
10385 (cl--function-convert-cache): New var.
10386 (cl--function-convert): New function, extracted from
10387 cl-macroexpand-all.
10388 (cl-lexical-let): Use it.
10390 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10391 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10392 (cl-member): Remove old alias.
10394 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10395 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10396 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10397 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10398 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10399 (cl-macroexpand-cmacs): Remove var.
10400 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10401 Use macroexpand-all instead.
10403 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10405 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10406 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10407 (macroexp-copyable-p): New functions and macros.
10408 * emacs-lisp/edebug.el (edebug-unwrap):
10409 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10410 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10411 (pcase--let*): Remove.
10412 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10413 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10414 macroexp-const-p instead.
10415 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10417 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10418 instead of "cl-" for internal definitions. Use macroexp-const-p.
10419 (cl-old-bc-file-form): Remove var.
10420 (cl-const-exprs-p): Remove fun.
10421 (cl-labels, cl-macrolet): Use backquote.
10422 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10423 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10424 (cl-define-setf-expander): Rename from cl-define-setf-method.
10425 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10427 * international/mule-cmds.el: Don't require CL.
10428 (view-hello-file): Don't use `letf'.
10430 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * tmm.el (tmm-prompt): Use string-prefix-p.
10433 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10434 (tmm-add-prompt): Use minibuffer-completion-help.
10435 (tmm-delete-map): Remove.
10437 * subr.el (kbd): Make it its own function.
10439 2012-06-07 Stefan Merten <smerten@oekonux.de>
10441 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10442 Silence compiler warnings. Fix versions.
10443 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10444 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10445 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10446 (rst-package-emacs-version-alist): Correct Emacs version to
10447 represent major merge with upstream.
10448 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10450 2012-06-06 Glenn Morris <rgm@gnu.org>
10452 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10453 Only print environment variables if set.
10455 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10458 (macroexp--cons): Rename from maybe-cons.
10459 (macroexp--accumulate): Rename from macroexp-accumulate.
10460 (macroexp--all-forms): Rename from macroexpand-all-forms.
10461 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10462 (macroexp--expand-all): Rename from macroexpand-all-1.
10464 2012-06-06 Sam Steingold <sds@gnu.org>
10466 * calendar/calendar.el (calendar-in-read-only-buffer):
10467 Call `special-mode' to enable the standard read-only keybindings.
10469 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10471 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10472 with "loading" messages (bug#11635).
10474 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10476 * files.el (enable-remote-dir-locals): New option.
10477 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10479 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10480 Ensure, that the temp directory is local.
10482 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10483 `temporary-file-directory'.
10485 * progmodes/python.el (python-send-region): Ensure, that the
10486 temporary file is created also in the remote case.
10488 2012-06-06 Glenn Morris <rgm@gnu.org>
10490 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10491 (vc-rcs-update-changelog): Use it.
10493 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10495 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10496 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10497 (vc-sccs-diff): Replace use of the external vcdiff script.
10499 2012-06-05 Glenn Morris <rgm@gnu.org>
10501 * ledit.el: Move to obsolete/.
10503 2012-06-05 Sam Steingold <sds@gnu.org>
10505 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10508 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * emacs-lisp/cust-print.el: Move to obsolete.
10512 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10513 compiler-macro expansion.
10515 Add native compiler-macro support.
10516 * emacs-lisp/macroexp.el (macroexpand-all-1):
10517 Support compiler-macros directly. Properly follow aliases and apply
10518 the compiler macros more thoroughly.
10519 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10520 macroexpand now properly follows aliases.
10521 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10522 (cl-compiler-macroexpand): Use new prop.
10523 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10525 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10527 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10529 * window.el (get-lru-window, get-mru-window, get-largest-window):
10530 New argument NOT-SELECTED to avoid picking the selected window.
10531 (window--display-buffer-1, window--display-buffer-2): Replace by
10532 new function window--display-buffer
10533 (display-buffer-same-window, display-buffer-reuse-window)
10534 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10535 Use window--display-buffer.
10536 (display-buffer-use-some-window): Remove temporary dedication
10537 hack by calling get-lru-window and get-largest-window with
10538 NOT-SELECTED argument non-nil. Call window--display-buffer.
10540 2012-06-05 Glenn Morris <rgm@gnu.org>
10542 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10543 Replace external vcdiff script.
10545 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10549 2012-06-04 Chong Yidong <cyd@gnu.org>
10551 * image.el (imagemagick-types-inhibit): Revert last change.
10553 (imagemagick-enabled-types): Remove CIN and EPS*.
10555 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10557 * emacs-lisp/cl-lib.el: Rename from cl.el.
10558 * emacs-lisp/cl.el: New compatibility file.
10559 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10560 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10561 to obey the "cl-" prefix.
10562 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10564 2012-06-03 Glenn Morris <rgm@gnu.org>
10566 * emacs-lisp/authors.el (authors-aliases): Addition.
10568 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10571 2012-06-03 Stefan Merten <smerten@oekonux.de>
10573 * textmodes/rst.el: Add comments.
10574 (rst-transition, rst-adornment): New faces.
10575 (rst-adornment-faces-alist): Make default safe to reevaluate.
10577 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10578 Improve customization tags.
10579 (rst-define-level-faces): Clarify meaning.
10581 2012-06-03 Chong Yidong <cyd@gnu.org>
10583 * progmodes/compile.el (compilation-mode-line-fail)
10584 (compilation-mode-line-run, compilation-mode-line-exit):
10586 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10588 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10590 * progmodes/which-func.el (which-func-update-ediff-windows):
10591 New function. Use it in ediff-select-hook (Bug#11478).
10593 2012-06-03 Chong Yidong <cyd@gnu.org>
10595 * bindings.el: Remove explicit help text from format-mode-line.
10596 It is now supplied by mode-line-default-help-echo.
10597 (mode-line-front-space, mode-line-end-spaces)
10598 (mode-line-misc-info): New variables.
10599 (mode-line-modes, mode-line-position): Move the default value to
10600 the variable definition.
10601 (mode-line-default-help-echo): New defcustom.
10602 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10603 (mode-line-modified-help-echo): New functions.
10604 (mode-line-mule-info, mode-line-modified): Use them.
10605 (mode-line-eol-desc, propertized-buffer-identification):
10606 Consistency fixes for help text.
10607 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10608 set-buffer-file-coding-system (Bug#289).
10609 (mode-line-mule-info-help-echo): Update help text.
10611 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10613 * simple.el (execute-extended-command): Set real-this-command
10616 2012-06-02 Chong Yidong <cyd@gnu.org>
10618 Remove incorrect uses of "modeline" in comments, docstrings, and
10619 function/variable names (Bug#10329).
10621 * cus-edit.el (mode-line):
10622 * dframe.el (dframe-mouse-hscroll):
10623 * emacs-lisp/re-builder.el:
10624 * emacs-lisp/easy-mmode.el (define-minor-mode):
10625 * frame.el (set-frame-name):
10626 * help.el (lookup-minor-mode-from-indicator):
10627 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10628 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10629 (c-toggle-hungry-state):
10630 * progmodes/antlr-mode.el (antlr-language-alist):
10631 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10632 * progmodes/vhdl-mode.el (vhdl-mode):
10633 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10634 * term/ns-win.el (ns-face-at-pos):
10635 * term/sup-mouse.el (sup-mouse-report):
10636 * textmodes/flyspell.el (flyspell-mode-line-string):
10637 * textmodes/ispell.el (ispell-highlight-face):
10638 * textmodes/reftex-global.el:
10639 * vc/vc-arch.el (vc-arch-mode-line-string):
10640 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10641 * vc/vc-git.el (vc-git-mode-line-string):
10642 * vc/vc-hooks.el (vc-display-status)
10643 (vc-default-mode-line-string):
10644 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10646 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10648 * dired.el (dired-sort-set-mode-line): Rename from
10649 dired-sort-set-modeline. All callers changed.
10651 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10652 eshell-status-in-modeline.
10654 * foldout.el (foldout-mode-line-string): Rename from
10655 foldout-modeline-string. All callers changed.
10656 (foldout-update-mode-line): Rename from foldout-update-modeline.
10658 * subr.el (redraw-modeline): Make into obsolete alias.
10660 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10661 timeclock-modeline-display. Make old name an alias.
10662 (timeclock-update-mode-line): Likewise. All callers changed.
10663 (timeclock-mode-line-display): No need to check before using
10665 (timeclock-relative, timeclock-day-over-hook)
10666 (timeclock-use-elapsed, timeclock-mode-string)
10667 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10669 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10670 crisp-mode-modeline-string.
10672 * play/solitaire.el (solitaire-build-mode-line): Rename from
10673 solitaire-build-modeline. All callers changed.
10675 * play/zone.el (zone-hiding-mode-line): Rename from
10676 zone-hiding-modeline. All callers changed.
10677 (zone): Remove unusued `modeline-hidden-level' property.
10679 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10680 xscheme-modeline-initialize. All callers changed.
10682 * strokes.el (strokes-lighter): Rename from
10683 strokes-modeline-string.
10685 * textmodes/sgml-mode.el (html-face-tag-alist)
10686 (html-tag-face-alist): Use mode-line face instead of obsolete
10689 2012-06-02 Stefan Merten <smerten@oekonux.de>
10691 * textmodes/rst.el: Always require `cl'.
10692 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10694 2012-06-02 Chong Yidong <cyd@gnu.org>
10696 * image.el (imagemagick-enabled-types): Rename from
10697 imagemagick-types-enable. Add many more types.
10698 (imagemagick-types-inhibit): Change default to nil.
10699 (imagemagick-filter-types): Caller changed.
10701 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10703 * emacs-lisp/cl-macs.el: Use backquotes.
10704 (cl-transform-function-property): Use eval-and-compile rather than
10706 (defstruct): Use declare-function instead of with-no-warnings.
10708 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10709 (byte-compile-output-docform): Re-add the print-circle bindings.
10710 (byte-compile-fix-header): Use #$ just because it's shorter.
10711 (byte-compile-output-file-form): Remove defun/defmacro.
10713 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10715 * simple.el (choose-completion): Remove now obsolete binding for
10718 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10720 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10721 in order to avoid "Stack overflow in regexp matcher".
10723 2012-05-31 Glenn Morris <rgm@gnu.org>
10725 * image.el: For clarity, call imagemagick-register-types at
10726 top-level, rather than relying on a custom :initialize.
10727 (imagemagick-types-enable): New option. (Bug#11557)
10728 (imagemagick-filter-types): New function. (Bug#7406)
10729 (imagemagick-register-types): Use imagemagick-filter-types.
10730 If disabling support, remove elements altogether rather
10731 than using an impossible regexp.
10732 (imagemagick-types-inhibit): Give it the default init function.
10734 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10736 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10737 Handle arbitrary file name lengths (Bug#11585).
10739 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10741 * desktop.el (desktop-read): Clear previous and next buffers for
10742 all windows and bury *Messages* buffer (bug#11556).
10744 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10746 Add `declare' for `defun'. Align `defmacro's with it.
10747 * emacs-lisp/easy-mmode.el (define-minor-mode)
10748 (define-globalized-minor-mode): Don't autoload the var definitions.
10749 * emacs-lisp/byte-run.el: Use lexical-binding.
10750 (defun-declarations-alist, macro-declarations-alist): New vars.
10751 (defmacro, defun): Use them.
10752 (make-obsolete, define-obsolete-function-alias)
10753 (make-obsolete-variable, define-obsolete-variable-alias):
10755 (macro-declaration-function): Mark obsolete.
10756 * emacs-lisp/autoload.el: Use lexical-binding.
10757 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10759 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10761 * textmodes/ispell.el (ispell-with-no-warnings):
10763 (ispell-kill-ispell, ispell-change-dictionary):
10764 Use `called-interactively-p' for Emacs instead of obsolete
10767 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10770 (macro-declaration-function): Move var from C code.
10771 (macro-declaration-function): Define function with defalias.
10772 * emacs-lisp/macroexp.el (macroexpand-all-1):
10773 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10774 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10775 defun/defmacro any more.
10776 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10777 Provide fallback for unknown arglist.
10778 (byte-compile-arglist-warn): Change calling convention.
10779 (byte-compile-output-file-form): Move print-vars binding.
10780 (byte-compile-output-docform): Simplify accordingly.
10781 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10782 (byte-compile-defmacro-declaration): Remove.
10783 (byte-compile-file-form-defmumble): Generalize to defalias.
10784 (byte-compile-output-as-comment): Return byte-positions.
10785 Simplify callers accordingly.
10786 (byte-compile-lambda): Use `assert'.
10787 (byte-compile-defun, byte-compile-defmacro): Remove.
10788 (byte-compile-file-form-defalias):
10789 Use byte-compile-file-form-defmumble.
10790 (byte-compile-defalias-warn): Remove.
10792 2012-05-29 Stefan Merten <smerten@oekonux.de>
10794 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10795 possible. Fix authors. Improve comments. Improve loading of `cl'.
10797 (rst-mode-abbrev-table): Merge definition.
10798 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10799 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10801 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10803 * calendar/icalendar.el
10804 (icalendar-export-region): Export UID properly.
10806 2012-05-29 Leo Liu <sdl.web@gmail.com>
10807 * calendar/icalendar.el (icalendar-import-format):
10808 Add `icalendar-import-format-uid' (Bug#11525).
10809 (icalendar-import-format-uid): New.
10810 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10813 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10816 different alternative patterns.
10817 (pcase-codegen): Be more careful to preserve identity.
10818 (pcase--u1): Don't forget to mark vars as used.
10820 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10821 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10822 (byte-compile-from-buffer): ...rather than here.
10824 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10825 functions from byte-compile-function-environment.
10827 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10829 * window.el (window-deletable-p): Avoid deleting the root window
10830 of a frame with an active minibuffer.
10832 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10834 * simple.el (choose-completion): Use quit-window (Bug#11567).
10836 2012-05-29 Chong Yidong <cyd@gnu.org>
10838 * whitespace.el (whitespace-cleanup): Fix usage of
10839 whitespace-empty-at-bob-regexp (Bug#11492).
10841 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10843 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10844 revert (Bug#11488).
10846 2012-05-29 Juri Linkov <juri@jurta.org>
10848 * isearch.el (isearch-mode-map): Bind `M-s _' to
10849 `isearch-toggle-symbol'. Bind `M-s c' to
10850 `isearch-toggle-case-fold'.
10851 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10852 (isearch-forward): Add `M-s _' to the docstring.
10853 (isearch-forward-symbol, isearch-toggle-case-fold)
10854 (isearch-symbol-regexp): New functions. (Bug#11381)
10856 2012-05-29 Juri Linkov <juri@jurta.org>
10858 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10859 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10860 a function, call it to get the regexp.
10861 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10862 property `isearch-message-prefix' instead of the string "word ".
10863 (isearch-search-fun-default): For the case of `isearch-word',
10864 return a lambda that calls re-search-forward/re-search-backward
10865 with a regexp returned by `word-search-regexp' or by the function
10868 2012-05-29 Juri Linkov <juri@jurta.org>
10870 * isearch.el (isearch-search-fun-default): New function.
10871 (isearch-search-fun): Move default part to the new function
10872 `isearch-search-fun-default'.
10873 (isearch-search-fun-function): Set the default value to
10874 `isearch-search-fun-default'. (Bug#11381)
10876 * comint.el (comint-history-isearch-end):
10877 Use `isearch-search-fun-default'.
10878 (comint-history-isearch-search): Use `isearch-search-fun-default'
10879 and remove spacial case for `isearch-word'.
10880 (comint-history-isearch-wrap): Remove spacial case for
10883 * hexl.el (hexl-isearch-search-function):
10884 Use `isearch-search-fun-default'.
10886 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10887 Use `word-search-regexp' for `isearch-word'.
10889 * misearch.el (multi-isearch-search-fun):
10890 Use `isearch-search-fun-default'.
10892 * simple.el (minibuffer-history-isearch-search):
10893 Use `isearch-search-fun-default' and remove spacial case for
10895 (minibuffer-history-isearch-wrap): Remove spacial case for
10898 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10899 Remove spacial case for `isearch-word'.
10900 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10902 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10904 Decrease XEmacs incompatibilities.
10905 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10906 Use `string-match'.
10907 (flyspell-delete-region-overlays): Use alternative definition for
10909 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10910 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10911 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10912 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10913 `define-obsolete-face-alias' under XEmacs, but old method.
10915 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10916 `with-no-warnings' definition or Emacs alias.
10917 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10918 (ispell-word): Do not use `region-p' if XEmacs.
10920 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10922 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10923 Check for `ispell-dictionary-base-alist' instead of full
10924 `ispell-dictionary-alist'.
10925 (ispell-init-process): Show spellchecker when starting new Ispell
10928 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10930 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10931 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10933 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10935 * version.el (motif-version-string, gtk-version-string)
10936 (ns-version-string): Declare.
10938 2012-05-27 Juri Linkov <juri@jurta.org>
10940 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10941 after the `eval-defun-1' specialcaseing
10942 like in `edebug-eval-defun' (bug#10181).
10944 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10945 like in `eval-defun-1'.
10947 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10949 * mail/sendmail.el (mail-yank-region):
10950 Recognize rmail-yank-current-message in addition to insert-buffer.
10951 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10952 a *mail* buffer created through rmail-start-mail with sendmail as
10955 2012-05-27 Chong Yidong <cyd@gnu.org>
10957 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10958 Default to 256 (Bug#11267).
10960 * help.el (describe-mode): Doc fix.
10962 2012-05-26 Glenn Morris <rgm@gnu.org>
10964 * w32-fns.el (w32-init-info): Remove.
10965 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10967 * info.el (info-initialize): For self-contained NS builds, put the
10968 included info/ directory at the front. (Bug#2791)
10970 * paths.el (Info-default-directory-list): Make it a defcustom,
10971 mainly so that we can use custom-initialize-delay.
10973 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * subr.el (buffer-has-markers-at): Mark obsolete.
10977 * subr.el (lambda): Use declare.
10979 * emacs-lisp/lisp-mode.el (lambda):
10980 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10982 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10984 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10986 2012-05-26 Glenn Morris <rgm@gnu.org>
10988 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10990 2012-05-25 Glenn Morris <rgm@gnu.org>
10992 * paths.el: Remove no-byte-compile.
10993 * loadup.el: No need to load paths.el uncompiled.
10995 * image.el (imagemagick-types-inhibit): Doc fix.
10997 * version.el: Remove no-byte-compile and associated formatting.
10998 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10999 is ancient code from when there was an "inc-vers.el".
11001 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * progmodes/gdb-mi.el: Minor style changes.
11004 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11005 Turn into minor modes.
11006 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11007 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11008 (gdb-shell): Remove unneeded let-binding.
11009 (gdb-get-many-fields): Eliminate O(n²) behavior.
11011 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11013 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11014 platforms that don't link in fontset.c.
11016 2012-05-25 Juri Linkov <juri@jurta.org>
11018 Use the same diff color scheme as in modern VCSes (bug#10181).
11020 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11021 to avoid confusion with `diff-added' that now uses green colors.
11022 (diff-removed): Use shades of red.
11023 (diff-added): Use shades of green.
11024 (diff-changed): Leave just the yellow color.
11025 (diff-use-changed-face): New variable.
11026 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11027 how to highlight context diff changes.
11028 (diff-refine-change): Use shades of yellow.
11029 (diff-refine-removed): New face that uses shades of red.
11030 (diff-refine-added): New face that uses shades of green.
11031 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11032 `diff-refine-removed' in the call to `smerge-refine-subst'
11033 depending on the value of `diff-use-changed-face'.
11035 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11036 (smerge-other): Use shades of green.
11037 (smerge-base): Use shades of yellow.
11038 (smerge-refined-change): Empty face.
11039 (smerge-refined-removed): New face that uses shades of red.
11040 (smerge-refined-added): New face that uses shades of green.
11041 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11042 args `props-r' and `props-a', and use them. Doc fix.
11043 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11044 on its value use different faces `smerge-refined-change',
11045 `smerge-refined-removed', `smerge-refined-added' in the call to
11046 `smerge-refine-subst'.
11048 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11049 Add face condition `min-colors 88' with shades of red.
11050 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11051 `min-colors 88' with shades of green.
11052 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11053 `min-colors 88' with shades of yellow.
11055 2012-05-24 Glenn Morris <rgm@gnu.org>
11057 * paths.el (prune-directory-list, remote-shell-program): Move to...
11058 * files.el (prune-directory-list, remote-shell-program): ...here.
11059 For the latter, delay initialization, prefer ssh, just search PATH.
11061 * paths.el (term-file-prefix): Move to faces.el (the only user).
11062 * faces.el (term-file-prefix): Move here, make it a defcustom.
11064 * paths.el (news-directory, news-path, news-inews-program):
11065 Move to gnus/nnspool.el.
11067 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11069 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11070 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11071 Make the latter a defcustom, with a delayed initialization.
11073 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11074 These were deleted from Gnus itself late 2010.
11076 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11078 * progmodes/which-func.el (which-func-ff-hook):
11079 Check against user-error, not error.
11081 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11082 cl-specs.el, which no longer exists.
11084 2012-05-22 Glenn Morris <rgm@gnu.org>
11086 * info.el (info-emacs-bug): New command.
11087 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11088 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11090 2012-05-21 Glenn Morris <rgm@gnu.org>
11092 * makefile.w32-in (update-subdirs-SH):
11093 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11095 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11100 Simplify Maven regexp, and make sure the file can't start with a space
11103 2012-05-21 Glenn Morris <rgm@gnu.org>
11105 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11106 Scrap superfluous subshells.
11108 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11111 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11113 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11115 * calc/calc.el (calc-ensure-consistent-units): New variable.
11117 * calc/calc-units.el (math-consistent-units-p)
11118 (math-check-unit-consistency): New functions.
11119 (calc-quick-units, calc-convert-units):
11120 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11122 (calc-extract-units): Fix typo.
11124 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11126 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11128 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11129 (flyspell-default-deplacement-commands): Don't spell check after
11130 repeated window/frame switches (e.g. triggered by mouse-movement).
11131 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11132 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11133 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11134 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11135 Remove unused vars.
11136 (flyspell-get-casechars, flyspell-get-not-casechars):
11137 Simplify; Don't bother removing a ] just to add it back.
11138 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11140 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11142 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11144 (math-function-table): Add support for more C functions.
11146 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11148 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11149 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11150 Protect delay handling for otherchars against empty otherchars.
11152 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11154 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11155 their respective macro declarations.
11156 * skeleton.el (define-skeleton):
11157 * progmodes/compile.el (define-compilation-mode):
11158 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11159 (define-ibuffer-filter):
11160 * emacs-lisp/generic.el (define-generic-mode):
11161 * emacs-lisp/easy-mmode.el (define-minor-mode)
11162 (define-globalized-minor-mode):
11163 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11164 * emacs-lisp/byte-run.el (defsubst):
11165 * custom.el (deftheme): Add doc-string metadata.
11167 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11169 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11171 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11175 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11176 * emacs-lisp/cl-macs.el: Idem.
11177 * emacs-lisp/cl-specs.el: Remove.
11179 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11181 Minor renaming of internal CL functions and variables.
11182 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11183 (cl--position): Rename from cl-position.
11184 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11185 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11186 (cl--random-state): Rename from *random-state*.
11188 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11190 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11191 parens around the arg list (bug#11499).
11193 2012-05-17 Juri Linkov <juri@jurta.org>
11195 * isearch.el (word-search-regexp, word-search-backward)
11196 (word-search-forward, word-search-backward-lax)
11197 (word-search-forward-lax): Move functions from search.c
11198 (bug#10145, bug#11381).
11200 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11202 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11203 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11204 Delay for otherchars as for normal word components.
11206 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11208 * minibuffer.el (completion--sifn-requote): Fix last change.
11209 (minibuffer-local-must-match-filename-map):
11210 Move define-obsolete-variable-alias before its var.
11212 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11214 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11216 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11218 (completion--string-equal-p): New function.
11219 (completion--twq-all): Use it to get better assertion failure data.
11221 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11222 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11223 (shell--requote-argument): New functions.
11224 (shell-completion-vars): Use them.
11225 (shell--parse-pcomplete-arguments): Rename from
11226 shell-parse-pcomplete-arguments.
11227 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11228 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11229 Obey comint-file-name-quote-list.
11231 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11232 (smie-indent-keyword): Use it.
11234 2012-05-14 Stefan Merten <smerten@oekonux.de>
11236 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11238 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11240 * net/rlogin.el (rlogin-mode-map): Fix last change.
11242 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11244 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11245 the following \r\n using a single `process-send-string', since the
11246 Lotus SMTP server refuses to accept any commands if they are sent
11247 with two `process-send-string's (Bug#11444).
11249 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * shell.el (shell-parse-pcomplete-arguments):
11252 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11254 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11256 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11257 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11258 (image-transform-width, image-transform-fit-width): New functions.
11259 (image-transform-properties): Use them.
11260 (image-transform-check-size): New function.
11261 (image-toggle-display-image): Use it (for testing).
11262 (image-transform-set-rotation): Reduce angle mod 360.
11263 Delete obsolete comment.
11265 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11267 * image-mode.el: Fix scaling (bug#11399).
11268 (image-transform-resize): Doc fix.
11269 (image-transform-properties): Default scale is 1 and height should
11272 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11274 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11275 than hard-coding `car', to fix misbehavior when moving forward.
11277 2012-05-13 Chong Yidong <cyd@gnu.org>
11279 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11280 (tabulated-list-entries, tabulated-list-padding)
11281 (tabulated-list-sort-key): Make permanent-local.
11283 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11284 (electric-buffer-list): Put electric buffer menu
11285 command descriptions in this docstring, instead of the docstring
11286 of electric-buffer-menu-mode. Code cleanups.
11287 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11288 Electric-buffer-menu-mode.
11289 (electric-buffer-update-highlight): Minor code cleanup.
11291 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11293 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11296 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11298 Move define-obsolete-variable-alias before the var's definition.
11299 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11300 * tooltip.el (tooltip-hook):
11301 * textmodes/reftex-toc.el (reftex-toc-map):
11302 * textmodes/reftex-sel.el (reftex-select-label-map)
11303 (reftex-select-bib-map):
11304 * textmodes/reftex-index.el (reftex-index-map)
11305 (reftex-index-phrases-map):
11306 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11307 * progmodes/meta-mode.el (meta-mode-map):
11308 * novice.el (disabled-command-hook):
11309 * loadhist.el (unload-hook-features-list):
11310 * frame.el (blink-cursor):
11311 * files.el (find-file-not-found-hooks, write-file-hooks)
11312 (write-contents-hooks):
11313 * emulation/tpu-edt.el (GOLD-map):
11314 * emacs-lock.el (emacs-lock-from-exiting):
11315 * emacs-lisp/generic.el (generic-font-lock-defaults):
11316 * emacs-lisp/chart.el (chart-map):
11317 * dos-fns.el (register-name-alist):
11318 * dired-x.el (dired-omit-files-p):
11319 * desktop.el (desktop-enable):
11320 * cus-edit.el (custom-mode-hook):
11321 * buff-menu.el (buffer-menu-mode-hook):
11322 * bookmark.el (bookmark-read-annotation-text-func)
11323 (bookmark-exit-hooks):
11324 * allout.el (allout-mode-deactivate-hook)
11325 (allout-exposure-change-hook, allout-structure-added-hook)
11326 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11327 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11328 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11329 comes before the corresponding variable's definition.
11331 2012-05-12 Chong Yidong <cyd@gnu.org>
11333 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11334 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11335 (Buffer-menu-mode-map): Bind it.
11336 (Buffer-menu--pretty-name): Add a mouse-face property.
11338 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11341 (prolog-upper-case-string, prolog-lower-case-string)
11342 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11343 (prolog-use-smie, prolog-smie-grammar): New vars.
11344 (prolog-smie-forward-token, prolog-smie-backward-token)
11345 (prolog-smie-rules): New funs.
11346 (prolog-comment-indent): Remove.
11347 (prolog-mode-variables): Use default comment indentation instead.
11349 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11350 (prolog-mode): Don't call them any more.
11351 (prolog-electric-colon, prolog-electric-dash)
11352 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11354 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11356 * minibuffer.el (completion--twq-all): Again, allow case differences.
11358 * term.el: Move keymap initialization code to be more idiomatic.
11359 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11360 (term-terminal-menu): Move initialization into declaration.
11361 (term-escape-char): Let the user set it in her .emacs.
11363 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11364 Provide SMIE-based indentation (not enabled by default yet).
11365 (sh-mode-map): Don't bind electric keys.
11366 Use electric-pair-mode instead of skeleton-pair.
11367 (sh-assignment-regexp): Fit within 80 columns.
11368 (sh-indent-supported): Specify actual shell name instead of boolean.
11369 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11370 (sh-maybe-here-document): Use it. Make obsolete.
11371 (sh-electric-here-document-mode) New minor mode.
11372 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11373 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11374 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11375 (sh-smie-rc-grammar, sh-use-smie): New vars.
11376 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11377 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11378 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11379 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11380 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11381 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11382 (sh-set-shell): Use smie-setup if requested.
11384 * term.el (term-set-escape-char): Properly set term-escape-char.
11385 See http://stackoverflow.com/questions/10524656.
11387 2012-05-10 Chong Yidong <cyd@gnu.org>
11389 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11390 Use url-generic-parse-url, and handle host names and Windows
11391 filenames properly.
11392 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11393 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11394 URL schemes to work on.
11395 (ffap--toggle-read-only): New function.
11396 (ffap-read-only, ffap-read-only-other-window)
11397 (ffap-read-only-other-frame): Use it.
11398 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11399 necessary for ffap-url-unwrap-remote.
11401 2012-05-10 Dave Abrahams <dave@boostpro.com>
11403 * cus-start.el (create-lockfiles): Add it.
11405 2012-05-09 Chong Yidong <cyd@gnu.org>
11407 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11408 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11410 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11412 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11414 2012-05-09 Chong Yidong <cyd@gnu.org>
11416 * ansi-color.el (ansi-color-process-output): Check for validity of
11417 comint-last-output-start before using it. This avoids a bad
11418 interaction with gdb-mi's input/output buffer.
11420 2012-05-09 Glenn Morris <rgm@gnu.org>
11422 * files.el (dir-locals-read-from-file):
11423 Mention dir-locals in any error message.
11425 2012-05-09 Chong Yidong <cyd@gnu.org>
11427 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11428 package (Bug#11410).
11430 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11431 variables into description.
11433 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11435 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11436 shell-delimiter-argument-list (bug#11348).
11437 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11439 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11441 * textmodes/rst.el: Silence byte-compiler warnings.
11442 (rst-re-alist, rst-reset-section-caches): Move around.
11443 (rst-re): Use `characterp', not `char-valid-p'.
11444 (font-lock-beg, font-lock-end): Declare.
11446 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11447 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11449 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11451 2012-05-08 Glenn Morris <rgm@gnu.org>
11453 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11455 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11457 * vc/log-edit.el: Add GNU coding standards highlighting.
11458 (log-edit-font-lock-gnu-style)
11459 (log-edit-font-lock-gnu-keywords): New vars.
11460 (log-edit-font-lock-keywords): New fun.
11461 (log-edit-mode): Don't fold case in font-lock.
11462 (log-edit-font-lock-keywords): Do not assume case-folding.
11464 * imenu.el: Misc cleanup. Make docstrings out of comments.
11465 Use lexical-binding.
11466 (imenu--index-alist, imenu--last-menubar-index-alist)
11467 (imenu-menubar-modified-tick): Use defvar-local.
11468 (imenu--split-menu): Remove unused var.
11469 (imenu--cleanup-seen): Declare as global.
11470 (imenu--cleanup): Use dolist.
11472 * subr.el (defvar-local): Add debug spec and doc-string position.
11474 2012-05-08 Glenn Morris <rgm@gnu.org>
11476 * language/burmese.el, language/cham.el, language/czech.el:
11477 * language/english.el, language/georgian.el, language/greek.el:
11478 * language/japanese.el, language/khmer.el, language/korean.el:
11479 * language/lao.el, language/misc-lang.el, language/romanian.el:
11480 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11481 * language/thai.el, language/utf-8-lang.el:
11482 Remove no-byte-compile setting.
11484 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11486 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11488 * progmodes/make-mode.el (makefile-browse):
11489 Remove unnecessary interactive. (Bug#11324)
11491 2012-05-07 Glenn Morris <rgm@gnu.org>
11493 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11495 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11497 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * loadup.el: Preload newcomment.el.
11500 * newcomment.el: Move autoload-only code to toplevel.
11502 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11503 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11504 Handle new :right-align column property.
11505 (tabulated-list-print-col): Idem, plus use `display' text-property to
11506 try and preserve alignment for variable pitch fonts.
11508 2012-05-07 Chong Yidong <cyd@gnu.org>
11510 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11511 (tabulated-list-use-header-line): New var.
11512 (tabulated-list-init-header): Use it.
11513 (tabulated-list-print-fake-header): New function.
11514 (tabulated-list-print): Use it.
11515 (tabulated-list-sort-button-map): Add non-header-line commands.
11516 (tabulated-list-init-header): Add column name property to basic
11518 (tabulated-list-col-sort): Handle non-header-line button case.
11519 (tabulated-list--sort-by-column-name): Fix a corner case.
11521 * buff-menu.el (list-buffers--refresh):
11522 Handle Buffer-menu-use-header-line.
11524 2012-05-06 Chong Yidong <cyd@gnu.org>
11526 * buff-menu.el: Convert to Tabulated List mode.
11527 (Buffer-menu-buffer+size-width): Make obsolete.
11528 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11529 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11530 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11531 documentation into docstring of buffer-menu.
11532 (Buffer-menu-toggle-files-only): Add an informative message.
11533 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11534 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11535 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11536 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11537 (Buffer-menu-execute, Buffer-menu-select)
11538 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11539 (Buffer-menu-bury): Use Tabulated List machinery.
11540 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11541 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11543 (list-buffers--refresh): New function.
11544 (list-buffers-noselect): Use it.
11545 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11546 (Buffer-menu--pretty-file-name): New helper functions.
11548 * loadup.el: Preload tabulated-list.
11550 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11551 tabulated-list-sort-column.
11552 (tabulated-list-init-header): Add the initial aligning space even
11553 if tabulated-list-padding is zero.
11555 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11557 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11558 whose cdr is not a cons cell correctly (bug#11038).
11560 2012-05-06 Chong Yidong <cyd@gnu.org>
11562 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11563 Accept additional plist in column descriptors.
11564 (tabulated-list-init-header): Obey it.
11565 (tabulated-list-get-entry): New function.
11566 (tabulated-list-put-tag): Use it. Use string-width instead of
11568 (tabulated-list--column-number): New function.
11569 (tabulated-list-print): Use it.
11570 (tabulated-list-print-col): New function.
11571 Set `tabulated-list-column-name' property on each column's text.
11572 (tabulated-list-print-entry): Use it.
11573 (tabulated-list-delete-entry, tabulated-list-set-col):
11575 (tabulated-list-sort-column): New command (Bug#11337).
11577 * buff-menu.el (list-buffers): Move C-x C-b binding from
11578 buff-menu.el to bindings.el.
11580 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11581 :advertised-binding feature.
11583 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11585 * progmodes/compile.el (compilation-internal-error-properties):
11586 Calculate start position correctly when end-col is set but
11587 end-line is not (Bug#11382).
11589 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11591 * man.el (Man-unindent): Use text-property-default-nonsticky to
11592 prevent untabify from inheriting face properties (Bug#11408).
11594 2012-05-05 Stefan Merten <smerten@oekonux.de>
11596 * textmodes/rst.el: Major merge with upstream development up to
11597 Docutils SVN r7399 / rst.el V1.2.1.
11599 Clarify maintainership and authors.
11601 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11602 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11603 (rst-official-version, rst-official-cvs-rev, rst-version)
11604 (rst-package-emacs-version-alist): New functions and variables
11605 for version information.
11607 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11608 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11609 (rst-mode-syntax-table, rst-mode): New and corrected functions
11610 and variables representing reStructuredText features.
11612 (rst-re): New function for reStructuredText regexes. Use in
11615 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11616 (rst-mode-map): Rebind keys.
11618 (rst-mode-lazy, rst-font-lock-keywords)
11619 (rst-font-lock-extend-region)
11620 (rst-font-lock-extend-region-internal)
11621 (rst-font-lock-extend-region-extend)
11622 (rst-font-lock-find-unindented-line-limit)
11623 (rst-font-lock-find-unindented-line-match)
11624 (rst-adornment-level, rst-font-lock-adornment-level)
11625 (rst-font-lock-adornment-match)
11626 (rst-font-lock-handle-adornment-pre-match-form)
11627 (rst-font-lock-handle-adornment-matcher): Major revision of
11628 font-locking. Integrate with other code. Use `jit-lock-mode'.
11630 (rst-preferred-adornments, rst-adjust-hook)
11631 (rst-new-adornment-down, rst-preferred-bullets)
11632 (rst-preferred-bullets, rst-indent, rst-indent-width)
11633 (rst-indent-field, rst-indent-literal-normal)
11634 (rst-indent-literal-minimized, rst-indent-comment): Change,
11635 extend and improve customization.
11637 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11638 (rst-normalize-cursor-position, rst-get-decoration)
11639 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11640 (rst-rstrip, rst-toc-insert-find-delete-contents)
11641 (rst-shift-fill-region, rst-compute-bullet-tabs)
11642 (rst-debug-print-tabs, rst-debug-mark-found)
11643 (rst-shift-region-guts, rst-shift-region-right)
11644 (rst-shift-region-left, rst-use-char-classes)
11645 (rst-font-lock-keywords-function)
11646 (rst-font-lock-indentation-point)
11647 (rst-font-lock-find-unindented-line-begin)
11648 (rst-font-lock-find-unindented-line-end)
11649 (rst-font-lock-find-unindented-line)
11650 (rst-font-lock-adornment-point, rst-font-lock-level)
11651 (rst-adornment-level-alist): Remove functions and variables.
11653 (rst-compare-adornments, rst-get-adornment-match)
11654 (rst-suggest-new-adornment, rst-get-adornments-around)
11655 (rst-adornment-complete-p, rst-get-next-adornment)
11656 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11657 (rst-straighten-adornments): Standardize function names to
11658 use "adornment" instead of "decoration". Correct callers.
11659 Similar standardizing in many places.
11661 (rst-update-section, rst-adjust, rst-promote-region)
11662 (rst-enumerate-region, rst-bullet-list-region)
11663 (rst-repeat-last-character): Correct use of `interactive'.
11665 (rst-classify-adornment, rst-find-all-adornments)
11666 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11667 (rst-find-leftmost-column, rst-repeat-last-character):
11668 Refactor functions.
11670 (rst-find-title-line, rst-reset-section-caches)
11671 (rst-get-adornments-around, rst-adjust-adornment-work)
11672 (rst-arabic-to-roman, rst-roman-to-arabic)
11673 (rst-insert-list-pos, rst-insert-list-new-item)
11674 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11677 (rst-all-sections, rst-section-hierarchy)
11678 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11681 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11682 configuration instead of only buffer. Change where necessary.
11684 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11685 (rst-shift-region, rst-adaptive-fill): New functions for
11686 indentation and filling.
11688 (rst-comment-line-break, rst-comment-indent)
11689 (rst-comment-insert-comment, rst-comment-region)
11690 (rst-uncomment-region): New functions for handling comments.
11692 (rst-compile): Quote shell arguments.
11694 (rst-compile-pdf-preview, rst-compile-slides-preview):
11695 Delete temporary files after use.
11697 2012-05-05 Glenn Morris <rgm@gnu.org>
11699 * calendar/cal-html.el: Optionally include holidays in the output.
11700 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11701 (cal-html-holidays): New option.
11702 (cal-html-css-default): Add holiday entry.
11703 (holiday-in-range): Autoload it.
11704 (cal-html-htmlify-entry): Add optional class argument.
11705 (cal-html-htmlify-list): Add optional holidays argument.
11706 (cal-html-insert-agenda-days): Include holidays in the output.
11707 (cal-html-one-month): Maybe include holidays.
11709 * calendar/holidays.el (holiday-in-range):
11710 Move here from cal-tex-list-holidays.
11711 * calendar/cal-tex.el (cal-tex-list-holidays):
11712 Make it an obsolete alias for holiday-in-range. Update all callers.
11714 2012-05-05 Chong Yidong <cyd@gnu.org>
11716 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11719 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11721 * files.el (file-auto-mode-skip): New var.
11722 (set-auto-mode-1): Use it.
11724 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * repeat.el: Use lexical-binding.
11727 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11728 (repeat-undo-count): Remove.
11730 * progmodes/octave-mod.el (octave-abbrev-start):
11731 * progmodes/f90.el (f90-abbrev-start):
11732 * face-remap.el (text-scale-adjust):
11733 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11735 * emacs-lisp/pcase.el (pcase--let*): New function.
11736 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11738 (pcase--split-pred): Be more clever about ruling out overlap between
11739 a predicate and some constant pattern.
11740 (pcase--q1): Use `null' instead of (eq foo nil).
11742 * subr.el (setq-local, defvar-local): New macros.
11743 (kbd): Redefine as an alias.
11744 (with-selected-window): Leave unrelated frames alone.
11745 (set-temporary-overlay-map): New function.
11747 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11749 * subr.el (user-error): New function.
11750 * window.el (switch-to-buffer):
11751 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11752 (smerge-match-conflict):
11753 * simple.el (previous-matching-history-element)
11754 (next-matching-history-element, goto-history-element, undo-more)
11756 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11757 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11758 (next-file, tags-loop-scan, list-tags, complete-tag):
11759 * progmodes/compile.el (compilation-loop):
11760 * mouse.el (mouse-minibuffer-check):
11761 * man.el (Man-bgproc-sentinel, Man-goto-page):
11762 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11763 (Info-history-forward, Info-follow-reference, Info-menu)
11764 (Info-extract-menu-item, Info-extract-menu-counting)
11765 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11766 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11767 (Info-next-reference, Info-prev-reference, Info-index)
11768 (Info-index-next, Info-follow-nearest-node)
11769 (Info-copy-current-node-name):
11770 * imenu.el (imenu--make-index-alist)
11771 (imenu-default-create-index-function, imenu-add-to-menubar):
11772 * files.el (basic-save-buffer, recover-file):
11773 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11774 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11775 (checkdoc-message-text, checkdoc-defun):
11776 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11777 * cus-edit.el (customize-changed-options, customize-rogue)
11778 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11779 (custom-variable-mark-to-reset-standard)
11780 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11782 * completion.el (check-completion-length):
11783 * comint.el (comint-search-arg)
11784 (comint-previous-matching-input-string-position)
11785 (comint-previous-matching-input)
11786 (comint-replace-by-expanded-history-before-point, comint-send-input)
11787 (comint-copy-old-input, comint-backward-matching-input)
11788 (comint-goto-process-mark, comint-set-process-mark):
11789 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11790 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11792 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * dabbrev.el (dabbrev--ignore-case-p): New function.
11795 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11798 * files.el (automount-dir-prefix): Mark as obsolete.
11800 2012-05-04 Glenn Morris <rgm@gnu.org>
11802 * patcomp.el, play/bruce.el: Move to obsolete/.
11804 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11806 Fix minor Y10k bugs.
11807 * arc-mode.el (archive-unixdate):
11808 * autoinsert.el (auto-insert-alist):
11809 * calc/calc-forms.el (math-this-year):
11810 * emacs-lisp/copyright.el (copyright-current-year)
11811 (copyright-update-year, copyright):
11812 * tar-mode.el (tar-clip-time-string):
11813 * time.el (display-time-update):
11814 Don't assume years have 4 digits.
11816 2012-05-04 Chong Yidong <cyd@gnu.org>
11818 * dos-w32.el (file-name-buffer-file-type-alist)
11819 (direct-print-region-use-command-dot-com):
11820 * ffap.el (ffap-menu-regexp):
11821 * find-file.el (ff-special-constructs):
11822 * follow.el (follow-debug):
11823 * forms.el (forms--debug):
11824 * iswitchb.el (iswitchb-all-frames):
11825 * ido.el (ido-all-frames):
11826 * emacs-lisp/timer.el (timer-max-repeats):
11827 * mail/feedmail.el (feedmail-mail-send-hook)
11828 (feedmail-mail-send-hook-queued):
11829 * mail/footnote.el (footnote-signature-separator):
11830 * mail/mailabbrev.el (mail-alias-separator-string)
11831 (mail-abbrev-mode-regexp):
11832 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11833 * progmodes/idlwave.el (idlwave-libinfo-file)
11834 (idlwave-default-completion-case-is-down)
11835 (idlwave-library-routines): Convert defvars to defcustoms.
11837 * mail/rmail.el (rmail-decode-mime-charset):
11838 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11839 (idlwave-shell-fix-inserted-breaks)
11840 (idlwave-shell-activate-alt-keybindings)
11841 (idlwave-shell-use-breakpoint-glyph):
11842 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11844 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11848 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11850 * progmodes/verilog-mode.el (font-lock-keywords):
11851 Fix mis-highligting auto. Reported by Craig Barner.
11852 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11853 defines from global name space. Reported by Dan Dever.
11854 (verilog-auto-reset, verilog-auto-reset-widths)
11855 (verilog-auto-tieoff): Support using unbased numbers for
11856 AUTORESET and AUTOTIEOFF.
11857 (verilog-submit-bug-report): Update variable list.
11858 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11859 parenthesis from not matching. Reported by Michael Rytting.
11860 (verilog-auto-template-lint): Fix hash error when linting modules
11861 with no used templates.
11862 (verilog-warn, verilog-warn-error)
11863 (verilog-warn-fatal): When non-interactive report multiple
11864 warnings before exiting. Suggested by Brad Dobbie.
11865 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11866 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11867 to report unused template errors. Reported by Brad Dobbie.
11868 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11869 nets, bug438. Reported by Vns Blore.
11870 (verilog-auto-inout-module, verilog-auto-reg)
11871 (verilog-read-decls, verilog-read-sub-decls-sig)
11872 (verilog-signals-edit-wire-reg, verilog-signals-with):
11873 Fix passing of Verilog data types in ANSI input/output ports
11874 such as "output logic" into the AUTOs. Special case "wire" and
11875 "reg" for backwards compatibility presuming Verilog 2001.
11876 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11877 (verilog-preprocess): Fix replication of preprocess output.
11878 Reported by Brad Dobbie.
11879 (verilog-auto-inst-interfaced-ports):
11880 Create verilog-auto-inst-interfaced-ports, bug429.
11881 Reported by Julian Gorfajn.
11882 (verilog-after-save-font-hook)
11883 (verilog-before-save-font-hook): New variable.
11884 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11885 (verilog-save-font-mods): Wrap disabling fontification, reported
11887 (verilog-do-indent, verilog-pretty-declarations-auto)
11888 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11889 Reported by Pierre-David Pfister.
11890 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11891 of class declarations, bug292. Reported by Kevin Heilman.
11892 (verilog-read-decls): Fix 'parameter type' not appearing in
11893 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11894 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11895 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11896 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11897 Reported by David Kravitz.
11899 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11901 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11902 assignment with tests in ifs and for loops.
11903 (verilog-extended-complete-re, verilog-complete-reg): Change so
11904 that DPI inport functions don't look like fuction declarations.
11905 (verilog-pretty-expr): Don't line up assignment
11906 operations to the test and increment in if and for loops
11907 (verilog-extended-complete-re, verilog-complete-reg): Change so
11908 that DPI inport functions don't look like fuction declarations.
11910 2012-05-03 Kenichi Handa <handa@m17n.org>
11912 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11913 decoding, and show a warning message without signaling an error
11916 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11918 * emacs-lisp/bytecomp.el
11919 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11920 since cconv.el might have introduced :fun-body, internal-make-closure,
11921 and friends for bytecomp to handle (bug#11391).
11922 * custom.el (defcustom): Avoid ((λ ..) ..).
11924 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11926 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11928 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11930 * notifications.el (dbus-debug):
11931 * term/linux.el (gpm-mouse-enable):
11932 * term/screen.el (xterm-register-default-colors): Declare.
11934 2012-05-02 Chong Yidong <cyd@gnu.org>
11936 * cus-start.el (gc-cons-percentage, exec-suffixes)
11937 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11938 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11939 (make-cursor-line-fully-visible, void-text-area-pointer)
11940 (font-list-limit): Add customization data.
11942 * allout.el (allout-exposure-change-functions)
11943 (allout-structure-added-functions)
11944 (allout-structure-deleted-functions)
11945 (allout-structure-shifted-functions): Rename abnormal hooks from
11946 *-hook, and convert to defcustoms.
11947 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11948 Convert to defcustoms.
11949 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11951 * allout-widgets.el: Hook callers changed.
11953 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11955 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11956 the yanked message in preference to the default value of
11957 buffer-file-coding-system.
11959 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11961 * window.el (display-buffer--action-function-custom-type):
11964 2012-05-02 Alan Mackenzie <acm@muc.de>
11966 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11968 2012-05-01 Glenn Morris <rgm@gnu.org>
11970 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11972 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11974 * cus-edit.el (custom-variable-documentation): Simplify with format.
11976 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11977 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * simple.el (suggest-key-bindings, execute-extended-command):
11980 Move from keyboard.c.
11982 2012-05-01 Chong Yidong <cyd@gnu.org>
11984 * follow.el: Eliminate advice.
11985 (set-process-filter, process-filter, sit-for): Advice deleted.
11986 (follow-mode-off-hook): Obsolete hook removed.
11987 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11989 (follow-auto): Use a :set function.
11990 (follow-mode): Rewritten. Don't advise process filters.
11991 (follow-switch-to-current-buffer-all, follow-scroll-up)
11992 (follow-scroll-down): Assume follow-mode is bound.
11993 (follow-comint-scroll-to-bottom)
11994 (follow-align-compilation-windows): New functions.
11995 (follow--window-sorter): New function.
11996 (follow-all-followers): Use it to explicitly sort windows by their
11997 positions; don't make assumptions about next-window order.
11998 (follow-windows-start-end, follow-delete-other-windows-and-split)
11999 (follow-calc-win-start): Doc fix.
12000 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12001 vertical-motion unnecessarily.
12002 (follow-adjust-window): New function.
12003 (follow-post-command-hook): Use it.
12004 (follow-call-set-process-filter, follow-call-process-filter)
12005 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12006 (follow-stop-intercept-process-output, follow-generic-filter):
12008 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12009 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12010 New functions, replacing advice on scroll-bar-* commands.
12011 (follow-mwheel-scroll): New function (Bug#4112).
12013 * comint.el (comint-adjust-point): New function.
12014 (comint-postoutput-scroll-to-bottom): Use it.
12015 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12017 2012-05-01 Glenn Morris <rgm@gnu.org>
12019 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12020 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12021 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12022 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12023 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12024 Remove no-byte-compile setting.
12026 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12029 all-completions code to not return a number in the last cdr.
12031 2012-04-30 Leo Liu <sdl.web@gmail.com>
12033 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12036 2012-04-29 Chong Yidong <cyd@gnu.org>
12038 * follow.el (follow-calc-win-end): Rewrite to handle partial
12039 screen lines correctly (Bug#8390).
12040 (follow-avoid-tail-recenter): Minor cleanup.
12042 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12044 Avoid the obsolete `assoc' package.
12045 * speedbar.el (speedbar-refresh): Avoid adelete.
12046 (speedbar-file-lists): Simplify and avoid aput.
12047 * man.el (Man--sections, Man--refpages): New vars, replacing
12048 Man-sections-alist and Man-refpages-alist.
12049 (Man-build-section-alist, Man-build-references-alist):
12050 Use them; avoid aput.
12051 (Man--last-section, Man--last-refpage): New vars.
12052 (Man-follow-manual-reference): Use them.
12053 Use the `default' arg of completing-read.
12054 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12056 2012-04-27 Chong Yidong <cyd@gnu.org>
12058 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12060 * startup.el (x-apply-session-resources): New function.
12062 * term/ns-win.el (ns-initialize-window-system):
12063 * term/w32-win.el (w32-initialize-window-system):
12064 * term/x-win.el (x-initialize-window-system): Use it to properly
12065 set menu-bar-mode and other vars from X resources, even if the
12066 initial frame is not a window-system frame (Bug#2299).
12068 * subr.el (read-key): Avoid running filter function when setting
12069 up temporary tool bar entries (Bug#9922).
12071 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12073 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12076 2012-04-27 Chong Yidong <cyd@gnu.org>
12078 * select.el (xselect--encode-string): New function, split from
12079 xselect-convert-to-string.
12080 (xselect-convert-to-string): Use it.
12081 (xselect-convert-to-filename, xselect-convert-to-os)
12082 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12083 returned strings are properly encoded (Bug#11315).
12085 2012-04-27 Chong Yidong <cyd@gnu.org>
12087 * simple.el (delete-active-region): Move to killing custom group.
12089 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12091 * progmodes/which-func.el (which-func-current): Quote %
12092 characters for mode-line processing.
12094 2012-04-27 Chong Yidong <cyd@gnu.org>
12096 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12097 reaching eob (Bug#11286).
12099 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12101 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12102 (gdb): Make it buffer-local and init to zero.
12103 (gdb-control-commands-regexp): New variable.
12104 (gdb-send): Don't wrap in "-interpreter-exec console" if
12105 gdb-control-level is positive. Increment gdb-control-level
12106 whenever the command matches gdb-control-commands-regexp, and
12107 decrement it each time the command is "end". (Bug#11279)
12109 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12111 * window.el (adjust-window-trailing-edge, enlarge-window)
12112 (shrink-window, window-resize):
12113 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12114 windows (Bug#11276).
12116 2012-04-27 Chong Yidong <cyd@gnu.org>
12118 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12119 fix "missing prefix" warning. All callers changed.
12121 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12123 * emacs-lisp/assoc.el: Move to obsolete/.
12125 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12129 * term/ns-win.el (ns-define-service):
12130 * progmodes/pascal.el (pascal-goto-defun):
12131 * progmodes/js.el (js--read-tab):
12132 * progmodes/etags.el (tags-lazy-completion-table):
12133 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12134 * emacs-lisp/ewoc.el (ewoc--wrap):
12135 * emacs-lisp/assoc.el (aput, adelete, amake):
12136 * doc-view.el (doc-view-convert-current-doc):
12137 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12139 2012-04-26 Chong Yidong <cyd@gnu.org>
12141 * image.el (image-type-from-buffer): Only return supported image
12144 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12145 value, for symmetry with diff-end-of-hunk.
12146 (diff-split-hunk, diff-find-source-location)
12147 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12148 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12149 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12150 compute the relevant hunk or file properly (Bug#6005).
12151 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12153 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12162 * vc/vc.el: Replace lexical-let by lexical-binding.
12163 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12164 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12165 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12167 2012-04-26 Chong Yidong <cyd@gnu.org>
12169 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12170 (diff-mode-shared-map): Bind it to / and [remap undo].
12172 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12173 (ediff-window-setup-function): Use it as the default, to set up
12174 windows based on whether the current frame is graphical (Bug#2138).
12175 (ediff-choose-window-setup-function-automatically): Make obsolete.
12177 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12179 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12181 * ffap.el: Remove old code for obsolete package.
12182 (ffap-complete-as-file-p): Remove.
12184 Use completion-table-with-quoting for comint and pcomplete.
12185 * comint.el (comint--unquote&requote-argument)
12186 (comint--unquote-argument, comint--requote-argument): New functions.
12187 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12188 (comint-quote-filename): Use regexp-opt-charset.
12189 (comint--common-suffix, comint--common-quoted-suffix)
12190 (comint--table-subvert): Remove.
12191 (comint-unquote-function, comint-requote-function): New vars.
12192 (comint--complete-file-name-data): Use them with
12193 completion-table-with-quoting.
12194 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12195 * pcomplete.el (pcomplete-arg-quote-list)
12196 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12197 (pcomplete-unquote-argument-function): Default to non-nil.
12198 (pcomplete-unquote-argument): Simplify.
12199 (pcomplete--common-quoted-suffix): Remove.
12200 (pcomplete-requote-argument-function): New var.
12201 (pcomplete--common-suffix): New function.
12202 (pcomplete-completions-at-point): Use completion-table-with-quoting
12203 and completion-table-subvert.
12205 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12206 (minibuffer--double-dollars): Preserve properties.
12207 (completion--sifn-requote): New function.
12208 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12210 * minibuffer.el: Add support for completion of quoted/escaped data.
12211 (completion-table-with-quoting, completion-table-subvert): New funs.
12212 (completion--twq-try, completion--twq-all): New functions.
12213 (completion--nth-completion): New function.
12214 (completion-try-completion, completion-all-completions): Use it.
12216 2012-04-25 Leo Liu <sdl.web@gmail.com>
12218 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12219 Use compilation-message if available to find real filename.
12221 2012-04-25 Chong Yidong <cyd@gnu.org>
12223 * vc/diff-mode.el (diff-setup-whitespace): New function.
12224 (diff-mode): Use it.
12226 * vc/diff.el (diff-sentinel):
12227 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12228 Whitespace mode variables based on diff style (Bug#8612).
12230 2012-04-25 Leo Liu <sdl.web@gmail.com>
12232 * progmodes/python.el (python-send-region): Add suffix .py to the
12235 * files.el (auto-mode-alist): Use javascript-mode instead.
12237 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12239 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12241 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12242 (soap-resolve-references-for-array-type): Hack to prevent self
12243 references, see Bug#9.
12244 (soap-parse-envelope): Report the contents of the 'detail' node
12245 when receiving a fault reply.
12246 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12248 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12249 (soap-inspect-simple-type): New function.
12251 * net/soap-client.el (soap-simple-type): New struct.
12252 (soap-default-xsd-types, soap-default-soapenc-types)
12253 (soap-decode-basic-type, soap-encode-basic-type):
12254 support unsignedInt and double basic types.
12255 (soap-resolve-references-for-simple-type)
12256 (soap-parse-simple-type, soap-encode-simple-type): New function.
12257 (soap-parse-schema): Parse xsd:simpleType declarations.
12259 * net/soap-client.el (soap-default-xsd-types)
12260 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12261 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12262 the local name of "soapenc:Array".
12263 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12264 decoding integer, byte and anyURI xsd types.
12266 2012-04-25 Chong Yidong <cyd@gnu.org>
12268 * cus-edit.el (custom-buffer-create-internal): Update header text.
12270 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12272 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12273 settings on 'system-type', not on 'window-system'. On MS-Windows,
12274 set interactive-mode on in GDB.
12276 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12279 (ruby-syntax-propertize-regexp): Remove.
12280 (ruby-syntax-propertize-function): Split regexp into chunks.
12281 Match following code directly.
12283 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12285 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12286 (ruby-syntax-propertize-regexp): New function.
12287 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12288 by a special keyword.
12290 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12291 (ruby-syntax-general-delimiters-goto-beg)
12292 (ruby-syntax-propertize-general-delimiters): New functions.
12293 (ruby-syntax-propertize-function): Use them to handle GDL.
12294 (ruby-font-lock-keywords): Move old handling of GDL...
12295 (ruby-font-lock-syntactic-keywords): .. to here.
12296 (ruby-calculate-indent): Adjust indentation for GDL.
12298 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12300 * notifications.el (top): Remove unneeded declarations.
12301 (notifications-specification-version): Change to "1.2".
12302 (notifications-interface, notifications-notify-method)
12303 (notifications-close-notification-method): Fix docstring.
12304 (notifications-get-capabilities-method): New defconst.
12305 (notifications-notify): Add :action-items, :resident and
12306 :transient hints. Change "image_data" to "image-data" and
12307 "image_path" to "image-path".
12308 (notifications-get-capabilities): New defun.
12310 2012-04-24 Leo Liu <sdl.web@gmail.com>
12312 * progmodes/python.el: Move hideshow setup to the end.
12314 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12316 * window.el (handle-select-window): Clear echo area since this is
12317 no more done by read_char (Bug#11304).
12319 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12321 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12322 and `/ M' to filter-derived-mode.
12323 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12324 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12325 (ibuffer-mark-by-mode): Use default rather than initial-input.
12326 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12328 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12330 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12331 (ibuffer-filter-by-derived-mode): New filter.
12332 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12334 2012-04-23 Andreas Politz <politza@fh-trier.de>
12336 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12338 2012-04-23 Chong Yidong <cyd@gnu.org>
12340 * cus-edit.el (customize-apropos, customize-apropos-options):
12341 Disable matching of non-option variables (Bug#11176).
12342 (customize-option, customize-option-other-window)
12343 (customize-changed-options): Doc fix.
12344 (customize-apropos-options, customize-apropos-faces)
12345 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12347 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12348 Fix word list splitting (Bug#11132).
12349 (apropos-symbol, apropos-keybinding, apropos-label)
12350 (apropos-property, apropos-function-button)
12351 (apropos-variable-button, apropos-misc-button): New faces.
12352 (apropos-symbol-face, apropos-keybinding-face)
12353 (apropos-label-face, apropos-property-face, apropos-match-face):
12354 Variables removed (Bug#8396).
12355 (apropos-library-button, apropos-format-plist, apropos-print)
12356 (apropos-print-doc, apropos-describe-plist): Callers changed.
12358 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12360 * net/xesam.el (xesam-mode-map): Use let-bound map in
12361 initialization. (Bug#11292)
12363 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12365 Preserve ispell session localwords when switching back to
12368 * textmodes/ispell.el (ispell-buffer-session-localwords):
12369 New buffer-local variable to hold buffer session localwords.
12370 (ispell-kill-ispell): Add option 'clear to delete session
12372 (ispell-command-loop, ispell-change-dictionary)
12373 (ispell-buffer-local-words): Preserve session localwords when
12376 * textmodes/flyspell.el (flyspell-process-localwords)
12377 (flyspell-do-correct): Preserve session localwords when needed.
12379 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12381 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12382 using obsolete `translation-table-for-input'.
12383 (ispell-word, ispell-process-line, ispell-complete-word):
12384 Use plain `insert' instead of removed `ispell-insert-word'.
12386 2012-04-22 Chong Yidong <cyd@gnu.org>
12388 * cus-edit.el (custom-variable-menu)
12389 (custom-variable-reset-saved, custom-face-menu)
12390 (custom-face-reset-saved): If there is no saved value, make the
12391 "reset-saved" operation bring back the default (Bug#9509).
12392 (custom-face-state): Properly detect themed faces.
12394 * faces.el (face-spec-set): Stop supporting deprecated form of
12397 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12399 Move functions from C to Lisp. Make non-blocking method calls
12400 the default. Implement further D-Bus standard interfaces.
12402 * net/dbus.el (dbus-message-internal): Declare function.
12403 Remove unneeded function declarations.
12404 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12405 (dbus-message-type-method-return, dbus-message-type-error)
12406 (dbus-message-type-signal): Declare variables. Remove local
12408 (dbus-interface-dbus, dbus-interface-peer)
12409 (dbus-interface-introspectable, dbus-interface-properties)
12410 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12412 (dbus-interface-objectmanager): New defconst.
12413 (dbus-call-method, dbus-call-method-asynchronously)
12414 (dbus-send-signal, dbus-method-return-internal)
12415 (dbus-method-error-internal, dbus-register-service)
12416 (dbus-register-signal, dbus-register-method): New defuns, moved
12418 (dbus-call-method-handler, dbus-setenv)
12419 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12421 (dbus-call-method-non-blocking): Make it an obsolete function.
12422 (dbus-unregister-object, dbus-unregister-service)
12423 (dbus-handle-event, dbus-register-property)
12424 (dbus-property-handler): Obey the new structure of
12425 `bus-registered-objects'.
12426 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12427 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12428 Use `dbus-call-method'.
12430 2012-04-22 Chong Yidong <cyd@gnu.org>
12432 * cus-edit.el (custom-commands, custom-reset-menu)
12433 (Custom-reset-standard): Tweak labels.
12434 (custom-reset-button-menu): Change default to t.
12435 (custom-buffer-create-internal): For the custom-reset-button-menu
12436 case, put the revert button first.
12437 (custom-group-subtitle): New face.
12438 (custom-group-value-create): Align docstring to a specific column.
12440 * wid-edit.el (widget-documentation-link-add): Don't handle
12441 indentation in this function.
12442 (widget-documentation-string-indent-to): New function.
12443 (widget-documentation-string-value-create): Use it.
12445 * autorevert.el (auto-revert):
12446 * epg-config.el (epg):
12447 * ibuffer.el (ibuffer):
12450 * eshell/eshell.el (eshell):
12451 * net/ange-ftp.el (ange-ftp):
12452 * progmodes/ebnf2ps.el (postscript):
12453 * progmodes/flymake.el (flymake):
12454 * progmodes/prolog.el (prolog):
12455 * progmodes/verilog-mode.el (verilog-mode):
12456 * progmodes/which-func.el (which-func):
12457 * term/xterm.el (xterm):
12458 * textmodes/picture.el (picture):
12459 * textmodes/tildify.el (tildify):
12460 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12461 customization buffers.
12463 2012-04-22 Alan Mackenzie <acm@muc.de>
12465 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12466 Adding a ) can hide the resulting (..) from searches. Fix it.
12467 Bound the backward search to the position of the existing (.
12469 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12471 * progmodes/verilog-mode.el (verilog-mode): Check whether
12472 which-func-modes is t before adding verilog-mode.
12473 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12475 2012-04-21 Leo Liu <sdl.web@gmail.com>
12477 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12479 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12481 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12482 filling of the last column of a table (Bug#5635).
12483 (woman-find-next-control-line): New arg, specifying an additional
12484 regexp component for the control line.
12485 (woman2-roff-buffer): Use it.
12486 (woman-break-table): New function.
12487 (woman2-TS): Use it.
12489 2012-04-21 Chong Yidong <cyd@gnu.org>
12491 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12492 (woman-horizontal-escapes, woman-negative-vertical-space)
12493 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12494 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12496 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * minibuffer.el (completion-file-name-table): Complete user names.
12500 2012-04-20 Leo Liu <sdl.web@gmail.com>
12502 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12505 2012-04-20 Chong Yidong <cyd@gnu.org>
12507 * server.el (server-execute): Respect initial-buffer-choice if it
12508 is a string and there are no files to open (Bug#2825).
12509 (server-create-window-system-frame, server-create-tty-frame):
12510 Don't switch buffers here.
12511 (server-process-filter): Only try to open a window system frame if
12512 compiled with graphical support (Bug#8314).
12514 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12516 * battery.el (battery-echo-area-format): Display remaining time
12517 for sysfs backend too (Bug#11269).
12518 (battery-linux-sysfs): Fix conditional for the charge.
12520 2012-04-20 Chong Yidong <cyd@gnu.org>
12522 * progmodes/gdb-mi.el (gdb): Revert previous change.
12523 (gdb-inferior-io--init-proc): New function.
12524 (gdb-init-1): Use it.
12525 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12526 responsible for allocating a new pty and hooking it to gdb when
12527 the old pty gets an EIO due to process exit.
12528 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12529 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12530 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12532 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12534 * window.el (window-min-size, window-sizable, window-min-delta)
12535 (window-max-delta, window--resizable, window-resizable)
12536 (window-total-size, window-full-height-p, window-full-width-p)
12537 (window-in-direction, window--resize-mini-window, window-resize)
12538 (window--resize-child-windows-normal)
12539 (window--resize-child-windows, window--resize-siblings)
12540 (window--resize-this-window, adjust-window-trailing-edge)
12541 (enlarge-window, shrink-window): Doc fixes.
12543 2012-04-20 Chong Yidong <cyd@gnu.org>
12545 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12546 New function to call delete-process on the gdb-inferior buffer's pty.
12547 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12548 pty process (Bug#11273).
12549 (gdb-update): New arg to suppress talking to the gdb process.
12550 (gdb-done-or-error): Use it.
12551 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12552 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12553 sentinel not being called.
12555 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12557 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12559 2012-04-20 Glenn Morris <rgm@gnu.org>
12561 * net/network-stream.el (open-network-stream): Doc fix.
12563 2012-04-20 Chong Yidong <cyd@gnu.org>
12565 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12567 2012-04-20 Alan Mackenzie <acm@muc.de>
12569 Ensure searching for keywords is case sensitive.
12571 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12572 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12573 (c-defun-name, c-mark-function, c-cpp-define-name)
12574 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12575 (c-context-line-break): Bind case-fold-search to nil.
12577 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12578 Bind case-fold-search to nil.
12580 2012-04-20 Chong Yidong <cyd@gnu.org>
12582 * mail/sendmail.el (mail-bury): Call return action with the right
12583 Rmail buffer (Bug#11242).
12585 * server.el (server-process-filter): Handle corner case where both
12586 tty and nowait options are present (Bug#11102).
12588 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12590 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12591 (top level): Put into the executable the ident-style '$Id:' tag on
12592 windows-nt as well.
12594 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * electric.el (electric-indent-post-self-insert-function): Check that
12597 electric-indent-mode is enabled in current buffer.
12599 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12601 * imenu.el (imenu-progress-message): Restore; it is "used" in
12602 erc/erc-imenu.el and net/snmp-mode.el.
12604 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12606 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12607 (mouse-avoidance-nudge-mouse): Remove unused binding.
12609 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12611 * descr-text.el (describe-char):
12612 * progmodes/python.el (python-describe-symbol):
12613 Don't call `toggle-read-only', set `buffer-read-only'.
12615 * imenu.el (imenu-default-goto-function): Mark unused args.
12616 (imenu-progress-message): Remove obsolete macro; all callers changed.
12618 * subr.el (keymap-canonicalize): Remove unused binding.
12619 (read-passwd): Mark unused arg.
12621 * tutorial.el (tutorial--display-changes): Remove unused binding.
12622 (tutorial--save-tutorial-to): Remove unused variable.
12624 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12625 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12626 (package-generate-autoloads, package-menu--generate)
12627 (package-menu--find-upgrades): Remove unused bindings.
12629 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12630 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12631 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12632 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12633 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12634 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12635 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12636 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12637 (cua-delete-char-rectangle): Mark unused args.
12638 (cua-align-rectangle): Remove unused binding.
12640 * mail/rmail.el (compilation--message->loc)
12641 (epa--find-coding-system-for-mime-charset): Declare.
12643 * net/dbus.el (dbus-register-service): Declare.
12644 (dbus-name-owner-changed-handler): Remove unused binding.
12646 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12647 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12648 (nxml-scan-backward-within): Mark unused arg.
12649 (nxml-dynamic-markup-word): Remove unused binding.
12651 * mouse.el (mouse-menu-major-mode-map):
12652 * emacs-lisp/authors.el (authors-scan-change-log)
12653 (authors-add-to-author-list):
12654 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12655 * emacs-lisp/smie.el (smie-auto-fill):
12656 * mail/sendmail.el (mail-bury):
12657 * mail/unrmail.el (unrmail):
12658 * net/tls.el (open-tls-stream):
12659 * textmodes/picture.el (picture-mouse-set-point):
12660 Remove unused bindings.
12662 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12664 * net/tramp.el (tramp-action-password): Let-bind
12665 `enable-recursive-minibuffers' to t.
12667 2012-04-18 Sam Steingold <sds@gnu.org>
12669 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12670 instead of 'string to accommodate values like [f11].
12671 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12672 * progmodes/gdb-mi.el: Likewise.
12674 2012-04-18 Leo Liu <sdl.web@gmail.com>
12676 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12678 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12681 2012-04-18 Chong Yidong <cyd@gnu.org>
12683 * simple.el (line-move): Use forward-line if in batch mode
12686 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12688 * files.el (after-find-file): Do not try to add a final newline if
12689 the buffer is read-only (Bug#11156).
12691 2012-04-17 Richard Stallman <rms@gnu.org>
12693 * mail/rmail.el (rmail-start-mail):
12694 Pass (rmail-mail-return...) for the return-action.
12695 Pass (rmail-yank-current-message...) for the yank-action.
12696 (rmail-yank-current-message): New function.
12697 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12698 (rmail-reply): Likewise.
12699 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12701 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12702 buffer, not the last. Reject temp buffers. Use the rmail-mode
12703 buffer, not newbuf.
12705 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12707 * server.el (server-ensure-safe-dir): Simplify.
12709 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12711 * emacs-lisp/smie.el: Provide smarter auto-filling.
12712 (smie-auto-fill): New function.
12713 (smie-setup): Use it.
12715 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12717 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12719 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12720 (comment-indent): Use it.
12722 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12724 * ses.el: The overall change is to add cell renaming, that is
12725 setting fancy names for cell symbols other than name matching
12726 "\\`[A-Z]+[0-9]+\\'" regexp .
12727 (ses-localvars): Add ses--renamed-cell-symb-list.
12728 (ses-create-cell-variable): New defun.
12729 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12730 (ses-relocate-formula): Relocate formulas only for cells the
12731 symbols of which are not renamed, i.e. symbols whose names do not
12732 match regexp "\\`[A-Z]+[0-9]+\\'".
12733 (ses-relocate-all): Relocate values only for cells the symbols of
12734 which are not renamed.
12735 (ses-load): Create cells variables as the (ses-cell ...) are read,
12736 in order to check row col consistency with cell symbol name only
12737 for cells that are not renamed.
12738 (ses-replace-name-in-formula): New defun.
12739 (ses-rename-cell): New defun.
12741 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12743 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12744 New option (bug#11118).
12745 (perl-calculate-indent): Respect it.
12747 2012-04-17 Glenn Morris <rgm@gnu.org>
12749 * dired-aux.el (dired-mark-read-string): Doc fix.
12751 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12753 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12754 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12756 2012-04-17 Glenn Morris <rgm@gnu.org>
12758 * mouse.el (mouse-drag-track):
12759 * speedbar.el (speedbar-frame-mode):
12760 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12762 2012-04-16 Leo Liu <sdl.web@gmail.com>
12764 * progmodes/python.el: Trivial cleanup.
12766 2012-04-16 Glenn Morris <rgm@gnu.org>
12768 * vc/vc.el (vc-string-prefix-p):
12769 * vc/pcvs-util.el (cvs-string-prefix-p):
12770 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12771 * mpc.el (mpc-string-prefix-p):
12772 Make all of these into obsolete aliases for string-prefix-p.
12774 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12776 * textmodes/two-column.el: Move custom options to the start.
12777 (frame-width): Remove compat definition.
12778 (2C-associate-buffer, 2C-dissociate):
12779 Use with-current-buffer rather than save-excursion.
12780 (2C-dissociate): Force a mode-line update.
12781 (2C-autoscroll): Use ignore-errors.
12783 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12786 * emacs-lisp/cl-extra.el (*random-state*):
12787 Remove unnecessary declaration.
12789 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12791 * play/cookie1.el (cookie-snarf):
12792 Give an explicit error if input file cannot be read.
12794 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12796 * progmodes/perl-mode.el (c-macro-expand):
12797 Remove unnecessary autoload (it is in loaddefs.el).
12799 * textmodes/picture.el (picture-desired-column)
12800 (picture-update-desired-column): Convert comments to doc-strings.
12801 (picture-substitute): Remove function.
12802 (picture-mode-map): Initialize in the defvar.
12804 * woman.el: Remove eval-after-load for tar-mode.
12805 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12806 (woman-tar-extract-file): Autoload it.
12808 * frame.el (automatic-hscrolling): Make this alias obsolete.
12810 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12812 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12813 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12814 (ispell-dictionary-base-alist): Revert to original XEmacs
12815 friendly version for default. [:alpha:] will be added in
12816 `ispell-set-spellchecker-params' if needed.
12818 2012-04-16 Chong Yidong <cyd@gnu.org>
12820 * image.el (imagemagick--file-regexp): New variable.
12821 (imagemagick-register-types): Use it.
12822 (imagemagick-types-inhibit): Add :set function. Allow new value
12823 of t to inhibit all types.
12825 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12826 so we can preload it.
12828 * loadup.el (fboundp): Preload regexp-opt, needed by
12829 imagemagick-register-types.
12831 2012-04-15 Chong Yidong <cyd@gnu.org>
12833 * frame.el (scrolling): Remove nearly unused customization group.
12835 * scroll-all.el (scroll-all-mode): Move to windows group.
12837 2012-04-15 Chong Yidong <cyd@gnu.org>
12839 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12841 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12843 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12844 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12846 2012-04-15 Glenn Morris <rgm@gnu.org>
12848 * simple.el (process-file-side-effects): Doc fix.
12850 2012-04-15 Glenn Morris <rgm@gnu.org>
12852 * international/mule-cmds.el (set-language-environment): Doc fix.
12854 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12856 * server.el (server-auth-key, server-generate-key): Doc fixes.
12857 (server-get-auth-key): Doc fix. Use `string-match-p'.
12858 (server-start): Reflow docstring.
12860 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12862 * server.el (server-generate-key): `called-interactively-p'
12863 requires a parameter.
12865 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12867 * server.el (server-auth-key): New variable.
12868 (server-generate-key, server-get-auth-key): New function.
12869 (server-start): Use the new variable and functions to allow
12870 setting a permanent server key (bug#9423).
12872 2012-04-14 Leo Liu <sdl.web@gmail.com>
12874 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12876 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12879 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12880 Emacs uses American spelling.
12882 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12884 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12885 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12886 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12887 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12889 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * progmodes/which-func.el (which-func-modes): Change default.
12893 2012-04-14 Kim F. Storm <storm@cua.dk>
12895 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12896 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12898 2012-04-14 Chong Yidong <cyd@gnu.org>
12900 * custom.el (custom-theme-set-variables): Doc fix.
12902 2012-04-14 Glenn Morris <rgm@gnu.org>
12904 * international/mule.el (set-auto-coding-for-load): Doc fix.
12906 2012-04-14 Alan Mackenzie <acm@muc.de>
12908 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12909 imenu work again for Objective C Mode. Correct the *-index values,
12910 these having been disturbed by a previous change in 2011-08.
12912 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12913 Correct two search limits.
12915 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12917 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12919 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12921 * international/characters.el: Fix sorting.
12923 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12925 * international/characters.el: Add more missing Latin case pairs.
12927 2012-04-14 Glenn Morris <rgm@gnu.org>
12929 * files.el (dir-locals-set-class-variables): Doc fix.
12931 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12933 * international/characters.el: Add set-case-syntax-pair call for
12934 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12935 counterpart. (Bug#11209)
12937 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12939 2012-04-14 Glenn Morris <rgm@gnu.org>
12941 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12943 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12945 * textmodes/ispell.el (ispell-dictionary-base-alist):
12946 Add data for Hebrew.
12948 2012-04-14 Chong Yidong <cyd@gnu.org>
12950 * net/rcirc.el (rcirc-cmd-quit):
12951 Revert 2012-03-18 change (Bug#11192).
12953 2012-04-14 Glenn Morris <rgm@gnu.org>
12955 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12957 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12959 * minibuffer.el (completion-in-region-mode-map):
12960 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12962 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12964 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12966 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12968 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12969 to allow `C-M-f' and `C-M-b' to move to the nearest path
12970 separator (bug#9511).
12972 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12974 * avoid.el: Require cl when compiling. And also move the
12975 `provide' to the end.
12977 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12979 * avoid.el (mouse-avoidance-banish-position): New variable.
12980 (mouse-avoidance-banish-destination): Use it (bug#10165).
12982 2012-04-13 Leo Liu <sdl.web@gmail.com>
12984 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12986 2012-04-13 Ken Brown <kbrown@cornell.edu>
12988 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12989 this is no longer needed now that cygstart understands file:// URLs.
12990 (browse-url-filename-alist): For the same reason, don't modify
12991 file:// URLs on Cygwin.
12993 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12996 the region on shift if the binding is already shifted (bug#11221).
12998 2012-04-12 Glenn Morris <rgm@gnu.org>
13000 * mail/mailpost.el: Move to obsolete/.
13002 2012-04-12 Drew Adams <drew.adams@oracle.com>
13004 * imenu.el (imenu--generic-function): Ignore invisible definitions
13007 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13009 * hexl.el (hexl-bits): New variable.
13010 (hexl-options): Mention the variable in the doc string.
13011 (hexl-rulerise, hexl-line-displen): New functions.
13012 (hexl-mode): Mention the new variable.
13013 (hexl-mode, hexl-current-address, hexl-current-address):
13015 (hexl-ascii-start-column): New function.
13016 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13017 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13019 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13021 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13022 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13023 the encoding, as expected by hunspell.
13025 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * battery.el (battery--linux-sysfs-regexp): New const.
13028 (battery-status-function): Use it. Remove yeeloong special case.
13029 (battery-yeeloong-sysfs): Remove.
13030 (battery-echo-area-format): Remove yeeloong special case.
13032 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13034 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13035 Reported by Noah Friedman.
13037 * subr.el (read-passwd): Use read-string.
13039 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13041 * vcursor.el (vcursor-move): Increase the priority of the overlay
13044 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13046 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13047 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13049 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13051 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13052 define-minor-mode (bug#10760).
13054 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13056 * progmodes/grep.el (rgrep): Tweak the find command line so
13057 that directories matching `grep-find-ignored-files' won't be
13058 pruned (bug#10351).
13060 2012-04-11 Chong Yidong <cyd@gnu.org>
13062 * startup.el (command-line): Remove support for long-obsolete
13063 variable font-lock-face-attributes.
13065 2012-04-11 Glenn Morris <rgm@gnu.org>
13067 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13069 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13071 * window.el (window--state-get-1): Obey window-point-insertion-type.
13073 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13075 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13076 to previous function when point is on the first character of a
13077 function. Take care of that in `narrow-to-defun' (bug#6157).
13079 2012-04-11 Glenn Morris <rgm@gnu.org>
13081 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13082 not just file-errors.
13084 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13085 (vc-bzr-sha1): Use internal sha1.
13087 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13091 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13093 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13094 that start in the middle of the line (bug#10496).
13096 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13098 * battery.el (battery-linux-proc-acpi): Only one battery is
13099 discharged at a time, but that seems to confuse battery.el when
13100 computing `rate-type' for the battery not being discharged
13103 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13107 * international/quail.el: Use dolist and simplify.
13108 (quail-define-package, quail-update-keyboard-layout)
13109 (quail-define-rules): Use dolist.
13110 (quail-insert-kbd-layout, quail-get-translation): CSE.
13112 * tmm.el: Use dolist, remove left over hook.
13113 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13115 (calendar-load-hook): Don't mess with it.
13117 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13118 Use derived-mode-p. Run the diff asynchronously.
13120 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13122 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13124 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13126 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13127 (list-dynamic-libraries--loaded): New function.
13128 (list-dynamic-libraries--refresh): Use it.
13130 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13132 * progmodes/python.el (python-fill-paragraph):
13133 Make python-fill-region in a multiline string work when font-lock is
13134 disabled (bug#7018).
13136 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13138 * language/european.el (cp775): Add oem/legacy (en)coding on
13139 DOS/MS Windows for the Baltic languages. There are still plenty
13140 of texts written in this encoding/codepage (bug#6519).
13142 2012-04-10 Glenn Morris <rgm@gnu.org>
13144 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13145 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13147 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13149 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13150 next-line "n" and previous-line "p" in order to make recentf more
13151 consistent with ibuffer, dired or org-mode (bug#9387).
13153 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13155 * image.el (put-image): Return the overlay created instead of the
13156 optional input string (bug#7834). Note that this may break code
13157 that is (for some reason or other) depending on `put-image'
13158 returning the string.
13160 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13162 * simple.el (zap-to-char): Allow zapping using input methods
13165 * textmodes/fill.el (fill-region): Leave point and mark where they
13166 were before filling (bug#5399).
13168 2012-04-09 Glenn Morris <rgm@gnu.org>
13170 * version.el (emacs-bzr-get-version):
13171 Handle lightweight checkouts of local branches.
13173 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13175 * international/characters.el: Recover lost case pairs. (Bug#11209)
13177 2012-04-09 Chong Yidong <cyd@gnu.org>
13179 * custom.el (custom-variable-p): Return nil for non-symbol
13180 arguments instead of signaling an error.
13181 (user-variable-p): Obsolete alias for custom-variable-p.
13183 * apropos.el (apropos-variable):
13184 * files-x.el (read-file-local-variable):
13185 * simple.el (set-variable):
13186 * woman.el (woman-mini-help):
13187 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13189 2012-04-09 Glenn Morris <rgm@gnu.org>
13191 * startup.el (normal-top-level): Don't look for leim-list.el
13192 in places where it will not be found. (Bug#910)
13194 * international/mule-cmds.el (set-default-coding-systems):
13195 * files.el (normal-mode):
13196 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13197 This function was removed with ucs-tables.el in 2008.
13199 2012-04-08 Eli Zaretskii <eliz@gnu.org>
13201 * textmodes/ispell.el (ispell-check-version): For hunspell, set
13202 ispell-encoding8-command to "-i", without a trailing space.
13203 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
13204 separate command-line arguments, to specify the encoding, since
13205 that's how hunspell expects it.
13207 2012-04-08 Glenn Morris <rgm@gnu.org>
13209 * loadup.el: Load bindings before cus-start.
13210 This reduces somewhat the number of "rogue" settings in emacs -Q.
13212 2012-04-07 Glenn Morris <rgm@gnu.org>
13214 * version.el (emacs-bzr-get-version): New function.
13215 (emacs-bzr-version): New variable.
13216 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13217 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13219 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13221 * international/uni-bidi.el, international/uni-category.el:
13222 * international/uni-combining.el, international/uni-decimal.el:
13223 * international/uni-decomposition.el, international/uni-digit.el:
13224 * international/uni-lowercase.el, international/uni-mirrored.el:
13225 * international/uni-name.el, international/uni-numeric.el:
13226 * international/uni-titlecase.el, international/uni-uppercase.el:
13227 Update for Unicode 6.1.
13229 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13231 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13233 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13235 * window.el (shrink-window): Mention the `window-min-height'
13236 variable in the doc string.
13238 2012-04-05 Bastien Guerry <bzg@altern.org>
13240 * color.el (color-lighten-name): Fix typo.
13242 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13244 * server.el (server--on-display-p): New function.
13245 (server--on-display-p): Use it.
13247 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13249 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13252 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13254 * comint.el (comint--common-quoted-suffix): Check string boundary
13255 before comparing (bug#11158).
13256 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13258 2012-04-04 Chong Yidong <cyd@gnu.org>
13260 * minibuffer.el (completion-extra-properties): Doc fix.
13262 * subr.el (delayed-warnings-hook): Doc fix.
13264 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13266 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13267 selection (Bug#11159).
13268 (epa-insert-keys): Inform that the default public key will be
13269 exported if no key is selected.
13271 2012-04-04 Richard Stallman <rms@gnu.org>
13273 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13275 2012-04-03 Chong Yidong <cyd@gnu.org>
13277 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13278 mail-insert-file, not its obsolete alias mail-attach-file.
13280 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13282 * notifications.el (notifications-notify): Fix docstring.
13284 2012-04-02 Glenn Morris <rgm@gnu.org>
13286 * emacs-lisp/authors.el (authors-aliases): Another addition.
13288 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13290 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13291 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13292 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13294 2012-04-01 Chong Yidong <cyd@gnu.org>
13296 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13297 Handle root directory properly.
13298 (copy-directory): Caller changed.
13300 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13301 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13303 2012-03-31 Glenn Morris <rgm@gnu.org>
13305 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13307 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13309 * calendar/calendar.el (calendar-window-list)
13310 (calendar-hide-window): Restore. (Bug#11140)
13311 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13313 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13315 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13317 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13318 Check if file is a symlink (Bug#10489).
13320 * files.el (copy-directory): Likewise.
13322 2012-03-30 Chong Yidong <cyd@gnu.org>
13324 * image.el (imagemagick-types-inhibit)
13325 (imagemagick-register-types): Doc fix.
13327 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13329 * textmodes/ispell.el (ispell-get-extended-character-mode):
13330 Disable extended-char-mode for hunspell. hunspell does not support it
13331 and treats ~word as ordinary words in pipe mode.
13333 2012-03-30 Glenn Morris <rgm@gnu.org>
13335 * tutorial.el (help-with-tutorial): Ensure local variables don't
13336 happen to make the buffer read-only. (Bug#11127)
13338 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13340 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13341 (perl-calculate-indent): Return `noindent' in strings.
13343 2012-03-28 Sam Steingold <sds@gnu.org>
13345 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13346 instead of the broken adhockery which does not prevent calendar
13347 buffers from being displayed at random after exit.
13348 (calendar-window-list, calendar-hide-window): Remove the broken
13351 2012-03-28 Glenn Morris <rgm@gnu.org>
13353 * replace.el (query-replace-map): Doc fix.
13355 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13357 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13358 contents. (Bug#11109)
13360 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13362 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13364 (avl-tree--check, avl-tree--check-node): New funs.
13366 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13368 * window.el (switch-to-visible-buffer): New option.
13369 (switch-to-prev-buffer, switch-to-next-buffer):
13370 Observe switch-to-visible-buffer. Make sure that checking for a window
13371 showing a buffer already is done on the same frame.
13373 2012-03-27 Glenn Morris <rgm@gnu.org>
13375 * startup.el (mail-host-address): Doc fix.
13377 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13379 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13380 than 197 variables.
13382 2012-03-26 Ami Fischman <ami@fischman.org>
13384 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13386 2012-03-26 Glenn Morris <rgm@gnu.org>
13388 * files.el (save-buffers-kill-emacs): Doc fix.
13390 * startup.el (normal-top-level, command-line, command-line-1):
13391 Give them doc strings.
13393 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13395 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13396 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13398 2012-03-25 Chong Yidong <cyd@gnu.org>
13400 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13401 theme if it was previously enabled before (Bug#11031).
13403 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13404 spec with custom-face-get-current-spec if its :shown-value is not
13405 determined yet (Bug#9337).
13406 (customize-create-theme, custom-theme-revert): Doc fixes.
13408 * button.el (button-at): Minor addition to docstring.
13410 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13412 * vc/vc.el (vc-merge): Fix a prompt.
13414 2012-03-24 Chong Yidong <cyd@gnu.org>
13416 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13419 * button.el (button-at): Minor addition to docstring.
13421 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13423 * newcomment.el (comment-choose-indent): No space after BOL.
13425 2012-03-22 Sam Steingold <sds@gnu.org>
13427 * window.el (switch-to-prev-buffer): Revert last patch because the
13428 bug turned out to be an advertised feature (Elisp manual 28.14).
13430 2012-03-22 Glenn Morris <rgm@gnu.org>
13432 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13433 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13435 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13437 * net/network-stream.el (network-stream-open-starttls): Make error
13438 message under Windows be less misleading.
13440 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13442 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13443 understands (bug#9942).
13445 2012-03-22 Chong Yidong <cyd@gnu.org>
13447 * simple.el (end-of-visible-line): Handle return value of
13448 next-single-property-change properly (Bug#9371).
13450 2012-03-22 Kenichi Handa <handa@m17n.org>
13452 * international/quail.el (quail-insert-kbd-layout): Fix previous
13453 change. To avoid unwanted bidi reordering, use
13454 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13456 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13458 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13459 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13460 (ruby-beginning-of-indent): Be more careful with the difference
13461 between word-boundary and symbol boundary.
13462 (ruby-mode-syntax-table): Make : a symbol constituent.
13464 2012-03-21 Andreas Politz <politza@fh-trier.de>
13466 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13468 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13470 * progmodes/etags.el (tags-completion-at-point-function):
13473 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13475 2012-03-21 Sam Steingold <sds@gnu.org>
13477 * progmodes/etags.el (tags-completion-at-point-function):
13478 Avoid the error when point is inside the pattern.
13480 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13482 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13485 2012-03-21 Drew Adams <drew.adams@oracle.com>
13487 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13489 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13491 * ido.el (ido-set-current-directory, ido-read-internal)
13492 (ido-choose-completion-string, ido-completion-help): Handle nil
13493 value of ido-completion-buffer (Bug#11008).
13495 2012-03-21 Sam Steingold <sds@gnu.org>
13497 * window.el (switch-to-prev-buffer): Do not switch to a visible
13498 window previous buffer, just like with the frame previous buffers.
13500 2012-03-21 Chong Yidong <cyd@gnu.org>
13502 * faces.el (make-face, make-empty-face, copy-face):
13503 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13506 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13508 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13509 (widget-complete): Remove broken use of it.
13511 2012-03-20 Chong Yidong <cyd@gnu.org>
13513 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13514 Use string-width and truncate-string-width to handle arbitrary
13517 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13519 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13520 to draw rectangles, not squares. (Regression introduced by revno
13521 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13523 2012-03-18 Chong Yidong <cyd@gnu.org>
13525 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13526 it is not yet defined (for temacs).
13528 2012-03-18 Leo Liu <sdl.web@gmail.com>
13530 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13533 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13535 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13536 (ispell-choices-win-default-height, ispell-silently-savep)
13537 (ispell-dictionary-alist, ispell-encoding8-command)
13538 (ispell-check-version, ispell-aspell-find-dictionary)
13539 (ispell-valid-dictionary-list, ispell-words-keyword)
13540 (ispell-get-word, ispell-internal-change-dictionary)
13541 (ispell-region, ispell-skip-region-list)
13542 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13543 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13544 (ispell-message-text-end, ispell-message)
13545 (ispell-buffer-local-parsing): Doc fix.
13547 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13549 * htmlfontify.el: Add support for code block fontification for ODT
13550 export (Bug #9914).
13551 (hfy-optimisations): Define new option
13553 (hfy-fontify-buffer): Honor above setting.
13554 (hfy-begin-span, hfy-end-span): New routines factored out form
13555 `hfy-fontify-buffer'.
13556 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13557 that permit insertion of custom tags.
13558 (hfy-fontify-buffer): Use above handlers.
13559 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13560 (hfy-face-to-css): Re-defined to be a variable.
13561 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13562 over multiple runs. This is made possible by having the caller let
13563 bind a special variable `hfy-user-sheet-assoc'.
13564 (htmlfontify-string): New defun.
13565 (hfy-compile-face-map): Make sure that the last char in the
13566 buffer is correctly fontified.
13567 (hfy-face-resolve-face): Whitespace only change.
13569 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13571 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13572 message more clear.
13574 2012-03-16 Leo Liu <sdl.web@gmail.com>
13576 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13578 2012-03-16 Alan Mackenzie <acm@muc.de>
13580 Further optimize the handling of large macros.
13582 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13583 limit to a call of `c-literal-limits'.
13584 (c-determine-+ve-limit): New function.
13585 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13586 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13587 In CASE 5B, restrict a search limit to 500.
13588 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13590 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13591 Restrict macro bounds to +-500 from after-change's BEG END.
13593 2012-03-16 Leo Liu <sdl.web@gmail.com>
13595 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13597 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13599 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13600 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13602 2012-03-16 Glenn Morris <rgm@gnu.org>
13604 * view.el (view-buffer, view-buffer-other-window)
13605 (view-buffer-other-frame): Doc fixes re special mode-class.
13607 * subr.el (eval-after-load): If named feature is provided not from
13608 a file, run after-load forms. (Bug#10946)
13610 * calendar/calendar.el (calendar-insert-at-column):
13611 Handle non-unit-width characters a bit better. (Bug#10978)
13613 2012-03-15 Chong Yidong <cyd@gnu.org>
13615 * emacs-lisp/ring.el (ring-extend): New function.
13616 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13618 * comint.el (comint-read-input-ring)
13619 (comint-add-to-input-history): Grow comint-input-ring lazily.
13621 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13623 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13624 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13626 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13627 (imenu-add-to-menubar): Don't add a redundant index.
13628 (imenu-update-menubar): Handle a dynamically composed keymap.
13630 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13632 * mail/sendmail.el (mail-encode-header):
13633 Bind rfc2047-encode-encoded-words to nil.
13635 2012-03-13 Glenn Morris <rgm@gnu.org>
13637 * calendar/calendar.el (calendar-string-spread):
13638 Handle non-unit-width characters a bit better. (Bug#10978)
13640 2012-03-13 Leo Liu <sdl.web@gmail.com>
13642 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13643 directory and file as argument (Bug#10822).
13645 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13647 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13648 For dynamically generated code, follow $PC.
13649 (gdb-disassembly-handler-custom): Handle no function name case.
13651 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13653 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13654 * emulation/ws-mode.el (ws-query-replace):
13655 * sort.el (sort-regexp-fields):
13656 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13658 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13660 * dabbrev.el: Fix cycle completion order (bug#10963).
13661 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13662 (dabbrev-completion): Don't use an obarray; provide
13663 a cycle-sort-function.
13665 2012-03-12 Leo Liu <sdl.web@gmail.com>
13667 * simple.el (kill-new): Use equal-including-properties for comparison.
13668 (kill-do-not-save-duplicates): Doc fix.
13670 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13672 * dabbrev.el: Fix cycle completion (bug#10963).
13673 Use lexical binding and wrap to 80 columns.
13674 (dabbrev-completion): Delay computing the list of completions.
13676 2012-03-12 Kenichi Handa <handa@m17n.org>
13678 * international/quail.el (quail-insert-kbd-layout): Surround each
13679 row by LRO and PDF instead of inserting many LRMs. Pad the left
13680 and right of each non-spacing marks. Insert invisible space
13681 between lower and upper characters to prevent composition.
13683 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13685 * minibuffer.el (minibuffer-complete): Don't get confused when the
13686 function is run twice via different commands (bug#10958).
13687 (complete-with-action): Fix docstring.
13689 2012-03-12 Chong Yidong <cyd@gnu.org>
13691 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13692 (nxml-completion-at-point-function): New function.
13693 (nxml-mode): Use it.
13694 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13696 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13697 Load generated autoloads file before byte compiling (Bug#10970).
13698 (package--make-autoloads-and-compile): New helper fun.
13700 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13702 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13704 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13706 * autorevert.el (auto-revert-handler): Ensure, that
13707 file-readable-p is applied only for local files or in
13708 auto-revert-tail-mode.
13710 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13712 * server.el (server-eval-at): Handle non-tcp connections.
13713 Decode result string.
13715 * server.el (server-msg-size): New constant.
13716 (server-reply-print): New function.
13717 (server-eval-and-print): Use it.
13718 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13719 Handle -print-nonl.
13721 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13723 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13726 2012-03-11 Chong Yidong <cyd@gnu.org>
13728 * simple.el (goto-line): Doc fix (Bug#9938).
13730 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13732 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13733 when finished (Bug#10963).
13735 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13737 * window.el (split-window-below): Fix bug in case where
13738 split-window-keep-point is nil (Bug#10971).
13740 2012-03-11 Juri Linkov <juri@jurta.org>
13742 * replace.el (replace-highlight): Set isearch-word to nil
13743 unconditionally. (Bug#10887)
13745 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13747 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13748 mairix-replace-illegal-chars; all callers changed. Don't remove
13749 ^, ~, and = characters: they are meaningful in mairix search specs.
13750 (mairix-widget-create-query): Add usage information about mairix
13751 search forms: negating words, searching for substrings, etc.
13753 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13755 * international/fontset.el (font-encoding-alist): Add an entry for
13756 ksx1001 (Bug#5667).
13758 2012-03-10 Richard Stallman <rms@gnu.org>
13760 * mail/sendmail.el (mail-encode-header):
13761 Set rfc2047-encode-encoded-words.
13763 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13765 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13766 view buffer means not swapped.
13767 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13768 (rmail-write-region-annotate): Error if real text has disappeared.
13770 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13772 2012-03-10 Chong Yidong <cyd@gnu.org>
13774 * emulation/cua-rect.el (cua--init-rectangles):
13775 * emulation/cua-base.el (cua--init-keymaps):
13776 Add delete-forward-char to remappings (Bug#9666).
13778 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13780 * speedbar.el (speedbar-unhighlight-one-tag-line):
13781 Avoid unhighlighting due to frame switching (Bug#10275).
13783 2012-03-10 Chong Yidong <cyd@gnu.org>
13785 * minibuffer.el (completion-in-region, completion-help-at-point):
13786 Give the completion field overlay a high priority (Bug#6830).
13788 * dired.el (dired-goto-file): Recognize absolute file name
13789 listings (Bug#7126).
13790 (dired-goto-file-1): New helper function.
13791 (dired-toggle-read-only): Inhibit warnings.
13793 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13795 * net/dbus.el (dbus-property-handler): Return empty array if
13796 there are no properties.
13798 2012-03-09 Leo Liu <sdl.web@gmail.com>
13800 * savehist.el (savehist-printable): Stricter check for string
13803 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13805 * mail/smtpmail.el (smtpmail-send-it):
13806 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13809 2012-03-09 Glenn Morris <rgm@gnu.org>
13811 * files.el (dir-locals-find-file):
13812 Don't check result is regular, readable.
13813 (dir-locals-read-from-file): Demote errors.
13815 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13817 * international/quail.el (quail-insert-kbd-layout):
13818 Insert invisible LRM characters before each character in a keyboard
13819 layout cell, to prevent their reordering by bidi display engine.
13820 For details, see the discussion in
13821 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13823 2012-03-08 Alan Mackenzie <acm@muc.de>
13825 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13826 the starting position; make it extend the marked region when
13827 invoked repeatedly - all under appropriate circumstances.
13828 Fixes bugs #5525, #10906.
13830 2012-03-08 Glenn Morris <rgm@gnu.org>
13832 * files.el (locate-dominating-file, dir-locals-find-file):
13833 Undo 2012-03-06 change.
13835 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13837 * international/quail.el (quail-help):
13838 Force bidi-paragraph-direction be left-to-right. See discussion in
13839 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13842 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13844 Avoid superfluous registering of signals. (Bug#10807)
13846 * notifications.el (notifications-on-action-object)
13847 (notifications-on-close-object): New defvars.
13848 (notifications-on-action-signal, notifications-on-closed-signal):
13849 Unregister the signal if not needed any longer.
13850 (notifications-notify): Register `notifications-action-signal' or
13851 `notifications-closed-signal', if :on-action or :on-close has been
13852 passed as argument.
13854 2012-03-07 Chong Yidong <cyd@gnu.org>
13856 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13859 2012-03-06 Glenn Morris <rgm@gnu.org>
13861 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13862 (x-disown-selection-internal, x-get-selection-internal):
13863 Doc fix (add arglist signatures). (Bug#10783)
13865 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13867 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13868 Handle breakpoints with no "type".
13870 2012-03-06 Glenn Morris <rgm@gnu.org>
13872 * files.el (locate-dominating-file): Add optional predicate argument.
13873 (dir-locals-find-file): Make use of above change.
13875 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13877 * info.el (Info-insert-dir): Also try "dir.gz".
13879 2012-03-06 Glenn Morris <rgm@gnu.org>
13881 * files.el (dir-locals-find-file):
13882 Ignore non-readable or non-regular files. (Bug#10928)
13884 * files.el (locate-dominating-file): Doc fix.
13886 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13888 * calendar/calendar.el (calendar-set-mode-line):
13889 `getenv' returns a string. (Bug#10951)
13891 2012-03-05 Leo Liu <sdl.web@gmail.com>
13893 * simple.el (backward-delete-char-untabify): Constrain point to
13896 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13898 2012-03-05 Chong Yidong <cyd@gnu.org>
13900 * simple.el (count-words): If called from Lisp, return the word
13901 count, for symmetry with `count-lines'. Arglist changed.
13902 (count-words--message): Args changed. Consolidate counting code
13903 from count-words and count-words-region.
13904 (count-words-region): Caller changed.
13905 (count-lines-region): Make it an obsolete alias.
13907 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13909 * saveplace.el (save-place-to-alist)
13910 (save-place-ignore-files-regexp): Allow value nil to disable this
13913 2012-03-04 Chong Yidong <cyd@gnu.org>
13915 * faces.el (face-spec-reset-face): For the default face, reset the
13916 attributes to default values (Bug#10748).
13918 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13920 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13921 previous patch: Check `message-send-mail-function', and not the
13922 default function (bug#10897).
13924 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13926 * notifications.el (notifications-on-action-signal)
13927 (notifications-on-closed-signal): Check for unique service name of
13928 incoming event. Fix error in removing entry.
13929 (top): Register for signals with wildcard service name.
13930 (notifications-notify): Use daemon unique service name for map entries.
13932 2012-03-04 Chong Yidong <cyd@gnu.org>
13934 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13936 2012-03-04 Glenn Morris <rgm@gnu.org>
13938 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13939 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13940 (expand-abbrev, define-abbrev-table): Doc fixes.
13942 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13944 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13945 `message-default-send-mail-function' and not `send-mail-function'
13946 when doing the prompting for `sendmail-query-once' before sending
13947 in Message buffers (bug#10897).
13949 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13950 This is inconsistent with all the other stream functions, which leave
13951 the setting up to the higher levels (if so wanted) (bug#10931).
13953 2012-03-02 Alan Mackenzie <acm@muc.de>
13955 Depessimize the handling of very large macros.
13957 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13958 (c-macro-cache-syntactic): New variables to implement a one
13959 element macro cache.
13960 (c-invalidate-macro-cache): New function.
13961 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13962 Adapt to use the new cache.
13963 (c-state-safe-place): Use better the cache of safe positions.
13964 (c-state-semi-nonlit-pos-cache)
13965 (c-state-semi-nonlit-pos-cache-limit):
13966 New variables for...
13967 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13968 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13969 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13970 Use c-state-semi-safe-place.
13972 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13973 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13975 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13977 * jka-compr.el (jka-compr-call-process):
13978 Apply `file-accessible-directory-p' only when the default directory is
13981 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13983 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13984 access of FILE2, if FILE1 does not exist.
13986 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13987 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13989 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13990 Add "PAGER=" to `process-environment'.
13992 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13994 * progmodes/sql.el: Bug fix
13995 (sql-get-login-ext): Save login values in globals.
13996 (sql-get-login): Use new version of `sql-get-login-ext'.
13997 (sql-interactive-mode): Set global `sql-connection' to nil.
13998 (sql-connect): Set global values for connection.
13999 (sql-product-interactive): Save global values as buffer local.
14001 2012-02-29 Leo Liu <sdl.web@gmail.com>
14003 * abbrev.el (define-abbrevs): Reset sys to nil.
14005 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14007 * files.el (file-equal-p): Rename from `files-equal-p'.
14008 Return nil when one or both files don't exist.
14009 (file-subdir-of-p): Now only top directory must exists,
14010 return nil if it doesn't.
14011 (copy-directory): No need to test with `file-subdir-of-p' after
14013 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14016 2012-02-28 Glenn Morris <rgm@gnu.org>
14018 * shell.el (shell-mode):
14019 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14020 * play/landmark.el (landmark-font-lock-face-O):
14021 * play/handwrite.el (handwrite):
14022 * play/gomoku.el (gomoku-O):
14023 * net/browse-url.el (browse-url-browser-display):
14024 * international/mule.el (define-charset):
14025 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14026 * filesets.el (filesets-find-file-delay):
14027 * eshell/em-xtra.el (eshell-xtra):
14028 * eshell/em-unix.el (eshell-grep):
14029 * emulation/viper.el (viper-mode):
14030 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14031 * emacs-lisp/easymenu.el (easy-menu-define):
14032 * calendar/timeclock.el (timeclock-use-display-time):
14034 * bookmark.el (bookmark-save-flag):
14035 Doc fix (standardize possessive apostrophe usage).
14037 2012-02-27 Chong Yidong <cyd@gnu.org>
14039 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14040 Fix key-binding lookup for ESC key (Bug#9146).
14042 * font-lock.el (font-lock-specified-p): Rename from
14043 font-lock-spec-present. Callers changed.
14045 2012-02-27 Daniel Hackney <dan@haxney.org>
14047 * emacs-lisp/package.el (package-compute-transaction):
14048 Handle holding a package version to t in package-load-list.
14050 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14052 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14053 (tramp-get-inode, tramp-get-device): Use cached values.
14055 2012-02-26 Alan Mackenzie <acm@muc.de>
14057 Check there is a font-lock specification before doing initial
14060 * font-core.el (font-lock-mode): Move the conditional from
14061 :after-hook to font-lock-initial-fontify.
14062 (font-lock-default-function): Move the check for a specification
14063 to font-lock-spec-present.
14065 * font-lock.el (font-lock-initial-fontify): Call ...
14066 (font-lock-spec-present): New function.
14068 2012-02-26 Jim Blandy <jimb@red-bean.com>
14070 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14071 (gdb-send): Apply it to the operand of the '-interpreter-exec
14072 console' command, so that we can pass arguments with (say) quotes
14073 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14075 2012-02-26 Chong Yidong <cyd@gnu.org>
14077 * help-fns.el (describe-function-1): Clarify description of
14078 remapping (Bug#10844).
14080 * files.el (files-equal-p): Doc fix.
14081 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14082 and quit the loop once a mismatch is found.
14084 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14086 * bs.el (bs--show-with-configuration): Don't throw an error
14087 if the window cannot be split; otherwise, subsequent calls to
14088 bs-show fail, restoring a stale window config. (Bug#10882)
14090 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14092 * term/ns-win.el (global-map): Bind ns-drag-file to
14093 ns-find-file (Bug#5855, Bug#10050).
14095 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14097 * calendar/parse-time.el (parse-time-string): Allow extractor to
14100 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14102 * net/tramp.el (tramp-file-name-for-operation):
14103 Add `files-equal-p' and `file-subdir-of-p'.
14105 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14106 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14107 Add COPY-CONTENTS argument.
14109 2012-02-25 Chong Yidong <cyd@gnu.org>
14111 Add custom groups for VC backends, for consistency with vc-bzr.
14113 * vc/vc-arch.el (vc-arch):
14114 * vc/vc-cvs.el (vc-cvs):
14115 * vc/vc-git.el (vc-git):
14116 * vc/vc-hg.el (vc-hg):
14117 * vc/vc-mtn.el (vc-mtn):
14118 * vc/vc-rcs.el (vc-rcs):
14119 * vc/vc-sccs.el (vc-sccs):
14120 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14121 All relevant defcustoms reassigned.
14123 2012-02-25 Chong Yidong <cyd@gnu.org>
14125 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14127 * term/x-win.el (x-initialize-window-system): Reduce default for
14128 x-selection-timeout to 5 seconds (Bug#8869).
14130 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14132 * files.el (files-equal-p, file-subdir-of-p): New functions.
14133 (copy-directory): Error when trying to copy a directory on itself.
14134 Add missing copy-contents arg to tramp handler.
14135 * dired-aux.el (dired-copy-file-recursive): Same.
14136 (dired-create-files): Modify destination when source is equal to
14137 dest when copying files.
14138 Return also when dest is a subdir of source. (Bug#10489)
14140 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14142 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14145 2012-02-23 Alan Mackenzie <acm@muc.de>
14147 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14148 parameter "after-hook:" to allow the expansion to run code after
14149 the execution of the mode hooks.
14151 * font-lock.el (font-lock-initial-fontify): New function extracted
14152 from font-lock-mode-internal.
14154 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14157 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14159 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14160 (completion--cache-all-sorted-completions): New function.
14161 (completion-all-sorted-completions): Use it.
14162 (completion--do-completion, minibuffer-force-complete):
14163 Use it to re-instate the flush hook.
14165 * icomplete.el (icomplete-completions): Replace last fix with a better
14168 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14170 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14171 when it might call us back infinitely (bug#10797).
14173 2012-02-23 Glenn Morris <rgm@gnu.org>
14175 * minibuffer.el (completion-category-overrides): Doc fix.
14177 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14179 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14180 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14182 2012-02-23 Glenn Morris <rgm@gnu.org>
14184 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14185 (authors-obsolete-files-regexps, authors-ignored-files)
14186 (authors-ambiguous-files, authors-renamed-files-alist):
14189 2012-02-23 Juri Linkov <juri@jurta.org>
14191 * isearch.el (isearch-occur): Sync interactive spec with occur's
14192 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14194 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14196 2012-02-22 Juri Linkov <juri@jurta.org>
14198 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14199 (ucs-insert): Doc fix. Check for hex digits in the string.
14200 Don't display `nil' in the error message. (Bug#10857)
14202 2012-02-22 Alan Mackenzie <acm@muc.de>
14204 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
14206 2012-02-22 Glenn Morris <rgm@gnu.org>
14208 * ffap.el (ffap-c-path):
14209 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
14211 2012-02-22 Chong Yidong <cyd@gnu.org>
14213 * custom.el (load-theme): Doc fix.
14215 2012-02-22 Glenn Morris <rgm@gnu.org>
14217 * dired-x.el (dired-guess-shell-alist-default):
14218 Remove escape sequences from nroff output. (Bug#172)
14220 2012-02-21 Glenn Morris <rgm@gnu.org>
14222 * vc/emerge.el (emerge-defvar-local):
14223 Set `permanent-local' property rather than unused `preserved'.
14225 * textmodes/picture.el (picture-delete-char): New alias.
14226 (picture-mode-map): Use it. (Bug#10860)
14227 (picture-mode): Doc fix.
14229 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14231 * newcomment.el (uncomment-region-default): Remove unused binding.
14233 2012-02-21 Glenn Morris <rgm@gnu.org>
14235 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14236 (picture-self-insert, picture-tab-chars): Doc fix.
14237 (picture-mode-map): Fix C-a, C-e.
14239 2012-02-20 Glenn Morris <rgm@gnu.org>
14241 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14243 2012-02-20 Leo Liu <sdl.web@gmail.com>
14245 * icomplete.el (icomplete-completions): Check FROM arg before
14246 passing to substring (Bug#10850).
14248 2012-02-19 Chong Yidong <cyd@gnu.org>
14250 * comint.el: Require ansi-color.
14251 (comint-output-filter-functions): Add ansi-color-process-output.
14253 * ansi-color.el: Don't set comint-output-filter-functions; it is
14254 now in the initial value defined in comint.el.
14255 (ansi-color-apply-face-function): New variable.
14256 (ansi-color-apply-on-region): Use it.
14257 (ansi-color-apply-overlay-face): New function.
14259 * shell.el (shell): No need to require ansi-color.
14260 (shell-mode): Use ansi-color-apply-face-function to highlight
14261 color escapes using font-lock-face property (Bug#10835).
14263 2012-02-19 Chong Yidong <cyd@gnu.org>
14265 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14266 mode-line formats (Bug#10839).
14268 2012-02-18 Glenn Morris <rgm@gnu.org>
14270 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14272 * mail/undigest.el (unforward-rmail-message): Doc fix.
14274 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14276 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14278 * international/characters.el (script-list): Sync with the latest
14279 Unicode Character Database.
14281 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14283 * international/titdic-cnv.el: Remove duplicate coding tag.
14284 * language/cham.el: Likewise.
14285 * language/tai-viet.el: Likewise.
14287 2012-02-18 Glenn Morris <rgm@gnu.org>
14289 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14290 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14291 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14292 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14293 * calendar/holidays.el (holiday-bahai-holidays)
14294 (calendar-holidays, list-holidays):
14295 Use utf-8 Bahá'í in doc-strings, menus, etc.
14297 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14299 * saveplace.el (save-place-ignore-files-regexp): New variable
14300 allowing for excluding files from saving their location of point.
14301 The default value matches the temporary commit message editing
14302 files from Git, SVN, Bazaar, and Mercurial.
14303 (save-place-to-alist): Use it.
14305 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14306 Stefan Monnier <monnier@iro.umontreal.ca>
14308 * newcomment.el (uncomment-region-default): Don't leave extra space
14309 when an arg is provided (bug#8150).
14311 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14313 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14315 2012-02-17 Glenn Morris <rgm@gnu.org>
14317 * net/socks.el: Require network-stream. (Bug#10599)
14319 2012-02-17 Kenichi Handa <handa@m17n.org>
14321 * international/charprop.el:
14322 * international/uni-name.el:
14323 * international/uni-old-name.el:
14324 * international/uni-comment.el: Regenerate.
14326 2012-02-16 Glenn Morris <rgm@gnu.org>
14328 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14329 Interactively in calendar buffer, give an error if not on a date.
14331 2012-02-15 Glenn Morris <rgm@gnu.org>
14333 * shell.el (shell-delimiter-argument-list):
14334 Revert 2011-02-17 change. (Bug#8027)
14336 2012-02-15 Chong Yidong <cyd@gnu.org>
14338 * minibuffer.el (completion-at-point-functions): Doc fix.
14340 * custom.el (defcustom): Doc fix; note use of defvar.
14342 2012-02-15 Glenn Morris <rgm@gnu.org>
14344 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14347 2012-02-14 Glenn Morris <rgm@gnu.org>
14349 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14351 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14353 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14354 way the ports list is computed.
14355 (smtpmail-query-smtp-server): Prompt the user for a port number if
14356 we can't connect to any of the standard ports (bug#10810).
14358 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14360 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14362 2012-02-13 Glenn Morris <rgm@gnu.org>
14364 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14366 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14368 * net/gnutls.el (gnutls-trustfiles): New variable.
14369 (gnutls-negotiate): Use it.
14371 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14373 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14374 does its stuff if Gnus is running.
14376 2012-02-13 Alan Mackenzie <acm@muc.de>
14378 Fix a loop in c-set-fl-decl-start.
14380 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14381 c-backward-syntactic-ws actually moves backwards.
14383 2012-02-13 Leo Liu <sdl.web@gmail.com>
14385 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14386 beginning so that all \C-o chars are removed.
14388 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14390 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14392 2012-02-12 Alan Mackenzie <acm@muc.de>
14394 Fix infinite loop with long macros.
14395 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14397 2012-02-12 Chong Yidong <cyd@gnu.org>
14399 * window.el (display-buffer): Doc fix (Bug#10785).
14401 2012-02-12 Glenn Morris <rgm@gnu.org>
14403 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14404 (x-disown-selection-internal, x-get-selection-internal):
14405 Sync docs with the xselect.c versions.
14407 * allout-widgets.el: Add missing license notice.
14409 2012-02-11 Glenn Morris <rgm@gnu.org>
14411 * select.el (x-get-selection-internal, x-own-selection-internal)
14412 (x-disown-selection-internal):
14413 * x-dnd.el (x-get-selection-internal): Update declarations.
14415 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14417 * window.el (window-sides-slots):
14418 * tool-bar.el (tool-bar-position):
14419 * term/xterm.el (xterm-extra-capabilities):
14420 * ses.el (ses-self-reference-early-detection):
14421 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14422 (verilog-auto-wire-type)
14423 (verilog-auto-delete-trailing-whitespace)
14424 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14425 (verilog-auto-tieoff-declaration):
14426 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14427 (sql-oracle-statement-starters, sql-oracle-scan-on):
14428 * progmodes/prolog.el (prolog-align-comments-flag)
14429 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14430 (prolog-left-indent-regexp, prolog-paren-indent-p)
14431 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14432 (prolog-types, prolog-mode-specificators)
14433 (prolog-determinism-specificators, prolog-directives)
14434 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14435 (prolog-electric-dot-flag)
14436 (prolog-electric-dot-full-predicate-template)
14437 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14438 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14439 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14440 (prolog-program-switches, prolog-prompt-regexp)
14441 (prolog-debug-on-string, prolog-debug-off-string)
14442 (prolog-trace-on-string, prolog-trace-off-string)
14443 (prolog-zip-on-string, prolog-zip-off-string)
14444 (prolog-use-standard-consult-compile-method-flag)
14445 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14446 (prolog-imenu-max-lines, prolog-info-predicate-index)
14447 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14448 (prolog-char-quote-workaround):
14449 * progmodes/cc-vars.el (c-defun-tactic):
14450 * net/tramp.el (tramp-encoding-command-interactive)
14451 (tramp-local-end-of-line):
14452 * net/soap-client.el (soap-client):
14453 * net/netrc.el (netrc-file):
14454 * net/gnutls.el (gnutls):
14455 * minibuffer.el (completion-category-overrides)
14456 (completion-cycle-threshold)
14457 (completion-pcm-complete-word-inserts-delimiters):
14458 * man.el (Man-name-local-regexp):
14459 * mail/feedmail.el (feedmail-display-full-frame):
14460 * international/characters.el (glyphless-char-display-control):
14461 * eshell/em-ls.el (eshell-ls-date-format):
14462 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14463 (lisp-lambda-list-keyword-parameter-indentation)
14464 (lisp-lambda-list-keyword-parameter-alignment):
14465 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14466 * dired-x.el (dired-omit-verbose):
14467 * cus-theme.el (custom-theme-allow-multiple-selections):
14468 * calc/calc.el (calc-highlight-selections-with-faces)
14469 (calc-lu-field-reference, calc-lu-power-reference)
14470 (calc-note-threshold):
14471 * battery.el (battery-mode-line-limit):
14472 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14473 (archive-7z-update):
14474 * allout.el (allout-prefixed-keybindings)
14475 (allout-unprefixed-keybindings)
14476 (allout-inhibit-auto-fill-on-headline)
14477 (allout-flattened-numbering-abbreviation):
14478 * allout-widgets.el (allout-widgets-auto-activation)
14479 (allout-widgets-icons-dark-subdir)
14480 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14481 (allout-widgets-theme-dark-background)
14482 (allout-widgets-theme-light-background)
14483 (allout-widgets-item-image-properties-emacs)
14484 (allout-widgets-item-image-properties-xemacs)
14485 (allout-widgets-run-unit-tests-on-load)
14486 (allout-widgets-time-decoration-activity)
14487 (allout-widgets-hook-error-post-time)
14488 (allout-widgets-track-decoration):
14489 Add missing :version tags to new defcustoms and defgroups.
14491 * progmodes/sql.el (sql-ansi-statement-starters)
14492 (sql-oracle-statement-starters): Add custom type.
14494 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14495 (prolog-system-version): Give it a type.
14497 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14499 * term/pc-win.el (x-select-text, x-selection-owner-p)
14500 (x-own-selection-internal, x-disown-selection-internal)
14501 (x-get-selection-internal): Sync doc strings and argument lists
14502 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14504 2012-02-11 Leo Liu <sdl.web@gmail.com>
14506 * progmodes/python.el (python-end-of-statement): Fix infinite
14509 2012-02-10 Glenn Morris <rgm@gnu.org>
14511 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14512 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14514 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14516 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14517 about SMTP before checking the From header.
14519 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14520 into own function for reuse by emacsbug.el.
14522 2012-02-10 Leo Liu <sdl.web@gmail.com>
14524 * subr.el (condition-case-unless-debug): Rename from
14525 condition-case-no-debug. All callers changed.
14526 (with-demoted-errors): Fix caller.
14528 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14529 * nxml/rng-valid.el (rng-do-some-validation):
14530 * emacs-lisp/package.el (package-refresh-contents)
14531 (package-menu-execute):
14532 * desktop.el (desktop-create-buffer):
14533 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14535 2012-02-10 Glenn Morris <rgm@gnu.org>
14537 * textmodes/bibtex.el:
14538 Add missing :version tags for new/changed defcustoms.
14540 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14542 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14544 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14545 (smtpmail-via-smtp): Use it, or fall back on the From address.
14546 (smtpmail-send-it): Ditto.
14548 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14550 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14551 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14552 (byte-compile-tmp-var): New const.
14553 (byte-compile-defvar): Use it to minimize .elc size.
14554 Just use `defvar' rather than simulate it (bug#10761).
14556 2012-02-09 Glenn Morris <rgm@gnu.org>
14558 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14560 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14563 * progmodes/compile.el (compilation-error-screen-columns)
14564 (compilation-first-column, compilation-filter-start): Doc fixes.
14566 * vc/log-view.el (log-view-toggle-entry-display):
14567 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14569 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14570 (report-emacs-bug-can-use-xdg-email):
14571 (report-emacs-bug-insert-to-mailer): Doc fixes.
14572 (report-emacs-bug): Message fix.
14574 * net/browse-url.el (browse-url-can-use-xdg-open)
14575 (browse-url-xdg-open): Doc fixes.
14577 * electric.el (electric-indent-mode, electric-pair-mode)
14578 (electric-layout-rules, electric-layout-mode): Doc fixes.
14579 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14581 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14583 * server.el (server-unselect-display): Don't inadvertently kill
14584 the current buffer. (Bug#10729)
14586 2012-02-08 Glenn Morris <rgm@gnu.org>
14588 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14589 (sql-list-table): Doc fixes.
14591 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14592 Comment out (does nothing).
14594 * completion.el (dynamic-completion-mode):
14595 * dirtrack.el (dirtrack-debug-mode):
14596 * electric.el (electric-layout-mode):
14597 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14598 * face-remap.el (text-scale-mode, buffer-face-mode):
14599 * iimage.el (iimage-mode):
14600 * image-mode.el (image-transform-mode):
14601 * minibuffer.el (completion-in-region-mode):
14602 * scroll-lock.el (scroll-lock-mode):
14603 * simple.el (next-error-follow-minor-mode):
14604 * tar-mode.el (tar-subfile-mode):
14605 * tooltip.el (tooltip-mode):
14606 * vcursor.el (vcursor-use-vcursor-map):
14607 * wid-browse.el (widget-minor-mode):
14608 * emulation/tpu-edt.el (tpu-edt-mode):
14609 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14610 * international/iso-ascii.el (iso-ascii-mode):
14611 * language/thai-util.el (thai-word-mode):
14612 * mail/supercite.el (sc-minor-mode):
14613 * net/goto-addr.el (goto-address-mode):
14614 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14615 * progmodes/cwarn.el (cwarn-mode):
14616 * progmodes/flymake.el (flymake-mode):
14617 * progmodes/glasses.el (glasses-mode):
14618 * progmodes/hideshow.el (hs-minor-mode):
14619 * progmodes/pascal.el (pascal-outline-mode):
14620 * textmodes/enriched.el (enriched-mode):
14621 * vc/smerge-mode.el (smerge-mode):
14622 Doc fixes (minor mode argument).
14624 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14626 * ls-lisp.el (ls-lisp-sanitize): New function.
14627 (ls-lisp-insert-directory): Use it to fix or remove any elements
14628 in file-alist with missing attributes. (Bug#4673)
14630 2012-02-07 Alan Mackenzie <acm@muc.de>
14632 Fix spurious recognition of c-in-knr-argdecl.
14634 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14635 putative K&R region.
14637 2012-02-07 Alan Mackenzie <acm@muc.de>
14639 * progmodes/cc-engine.el (c-forward-objc-directive):
14640 Prevent looping in "#pragma mark @implementation".
14642 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14644 * notifications.el (notifications-on-closed-signal): Make `reason'
14645 optional. (Bug#10744)
14647 2012-02-07 Glenn Morris <rgm@gnu.org>
14649 * emacs-lisp/easy-mmode.el (define-minor-mode):
14650 Doc fixes for the macro and the mode it defines.
14652 * image.el (imagemagick-types-inhibit): Doc fix.
14654 * cus-start.el (imagemagick-render-type): Add it.
14656 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14658 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14659 Set the default at load time, too, so that `font-lock-fontify-buffer'
14660 can be called without setting up the entire mode first. This fixes
14661 a bug in `mm-inline-text' with C MIME parts.
14663 2012-02-06 Chong Yidong <cyd@gnu.org>
14665 * simple.el (list-processes--refresh): Delete exited processes
14668 * comint.el (comint-next-prompt): next-single-char-property-change
14669 and prev-single-char-property-change never return nil (Bug#8657).
14671 * custom.el (defcustom): Doc fix (Bug#9711).
14673 2012-02-05 Chong Yidong <cyd@gnu.org>
14675 * cus-edit.el (custom-variable-reset-backup): Quote the value
14676 before storing it in the customized-value property (Bug#6712).
14677 (custom-display): Add a customization type tag.
14678 (custom-buffer-create-internal): Improve tooltip message.
14680 * wid-edit.el (widget-field-value-get): New optional arg to
14681 suppress trailing whitespace truncation.
14682 (character): Use it (Bug#2689).
14684 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14686 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14687 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14689 2012-02-05 Chong Yidong <cyd@gnu.org>
14691 * cus-edit.el (custom-variable-value-create): For mismatched
14692 types, show the current value (Bug#7600).
14694 * custom.el (defcustom): Doc fix.
14696 2012-02-05 Glenn Morris <rgm@gnu.org>
14698 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14700 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14702 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14703 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14704 (pp-last-sexp): Use `looking-at-p'.
14706 2012-02-04 Glenn Morris <rgm@gnu.org>
14708 * files.el (revert-buffer):
14709 Doc fix (mention revert-buffer-in-progress-p).
14711 * emacs-lisp/ert-x.el (ert-simulate-command):
14712 Check deferred-action-list (which is obsolete) is bound.
14714 * subr.el (with-wrapper-hook): Doc fixes.
14716 * simple.el (filter-buffer-substring-functions)
14717 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14719 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14721 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14722 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14724 2012-02-04 Leo Liu <sdl.web@gmail.com>
14726 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14728 2012-02-04 Glenn Morris <rgm@gnu.org>
14730 * image.el (image-extension-data): Add obsolete alias.
14732 * isearch.el (isearch-update): Doc fix.
14734 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14736 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14738 2012-02-03 Glenn Morris <rgm@gnu.org>
14740 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14741 (image-animate-timeout): Doc fix.
14743 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14745 2012-02-02 Glenn Morris <rgm@gnu.org>
14747 * server.el (server-auth-dir): Doc fix.
14748 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14750 * subr.el (run-mode-hooks): Doc fix.
14752 2012-02-02 Juri Linkov <juri@jurta.org>
14754 * image-mode.el (image-toggle-display-image): Remove tautological
14755 `major-mode' from the `derived-mode-p' test.
14757 2012-02-02 Kenichi Handa <handa@m17n.org>
14759 * composite.el (compose-region): Cancel previous change.
14761 2012-02-02 Kenichi Handa <handa@m17n.org>
14763 * composite.el (compose-region, compose-string): Signal error for
14764 a null string component (Bug#6988).
14766 2012-02-01 Chong Yidong <cyd@gnu.org>
14768 * view.el (view-buffer-other-window, view-buffer-other-frame):
14769 Handle special modes like view-buffer (Bug#10650).
14770 (view-buffer): Simplify.
14772 * frame.el (set-frame-font): Tweak meaning of third argument.
14774 * dynamic-setting.el (font-setting-change-default-font):
14775 Use set-frame-font (Bug#9982).
14777 2012-02-01 Glenn Morris <rgm@gnu.org>
14779 * progmodes/compile.el (compilation-internal-error-properties):
14780 Respect compilation-first-column in the "*compilation*" buffer.
14782 * emacs-lisp/easy-mmode.el (define-minor-mode):
14783 Relax :variable's test for a named function.
14785 2012-01-31 Alan Mackenzie <acm@muc.de>
14787 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14790 2012-01-31 Chong Yidong <cyd@gnu.org>
14792 * frame.el (set-frame-font): New arg ALL-FRAMES.
14794 * menu-bar.el (menu-set-font): Use set-frame-font.
14796 * faces.el (face-spec-reset-face): Don't apply unspecified
14797 attribute values to the default face.
14799 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14801 * progmodes/cwarn.el (cwarn): Remove dead link.
14802 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14803 Remove * from defcustom docstrings.
14804 (turn-on-cwarn-mode): Make obsolete.
14805 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14806 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14808 2012-01-31 Glenn Morris <rgm@gnu.org>
14810 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14811 Fix :variable handling of mode a symbol not equal to modefun.
14812 Allow named functions to be used as the cdr of :variable.
14814 2012-01-30 Glenn Morris <rgm@gnu.org>
14816 * emacs-lisp/authors.el (authors-fixed-entries):
14817 Remove reference to deleted file rnewspost.el.
14819 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14821 * window.el (window-with-parameter): Remove unused variable `windows'.
14822 (window--side-check): Remove unused variable `code'.
14823 (window--resize-siblings): Remove unused variable `first'.
14824 (adjust-window-trailing-edge): Remove unused variable `failed'.
14825 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14826 Use `let', not `let*'.
14827 (balance-windows-2): Remove unused variable `found'.
14828 (window--state-put-2): Remove unused variable `splits'.
14829 (window-state-put): Remove unused variable `selected'.
14830 (same-window-p): Use `string-match-p'.
14831 (display-buffer-assq-regexp): Remove unused variable `value'.
14832 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14833 Mark argument ALIST as ignored.
14834 (pop-to-buffer): Remove unused variable `old-window'.
14836 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14838 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14839 and .lzma compressed files.
14841 2012-01-29 Chong Yidong <cyd@gnu.org>
14843 * frame.el (window-system-default-frame-alist): Doc fix.
14845 * dynamic-setting.el (font-setting-change-default-font): Don't
14846 change the default face if SET-FONT argument is non-nil (Bug#9982).
14848 2012-01-29 Samuel Bronson <naesten@gmail.com>
14850 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14852 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14854 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14855 breakpoints in files outside current directory (Bug#6098).
14857 2012-01-29 Chong Yidong <cyd@gnu.org>
14859 * progmodes/python.el: Require ansi-color at top-level.
14861 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14862 Define and use in Emacs Lisp mode (Bug#9360).
14863 (lisp-mode-abbrev-table): Add doc.
14864 (lisp-mode-variables): Don't set local-abbrev-table.
14865 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14867 2012-01-28 Roland Winkler <winkler@gnu.org>
14869 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14871 2012-01-28 Roland Winkler <winkler@gnu.org>
14873 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14874 (bibtex-set-dialect): Use it. Either set global values of
14875 dialect-dependent variables or bind these variables buffer-locally
14877 (bibtex-mode): Call bibtex-set-dialect via
14878 hack-local-variables-hook.
14879 (bibtex-dialect): Update docstring.
14880 Add safe-local-variable predicate.
14881 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14882 bibtex-set-dialect.
14883 (bibtex-mode-map): Define menu for each dialect.
14884 (bibtex-entry): Fix docstring.
14886 2012-01-28 Chong Yidong <cyd@gnu.org>
14888 * eshell/esh-arg.el (eshell-quote-argument): New function.
14890 * eshell/esh-ext.el (eshell-invoke-batch-file):
14891 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14892 first arg to eshell-parse-command (Bug#10523).
14894 2012-01-28 Drew Adams <drew.adams@oracle.com>
14896 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14897 `default-directory' is non-nil.
14899 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14901 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14902 line that displays system-configuration-options. (Bug#9924)
14904 2012-01-28 Drew Adams <drew.adams@oracle.com>
14906 * descr-text.el (describe-char): Show information about POS, in
14907 addition to information about the character at POS. Improve and
14908 update the doc string. Change "code point" to "code point in
14909 charset", to avoid confusion with the character's Unicode code
14910 point shown above that. (Bug#10129)
14912 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14914 * descr-text.el (describe-char): Show the raw character, not only
14915 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14916 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14919 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14921 * emacs-lisp/package.el (package-install):
14922 Run package-refresh-contents if there is no archive yet (Bug#9798).
14924 2012-01-28 Chong Yidong <cyd@gnu.org>
14926 * emacs-lisp/package.el (package-maybe-load-descriptor):
14927 New function, split from package-maybe-load-descriptor.
14928 (package-maybe-load-descriptor): Use it.
14929 (package-download-transaction): Fully load required packages
14930 inside the loop, so that `require' calls work (Bug#10593).
14931 (package-install): No need to call package-initialize now.
14933 2012-01-28 Chong Yidong <cyd@gnu.org>
14935 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14937 * tooltip.el (tooltip-mode): Doc fix.
14938 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14940 * frame.el (set-cursor-color): Doc fix (Bug#352).
14942 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14943 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14945 * cus-edit.el (custom-buffer-create-internal): Fix search button
14946 action (Bug#10542).
14947 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14949 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14951 * dired.el (dired-mark-files-regexp):
14952 Include any subdirectory components. (Bug#10445)
14954 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14956 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14957 Handle [host]:port syntax. (Bug#10533)
14959 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14961 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14963 2012-01-26 Glenn Morris <rgm@gnu.org>
14965 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14966 * term.el (term-raw-escape-map): Use Control-X-prefix.
14967 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14969 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14971 * window.el (window-state-get, window--state-get-1): Don't deal
14972 with fixed-sizeness of windows. Simplify code.
14974 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14976 * window.el (window--state-get-1, window--state-put-2):
14977 Don't save and restore the mark.
14979 2012-01-25 Chong Yidong <cyd@gnu.org>
14981 * custom.el (custom-variable-p): Doc fix.
14983 2012-01-25 Glenn Morris <rgm@gnu.org>
14985 * dired.el (dired-goto-file): Handle some of the more common
14986 characters that `ls -b' escapes. (Bug#10596)
14988 * progmodes/compile.el (compilation-next-error-function):
14989 Respect compilation-first-column in the "*compilation*" buffer.
14990 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14992 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14994 2012-01-24 Glenn Morris <rgm@gnu.org>
14996 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14998 2012-01-24 Julien Danjou <julien@danjou.info>
15000 * color.el (color-rgb-to-hsl): Fix value computing.
15001 (color-hue-to-rgb): New function.
15002 (color-hsl-to-rgb): New function.
15003 (color-clamp, color-saturate-hsl, color-saturate-name)
15004 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15005 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15007 2012-01-24 Glenn Morris <rgm@gnu.org>
15009 * vc/vc-rcs.el (vc-rcs-create-tag):
15010 * vc/vc-sccs.el (vc-sccs-create-tag):
15011 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15013 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15015 * eshell/esh-util.el (eshell-read-hosts-file):
15016 Skip comment lines. (Bug#10549)
15018 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15020 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15022 * subr.el (display-delayed-warnings): Doc fix.
15023 (collapse-delayed-warnings): New function to collapse identical
15025 (delayed-warnings-hook): Add it.
15027 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15029 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15031 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15032 (tramp-default-user-alist): Don't add "pscp".
15033 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15034 property "login-as", if set. (Bug#10530)
15036 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15038 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15039 "plink1" and "psftp". (Bug#10530)
15041 2012-01-21 Kenichi Handa <handa@m17n.org>
15043 * international/mule-cmds.el (prefer-coding-system): Show a
15044 warning message if the default value of file-name-coding-system
15047 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15049 * windmove.el (windmove-reference-loc):
15050 Fix windmove-reference-loc miscalculation.
15052 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15054 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15057 2012-01-21 Glenn Morris <rgm@gnu.org>
15059 * international/mule.el (auto-coding-alist): Add .tbz.
15061 * files.el (local-enable-local-variables): Doc fix.
15062 (inhibit-local-variables-regexps): Rename from
15063 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15064 Doc fix. Add some extensions from auto-coding-alist.
15065 (inhibit-local-variables-suffixes):
15066 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15067 (inhibit-local-variables-p):
15068 New function, extracted from set-auto-mode-1.
15069 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15070 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15071 (hack-local-variables): Doc fix. Make the mode-only case
15072 respect enable-local-variables and friends.
15073 Respect inhibit-local-variables-regexps for file-locals, but
15074 not for directory-locals.
15075 (set-visited-file-name):
15076 Take account of inhibit-local-variables-regexps.
15077 Whether it applies may change as the file name is changed.
15078 * jka-cmpr-hook.el (jka-compr-install):
15079 * jka-compr.el (jka-compr-uninstall):
15080 Update for inhibit-first-line-modes-suffixes name change.
15082 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15084 * help-macro.el (make-help-screen): Temporarily restore original
15085 binding for minor-mode-map-alist (Bug#10454).
15087 2012-01-19 Julien Danjou <julien@danjou.info>
15089 * color.el (color-name-to-rgb): Use the white color to find the max
15090 color component value and return correctly computed values.
15091 (color-name-to-rgb): Add missing float conversion for max value.
15093 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15095 * window.el (window--state-get-1, window-state-get): Do not use
15096 special state value for window-persistent-parameters.
15097 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15098 (window--state-put-2): Reset all window parameters to nil before
15099 assigning values of persistent parameters.
15101 2012-01-18 Alan Mackenzie <acm@muc.de>
15103 Eliminate sluggishness and hangs in fontification of "semicolon
15106 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15107 Change value 10000 -> 3000.
15108 (c-state-safe-place): Reformulate so it doesn't stack up an
15109 infinite number of wrong entries in c-state-nonlit-pos-cache.
15110 (c-determine-limit-get-base, c-determine-limit): New functions to
15111 determine backward search limits disregarding literals.
15112 (c-find-decl-spots): Amend commenting.
15113 (c-cheap-inside-bracelist-p): New function which detects "={".
15115 * progmodes/cc-fonts.el
15116 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15118 (c-font-lock-declarations): Fix an occurrence of point being
15119 undefined. Check additionally for point being in a bracelist or
15120 near a macro invocation without a semicolon so as to avoid a
15121 fruitless time consuming search for a declarator. Give a more
15122 precise search limit for declarators using the new
15125 2012-01-18 Glenn Morris <rgm@gnu.org>
15127 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15128 (set-auto-mode): Doc fixes.
15130 2012-01-17 Glenn Morris <rgm@gnu.org>
15132 * isearch.el (search-nonincremental-instead): Fix doc typo.
15134 * dired.el (dired-insert-directory): Handle newlines in directory name.
15135 (dired-build-subdir-alist): Unescape newlines in directory name.
15137 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15139 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15140 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15141 (tramp-action-terminal): Use it. (Bug#10530)
15143 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15145 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15147 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15149 * window.el (window-state-ignored-parameters): Remove variable.
15150 (window--state-get-1): Rename argument MARKERS to IGNORE.
15151 Handle persistent window parameters. Make copy of clone-of
15152 parameter only if requested. (Bug#10348)
15153 (window--state-put-2): Install a window parameter only if it has
15154 a non-nil value or an existing parameter shall be overwritten.
15156 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15158 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15160 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15162 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15163 don't pass the (nil) value of `upnode' to string-match.
15165 2012-01-14 Chong Yidong <cyd@gnu.org>
15167 * startup.el (command-line): Fix X resource class for cursorColor.
15168 Fix values recognized by the cursorBlink resource.
15170 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15172 * epg.el (epg--make-temp-file): Avoid permission race condition
15173 when running on old Emacs versions (bug#10403).
15175 2012-01-14 Glenn Morris <rgm@gnu.org>
15177 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15179 2012-01-13 Alan Mackenzie <acm@muc.de>
15181 Fix filling for when filladapt mode is enabled.
15183 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15184 c-mask-paragraph, pass in `fill-paragraph' rather than
15185 `fill-region-as-paragraph'. (This is a reversion of a previous
15187 * progmodes/cc-mode.el (c-basic-common-init):
15188 Make fill-paragraph-handle-comment buffer local and set it to nil.
15190 2012-01-13 Glenn Morris <rgm@gnu.org>
15192 * dired.el (dired-switches-escape-p): New function.
15193 (dired-insert-directory): Use dired-switches-escape-p.
15194 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15196 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15198 2012-01-12 Glenn Morris <rgm@gnu.org>
15200 * mail/sendmail.el (mail-mode): Update paragraph-separate for
15201 changes in adaptive-fill-regexp. (Bug#10276)
15203 2012-01-11 Alan Mackenzie <acm@muc.de>
15205 Fix Emacs bug #10463 - put `widen's around the critical spots.
15207 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
15208 widen around each invocation of c-state-pp-to-literal. Remove an
15209 unused let variable.
15211 2012-01-11 Glenn Morris <rgm@gnu.org>
15213 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15216 2012-01-10 Chong Yidong <cyd@gnu.org>
15218 * net/network-stream.el (network-stream-open-starttls):
15219 Avoid emitting a confusing error message when the server gives a bad
15220 response to the capability command.
15222 2012-01-10 Glenn Morris <rgm@gnu.org>
15224 * mail/unrmail.el (unrmail): Tweak previous change.
15226 2012-01-09 Chong Yidong <cyd@gnu.org>
15228 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15230 2012-01-08 Alan Mackenzie <acm@muc.de>
15232 Optimize font locking in long enum definitions.
15234 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15235 arm to a cond form to handle enums.
15236 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15237 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15239 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15241 * files.el (move-file-to-trash): Preserve default file modes on error.
15244 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246 * faces.el (set-face-attribute): Clarify the meaning of the nil
15249 * subr.el (with-selected-frame): Mention that the selected frame
15250 is restored (bug#9980).
15252 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15255 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15256 (password-read): Don't autoload unused function.
15258 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15260 * progmodes/which-func.el (which-func-mode): Turn into a
15261 non-interactive function and mark as obsolete (bug#10428).
15263 2012-01-06 Chong Yidong <cyd@gnu.org>
15265 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15266 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15267 functions, along with 1 and -1.
15269 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15271 * time.el (display-time-load-average)
15272 (display-time-default-load-average): Doc fixes. See the thread
15274 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15277 2012-01-06 Glenn Morris <rgm@gnu.org>
15279 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15280 has no messages. (Bug#10377)
15282 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15283 than Info-edit. (Bug#10385)
15285 * time.el (display-time-load-average, display-time-next-load-average):
15288 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15289 local setting of buffer-read-only to the input buffer. (Bug#10419)
15291 * calendar/calendar.el (calendar-mode):
15292 Locally set scroll-margin to 0. (Bug#10379)
15294 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15296 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15298 2012-01-05 Glenn Morris <rgm@gnu.org>
15300 * eshell/em-unix.el (diff-no-select): Autoload it.
15301 (eshell/diff): Use diff-no-select. (Bug#10420)
15303 2012-01-05 Chong Yidong <cyd@gnu.org>
15305 * shell.el (shell-dynamic-complete-functions): Revert last change.
15306 (shell-command-completion-function): New function.
15307 (shell-completion-vars): Use it to implement
15308 shell-completion-execonly (Bug#10417).
15310 * custom.el (enable-theme): Don't set custom-safe-themes.
15312 * cus-theme.el (custom-theme-merge-theme):
15313 Ignore custom-enabled-themes and custom-safe-themes.
15315 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15317 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15318 first prompt in `sql-interacive-mode'.
15319 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15321 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15322 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15323 context of original buffer. Invoke `sql-login-hook'.
15325 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15327 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15328 letters in cite-prefix.
15330 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15332 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15334 2012-01-03 Chong Yidong <cyd@gnu.org>
15336 * shell.el (shell-dynamic-complete-functions):
15337 Put pcomplete-completions-at-point, so as to try
15338 comint-filename-completion first (Bug#10417).
15340 2012-01-02 Richard Stallman <rms@gnu.org>
15342 * battery.el (battery-status-function):
15343 Detect when to use battery-yeeloong-sysfs.
15344 (battery-echo-area-format): Add string for Yeeloong.
15345 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15346 (battery-yeeloong-sysfs): New function.
15348 2012-01-02 Chong Yidong <cyd@gnu.org>
15350 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15351 (dirtrack): Merge code for handling relative filenames in prompt
15352 from shell-dir-cookie-watcher.
15353 (dirtrack-debug-message): New arg to avoid excess format calls.
15355 * shell.el (shell-dir-cookie-re): Variable deleted.
15356 (shell-dir-cookie-watcher): Function deleted.
15357 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15358 with dirtrack-mode.
15360 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15362 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15363 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15366 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15368 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15370 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15372 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15373 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15375 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15377 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15378 also for alternative shells.
15379 (tramp-open-connection-setup-interactive-shell): Check, whether
15380 the shell is a busybox.
15381 (tramp-send-command): Don't suppress multiple prompts for
15382 busyboxes, it hurts.
15384 2011-12-28 Chong Yidong <cyd@gnu.org>
15386 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15387 (gdb-get-source-file): Move mode line update to
15388 gdb-get-source-file (Bug#10087).
15390 2011-12-25 Chong Yidong <cyd@gnu.org>
15392 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15393 gud-gdb-marker-filter without taking it as an argument.
15394 (gud-gdb-run-command-fetch-lines): Caller changed.
15395 (gud-gdb-completion-function): New variable.
15396 (gud-gdb-completion-at-point): Use it.
15397 (gud-gdb-completions-1): Split from gud-gdb-completions.
15399 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15400 function as separate arguments.
15401 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15402 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15403 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15404 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15405 (gdb-stopped, def-gdb-auto-update-trigger)
15406 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15407 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15409 (gud-gdbmi-completions): New function.
15410 (gdb): Use it for generating the completion table.
15412 2011-12-24 Alan Mackenzie <acm@muc.de>
15414 Introduce a mechanism to widen the region used in context font
15415 locking. Use this to protect declarations from losing their contexts.
15417 * progmodes/cc-langs.el (c-before-font-lock-functions):
15418 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15419 (c-before-context-fontification-functions): New defvar, a list of
15420 functions to be run just before context (etc.) font locking.
15422 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15423 New, functionality extracted from
15424 c-neutralize-syntax-in-and-mark-CPP.
15425 (c-in-after-change-fontification): New variable.
15426 (c-after-change): Set c-in-after-change-fontification.
15427 (c-set-fl-decl-start): Rejig its interface, so it can be called
15428 from both after-change and context fontifying.
15429 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15431 (c-standard-font-lock-fontify-region-function): New variable.
15432 (c-font-lock-fontify-region): New function.
15434 2011-12-24 Juri Linkov <juri@jurta.org>
15436 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15439 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15441 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15442 existence of source file. (Bug#10325)
15444 2011-12-23 Alan Mackenzie <acm@muc.de>
15446 Fix unstable fontification inside templates.
15448 * progmodes/cc-langs.el (c-before-font-lock-functions):
15449 Newly created from the singular version. The (c c++ objc) entry now
15450 additionally has c-set-fl-decl-start. The other languages (apart
15451 from AWK) have that as a single entry.
15453 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15454 The functionality for "local" declarations has been extracted to
15455 c-set-fl-decl-start.
15457 * progmodes/cc-mode.el (c-common-init, c-after-change):
15458 Changes due to pluralisation of c-before-font-lock-functions.
15459 (c-set-fl-decl-start): New function, extracted from
15460 c-font-lock-enclosing-decls and enhanced.
15462 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15464 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15466 2011-12-22 Juri Linkov <juri@jurta.org>
15468 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15470 2011-12-22 Chong Yidong <cyd@gnu.org>
15472 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15474 2011-12-21 Drew Adams <drew.adams@oracle.com>
15476 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15478 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15480 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15482 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15484 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15485 highlighting and support. Fix up comments for capitalization.
15486 (cfengine-mode-debug): New var.
15487 (cfengine3-mode): Change the modeline indicator to "CFE3".
15488 (cfengine3-font-lock-keywords): Improve defun highlighting.
15489 (cfengine2-actions): Rename from `cfengine-actions'.
15490 (cfengine2-font-lock-keywords): Rename from
15491 `cfengine-font-lock-keywords'.
15492 (cfengine2-imenu-expression): Rename from
15493 `cfengine-imenu-expression'.
15494 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15495 (cfengine2-beginning-of-defun): Rename from
15496 `cfengine-beginning-of-defun'.
15497 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15498 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15499 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15500 modeline indicator to "CFE2".
15501 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15502 (cfengine-mode-abbrevs): Mark obsolete.
15504 2011-12-21 Chong Yidong <cyd@gnu.org>
15506 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15509 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15511 * window.el (window-normalize-buffer-to-display): Remove.
15512 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15514 2011-12-19 Chong Yidong <cyd@gnu.org>
15516 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15517 Don't signal an error in a predicate function; return non-nil.
15518 (vc-dir-mark-file): Move the error here.
15519 (vc-dir-mark-unmark): If acting on the region, keep going if one
15520 of the entries cannot be marked/unmarked.
15521 (vc-dir-mark-all-files): If current entry is a directory, mark
15522 only child files, as documented.
15524 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15526 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15527 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15530 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15532 * term/ns-win.el (ns-get-selection-internal)
15533 (ns-store-selection-internal): Declare.
15534 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15535 Declare as obsolete.
15536 (ns-get-pasteboard, ns-paste-secondary):
15537 Use ns-get-selection-internal.
15538 (ns-set-pasteboard, ns-copy-including-secondary):
15539 Use ns-store-selection-internal.
15541 2011-12-17 Chong Yidong <cyd@gnu.org>
15543 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15544 (vc-deduce-fileset): Doc fix.
15546 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15548 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15550 2011-12-13 Sam Steingold <sds@gnu.org>
15552 * man.el (Man-getpage-in-background): When running under a
15553 window-system, ignore $MANWIDTH and $COLUMNS.
15555 2011-12-15 Kenichi Handa <handa@m17n.org>
15557 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15558 (setup-ethiopic-environment-internal): Comment out key-binding for
15559 ethio-toggle-punctuation.
15561 2011-12-13 Alan Mackenzie <acm@muc.de>
15563 Add the switch statement to AWK Mode.
15565 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15566 "default" to the keywords regexp.
15568 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15569 expression as the rest.
15570 (c-nonlabel-token-key): Allow string literals for AWK.
15571 Refactor for the other modes.
15573 Large brace-block initialisation makes CC Mode slow: Fix.
15574 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15575 routines. Limit backward searching in c-font-lock-enclosing.decl.
15577 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15578 pp-state and literal type in addition to the limits.
15579 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15580 (c-state-literal-at): Use the above new defun.
15581 (c-slow-in-literal, c-fast-in-literal): Remove.
15582 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15584 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15585 being in a literal. Add a limit for backward searching.
15587 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15590 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15592 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15594 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15596 * window.el (delete-other-windows): Use correct frame in call to
15597 window-with-parameter.
15599 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15601 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15602 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15603 (makefile-gmake-statements, makefile-makepp-statements):
15604 Use it and add new makepp keywords.
15605 (makefile-makepp-font-lock-keywords): Add new patterns.
15606 (makefile-match-function-end): Match new [...] and [[...]].
15608 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15610 * ses.el (ses-call-printer-return, ses-cell-property-get)
15611 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15612 (ses-create-cell-variable, ses-reset-header-string)
15613 (ses-cell-set-formula, ses-repair-cell-reference-all)
15614 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15615 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15616 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15617 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15618 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15619 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15620 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15621 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15622 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15623 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15624 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15625 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15627 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15629 * ses.el: The overall change is to add cell renaming, that is
15630 setting fancy names for cell symbols other than name matching
15631 "\\`[A-Z]+[0-9]+\\'" regexp .
15632 (ses-create-cell-variable): New defun.
15633 (ses-relocate-formula): Relocate formulas only for cells the
15634 symbols of which are not renamed, i.e. symbols whose names do not
15635 match regexp "\\`[A-Z]+[0-9]+\\'".
15636 (ses-relocate-all): Relocate values only for cells the symbols of
15637 which are not renamed.
15638 (ses-load): Create cells variables as the (ses-cell ...) are read,
15639 in order to check row col consistency with cell symbol name only
15640 for cells that are not renamed.
15641 (ses-replace-name-in-formula): New defun.
15642 (ses-rename-cell): New defun.
15644 2011-12-11 Chong Yidong <cyd@gnu.org>
15646 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15647 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15649 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15651 * window.el (other-window): Fix docstring.
15653 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15655 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15656 `from' or `to' address before taking its substring.
15657 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15658 encoded name is chopped in the middle of the encoded string, and
15659 thus displayed encoded.
15661 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15663 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15665 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15667 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15668 to use texinfo-update-node and commands that call it if the
15669 Texinfo file uses @node lines without next/prev/up pointers.
15670 Correct outdated description about texinfo-master-menu.
15671 (texinfo-all-menus-update, texinfo-master-menu)
15672 (texinfo-update-node, texinfo-every-node-update)
15673 (texinfo-multiple-files-update): Doc fix. Warn against updating
15674 all the @node lines.
15675 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15676 argument is numeric. Explain better in the doc string what the
15677 function really does.
15678 (texinfo-insert-master-menu-list): Improve the error message
15679 displayed if there's no menu in the Top node.
15680 (Bug#2975) See also this thread:
15681 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15683 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15685 * speedbar.el (speedbar-supported-extension-expressions):
15686 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15688 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15690 * printing.el (pr-mode-alist):
15691 * simple.el (filter-buffer-substring-functions)
15692 (completion-list-insert-choice-function):
15693 * window.el (window-with-parameter, window-atom-root)
15694 (window-sides-slots, window-size-fixed, window-min-delta)
15695 (window-max-delta, window--resize-mini-window)
15696 (window--resize-child-windows-normal, window-tree)
15697 (delete-other-windows, quit-window, split-window)
15698 (display-buffer-record-window, special-display-buffer-names)
15699 (special-display-regexps, special-display-popup-frame)
15700 (same-window-p, split-window-sensibly)
15701 (display-buffer-overriding-action, display-buffer-alist)
15702 (display-buffer-base-action, display-buffer, switch-to-buffer)
15703 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15704 (fit-window-to-buffer, recenter-positions)
15705 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15706 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15707 and remove unneeded backslashes in docstrings.
15709 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15711 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15713 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15714 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15716 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15717 when reading the makefile (bug#10116).
15719 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15721 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15724 2011-12-06 Glenn Morris <rgm@gnu.org>
15726 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15728 2011-12-06 Chong Yidong <cyd@gnu.org>
15730 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15732 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15734 * textmodes/table.el (table-shorten-cell): Fix typo.
15736 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15738 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15740 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15742 * descr-text.el (describe-char): Fix display of strong
15743 right-to-left characters and directional embeddings and overrides.
15745 * simple.el (what-cursor-position): Fix display of codepoints of
15746 strong right-to-left characters.
15748 2011-12-05 Chong Yidong <cyd@gnu.org>
15750 * faces.el (read-color): Doc fix.
15752 2011-12-05 Glenn Morris <rgm@gnu.org>
15754 * align.el (align--set-marker): Add doc-string.
15755 Don't try to move something that is not a marker. (Bug#10216)
15757 2011-12-04 Glenn Morris <rgm@gnu.org>
15759 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15760 overly zealous deletion of trailing whitespace.
15762 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15764 * server.el (server-delete-client): On Windows, do not try to delete
15766 (server-process-filter): On Windows, treat requests for a tty frame as
15767 if they were for a GUI frame if the running server is in GUI mode.
15769 2011-12-03 Glenn Morris <rgm@gnu.org>
15771 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15773 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * electric.el: Streamline electric-indent's hook.
15776 (electric-indent-chars): Revert to simple list.
15777 (electric-indent-functions): New var.
15778 (electric-indent-post-self-insert-function): Use it.
15780 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15781 there's no inferior buffer (bug#10196).
15782 (prolog-consult-compile): Don't use toggle-read-only.
15784 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15786 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15787 interrupt. (Bug#10187)
15789 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15791 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15794 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15797 2011-12-02 Juri Linkov <juri@jurta.org>
15799 * info.el (Info-search): Display "end of manual" when Isearch
15800 reaches the end of single-file Info manual. (Bug#9918)
15802 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15804 * isearch.el (isearch-message-prefix): Run the input method part
15805 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15807 2011-12-02 Juri Linkov <juri@jurta.org>
15809 * isearch.el (isearch-occur): Use `word-search-regexp' for
15811 (isearch-search-and-update): Add condition for `isearch-word' and
15812 call `word-search-regexp'. (Bug#10145)
15814 2011-12-01 Glenn Morris <rgm@gnu.org>
15816 * eshell/em-hist.el (eshell-hist-initialize):
15817 Handle eshell-history-size nil and HISTSIZE set or unset.
15818 (eshell-history-file-name, eshell-history-size): Fix custom type.
15820 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15822 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15824 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15826 * progmodes/verilog-mode.el (verilog-pretty-expr):
15827 Rework verilog-pretty-expr to handle new assignment operators in system
15828 verilog, such as += *= and the like.
15829 (verilog-assignment-operator-re): Regular expression to find the
15830 assigment operator in a verilog assignment.
15831 (verilog-assignment-operation-re): Regular expression to find an
15832 assignment statement for pretty-expr.
15833 (verilog-in-attribute-p): Query returns true if point is in an
15834 attribute context; used to skip these for expression line up from
15836 (verilog-in-parameter-p): Query returns true if point is in an
15837 parameter definition context; used to skip these for expression
15838 line up from pretty-expr.
15839 (verilog-in-parenthesis-p): Query returns true if point is in a
15840 parenthetical expression, specifically ( ) but not [ ] or { };
15841 used by pretty-expr.
15842 (verilog-just-one-space): If there is no space, don't add one.
15843 (verilog-get-lineup-indent-2): Specifically skip just attribute
15844 contexts for expression lineup, rather than skipping all
15845 parenthetical expressions.
15846 (verilog-calculate-indent): Fix comment, and fix indent.
15847 (verilog-do-indent): Indent declarations in lists (suggested by
15849 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15851 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15854 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15856 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15857 parameters with embedded comments. Reported by Ray Stevens.
15858 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15859 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15860 Reported by Tim Holt.
15861 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15862 instantiated by upper module causing wrong expansion until AUTOed a
15863 second time. Reported by K C Buckenmaier.
15864 (verilog-diff-auto): Fix showing .* as a difference when
15865 `verilog-auto-star-save' off. Reported by Dan Dever.
15866 (verilog-auto-reset, verilog-read-always-signals)
15867 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15868 temporary signals in reset list if
15869 verilog-auto-reset-blocking-in-non is nil, and match assignment
15870 style to each signal's assignment type, bug381.
15871 Reported by Thomas Esposito.
15872 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15873 (verilog-uvm-statement-re): Support UVM indentation and
15874 highlighting, with old OVM keywords only.
15875 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15876 Support AUTOTIEOFF creating non-wire data types.
15877 Suggested by Jonathan Greenlaw.
15878 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15879 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15880 (verilog-inject-sense, verilog-read-inst-pins)
15881 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15882 Fix mismatching parenthesis inside commented out code when deleting
15883 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15884 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15885 non-numeric vector width. Reported by Alex Reed.
15886 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15887 detecting signals with parameter widths. Reported by Alex Reed.
15888 (verilog-auto-delete-trailing-whitespace):
15889 With `verilog-auto-delete-trailing-whitespace' remove trailing
15890 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15891 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15892 Fix verilog-scan-cache corruption when running user AUTO expansion
15893 hooks that call indentation routines.
15894 (verilog-simplify-range-expression): Fix typo ignoring lower case
15896 (verilog-delete-auto): Fix delete-autos to also remove user created
15897 automatics, as long as they start with AUTO.
15898 (verilog-batch-diff-auto, verilog-diff-auto)
15899 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15900 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15901 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15902 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15903 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15904 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15905 is disabled and its cache will get corrupt, causing AUTOS not to
15906 expand. Instead use only -quick functions.
15907 (verilog-scan-region): Fix scanning over escaped quotes.
15908 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15909 (verilog-re-search-backward-quick)
15910 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15911 related functions now ignore strings, to fix misparsing of strings
15912 with magic comments embedded in them.
15913 (verilog-read-auto-template):
15914 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15915 Reported by Brad Dobbie.
15916 (verilog-read-auto-template):
15917 Fix 'verilog-auto-inst-template-numbers' with comments.
15918 Reported by Brad Dobbie.
15919 (verilog-auto-inst, verilog-auto-inst-param)
15920 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15921 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15922 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15923 debugging templates without merge conflicts, bug357.
15924 Reported by Brad Dobbie.
15925 (verilog-read-auto-template):
15926 Fix verilog-auto-inst-template-numbers with multiple templates.
15927 Reported by Brad Dobbie.
15928 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15929 abbrevs so user won't be asked to save.
15930 (verilog-read-auto-lisp-present): Fix to start at beginning of
15931 buffer in case called outside of verilog-auto.
15932 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15933 to "X-2". Reported by Matthew Myers.
15934 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15935 all inputs from module templates. Reported by Leith Johnson.
15936 (verilog-module-inside-filename-p): Fix locating programs as with
15938 (verilog-auto-inst-port): Fix vl-width expressions when using
15939 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15940 (verilog-decls-get-regs, verilog-decls-get-signals,
15941 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15942 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15943 verilog-read-decls): Combine reg and wire structures into one var
15944 structure to represent SystemVerilog concepts.
15945 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15946 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15947 (verilog-auto-wire-type, verilog-insert-definition):
15948 Add verilog-auto-wire-type and AUTOLOGIC to support using
15949 SystemVerilog "logic" keyword instead of "wire"/"reg".
15950 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15951 to declares outputs that also have assignments (presumably in an
15952 ifdef or generate if so there's not a driver conflict).
15953 Reported by Matthew Myers.
15954 (verilog-auto-declare-nettype, verilog-insert-definition):
15955 Add verilog-auto-declare-nettype to fix declarations using
15956 `default_nettype none. Reported by Julian Gorfajn.
15957 (verilog-read-always-signals-recurse, verilog-read-decls)
15958 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15959 malformed end statement, bug325. Reported by Joshua Wise and
15961 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15962 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15963 when expanding .* in interfaces, bug320.
15964 Reported by Pierre-David Pfister.
15965 (verilog-read-module-name): Fix import statements between module
15966 name and open parenthesis, bug317.
15967 Reported by Pierre-David Pfister.
15968 (verilog-simplify-range-expression): Fix simplification of
15969 multiplications inside AUTOWIRE connections, bug303.
15970 (verilog-auto-inst-port): Support parameter expansion in
15971 multidimensional arrays.
15972 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15973 after "assert property". Reported by Julian Gorfajn.
15974 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15975 with multiplication, bug303.
15976 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15977 Reported by Jan Frode Lonnum.
15979 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15981 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15982 (hfy-shell-file-name, hfy-shell):
15983 * international/fontset.el (x-decompose-font-name): Fix typos.
15985 2011-11-29 Ken Brown <kbrown@cornell.edu>
15987 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15988 (gdb-version): Remove defvar.
15989 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15990 (gdb-gud-context-command, gdb-non-stop-handler)
15991 (gdb-current-context-command, gdb-stopped): Use it.
15992 (gdb-init-1): Enable pretty printing here.
15993 (gdb-non-stop-handler): Don't enable pretty-printing here.
15994 Check to see if the target supports non-stop mode; if not, turn off
15995 non-stop mode. Use the following.
15996 (gdb-check-target-async): New defun.
15997 (gud-watch, gdb-stopped): Fix whitespace.
15998 (gdb-get-source-file): Don't try to display the source file if
15999 `gdb-main-file' is nil.
16001 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16003 * align.el: Try to generate fewer markers (bug#10047).
16004 (align--set-marker): New macro.
16005 (align-region): Use it.
16007 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16009 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16011 2011-11-29 Chong Yidong <cyd@gnu.org>
16013 * indent.el (indent-for-tab-command, indent-according-to-mode):
16015 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16017 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16019 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16020 aware of remote file names. (Bug#10124)
16022 2011-11-29 Chong Yidong <cyd@gnu.org>
16024 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16026 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16028 * files.el (find-file): Don't use force-same-window (bug#10144).
16029 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16030 use pop-to-buffer if the selected window can't be used.
16031 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16033 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16035 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16038 2011-11-28 Chong Yidong <cyd@gnu.org>
16040 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16042 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16044 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16045 gdb-get-source-file-list on gdb-create-source-file-list.
16047 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16049 * whitespace.el (whitespace-newline): Use a different foreground
16050 color for 16-color light-background displays.
16052 2011-11-24 Chong Yidong <cyd@gnu.org>
16054 * window.el (display-buffer--special-action): Doc fix.
16056 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16058 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16059 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16060 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16061 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16062 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16063 (avl-tree-stack-first):
16064 * emacs-lisp/cconv.el (cconv--analyse-use):
16065 * net/gnutls.el (gnutls-negotiate): Fix typos.
16067 2011-11-24 Glenn Morris <rgm@gnu.org>
16069 * lpr.el (lpr-windows-system, lpr-lp-system):
16070 * mail/binhex.el (binhex-begin-line):
16071 * progmodes/grep.el (grep-history, grep-find-history):
16072 * textmodes/flyspell.el:
16073 * vc/pcvs-defs.el (cvs-global-menu):
16074 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16075 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16076 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16078 * net/tls.el: Fix case of "GnuTLS".
16080 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16082 * version.el (emacs-build-system): Give it a doc-string.
16084 2011-11-24 Juri Linkov <juri@jurta.org>
16086 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16088 2011-11-24 Glenn Morris <rgm@gnu.org>
16090 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16091 if called on a non-mime message just toggle the headers. (Bug#8006)
16093 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16095 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16096 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16097 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16098 (allout-rebullet-heading, allout-open-sibtopic)
16099 (allout-toggle-current-subtree-encryption)
16100 (allout-toggle-subtree-encryption, allout-encrypt-string)
16101 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16102 (allout-distinctive-bullets-string, allout-auto-activation):
16103 * window.el (window-normalize-buffer-to-display):
16104 * progmodes/verilog-mode.el (verilog-batch-indent):
16105 * textmodes/bibtex.el (bibtex-field-braces-opt)
16106 (bibtex-field-strings-opt):
16107 * vc/cvs-status.el (cvs-tree-merge):
16110 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16112 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16113 `non-essential' to t, in order to avoid remote connections.
16115 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16117 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16118 On MS-DOS and MS-Windows, compare with loaddefs.el
16119 case-insensitively.
16121 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16123 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16125 2011-11-23 Glenn Morris <rgm@gnu.org>
16127 * paths.el (rmail-file-name): Reformat the doc-string so that it
16130 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16131 (rmail-auto-file): Ignore case in the "special" field names,
16132 as mail-fetch-field does for all others.
16134 * mail/rmail.el (rmail-forward):
16135 * mail/rmailkwd.el (rmail-set-label):
16136 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16137 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16139 * mail/rmail.el (rmail-current-message): Doc fix.
16141 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16143 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16145 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16147 2011-11-22 Glenn Morris <rgm@gnu.org>
16149 * mail/rmailmm.el (test-rmail-mime-handler)
16150 (test-rmail-mime-bulk-handler)
16151 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16153 2011-11-21 Juri Linkov <juri@jurta.org>
16155 * calc/calc.el (calc-read-key-sequence):
16156 Let-bind `input-method-function' to nil. (Bug#10018)
16158 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16160 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16161 Tell the caller that the next line needs recomputation, even
16162 though it doesn't start a sexp (bug#10094).
16164 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16166 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16168 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16171 Use force-same-window.
16173 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16175 * descr-text.el (describe-char-unicode-data):
16176 * json.el (json-string-escape):
16177 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16178 (Footnote-unicode, Footnote-style-p):
16179 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16181 2011-11-20 Chong Yidong <cyd@gnu.org>
16183 * window.el (replace-buffer-in-windows): Restore interactive spec.
16185 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16187 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16189 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16190 (byte-compile-global-not-obsolete-vars): New var.
16191 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16193 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16195 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16197 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16198 * progmodes/pascal.el (electric-pascal-equal):
16199 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
16200 * xml.el (xml-substitute-special): Fix typos.
16202 2011-11-20 Glenn Morris <rgm@gnu.org>
16204 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
16205 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
16207 (rmail-decode-mime-charset): Mark as obsolete.
16209 * mail/rmailsum.el (rmail-message-regexp-p-1):
16210 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
16211 Before using mime functions, check they are set. (Bug#10077)
16213 2011-11-19 Juri Linkov <juri@jurta.org>
16215 * info.el (Info-finder-find-node): Use `package--builtins' instead
16216 of `package-alist'. Use node names formed by the pattern "Keyword "
16217 and the keyword name.
16219 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16221 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16223 2011-11-19 Juri Linkov <juri@jurta.org>
16225 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16226 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16227 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16228 `old-history', `old-history-forward'. Add let-binding
16229 `window-selected'. Remove calls to `kill-buffer',
16230 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16231 before calling `Info-find-node', so `Info-find-node-2' will reread
16232 the Info file. Restore window positions only when `window-selected'
16235 2011-11-19 Juri Linkov <juri@jurta.org>
16237 * isearch.el (isearch-lazy-highlight-new-loop):
16238 Remove condition `(not isearch-error)'. (Bug#9918)
16240 * misearch.el (multi-isearch-search-fun): Add condition
16241 `(not bound)' to ignore lazy-highlighting search.
16242 Add the search-failed message "end of multi" when the end of
16243 multi-sequence is reached. Uncapitalize the search-failed
16244 message "Repeat for next buffer".
16246 * info.el (Info-search): Add the search-failed message
16247 "end of the manual" when the end of the manual is reached
16250 2011-11-19 Juri Linkov <juri@jurta.org>
16252 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16253 Use non-destructive `remove' instead of `delete' because
16254 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16255 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16257 2011-11-19 Juri Linkov <juri@jurta.org>
16259 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16260 to nil instead of binding `search-ring' and `regexp-search-ring'.
16263 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16265 * simple.el (line-move): Force movement by logical lines for any
16266 hscrolled window, not only when auto-hscroll-mode is on.
16267 (line-move-visual): Update doc string to that effect. (Bug#10076)
16269 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16271 * language/european.el (macintosh): Define as alias for mac-roman.
16273 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16275 * mail/rmailmm.el (rmail-mime-display-header)
16276 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16277 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16278 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16279 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16280 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16282 (rmail-mime-entity-segment): To get past the tagline, move forward
16283 2 more lines, to account for the 2 empty lines that precede and
16284 follow the line with the buttons.
16285 (rmail-mime-update-tagline): Move one more line, to get past the
16286 empty line that follows the buttons in the tagline. (Bug#9520)
16288 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16290 * window.el (window-max-delta-1, window-min-delta-1)
16291 (window-min-size-1, window-state-get-1, window-state-put-1)
16292 (window-state-put-2): Use "window--" prefix.
16294 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16297 (smie-warning-count): New var.
16298 (smie-set-prec2tab): Use it.
16299 (smie-bnf->prec2): Improve warnings. Add docstring.
16300 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16301 (smie-bnf--set-class): New function.
16302 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16305 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16306 (compilation-error-properties, compilation-move-to-column):
16307 Handle compilation-first-column while in the target buffer.
16309 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16310 Don't hardcode point-min==1.
16312 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16313 (eshell-rewrite-for-command): Remove workaround.
16314 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16315 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16316 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16318 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16320 2011-11-17 Glenn Morris <rgm@gnu.org>
16322 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16323 Ignore buffer-local generated-autoload-file if it is the same
16324 as the global value. (Bug#10049)
16326 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16328 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16329 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16330 (reftex-toc-previous-heading, reftex-toc-max-level)
16331 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16332 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16333 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16334 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16335 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16336 (reftex-toc-rename-label, reftex-toc-visit-location)
16337 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16338 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16339 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16340 leaving "*toc*" only for references to the buffer.
16342 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16344 * window.el (window-resize, delete-window, split-window):
16345 Replace window-splits by window-combination-resize.
16346 * cus-start.el (window-splits): Replace by window-combination-resize.
16348 2011-11-17 Glenn Morris <rgm@gnu.org>
16350 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16351 Make bash entry derive from sh entry, not shell entry.
16353 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16355 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16358 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16360 * menu-bar.el (menu-bar-file-menu):
16361 * printing.el (pr-ps-utility):
16362 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16363 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16364 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16365 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16366 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16367 (icalendar--convert-cyclic-to-ical)
16368 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16369 (icalendar--convert-ical-to-diary)
16370 (icalendar--convert-recurring-to-diary)
16371 (icalendar--convert-non-recurring-all-day-to-diary)
16372 (icalendar-import-format-sample):
16373 * progmodes/idlw-shell.el (idlwave-shell-mode):
16374 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16375 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16376 (vhdl-ps-print-init): Fix typos.
16378 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16380 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16381 FSF and collapse date sequence, obscure author/maintainer email address
16382 better, remove extra version line, track relocation of author's webpage.
16384 * progmodes/python.el (python-pdbtrack-input-prompt)
16385 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16386 regular python pdb prompts. Adjustments shamelessly taken exactly as
16387 suggested in EmacsWiki page (tiny change):
16388 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16390 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16392 * expand.el (expand-pos, expand-index, expand-point):
16393 Remove redundant info from docstring.
16394 (expand-add-abbrevs): Doc fix.
16395 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16396 (expand-sample-perl-mode-expand-list): Fix typos.
16398 * net/dbus.el (dbus-event-member-name):
16399 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16400 * term/pc-win.el (msdos-create-frame-with-faces):
16401 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16403 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16405 * window.el (split-window, window-state-get-1)
16406 (window-state-put-1, window-state-put-2): Rename occurrences of
16407 window-nest to window-combination-limit.
16408 * cus-start.el (window-nest): Rename to window-combination-limit.
16410 2011-11-16 Chong Yidong <cyd@gnu.org>
16412 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16413 regexp (Bug#10033).
16415 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16417 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16418 `completing-read' will remove *Completions* and will preserve
16419 current-buffer for us.
16420 (tmm-add-prompt): Users of *Completions* will always (re)set its
16422 (tmm-old-comp-map): Remove.
16424 2011-11-16 Glenn Morris <rgm@gnu.org>
16426 * mail/rmailedit.el: Require rmailmm when compiling.
16427 (rmail-old-mime-state): New declaration.
16428 (rmail-edit-current-message): If editing a mime message,
16429 edit the "raw" message from the mbox buffer.
16430 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16432 2011-11-15 Glenn Morris <rgm@gnu.org>
16434 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16435 which wasn't being used. Add optional arg to force given state.
16436 (rmail-mime): Add optional arg to force given state.
16438 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16440 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16441 * frame.el (display-mm-dimensions-alist):
16442 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16443 (outline-move-subtree-down):
16444 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16445 (newsticker--treeview-do-get-node):
16446 * net/quickurl.el (quickurl-list-buffer-name):
16447 * progmodes/dcl-mode.el (dcl-mode):
16448 * progmodes/gdb-mi.el (gdb-mapcar*):
16449 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16451 2011-11-15 Glenn Morris <rgm@gnu.org>
16453 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16454 in a boolean sense, so just make it a boolean, and fix the doc.
16455 (rmail-show-mime-function, rmail-mime-feature)
16456 (rmail-require-mime-maybe): Doc fixes.
16457 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16459 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16461 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16463 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16464 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16465 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16466 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16468 2011-11-15 Glenn Morris <rgm@gnu.org>
16470 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16471 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16472 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16473 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16474 (rmail-mime, rmail-show-mime): Doc fixes.
16476 * term/ns-win.el (mode-line-frame-identification):
16477 Leave it alone. (Bug#10051)
16479 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16481 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16482 Handle empty buffers. (Bug#9978)
16484 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16486 * international/mule.el (define-charset):
16487 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16488 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16489 * progmodes/verilog-mode.el (verilog-backward-token):
16490 * textmodes/ispell.el (lookup-words):
16491 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16493 2011-11-14 Glenn Morris <rgm@gnu.org>
16495 * progmodes/executable.el
16496 (executable-make-buffer-file-executable-if-script-p):
16497 Handle file-modes returning nil.
16499 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16500 message - not necessary, and causes problems. (Bug#9831)
16502 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16504 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16506 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16507 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16508 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16510 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16512 * window.el (window-resize, delete-window): Use window-splits
16513 variable instead of function.
16514 (window-state-get-1, window-state-put-2, window-state-put):
16515 Don't deal with windows' splits status.
16517 2011-11-12 Glenn Morris <rgm@gnu.org>
16519 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16520 (apropos-documentation): Doc fixes.
16522 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16524 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16525 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16527 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16529 * electric.el (electric-indent-post-self-insert-function): Make it
16530 possible for a char to only indent in some circumstances.
16531 (electric-indent-mode): Simplify.
16533 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16535 * window.el (windows-with-parameter): Remove unused function.
16536 (windows-at-side): Rename to window-at-side-list.
16537 (window-check, window-atom-check, window-atom-check-1)
16538 (window-side-check, window-size-ignore, window-size-fixed-1)
16539 (window-in-direction-2): Prefix with "window--".
16540 (window-tree-1): Rename to window--subtree, fix doc-string.
16542 2011-11-11 Glenn Morris <rgm@gnu.org>
16544 * subr.el (eval-after-load): If FILE is already loaded,
16545 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16547 2011-11-10 Glenn Morris <rgm@gnu.org>
16549 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16550 Call svn via vc-svn-command rather than vc-do-command.
16551 (vc-svn-command): Add --non-interactive. (Bug#9993)
16552 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16554 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16555 Add toggle-read-only. (Bug#7292)
16556 * files.el (toggle-read-only): Mention that it should only
16557 be used interactively. (Bug#10006)
16559 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16562 Adjust regexp for OCaml warnings.
16564 * electric.el (electric-pair-post-self-insert-function): Let user
16565 turn it off buffer-locally (bug#9932).
16567 * progmodes/python.el (python-beginning-of-statement):
16568 Rewrite (bug#2703).
16570 * progmodes/compile.el: Better handle TABs (bug#9749).
16571 (compilation-internal-error-properties)
16572 (compilation-next-error-function): Obey the target buffer's
16573 compilation-error-screen-columns.
16575 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16577 * progmodes/meta-mode.el: Remove obsolete comments.
16578 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16579 Fix typos in docstrings.
16581 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16583 * window.el (window-size-fixed-p): Rewrite doc-string.
16584 (window-resizable-p): Rename to window--resizable-p. Update callers.
16585 (window--resizable): New function. Make all callers of
16586 window-resizable call window--resizable instead.
16587 (window-resizable): Rewrite in terms of window--resizable.
16589 2011-11-08 Glenn Morris <rgm@gnu.org>
16591 * progmodes/delphi.el (delphi-mode-syntax-table):
16592 Let define-derived-mode define a proper syntax table. (Bug#9994)
16594 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16596 * window.el: Stay away from defsubst.
16597 (window-list-no-nils): Remove.
16598 (window-state-get-1, window-state-get): Use backquote instead.
16600 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16602 * emacs-lisp/find-func.el (find-function-read):
16603 Fix incorrect use of default argument in `completing-read'.
16605 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16607 * window.el (display-buffer-function, special-display-function):
16608 Mention display-buffer-record-window but do not mention
16609 help-setup parameter in doc-strings.
16610 (window-min-delta): Fix doc-string typo.
16612 2011-11-08 Chong Yidong <cyd@gnu.org>
16614 * window.el (window-total-height, window-total-width): Doc fix.
16615 (window-body-size): Move from C.
16616 (window-body-height, window-body-width): Move to C.
16618 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16620 * window.el: Make special-display like display-buffer-alist (bug#9532).
16621 (display-buffer--special-action): New function, morphed
16622 from display-buffer--special.
16623 (display-buffer): Use it to handle special-display-buffers at higher
16624 priority (just after display-buffer-alist).
16625 (display-buffer-fallback-action, display-buffer--other-frame-action)
16626 (pop-to-buffer-same-window): Remove display-buffer--special.
16628 2011-11-07 Glenn Morris <rgm@gnu.org>
16630 * calendar/cal-menu.el (cal-menu-set-date-title):
16631 Do nothing if not in a calendar. (Bug#9976)
16633 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16635 * files.el (find-file): Always use selected-window.
16637 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16639 * window.el (window-combinations): Make WINDOW argument
16640 mandatory. Rewrite doc-string.
16641 (walk-window-subtree, window-atom-check, window-min-delta)
16642 (window-max-delta, window--resize-this-window)
16643 (window--resize-root-window-vertically, window-tree)
16644 (balance-windows, window-state-put): Rewrite doc-strings as to
16645 not mention the term "subwindow".
16646 (window--resize-subwindows-skip-p): Rename to
16647 window--resize-child-windows-skip-p.
16648 (window--resize-subwindows-normal): Rename to
16649 window--resize-child-windows-normal.
16650 (window--resize-subwindows): Rename to
16651 window--resize-child-windows.
16652 (window-or-subwindow-p): Rename to window--in-subtree-p.
16654 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16656 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16657 Ensure that mbox format messages end in two newlines (Bug#9974).
16659 2011-11-06 Chong Yidong <cyd@gnu.org>
16661 * window.el (window-combination-p): Function deleted; its
16662 side-effect is not used in any existing code.
16663 (window-combinations, window-combined-p): Call window-*-child
16666 2011-11-05 Chong Yidong <cyd@gnu.org>
16668 * window.el (window-valid-p): Rename from window-any-p.
16669 (window-size-ignore, window-state-get): Callers changed.
16670 (window-normalize-window): Rename from window-normalize-any-window.
16671 New arg LIVE-ONLY, replacing window-normalize-live-window.
16672 (window-normalize-live-window): Delete.
16673 (window-combination-p, window-combined-p, window-combinations)
16674 (walk-window-subtree, window-atom-root, window-min-size)
16675 (window-sizable, window-sizable-p, window-size-fixed-p)
16676 (window-min-delta, window-max-delta, window-resizable)
16677 (window-resizable-p, window-full-height-p, window-full-width-p)
16678 (window-current-scroll-bars, window-point-1, set-window-point-1)
16679 (window-at-side-p, window-in-direction, window-resize)
16680 (adjust-window-trailing-edge, maximize-window, minimize-window)
16681 (window-deletable-p, delete-window, delete-other-windows)
16682 (record-window-buffer, unrecord-window-buffer)
16683 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16684 (quit-window, split-window, window-state-put)
16685 (set-window-text-height, fit-window-to-buffer)
16686 (shrink-window-if-larger-than-buffer): Callers changed.
16688 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16690 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16691 rfc2047-decode-string.
16692 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16695 * window.el (window-body-height, window-body-width): Mention in
16696 the doc string that the return values are in frame's canonical
16699 2011-11-03 Alan Mackenzie <acm@muc.de>
16701 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16702 change in cc-engine.el.
16704 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16706 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16708 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16710 * window.el (quit-window): Call unrecord-window-buffer after
16711 showing another buffer in the window. (Bug#9937)
16712 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16714 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16716 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16717 Accept status with more than 9 shelves. (Bug#9935)
16718 Reported by Colin D Bennett <colin@gibibit.com>.
16720 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16722 * help.el (with-help-window): Don't reference
16723 temp-buffer-show-specifiers in doc-string.
16725 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16727 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16730 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16732 * whitespace.el: New version 13.2.2.
16733 (whitespace-newline-mode): Disable properly. Reported by Sarah
16736 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16738 * net/newst-treeview.el: Remove "Time-stamp".
16739 (newsticker--group-manage-orphan-feeds): Do not call
16740 newsticker--treeview-tree-update.
16741 (newsticker-treeview-update, newsticker-treeview):
16742 Call newsticker--treeview-tree-update if necessary.
16744 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16746 * window.el (window-iso-combination-p, window-iso-combined-p)
16747 (window-iso-combinations): Remove "iso-" infix.
16748 Suggested by Chong Yidong.
16749 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16750 (window-max-delta-1, window-resize, window--resize-siblings)
16751 (window--resize-this-window, adjust-window-trailing-edge)
16752 (split-window, balance-windows-1)
16753 (shrink-window-if-larger-than-buffer):
16754 * calendar/calendar.el (calendar-generate-window):
16755 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16757 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16759 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16760 in place (bug#9907).
16761 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16762 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16763 (eshell-structure-basic-command, eshell-rewrite-while-command)
16764 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16765 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16766 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16767 (eshell-do-pipelines-synchronously, eshell-eval-command):
16768 Use backquotes and prefer setq to set.
16769 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16770 (eshell-macrop): Use functionp.
16771 (eshell-do-eval): Handle multiple expressions in `while' body.
16773 2011-10-30 Chong Yidong <cyd@gnu.org>
16775 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16776 instead of set-mark (Bug#9810).
16778 2011-10-30 Chong Yidong <cyd@gnu.org>
16780 * window.el (split-window-below, split-window-right): Rename from
16781 split-window-above-each-other and split-window-side-by-side
16782 respectively. All callers changed.
16783 (split-window-sensibly, split-window-sensibly): Use them.
16784 (split-window-keep-point): Doc fix.
16786 * isearch.el: Add isearch-scroll property to split-window-below
16787 and split-window-right.
16789 * follow.el (follow-mode):
16790 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16791 * progmodes/ada-xref.el (ada-gdb-application):
16792 * emulation/vip.el (vip-buffer-in-two-windows):
16793 * image-dired.el (image-dired-dired-with-window-configuration):
16794 * dired-x.el (dired-do-find-marked-files):
16795 * dired.el (dired-pop-to-buffer):
16796 * bs.el (bs--show-with-configuration):
16797 * vc/emerge.el (emerge-setup-windows):
16798 * textmodes/two-column.el (2C-two-columns):
16799 * textmodes/reftex-toc.el (reftex-toc):
16800 * progmodes/gdb-mi.el (gdb-setup-windows):
16801 * progmodes/fortran.el (fortran-window-create):
16802 * net/newst-treeview.el (newsticker--treeview-window-init):
16803 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16804 * emulation/tpu-edt.el (tpu-gold-map):
16805 * emulation/crisp.el (crisp-mode-map):
16806 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16808 2011-10-29 Chong Yidong <cyd@gnu.org>
16810 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16812 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16814 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16815 forged Ispell output (Bug#7904).
16817 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16819 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16821 * doc-view.el: Avoid ugly errors about not finding nil.
16822 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16823 (doc-view-dvipdf-program, doc-view-unoconv-program)
16824 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16825 Avoid nil or absolute file name as default value.
16826 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16828 2011-10-28 Alan Mackenzie <acm@muc.de>
16830 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16832 2011-10-28 Alan Mackenzie <acm@muc.de>
16834 Amend the handling of c-beginning/end-of-defun in nested declaration
16837 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16838 cc-langs.el. Change it to a defcustom.
16840 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16843 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16844 Prevent "class foo : bar" being spuriously recognized as a label.
16846 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16847 Add parameter `inclusive' (to include enclosing braces in the region).
16848 (c-widen-to-enclosing-decl-scope): New function.
16849 (c-while-widening-to-decl-block): New macro.
16850 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16851 outward for defun boundaries, and correspondingly change symbol
16852 `respect-enclosure' to `go-outward'.
16853 (c-declaration-limits): Change algorithm to report only the "innermost"
16854 defun's boundaries.
16856 2011-10-28 Deniz Dogan <deniz@dogan.se>
16858 * net/rcirc.el (rcirc-mode): Use hard newlines.
16860 2011-10-28 Alan Mackenzie <acm@muc.de>
16862 Amend to indent and fontify macros "which include their own semicolon"
16863 correctly, using the "virtual semicolon" mechanism.
16865 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16867 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16868 Recode to scan one line at a time rather than having \n and \r
16869 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16870 (c-forward-label): Amend for virtual semicolons.
16871 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16873 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16874 of the new C macros.
16876 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16877 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16878 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16879 (c-opt-cpp-macro-define): Make into a full language variable.
16880 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16881 AWK Mode (including \n, \r) removed, no longer needed.
16883 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16884 Invoke c-make-macro-with-semi-re.
16886 * progmodes/cc-vars.el (c-macro-with-semi-re):
16887 (c-macro-names-with-semicolon): New variables.
16888 (c-make-macro-with-semi-re): New function.
16890 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16892 * vc/log-edit.el: Fill empty field rather than adding new one.
16893 (log-edit-add-field): New function.
16894 (log-edit-insert-changelog): Use it.
16896 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16898 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16900 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16902 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16903 (gdb--check-interpreter): New function.
16906 2011-10-27 Glenn Morris <rgm@gnu.org>
16908 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16909 (least-positive-float, least-negative-float)
16910 (least-positive-normalized-float, least-negative-normalized-float)
16911 (float-epsilon, float-negative-epsilon):
16912 Remove unnecessary declarations.
16914 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16915 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16916 (least-positive-float, least-negative-float)
16917 (least-positive-normalized-float, least-negative-normalized-float)
16918 (float-epsilon, float-negative-epsilon): Add doc-strings,
16919 based on those in cl.texi.
16921 * files.el (set-visited-file-name): If the major-mode changed,
16922 reload the local variables. (Bug#9796)
16924 2011-10-27 Chong Yidong <cyd@gnu.org>
16926 * subr.el (change-major-mode-after-body-hook): New hook.
16927 (run-mode-hooks): Run it.
16929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16930 Use change-major-mode-before-body-hook.
16932 * simple.el (fundamental-mode):
16933 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16934 change introducing fundamental-mode-hook.
16936 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16938 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16940 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16942 * ido.el (ido-file-name-all-completions-1): Do not require
16943 tramp.el explicitly. (Bug#7583)
16945 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16947 * progmodes/octave-mod.el:
16948 * progmodes/octave-inf.el: Update maintainer.
16950 2011-10-26 Chong Yidong <cyd@gnu.org>
16952 * subr.el (with-wrapper-hook): Rewrite doc.
16954 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16956 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16957 filenames "/method:foo:". (Bug#9793)
16959 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16961 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16964 2011-10-24 Glenn Morris <rgm@gnu.org>
16966 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16968 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16970 * notifications.el: Add the requirement of a running D-Bus session
16971 bus to the Commentary.
16973 2011-10-24 Juri Linkov <juri@jurta.org>
16975 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16976 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16979 2011-10-24 Juri Linkov <juri@jurta.org>
16981 * info.el (Info-following-node-name-re): Add newline to the list
16982 of allowed characters for leading space. (Bug#9824)
16984 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16986 * progmodes/octave-inf.el (inferior-octave-mode-map):
16987 Fix C-c C-h binding.
16988 * progmodes/octave-mod.el (octave-help): Remove.
16990 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16992 Sync with Tramp 2.2.3.
16994 * net/tramp-cache.el (top): Pacify byte-compiler using
16995 `init-file-user' and `site-run-file'.
16997 * net/trampver.el: Update release number.
16999 2011-10-23 Chong Yidong <cyd@gnu.org>
17001 * files.el (toggle-read-only): Remove obsolete comment about
17004 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17005 for toggle-read-only. Note that this hasn't called vc-next-action
17006 since 2008-05-02, though it wasn't documented at the time.
17008 * vc/ediff-init.el (ediff-toggle-read-only-function):
17009 Use toggle-read-only.
17011 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17013 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17016 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17017 correct faulty logical expression.
17018 (c-parse-state-state, c-record-parse-state-state):
17019 (c-replay-parse-state-state): New defvar/defuns.
17020 (c-debug-parse-state): Use new functions.
17022 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17024 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17025 last fix. Use window-in-direction correctly.
17027 2011-10-21 Chong Yidong <cyd@gnu.org>
17029 * progmodes/idlwave.el (idlwave-mode):
17030 * progmodes/vera-mode.el (vera-mode): No need to set
17031 require-final-newline; that's done in prog-mode.
17032 Suggested by Stefan Monnier.
17034 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17036 * mouse.el (mouse-drag-window-above)
17037 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17038 (mouse-drag-mode-line-1, mouse-drag-header-line)
17039 (mouse-drag-vertical-line-rightward-window): Remove.
17040 (mouse-drag-line): New function.
17041 (mouse-drag-mode-line, mouse-drag-header-line)
17042 (mouse-drag-vertical-line): Call mouse-drag-line.
17043 * window.el (window-at-side-p, windows-at-side): New functions.
17045 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17047 * tar-mode.el (tar-grind-file-mode):
17048 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17050 2011-10-21 Chong Yidong <cyd@gnu.org>
17052 * progmodes/idlwave.el (idlwave-mode):
17053 * progmodes/vera-mode.el (vera-mode):
17054 Use mode-require-final-newline.
17056 2011-10-20 Glenn Morris <rgm@gnu.org>
17058 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17060 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17062 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17064 2011-10-20 Chong Yidong <cyd@gnu.org>
17066 * emulation/cua-base.el (cua-mode):
17067 * mail/footnote.el (footnote-mode):
17068 * mail/mailabbrev.el (mail-abbrevs-mode):
17069 * net/xesam.el (xesam-minor-mode):
17070 * progmodes/bug-reference.el (bug-reference-mode):
17071 * progmodes/cap-words.el (capitalized-words-mode):
17072 * progmodes/compile.el (compilation-minor-mode)
17073 (compilation-shell-minor-mode):
17074 * progmodes/gud.el (gud-tooltip-mode):
17075 * progmodes/hideif.el (hide-ifdef-mode):
17076 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17077 * progmodes/subword.el (subword-mode):
17078 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17079 * progmodes/which-func.el (which-function-mode):
17080 * term/tvi970.el (tvi970-set-keypad-mode):
17081 * term/vt100.el (vt100-wide-mode):
17082 * textmodes/flyspell.el (flyspell-mode):
17083 * textmodes/ispell.el (ispell-minor-mode):
17084 * textmodes/nroff-mode.el (nroff-electric-mode):
17085 * textmodes/paragraphs.el (use-hard-newlines):
17086 * textmodes/refill.el (refill-mode):
17087 * textmodes/reftex.el (reftex-mode):
17088 * textmodes/rst.el (rst-minor-mode):
17089 * textmodes/sgml-mode.el (html-autoview-mode)
17090 (sgml-electric-tag-pair-mode):
17091 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17092 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17093 * emulation/crisp.el (crisp-mode):
17094 * emacs-lisp/eldoc.el (eldoc-mode):
17095 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17096 minor mode behavior.
17098 2011-10-19 Juri Linkov <juri@jurta.org>
17100 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17101 the list of hard-coded chars with escape-glyph face.
17103 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17105 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17107 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17109 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17112 2011-10-19 Glenn Morris <rgm@gnu.org>
17114 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17115 Ignore ignored files. (Bug#9726)
17117 2011-10-19 Chong Yidong <cyd@gnu.org>
17119 Doc fix for minor modes, stating that an omitted argument enables
17120 the mode unconditionally when called from Lisp.
17122 * abbrev.el (abbrev-mode):
17123 * allout.el (allout-mode):
17124 * autoinsert.el (auto-insert-mode):
17125 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17126 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17127 (global-auto-revert-mode):
17128 * battery.el (display-battery-mode):
17129 * composite.el (global-auto-composition-mode)
17130 (auto-composition-mode):
17131 * delsel.el (delete-selection-mode):
17132 * desktop.el (desktop-save-mode):
17133 * dired-x.el (dired-omit-mode):
17134 * dirtrack.el (dirtrack-mode):
17135 * doc-view.el (doc-view-minor-mode):
17136 * double.el (double-mode):
17137 * electric.el (electric-indent-mode, electric-pair-mode):
17138 * emacs-lock.el (emacs-lock-mode):
17139 * epa-hook.el (auto-encryption-mode):
17140 * follow.el (follow-mode):
17141 * font-core.el (font-lock-mode):
17142 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17143 * help.el (temp-buffer-resize-mode):
17144 * hilit-chg.el (highlight-changes-mode)
17145 (highlight-changes-visible-mode):
17146 * hi-lock.el (hi-lock-mode):
17147 * hl-line.el (hl-line-mode, global-hl-line-mode):
17148 * icomplete.el (icomplete-mode):
17149 * ido.el (ido-everywhere):
17150 * image-file.el (auto-image-file-mode):
17151 * image-mode.el (image-minor-mode):
17152 * iswitchb.el (iswitchb-mode):
17153 * jka-cmpr-hook.el (auto-compression-mode):
17154 * linum.el (linum-mode):
17155 * longlines.el (longlines-mode):
17156 * master.el (master-mode):
17157 * mb-depth.el (minibuffer-depth-indicate-mode):
17158 * menu-bar.el (menu-bar-mode):
17159 * minibuf-eldef.el (minibuffer-electric-default-mode):
17160 * mouse-sel.el (mouse-sel-mode):
17161 * msb.el (msb-mode):
17162 * mwheel.el (mouse-wheel-mode):
17163 * outline.el (outline-minor-mode):
17164 * paren.el (show-paren-mode):
17165 * recentf.el (recentf-mode):
17166 * reveal.el (reveal-mode, global-reveal-mode):
17167 * rfn-eshadow.el (file-name-shadow-mode):
17168 * ruler-mode.el (ruler-mode):
17169 * savehist.el (savehist-mode):
17170 * scroll-all.el (scroll-all-mode):
17171 * scroll-bar.el (scroll-bar-mode):
17172 * server.el (server-mode):
17173 * shell.el (shell-dirtrack-mode):
17174 * simple.el (auto-fill-mode, transient-mark-mode)
17175 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17176 (line-number-mode, column-number-mode, size-indication-mode)
17177 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17178 * strokes.el (strokes-mode):
17179 * time.el (display-time-mode):
17180 * t-mouse.el (gpm-mouse-mode):
17181 * tool-bar.el (tool-bar-mode):
17182 * tooltip.el (tooltip-mode):
17183 * type-break.el (type-break-mode-line-message-mode)
17184 (type-break-query-mode):
17185 * view.el (view-mode):
17186 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17187 (global-whitespace-mode, global-whitespace-newline-mode):
17188 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17190 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17191 Fix autogenerated docstring.
17193 2011-10-19 Juri Linkov <juri@jurta.org>
17195 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17196 by checking environment variables "DESKTOP_SESSION" and
17197 "XDG_CURRENT_DESKTOP". (Bug#9779)
17199 2011-10-19 Juri Linkov <juri@jurta.org>
17201 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
17202 (browse-url-chromium-program, browse-url-chromium-arguments):
17204 (browse-url-default-browser): Check for `browse-url-chromium' and
17205 call `browse-url-chromium-program'.
17206 (browse-url-chromium): New command. (Bug#9779)
17208 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
17210 * facemenu.el (list-colors-duplicates): On Windows, detect more
17211 duplicates by assuming that only colors matching "^System" are
17212 special "system colors". (Bug#9722)
17214 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17216 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17217 to distinguish the author from the committer.
17219 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17221 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17223 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17225 * international/mule.el (sgml-html-meta-auto-coding-function):
17226 Add support for detecting encoding in HTML5 specified only as
17227 <meta charset="UTF-8">. Implementation just makes http-equiv and
17228 content-type parts from HTML4 encoding string optional. (Bug#9716)
17230 2011-10-18 Glenn Morris <rgm@gnu.org>
17232 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17234 2011-10-18 Chong Yidong <cyd@gnu.org>
17236 * faces.el (cursor): Doc fix.
17238 2011-10-17 Chong Yidong <cyd@gnu.org>
17240 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17242 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17244 * dirtrack.el (dirtrack): Support shell buffers with path
17245 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17247 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17249 * json.el: Bump version to 1.3 and note change in History.
17250 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17252 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17254 * comint.el (comint-insert-input, comint-send-input)
17255 (comint-get-old-input-default, comint-backward-matching-input)
17256 (comint-next-prompt): Use nil instead of `input' for field property of
17257 past user input (bug#114).
17259 * minibuffer.el (completion--replace): Inherit surrounding properties
17261 (minibuffer-complete-and-exit): Use it.
17263 * comint.el (comint--table-subvert): Quote the all-completions output
17266 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17268 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17270 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17271 window on right of selected. (Bug#9350) Reword other window
17272 entries and separate them from frame entries.
17274 2011-10-15 Glenn Morris <rgm@gnu.org>
17276 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17279 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17281 * net/network-stream.el (network-stream-open-starttls):
17282 Improve detection of failure due to lack of TLS support.
17284 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17285 putting the input text in front and in bold.
17287 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17289 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17291 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17294 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17295 unread-command-events rather than pushing yet-another event.
17297 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17299 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17300 the explanation of the possible choices. Make the options passed
17301 to completing-read shorter.
17303 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17305 * textmodes/flyspell.el (flyspell-large-region): Make sure
17306 extended character mode is used if defined (Bug#1339).
17308 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17310 * simple.el (what-cursor-position): Fix the display of the
17311 character info for LRE, LRO, RLE, and RLO characters by appending
17314 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17316 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17317 even in case of error; add debug spec; simplify data flow.
17318 (with-timeout-handler): Remove.
17320 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17322 Fix Bug#6019, Bug#9315.
17324 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17325 complete `buffer-file-name', the local file name part could look
17326 remotely (for example on VMS).
17328 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17329 `tramp-run-real-handler'.
17330 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17331 already quoted by '"'.
17333 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17334 Let `file-name-handler-alist' be nil, the local file name part
17335 could look remotely (for example on VMS).
17337 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17339 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17341 (flyspell-post-command-hook): ...to here.
17343 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17345 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17347 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17348 using completion. Protect against "slow" callers.
17349 Remove the "message hack".
17351 2011-10-11 Juri Linkov <juri@jurta.org>
17353 * isearch.el (isearch-lazy-highlight-word): New variable.
17354 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17357 2011-10-11 Glenn Morris <rgm@gnu.org>
17359 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17360 like f90-previous-statement does.
17362 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17364 * eshell/eshell.el (eshell-command): History should be saved
17365 only in interactive use, to avoid error.
17367 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17369 * minibuffer.el (completion-file-name-table): Fix last change,
17370 i.e. ignore normal errors but not the other ones.
17372 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17374 * window.el (special-display-buffer-names)
17375 (special-display-regexps): Remove some remnants of earlier
17376 changes from doc-strings.
17377 (quit-windows-on): New function.
17379 * vc/vc.el (vc-revert, vc-rollback):
17380 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17381 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17382 (Bug#6183) (Bug#7074) (Bug#7447)
17384 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17386 * window.el (frame-auto-hide-function): Add version tag.
17389 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17391 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17394 2011-10-09 Leo Liu <sdl.web@gmail.com>
17396 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17399 2011-10-08 Glenn Morris <rgm@gnu.org>
17401 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17402 before the first code statement zero indent. (Bug#9690)
17404 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17406 * simple.el (count-words-region): Always count in the region.
17407 Report the number of lines and characters too.
17408 (count-words): New command, which counts in the buffer if the
17409 region is inactive, as count-words-region used to.
17410 (count-words--message): New function. Handle plurals.
17411 (count-lines-region): Make it an alias for count-words-region.
17413 * bindings.el (esc-map): Replace count-lines-region with
17414 count-words-region.
17416 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17418 * window.el (window--delete): Delete dedicated frame
17419 unconditionally when argument KILL is non-nil. (Bug#9699)
17420 (switch-to-buffer): Fix doc-string typo.
17422 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17424 * eshell/eshell.el (eshell-command): Avoid using hooks.
17426 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17428 * bindings.el ([M-left],[M-right]): Bind to left-word and
17429 right-word respectively.
17431 2011-10-07 Glenn Morris <rgm@gnu.org>
17433 * cus-start.el (debug-on-quit): Fix custom type.
17435 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17437 * subr.el (define-key-after): Clarify that the function is not
17438 useful for non-menu keymaps.
17440 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17442 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17444 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17445 in current minibuffer (Fix bug with recursive minibuffers).
17447 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17449 * progmodes/gdb-mi.el (gdb): Doc fix.
17451 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17453 * window.el (frame-auto-hide-function): New option replacing
17454 frame-auto-delete. Suggested by Stefan Monnier.
17455 (window--delete): Call frame-auto-hide-function instead of
17456 investigating frame-auto-delete.
17457 (window-point-1, set-window-point-1): New functions.
17458 (window-in-direction, record-window-buffer, window-state-get-1)
17459 (display-buffer-record-window): Use window-point-1 instead of
17461 (set-window-buffer-start-and-point): Use set-window-point-1.
17463 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17465 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17467 2011-10-05 Glenn Morris <rgm@gnu.org>
17469 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17470 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17472 2011-10-05 Leo Liu <sdl.web@gmail.com>
17474 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17475 works with buffer object.
17477 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17479 * mpc.el (mpc-tool-bar-map): Add labels.
17481 2011-10-04 Glenn Morris <rgm@gnu.org>
17483 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17485 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17487 * window.el (window--delete): New function.
17488 (frame-auto-delete): Resuscitate option.
17489 (bury-buffer, replace-buffer-in-windows)
17490 (quit-window): Rewrite using window--delete.
17491 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17492 Pass display-buffer-mark-dedicated to window--display-buffer-2
17495 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17498 returns a list (bug#9554). Add remote file name completion.
17499 * comint.el (comint--table-subvert): Curry and get quote&unquote
17500 functions as arguments.
17501 (comint--complete-file-name-data): Adjust call accordingly.
17502 * pcomplete.el (pcomplete--table-subvert): Remove.
17503 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17505 * minibuffer.el (completion-table-case-fold): Use currying.
17506 (completion--styles-type, completion--cycling-threshold-type):
17508 (completion-styles, completion-category-overrides)
17509 (completion-cycle-threshold): Use them.
17510 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17511 completion-table-case-fold.
17513 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17515 * minibuffer.el (completion-category-overrides): Fix type of styles
17516 and add more user friendly tags (bug#9660).
17518 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17520 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17521 (mule-input-method-string): New widget.
17522 (default-input-method, language-info-custom-alist): Use it.
17524 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17526 * pcomplete.el: Require comint.
17527 (pcomplete--common-suffix): Remove.
17528 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17529 (pcomplete--table-subvert): Sync with comint--table-subvert.
17530 (pcomplete--entries): Use comint-completion-file-name-table.
17531 * comint.el (comint-unquote-filename): Simplify.
17532 (comint-completion-file-name-table): New function (bug#9616).
17533 (comint--complete-file-name-data): Use it.
17535 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17536 (pcmpl-gnu-tar-buffer): Remove.
17537 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17538 around. Make sure pcomplete-suffix-list is only changed temporarily.
17539 Don't look inside the tar's file if it's too large.
17541 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17543 * cus-edit.el (custom-mode-map):
17544 * epa.el (epa-key-list-mode-map):
17545 * man.el (Man-mode-map):
17546 * startup.el (splash-screen-keymap):
17547 * simple.el (special-mode-map): Use scroll-up-command and
17548 scroll-down-command.
17550 * progmodes/idlw-help.el (idlwave-help-mode-map):
17551 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17552 * net/newst-plainview.el (newsticker-mode-map):
17553 * emulation/ws-mode.el (wordstar-mode-map):
17554 * emulation/vi.el (vi-com-map):
17555 * calc/calc-graph.el (calc-graph-show-dumb):
17556 * term/sun.el (terminal-init-sun):
17557 * term/ns-win.el (global-map):
17558 * progmodes/grep.el (grep-mode-map):
17559 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17560 * mail/rmail.el (rmail-mode-map):
17561 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17563 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17564 custom-safe-themes as special.
17566 2011-10-01 Julien Danjou <julien@danjou.info>
17568 * notifications.el (notifications-notify): Fix docstring.
17570 2011-10-01 Per Starbäck <per@starback.se>
17572 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17574 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17576 * startup.el (command-line-1): Fix last fix by inserting
17577 initial-scratch-message into *scratch* before displaying it.
17578 (Bug#9605) and (Bug#9636)
17580 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17582 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17583 window is hscrolled, move by logical lines. (Bug#9607)
17584 (line-move-visual): Update the doc string to the above effect.
17586 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17588 * window.el (display-buffer-record-window): When WINDOW is the
17589 selected window use `point' instead of `window-point'. (Bug#9626)
17591 * startup.el (command-line-1): Use insert-before-markers when
17592 inserting initial-scratch-message. (Bug#9605)
17594 * help.el (help-window): Remove variable.
17596 2011-09-29 Glenn Morris <rgm@gnu.org>
17598 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17600 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17602 * descr-text.el (describe-char-categories): Accept category
17603 descriptions more than one line long.
17605 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17607 * simple.el (delete-trailing-whitespace): Fix last change.
17609 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17610 Don't confuse "y => 3" as the beginning of a `y' operation.
17612 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17613 object has more than 4 slots (bug#9613).
17615 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17617 * subr.el (with-output-to-temp-buffer):
17618 * net/quickurl.el (quickurl, quickurl-browse-url):
17619 Fix typos in docstrings.
17621 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17623 * minibuffer.el (completion-styles)
17624 (completion-category-overrides): Cross reference each other in doc
17627 2011-09-27 Glenn Morris <rgm@gnu.org>
17629 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17630 to split-string. (Bug#9606)
17632 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17634 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17637 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17639 * emacs-lisp/package.el (list-packages): Fix echo area message.
17641 2011-09-27 Leo Liu <sdl.web@gmail.com>
17643 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17645 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17647 * net/dbus.el (dbus-unregister-object): Don't release services for
17648 registered signals. (Bug#9581)
17650 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17652 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17653 function that picks between cfengine 2 and 3 support
17654 automatically. Update docs accordingly.
17656 2011-09-22 Kenichi Handa <handa@m17n.org>
17658 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17660 (indian-itrans-v5-table-for-tamil): New variable.
17661 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17663 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17665 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17666 that's true if the current command involved collapsing of text.
17667 It's reset to false at the beginning of the next command.
17668 (allout-post-command-business): Move the cursor to the beginning
17669 of entry if the cursor is hidden and collapsing activity just
17672 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17674 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17675 tracking (Bug#9541).
17677 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17679 * net/newst-reader.el (newsticker-html-renderer)
17680 (newsticker-show-news): Automatically load html rendering package
17681 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17682 because w3m-fill-column is let-bound" and the error "Symbol's value
17683 as variable is void: w3m-fill-column".
17685 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17687 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17688 Release services only if they are defined. (Bug#9581)
17690 2011-09-23 Richard Stallman <rms@gnu.org>
17692 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17693 distinguish start of paragraph from start of its text.
17695 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17697 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17698 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17699 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17701 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17703 * international/mule-diag.el (mule-diag): Insert a newline after
17704 each fontset description.
17706 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17708 * simple.el (delete-trailing-whitespace):
17709 Document last change; simplify.
17711 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17713 * simple.el (delete-trailing-whitespace): Also delete
17714 extra newlines at the end of the buffer.
17716 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17717 (picture-newline): Use forward-line so as to ignore fields.
17719 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17721 * subr.el (with-wrapper-hook): Fix edebug spec.
17723 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17725 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17728 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17730 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17731 Fix nasty bug using wrong cached values.
17733 2011-09-23 Alan Mackenzie <acm@muc.de>
17735 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17737 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17739 * window.el (pop-to-buffer): Ensure right window is selected if we
17740 chose another frame.
17742 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17744 * simple.el (what-cursor-position): Use get-char-property-change
17745 and next-single-char-property-change, to be able to show display
17746 properties that come from overlays as well as text properties.
17748 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17750 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17752 * cmuscheme.el (run-scheme, switch-to-scheme):
17753 * cus-edit.el (customize-group, custom-buffer-create)
17754 (customize-browse):
17756 * shell.el (shell):
17757 * mail/sendmail.el (mail):
17758 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17760 2011-09-22 Richard Stallman <rms@gnu.org>
17762 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17763 move back only to line beg, don't move back over blank lines.
17765 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17767 * files.el (copy-directory): Set directory attributes only in case
17768 they could be retrieved from the source directory. (Bug#9565)
17770 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17772 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17773 (hs-find-block-beginning, hs-hide-level-recursive):
17774 Ignore strings as well as comments. (Bug#9502)
17776 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17778 * progmodes/sql.el (sql-comint-postgres):
17779 Convert port number to a string. (Bug#9566)
17781 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17783 * window.el (quit-window): Undedicate window when switching to
17784 previous buffer. Reported by Thierry Volpiatto
17785 <thierry.volpiatto@gmail.com>.
17786 (special-display-popup-frame): When popping up a new frame reset
17787 its previous buffers to nil. Simplify code.
17789 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17791 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17792 and process filter, as done also in `shell-command'.
17794 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17796 * window.el (set-window-buffer-start-and-point):
17797 Call set-window-start with NOFORCE argument t.
17798 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17799 (quit-window): Reword doc-string. Handle new format of
17800 quit-restore parameter. Don't delete window if it has a
17801 previous buffer we can show instead of the present one.
17802 (display-buffer-record-window): Rewrite using a new format for
17803 the quit-restore window parameter
17804 (special-display-popup-frame, display-buffer-same-window)
17805 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17806 (display-buffer-pop-up-window, display-buffer-use-some-window):
17807 Adapt symbol passed to display-buffer-record-window.
17808 * help.el (help-window-setup): Handle new format of quit-restore
17811 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17813 * faces.el (face-list): Fix docstring (bug#9564).
17815 * window.el (display-buffer--action-function-custom-type):
17816 Don't include internal functions in the Custom interface.
17818 2011-09-20 Juri Linkov <juri@jurta.org>
17820 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17821 (Info-forward-node, Info-backward-node, Info-next-preorder)
17822 (Info-last-preorder): Use it. (Bug#9528)
17824 2011-09-20 Juri Linkov <juri@jurta.org>
17826 * info.el (Info-last-preorder): Visit last menu item only when
17827 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17829 2011-09-20 Julien Danjou <julien@danjou.info>
17831 * password-cache.el (password-cache-remove): Remove entries even if the
17832 value is nil, so that password with a nil value (negative caching) is
17833 possible to invalidate.
17835 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17837 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17838 all whitespace around breakpoint. (Bug#9553)
17839 (f90-find-breakpoint): Only break at whitespace inside a comment.
17841 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17843 * minibuffer.el (completion-file-name-table): Keep track of errors.
17844 (completion-table-with-predicate): Handle the case where pred1 is nil.
17845 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17847 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17849 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17850 (debugger-return-value): Signal an error if the debugging context does
17851 not await any return value.
17853 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17854 * image-mode.el (image-toggle-display-text)
17855 (image-toggle-display-image): Stay away from evil `intangible'.
17857 2011-09-19 Leo Liu <sdl.web@gmail.com>
17859 * replace.el (occur-revert-arguments): Make it permanent-local.
17860 (occur-mode): Don't call font-lock-defontify.
17862 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17864 * net/ldap.el (ldap-search-internal): Don't push empty search
17867 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17869 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17871 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17873 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17874 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17876 2011-09-18 Juri Linkov <juri@jurta.org>
17878 * buff-menu.el (Buffer-menu-mode-map):
17879 * dired.el (dired-mode-map):
17880 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17881 (lisp-interaction-mode-map):
17882 * emacs-lisp/package.el (package-menu-mode-map):
17883 * epa.el (epa-key-list-mode-map):
17884 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17885 (menu-bar-options-menu):
17886 * outline.el (outline-mode-menu-bar-map):
17887 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17888 * vc/vc-dir.el (vc-dir-menu-map):
17889 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17890 Capitalize non-function content words in menu item strings.
17892 * dired.el (dired-mode-map): Add menu item for
17893 `image-dired-dired-toggle-marked-thumbs'.
17895 2011-09-18 Juri Linkov <juri@jurta.org>
17897 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17898 to `isearch-case-fold-search' and restore its original value
17899 after the `isearch-mode' call.
17901 2011-09-18 Juri Linkov <juri@jurta.org>
17903 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17904 because `zgrep' returns 1 for successful matches (bug#9226).
17906 2011-09-18 Juri Linkov <juri@jurta.org>
17908 * info.el (Info-extract-menu-node-name): Check the second match
17909 for empty string (second test-case of bug#9528).
17910 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17911 intermediate nodes to the history (first test-case of bug#9528).
17913 2011-09-18 Juri Linkov <juri@jurta.org>
17915 * info.el (Info-mode-syntax-table): New variable.
17916 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17918 2011-09-18 Juri Linkov <juri@jurta.org>
17920 * info.el (Info-file-supports-index-cookies):
17921 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17922 outputs one more line for long file names (bug#4142).
17924 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17926 * newcomment.el (comment-normalize-vars): If prompting for
17927 comment-start, set comment-start-skip too (Bug#8424).
17929 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17931 * icomplete.el: Fix previous fix of Bug#5849.
17932 (icomplete-mode): Don't set completion-show-inline-help.
17933 (icomplete-minibuffer-setup): Set completion-show-inline-help
17934 locally during icompletion.
17936 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17938 * woman.el (woman2-process-escapes): Don't delete unrecognized
17939 escapes (Bug#7843).
17941 * files.el (inhibit-first-line-modes-regexps): Add image files.
17942 (hack-local-variables-prop-line): Return nil for malformed
17943 prop-lines (Bug#9044).
17945 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17947 * net/tramp.el (top): Don't require 'shell.
17948 (tramp-methods): Fix docstring.
17949 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17950 Return complete remote file name. Handle "smb" case.
17951 Use `tramp-tmpdir', if defined for the respective method.
17952 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17954 * net/tramp-compat.el (top): Require 'shell.
17956 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17957 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17958 `tramp-current-host'.
17959 (tramp-get-remote-tmpdir): Remove.
17961 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17962 `tramp-tmpdir' entries.
17963 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17964 (tramp-smb-handle-file-attributes): Ignore errors.
17965 (tramp-smb-wait-for-output): Check also for process end.
17967 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17969 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17970 when sending QUIT (bug#9312).
17972 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17974 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17975 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17976 occur-mode-display-occurrence.
17977 (occur-edit-mode): Add usage message.
17978 (occur-cease-edit): New command.
17979 (occur-after-change-function): Use text properties to find the
17980 position of the prefix text.
17981 (occur-engine): Set stickiness of prefix text properties.
17983 2011-09-17 Glenn Morris <rgm@gnu.org>
17985 * progmodes/etags.el (complete-tag):
17986 Fix call to completion-in-region. (Bug#9526)
17988 2011-09-17 Juri Linkov <juri@jurta.org>
17990 * textmodes/ispell.el (ispell-word): Add to the error message
17991 the word, ispell program name and current dictionary (bug#9121).
17992 (ispell-tex-arg-end): Capitalize "error" in the error message.
17994 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17996 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17999 2011-09-17 Juri Linkov <juri@jurta.org>
18001 * window.el (window-safe-min-height, window-safe-min-width):
18002 Fix typos (followup to bug#9522).
18004 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18006 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18008 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18010 * simple.el (line-move): If goal-column is set, move by logical
18011 lines, not by display lines. (Bug#971)
18012 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18013 to reflect the above change.
18015 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18017 * image.el (imagemagick-register-types): Use regexp-opt.
18019 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18021 * window.el (display-buffer-base-action): Rename from
18022 display-buffer-default-action. Make default value empty.
18023 (display-buffer-overriding-action): Convert to defvar.
18024 (display-buffer-fallback-action): New var.
18026 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18028 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18030 (package--add-to-archive-contents): If there is a duplicate entry
18031 with an older version, remove it.
18032 (package-menu-mark-delete, package-menu-mark-install)
18033 (package-menu-mark-unmark): Make unused args optional.
18034 (package-menu-mark-obsolete-for-deletion):
18035 Use package-menu-get-status instead of a regexp search.
18036 (package-menu-get-status): Use tabulated-list-entry.
18037 (package-menu-mark-upgrades): New command.
18038 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18039 (package-menu-execute): Do installation before deletion.
18040 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18041 instead of checking major-mode.
18042 (package-menu--find-upgrades): New function.
18044 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18046 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18047 passwords in the log buffer.
18048 (smtpmail-process-filter): Update the process marker so that the
18049 "broken by peer" status message is inserted in the right place.
18051 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18053 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18054 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18055 bibtex-completion-at-point-function.
18056 (bibtex-completion-at-point-function): Use them.
18058 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18060 * mpc.el (mpc-constraints-tag-lookup): New function.
18061 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18062 also to browser "album|playlist".
18064 2011-09-14 Juri Linkov <juri@jurta.org>
18066 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18067 (isearch-edit-string): Use length of `isearch-string' when
18068 `isearch-fail-pos' returns nil.
18069 (isearch-message): Remove duplicate code and call
18070 `isearch-fail-pos' with arg `t'.
18072 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18074 * replace.el (occur-mode-goto-occurrence): Don't force using other
18077 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18079 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18081 * window.el (display-buffer-window): Remove.
18082 (display-buffer-record-window): Use help-setup window parameter
18083 instead of variable display-buffer-window.
18084 (display-buffer-function, special-display-buffer-names)
18085 (special-display-function): Mention help-setup parameter instead
18086 of display-buffer-window in doc-string.
18087 * help.el (help-window-setup): New argument help-window.
18088 Use help-window-setup parameter instead of display-buffer-window.
18089 Reword some messages.
18090 (with-help-window): Pass window used for displaying the buffer
18091 to help-window-setup. Don't set display-buffer-window.
18093 2011-09-13 Glenn Morris <rgm@gnu.org>
18095 * emacs-lisp/debug.el (debugger-make-xrefs):
18096 Preserve point. (Bug#9462)
18098 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18100 * window.el (window-deletable-p): Use next-frame.
18102 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18104 * window.el (window-auto-delete): Remove.
18105 (window-deletable-p): Remove argument FORCE. Don't deal with
18106 dedication and previous buffers.
18107 (switch-to-prev-buffer): Don't delete window.
18108 (delete-windows-on): Delete a window's frame if and only if the
18109 window is dedicated.
18110 (replace-buffer-in-windows): Delete buffer's window or frame if
18111 and only if window is dedicated.
18112 (quit-window): Handle quit-restore as before last change.
18113 (bury-buffer): Delete window only if window-deletable-p returns t.
18115 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18117 * window.el (window-deletable-p): Never delete the last frame on a
18120 2011-09-13 Glenn Morris <rgm@gnu.org>
18122 * help.el (describe-key-briefly): Copy previous standard-output change.
18124 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18126 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18128 2011-09-13 Glenn Morris <rgm@gnu.org>
18130 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18131 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18133 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18135 * dired-aux.el (dired-mark-read-string): Don't return default
18136 value on empty input (Bug#9361).
18137 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18138 Omit initial minibuffer contents.
18139 (dired-do-chmod): Signal an error on empty input.
18140 (dired-mark-read-string): Don't return default on empty input.
18142 * files.el (file-modes-symbolic-to-number): Doc fix.
18144 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18146 * international/mule-cmds.el (ucs-completions): Remove.
18147 (read-char-by-name): Use complete-with-action instead; add metadata.
18149 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18151 * window.el (display-buffer--action-function-custom-type)
18152 (display-buffer--action-custom-type): New vars.
18153 (display-buffer-alist, display-buffer-default-action)
18154 (display-buffer-overriding-action): Add defcustom types.
18156 * frame.el (delete-other-frames): Doc fix (Bug#276).
18158 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18160 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18162 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18164 Change modes that used same-window-* vars to use switch-to-buffer.
18166 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18167 Use switch-to-buffer.
18169 * cus-edit.el (customize-group, custom-buffer-create)
18170 (customize-browse, custom-buffer-create-other-window):
18171 Use switch-to-buffer or switch-to-buffer-other-window.
18173 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18174 (Info-prev, Info-up, Info-speedbar-goto-node)
18175 (info-display-manual): Use switch-to-buffer.
18176 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18178 * mail/sendmail.el (mail): Use switch-to-buffer.
18179 (mail-recover): Use switch-to-buffer-other-window.
18181 * cmuscheme.el (run-scheme, switch-to-scheme):
18183 * shell.el (shell):
18184 * net/rlogin.el (rlogin):
18185 * net/telnet.el (telnet, rsh):
18186 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18188 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18190 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18192 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18194 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18195 so don't mention it (bug#9301).
18196 (dired-sort-toggle-or-edit): Clarify string further.
18198 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18199 match `x', `w32' and `ns', like the manual says (bug#9029).
18201 * subr.el (eval-after-load): Doc string clarification (bug#9125).
18202 (process-kill-buffer-query-function): Mention the buffer name in
18205 * image-mode.el (image-next-line): The line parameter is mandatory
18208 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
18209 which can be useful (bug#9301).
18211 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18213 * subr.el (match-string): Mention that the current buffer should
18214 be the same as the search was done in (bug#9282).
18216 * facemenu.el: Disable the remove-* commands if the mark isn't
18219 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18221 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18223 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18225 * replace.el (occur-mode-goto-occurrence)
18226 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18227 and display-buffer.
18229 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18232 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18233 special-display and same-window variables.
18234 (mail-other-window): Use switch-to-buffer-other-window.
18235 (mail-other-frame): USe switch-to-buffer-other-frame.
18237 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18238 Use display-buffer-other-frame.
18239 (gdb-display-gdb-buffer): Use pop-to-buffer.
18241 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18243 * progmodes/python.el: Don't set same-window-buffer-names.
18245 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18247 * window.el (display-buffer-alist): Add *Python*.
18249 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18251 * window.el (display-buffer-alist): Add entry for buffers
18252 previously handled same-window-*.
18253 (display-buffer-alist, display-buffer-default-action)
18254 (display-buffer-overriding-action): Mark as risky.
18255 (display-buffer-alist): Document action function changes.
18256 (display-buffer--same-window-action)
18257 (display-buffer--other-frame-action): New variables.
18258 (switch-to-buffer, display-buffer-other-frame): Use them.
18259 (display-buffer): Rename reuse-frame entry to reusable-frames.
18260 (display-buffer-reuse-selected-window): Function deleted.
18261 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18262 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18263 (display-buffer-special): New function.
18264 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18265 display-buffer-reuse-or-pop-window. Split off special-display
18266 part into display-buffer-special.
18267 (display-buffer-use-some-window): Don't perform any special
18268 pop-up-frames handling.
18269 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18270 (display-buffer--maybe-same-window): Rename from
18271 display-buffer-maybe-same-window.
18273 * info.el: Don't set same-window-regexps.
18274 (info-setup): New function.
18275 (info-other-window, info): Call it.
18277 * cus-edit.el: Don't set same-window-regexps.
18278 (customize-group): New argument.
18279 (customize-group-other-window): Use it.
18280 (customize-face, customize-face-other-window): Likewise.
18281 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18285 * progmodes/gud.el: Don't set same-window-regexps.
18290 * mail/sendmail.el:
18291 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18293 2011-09-10 Juri Linkov <juri@jurta.org>
18295 * isearch.el (isearch-edit-string): Remove obsolete mention of
18296 `C-w' (`isearch-yank-word-or-char') from docstring.
18297 (isearch-query-replace): Fix typo in docstring (bug#9466).
18299 2011-09-10 Juri Linkov <juri@jurta.org>
18301 * paren.el (show-paren-function): Don't show escaped parens.
18302 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18304 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18306 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18307 (mm-default-file-encoding): Remove autoload forms, they are
18308 replaced with autoload cookies in mml.el and mm-encode.el.
18309 (mail-add-attachment): New command.
18310 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18311 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18313 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18315 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18317 * simple.el (count-words-region): Use buffer if there's no region
18320 2011-09-09 Juri Linkov <juri@jurta.org>
18322 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18323 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18324 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18326 2011-09-09 Alan Mackenzie <acm@muc.de>
18328 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18329 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18331 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18333 Fix for Savannah bug#9392.
18334 * simple.el (mail-encode-mml): New defvar.
18336 * mail/rmail.el (mail-encode-mml): Add a defvar.
18337 (rmail-enable-mime-composing): Default to t.
18338 (rmail-forward): Use MIME method of forwarding only if both
18339 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18340 Set mail-encode-mml non-nil if the MIME method was used.
18342 * mail/sendmail.el (mml-to-mime): Add autoload form.
18343 (mail-encode-mml): Add a defvar.
18344 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18346 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18347 message through mml-to-mime, and reset mail-encode-mml to nil.
18349 2011-09-09 Glenn Morris <rgm@gnu.org>
18351 * woman.el (woman-if-body): When processing an .el block,
18352 do not delete the next .el block as well. (Bug#9447)
18353 (woman-special-characters): Add oq, cq, and hy characters.
18355 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18357 * window.el (window-deletable-p): Make sure window is live before
18358 invoking window-prev-buffers.
18360 2011-09-08 Leo Liu <sdl.web@gmail.com>
18362 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18364 2011-09-08 Juri Linkov <juri@jurta.org>
18366 * progmodes/compile.el (compilation-environment): Make it
18367 a defcustom (bug#8340).
18369 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18371 * window.el (frame-auto-delete): Rename to window-auto-delete.
18372 Make it control auto-deletion of windows and/or frames.
18373 (window-deletable-p): New argument FORCE. Rewrite conditions
18374 for deleting window/frame. (Bug#9419)
18375 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18376 Rewrite handling of case when window/frame can be deleted.
18377 (delete-windows-on): Call window-deletable-p with new FORCE
18378 argument t. (Bug#9456)
18380 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18382 * help-mode.el (help-mode): Restore autoload.
18384 2011-09-07 Juri Linkov <juri@jurta.org>
18386 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18387 `compilation-environment'. Set buffer-local
18388 `compilation-environment' to `thisenv' later after (funcall mode).
18391 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18392 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18393 instead of replacing its value. (Bug#8340)
18395 2011-09-07 Juri Linkov <juri@jurta.org>
18397 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18398 based on text properties put by `grep-filter' instead of matching
18400 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18401 to the value of `grep-error-screen-columns' (bug#9438).
18403 2011-09-07 Juri Linkov <juri@jurta.org>
18405 * simple.el (next-error-highlight, next-error-highlight-no-select):
18406 Doc fix (bug#9432).
18408 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18410 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18411 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18413 2011-09-07 Leo Liu <sdl.web@gmail.com>
18415 * net/rcirc.el (rcirc-mode): Conditionally initialize
18418 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18420 * emacs-lisp/find-func.el (find-function-C-source): Only set
18421 find-function-C-source-directory after checking that we found a source
18422 file there (bug#9440).
18424 2011-09-06 Alan Mackenzie <acm@muc.de>
18426 * isearch.el (isearch-other-meta-char): Wherever a key list is
18427 unread, "unread" the prefix arg, too. This fixes bug #8901.
18429 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18431 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18433 2011-09-05 Juri Linkov <juri@jurta.org>
18435 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18437 2011-09-05 Juri Linkov <juri@jurta.org>
18439 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18440 keeping point where processing of grep matches begins, and
18441 continue to delete remaining escape sequences from the same point.
18442 (grep-filter): Make leading zero optional in "0?1;31m" because
18443 git-grep emits "\033[1;31m" escape sequences unlike expected
18444 "\033[01;31m" as GNU Grep does (bug#9408).
18445 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18447 2011-09-05 Juri Linkov <juri@jurta.org>
18449 * subr.el (y-or-n-p): Capitalize "yes".
18451 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18453 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18454 `tramp-cache-unload-hook' where appropriate.
18455 (tramp-methods): Rename `tramp-remote-sh' to
18456 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18457 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18459 * net/tramp-sh.el (top): Don't require 'shell.
18460 (tramp-methods): Add `tramp-remote-shell' and
18461 `tramp-remote-shell-args' entries.
18462 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18463 (tramp-sh-handle-shell-command): Remove.
18464 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18465 Use `tramp-remote-shell'.
18467 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18469 * mail/sendmail.el (sendmail-query-once-function): Delete.
18470 (sendmail-query-once): Save directly to send-mail-function.
18471 Update message-send-mail-function too.
18473 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18475 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18477 * progmodes/python.el (python-mode-map): Use correct function to
18478 start python interpreter from menu-bar (as reported by Geert
18480 (inferior-python-mode-map): Fix typo.
18481 (python-shell-map): Remove.
18483 2011-09-03 Deniz Dogan <deniz@dogan.se>
18485 * net/rcirc.el (rcirc-print): Simplify code for
18486 rcirc-scroll-show-maximum-output. There is no need to walk
18487 through all windows to find the right one.
18489 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18491 * help.el (help-return-method): Doc fix.
18493 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18495 * window.el (window-deletable-p): Don't return a non-nil value
18496 when there's a buffer that was shown in the window before.
18498 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18499 Set window's previous buffers to nil.
18501 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18503 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18504 newline before and after the tag line, so it doesn't interfere
18505 with determining the paragraph direction of bidirectional text.
18507 2011-09-03 Leo Liu <sdl.web@gmail.com>
18509 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18511 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18513 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18514 (pop-to-buffer): Change interactive spec. Pass second argument
18515 directly to display-buffer.
18516 (display-buffer): Fix interactive spec. Use functionp to
18517 distinguish between a function and a list of functions.
18519 * abbrev.el (edit-abbrevs):
18520 * arc-mode.el (archive-extract):
18521 * autoinsert.el (auto-insert):
18522 * bookmark.el (bookmark-bmenu-list):
18523 * files.el (find-file):
18524 * view.el (view-buffer):
18525 * progmodes/compile.el (compilation-goto-locus):
18526 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18528 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18530 * window.el (display-buffer-alist): Doc fix.
18531 (display-buffer): Add docstring. Don't treat
18532 display-buffer-default specially.
18533 (display-buffer-reuse-selected-window)
18534 (display-buffer-same-window, display-buffer-maybe-same-window)
18535 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18536 (display-buffer-pop-up-window)
18537 (display-buffer-reuse-or-pop-window)
18538 (display-buffer-use-some-window): New functions.
18539 (display-buffer-default-action): Use them.
18540 (display-buffer-default): Delete.
18541 (pop-to-buffer-1): Fix choice of actions.
18543 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18545 * minibuffer.el (completion--insert-strings): Don't get confused by
18546 completion entries that end with an LF char.
18548 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18550 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18552 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18554 * window.el (display-buffer): Restore interactive spec.
18555 (display-buffer-same-window, display-buffer-other-window):
18557 (pop-to-buffer-1): New function. Use the above.
18558 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18559 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18561 * view.el (view-buffer-other-window, view-buffer-other-frame):
18562 Just use pop-to-buffer.
18564 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18566 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18568 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18570 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18572 2011-08-31 Richard Stallman <rms@gnu.org>
18574 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18575 of the separation of rmail-view-buffer from rmail-buffer.
18576 If you say no to "replace original", the decrypt is in the
18577 view buffer. If you say yes, the decrypt goes into the
18580 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18582 * window.el (display-buffer-window): Rewrite doc-string.
18583 (display-buffer-record-window): New function.
18584 (display-buffer-macro-specifiers)
18585 (display-buffer-even-window-sizes, display-buffer-set-height)
18586 (display-buffer-set-width, display-buffer-in-window)
18587 (display-buffer-reuse-window, display-buffer-split-specifiers)
18588 (display-buffer-side-specifiers, display-buffer-split-window-1)
18589 (display-buffer-split-window, display-buffer-split-atom-window)
18590 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18591 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18592 (display-buffer-other-window-means-other-frame)
18593 (display-buffer-normalize-special)
18594 (display-buffer-normalize-default)
18595 (display-buffer-normalize-argument)
18596 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18597 (display-buffer-normalize-specifiers, display-buffer-frame)
18598 (display-buffer-same-window, display-buffer-same-frame)
18599 (display-buffer-other-window)
18600 (display-buffer-same-frame-other-window)
18601 (display-buffer-other-frame, pop-to-buffer-same-window)
18602 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18603 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18604 (switch-to-buffer-same-frame)
18605 (switch-to-buffer-other-window-same-frame)
18606 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18607 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18608 (display-buffer-alist-set): Remove.
18609 (display-buffer-function, special-display-buffer-names)
18610 (special-display-regexps, special-display-function):
18611 In doc-string refer to display-buffer-window and quit-restore
18613 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18614 (special-display-frame-alist, special-display-popup-frame)
18615 (same-window-buffer-names, same-window-regexps, same-window-p)
18616 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18617 (split-window-preferred-function, split-height-threshold)
18618 (split-width-threshold, window-splittable-p)
18619 (split-window-sensibly, window--try-to-split-window)
18620 (window--frame-usable-p, even-window-heights)
18621 (window--even-window-heights, window--display-buffer-1)
18622 (window--display-buffer-2, display-buffer-other-frame):
18623 Restore old Emacs 23 code, order and doc-strings where applicable.
18624 (display-buffer-default, display-buffer-assq-regexp): New functions.
18625 (display-buffer-alist): Rewrite doc-string.
18626 (display-buffer-default-action)
18627 (display-buffer-overriding-action): New variables.
18628 (display-buffer, switch-to-buffer): Rewrite.
18629 (pop-to-buffer): Restore Emacs 23 behavior but use
18630 window-normalize-buffer-to-display.
18631 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18632 Restore Emacs 23 behavior but use
18633 window-normalize-buffer-to-switch-to.
18634 (pop-to-buffer-same-window): Rewrite.
18635 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18636 Rewrite using Emacs 23 options.
18638 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18640 * net/tramp.el (tramp-root-regexp): Remove.
18641 (tramp-completion-file-name-regexp-unified)
18642 (tramp-completion-file-name-regexp-separate)
18643 (tramp-completion-file-name-regexp-url): Don't use leading volume
18644 letter on w32 systems. (Bug#5303, Bug#9311)
18645 (tramp-drop-volume-letter): Simplify definition.
18646 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18648 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18650 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18653 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18655 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18657 2011-08-29 Juri Linkov <juri@jurta.org>
18659 * isearch.el (isearch-done): Don't display message "Mark saved"
18660 when arg `edit' is non-nil to prevent its flicker in the echo area.
18662 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18664 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18665 obsolete packages for deletion.
18667 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18669 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18670 (help-mode): Derive help-mode from special-mode. Don't invoke
18671 view-mode from help-mode.
18672 (help-xref-override-view-map): Remove.
18673 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18674 view-mode is not used anymore.
18676 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18678 * server.el (server-port): Doc fix.
18680 * cus-theme.el (custom-theme-choose-mode): Inherit from
18681 special-mode (Bug#9124).
18682 (custom-theme-choose-mode-map): Add special-mode to parent.
18684 2011-08-28 Alan Mackenzie <acm@muc.de>
18686 * progmodes/cc-fonts.el
18687 (c-make-font-lock-BO-decl-search-function): New function.
18688 (c-basic-matchers-after - "Fontify the clauses after various
18689 keywords"): Extract the three keyword lists for the 3 erroneous
18690 constructs from the list of four, and use the new function above
18691 in place of an old one.
18693 2011-08-28 Deniz Dogan <deniz@dogan.se>
18695 * net/rcirc.el (rcirc-insert-prev-input)
18696 (rcirc-insert-next-input): Remove unused argument.
18698 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18700 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18702 2011-08-27 Alan Mackenzie <acm@muc.de>
18704 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18705 handle function pointer parameters properly.
18707 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18709 * window.el (display-buffer-reuse-window): Fix case where
18710 selected window was reused with non-nil OTHER-WINDOW argument.
18713 2011-08-27 Deniz Dogan <deniz@dogan.se>
18715 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18716 oftc's NickServ messages.
18718 2011-08-27 Glenn Morris <rgm@gnu.org>
18720 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18722 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18724 * emacs-lisp/package.el (package-install): Call package-initialize
18725 if called interactively.
18727 2011-08-26 Leo Liu <sdl.web@gmail.com>
18729 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18731 2011-08-25 Juri Linkov <juri@jurta.org>
18733 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18734 `search-whitespace-regexp' (bug#9364).
18736 2011-08-25 Juri Linkov <juri@jurta.org>
18738 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18739 `regexp-search-ring' to their global values to protect from
18740 updating by `read-from-minibuffer' (bug#9185).
18742 2011-08-25 Juri Linkov <juri@jurta.org>
18744 * textmodes/ispell.el (ispell-command-loop): Add newline
18745 at the end of the "Use option `i'..." line.
18747 2011-08-25 Juri Linkov <juri@jurta.org>
18749 * battery.el (display-battery-mode): If `battery-status-function'
18750 or `battery-mode-line-format' is nil, display the message and set
18751 `display-battery-mode' to nil (bug#9363).
18753 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18755 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18756 bidi-string-mark-left-to-right; they are unnecessary now.
18758 2011-08-25 Deniz Dogan <deniz@dogan.se>
18760 * net/quickurl.el: Documentation typo fixes.
18762 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18764 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18766 2011-08-25 Glenn Morris <rgm@gnu.org>
18768 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18770 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18771 (smtpmail-via-smtp): Handle nil response from smtp.
18773 2011-08-24 Juri Linkov <juri@jurta.org>
18775 * proced.el (proced-marked): Inherit from `error' instead of
18776 `font-lock-warning-face'.
18778 * ibuffer.el (ibuffer-marked-face): Change default face from
18779 `font-lock-warning-face' to `warning'.
18780 (ibuffer-deletion-face): Change default face from
18781 `font-lock-type-face' to `error'.
18783 * battery.el (battery-update): Use the face `error' instead of
18784 `font-lock-warning-face' (bug#6117).
18786 2011-08-24 Juri Linkov <juri@jurta.org>
18788 * faces.el (success): Change face color from "Green3" to
18789 "ForestGreen" on light background (bug#9353).
18791 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18793 * window.el (quit-window): Rename from quit-restore-window.
18794 Use same arglist as old quit-window.
18795 (frame-auto-delete): Doc fix.
18797 * view.el (view-mode-exit): Use quit-window.
18799 2011-08-24 Juri Linkov <juri@jurta.org>
18801 * isearch.el (isearch-ring-adjust1): Start visiting previous
18802 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18803 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18804 for empty search string (when the last search string is reused
18805 automatically) to adjust the isearch ring to the last element and
18806 prepare the correct index for further M-p commands (bug#9185).
18808 2011-08-24 Kenichi Handa <handa@m17n.org>
18810 * international/ucs-normalize.el: If decomposition property of
18811 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18813 (nfd, nfkd): Likewise.
18815 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18817 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18818 from process filters aren't reliably transmitted to the surrounding
18819 accept-process-output.
18820 (mpc-proc-check): New function.
18821 (mpc-proc-sync): Use it (bug#8293)
18823 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18825 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18826 Add compatibility functions (bug#9313).
18828 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18830 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18832 * international/uni-bidi.el: Regenerate.
18834 2011-08-23 Kenichi Handa <handa@m17n.org>
18836 * international/charprop.el:
18837 * international/uni-bidi.el:
18838 * international/uni-category.el:
18839 * international/uni-combining.el:
18840 * international/uni-comment.el:
18841 * international/uni-decimal.el:
18842 * international/uni-decomposition.el:
18843 * international/uni-digit.el:
18844 * international/uni-lowercase.el:
18845 * international/uni-mirrored.el:
18846 * international/uni-name.el:
18847 * international/uni-numeric.el:
18848 * international/uni-old-name.el:
18849 * international/uni-titlecase.el:
18850 * international/uni-uppercase.el: Regenerate.
18852 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18854 * help.el (help-window-setup): Fix message displayed when other
18855 window is reused. (Bug#9341)
18857 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18859 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18860 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18862 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18864 * shell.el (shell-parse-pcomplete-arguments): New function.
18865 (shell-completion-vars): Use it instead (bug#9160).
18867 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18869 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18870 strings and comments (bug#9333).
18872 * emacs-lisp/debug.el (debug-arglist): New function.
18873 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18874 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18876 2011-08-22 Juri Linkov <juri@jurta.org>
18878 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18879 Revert regexp that highlights output switches to its old
18880 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18882 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18883 to check for empty output (bug#9226).
18885 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18887 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18888 symbol-constituent as the default, as that stops font-lock from
18889 working properly (Bug#8843).
18891 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18893 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18894 `coding-system-for-*' around the process open call to avoid
18895 auth-source side effects.
18896 (smtpmail-try-auth-methods): Expand the secret password.
18897 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18900 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18902 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18904 * emacs-lisp/find-func.el (find-function-noselect): New arg
18907 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18908 signal an error for built-in functions (Bug#6664).
18910 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18912 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18913 (smtpmail-try-auth-methods): Use it.
18915 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18917 * font-lock.el (font-lock-fontify-region)
18918 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18919 (font-lock-default-unfontify-buffer)
18920 (font-lock-default-fontify-region)
18921 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18923 * progmodes/compile.el (compilation-error-properties):
18924 Fix confusion between file struct and message struct (Bug#9319).
18925 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18928 * net/browse-url.el (browse-url-firefox): Don't call
18929 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18931 2011-08-20 Glenn Morris <rgm@gnu.org>
18933 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18935 * tutorial.el (tutorial--default-keys): Update some default bindings.
18937 * files.el (hack-local-variables): Fully ignore case for "mode:".
18939 2011-08-20 Alan Mackenzie <acm@muc.de>
18941 Resolve invalid use of a regexp in regexp-opt.
18943 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18944 detection for a java annotation.
18946 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18947 detection for a java annotation.
18949 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18951 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18953 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18955 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18958 2011-08-20 Alan Mackenzie <acm@muc.de>
18960 Fontify CPP expressions correctly when starting in the middle of
18961 such a construct. Mainly for when jit-lock etc. starts a chunk
18964 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18966 (c-make-font-lock-search-form): New function, extracted from
18967 c-make-font-lock-search-function.
18968 (c-make-font-lock-search-function): Use the above function.
18969 (c-make-font-lock-context-search-function): New function.
18970 (c-cpp-matchers): Enhance the preprocessor expression case with
18972 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18973 which takes an expression.
18975 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18977 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18979 * window.el (display-buffer-reuse-window)
18980 (display-buffer-pop-up-window): Don't reuse or split a side
18983 2011-08-19 Glenn Morris <rgm@gnu.org>
18985 * files.el (hack-local-variables-prop-line, hack-local-variables):
18986 Downcase "Mode:". (Bug#9331)
18988 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18990 * international/characters.el: Add L and R categories.
18992 * subr.el (bidi-string-mark-left-to-right): Rename from
18993 string-mark-left-to-right. Use category search.
18995 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18997 2011-08-18 Juri Linkov <juri@jurta.org>
18999 * faces.el (error, warning, success): New faces with definitions
19000 copied from old default values of `font-lock-warning-face',
19001 `compilation-warning', `compilation-info' (bug#6117).
19003 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19005 * progmodes/compile.el (compilation-error): Inherit from `error'.
19006 (compilation-warning): Inherit from `warning'.
19007 (compilation-info): Inherit from `success'.
19009 * dired.el (dired-marked): Inherit from `warning'.
19010 (dired-flagged): Inherit from `error'.
19012 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19014 * mail/smtpmail.el (auth-source): Require to avoid problems with
19015 binding variables (bug#9298). Also clean up some unused
19018 * net/network-stream.el (network-stream-open-starttls):
19019 Support using starttls.el without using gnutls-cli.
19021 2011-08-17 Juri Linkov <juri@jurta.org>
19023 * progmodes/grep.el (rgrep): Handle the case when
19024 `grep-find-command' is a cons cell (bug#9278).
19026 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19028 * window.el (display-buffer-pop-up-frame): Run frame creation
19029 function with BUFFER current (as special-display-popup-frame
19030 does). Reported by Drew Adams.
19032 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19034 * epa-mail.el: Simplify GnuPG group expansion using
19036 (epa-mail-group-alist, epa-mail-group-modtime)
19037 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19038 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19039 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19042 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19044 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19046 2011-08-16 Alan Mackenzie <acm@muc.de>
19048 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19049 Correct, to avoid the inside of macros.
19051 2011-08-16 Richard Stallman <rms@gnu.org>
19053 * epa-mail.el: Handle GnuPG group definitions.
19054 (epa-mail-group-alist, epa-mail-group-modtime)
19055 (epa-mail-gnupg-conf-file): New variables.
19056 (epa-mail-parse-groups, epa-mail-sync-groups)
19057 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19058 (epa-mail-expand-recipients): New functions.
19059 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19061 * mail/rmail.el (rmail-epa-decrypt): New command.
19063 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19064 Don't bind buffer-read-only, just inhibit-read-only.
19065 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19066 (epa-decrypt-armor-in-region): Make error message clearer.
19068 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19070 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19071 and "a2b" to "ab" for `prefix'.
19073 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19075 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19077 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19078 Fourquet (Bug#8804).
19080 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19082 * startup.el (argi): Declare as global variable (bug#9275).
19084 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19086 * subr.el (string-mark-left-to-right): Search the entire string
19087 for RTL script, not just the terminating character. Doc fix.
19089 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19091 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19093 (js--regexp-literal, js-syntax-propertize-function): Remove.
19094 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19095 (js-mode-map): Don't rebind electric keys.
19096 (js-insert-and-indent): Remove.
19097 (js-mode): Setup electric-layout and electric-indent instead.
19099 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19101 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19103 * epa.el (epa-progress-callback-function): Fix the logic of
19104 displaying progress.
19105 * epa-file.el (epa-file-insert-file-contents): Make progress
19106 display more user-friendly.
19107 (epa-file-write-region): Ditto.
19109 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19111 * subr.el (string-mark-left-to-right): New function.
19113 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19114 Use string-mark-left-to-right.
19115 (list-buffers-noselect): Caller changed.
19117 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19118 Use string-mark-left-to-right.
19119 (tabulated-list-print): Recenter after moving point.
19121 2011-08-10 Juri Linkov <juri@jurta.org>
19123 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19124 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19125 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19127 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19129 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19132 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19134 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19135 character. (Bug#6594)
19137 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19139 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19140 (image-dired--with-db-file): New macro.
19141 (image-dired-write-tags, image-dired-remove-tag)
19142 (image-dired-create-gallery-lists, image-dired-write-comments)
19143 (image-dired-get-comment, image-dired-mark-tagged-files)
19144 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19145 (image-dired-gallery-generate): Use insert-file-contents.
19147 * time.el (display-time-world-list, display-time-world-display):
19148 * time-stamp.el (time-stamp-string):
19149 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19150 set-time-zone-rule (Bug#7337).
19152 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19154 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19155 (epg-error-to-string, epg-errors-to-string): New function.
19156 (epg-wait-for-completion): Reverse errors list.
19157 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19158 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19159 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19160 (epg-sign-keys, epg-generate-key-from-file)
19161 (epg-generate-key-from-string): Format errors by using
19162 epg-errors-to-string (bug#9255).
19163 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19165 2011-08-07 Juri Linkov <juri@jurta.org>
19167 * faces.el (list-faces-display): Remove extra angle bracket
19168 from `help-mode-map'.
19170 * info.el (Info-history-toc-nodes): Doc fix.
19172 * longlines.el (longlines-mode): Doc fix.
19174 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19176 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19177 of statements and in a few more cases (bug#9183).
19179 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19181 (cl-transform-lambda): Use them (bug#9239).
19183 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19185 * window.el (display-buffer-same-window)
19186 (display-buffer-same-frame, display-buffer-other-window)
19187 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19188 (pop-to-buffer-other-window)
19189 (pop-to-buffer-same-frame-other-window)
19190 (pop-to-buffer-other-frame): Make them defuns.
19191 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19193 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19195 * subr.el (make-composed-keymap): Move from C. Change calling
19196 convention, and improve docstring to bring attention to a subtle point.
19197 * minibuffer.el (completing-read-default): Adjust accordingly.
19199 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
19201 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
19202 (tramp-open-shell): Use `tramp-shell-quote-argument'.
19204 * net/trampver.el: Update release number.
19206 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19208 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19211 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19213 * mail/sendmail.el (sendmail-query-once): Restore the current
19214 buffer after querying (bug#9074).
19216 * dired.el (dired-flagged): Use different faces for marked and
19217 flagged files (bug#6117).
19219 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19222 * ido.el (ido-mode): Switch off the message if called
19225 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19226 before 587, since it appears that that's more likely to work for
19229 * cus-edit.el (custom-file): When running under emacs -q, always
19230 refuse to save the customizations, even if the .emacs file doesn't
19233 * info.el: Remove the `Info-beginning-of-buffer' function
19236 * net/network-stream.el (network-stream-open-starttls):
19237 Use `starttls-available-p' to see whether starttls.el can be used.
19239 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19241 * window.el (display-buffer-in-window): Don't set dedicated status
19242 of window here (Bug#9215).
19243 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19244 (display-buffer-pop-up-side-window)
19245 (display-buffer-in-side-window): Set dedicated status of window here.
19247 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19249 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19250 before binding generated-autoload-file.
19252 2011-08-01 Deniz Dogan <deniz@dogan.se>
19254 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19256 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19258 Sync with Tramp 2.2.2.
19260 * net/trampver.el: Update release number.
19262 2011-07-30 Juri Linkov <juri@jurta.org>
19264 * dired-aux.el (dired-touch-initial): Remove function.
19265 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19266 current time, and `default' to the last modification time of the
19267 current marked file (bug#6887).
19269 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19271 * simple.el (goto-line): Use string-to-number to provide a
19272 numeric argument to read-number (bug#9163).
19274 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19276 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19277 connection process, it could be nil.
19279 2011-07-27 Leo Liu <sdl.web@gmail.com>
19281 Simplify url handling in rcirc-mode.
19283 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19284 (rcirc-browse-url-at-mouse): Remove.
19285 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19287 2011-07-26 Alan Mackenzie <acm@muc.de>
19289 Fontify bitfield declarations properly.
19291 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19292 (c-symbol-chars): Now exported as a lang variable.
19293 (c-not-primitive-type-keywords): New lang variable.
19295 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19296 QT keyword "more" to prevent "more slots: ...." being spuriously
19297 parsed as a bitfield declaration.
19299 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19300 Refactor and enhance to handle bitfield declarations.
19301 (c-punctuation-in): New function.
19302 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19303 declarations properly.
19305 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19307 * calendar/icalendar.el (icalendar--all-events): Take care of
19308 multiple vcalendars in a single file.
19309 (icalendar--convert-float-to-ical): Checkdoc fixes.
19311 2011-07-25 Deniz Dogan <deniz@dogan.se>
19313 * image.el (insert-image): Clarifying docstring.
19315 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19317 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19318 `tramp-send-command-and-check' if there is no error.
19319 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19321 2011-07-22 Alan Mackenzie <acm@muc.de>
19323 Prevent cc-langs.elc being loaded at run time.
19325 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19328 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19329 "(require 'cc-langs)". Quote a form so it will evaluate at
19330 (cc-mode's) compilation time.
19332 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19334 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19335 loading. (Bug#9114)
19337 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19339 * window.el (display-buffer-pop-up-window)
19340 (display-buffer-pop-up-side-window)
19341 (display-buffer-in-side-window): Call display-buffer-set-height
19342 and display-buffer-set-width after setting the new window's
19343 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19345 2011-07-20 Sam Steingold <sds@gnu.org>
19347 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19348 (etags-tags-included-tables): Call `convert-standard-filename' on
19349 the file names contained in TAGS so that windows Emacs can handle
19350 TAGS files created by cygwin ctags.
19352 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19354 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19355 which apparently didn't work.
19357 2011-07-19 Roland Winkler <winkler@gnu.org>
19359 * proced.el (proced-send-signal): For *Marked Processes* buffer
19360 put point at beginning of buffer.
19362 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19364 * proced.el (proced-format): Make header lines align with the text
19367 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19369 * view.el (view-buffer): Allow running in `special' modes if we're
19370 visiting a file (bug#8615).
19372 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19374 * window.el (display-buffer-alist-of-strings-p)
19375 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19377 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19380 2011-07-18 Alan Mackenzie <acm@muc.de>
19382 Fontify declarators properly when, e.g., a jit-lock chunk begins
19383 inside a declaration.
19385 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19387 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19389 (c-complex-decl-matchers): Insert reference to
19390 c-font-lock-enclosing-decls.
19392 * progmodes/cc-engine.el (c-backward-single-comment):
19393 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19394 to nil around calls to (forward-comment -1).
19396 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19398 * image.el (put-image): Doc typo fix.
19400 * progmodes/etags.el (tags-search): Doc typo fix.
19402 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19403 password if we get errors 550 to 554.
19405 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19407 * net/gnutls.el (gnutls-log-level): Remove.
19409 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19410 indentation character (bug#6380).
19412 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19414 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19415 to clarify what the problem is (bug#4291).
19417 * simple.el (current-kill): Clarify what
19418 `interprogram-paste-function' does (bug#7500).
19419 (auto-fill-mode): Document `auto-fill-function' in relation to
19420 `auto-fill-mode' (bug#2470).
19422 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19424 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19425 method if slot is read-only (bug#9035).
19427 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19429 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19430 * window.el (pop-to-buffer): Select window used even if it was
19431 selected before, see discussion of (Bug#8615), (Bug#6954).
19432 Pass argument NORECORD on to select-frame-set-input-focus.
19434 2011-07-15 Glenn Morris <rgm@gnu.org>
19436 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19439 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19441 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19442 (gnutls-negotiate): Use it.
19444 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19446 * net/gnutls.el (gnutls-negotiate):
19447 Upcase `gnutls-algorithm-priority'.
19449 2011-07-15 Glenn Morris <rgm@gnu.org>
19451 * jka-compr.el (jka-compr-verbose): Move from here...
19452 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19453 Add missing :version tag.
19454 * info.el: No need to require jka-compr when compiling.
19456 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19458 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19459 (gnutls-negotiate): Use it.
19461 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19463 * info.el (Info-beginning-of-buffer): New command.
19464 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19465 announcing `b' as the key (bug#8325).
19466 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19468 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19470 * international/mule-cmds.el
19471 (describe-specified-language-support): Make the error message
19472 clearer (bug#8905).
19474 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19476 * isearch.el (isearch-barrier): Add a doc string, since it's
19477 mentioned in a function doc string (bug#8678).
19479 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19481 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19482 buffer argument (Bug#9083) and self-identifying label argument.
19484 2011-07-15 Glenn Morris <rgm@gnu.org>
19486 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19488 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19490 * man.el (Man-fontify-manpage): Fix message when formatting the
19491 man page (bug#7929).
19493 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19495 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19496 argument LRM; if non-nil, append an invisible LRM character to the
19498 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19499 last argument non-nil, when formatting buffer names.
19500 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19501 paragraph direction.
19503 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19505 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19506 the man page name (bug#7929).
19508 * image.el (put-image): Mention the `put-image' overlay property
19511 * scroll-bar.el (set-scroll-bar-mode): Mention that
19512 `scroll-bar-mode' lists the values (bug#7772).
19514 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19515 command (bug#7729).
19517 * rect.el (apply-on-rectangle): Return the point after the last
19519 (string-rectangle): Go to the point after the last operation
19522 * printing.el (pr-toggle-region): Clarify the documentation
19523 slightly (bug#7493).
19525 * time.el (display-time-update):
19526 Allow `display-time-mail-function' to return nil (bug#7158).
19527 Fix suggested by Detlev Zundel.
19529 * vc/diff.el (diff): Clarify the order the file names are read
19532 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19533 the doc string (bug#7015).
19535 * font-lock.el (font-lock-maximum-decoration): Mention what
19536 numeric levels mean (bug#6935).
19538 * startup.el (initial-buffer-choice): Don't mention the `none'
19539 selection, which is against policy.
19541 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19543 * window.el (display-buffer-normalize-special):
19544 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19546 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19548 * subr.el (version<, version<=, version=): Mention "-CVS" and
19549 "-12345" alpha version numbers.
19551 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19553 * bindings.el: Add advertised binding for set-mark-command
19556 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19558 * bindings.el (mode-line-other-buffer):
19559 * bookmark.el (bookmark-bmenu-2-window):
19560 * bs.el (bs-cycle-next, bs-cycle-previous):
19561 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19564 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19567 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19569 * follow.el (follow-debug-message, follow-redisplay):
19570 * jka-cmpr-hook.el (with-auto-compression-mode):
19571 Fix typos in docstrings.
19573 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19575 * subr.el (with-silent-modifications): Clarify somewhat what the
19576 macro inhibits (bug#6525).
19578 * simple.el (eval-expression): Note what it does if called
19579 interactively (bug#6495).
19581 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19583 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19584 Use pop-to-buffer buffer-or-name if it is nil.
19586 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19587 Remove switch-to-buffer.
19589 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19591 * files.el (make-directory): Clarify that an error will be raised
19592 if there's an error (bug#6397).
19594 * startup.el (initial-buffer-choice): Add `none' as a choice
19597 * subr.el (add-hook): Clarify section about buffer-local hooks
19600 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19602 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19604 * tabify.el (untabify): Preserve the current column so that point
19605 doesn't move (bug#6032).
19607 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19609 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19610 Rewrite to avoid awkward possessive "s" (bug#5986).
19612 2011-07-13 Glenn Morris <rgm@gnu.org>
19614 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19615 (dired-insert-directory): Give a message the first time
19616 if ls is found not to support --dired.
19618 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19620 * simple.el (toggle-truncate-lines): Clarify what is toggled
19621 (bug#5580). Text by Drew Adams.
19623 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19625 * simple.el (blink-matching-open): Make the error message from the
19626 last change less verbose.
19628 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19630 * font-lock.el (font-lock-comment-face): Use the high contrast
19631 "yellow" color for font-lock-comment-face on low color terminals
19632 using a dark background color (bug#4221).
19634 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19636 * dired.el (dired-insert-set-properties): Make the doc string
19637 reflect what it does now (bug#5325).
19639 * simple.el (blink-matching-open): Say that we were unable to find
19640 the match within the limit, if we're limited (bug#5122).
19642 * international/mule-cmds.el (prefer-coding-system): Add an
19643 example (bug#4869).
19645 * progmodes/etags.el (tags-search): Document `file-list-form'
19648 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19650 * net/browse-url.el (browse-url-default-browser)
19651 (browse-url-browser-function): Make the default browser choice a
19652 bit more logical (bug#4300). Also clean up the doc string.
19654 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19656 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19657 binary endings (bug#4440).
19659 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19661 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19662 which can be pretty annoying (bug#8971).
19664 * jka-compr.el (jka-compr-verbose): New variable, and use
19665 throughout (bug#8971).
19667 * info.el (Info-find-file): Fall back on the installation
19668 directory if we can't find the info node anywhere else.
19670 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19672 * vc/vc.el (vc-revert-file):
19673 Don't set file time-stamp in the past. (Bug#5181)
19675 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19677 * files.el (after-find-file): Give a better error message when
19678 trying to find a symlink that points to a file that doesn't exist
19681 * progmodes/cc-vars.el: Remove (probably) misleading comment
19684 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19686 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19688 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19690 * mouse-sel.el: Hack restoring functionality, while keeping
19691 compatibility with 2010-07-03 changes to mouse selection.
19692 (mouse-sel-primary-overlay): New var.
19693 (mouse-sel-selection-alist): Use it.
19694 (mouse-sel-mode): Doc fix; remove points that are default features
19697 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19700 Fix previous fix (bug#2490).
19702 2011-07-12 Roland Winkler <winkler@gnu.org>
19704 * textmodes/bibtex.el (bibtex-initialize):
19705 Use pop-to-buffer-same-window.
19706 (bibtex-search-entries): Fix interactive call.
19708 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19710 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19711 Fontise bytecomp Error lines more correctly (bug#2490).
19712 Fix suggested by Johan Bockgård.
19714 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19716 * dired-x.el (dired-guess-default): Use `delete-dups'.
19718 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19720 * dired.el (dired-mark-prompt):
19721 * dired-aux.el (dired-read-shell-command): Doc fix.
19723 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19725 * mail/sendmail.el (sendmail-query-once):
19726 Use `customize-save-variable' unconditionally, now that it works under
19729 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19731 * cus-edit.el (custom-file): Take an optional no-error variable.
19732 (customize-save-variable): Set the variable, and give a warning if
19733 running under "emacs -q".
19735 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19737 * loadhist.el (unload-feature-special-hooks):
19738 Add `auto-coding-functions', `fill-nobreak-predicate' and
19739 `find-directory-functions' (bug#5327).
19741 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19743 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19745 * cus-edit.el (custom-guess-name-alist): -alist variables should
19746 use the `alist' type (bug#3120). Suggested by Drew Adams.
19748 * printing.el: Add documentation to all the `pr-toggle-' commands.
19750 2011-07-11 Leo Liu <sdl.web@gmail.com>
19752 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19753 backends where it makes sense (bug#2623).
19755 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19757 * dired-x.el (dired-guess-default): Remove duplicate shell command
19758 entries (bug#2028).
19759 (dired-guess-default): Fix grammar in doc string (bug#2028).
19760 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19762 * subr.el (remove-duplicates): New conveniency function.
19764 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19766 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19769 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19771 * window.el (display-buffer-normalize-default): Don't invert
19772 meaning of even-window-heights. Reported by Eli Zaretskii
19775 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19777 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19779 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19781 * window.el (display-buffer): Fix arguments to
19782 display-buffer-reuse-window in last change.
19784 * faces.el (link): Use a less saturated blue on light backgrounds.
19786 * startup.el (fancy-startup-text, fancy-about-text)
19787 (fancy-startup-tail): Use font-lock faces, for background safety.
19789 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19791 * emulation/viper-cmd.el (viper-change-state-to-vi):
19792 Limit triggering of abbrev expansion (Bug#9038).
19794 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19796 * window.el (display-buffer-default-specifiers): Remove.
19797 (display-buffer-macro-specifiers): Remove default specifiers.
19798 (display-buffer-alist): Default to nil.
19799 (display-buffer-reuse-window): New optional argument other-window.
19800 (display-buffer-pop-up-window): Allow splitting internal
19801 windows. Check whether a live window was created.
19802 (display-buffer-other-window-means-other-frame)
19803 (display-buffer-normalize-arguments): Rename to
19804 display-buffer-normalize-argument and rewrite. Set the
19805 other-window specifier.
19806 (display-buffer-normalize-special): New function.
19807 (display-buffer-normalize-options): Rename to
19808 display-buffer-normalize-default and rewrite.
19809 (display-buffer-normalize-options-inhibit): Remove.
19810 (display-buffer-normalize-specifiers): Rewrite.
19811 (display-buffer): Process other-window specifier and call
19812 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19814 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19815 (display-buffer-alist-set): Don't handle 'unset default values.
19816 (display-buffer-in-window, display-buffer-alist-set):
19817 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19818 <tassilo@member.fsf.org>.
19820 2011-07-09 Leo Liu <sdl.web@gmail.com>
19822 * register.el (insert-register): Restore accidental change on
19823 2011-06-26. (Bug#9028)
19825 2011-07-09 Glenn Morris <rgm@gnu.org>
19827 * subr.el (remq): Handle the empty list. (Bug#9024)
19829 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19831 * mail/sendmail.el (send-mail-function): No longer delay custom
19833 * custom.el (custom-initialize-delay): Doc fix.
19835 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19837 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19839 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19841 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19842 human-friendly prompt.
19844 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19846 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19847 provided by a particular plugin.
19849 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19852 save customizations (with "emacs -Q"), just set the variable
19853 instead of erroring out.
19855 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19857 2011-07-08 Juri Linkov <juri@jurta.org>
19859 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19860 (archive-zip-update-case): Use 7z if found by `executable-find'.
19861 The order of searching the available programs is the same as in
19862 `archive-zip-extract' (bug#8968).
19864 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19866 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19867 (menu-bar-options-menu): Tweak descriptions.
19869 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19871 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19872 menu items into verb phrases (bug#1421). Also refill to fit under
19875 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19877 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19878 (Info-read-node-name): Doc fix (Bug#1084).
19880 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19881 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19882 (end-of-sexp, beginning-of-sexp)
19883 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19884 (forward-symbol, forward-same-syntax, word-at-point)
19885 (sentence-at-point): Doc fix (Bug#1144).
19887 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19889 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19890 should cover it (bug#1281).
19892 * cus-edit.el (custom-show): Mark as obsolete.
19894 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19895 negotiation fails, then possibly try again with a non-encrypted
19896 connection (bug#9017).
19898 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19901 2011-07-07 Richard Stallman <rms@gnu.org>
19903 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19904 property, and handle its changed format.
19905 Look for the correct line number.
19906 Use file's line contents (but not past first =) to find
19907 correct line in message.
19909 2011-07-07 Kenichi Handa <handa@m17n.org>
19911 * international/characters.el (build-unicode-category-table):
19913 (unicode-category-table): Set it by unicode-property-table-internal.
19915 * international/mule-cmds.el (char-code-property-alist): Move to
19917 (get-char-code-property): Call unicode-property-table-internal to
19918 load a file. Call get-unicode-property-internal where necessary.
19919 (put-char-code-property): Call unicode-property-table-internal to
19920 load a file. Call put-unicode-property-internal where necessary.
19921 put-unicode-property-internal where necessary.
19922 (char-code-property-description):
19923 Call unicode-property-table-internal to load a file.
19925 * international/charprop.el:
19926 * international/uni-bidi.el:
19927 * international/uni-category.el:
19928 * international/uni-combining.el:
19929 * international/uni-comment.el:
19930 * international/uni-decimal.el:
19931 * international/uni-decomposition.el:
19932 * international/uni-digit.el:
19933 * international/uni-lowercase.el:
19934 * international/uni-mirrored.el:
19935 * international/uni-name.el:
19936 * international/uni-numeric.el:
19937 * international/uni-old-name.el:
19938 * international/uni-titlecase.el:
19939 * international/uni-uppercase.el: Regenerate.
19941 * loadup.el: Load international/charprop.el before
19942 international/characters.
19944 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19946 * window.el (next-buffer, previous-buffer): Signal an error if
19947 called from a minibuffer window.
19949 * bindings.el: Revert 2011-07-04 change.
19951 2011-07-06 Richard Stallman <rms@gnu.org>
19953 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19954 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19955 Treat markers like ints.
19956 (rmail-mime-entity): Doc fix.
19958 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19960 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19961 defcustom again for backwards compatibility.
19963 * simple.el (shell-command-on-region): Fill.
19965 * dired-aux.el (dired-kill-line): Add a doc string.
19967 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19968 to "\\sw\\|\\s_" (bug#358).
19970 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19971 (dired-unmark-backward): Ditto.
19972 (dired-flag-backup-files): Ditto.
19974 * dired-x.el (dired-mark-sexp): Ditto.
19976 2011-07-06 Richard Stallman <rms@gnu.org>
19978 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19979 (rmail-mime-entity): New arg TRUNCATED.
19980 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19982 (rmail-mime-save): Warn if entity is truncated.
19983 (rmail-mime-toggle-hidden): Likewise, for showing.
19984 (rmail-mime-process-multipart): Record when an entity is truncated.
19986 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19987 if ENTITY is a string.
19989 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19991 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19992 of faces when `M-C-x'-ing their definitions (bug#8378).
19993 Also clean up the code slightly.
19995 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19996 because that makes the colors go away.
19998 * mail/sendmail.el (send-mail-function): Change the default to
19999 `sendmail-query-once'.
20000 (sendmail-query-once): Add an autoload cookie.
20002 * net/network-stream.el (network-stream-open-starttls): Try using
20003 a plain connection even if the server offered STARTTLS, and we
20004 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20005 capability. This should make smtpmail.el work in slightly more
20008 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20010 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20012 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20014 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20016 * progmodes/sql.el: Version 3.0
20017 (sql-product-alist): Add product :completion-object,
20018 :completion-column, and :statement attributes.
20019 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20020 (sql-mode-syntax-table): Mark all punctuation.
20021 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20023 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20024 (sql-mode-oracle-font-lock-keywords): Improve.
20025 (sql-oracle-show-reserved-words): New function for development.
20026 (sql-product-font-lock): Simplify for source code buffers.
20027 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20029 (sql-highlight-product): Set product specific syntax table.
20030 (sql-mode-map): Add statement movement functions.
20031 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20033 (sql-statement-regexp, sql-beginning-of-statement)
20034 (sql-end-of-statement, sql-signum): New functions.
20035 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20036 (sql-show-sqli-buffer): Bug fix.
20037 (sql-interactive-mode): Store connection data as buffer local.
20038 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20039 with sql-interactive-mode.
20040 (sql-save-connection): Save buffer local settings.
20041 (sql-connection-menu-filter): Change menu entry name.
20042 (sql-product-interactive): Bug fix.
20043 (sql-preoutput-hold): New variable.
20044 (sql-interactive-remove-continuation-prompt): Bug fixes.
20045 (sql-debug-redirect): New variable.
20046 (sql-str-literal): New function.
20047 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20049 (sql-oracle-save-settings, sql-oracle-restore-settings)
20050 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20051 (sql-completion-object, sql-completion-column)
20052 (sql-completion-sqlbuf): New variables.
20053 (sql-build-completions-1, sql-build-completions)
20054 (sql-try-completion): New functions.
20055 (sql-read-table-name): Use them.
20056 (sql-contains-names): New buffer local variable.
20057 (sql-list-all, sql-list-table): Use it.
20058 (sql-oracle-completion-types): New variable.
20059 (sql-oracle-completion-object, sql-sqlite-completion-object)
20060 (sql-postgres-completion-object): New functions.
20062 2011-07-06 Glenn Morris <rgm@gnu.org>
20064 * window.el (pop-to-buffer): Doc fix.
20066 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20068 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20070 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20072 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20074 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20076 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20078 * button.el (button): Inherit from link face. Suggested by Dan
20081 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20083 * progmodes/gdb-mi.el: Fit in 80 columns.
20084 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20087 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20088 if imenu is simply not configured (bug#8941).
20090 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20092 * allout.el (allout-post-undo-hook): New allout outline-change
20093 event hook to signal undo activity.
20094 (allout-post-command-business): Run allout-post-undo-hook if an
20095 undo just occurred.
20096 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20097 * allout-widgets.el (allout-widgets-after-undo-function):
20098 Ensure the integrity of the current item's decoration after it has been
20099 in the vicinity of an undo.
20100 (allout-widgets-mode): Include allout-widgets-after-undo-function
20101 on the new allout-post-undo-hook.
20103 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20105 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20106 Let define-derived-mode define it.
20107 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20108 cycles of abbrev-table inheritance (bug#8998).
20110 2011-07-05 Roland Winkler <winkler@gnu.org>
20112 * textmodes/bibtex.el: Add support for biblatex.
20113 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20114 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20115 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20116 (bibtex-entry-alist, bibtex-field-alist): New variables.
20117 (bibtex-entry-field-alist): Obsolete alias for
20118 bibtex-BibTeX-entry-alist.
20119 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20120 (bibtex-set-dialect): New command.
20121 (bibtex-entry-type, bibtex-entry-head)
20122 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20123 Bind via bibtex-set-dialect.
20124 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20125 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20126 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20127 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20128 Define via bibtex-set-dialect.
20129 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20130 Obey bibtex-no-opt-remove-re.
20131 (bibtex-vec-push, bibtex-vec-incr): New functions.
20132 (bibtex-format-entry, bibtex-field-list)
20133 (bibtex-print-help-message, bibtex-validate)
20134 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20136 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20138 * progmodes/compile.el (compilation-goto-locus):
20139 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20140 * bs.el (bs-cycle-next, bs-cycle-previous):
20141 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20142 * bindings.el (mode-line-other-buffer):
20143 * autoinsert.el (auto-insert):
20144 * arc-mode.el (archive-extract):
20145 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20147 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20149 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20150 Fix check of `emacs-lock-unlockable-modes'.
20151 Coerce true values of `emacs-lock--try-unlocking' to t.
20153 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20155 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20156 * emacs-lock.el: New file.
20158 2011-07-05 Julien Danjou <julien@danjou.info>
20160 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20161 than `boundp' to check if face is set.
20163 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20165 * register.el (registerv-make):
20166 * window.el (window-min-height): Fix typos in docstrings.
20168 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20170 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20173 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20175 * server.el (server-execute): Catch quit and call
20176 `server-return-error' to pass the error back to emacsclient and
20177 close the connection (bug#8942).
20179 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20181 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20182 insecure exception for current topic. Also note that auto-saves
20183 are handled differently.
20185 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20186 State variables for tracking auto-save inhibition situation.
20188 (allout-write-contents-hook-handler): Rename from
20189 'allout-write-file-hook-handler', and describe how it depends on
20190 write-contents-functions sensitivity to non-nil value to prevent
20193 (allout-auto-save-hook-handler): Remove. auto-save does not check
20194 this in individual buffers, only in the starting buffer, so this
20195 is not the right way for us to inhibit auto-save in a buffer
20196 according to its condition.
20198 (allout-mode): Use new allout-write-contents-hook-handler, and
20199 only with write-contents-functions. Remove auto-save provisions -
20200 they're implemented elsewhere.
20202 (allout-before-change-handler): If undo is in progress, note that
20203 for attention of allout-post-command-business.
20205 (allout-post-command-business): If the command we're following was
20206 an undo, check for change in the status of encrypted items and
20207 adjust auto-save inhibitions accordingly.
20209 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
20210 according to whether there are or aren't any plain-text topics
20211 pending encryption.
20213 (allout-inhibit-auto-save-info-for-decryption):
20214 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20215 if there are plain-text topics pending encryption.
20217 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20218 buffer-saved-size and some allout state to not inhibit auto-saves
20219 if there are no longer any plain-text topics pending encryption.
20221 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20222 No longer provide for exemption of the current topic.
20224 2011-07-04 Juri Linkov <juri@jurta.org>
20226 Add 7z operations to delete and save changed members (bug#8968).
20227 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20229 (archive-7z-write-file-member): New function.
20230 (archive-7z-summarize): Fix the number of dashes in the
20233 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20235 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20238 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20240 * bindings.el: Ignore next-buffer and previous-buffer in
20241 minibuffer-local-map.
20243 * font-lock.el (font-lock-builtin-face): Change light background
20244 color to dark slate blue (Bug#6693).
20246 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20248 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20250 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20252 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20253 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20254 Add switch-to-buffer.
20256 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20258 * isearch.el (isearch-search-fun-function): Clarify further the
20259 meaning of the function returned.
20261 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20263 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20265 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20266 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20268 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20269 `tramp-default-remote-path' does not exist.
20270 (tramp-send-command-and-read): New optional argument NOERROR.
20271 (tramp-open-connection-setup-interactive-shell)
20272 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20273 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20274 (tramp-process-sentinel): Flush also process' connection property.
20275 (tramp-sh-handle-start-file-process): Do not set process
20276 sentinel. It is done now ...
20277 (tramp-maybe-open-connection): ... here. (Bug#8929)
20279 2011-07-04 MON KEY <monkey@sandpframing.com>
20281 * play/animate.el (animate-string): Doc fixes and allow changing
20282 the buffer name (bug#5417).
20284 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20286 * play/animate.el (animation-buffer-name): Rename from *animate*.
20288 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20290 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20291 This is simpler and helps future-proof the code.
20292 (timer-until): Use time-subtract and float-time.
20293 (timer--time-less-p): Use time-less-p.
20295 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20297 * type-break.el (timep): Use the value of `float-time' to avoid a
20298 byte-compiler warning.
20300 * server.el (server-eval-and-print): Return any result, even nil.
20302 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20304 * type-break.el: Accept time formats that the builtins accept.
20305 (timep, type-break-time-difference): Accept any format that
20306 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20307 This is simpler and helps future-proof the code.
20308 (type-break-time-difference): Round rather than ignoring
20309 subseconds components.
20311 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20313 * info.el (Info-apropos-matches): Make non-interactive, since it
20314 doesn't seem to do anything useful as a command (bug#8829).
20316 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20318 * frame.el (frame-background-mode, frame-set-background-mode):
20319 Move from faces.el.
20320 (frame-default-terminal-background): New function.
20322 * custom.el (custom-push-theme): Don't record faces in `changed'
20323 theme; this doesn't work correctly for per-frame face settings.
20324 (disable-theme): Use face-set-after-frame-default to reset faces.
20325 (custom--frame-color-default): New function.
20327 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20329 * dired.el (dired-flagging-regexp): Remove unused variable
20332 2011-03-29 Kevin Ryde <user42@zip.com.au>
20334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20335 `perl-Test2' extend to match possible "fail #N" rep count
20338 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20340 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20341 `smtpmail-via-smtp' now returns the error instead of nil.
20343 * isearch.el (isearch-search-fun-function): Clarify the doc string
20346 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20348 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20349 unnecessary spaces (bug#8987).
20351 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20353 * net/network-stream.el (open-network-stream): Use the
20354 :end-of-capability command thoughout.
20356 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20358 * net/network-stream.el (open-network-stream): Add the
20359 :end-of-capability command parameter, used by pop3.el.
20361 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20363 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20365 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20366 for list)" (bug#6475).
20368 * files.el (file-expand-wildcards): Ignore non-readable
20369 sub-directories while trying to find matches instead of signaling
20370 an error (bug#6297).
20372 * man.el (Man-reference-regexp): Allow matching possible
20373 word-wrapped references (bug#6289).
20375 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20376 for consistency with the other vc buffers (bug#6197).
20377 (vc-checkin): Ditto.
20379 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20381 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20383 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20385 * custom.el (defcustom): Clarify that :set is only used in the
20386 Customize user interface (bug#6089).
20388 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20389 associated with a file, refuse to run instead of erroring out
20392 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20393 the doc string, since it appears that using `fill-column' always
20394 controls the width (bug#7845).
20396 * simple.el (shell-command-on-region): Say where the error output
20397 went if `shell-command-default-error-buffer' is set (bug#6857).
20399 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20401 * allout.el (allout-yank-processing): Adjust cursor position for
20402 backwards-deleted space.
20404 (allout-rebullet-heading): Register changes with
20405 allout-exposure-changed-hook, so the modified topic is properly
20408 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20410 * minibuffer.el (completion-in-region): Document PREDICATE
20413 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20414 of keyword/argument pairs (bug#6904).
20416 * replace.el (multi-occur):
20417 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20419 2011-07-02 Drew Adams <drew.adams@oracle.com>
20421 * dired.el (dired-mark-if): Make the message about whether it's
20422 marking or unmarking clearer (bug#8523).
20424 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20426 * disp-table.el (display-table-print-array): New function.
20427 (describe-display-table): Use it to print the vectors more pretty
20430 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20432 * window.el (window-state-get-1): Don't assign clone numbers.
20433 Add clone-of item to list of window parameters.
20434 (window-state-put-2): Don't process clone numbers.
20435 (display-buffer-alist): Fix doc-string.
20437 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20439 * subr.el (remq): Don't allocate if it's not needed.
20440 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20441 (keymap--merge-bindings): New functions.
20442 (keymap-canonicalize): Use them to refine the canonicalization.
20443 * minibuffer.el (minibuffer-local-completion-map)
20444 (minibuffer-local-must-match-map): Move initialization from C.
20445 (minibuffer-local-filename-completion-map): Move initialization from C;
20446 don't inherit from anything here.
20447 (minibuffer-local-filename-must-match-map): Make obsolete.
20448 (completing-read-default): Use make-composed-keymap to combine
20449 minibuffer-local-filename-completion-map with either
20450 minibuffer-local-must-match-map or
20451 minibuffer-local-filename-completion-map.
20453 2011-07-01 Glenn Morris <rgm@gnu.org>
20455 * type-break.el (type-break-time-sum): Use dolist.
20457 * textmodes/flyspell.el (flyspell-word-search-backward):
20458 Replace CL function.
20460 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20462 * mouse.el (mouse--strip-first-event): New function.
20463 (function-key-map): Use it to map fringe clicks to normal clicks
20466 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20467 (vc-bzr-revision-completion-table): Add support for annotate and date.
20469 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20470 inherit from parent.
20472 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20474 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20475 (dired-show-file-type): Doc fixup (bug#8818).
20477 * dired.el (dired-mode): Fix up the doc string as suggested by
20478 Drew Adams (bug#8817).
20480 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20481 cookie, since the manual says that it should be possible to add
20482 this function to `find-file-hook' (bug#8709).
20484 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20486 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20487 here. Noted Ted Zlatanov as the maintainer.
20488 (cfengine-common-settings, cfengine-common-syntax): New functions
20489 to set up common things between `cfengine-mode' and
20491 (cfengine3-mode): New mode.
20492 (cfengine3-defuns cfengine3-defuns-regex
20493 (cfengine3-class-selector-regex cfengine3-category-regex)
20494 (cfengine3-vartypes cfengine3-font-lock-keywords)
20495 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20496 (cfengine3-indent-line): Add from cfengine3.el.
20498 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20500 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20502 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20504 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20506 * window.el (same-window-buffer-names, same-window-regexps)
20507 (same-window-p, special-display-frame-alist)
20508 (special-display-popup-frame, special-display-function)
20509 (special-display-buffer-names, special-display-regexps)
20510 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20511 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20512 (split-window-preferred-function, split-height-threshold)
20513 (split-width-threshold, even-window-heights)
20514 (display-buffer-mark-dedicated, window-splittable-p)
20515 (split-window-sensibly, window-safely-shrinkable-p):
20517 (display-buffer): Don't spread args with function specifier
20518 because special-display-popup-frame won't like it.
20520 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20522 Time-stamp simplifications and fixes.
20523 These improve accuracy slightly, and future-proof the code
20524 against some potential changes to current-time format.
20526 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20527 by using time-since and float-time.
20529 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20530 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20531 + NNN microseconds".
20533 * type-break.el (type-break-time-sum): Rewrite using time-add.
20535 * play/hanoi.el (hanoi-current-time-float): Remove.
20536 All uses replaced by float-time.
20538 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20539 This yields a more-accurate answer.
20540 (rng-time-to-float): Remove; no longer needed.
20542 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20544 * calendar/timeclock.el (timeclock-seconds-to-time):
20545 Defalias to seconds-to-time, since they're the same thing.
20547 * emacs-lisp/elp.el (elp-elapsed-time):
20548 * emacs-lisp/benchmark.el (benchmark-elapse):
20549 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20551 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20553 * window.el (bury-buffer): Don't iconify the only frame.
20554 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20555 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20557 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20559 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20560 Add mouse-yank-primary.
20562 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20564 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20566 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20568 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20569 (find-library-name): Use it to find relative load names when provided
20570 absolute file name (bug#8803).
20572 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20574 * textmodes/flyspell.el (flyspell-word): Consider words that
20575 differ only in case as potential doublons (bug#5687).
20577 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20578 Remove two rather uninteresting debugging-like messages to make
20579 debbugs.el more silent.
20581 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20582 a password-like phrase.
20584 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20586 * progmodes/cc-guess.el: New file.
20588 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20590 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20591 derived from `c-basic-common-init'.
20593 * progmodes/cc-mode.el (top-level): Require cc-guess.
20594 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20596 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20598 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20600 2011-06-30 Alan Mackenzie <acm@muc.de>
20602 * progmodes/cc-engine.el (c-guess-continued-construct):
20603 Correct the handling of template-args-cont, particularly for when font
20604 lock is disabled. Name this case as "CASE G".
20606 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20608 * allout.el (allout-yank-processing): Fix injection of extra space
20609 between bullet and non-whitespace character in first topic when
20610 pasting, ensuring that the actual spacing in the pasted topic
20611 following the bullet char is preserved. This extra space was
20612 causing pasted encrypted topics to get a decrypted status even
20613 when the content was actually still encrypted. Now the decryption
20614 status from before the paste is preserved.
20616 (allout-flag-region): Set all allout overlays so they evaporate
20617 when reduced to zero length (evanescent), to prevent overlay
20620 2011-06-30 Glenn Morris <rgm@gnu.org>
20622 * w32-fns.el (w32-charset-info-alist): Declare.
20624 * find-dired.el (find-grep-options): Simplify.
20626 * term/ns-win.el (ns-set-resource): Declare.
20628 * ses.el (row, col): Declare dynamic variables honestly.
20630 * textmodes/reftex-parse.el (index-tags): Declare.
20632 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20634 * cus-edit.el (customize-push-and-save): New function.
20636 * files.el (hack-local-variables-confirm): Use it.
20638 * custom.el (load-theme): New arg NO-CONFIRM.
20639 Use customize-push-and-save (Bug#8720).
20640 (custom-enabled-themes): Doc fix.
20642 * cus-theme.el (customize-create-theme)
20643 (custom-theme-merge-theme): Callers to load-theme changed.
20645 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20647 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20648 short URLs have at least one dot in them (bug #7614).
20650 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20651 nil, because using a pty is apparently too slow (bug #895).
20653 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20655 * mail/sendmail.el (sendmail-query-once): New function.
20656 (sendmail-query-once-function): New variable.
20658 2011-06-29 Glenn Morris <rgm@gnu.org>
20660 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20662 * ses.el (top-level): Require cl when compiling.
20663 (ses-set-localvars): Fix error statement.
20664 Call it at compile time to silence a storm of warnings.
20666 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20668 * window.el (normalize-live-buffer): Rename to
20669 window-normalize-buffer.
20670 (normalize-live-frame): Rename to window-normalize-frame.
20671 (normalize-any-window): Rename to window-normalize-any-window.
20672 (normalize-live-window): Rename to window-normalize-live-window.
20673 (make-window-atom): Rename to window-make-atom.
20674 (window-resize-reset): Rename to window--resize-reset.
20675 (window-resize-reset-1): Rename to window--resize-reset-1.
20676 (resize-mini-window): Rename to window--resize-mini-window.
20677 (resize-subwindows-skip-p): Rename to
20678 window--resize-subwindows-skip-p.
20679 (resize-subwindows-normal): Rename to
20680 window--resize-subwindows-normal.
20681 (resize-subwindows): Rename to window--resize-subwindows.
20682 (resize-other-windows): Rename to window--resize-siblings.
20683 (resize-this-window): Rename to window--resize-this-window.
20684 (resize-root-window): Rename to window--resize-root-window.
20685 (resize-root-window-vertically): Rename to
20686 window--resize-root-window-vertically.
20687 (normalize-buffer-to-display): Rename to
20688 window-normalize-buffer-to-display.
20689 (normalize-buffer-to-switch-to): Rename to
20690 window-normalize-buffer-to-switch-to.
20691 Correspondingly update all callers of the functions listed
20693 (display-buffer-alist, display-buffer-normalize-arguments)
20694 (display-buffer-normalize-options, display-buffer)
20695 (display-buffer-alist-set): Use "function" instead of
20698 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20700 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20701 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20702 debbugs.gnu.org. Mention acknowledgment email.
20704 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20706 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20707 buffer multibyteness, since it shouldn't matter.
20709 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20711 * window.el (display-buffer-in-side-window): Handle dedicated
20712 windows as in display-buffer-reuse-window.
20713 (display-buffer-normalize-alist): Use value of override
20715 (display-buffer-normalize-specifiers): Use value of
20716 other-window-means-other-frame specifier.
20717 (display-buffer-alist): Rewrite some texts in widgets.
20718 (display-buffer): Spread arguments when calling function
20719 specified by fun-with-args.
20721 2011-06-28 Deniz Dogan <deniz@dogan.se>
20723 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20726 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20727 selectors (Bug#5732).
20728 (css-proprietary-nmstart-re): Use `regexp-opt'.
20730 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20732 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20733 (eshell-ls-date-format): New defcustom.
20734 (eshell-ls-file): Use it.
20736 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20738 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20740 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20742 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20743 (ange-ftp-make-tmp-name): New arg.
20744 (ange-ftp-file-local-copy): Use it.
20746 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20748 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20749 no-conversion (Bug#8870).
20751 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20753 * window.el (window-right, window-left, window-child)
20754 (window-child-count, window-last-child)
20755 (window-iso-combination-p, walk-window-tree-1)
20756 (window-atom-check-1, window-tree-1, delete-window)
20757 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20758 new naming conventions - window-vchild, window-hchild,
20759 window-next and window-prev are now called window-top-child,
20760 window-left-child, window-next-sibling and window-prev-sibling
20762 (resize-window-reset): Rename to window-resize-reset.
20763 (resize-window-reset-1): Rename to window-resize-reset-1.
20764 (resize-window): Rename to window-resize.
20765 (window-min-height, window-min-width)
20766 (resize-mini-window, resize-this-window, resize-root-window)
20767 (resize-root-window-vertically, adjust-window-trailing-edge)
20768 (enlarge-window, shrink-window, maximize-window)
20769 (minimize-window, delete-window, quit-restore-window)
20770 (split-window, balance-windows, balance-windows-area-adjust)
20771 (balance-windows-area, window-state-put-2)
20772 (display-buffer-even-window-sizes, display-buffer-set-height)
20773 (display-buffer-set-width, set-window-text-height)
20774 (fit-window-to-buffer): Rename all "resize-window" prefixed
20775 calls to use the "window-resize" prefix convention.
20776 (display-buffer-alist): Fix symbol for label specifier.
20777 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20778 corresponding specifier.
20779 Reported by Juanma Barranquero <lekktu@gmail.com>.
20781 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20783 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20785 (ses-call-printer): Does not pass an empty string to formatter when the
20786 cell is empty to keep from barking printer Calc math-format-value.
20788 2011-06-27 Richard Stallman <rms@gnu.org>
20790 * battery.el (battery-mode-line-limit): New variable.
20791 (battery-update): Handle it.
20793 * mail/rmailmm.el (rmail-mime-process-multipart):
20794 Handle truncated messages.
20796 2011-06-27 Glenn Morris <rgm@gnu.org>
20798 * progmodes/flymake.el (flymake-err-line-patterns):
20799 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20801 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20803 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20804 (ses--clean-!, ses--clean-_): New functions.
20805 (ses-range): Add configurability of readout order, and conversion
20808 * ses.el (ses-repair-cell-reference-all): New function.
20809 (ses-cell-symbol): Set macro as safe, so that it can be used in
20812 * ses.el: Update cycle detection algorithm.
20813 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20814 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20815 (ses-set-localvars): New function.
20816 (ses-make-cell): Add property-list as a cell element.
20817 (ses-cell-property-get-fun, ses-cell-property-get)
20818 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20819 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20821 (ses-cell-property-set, ses-cell-property-pop)
20822 (ses-cell-property-get-handle): New macro.
20823 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20824 New aliases, used for code readability.
20825 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20827 (ses-self-reference-early-detection): New defcustom.
20828 (ses-formula-references): Robustify against self-referring cells.
20829 (ses-mode): Use ses-set-localvars.
20830 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20831 before lauching the update processing.
20832 (ses-initialize-Dijkstra-attempt): New function.
20833 (ses-recalculate-cell): Update for cycle detection based on
20834 Dijkstra algorithm.
20836 * ses.el: Fix commenting and indenting convention.
20838 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20840 * bs.el (bs-cycle-next): Complete last change.
20842 2011-06-27 Drew Adams <drew.adams@oracle.com>
20844 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20846 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20848 * net/network-stream.el (network-stream-open-starttls):
20849 Don't re-get capabilities unless we've reestablished connection.
20850 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20852 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20853 to binary to possibly avoid line encoding issues on Windows (among
20856 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20858 * net/network-stream.el (open-network-stream): Return an :error
20859 saying what the problem was, if possible.
20861 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20864 * net/network-stream.el (network-stream-open-starttls): If we
20865 wanted to use STARTTLS, and the server offered it, but we weren't
20866 able to because we had no STARTTLS support, then close the connection.
20867 (open-network-stream): Return an :error element, if present.
20869 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20871 * hl-line.el (hl-line-sticky-flag): Doc fix.
20872 (global-hl-line-sticky-flag): New option (Bug#8323).
20873 (global-hl-line-highlight): Obey it.
20875 * vc/vc.el (vc-revert-show-diff): Default to t.
20877 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20879 * allout-widgets.el (allout-widgets-post-command-business):
20880 Stop decorating intermediate isearch matches. They're not being
20881 undecorated when an isearch is continued past, and isearch
20882 automatically collapses them. This leads to "widget leaks", where
20883 decorated items accumulate in collapsed areas. Lines with lots of
20884 hidden widgets can slow down cursor travel, substantially.
20885 Too much complicated machinery would be needed to ensure undecoration,
20886 so we're doing without this nicety.
20888 (allout-widgets-tally-string): Don't try to do a hash-table-count
20889 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20890 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20891 *Messages* when allout-widgets-maintain-tally is t.
20893 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20895 * window.el (display-buffer-normalize-argument): Rename to
20896 display-buffer-normalize-arguments. Handle special meaning of
20897 LABEL argument. Respect special-display-function when popping up
20898 a new frame. Fix code searching for a window showing the buffer
20900 (display-buffer-normalize-specifiers):
20901 Call display-buffer-normalize-arguments.
20902 (display-buffer-in-window): Don't undedicate the window if its
20903 buffer remains the same.
20904 Reported by Drew Adams <drew.adams@oracle.com>.
20905 (display-buffer-alist): Add choice for same-window macro
20907 (display-buffer): Mention special meaning of LABEL argument in
20908 doc-string. Fix quoting. Don't pop up a new frame even as
20911 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20913 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20914 avoid deleting the current window in some cases (bug#8911).
20916 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20918 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20921 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20923 * net/network-stream.el (network-stream-open-starttls):
20924 Use built-in TLS support if `gnutls-available-p' is true.
20925 (network-stream-open-tls): Ditto.
20927 2011-06-26 Leo Liu <sdl.web@gmail.com>
20929 * register.el (registerv): New struct.
20930 (registerv-make): New function.
20931 (jump-to-register, describe-register-1, insert-register):
20932 Support the jump-func, print-func and insert-func slot of a registerv
20935 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20937 * vc/vc.el (vc-revert-show-diff): New defcustom.
20938 (vc-diff-internal): New arg specifying diff buffer.
20939 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20940 reuse an existing *vc-diff* buffer (Bug#8927).
20942 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20944 2011-06-26 Glenn Morris <rgm@gnu.org>
20946 * progmodes/f90.el (f90-critical-indent): New option.
20947 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20948 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20949 (f90-mode): Doc fix.
20950 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20951 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20952 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20953 (f90-match-end): Handle block, critical.
20955 2011-06-25 Glenn Morris <rgm@gnu.org>
20957 * calendar/diary-lib.el (diary-included-files): Doc fix.
20958 (diary-include-files): New function, extracted from
20959 diary-include-other-diary-files and diary-mark-included-diary-files.
20960 (diary-include-other-diary-files, diary-mark-included-diary-files):
20961 Just call diary-include-files.
20962 (diary-mark-entries): Reset diary-included-files on first call.
20964 * calendar/diary-lib.el (diary-mark-entries)
20965 (diary-mark-included-diary-files):
20966 Visit included diary-files in temp buffers.
20968 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20969 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20970 (f90-start-block-re, f90-imenu-generic-expression)
20971 (f90-looking-at-program-block-start, f90-no-block-limit):
20972 Add support for submodules.
20974 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20975 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20977 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20979 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20980 buffer-file-type before setting its value, to avoid disastrous
20981 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20983 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20985 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20987 * ses.el (ses-unload-function):
20988 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20990 * proced.el (proced-unload-function):
20991 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20993 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20995 * server.el (server-create-window-system-frame): Add parameters arg.
20996 (server-process-filter): Doc fix. Handle frame-parameters.
20998 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21000 Fix bug#8730, bug#8781.
21002 * loadhist.el (unload--set-major-mode): New function.
21003 (unload-feature): Use it.
21005 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21006 (python-unload-function): New function.
21008 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21010 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21012 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21014 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21015 the candidates list.
21017 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21019 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21021 2011-06-23 Richard Stallman <rms@gnu.org>
21023 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21024 (rmail-variables): Set next-error-move-function.
21025 (rmail-what-message): Take argument POS.
21026 (rmail-next-error-move): New function.
21028 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21030 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21031 messages for adjacent non-terminals.
21033 2011-06-23 Richard Stallman <rms@gnu.org>
21035 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21036 (rmail-show-message-1): Preserve buffer modified flag.
21037 (rmail-start-mail): Don't specify use of rmail-mail-return;
21038 that's done by mail-bury now.
21039 (rmail-mail-return): Handle arg NEWBUF.
21041 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21043 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21046 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21048 * window.el (get-lru-window, get-mru-window)
21049 (get-largest-window): Never return a minibuffer window.
21050 (display-buffer-pop-up-window): Fix a bug that could lead to
21051 reusing the minibuffer window.
21052 (display-buffer): Pass original specifier argument to
21053 display-buffer-function instead of the normalized one.
21054 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21056 2011-06-22 Leo Liu <sdl.web@gmail.com>
21058 * minibuffer.el (completing-read-function)
21059 (completing-read-default): Move from minibuf.c.
21061 2011-06-22 Richard Stallman <rms@gnu.org>
21063 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21064 to Rmail even if not started by a special Rmail command.
21066 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21067 Copy the buffer currently showing just one message.
21069 2011-06-22 Roland Winkler <winkler@gnu.org>
21071 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21072 (bibtex-clean-entry): First delete the old key so that a
21073 customized algorithm for generating the new key does not get
21074 confused by the old key.
21075 (bibtex-url): Obey regexp of first step.
21076 (bibtex-search-entries): Do not use add-to-list with local
21079 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21081 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21082 stored a user name, then query for the password first, instead of
21083 waiting for SMTP to give an error message and the trying again.
21085 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21087 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21088 BUFFER in call-process.
21090 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21092 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21094 (smtpmail-try-auth-methods): Require user name and password from
21097 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21099 * window.el (display-buffer-default-specifiers)
21100 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21101 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21102 (split-window): Normalize SIDE argument (Bug#8916).
21104 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21105 (special-display-frame-alist, special-display-popup-frame):
21106 Remove duplicate declarations. These are now in window.el.
21108 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21110 * mail/smtpmail.el (smtpmail-via-smtp):
21111 Set :use-starttls-if-possible so that we always use STARTTLS if the
21112 server supports it. SMTP servers that support STARTTLS commonly
21115 * net/network-stream.el (network-stream-open-starttls): Support
21116 upgrading to STARTTLS always, even if we don't have built-in support.
21117 (open-network-stream): Add the :always-query-capabilities keyword.
21119 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21120 upgrades with `open-network-stream', and rely solely on
21121 auth-source for all credentials. Big changes throughout the file,
21123 (smtpmail-auth-credentials): Remove.
21124 (smtpmail-starttls-credentials): Remove.
21125 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21128 * net/network-stream.el (network-stream-open-starttls):
21129 Provide support for client certificates both for external and built-in
21131 (auth-source): Require.
21132 (open-network-stream): Document the :client-certificate keyword.
21133 (network-stream-certificate): Change cert-cert to cert and
21136 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21138 * net/tramp-cache.el (top): Don't load the persistency file when
21139 "emacs -Q" has been called.
21141 2011-06-21 Tim Harper <timcharper@gmail.com>
21143 * term/ns-win.el (ns-initialize-window-system):
21144 Set application-specific `ApplePressAndHoldEnabled' system
21145 resource to NO as it is not yet supported by the NS port.
21147 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21149 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21150 (list-dynamic-libraries): ...not here.
21152 2011-06-21 Leo Liu <sdl.web@gmail.com>
21154 * subr.el (sha1): Implement sha1 using secure-hash.
21156 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21158 * window.el (display-buffer-alist): In default value do not
21159 enforce searching a window on any but the selected frame.
21160 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21161 (display-buffer-select-window): Remove function.
21162 (display-buffer-in-window): When a window on another frame gets
21163 reused, do not select it any more but just raise its frame if
21164 necessary (Bug#8851) and (Bug#8856).
21165 (display-buffer-normalize-options): Handle pop-up-frames related
21166 options more faithfully.
21167 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21168 window if it is on another frame.
21169 (display-buffer-alist, display-buffer-default-specifiers):
21170 Don't make new frame unsplittable by default.
21171 (display-buffer-normalize-argument): Fix doc-string typo and use
21172 'same-frame-other-window instead of 'other-window when associating
21173 with display-buffer-macro-specifiers.
21175 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21177 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21179 (5x5-mode-map, 5x5-mode-menu): Bind them.
21180 (5x5-draw-grid): Tweak the solver's rendering.
21182 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21184 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21185 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21187 2011-06-21 Drew Adams <drew.adams@oracle.com>
21189 * menu-bar.el: Use function variable instead of switch-to-buffer.
21190 (menu-bar-select-buffer-function): New variable.
21191 (menu-bar-update-buffers): Use it (bug#8876).
21193 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21195 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21198 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21200 * x-dnd.el (x-dnd-version-from-flags)
21201 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
21202 and long as number (Bug#8899).
21203 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
21205 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21207 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21208 (completion-try-completion, completion-all-completions): Compute the
21209 metadata argument if it's missing; make it optional (bug#8795).
21211 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21212 (widget-complete): Use new :completion-function property.
21213 (widget-completions-at-point): New function.
21214 (default): Use :completion-function instead of :complete.
21215 (widget-default-completions): Rename from widget-default-complete;
21217 (widget-string-complete, widget-file-complete, widget-color-complete):
21219 (file, symbol, function, variable, coding-system, color):
21220 * international/mule-cmds.el (default-input-method, charset)
21221 (language-info-custom-alist):
21222 * cus-edit.el (face): Use new property :completions.
21224 * progmodes/pascal.el (pascal-completions-at-point): New function.
21225 (pascal-mode): Use it.
21226 (pascal-mode-map): Use completion-at-point.
21227 (pascal-toggle-completions): Make obsolete.
21228 (pascal-complete-word, pascal-show-completions):
21229 * progmodes/octave-mod.el (octave-complete-symbol):
21230 Redefine as obsolete alias.
21231 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21232 Signal absence of completion info for old Octave,
21233 (inferior-octave-complete): Redefine as obsolete alias.
21234 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21235 (meta-completions-at-point): Rename from meta-complete-symbol and
21236 adapt it for use on completion-at-point-functions.
21237 (meta-common-mode): Use it.
21238 (meta-looking-at-backward, meta-match-buffer): Remove.
21239 (meta-complete-symbol): Redefine as obsolete alias.
21240 (meta-common-mode-map): Use completion-at-point.
21241 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21242 (makefile-mode-map): Use completion-at-point.
21243 (makefile-completions-at-point): Rename from makefile-complete and
21244 adapt it for use on completion-at-point-functions.
21245 (makefile-mode): Use it.
21246 (makefile-complete): Redefine as obsolete alias.
21248 2011-06-20 Deniz Dogan <deniz@dogan.se>
21250 * net/rcirc.el: Delete trailing whitespaces once and for all.
21252 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21254 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21256 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21258 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21260 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21262 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21264 * window.el (display-buffer-other-window-means-other-frame):
21265 Call display-buffer-normalize-alist.
21266 (display-buffer-normalize-specifiers-1): Rename to
21267 display-buffer-normalize-argument. New argument other-frame.
21269 (display-buffer-normalize-specifiers-2): Rename to
21270 display-buffer-normalize-options.
21271 (display-buffer-normalize-alist-1): New function.
21272 (display-buffer-normalize-specifiers-3): Rename to
21273 display-buffer-normalize-alist.
21274 Call display-buffer-normalize-alist-1.
21275 (display-buffer-normalize-options-inhibit): New variable.
21276 (display-buffer-normalize-specifiers): Rewrite calling
21277 display-buffer-normalize-alist,
21278 display-buffer-normalize-argument, and
21279 display-buffer-normalize-options. Don't call the latter if
21280 display-buffer-normalize-options-inhibit is non-nil.
21281 (frame-auto-delete): New option.
21282 (window-deletable-p): Use frame-auto-delete.
21283 (window-list-no-nils, window-state-ignored-parameters)
21284 (window-state-get-1, window-state-get, window-state-put-list)
21285 (window-state-put-1, window-state-put-2, window-state-put):
21287 (display-buffer-normalize-options): Move special-display-p group
21288 after pop-up-frame group (Bug#8851) and (Bug#8856).
21290 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21292 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21294 (rx-submatch-n): New function.
21297 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21300 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21302 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21304 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21305 anytime existing face settings are present (Bug#8889).
21307 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21308 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21309 Remove unused argument.
21311 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21313 * window.el (display-buffer-default-specifiers):
21314 Remove pop-up-frame. Add pop-up-window-min-height,
21315 pop-up-window-min-width, and another reuse-window specifier
21316 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21317 (display-buffer-normalize-specifiers-2):
21318 Handle split-height-threshold and split-width-threshold also when
21319 pop-up-windows is unset. Add a reuse-window specifier for the
21320 case popping up a new window fails.
21321 (special-display-popup-frame): Remove double quoting.
21322 (display-buffer-normalize-specifiers-1): Fix thinko.
21324 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21326 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21327 according to comint-completion-addsuffix.
21329 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21330 (pcomplete-suffix-list): Mark as obsolete.
21331 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21332 pcomplete-seen in the closure.
21333 (pcomplete-comint-setup): Setup completion-at-point as well.
21334 (pcomplete--entries): New function.
21335 (pcomplete--env-regexp): New var.
21336 (pcomplete-entries): Rewrite to work with partial-completion and
21337 without relying on pcomplete-suffix-list.
21338 (pcomplete-pare-list): Remove, unused.
21340 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21342 * window.el (display-buffer-alist): Set pop-up-window-min-height
21343 and pop-up-window-min-width in default value. Reported by
21344 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21345 other-window-means-other-frame.
21346 (display-buffer-macro-specifiers): Comment out entry for
21347 other-window specifier.
21348 (display-buffer-other-window-means-other-frame): New function.
21349 (display-buffer-normalize-specifiers-1): New arguments
21350 buffer-name and label. Treat other-window case specially.
21351 (display-buffer-normalize-specifiers-2): Treat other-window case
21353 (display-buffer-normalize-specifiers-3): New function.
21354 (display-buffer-normalize-specifiers):
21355 Call display-buffer-normalize-specifiers-3.
21357 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21359 * window.el (same-window-p): Fix two typos introduced when
21360 adding with-no-warnings.
21361 (display-buffer-normalize-specifiers-1): Don't check
21362 pop-up-frames for 'unset initialization.
21363 (display-buffer-normalize-specifiers-2): Major rewrite using
21364 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21365 (pop-up-frames, display-buffer-reuse-frames)
21366 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21367 Suggested by David Engster <deng@randomsample.de>.
21368 (even-window-heights): Initialize to 'unset.
21369 (display-buffer-alist-set): Handle new 'unset initializations.
21370 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21373 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21375 * window.el (display-buffer-normalize-specifiers-1):
21376 Respect current value of pop-up-frames for most reasonable values of
21377 second argument of display-buffer (Bug#8865).
21378 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21379 (switch-to-buffer-other-window-same-frame)
21380 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21382 (display-buffer): Don't check noninteractive when calling
21383 display-buffer-pop-up-frame.
21384 (display-buffer-pop-up-frame): Never pop up a frame in
21385 noninteractive mode (Bug#8857).
21386 (enlarge-window, shrink-window): Don't report an error when the
21387 window can't be resized as requested (Bug#8862).
21389 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21391 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21393 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21395 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21397 2011-06-15 Alan Mackenzie <acm@muc.de>
21399 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21400 for declarators, disable knr checking to speed up for normal files.
21401 2: Refactor, replacing a sequence of nested if forms by a cond form.
21403 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21405 * net/network-stream.el (open-network-stream): Add the keyword
21406 :always-query-capabilities for the case where you want to force a
21407 `plain' network connection, but the protocol still requires the
21408 capabilitiy command (i.e., SMTP and EHLO).
21410 * subr.el (process-live-p): Rename from `process-alive-p' for
21411 consistency with other `-live-p' functions.
21413 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21415 * window.el (same-window-buffer-names, same-window-regexps)
21416 (special-display-frame-alist, special-display-popup-frame)
21417 (special-display-function, special-display-buffer-names)
21418 (special-display-regexps, pop-up-frame-alist)
21419 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21420 (pop-up-windows, split-window-preferred-function)
21421 (split-height-threshold, split-width-threshold, even-window-heights)
21422 (display-buffer-mark-dedicated): Don't encourage the use of
21423 display-buffer-alist from Elisp code.
21425 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21427 * progmodes/python.el (python-mode): Derive from prog-mode.
21428 * progmodes/ps-mode.el (ps-mode):
21429 * progmodes/mixal-mode.el (mixal-mode):
21430 * progmodes/cfengine.el (cfengine-mode):
21431 * progmodes/ld-script.el (ld-script-mode): Likewise.
21433 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21435 * window.el (display-buffer-alist): Trim default value to avoid
21436 popping up a new frame (Bug#8857) or reusing an arbitrary window
21438 (display-buffer): Do not fall back on popping up a new frame in
21439 batch mode (Bug#8857).
21441 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21443 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21444 (custom-theme-summary): New function.
21445 (customize-themes): Use it.
21447 2011-06-13 Glenn Morris <rgm@gnu.org>
21449 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21451 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21453 * help.el (help-window): Remove variable.
21454 (help-window-point-marker, temp-buffer-max-height)
21455 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21456 (help-print-return-message): Don't set help-window.
21457 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21458 (help-window-setup-finish): Remove.
21459 (help-window-display-message, help-window-setup)
21460 (with-help-window): Major rewrite based on new
21461 display-buffer-window variable.
21463 * help-mode.el (help-mode-finish): Remove help-window related
21466 * view.el (view-exits-all-viewing-windows): Remove reference to
21467 view-return-to-alist in doc-string.
21468 (view-return-to-alist): Make obsolete.
21469 (view-buffer): Call pop-to-buffer-same-window and remove
21471 (view-buffer-other-window): Call pop-to-buffer-other-window and
21472 simplify code. Ignore second argument.
21473 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21474 simplify code. Ignore second argument.
21475 (view-return-to-alist-update): Make obsolete.
21476 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21477 Rewrite using quit-restore window parameters.
21478 (view-mode-exit): Rename second argument to EXIT-ONLY.
21479 Rewrite using quit-restore-window.
21480 (View-exit, View-exit-and-edit, View-leave, View-quit)
21481 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21482 appropriate arguments.
21483 (view-end-message): Use quit-restore window parameter.
21485 * window.el (display-buffer-function): Rewrite doc-string.
21486 (display-buffer-window, display-buffer-alist): New variables.
21487 (display-buffer-split-specifiers)
21488 (display-buffer-side-specifiers)
21489 (display-buffer-macro-specifiers): New constants.
21490 (display-buffer-even-window-sizes, display-buffer-set-height)
21491 (display-buffer-set-width, display-buffer-select-window)
21492 (display-buffer-in-window, display-buffer-reuse-window)
21493 (display-buffer-split-window-1, display-buffer-split-window)
21494 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21495 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21496 (display-buffer-in-side-window, normalize-buffer-to-display)
21497 (display-buffer-normalize-specifiers-1)
21498 (display-buffer-normalize-specifiers-2)
21499 (display-buffer-normalize-specifiers, display-buffer-frame):
21501 (display-buffer): Major rewrite.
21502 (display-buffer-other-window, display-buffer-other-frame)
21503 (pop-to-buffer, switch-to-buffer-other-window)
21504 (switch-to-buffer-other-frame): Rewrite.
21505 (display-buffer-same-window, display-buffer-same-frame)
21506 (display-buffer-same-frame-other-window)
21507 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21508 (pop-to-buffer-other-window)
21509 (pop-to-buffer-same-frame-other-window)
21510 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21511 (switch-to-buffer-other-window-same-frame): New functions.
21512 (same-window-p, special-display-p): Rewrite disabling warnings.
21514 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21515 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21517 (same-window-buffer-names, same-window-regexps)
21518 (special-display-frame-alist, special-display-popup-frame)
21519 (special-display-function, special-display-buffer-names)
21520 (special-display-regexps, pop-up-frame-alist)
21521 (pop-up-frame-function, split-window-preferred-function)
21522 (split-height-threshold, split-width-threshold)
21523 (even-window-heights): Make obsolete.
21525 2011-06-12 Glenn Morris <rgm@gnu.org>
21527 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21528 Misc simplifications.
21530 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21532 * window.el (window-safely-shrinkable-p): Restore function which
21533 was inadvertently removed in change from 2011-06-11. Declare as
21536 * calendar/calendar.el (calendar-generate-window):
21537 Use window-iso-combined-p instead of combination of one-window-p and
21538 window-safely-shrinkable-p.
21540 2011-06-12 Glenn Morris <rgm@gnu.org>
21542 * progmodes/fortran.el (fortran-mode-syntax-table):
21543 * progmodes/f90.el (f90-mode-syntax-table):
21544 Set % to punctuation. (Bug#8820)
21545 (f90-find-tag-default): Remove, no longer needed.
21547 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21549 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21551 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21553 * image.el (image-animated-p): Return animation delay in seconds.
21554 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21555 (image-animate-timeout): Remove DELAY argument. Don't assume
21556 every subimage has the same delay; get it from image-animated-p.
21557 (image-animate): Caller changed.
21559 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21561 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21562 to ignored backtrace functions.
21564 2011-06-11 Glenn Morris <rgm@gnu.org>
21566 * calendar/appt.el (appt-disp-window-function): Doc fix.
21567 (appt-check): Handle overlapping appointments. (Bug#8337)
21569 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21571 * window.el (window-tree-1, window-tree): New functions, moving
21572 the latter to window.el.
21573 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21574 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21575 (bw-refresh-edges): Remove.
21576 (balance-windows-1, balance-windows-2): New functions.
21577 (balance-windows): Rewrite in terms of window tree functions,
21578 balance-windows-1 and balance-windows-2.
21579 (bw-adjust-window): Remove.
21580 (balance-windows-area-adjust): New function with functionality of
21581 bw-adjust-window but using resize-window.
21582 (set-window-text-height): Rewrite doc-string.
21583 Use normalize-live-window and resize-window.
21584 (enlarge-window-horizontally, shrink-window-horizontally):
21585 Rename argument to DELTA.
21586 (window-buffer-height): New function.
21587 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21588 Rewrite using new window resize routines.
21589 (kill-buffer-and-window, mouse-autoselect-window-select):
21590 Use ignore-errors instead of condition-case.
21591 (quit-window): Call delete-frame instead of delete-windows-on
21592 for the only buffer on frame.
21594 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21596 * loadup.el (top-level): Load window before files for the sake
21597 of replace-buffer-in-windows.
21599 * files.el (read-buffer-to-switch)
21600 (switch-to-buffer-other-window)
21601 (switch-to-buffer-other-frame, display-buffer-other-frame):
21604 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21605 (previous-buffer): Move to window.el.
21607 * bindings.el (unbury-buffer): Move to window.el.
21609 * window.el (delete-other-windows-vertically): Move after
21610 definition of delete-other-windows.
21611 (other-window, delete-windows-on, replace-buffer-in-windows):
21612 Move here from window.c.
21613 (record-window-buffer, unrecord-window-buffer)
21614 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21615 (switch-to-next-buffer): New functions.
21616 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21617 from simple.el. Call switch-to-next-buffer.
21618 (previous-buffer): Move here from simple.el.
21619 Call switch-to-prev-buffer.
21620 (bury-buffer): Move here from buffer.c. Switch to previous
21621 buffer when window cannot be deleted.
21622 (unbury-buffer): Move here from bindings.el.
21623 (ctl-x-map): Move binding for other-window from window.c to
21625 (read-buffer-to-switch, switch-to-buffer-other-window)
21626 (switch-to-buffer-other-frame): Move here from files.el.
21627 (normalize-buffer-to-switch-to): New functions.
21628 (switch-to-buffer): Move here from buffer.c.
21629 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21631 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21633 * window.el (window-min-height, window-min-width): Move here
21634 from window.c. Add defcustoms and rewrite doc-strings.
21635 (resize-mini-window, resize-window): New functions.
21636 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21637 Move here from window.c.
21638 (maximize-window, minimize-window): New functions.
21639 (delete-window, delete-other-windows, split-window): Move here
21641 (window-split-min-size): New function.
21642 (split-window-keep-point): Mention split-window-above-each-other
21643 instead of split-window-vertically.
21644 (split-window-above-each-other, split-window-vertically):
21645 Rename split-window-vertically to split-window-above-each-other
21646 and provide defalias for old definition.
21647 (split-window-side-by-side, split-window-horizontally):
21648 Rename split-window-horizontally to split-window-side-by-side
21649 and provide defalias for the old definition.
21650 (ctl-x-map): Move bindings for delete-window,
21651 delete-other-windows and enlarge-window here from window.c.
21652 Replace bindings for split-window-vertically and
21653 split-window-horizontally by bindings for
21654 split-window-above-each-other and split-window-side-by-side.
21656 * cus-start.el (all): Remove entries for window-min-height and
21657 window-min-width. Add entries for window-splits and
21660 2011-06-09 Glenn Morris <rgm@gnu.org>
21662 * calendar/appt.el (appt-mode-line): New function.
21663 (appt-check, appt-disp-window): Use it.
21665 * files.el (hack-one-local-variable-eval-safep):
21666 Allow minor-modes with explicit +/-1 arguments.
21668 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21670 * term/xterm.el (xterm): Add defgroup.
21671 (xterm-extra-capabilities): Add defcustom to supply known xterm
21672 capabilities, skip querying them, or query them (default).
21673 (terminal-init-xterm): Use it.
21674 (terminal-init-xterm-modify-other-keys): New function to set up
21675 modifyOtherKeys support to simplify `terminal-init-xterm'.
21677 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21679 * window.el (resize-window-reset, resize-window-reset-1)
21680 (resize-subwindows-skip-p, resize-subwindows-normal)
21681 (resize-subwindows, resize-other-windows, resize-this-window)
21682 (resize-root-window, resize-root-window-vertically)
21683 (window-deletable-p, window-or-subwindow-p)
21684 (frame-root-window-p): New functions.
21686 2011-06-09 Glenn Morris <rgm@gnu.org>
21688 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21689 (ange-ftp-get-files): Use it.
21691 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21693 * mail/sendmail.el (mail-recover-1, mail-recover):
21694 * files.el (recover-file, recover-session):
21695 Handle dired-listing-switches not being just a single short option.
21697 2011-06-09 Glenn Morris <rgm@gnu.org>
21699 * calendar/appt.el (appt-display-message, appt-disp-window):
21700 Handle lists of appointments.
21702 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21704 * window.el (one-window-p): Move down in code.
21705 Rewrite doc-string.
21706 (window-current-scroll-bars): Rewrite doc-string.
21707 Normalize live window argument.
21708 (walk-windows, get-window-with-predicate, count-windows):
21709 Rewrite doc-string. Use window-list-1.
21710 (window-in-direction-2, window-in-direction, get-mru-window):
21713 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21715 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21716 Doc fix (Bug#8713).
21718 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21720 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21722 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21724 * loadhist.el (unload-feature-special-hooks):
21725 Add `comint-output-filter-functions'.
21727 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21729 * calendar/appt.el (appt-check): Move some initializations into the let.
21731 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21733 * window.el (window-height): Defalias to window-total-height.
21734 (window-width): Defalias to window-body-width.
21736 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21738 * image-mode.el (image-toggle-animation): New command.
21739 (image-mode-map): Bind it to RET.
21740 (image-mode): Update message.
21741 (image-toggle-display-image): Avoid a spurious cache flush.
21742 (image-transform-rotation): Doc fix.
21743 (image-transform-properties): Return quickly in the normal case.
21744 (image-animate-loop): Rename from image-animate-max-time.
21746 * image.el (image-animate-max-time): Move to image-mode.el.
21747 (create-animated-image): Remove unnecessary function.
21748 (image-animate): Rename from image-animate-start. New arg.
21749 (image-animate-stop): Remove; just use image-animate-timer.
21750 (image-animate-timer): Use car-safe.
21751 (image-animate-timeout): Rename argument.
21753 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21755 * window.el (get-lru-window, get-largest-window): Move here from
21756 window.c. Rename first argument to ALL-FRAMES.
21757 Rephrase doc-strings.
21758 (get-buffer-window-list): Rewrite using window-list-1.
21759 Rephrase doc-string.
21760 (window-safe-min-height, window-safe-min-width): New constants.
21761 (window-size-ignore, window-min-size, window-min-size-1)
21762 (window-sizable, window-sizable-p, window-size-fixed-1)
21763 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21764 (window-max-delta-1, window-max-delta, window-resizable)
21765 (window-resizable-p, window-total-height, window-total-width)
21766 (window-body-width): New functions.
21767 (window-full-height-p, window-full-width-p): Rewrite using
21769 (window-body-height): Rewrite using window-body-size.
21771 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21773 * window.el (window-right, window-left, window-child)
21774 (window-child-count, window-last-child, window-any-p)
21775 (normalize-live-buffer, normalize-live-frame)
21776 (normalize-any-window, normalize-live-window)
21777 (window-iso-combination-p, window-iso-combined-p)
21778 (window-iso-combinations)
21779 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21780 (windows-with-parameter, window-with-parameter)
21781 (window-atom-root, make-window-atom, window-atom-check-1)
21782 (window-atom-check, window-side-check, window-check):
21784 (ignore-window-parameters, window-sides, window-sides-vertical)
21785 (window-sides-slots): New variables.
21786 (window-size-fixed): Move down in code. Minor doc-string fix.
21788 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21790 * comint.el (comint-dynamic-complete-as-filename)
21791 (comint-dynamic-complete-filename): Correctly call
21792 completion-in-region.
21794 2011-06-05 Deniz Dogan <deniz@dogan.se>
21796 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21799 2011-06-05 Deniz Dogan <deniz@dogan.se>
21801 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21802 (rcirc): Use it to prompt for encryption.
21804 2011-06-05 Roland Winkler <winkler@gnu.org>
21806 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21807 (bibtex-search-entries): New command bound to C-c C-a.
21808 (bibtex-display-entries): New function.
21810 2011-06-05 Roland Winkler <winkler@gnu.org>
21812 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21813 (bibtex-insert-kill): After yanking insert newline if necessary.
21814 (bibtex-initialize): Call bibtex-string-files-init only once.
21815 (bibtex-mode): Do not call easy-menu-add.
21816 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21817 (bibtex-yank): Set arg properly if nil.
21819 2011-06-05 Roland Winkler <winkler@gnu.org>
21821 * textmodes/bibtex.el (bibtex-search-entry-globally):
21823 (bibtex-search-entry): Use it.
21825 2011-06-05 Roland Winkler <winkler@gnu.org>
21827 * textmodes/bibtex.el (bibtex-entry-format): New option
21829 (bibtex-format-entry, bibtex-reformat): Honor this option.
21830 (bibtex-parse-entry): Return fields in proper order.
21832 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21834 * doc-view.el (doc-view-remove-if): Move computation of result out
21835 of `dolist' to silence misleading lexical-binding warning.
21837 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21839 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21840 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21842 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21844 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21847 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21849 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21850 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21851 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21852 (tramp-parse-putty):
21853 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21854 (tramp-completion-function-alist-ssh)
21855 (tramp-completion-function-alist-telnet)
21856 (tramp-completion-function-alist-su)
21857 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21860 * net/tramp-ftp.el:
21862 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21863 load "tramp.el" `tramp-set-completion-function'.
21865 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21867 * shell.el: Require and use pcomplete.
21868 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21869 (shell-completion-vars): Set pcomplete-default-completion-function.
21871 2011-06-04 Deniz Dogan <deniz@dogan.se>
21873 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21876 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21878 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21880 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21882 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21883 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21884 * vc/log-view.el (log-view-beginning-of-defun):
21885 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21886 (smerge-refine-forward, smerge-refine-chopup-region):
21887 Silence warning for unused `dotimes' counter variables.
21889 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21891 * net/tramp.el (tramp-with-progress-reporter): Rename from
21892 with-progress-reporter. Use `declare'.
21893 * net/tramp-smb.el:
21895 * net/tramp-gvfs.el: Update all uses.
21897 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21899 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21900 buffer isn't killed before making it current.
21902 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21904 Silence various byte-compiler warnings.
21905 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21906 `access-type' and new obsolescence format.
21907 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21909 (byte-compile-check-variable): New `access-type' argument.
21910 Only warn if the access-type is obsolete.
21911 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21912 (byte-compile-variable-set): Adjust callers.
21913 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21914 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21915 setting it as obsolete.
21916 * simple.el (minibuffer-completing-symbol):
21917 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21918 access as obsolete.
21919 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21921 * international/quail.el (quail-mouse-choose-completion): Remove unused
21922 code referring to obsolete var.
21923 (quail-choose-completion-string): Remove.
21924 * server.el (server-clients-with, server-kill-buffer-query-function)
21925 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21926 * proced.el (proced-send-signal):
21927 * emacs-lisp/lisp.el (lisp-complete-symbol):
21928 Replace completion-annotate-function with completion-extra-properties.
21930 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21932 * simple.el (goto-line): Use read-number.
21933 (overriding-map-is-bound): Remove.
21934 (saved-overriding-map): Change default.
21935 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21936 Take the map as argument.
21937 (universal-argument, negative-argument, digit-argument): Use it.
21938 (restore-overriding-map): Adjust.
21939 (do-auto-fill): Use fill-forward-paragraph.
21940 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21942 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21943 (minibuffer-inactive-mode): New major mode.
21944 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21945 the *Messages* buffer" hack.
21946 (mouse-popup-menubar): Don't burp if the event is a normal key.
21948 Miscellaneous tweaks.
21949 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21950 lexical scoping as in subr.el's dolist and dotimes.
21951 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21952 Silence compiler warning.
21953 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21954 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21955 * international/ccl.el (ccl-compile): Trivial simplification.
21956 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21957 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21958 `printflag' argument.
21959 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21960 Purecopy the whole obsolescence data.
21962 2011-06-01 Leo Liu <sdl.web@gmail.com>
21964 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21965 improve doc-string as suggested by Marco Pessotto
21966 <melmothx@gmail.com>.
21967 (rcirc-print): Fix last change.
21969 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21971 * minibuffer.el (complete-with-action): Return nil for the metadata and
21972 boundaries of non-functional tables.
21973 (completion-table-dynamic): Return nil for the metadata.
21974 (completion-table-with-terminator): Add default case, using
21975 complete-with-action.
21976 (completion--metadata): New function.
21977 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21978 to try and avoid pathological performance problems.
21979 (completion--embedded-envvar-table): Return `category' metadata.
21981 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21983 * subr.el (process-alive-p): New tiny convenience function.
21985 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21987 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21988 content but also its previous major mode.
21990 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21992 * emacs-lisp/debug.el (debug): Restore the previous content of the
21993 *Backtrace* buffer when we exit with C-M-c.
21995 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21997 * minibuffer.el: Add metadata method to completion tables.
21998 (completion-category-overrides): New defcustom.
21999 (completion-metadata, completion--field-metadata)
22000 (completion-metadata-get, completion--styles)
22001 (completion--cycle-threshold): New functions.
22002 (completion-try-completion, completion-all-completions):
22003 Add `metadata' argument to choose completion-styles.
22004 (completion--do-completion): Use metadata to choose cycling.
22005 (completion-all-sorted-completions): Use metadata for sorting.
22006 Remove :completion-cycle-penalty which is not needed any more.
22007 (completion--try-word-completion): Add `metadata' argument.
22008 (minibuffer-completion-help): Check metadata for annotation function
22010 (completion-file-name-table): Return `category' metadata.
22011 (minibuffer-completing-file-name): Make obsolete.
22012 * simple.el (minibuffer-completing-symbol): Make obsolete.
22013 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22014 completion-try-completion.
22016 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22018 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22020 2011-05-30 Leo Liu <sdl.web@gmail.com>
22022 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22023 (rcirc-print): Decode all incoming messages (bug#8744).
22024 (rcirc-decode-coding-system): Allow value nil for automatic coding
22027 2011-06-01 Glenn Morris <rgm@gnu.org>
22029 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22031 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22033 * image.el (image-animate-max-time): Allow nil and t values.
22035 (create-animated-image): Doc fix.
22036 (image-animate-start): Remove second arg; just use
22037 image-animate-max-time.
22038 (image-animate-timeout): Doc fix. Args changed.
22040 * image-mode.el (image-toggle-display-image): Ensure that the
22041 image spec passed to the animate timer is the same object as in
22042 the buffer's display property (Bug#6981).
22043 (image-transform-properties): Doc fix.
22045 * image.el (image-animate-max-time): Default to nil.
22047 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22049 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22050 entire buffer list (Bug#8184).
22052 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22054 * image.el (imagemagick-types-inhibit)
22055 (imagemagick-register-types): Doc fix.
22057 2011-05-29 Deniz Dogan <deniz@dogan.se>
22059 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22062 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22064 * select.el: Don't perform clipboard-manager saving in hooks;
22065 leave the hooks empty.
22067 2011-05-28 Leo Liu <sdl.web@gmail.com>
22069 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22070 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22071 (occur-edit-mode): New major mode (Bug#8463).
22072 (occur-after-change-function): New function.
22073 (occur-engine): Give Occur tags a read-only property.
22075 2011-05-28 Kevin Ryde <user42@zip.com.au>
22077 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22079 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22081 * bindings.el (help-echo): Make the initial non-indicator dash
22082 empty on graphical terminals (Bug#7295).
22084 * files.el (auto-mode-alist): Move config rule after the
22085 in-stripping one (Bug#8547).
22087 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22089 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22090 setting (Bug#8740).
22092 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22094 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22095 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22098 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22100 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22102 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22104 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22105 (hs-hide-block-at-point, hs-find-block-beginning)
22106 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22109 2011-05-28 Glenn Morris <rgm@gnu.org>
22111 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22113 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22115 * help-fns.el (describe-function-1): If the function is a derived
22116 major mode, print the parent mode.
22118 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22119 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22121 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22123 * minibuffer.el (completion--capf-wrapper): Check applicability before
22124 returning non-nil for non-exclusive completion data.
22125 * progmodes/etags.el (tags-completion-at-point-function):
22126 * info-look.el (info-lookup-completions-at-point): Mark as
22128 (info-complete): Adjust accordingly.
22130 * info-look.el: Convert to lexical-binding and completion-at-point.
22131 (info-lookup-completions-at-point): New function.
22132 (info-complete): Use it and completion-in-region.
22134 2011-05-28 Drew Adams <drew.adams@oracle.com>
22136 * isearch.el: Let M-e start with point at the first mismatched char.
22137 (isearch-fail-pos): New function.
22138 (isearch-edit-string): Use it.
22140 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22142 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22144 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22146 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22147 traversal functions for avl-trees.
22148 (avl-tree--stack): New struct.
22149 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22150 (avl-tree-enter): Add optional `updatefun' arg.
22151 (avl-tree--do-enter): Add optional `updatefun' arg.
22152 Change return value.
22153 (avl-tree-delete): Add optional `test' and `nilflag' args.
22154 (avl-tree--do-delete): Add `test' and `nilflag' args.
22155 Change return value.
22156 (avl-tree-member): Add optional `nilflag'
22157 (avl-tree-member-p): New function.
22158 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22159 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22160 (avl-tree-stack-empty-p): New functions.
22162 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22163 avl-tree--del-balance1 and make it work both ways.
22164 (avl-tree--del-balance2): Remove.
22165 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22166 make it work both ways.
22167 (avl-tree--enter-balance2): Remove.
22168 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22170 (avl-tree--mapc, avl-tree-map): Add direction argument.
22172 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22174 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22176 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22178 * select.el: Support clipboard managers with built-in function
22179 x-clipboard-manager-save, via delete-frame-functions and
22181 (xselect-convert-to-targets): Add MULTIPLE target to list.
22182 (xselect-convert-to-save-targets): New function.
22184 2011-05-27 Kenichi Handa <handa@m17n.org>
22186 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22187 let-binding rfc2047-encode-encoded-words to nil.
22189 2011-05-27 Glenn Morris <rgm@gnu.org>
22191 * mail/emacsbug.el: Don't require url-util.
22193 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22195 * files.el (set-auto-mode):
22196 Also respect mode: entries at the end of the file. (Bug#8586)
22198 2011-05-26 Glenn Morris <rgm@gnu.org>
22200 * files.el (hack-local-variables-prop-line, hack-local-variables):
22201 Downcase mode names, as seems to be traditional.
22202 (hack-local-variables, hack-local-variables-apply): Doc fixes.
22204 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
22205 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
22207 2011-05-25 Julien Danjou <julien@danjou.info>
22209 * textmodes/rst.el (rst-define-level-faces): Do not define face
22210 symbol if it is already defined.
22212 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22214 * play/5x5.el (5x5-new-game, 5x5-randomize):
22215 Reset 5x5-solver-output to nil when a new grid is cast.
22216 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22217 these debugging traces, as defmacro breaks the compiled code.
22219 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22221 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22223 2011-05-24 Leo Liu <sdl.web@gmail.com>
22225 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22226 (vc-bzr-sha1): Adapt.
22228 * sha1.el: Remove. Function `sha1' is now builtin.
22230 * bindings.el: Provide sha1 feature.
22232 2011-05-24 Kenichi Handa <handa@m17n.org>
22234 * mail/sendmail.el: Require `rfc2047'.
22235 (mail-insert-from-field): Do not perform RFC2047 encoding.
22236 (mail-encode-header): New function.
22237 (sendmail-send-it): Set buffer-file-coding-system of the work
22238 buffer to the return value of select-message-coding-system.
22239 Call mail-encode-header.
22241 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22243 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22245 * mail/supercite.el (sc-default-cite-frame):
22246 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22248 2011-05-24 Glenn Morris <rgm@gnu.org>
22250 * progmodes/python.el (brm-menu): Declare.
22252 * emulation/viper.el (viper-set-hooks): Declare.
22254 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22255 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22256 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22257 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22258 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22259 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22261 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22263 Add an :exit-function for completion-at-point.
22265 * minibuffer.el (completion--done): New fun.
22266 (completion--do-completion): Use it. New arg `expect-exact'.
22267 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22268 since completion--do-completion does it for us now.
22269 (minibuffer-force-complete): Use completion--done and
22270 completion--replace. Handle sole-completion case with more care.
22271 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22272 (completion-extra-properties): New var.
22273 (completion-annotate-function): Make obsolete.
22274 (minibuffer-completion-help): Adjust accordingly.
22275 Use completion-list-insert-choice-function.
22276 (completion-at-point, completion-help-at-point):
22277 Bind completion-extra-properties.
22278 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22279 * simple.el (completion-list-insert-choice-function): New var.
22280 (completion-setup-function): Preserve it.
22281 (choose-completion): Pay attention to it, shuffle the code a bit.
22282 (choose-completion-string): New arg `insert-function'.
22284 * textmodes/bibtex.el: Convert to lexical binding.
22285 (bibtex-mode-map): Use completion-at-point.
22286 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22287 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22288 (bibtex-complete): Define as obsolete alias.
22289 (bibtex-complete-internal): Remove.
22290 (bibtex-format-entry): Remove unused sub-group in regexp.
22291 * shell.el (shell--command-completion-data)
22292 (shell-environment-variable-completion):
22293 * pcomplete.el (pcomplete-completions-at-point):
22294 * comint.el (comint--complete-file-name-data): Use :exit-function
22295 instead of completion-table-with-terminator so it also works for
22298 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22300 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22302 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22305 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22307 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22309 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22310 customization variable and implement: If non-nil, auto-fill will
22311 be inhibited while on topic's header line.
22313 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22315 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22316 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22317 always have a solution in grid size = 5 cases.
22318 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22319 (5x5-solver-output, 5x5-log-buffer): New vars.
22320 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22321 Make these variables buffer local to achieve 5x5 multi-session-ness.
22322 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22323 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22324 (5x5-solve-suggest): New funs.
22325 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22326 randomize a grid so that we ensure that there is always a solution.
22327 (5x5-make-random-grid): Allow other movement than flipping.
22329 2011-05-23 Kevin Ryde <user42@zip.com.au>
22331 * emacs-lisp/advice.el (ad-read-advised-function):
22332 Use `function-called-at-point' as the default, if it has
22333 advice and passes PREDICATE.
22335 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22337 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22338 byte-compile-lambda if it's actually a lambda.
22340 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22341 Fix function quoting. Use backquote better.
22343 2011-05-22 Yuanle Song <sylecn@gmail.com>
22345 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22346 matching (Bug#8516).
22348 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22350 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22351 different face (Bug#8178).
22353 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22355 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22356 defface (Bug#8144).
22358 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22360 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22361 funcall as well (bug#8712). Warn when performing those conversions.
22362 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22364 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22366 2011-05-22 Glenn Morris <rgm@gnu.org>
22368 * files.el (hack-local-variables-prop-line): Small simplifications.
22369 (hack-local-variables, hack-local-variables-prop-line):
22370 If MODE-ONLY, return the mode, rather than just `t'.
22372 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22374 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22376 2011-05-21 Glenn Morris <rgm@gnu.org>
22378 * files.el (hack-local-variables-prop-line, hack-local-variables):
22379 If only interested in the mode, don't bother doing the other stuff.
22381 * image-mode.el (image-after-revert-hook):
22382 Redraw all frames on which the image is visible. (Bug#8567)
22384 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22386 * wid-edit.el (widget-checklist-match-inline):
22387 Fix 2011-04-19 change. (Bug#8649)
22389 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22391 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22392 Also allow singlespace after single-letter capitals followed by a dot.
22394 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22395 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22397 2011-05-20 Nix <nix@esperi.org.uk>
22399 * files.el (basic-save-buffer-2):
22400 Fix handling of break-hardlink-on-save with non-existent files.
22402 2011-05-19 Deniz Dogan <deniz@dogan.se>
22404 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22405 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22407 2011-05-19 Glenn Morris <rgm@gnu.org>
22409 * progmodes/f90.el (f90-type-def-re):
22410 Handle "type, bind(c)". (Bug#8691)
22412 * emacs-lisp/autoload.el (batch-update-autoloads):
22413 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22415 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22417 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22418 property for the correct connection in case of multihops.
22420 2011-05-18 Glenn Morris <rgm@gnu.org>
22422 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22423 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22425 Rationalize calendar handling of day and month abbrev-arrays.
22426 * calendar/calendar.el (calendar-customized-p): New function.
22427 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22428 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22430 (calendar-abbrev-length, calendar-day-abbrev-array)
22431 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22432 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22433 Elements may no longer be nil.
22434 (calendar-day-name, calendar-month-name):
22435 Update for changed nature of abbrev arrays.
22436 * calendar/diary-lib.el (diary-name-pattern):
22437 Update for changed nature of abbrev arrays.
22438 (diary-mark-entries-1): Update calendar-make-alist calls.
22439 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22440 * calendar/cal-html.el (cal-html-day-abbrev-array):
22441 Simply inherit from calendar-day-abbrev-array.
22443 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22445 * progmodes/grep.el (grep-mode): Disable default
22446 compilation-directory-matcher setting (bug#8684).
22448 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22450 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22451 instead of "head" and "tail". There were problems with SunOS 5.9,
22452 and it performs better.
22454 2011-05-17 Glenn Morris <rgm@gnu.org>
22456 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22458 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22459 Replace obsolete function.
22461 * shell.el (pcomplete-parse-arguments-function): Declare.
22463 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22464 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22465 (appt-check): Doc fixes.
22466 (appt-disp-window-function, appt-delete-window-function):
22467 Remove needless special case in custom :type.
22468 (appt-display-count): Default to 0, not nil.
22469 (appt-check): Reset appt-display-count to 0, not nil.
22471 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22473 * progmodes/python.el (python-font-lock-keywords):
22474 Add the Python 3.X keyword "nonlocal" (bug#8639).
22476 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22478 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22480 2011-05-16 Kevin Ryde <user42@zip.com.au>
22482 * info-look.el (makefile-automake-mode): New setups, looking in
22483 automake manual, then makefile-mode.
22484 (makefile-mode): Remove automake manual, have it just in
22485 makefile-automake-mode since there's various things different or
22486 not relevant to plain make.
22487 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22488 believe a hypothetical automake-mode would go to makefile-mode,
22489 not the other way around.
22491 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22493 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22494 hunk-end tags (Bug#8672).
22496 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22497 vc-annotate-show-diff-revision-at-line (Bug#8671).
22499 2011-05-14 Glenn Morris <rgm@gnu.org>
22501 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22502 in the middle of an existing one with multiple authors. (Bug#8645)
22503 (change-log-font-lock-keywords): Also handle multiple author lines
22504 with leading tabs. (Bug#8644)
22506 * calendar/appt.el (appt-check): Rename some local variables.
22507 Some simplification/reordering.
22509 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22510 (feedmail-sendmail-f-doesnt-sell-me-out)
22511 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22512 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22513 (feedmail-queue-runner-message-sender): Set :version.
22514 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22515 (bbdb-dwim-net-address, vm-mail): Declare.
22516 (feedmail-binmail-gnulinuxish-template):
22517 Rename from feedmail-binmail-linuxish-template.
22518 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22519 Use insert-buffer-substring.
22521 2011-05-14 Bill Carpenter <bill@carpenter.org>
22523 * mail/feedmail.el (feedmail-patch-level): Increase.
22524 (feedmail-debug): New custom group.
22525 (feedmail-confirm-outgoing-timeout)
22526 (feedmail-sendmail-f-doesnt-sell-me-out)
22527 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22528 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22529 (feedmail-sender-line, feedmail-from-line)
22530 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22531 (feedmail-spray-this-address)
22532 (feedmail-spray-address-fiddle-plex-list)
22533 (feedmail-queue-use-send-time-for-date)
22534 (feedmail-queue-use-send-time-for-message-id)
22535 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22536 (feedmail-buffer-eating-function):
22538 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22539 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22540 (feedmail-message-action-scroll-down): New functions.
22541 (feedmail-queue-directory, feedmail-queue-draft-directory):
22542 Use expand-file-name.
22543 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22544 Remove C-v help entry.
22545 (feedmail-queue-buffer-file-name): New variable.
22546 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22547 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22548 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22549 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22550 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22551 (feedmail-message-action-toggle-spray)
22552 (feedmail-run-the-queue-no-prompts)
22553 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22554 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22555 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22556 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22557 (feedmail-envelope-deducer, feedmail-fiddle-from)
22558 (feedmail-fiddle-sender, feedmail-default-date-generator)
22559 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22560 (feedmail-fiddle-spray-address)
22561 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22562 (feedmail-fiddle-list-of-fiddle-plexes)
22563 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22564 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22565 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22566 Change default. Doc fix.
22567 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22568 (feedmail-binmail-linuxish-template): New constant.
22569 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22570 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22571 (feedmail-send-it): Add debug call.
22572 Use feedmail-queue-buffer-file-name, and
22573 feedmail-send-it-immediately-wrapper.
22574 (feedmail-message-action-send): Add debug call.
22575 Use feedmail-send-it-immediately-wrapper.
22576 (feedmail-queue-express-to-queue): Add debug call.
22577 Run feedmail-queue-express-hook.
22578 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22579 (feedmail-message-action-help-blat):
22580 Rename from feedmail-queue-send-edit-prompt-help-first.
22581 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22582 Check line-endings. Handle errors better.
22583 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22584 Doc fix. Add debug call.
22585 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22586 Use feedmail-queue-send-edit-prompt-inner.
22587 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22588 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22589 from feedmail-queue-send-edit-prompt.
22590 (feedmail-queue-send-edit-prompt-help)
22591 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22592 (feedmail-tidy-up-slug): Add debug call.
22593 Respect feedmail-queue-slug-suspect-regexp.
22594 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22595 (feedmail-dump-message-to-queue): Add debug call.
22596 Expand queue-directory.
22597 (feedmail-dump-message-to-queue): Change message slightly.
22598 Use feedmail-say-chatter.
22599 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22600 (feedmail-send-it-immediately-wrapper): New function.
22601 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22602 Insert empty string rather than newline. Handle full-frame case.
22603 Use catch/throw. Use feedmail-say-chatter.
22604 (feedmail-fiddle-from): Try mail-host-address.
22605 (feedmail-default-message-id-generator): Doc fix.
22606 Bind system-time-locale. Handle missing end.
22607 (feedmail-fiddle-x-mailer): Add debug call.
22608 Handle feedmail-x-mailer-line being nil.
22609 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22610 Add debug call. Use buffer-substring-no-properties.
22611 (feedmail-say-debug, feedmail-say-chatter): New functions.
22612 (feedmail-find-eoh): Give an explicit error.
22614 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22616 * net/newst-treeview.el (newsticker-treeview-face): Change default
22617 family from helvetica to sans.
22618 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22619 etc/images/newsticker.
22621 * net/newst-reader.el (newsticker-feed-face): Change default
22622 family from helvetica to sans.
22624 * net/newst-plainview.el (newsticker-new-item-face)
22625 (newsticker-old-item-face, newsticker-immortal-item-face)
22626 (newsticker-obsolete-item-face, newsticker-date-face)
22627 (newsticker-statistics-face): Change default family from
22629 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22630 etc/images/newsticker.
22632 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22633 (newsticker--process-auto-mark-filter-match): Tell user about
22636 2011-05-13 Didier Verna <didier@xemacs.org>
22638 Common Lisp indentation improvements on defmethod and lambda-lists.
22639 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22641 (lisp-lambda-list-keyword-parameter-indentation)
22642 (lisp-lambda-list-keyword-parameter-alignment)
22643 (lisp-lambda-list-keyword-alignment): New customizable user options.
22644 (lisp-indent-defun-method): Improve docstring.
22645 (extended-loop-p): Fix comment.
22646 (lisp-indent-lambda-list-keywords-regexp): New variable.
22647 (lisp-indent-lambda-list): New function.
22648 (lisp-indent-259): Use it.
22649 (lisp-indent-defmethod): Support for more than one
22650 method qualifier and properly indent methods lambda-lists.
22651 (defgeneric): Provide a missing common-lisp-indent-function property.
22653 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22655 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22656 bounds for the empty string (bug#8667).
22658 2011-05-13 Glenn Morris <rgm@gnu.org>
22660 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22662 * mail/sendmail.el (sendmail-program): Try executable-find first.
22663 (sendmail-send-it): `sendmail-program' cannot be unbound.
22665 * calendar/appt.el (appt-make-list): Simplify.
22666 (appt-time-msg-list): Doc fix.
22667 (appt-check): Change mode-line message at the time of the appointment.
22669 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22671 * progmodes/ld-script.el (ld-script-keywords)
22672 (ld-script-builtins): Update keywords list.
22674 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22676 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22678 * shell.el (shell-completion-vars): New function.
22680 * simple.el (read-shell-command): Use it.
22681 (blink-matching-open): No need for " [...]" in minibuffer-message.
22683 2011-05-12 Glenn Morris <rgm@gnu.org>
22685 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22686 (appt-check): Simplify.
22688 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22690 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22691 literal "/dev/null".
22693 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22695 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22698 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22700 * progmodes/which-func.el (which-function):
22701 Use add-log-current-defun instead of add-log-current-defun-function,
22702 which might not be defined (Bug#8260).
22704 2011-05-12 Glenn Morris <rgm@gnu.org>
22706 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22707 Let byte-compile-initial-macro-environment always take precedence.
22709 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22711 * net/rcirc.el: Add support for SSL/TLS connections.
22712 (rcirc-server-alist): New field `encryption'.
22713 (rcirc): Check `encryption' settings.
22714 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22715 Merge make-local-variable into `set'.
22716 (rcirc--connection-open-p): New function.
22717 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22718 the process is not a network process (e.g. running gnutls-cli).
22719 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22720 Make rcirc-(en|de)code-coding-system local here.
22721 (rcirc-mode): Merge make-local-variable into `set'.
22722 (rcirc-parent-buffer): Make permanent buffer-local.
22723 (rcirc-multiline-minor-mode): Don't do it here.
22724 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22725 there's no server buffer.
22727 2011-05-11 Glenn Morris <rgm@gnu.org>
22729 * newcomment.el (comment-kill): Prefix "unused" local.
22731 * term/w32console.el (get-screen-color): Declare.
22733 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22734 Handle symbol elements of byte-compile-initial-macro-environment.
22736 2011-05-10 Leo Liu <sdl.web@gmail.com>
22738 * bookmark.el (bookmark-bmenu-mode-map):
22739 Bind bookmark-bmenu-search to `/'.
22741 * mail/footnote.el: Convert to utf-8 encoding.
22742 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22743 (Footnote-unicode): New function.
22744 (footnote-style-alist): Add unicode style to the list.
22745 (footnote-style): Doc fix.
22747 2011-05-10 Jim Meyering <meyering@redhat.com>
22749 Fix doubled-word typos.
22750 * international/quail.el (quail-insert-kbd-layout): and and -> and
22751 * kermit.el: and and -> and
22752 * net/ldap.el (ldap-search-internal): to to -> to
22753 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22754 * progmodes/js.el (js-mode): and and -> and
22755 * textmodes/artist.el (artist-move-to-xy): at at -> at
22756 (artist-draw-region-trim-line-endings): if if -> if
22757 And Safetyc -> Safety.
22758 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22760 2011-05-10 Glenn Morris <rgm@gnu.org>
22761 Stefan Monnier <monnier@iro.umontreal.ca>
22763 * files.el (hack-one-local-variable-eval-safep):
22764 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22766 2011-05-10 Glenn Morris <rgm@gnu.org>
22768 * calendar/diary-lib.el (diary-list-entries-hook)
22769 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22770 (diary-nongregorian-marking-hook, diary-list-entries)
22771 (diary-include-other-diary-files, diary-mark-entries)
22772 (diary-mark-included-diary-files): Doc fixes.
22774 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22776 * misc.el: Require tabulated-list.el during compilation.
22778 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22780 * progmodes/compile.el (compilation-start):
22781 Run compilation-filter-hook for the async case too.
22782 (compilation-filter-hook): Doc fix.
22784 2011-05-09 Deniz Dogan <deniz@dogan.se>
22786 * wdired.el: Remove outdated installation comment. Fix usage
22789 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22791 * misc.el: Implement new command `list-dynamic-libraries'.
22792 (list-dynamic-libraries--loaded-only-p): New variable.
22793 (list-dynamic-libraries--refresh): New function.
22794 (list-dynamic-libraries): New command.
22796 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22798 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22799 Fix the ant regexp to handle end-line and end-column info from jikes.
22800 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22801 higher priority to avoid clobbering by gnu.
22803 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22805 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22806 if the face has existing theme settings (Bug#8454).
22808 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22810 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22811 Only match variables declared via `my' or `our' (Bug#8261).
22813 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22814 special file names `.' and `..' (Bug#8259).
22816 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22818 * progmodes/grep.el (grep-mode-font-lock-keywords):
22819 Remove buffer-changing entries.
22820 (grep-filter): New function.
22821 (grep-mode): Add it to compilation-filter-hook.
22823 * progmodes/compile.el (compilation-filter-hook)
22824 (compilation-filter-start): New defvars.
22825 (compilation-filter): Call compilation-filter-hook prior to
22826 updating the process mark.
22828 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22830 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22832 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22834 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22835 mailclient-send-it even if window-system is nil. (Bug#8595)
22837 * term/w32console.el (terminal-init-w32console):
22838 Call get-screen-color and use its output to set the frame
22839 background-mode. (Bug#8597)
22841 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22843 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22844 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22846 (defgeneric, eieio--defmethod): Use them.
22847 (eieio-defgeneric): Remove.
22848 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22850 2011-05-07 Glenn Morris <rgm@gnu.org>
22852 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22853 Use let rather than let*.
22854 (timeclock-find-discrep): Remove unused local.
22856 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22858 * calendar/appt.el (appt-time-msg-list): Doc fix.
22860 2011-05-06 Noah Friedman <friedman@splode.com>
22862 * apropos.el (apropos-print-doc): Only use
22863 emacs-lisp-docstring-fill-column when it is bound to an integer,
22864 per that variable's documentation.
22866 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22868 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22869 and warnings are not silently discarded (e.g. use -d instead of -P).
22871 2011-05-06 Glenn Morris <rgm@gnu.org>
22873 * calendar/appt.el (appt-message-warning-time): Doc fix.
22874 (appt-warning-time-regexp): New option.
22875 (appt-make-list): Respect appt-message-warning-time.
22877 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22879 (diary-add-to-list): Strip comments from the displayed string.
22880 (diary-mode): Set comment-start and comment-end.
22882 * vc/diff-mode.el (smerge-refine-subst): Declare.
22883 (diff-refine-hunk): Don't require smerge-mode when compiling.
22885 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22887 * simple.el (list-processes): Return nil as the docstring says.
22889 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22891 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22893 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22894 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22895 determining of binary transfer. (Bug#7383)
22897 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22900 Fix port computation bug. (Bug#8618)
22902 2011-05-05 Glenn Morris <rgm@gnu.org>
22904 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22906 * simple.el (shell-dynamic-complete-functions)
22907 (comint-dynamic-complete-functions): Declare.
22909 * net/network-stream.el (gnutls-negotiate):
22910 * simple.el (tabulated-list-print): Fix declarations.
22912 * progmodes/gud.el (syntax-symbol, syntax-point):
22913 Remove unnecessary and incorrect declarations.
22915 * emacs-lisp/check-declare.el (check-declare-scan):
22916 Handle byte-compile-initial-macro-environment in bytecomp.el.
22918 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22920 Fix earlier half-done eieio-defmethod change (bug#8338).
22921 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22922 Streamline and change calling convention.
22923 (defmethod): Adjust accordingly and simplify.
22924 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22925 new eieio--defmethod.
22926 (slot-boundp): Minor CSE simplification.
22928 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22930 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22931 (glasses-make-readable): Use glasses-separate-capital-groups.
22933 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22935 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22936 (warning-series): Doc fix.
22937 (display-warning): Don't try to create the buffer if we just found it.
22939 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22941 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22942 (autoload-find-generated-file): New function.
22943 (generate-file-autoloads): Bind generated-autoload-file to
22945 (update-file-autoloads, update-directory-autoloads):
22946 Use autoload-find-generated-file. If called interactively, prompt for
22947 output file (Bug#7989).
22948 (batch-update-autoloads): Doc fix.
22950 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22952 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22954 2011-05-04 Glenn Morris <rgm@gnu.org>
22956 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22957 function, so it follows changes in calendar-date-style.
22958 (diary-fancy-date-matcher): New function.
22959 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22960 (diary-fancy-font-lock-fontify-region-function):
22961 Use diary-fancy-date-pattern as a function.
22963 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22964 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22966 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22968 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22969 instead of positional arguments. Allow :keylist and :crlfiles
22971 (open-gnutls-stream): Call it.
22973 * net/network-stream.el (network-stream-open-starttls): Adjust to
22974 call `gnutls-negotiate' with :process and :hostname arguments.
22976 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22978 * minibuffer.el (completion--message): New function.
22979 (completion--do-completion, minibuffer-complete)
22980 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22981 (completion--do-completion): Don't ignore completion-auto-help when in
22984 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22985 internal encoding (e.g. tibetan zero is not whitespace).
22986 (global-whitespace-mode): Prefer save-current-buffer.
22987 (whitespace-trailing-regexp): Remove useless save-match-data.
22988 (whitespace-empty-at-bob-regexp): Minor simplification.
22990 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22992 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22994 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22996 * textmodes/ispell.el (ispell-add-per-file-word-list):
22997 Use `concat' to create string for insertion.
22999 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23001 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23002 Avoid open-line which runs post-self-insert-hook.
23003 (bibtex-fill-entry): Remove unused `end' var.
23005 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23007 * textmodes/ispell.el (ispell-add-per-file-word-list):
23008 Protect against `nil' value of `comment-start' (Bug#8579).
23010 2011-05-03 Leo Liu <sdl.web@gmail.com>
23012 * isearch.el (isearch-yank-pop): New command.
23013 (isearch-mode-map): Bind it to `M-y'.
23014 (isearch-forward): Mention it.
23016 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23018 * simple.el (minibuffer-complete-shell-command): Remove.
23019 (minibuffer-local-shell-command-map): Use completion-at-point.
23020 (read-shell-command): Setup completion vars here instead.
23021 (read-expression-map): Bind TAB to symbol completion.
23023 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23024 error directly rather via storing it into `results'.
23026 2011-05-02 Leo Liu <sdl.web@gmail.com>
23028 * vc/diff.el: Fix description.
23030 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23032 * server.el (server-eval-at): New function.
23034 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23036 * net/network-stream.el (open-network-stream): Take a :nowait
23037 parameter and pass it on to `make-network-process'.
23038 (network-stream-open-plain): Ditto.
23040 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23042 * faces.el (face-spec-set-match-display): Don't match toolkit
23043 options on terminal frames.
23045 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23047 * progmodes/pascal.el: Use lexical binding.
23048 (pascal-mode-map): Remove author preferences.
23050 * pcomplete.el (pcomplete-std-complete): Don't abuse
23051 completion-at-point.
23053 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23055 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23056 removing code that has been dead since 1991 or so.
23058 * startup.el (command-line): When warning about "_emacs", use a
23059 delayed warning to allow the user to filter it out.
23061 2011-04-28 Deniz Dogan <deniz@dogan.se>
23063 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23064 user has not joined.
23066 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23068 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23069 aren't any completions at point.
23071 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23073 * subr.el (display-delayed-warnings): New function.
23074 (delayed-warnings-hook): New variable.
23076 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23078 * minibuffer.el (completion-at-point, completion-help-at-point):
23079 Don't presume that a given completion-at-point-function will always
23080 use the same calling convention.
23082 * pcomplete.el (pcomplete-completions-at-point):
23083 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23084 pcomplete-seen is non-nil.
23085 (pcomplete-comint-setup): Also recognize the new comint/shell
23086 completion functions.
23087 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23088 pcomplete-seen is non-nil.
23090 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23092 * calendar/icalendar.el (diary-lib): Add require statement.
23093 (icalendar--create-uid): Read out a uid from a text-property on
23094 the first character in the entry. This allows for code to add its
23095 own uid to the entry.
23096 (icalendar--convert-float-to-ical): Add export of
23097 `diary-float'-entries save for those with the optional DAY
23100 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23102 * subr.el (shell-quote-argument): Use alternate escaping strategy
23103 when we spot a variable reference in a string.
23105 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23107 * cus-start.el (all): Define customization for debug-on-event.
23109 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23111 * subr.el (shell-quote-argument): Escape correctly under Windows.
23113 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23115 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23117 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23119 * net/tramp.el (tramp-process-actions): Add POS argument.
23120 Delete region between POS and (pos).
23122 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23123 Use `nil' position in `tramp-process-actions' call.
23124 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23127 position in `tramp-process-actions' call.
23129 * net/trampver.el: Update release number.
23131 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23133 * custom.el (defcustom): Obey lexical-binding.
23135 Fix octave-inf completion problems reported by Alexander Klimov.
23136 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23137 Inherit from octave-mode-syntax-table.
23138 (inferior-octave-mode): Set info-lookup-mode.
23139 (inferior-octave-completion-at-point): New function.
23140 (inferior-octave-complete): Use it and completion-in-region.
23141 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23142 comint-filename-completion.
23143 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23144 symbol elements which shouldn't be word elements.
23145 (octave-font-lock-keywords, octave-beginning-of-defun)
23146 (octave-function-header-regexp): Adjust regexps accordingly.
23147 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23149 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23151 * net/gnutls.el (gnutls-errorp): Declare before first use.
23153 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23155 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23156 verify-error, and verify-hostname-error parameters. Check whether
23157 default trustfile exists before going to use it. Add missing
23158 argument to gnutls-message-maybe call. Return value.
23159 Reported by Claudio Bley <claudio.bley@gmail.com>.
23160 (open-gnutls-stream): Add usage example.
23162 * net/network-stream.el (network-stream-open-starttls): Give host
23163 parameter to `gnutls-negotiate'.
23164 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23165 * subr.el (shell-quote-argument): Escape correctly under Windows.
23167 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23169 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23170 Use correct match group (bug#8438).
23172 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23174 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23175 (package-menu--generate): New arg specifying packages to show.
23176 (package-menu-refresh, package-menu-execute, list-packages):
23178 (package-show-package-list): New function, replacing deleted
23179 package--list-packages (renamed because it is non-internal).
23181 * finder.el (finder-list-matches): Use package-show-package-list
23182 instead of deleted package--list-packages.
23184 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23185 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23186 (vc-annotate-mode-map): Bind it to RET.
23188 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23190 * progmodes/etags.el (next-file): Don't use set-buffer to change
23191 buffers (Bug#8478).
23193 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23195 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23197 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23198 (apropos-accumulator): Doc fix.
23199 (apropos-function, apropos-macro, apropos-command)
23200 (apropos-variable, apropos-face, apropos-group, apropos-widget)
23201 (apropos-plist): Add face property.
23202 (apropos-symbols-internal): Fix indentation.
23203 (apropos-print): Simplify help, and recognize apropos-multi-type.
23204 (apropos-print-doc): Use button-type-get to extract the button's
23205 face property. Fill docstring (Bug#8352).
23207 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
23209 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
23211 * play/mpuz.el (mpuz-silent): Doc fix.
23212 (mpuz-mode-map): Use mapc.
23213 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23214 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23215 Fix typos in docstrings.
23217 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23218 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23220 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23222 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23224 * minibuffer.el (completion--do-completion): Avoid the "Next char
23225 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23227 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23228 mouse-2 into unread-command-events, it is interpreted correctly.
23230 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23231 (image-toggle-display): Doc fix.
23233 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23235 * textmodes/page.el (what-page): Use line-number-at-pos to
23236 calculate line number (Bug#6825).
23238 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23240 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23241 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23242 Pass argument NO-DEFAULT to `find-tag-interactive'.
23244 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23246 Lexical-binding cleanup.
23248 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23249 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23250 * progmodes/ada-prj.el (ada-prj-initialize-values)
23251 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23252 (ada-prj-show-value):
23253 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23254 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23255 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23256 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23257 * progmodes/bug-reference.el (bug-reference-push-button):
23258 * progmodes/fortran.el (fortran-line-length):
23259 * progmodes/glasses.el (glasses-change):
23260 * progmodes/octave-mod.el (octave-fill-paragraph):
23261 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23262 (python-pdbtrack-grub-for-buffer, python-sentinel):
23263 * progmodes/sql.el (sql-save-connection):
23264 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23265 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23266 Mark unused parameters.
23268 * progmodes/compile.el (compilation--flush-directory-cache)
23269 (compilation--flush-parse, compile-internal): Mark unused parameters.
23270 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23271 (compilation-next-error-function): Remove unused variable `timestamp'.
23273 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23274 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23276 * progmodes/dcl-mode.el (dcl-end-of-command):
23277 Remove unused variable `start'.
23278 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23279 (dcl-option-value-basic, dcl-option-value-offset)
23280 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23281 Mark unused parameters.
23282 (dcl-save-local-variable): Remove unused variable `val'.
23285 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23286 Mark unused parameters.
23287 (delphi-ignore-changes): Move before first use.
23288 (delphi-charset-token-at): Remove unused variable `start'.
23289 (delphi-else-start): Remove unused variable `if-count'.
23290 (delphi-comment-block-start, delphi-comment-block-end):
23291 Remove unused variable `kind'.
23292 (delphi-indent-line): Remove unused variable `new-point'.
23294 * progmodes/ebrowse.el (ebrowse-files-list)
23295 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23296 Mark unused parameters. Don't quote `lambda'.
23297 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23298 Don't quote `lambda'.
23299 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23300 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23301 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23302 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23303 Use `ignore-errors'.
23304 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23305 (ebrowse-view/find-file-and-search-pattern)
23306 (ebrowse-view/find-member-declaration/definition):
23307 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23308 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23309 Rename parameter PREFIX-ARG to PREFIX.
23310 (ebrowse-tags-read-name): Remove unused variables `start' and
23312 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23315 * progmodes/etags.el (local-find-tag-hook): Declare.
23316 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23317 Mark unused parameters.
23319 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23320 (executable-interpret): Mark unused parameter.
23322 * progmodes/flymake.el (flymake-process-sentinel)
23323 (flymake-after-change-function)
23324 (flymake-create-temp-with-folder-structure)
23325 (flymake-get-include-dirs-dot): Mark unused parameters.
23326 (flymake-safe-delete-directory): Remove unused variable `err'.
23328 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23329 (speedbar-timer-fn, speedbar-line-text)
23330 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23331 (speedbar-center-buffer-smartly): Declare functions.
23332 (gdb-find-watch-expression): Remove unused variable `array'.
23333 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23334 (gdb-starting): Mark unused parameters.
23335 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23336 (gdb-table-string): Remove unused variable `res'.
23337 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23338 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23339 (gdb-display-buffer): Remove unused variable `cur-size'.
23341 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23342 allow lexical-binding compilation.
23343 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23344 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23345 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23346 Mark unused parameters.
23347 (gud-gdb-marker-filter): Remove unused variable `match'.
23348 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23349 lambda expressions and funcall them, instead of using `fset'.
23351 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23352 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23354 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23355 variable `header-beg'; use `let'.
23357 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23358 `restart', `last-sexp' and `at-do'.
23360 * progmodes/js.el (js--debug): Mark unused parameter.
23361 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23362 (js--splice-into-items): Remove unused variable `item'.
23363 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23365 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23366 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23367 (makefile-complete): Remove unused variable `try'.
23368 (makefile-fill-paragraph, makefile-match-function-end):
23369 Mark unused parameters.
23371 * progmodes/octave-inf.el (inferior-octave-complete):
23372 Remove unused variable `proc'.
23373 (inferior-octave-output-digest): Mark unused parameter.
23375 * progmodes/perl-mode.el (perl-calculate-indent):
23376 Remove unused variable `err'.
23378 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23379 (prolog-indent-line): Mark unused parameters.
23380 (prolog-indent-line): Remove unused variable `beg'.
23382 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23383 (reporter-dont-compact-list): Declare.
23385 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23386 Remove unused variable `char'.
23387 (sh-debug): Mark unused parameter.
23388 (sh-get-indent-info): Remove unused variable `start'.
23389 (sh-calculate-indent): Remove unused variable `var'.
23391 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23392 (simula-electric-keyword): Remove unused variable `null'.
23393 (simula-search-backward, simula-search-forward): Remove unused
23394 variables `begin' and `end'.
23396 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23397 Remove unused variable `pos'.
23398 (vera-electric-tab, vera-comment-uncomment-region):
23399 Mark unused parameters.
23400 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23402 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23404 * emacs-lisp/package.el (package--builtins, package-alist)
23405 (package-load-descriptor, package-built-in-p, package-activate)
23406 (define-package, package-installed-p)
23407 (package-compute-transaction, package-buffer-info)
23408 (package--push): Doc fix. Distinguish more clearly between
23409 version strings and version lists.
23411 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23413 Lexical-binding cleanup.
23415 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23416 (5x5-make-mutate-best):
23417 * play/fortune.el (fortune-in-buffer):
23418 * play/gomoku.el (gomoku-init-display):
23419 * play/solitaire.el (solitaire, solitaire-do-check):
23420 * play/tetris.el (tetris-default-update-speed-function):
23421 Mark unused parameters.
23423 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23424 (bubbles--shift): Remove unused variable `char-org'.
23425 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23426 (bubbles--show-images): Remove unused variable `char'.
23428 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23429 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23430 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23431 (decipher-analyze-buffer): Use ?\s.
23432 (decipher-make-checkpoint): Remove unused variable `mapping'.
23434 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23436 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23437 Remove unused variable `result'; use `let'.
23439 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23440 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23441 (gametree-children-shown-p, gametree-compute-reduced-score):
23442 Use `ignore-errors'.
23444 * play/handwrite.el (ps-lpr-switches): Declare.
23445 (handwrite): Remove unused variables `pmin' and `lastp'.
23447 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23449 * play/landmark.el (landmark-init-display)
23450 (landmark-update-naught-weights): Mark unused parameters.
23451 (landmark-y): Remove unused variable `noise'. Simplify.
23452 (landmark-human-plays): Remove unused variable `score'.
23454 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23455 (mpuz-try-proposal): Remove unused variable `game'.
23457 * play/zone.el (life-patterns): Declare.
23459 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23461 * vc/vc.el (ediff-vc-internal): Declare function.
23463 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23465 * shell.el: Use lexical-binding and std completion UI.
23466 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23467 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23468 comint-preoutput-filter-functions rather than on
23469 comint-output-filter-functions.
23470 (shell-command-completion, shell--command-completion-data)
23471 (shell-filename-completion, shell-environment-variable-completion)
23472 (shell-c-a-p-replace-by-expanded-directory): New functions.
23473 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23474 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23475 (shell-dynamic-complete-environment-variable): Use them.
23476 (shell-dynamic-complete-as-environment-variable)
23477 (shell-dynamic-complete-as-command): Remove.
23478 (shell-match-partial-variable): Match past point.
23479 * comint.el: Clean up use of completion-at-point-functions.
23480 (comint-completion-at-point): New function.
23481 (comint-mode): Use it completion-at-point-functions.
23482 (comint-dynamic-complete): Make it obsolete.
23483 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23484 (comint-c-a-p-replace-by-expanded-history): New function.
23485 (comint-dynamic-complete-functions)
23486 (comint-replace-by-expanded-history): Use it.
23487 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23488 termination strings. Try harder to avoid second try-completion.
23489 (completion-in-region-mode-map): Disable bindings that don't work yet.
23491 * comint.el: Use lexical-binding. Require CL.
23492 (comint-dynamic-complete-functions): Use comint-filename-completion.
23493 (comint-completion-addsuffix): Tweak custom type.
23494 (comint-filename-completion, comint--common-suffix)
23495 (comint--common-quoted-suffix, comint--table-subvert)
23496 (comint--complete-file-name-data): New functions.
23497 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23498 (comint-dynamic-list-filename-completions): Use them.
23499 (comint-dynamic-simple-complete): Make obsolete.
23501 * minibuffer.el (completion-in-region-mode):
23502 Keep completion-in-region-mode--predicate global.
23503 (completion-in-region--postch):
23504 Assume completion-in-region-mode--predicate is not null.
23506 * progmodes/flymake.el (flymake-start-syntax-check-process):
23507 Obey `dir'. Simplify.
23509 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23510 we're in VC after all.
23512 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23514 * vc/vc.el (vc-diff-build-argument-list-internal)
23515 (vc-version-ediff, vc-ediff): New commands.
23516 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23518 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23520 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23523 * obsolete/erc-hecomplete.el: Make obsolete.
23524 * obsolete/: Standardize obsolescence info in the header.
23526 2011-04-20 Glenn Morris <rgm@gnu.org>
23528 * calendar/solar.el (solar-horizontal-coordinates):
23529 Use the longitude argument rather than `calendar-longitude'.
23530 (solar-date-next-longitude): Remove unused locals.
23532 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23534 * whitespace.el: New version 13.2.1.
23536 2011-04-20 felix <EmacsWiki> (tiny change)
23538 * whitespace.el (global-whitespace-mode): Keep highlight when
23539 switching between major modes on a file.
23541 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23543 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23544 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23545 multi-line comments as well.
23547 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23549 Lexical-binding cleanup.
23551 * arc-mode.el (archive-mode-revert):
23552 * cmuscheme.el (scheme-interactively-start-process):
23553 * custom.el (custom-initialize-delay):
23554 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23555 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23556 * emacs-lock.el (emacs-lock-clear-sentinel):
23557 * ezimage.el (defezimage):
23558 * follow.el (follow-avoid-tail-recenter):
23559 * fringe.el (set-fringe-mode-1):
23560 * generic-x.el (bat-generic-mode-compile):
23561 * help-mode.el (help-info-variable, help-do-xref)
23562 (help-mode-revert-buffer):
23563 * help.el (view-emacs-todo):
23564 * iswitchb.el (iswitchb-completion-help):
23565 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23566 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23567 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23568 * locate.el (locate-update):
23569 * longlines.el (longlines-encode-region)
23570 (longlines-after-change-function):
23571 * outline.el (outline-isearch-open-invisible):
23572 * ps-def.el (declare-function, charset-dimension, char-width)
23574 * ps-mule.el (ps-mule-plot-string):
23575 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23576 (recentf-edit-list-select, recentf-edit-list-validate)
23577 (recentf-open-files-action):
23578 * rect.el (delete-whitespace-rectangle-line)
23579 (rectangle-number-line-callback):
23580 * register.el (window-configuration-to-register)
23581 (frame-configuration-to-register):
23582 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23583 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23584 (xselect-convert-to-targets, xselect-convert-to-delete)
23585 (xselect-convert-to-filename, xselect-convert-to-charpos)
23586 (xselect-convert-to-lineno, xselect-convert-to-colno)
23587 (xselect-convert-to-os, xselect-convert-to-host)
23588 (xselect-convert-to-user, xselect-convert-to-class)
23589 (xselect-convert-to-name, xselect-convert-to-integer)
23590 (xselect-convert-to-atom, xselect-convert-to-identity):
23591 * subr.el (declare, ignore, process-kill-without-query)
23592 (text-clone-maintain):
23593 * terminal.el (te-get-char, te-tic-sentinel):
23594 * tool-bar.el (tool-bar-make-keymap):
23595 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23596 * type-break.el (type-break-mode, type-break-noninteractive-query):
23597 * view.el (View-back-to-mark):
23598 * wid-browse.el (widget-browse-action, widget-browse-widget)
23599 (widget-browse-widgets, widget-browse-sexp):
23600 * widget.el (define-widget-keywords):
23601 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23602 Mark unused parameters.
23604 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23605 (align-areas): Remove unused variable `look'.
23606 (align-region): Remove unused variables `real-end' and `pos-list'.
23608 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23610 * bindings.el (mode-line-modified, mode-line-remote):
23611 Mark unused parameters.
23612 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23614 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23615 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23617 * comint.el (comint-history-isearch-pop-state)
23618 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23619 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23620 (comint-substitute-in-file-name): Doc fix.
23622 * completion.el (cmpl-statistics-block): Mark unused parameter.
23623 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23624 (save-completions-to-file, load-completions-from-file):
23625 Remove unused local variable `e'.
23627 * composite.el (compose-chars): Remove unused variable `len'.
23628 (lgstring-insert-glyph): Remove unused variable `g'.
23629 (compose-glyph-string): Remove unused variables `ascent',
23630 `descent', `lbearing' and `rbearing'.
23631 (compose-glyph-string-relative): Remove unused variables
23632 `lbearing', `rbearing' and `wadjust'.
23633 (compose-gstring-for-graphic): Remove unused variables `header',
23634 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23635 (compose-gstring-for-terminal): Remove unused variables `header'
23636 and `nchars'. Use `let', not `let*'.
23638 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23639 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23640 (Custom-buffer-done, custom-buffer-create-internal)
23641 (custom-browse-visibility-action, custom-browse-group-tag-action)
23642 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23643 (widget-magic-mouse-down-action, custom-toggle-parent)
23644 (custom-add-parent-links, custom-toggle-hide-variable)
23645 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23646 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23647 (custom-face-menu-create, custom-variable-menu-create, get)
23648 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23649 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23650 (customize-apropos): Remove unused variable `tests'.
23651 (custom-group-value-create): Remove unused variable `hidden-p'.
23652 (sort-fold-case): Declare.
23654 * cus-theme.el (custom-reset-standard-faces-list)
23655 (custom-reset-standard-variables-list): Declare.
23656 (customize-create-theme, custom-theme-revert, custom-theme-write)
23657 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23658 Mark unused parameters.
23660 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23662 * delim-col.el (delimit-columns-max): Move defvar before first use.
23664 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23665 (describe-char): Don't quote `lambda'. Mark unused parameter.
23667 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23668 (auto-insert): Declare.
23669 (desktop-restore-file-buffer): Rename desktop-* parameters;
23671 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23672 (desktop-buffer): Rename desktop-* parameters.
23674 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23675 (dframe-reposition-frame-xemacs, dframe-help-echo)
23676 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23677 Mark unused parameters.
23679 * dired-aux.el (backup-extract-version-start, overwrite-query)
23680 (overwrite-backup-query, rename-regexp-query)
23681 (rename-non-directory-query): Declare.
23682 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23683 (dired-add-entry): Remove unused variable `orig-file-name'.
23684 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23685 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23686 `dired-copy-preserve-time' directly.
23687 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23688 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23690 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23691 (dired-virtual-revert, dired-make-relative-symlink):
23692 Mark unused parameters.
23693 (manual-program): Declare.
23694 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23695 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23696 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23698 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23700 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23702 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23705 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23707 * electric.el (Electric-command-loop): Rename parameter
23708 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23710 * expand.el (expand-in-literal): Remove unused variable `here'.
23712 * facemenu.el (facemenu-add-new-color):
23713 Remove unused variable `docstring'.
23715 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23716 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23717 (face-attr-construct): Mark unused parameter. Doc fix.
23718 (read-color): Remove unused variable `hex-string'.
23720 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23721 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23722 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23723 (display-buffer-other-frame): Remove unused variable `old-window'.
23724 (kill-buffer-hook): Declare.
23725 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23726 Mark unused parameters.
23727 (after-find-file): Pass 1 to `auto-save-mode', not t.
23729 * files-x.el (auto-insert): Declare.
23730 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23732 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23733 variable `buf'. Mark unused parameter.
23734 (find-lisp-insert-directory): Mark unused parameter.
23736 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23737 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23738 (format-common-tail): Remove, unused.
23739 (format-deannotate-region): Remove unused variable `loc'.
23740 (format-annotate-region): Remove unused variable `p'.
23741 (format-annotate-single-property-change): Remove unused variables
23742 `default' and `tail'.
23744 * forms.el (read-file-filter): Declare.
23745 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23747 * frame.el (frame-creation-function-alist): Mark unused parameter.
23748 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23750 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23751 Remove unused parameters.
23752 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23753 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23755 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23756 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23757 (hfy-prepare-tag-map): Mark unused parameters.
23758 (htmlfontify-buffer): Use `called-interactively-p'.
23760 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23761 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23762 (ibuffer-do-occur): Mark unused parameters.
23763 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23764 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23766 * ibuffer.el: Don't quote `lambda'.
23767 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23768 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23769 Mark unused parameters.
23771 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23772 (ido-completing-read): Mark unused parameters.
23773 (ido-copy-current-word): Mark unused parameters;
23774 remove unused variable `name'.
23775 (ido-sort-merged-list): Remove unused parameter `dirs'.
23777 * ielm.el (ielm-input-sender): Mark unused parameter.
23778 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23779 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23780 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23781 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23782 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23784 * image-dired.el (image-dired-display-thumbs): Remove unused
23785 variables `curr-file' and `count'.
23786 (image-dired-remove-tag): Remove unused variable `start'.
23787 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23788 variable `curr-file'
23789 (image-dired-rotate-original): Remove unused variable `temp-file'.
23790 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23791 Remove unused variable `file'.
23792 (image-dired-gallery-generate): Remove unused variable `curr'.
23793 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23795 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23797 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23799 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23801 * isearch.el (minibuffer-history-symbol): Declare.
23802 (isearch-edit-string): Remove unused variable `err'.
23803 (isearch-message-prefix, isearch-message-suffix):
23804 Mark unused parameters.
23806 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23808 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23810 * makesum.el (double-column): Remove unused variable `cnt'.
23812 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23813 (ido-ignore-item-temp-list): Declare.
23815 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23816 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23817 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23818 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23821 * mouse-sel.el (mouse-extend-internal):
23822 Remove unused variable `orig-window-frame'.
23824 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23825 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23826 Move declarations before first use.
23827 (pcomplete-opt): Mark unused parameters; doc fix.
23829 * proced.el (proced-revert): Mark unused parameter.
23830 (proced-send-signal): Remove unused variable `err'.
23832 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23833 Rename parameter PREFIX-ARG to ARG.
23834 (ps-basic-plot-string, ps-basic-plot-whitespace):
23835 Mark unused parameters.
23837 * replace.el (replace-count): Define.
23838 (occur-revert-function): Mark unused parameters.
23839 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23840 (isearch-case-fold-search, isearch-string): Declare.
23841 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23842 bind `case-fold-search'. Remove unused variables `beg' and `end',
23844 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23845 COUNT and bind `replace-count'.
23846 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23849 * savehist.el (print-readably, print-string-length): Declare.
23851 * shadowfile.el (shadow-expand-cluster-in-file-name):
23852 Remove unused variable `cluster'.
23853 (shadow-copy-file): Remove unused variable `i'.
23854 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23855 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23856 (shadow-define-literal-group, shadow-define-regexp-group)
23857 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23859 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23860 (shell): Use `called-interactively-p'.
23861 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23863 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23864 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23865 (delete-backward-char): Remove unused variable `ocol'.
23866 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23867 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23868 (event-apply-hyper-modifier, event-apply-shift-modifier)
23869 (event-apply-control-modifier, event-apply-meta-modifier):
23870 Mark unused parameters.
23871 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23872 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23874 * speedbar.el (speedbar-ignored-directory-expressions)
23875 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23876 (speedbar-find-file, speedbar-dir-follow)
23877 (speedbar-directory-buttons-follow, speedbar-tag-find)
23878 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23879 (speedbar-buffers-line-directory, speedbar-buffer-click):
23880 Mark unused parameters.
23881 (speedbar-tag-file): Remove unused variable `mode'.
23882 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23884 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23886 * talk.el (talk): Remove unused variable `display'.
23888 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23889 (tar-write-region-annotate): Mark unused parameter.
23891 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23892 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23893 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23894 warning by another.
23896 * time-stamp.el (time-stamp-string-preprocess):
23897 Remove unused variable `require-padding'.
23899 * tree-widget.el (widget-glyph-enable): Declare.
23900 (tree-widget-action): Mark unused parameter.
23902 * w32-fns.el (x-get-selection): Mark unused parameter.
23903 (autoload-make-program, generated-autoload-file): Declare.
23905 * wdired.el (wdired-revert): Mark unused parameters.
23906 (wdired-xcase-word): Remove unused variable `err'.
23908 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23909 (whitespace-help-scroll): Remove unused variable `data-help'.
23911 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23912 (widget-image-insert, widget-after-change, default)
23913 (widget-default-format-handler, widget-default-notify)
23914 (widget-default-prompt-value, widget-info-link-action)
23915 (widget-url-link-action, widget-function-link-action)
23916 (widget-variable-link-action, widget-file-link-action)
23917 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23918 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23919 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23920 (widget-insert-button-action, widget-delete-button-action, visibility)
23921 (widget-documentation-link-action, widget-documentation-string-action)
23922 (widget-const-prompt-value, widget-regexp-match, symbol)
23923 (widget-coding-system-prompt-value)
23924 (widget-key-sequence-value-to-external, sexp)
23925 (widget-sexp-value-to-internal, character, vector, cons)
23926 (widget-choice-prompt-value, widget-boolean-prompt-value)
23927 (widget-color--choose-action): Mark unused parameters.
23928 (widget-item-match-inline, widget-choice-match-inline)
23929 (widget-checklist-match, widget-checklist-match-inline)
23930 (widget-group-match): Rename parameter VALUES to VALS.
23931 (widget-field-value-set): Remove unused variable `size'.
23932 (widget-color-action): Remove unused variables `value' and `start'.
23934 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23935 variable `dir'. Doc fix.
23936 (windmove-find-other-window): Don't pass it.
23938 * window.el (count-windows): Mark unused parameter.
23939 (bw-adjust-window): Remove unused variable `err'.
23941 * woman.el (woman-file-name): Remove unused variable `default'.
23942 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23943 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23944 (global-font-lock-mode): Declare.
23945 (woman-decode-region): Mark unused parameter.
23946 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23948 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23949 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23950 (x-dnd-handle-moz-url): Remove unused variable `title'.
23951 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23953 * xml.el (xml-parse-tag, xml-parse-attlist):
23954 Remove unused variable `pos'.
23956 2011-04-19 Glenn Morris <rgm@gnu.org>
23958 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23959 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23960 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23961 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23962 * calendar/cal-html.el (cal-html-insert-minical):
23963 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23964 (calendar-mark-date-pattern):
23965 Prefix "unused" locals.
23967 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23968 optional argument `style'.
23970 * calendar/appt.el (appt-make-list):
23971 * calendar/cal-china.el (calendar-chinese-date-string):
23972 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23973 (diary-hebrew-yahrzeit):
23974 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23975 * calendar/calendar.el (calendar-generate-window):
23976 * calendar/time-date.el (time-to-days):
23977 Remove unused local variables.
23979 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23981 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23982 glyphless-char-display table.
23983 (tabulated-list-glyphless-char-display): New var.
23985 2011-04-18 Sam Steingold <sds@gnu.org>
23987 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23988 to acknowledgments.
23990 2011-04-17 Glenn Morris <rgm@gnu.org>
23992 * calendar/diary-lib.el (diary-sexp-entry):
23993 * calendar/holidays.el (holiday-sexp):
23994 Set debug-on-error rather than the removed stack-trace-on-error.
23996 2011-04-16 Glenn Morris <rgm@gnu.org>
23998 * progmodes/f90.el: Use lexical-binding.
23999 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24001 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24003 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24004 (mail-mode): Setup mailalias completion here instead.
24005 * mail/mailalias.el: Use lexical-binding.
24006 (pattern, mailalias-done): Declare dynamic.
24007 (mail-completion-at-point-function): New function, from mail-complete.
24008 (mail-complete): Use it.
24009 (mail-completion-expand): New function.
24010 (mail-get-names): Use it.
24011 (mail-directory, mail-directory-process, mail-directory-stream):
24012 Don't use `pattern' for lexically bound arg.
24014 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24016 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24017 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24018 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24020 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24021 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24022 (byte-interactive-p): Define them again, for use when inlining
24025 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24027 * loadup.el: Use `string-to-number', not `string-to-int'.
24029 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24031 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24032 gud-gdb-complete-command.
24033 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24034 (gud-gdb-completion-at-point): New function.
24035 (gud-gdb-completions): Remove.
24037 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24039 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24040 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24041 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24042 whether `executable-find' is bound.
24044 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24046 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24048 * minibuffer.el (completion-in-region-mode-predicate)
24049 (completion-in-region-mode--predicate): New vars.
24050 (completion-in-region, completion-in-region--postch)
24051 (completion-in-region-mode): Use them.
24052 (completion--capf-wrapper): Also return the hook function.
24053 (completion-at-point, completion-help-at-point):
24054 Adjust and provide a predicate.
24056 Preserve arg names for advice of subr and lexical functions (bug#8457).
24057 * help-fns.el (help-function-arglist): Consolidate the subr and
24058 new-byte-code cases. Add argument `preserve-names' to extract names
24059 from the docstring when needed.
24060 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24061 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24062 (ad-arglist): Use help-function-arglist's new arg.
24063 (ad-definition-type): Use cond.
24065 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24067 * autorevert.el (auto-revert-handler):
24068 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24069 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24070 Don't quote lambda.
24072 * image-mode.el (image-transform-set-scale):
24073 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24075 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24077 * net/network-stream.el (network-stream-open-starttls): Only do
24078 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24079 Upgrades via gnutls-cli are too slow to be done opportunistically.
24081 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24083 * dframe.el (dframe-current-frame): Remove spurious quote.
24085 2011-04-12 Glenn Morris <rgm@gnu.org>
24087 * calendar/cal-tex.el (cal-tex-end-document):
24088 Try to automatically use latin1 input if needed.
24090 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24091 Don't try to cons a mark onto an empty element.
24093 2011-04-11 Leo Liu <sdl.web@gmail.com>
24095 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24097 (ido-kill-buffer-at-head): Support killing virtual buffers.
24099 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24101 * minibuffer.el (completion-show-inline-help): New var.
24102 (completion--do-completion, minibuffer-complete)
24103 (minibuffer-force-complete, minibuffer-complete-word):
24104 Inhibit minibuffer messages if completion-show-inline-help is nil.
24106 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24107 to avoid interference from inline help (Bug#5849).
24109 2011-04-10 Leo Liu <sdl.web@gmail.com>
24111 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24114 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24116 * image-mode.el (image-toggle-display-image): Signal an error if
24118 (image-transform-mode, image-transform-resize)
24119 (image-transform-set-rotation): Doc fix.
24120 (image-transform-set-resize): Delete.
24121 (image-transform-set-scale, image-transform-fit-to-height)
24122 (image-transform-fit-to-width): Handle image-toggle-display-image
24123 and image-transform-resize directly.
24125 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24127 * doc-view.el (doc-view-fit-width-to-window)
24128 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24129 New functions for fitting the shown image to the Emacs window size.
24130 (doc-view-mode-map): Add bindings for the new functions.
24132 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24134 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24135 Fix typo in docstring.
24137 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24139 * files.el (file-size-human-readable): Produce one digit after
24140 decimal, like "ls -lh" does.
24142 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24143 the file size representation.
24145 * simple.el (list-processes): If async subprocesses are not
24146 available, error out with a clear error message.
24148 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24150 * help.el (help-form-show): New function, to be called from C.
24151 Put help-form output in a buffer named differently than *Help*.
24153 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24155 * files.el (file-size-human-readable): New function.
24157 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24158 computing the representation inline. Don't require `cl'.
24160 2011-04-08 Glenn Morris <rgm@gnu.org>
24162 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24164 * net/browse-url.el (browse-url-firefox):
24165 Test system-type, not system-configuration.
24167 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24168 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24169 Use log-edit-empty-buffer-p. (Bug#7598)
24171 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24172 (rlogin-mode-map): Initialize in the defvar.
24173 (rlogin): Use ignore-errors.
24175 * replace.el (occur-mode-map): Some fixes for menu items.
24177 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24179 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24181 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24183 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24184 issuing unused warnings.
24186 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24189 * simple.el: Lisp reimplement of list-processes. Based on an
24190 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24191 (process-menu-mode): New major mode.
24192 (list-processes--refresh, list-processes):
24193 (process-menu-visit-buffer): New functions.
24195 * files.el (save-buffers-kill-emacs): Don't assume any return
24196 value of list-processes, which is undocumented anyway.
24198 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24200 * emacs-lisp/tabulated-list.el: New file.
24202 * emacs-lisp/package.el: Use Tabulated List mode.
24203 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24204 (package-menu-mode): Derive from tabulated-list-mode. Set up the
24205 table format using Tabulated List mode variables.
24206 (package--push): New macro, replacing package-list-maybe-add.
24207 (package-menu--generate): Use package--push. Renamed from
24208 package--generate-package-list.
24209 (package-menu-refresh, list-packages): Use it.
24210 (package-menu--print-info): Rename from package-print-package.
24211 Return insertion data instead of inserting it directly.
24212 (package-menu-describe-package, package-menu-execute):
24213 Use tabulated-list-get-id.
24214 (package-menu-mark-delete, package-menu-mark-install)
24215 (package-menu-mark-unmark, package-menu-backup-unmark)
24216 (package-menu-mark-obsolete-for-deletion):
24217 Use tabulated-list-put-tag.
24218 (package--list-packages, package-menu-revert)
24219 (package-menu-get-package, package-menu-get-version)
24220 (package-menu-sort-by-column): Functions deleted.
24221 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24222 (package-menu--status-predicate, package-menu--version-predicate)
24223 (package-menu--name-predicate)
24224 (package-menu--description-predicate): Handle arguments in the
24225 Tabulated List format.
24226 (package-list-packages-no-fetch): Call list-packages.
24228 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24230 * files.el (after-find-file-from-revert-buffer): Remove variable.
24231 (after-find-file): Don't bind it.
24232 (revert-buffer-in-progress-p): New variable.
24233 (revert-buffer): Bind it.
24234 Pass nil for `after-find-file-from-revert-buffer'.
24236 * saveplace.el (save-place-find-file-hook): Use new variable
24237 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24239 2011-04-06 Glenn Morris <rgm@gnu.org>
24241 * Makefile.in (AUTOGEN_VCS): New variable.
24242 (autoloads): Use $AUTOGEN_VCS.
24244 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24245 * calendar/calendar.el (calendar-mode-map):
24246 Check for toolkit scroll bars. (Bug#8305)
24248 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24250 * minibuffer.el (completion-in-region--postch)
24251 (completion-in-region-mode): Remove unnecessary messages.
24253 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24255 * font-lock.el (font-lock-refresh-defaults):
24256 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24257 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24259 * info.el (Info-directory-list, Info-read-node-name-2)
24260 (Info-split-parameter-string): Doc fixes.
24261 (Info-virtual-nodes): Reflow docstring.
24262 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24263 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24264 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24265 Fix typos in docstrings.
24266 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24267 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24268 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24269 (Info-restore-desktop-buffer): Mark unused parameters.
24270 (Info-directory-find-file, Info-directory-find-node)
24271 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24272 (Info-virtual-index-find-node, Info-apropos-find-file)
24273 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24274 Mark unused parameters; fix typos in docstrings.
24275 (Info-virtual-index): Remove unused local variable `nodename'.
24277 2011-04-05 Deniz Dogan <deniz@dogan.se>
24279 * net/rcirc.el: Update my e-mail address.
24280 (rcirc-mode-map): Remove M-o binding.
24282 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24284 * startup.el (command-line): Save the cursor's theme-face
24285 directly, instead of using face-override-spec.
24287 * custom.el (load-theme): Minor optimization in assigning faces.
24289 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24291 * help-fns.el (describe-variable): Complete all variables having
24292 documentation, including keywords.
24293 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24295 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24297 Convert to lexical-binding.
24299 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24300 (bs--get-marked-string, bs--get-modified-string)
24301 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24302 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24303 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24305 * ehelp.el (electric-help-execute-extended)
24306 (electric-help-ctrl-x-prefix):
24307 * hexl.el (hexl-revert-buffer-function):
24308 * linum.el (linum-after-change, linum-after-scroll):
24309 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24311 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24313 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24320 * epg.el: Use lexical binding.
24322 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24324 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24326 * textmodes/flyspell.el (flyspell-word): Recognize default
24327 dictionary case for flyspell-mark-duplications-exceptions.
24328 Use regexp matching for languages.
24329 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24330 default dictionary (Bug#7926).
24332 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24334 * emacs-lisp/package.el (package--with-work-buffer):
24335 Recognize https URLs.
24337 * net/network-stream.el: Move from gnus/proto-stream.el.
24338 Change prefix to network-stream throughout.
24339 (open-protocol-stream): Merge into open-network-stream, leaving
24340 open-protocol-stream as an alias. Handle nil BUFFER args.
24342 * subr.el (open-network-stream): Move to net/network-stream.el.
24344 2011-04-02 Glenn Morris <rgm@gnu.org>
24346 * find-dired.el (find-exec-terminator): New option.
24347 (find-ls-option): Test for -ls support.
24348 (find-ls-subdir-switches): Test for -b in find-ls-option.
24349 (find-dired, find-grep-dired): Doc fixes.
24350 (find-dired): Use find-exec-terminator.
24352 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24353 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24354 (find-name-arg): Remove purecopy.
24356 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24357 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24358 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24359 accordingly. Don't add the null-device if not needed.
24361 * files.el (save-some-buffers): Doc fix.
24363 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24365 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24367 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24369 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24370 Use `dolist' rather than `mapcar'.
24372 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24374 Add lexical binding.
24376 * subr.el (apply-partially): Use new closures rather than CL.
24377 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24378 (dolist, dotimes): Use slightly different expansion for lexical code.
24379 (functionp): Move to C.
24380 (letrec): New macro.
24381 (with-wrapper-hook): Use it and apply-partially instead of CL.
24382 (eval-after-load): Preserve lexical-binding.
24383 (save-window-excursion, with-output-to-temp-buffer): Turn them
24386 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24388 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24390 (help-add-fundoc-usage): Don't add `Not documented'.
24391 (help-function-arglist): Handle closures, subroutines, and new
24392 byte-code-functions.
24393 (help-make-usage): Remove leading underscores.
24394 (describe-function-1): Handle closures.
24395 (describe-variable): Use special-variable-p for completion.
24397 * files.el (lexical-binding): Declare safe.
24399 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24400 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24401 (pcase): Add `let' pattern.
24402 Change memoization so it actually works.
24403 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24404 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24407 * emacs-lisp/macroexp.el: Use lexical binding.
24408 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24409 Don't convert ' to #' without checking that it's indeed quoting
24412 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24413 Use eval-sexp-add-defvars.
24414 (eval-sexp-add-defvars): New fun.
24416 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24418 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24420 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24421 than the internal `byte-compile-lambda'.
24422 (defmethod): Don't hide code under quotes.
24423 (eieio-defmethod): New `code' argument.
24425 * emacs-lisp/eieio-comp.el: Remove.
24427 * emacs-lisp/edebug.el (edebug-eval-defun)
24428 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24429 (edebug-toggle): Avoid `eval'.
24431 * emacs-lisp/disass.el (disassemble-internal): Handle new
24433 (disassemble-1): Handle new byte codes.
24435 * emacs-lisp/cl.el (pushnew): Silence warning.
24437 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24438 (cl-byte-compile-throw): Remove.
24439 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24441 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24444 * emacs-lisp/cconv.el: New file.
24446 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24447 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24448 (byte-compile-initial-macro-environment):
24449 Handle declare-function here.
24450 (byte-compile--lexical-environment): New var.
24451 (byte-stack-ref, byte-stack-set, byte-discardN)
24452 (byte-discardN-preserve-tos): New lap codes.
24453 (byte-interactive-p): Don't use any more.
24454 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24456 (byte-compile-lapcode): Use them and handle new lap codes.
24457 (byte-compile-obsolete): Remove.
24458 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24459 (byte-compile-arglist-warn): Check late def of inlinable funs.
24460 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24461 since they should have been expanded by now.
24462 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24463 (byte-compile-from-buffer): Remove unused second arg.
24464 (byte-compile-preprocess): New function.
24465 (byte-compile-toplevel-file-form): New function to distinguish
24466 file-form calls from outside from file-form calls from hunk-handlers.
24467 (byte-compile-file-form): Simplify.
24468 (byte-compile-file-form-defsubst): Remove.
24469 (byte-compile-file-form-defmumble): Simplify now that
24470 byte-compile-lambda always returns a byte-code-function.
24471 (byte-compile): Preprocess.
24472 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24473 Remove, not used any more.
24474 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24475 (byte-compile-make-args-desc): New funs.
24476 (byte-compile-lambda): Handle lexical functions. Always return
24477 a byte-code-function.
24478 (byte-compile-reserved-constants): New var, to make up room for
24479 closed-over variables.
24480 (byte-compile-constants-vector): Obey it.
24481 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24482 (byte-compile-macroexpand-declare-function): New function.
24483 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24484 byte-code-functions.
24485 (byte-compile-form): Check obsolescence here.
24486 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24487 (byte-compile-variable-ref): Remove.
24488 (byte-compile-dynamic-variable-op): New fun.
24489 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24490 (byte-compile-variable-set): New funs.
24491 (byte-compile-discard): Add 2 args.
24492 (byte-compile-stack-ref, byte-compile-stack-set)
24493 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24494 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24495 macroexpand-all instead.
24496 (byte-compile-quote-form): Remove.
24497 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24498 (byte-compile-bind, byte-compile-unbind): New funs.
24499 (byte-compile-let): Handle let* and lexical binding.
24500 (byte-compile-let*): Remove.
24501 (byte-compile-catch, byte-compile-unwind-protect)
24502 (byte-compile-track-mouse, byte-compile-condition-case):
24503 Handle a new :fun-body form, used for lexical scoping.
24504 (byte-compile-save-window-excursion)
24505 (byte-compile-with-output-to-temp-buffer): Remove.
24506 (byte-compile-defun): Simplify.
24507 (byte-compile-stack-adjustment): New fun.
24508 (byte-compile-out): Use it.
24509 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24511 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24514 * emacs-lisp/byte-opt.el: Use lexical binding.
24515 (byte-inline-lapcode): Remove (to bytecomp).
24516 (byte-compile-inline-expand): Pay attention to inlining to/from
24517 lexically bound code.
24518 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24520 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24521 any more and don't call compiler-macros.
24522 (byte-compile-splice-in-already-compiled-code): Remove.
24523 (byte-code): Don't inline any more.
24524 (disassemble-offset): Receive `bytes' as argument rather than via
24526 (byte-compile-tag-number): Declare before first use.
24527 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24528 `return' even if make-spliceable.
24529 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24530 obsolete interactive-p.
24531 (byte-optimize-lapcode): Optimize new lap-codes.
24532 Don't trip up on new form of `byte-constant' lap code.
24534 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24536 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24538 * custom.el (custom-initialize-default, custom-declare-variable):
24541 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24543 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24544 (COMPILE_FIRST): Add macroexp and cconv.
24545 * makefile.w32-in: Mirror changes in Makefile.in.
24547 * vc/cvs-status.el:
24551 * vc/smerge-mode.el:
24552 * textmodes/bibtex-style.el:
24553 * textmodes/css-mode.el:
24561 * emacs-lisp/smie.el:
24564 * abbrev.el: Use lexical binding.
24566 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24568 * info.el (info-display-manual): New function.
24570 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24572 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24574 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24576 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24577 an entry for that server in rcirc-authinfo. (Bug#8385)
24579 2011-03-31 Glenn Morris <rgm@gnu.org>
24581 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24583 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24585 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24587 * progmodes/python.el (python-default-interpreter)
24588 (python-python-command-args, python-jython-command-args)
24589 (python-which-shell, python-which-args, python-which-bufname)
24590 (python-file-queue, python-comint-output-filter-function)
24591 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24592 variables and functions.
24594 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24596 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24597 (completion-in-region-mode): New minor mode.
24598 (completion-in-region): Use it.
24599 (completion-in-region--data, completion-in-region-mode-map): New vars.
24600 (completion-in-region--postch): New function.
24601 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24603 (completion--capf-wrapper): New function.
24604 (completion-at-point): Use it to track well-behavedness of
24606 (completion-help-at-point): New command.
24608 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24610 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24611 syntax class to search for whitespace on a single line
24612 (Message-ID: <4D938140.4030905@redhat.com>).
24614 2011-03-30 Leo Liu <sdl.web@gmail.com>
24616 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24618 (edit-abbrevs-map): Bind them here.
24619 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24621 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24623 * allout.el (allout-hide-by-annotation, allout-flag-region):
24624 Reduce possibility of overlay leakage by making them volatile.
24626 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24627 hash is not shared between buffers. Mode initialization is
24628 responsible for giving it a useful starting value.
24629 (allout-item-span): Reduce possibility of overlay leakage by
24630 making them volatile.
24631 (allout-widgets-count-buttons-in-region): Add diagnostic function
24632 for tracking down button overlay leaks.
24634 2011-03-29 Leo Liu <sdl.web@gmail.com>
24636 * ido.el (ido-read-internal): Use the default history var
24637 minibuffer-history if no HISTORY is specified.
24639 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24641 * net/imap.el (imap-shell-open, imap-process-connection-type):
24642 Use imap-process-connection-type for 'shell' streams as well as
24643 Kerberos, SSL, other subprocesses.
24645 2011-03-28 Leo Liu <sdl.web@gmail.com>
24647 * abbrev.el (abbrev-table-empty-p): New function.
24648 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24649 nonempty ones. (Bug#5937)
24651 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24653 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24655 2011-03-27 Leo Liu <sdl.web@gmail.com>
24657 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24658 for foreground and background colors.
24659 (ansi-color-make-color-map): Adapt.
24661 2011-03-25 Leo Liu <sdl.web@gmail.com>
24663 * midnight.el (midnight-time-float): Remove. Note it calculates
24664 the microsecond component incorrectly and seconds-to-time does the
24666 Remove redundant (require 'timer).
24668 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24669 (ido-completions): Remove unused arguments. (Bug#8329)
24671 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24673 * minibuffer.el (completion--flush-all-sorted-completions):
24674 Remove itself from hook.
24675 (completion-at-point): Let the functions perform the completion
24676 immediately and return nil or t.
24677 * comint.el (comint-dynamic-complete-functions): Now identical to
24678 completion-at-point-functions.
24679 (comint-dynamic-list-input-ring): Remove unused var `index'.
24680 (comint--match-partial-filename, comint--unquote&expand-filename):
24681 New funs, split from comint-match-partial-filename.
24682 (comint-dynamic-complete): Use completion-at-point.
24683 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24685 2011-03-24 Drew Adams <drew.adams@oracle.com>
24687 * thingatpt.el: Support `defun'.
24689 2011-03-23 Leo Liu <sdl.web@gmail.com>
24691 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24693 * help-mode.el (help-mode-finish): Tweak regexp.
24695 2011-03-23 Glenn Morris <rgm@gnu.org>
24697 * eshell/esh-opt.el (eshell-eval-using-options):
24698 Do not bind unused local variable `eshell-option-stub'.
24700 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24702 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24704 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24705 keymap variable in `with-no-warnings' to avoid a warning when the
24706 keymap has been already `defconst'ed.
24708 2011-03-22 Leo Liu <sdl.web@gmail.com>
24710 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24711 encode all chars in abbrevs; otherwise use emacs-mule or
24712 utf-8-emacs. (Bug#8308)
24714 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24716 * simple.el (backward-delete-char-untabify):
24717 Avoid warning about using `delete-backward-char'.
24719 * image.el (image-type-file-name-regexps): Make it variable.
24720 `imagemagick-register-types' modifies it, and the user may want
24721 to add new extensions for known image types.
24722 (imagemagick-register-types): Throw error if not using ImageMagick.
24724 2011-03-22 Leo Liu <sdl.web@gmail.com>
24726 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24727 located before rcirc-prompt-end-marker.
24728 (rcirc-complete): Error if point is not after rcirc prompt.
24729 Handle the case when table is nil.
24730 (rcirc-user-authenticated): Define to fix compiler warning.
24732 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24734 * custom.el (custom--inhibit-theme-enable): Make it affect only
24735 custom-theme-set-variables and custom-theme-set-faces.
24736 (provide-theme): Ignore custom--inhibit-theme-enable.
24737 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24738 (custom-enabling-themes): Delete variable.
24739 (enable-theme): Accept only loaded themes as arguments.
24740 Ignore the special custom-enabled-themes variable.
24741 (custom-enabled-themes): Forbid themes from setting this.
24742 Eliminate use of custom-enabling-themes.
24743 (custom-push-theme): Quote "changed" custom var entry.
24745 2011-03-21 Leo Liu <sdl.web@gmail.com>
24747 * ido.el (ido-read-internal): Add ido-selected to history instead
24750 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24752 * subr.el (deferred-action-list, deferred-action-function):
24755 2011-03-21 Leo Liu <sdl.web@gmail.com>
24757 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24758 change on 2011-02-13 (bug#8309).
24760 * minibuffer.el (read-file-name-function): Change default value.
24761 (read-file-name--defaults): Rename from read-file-name-defaults.
24762 (read-file-name-default): Rename from read-file-name.
24763 (read-file-name): Call read-file-name-function.
24765 2011-03-21 Glenn Morris <rgm@gnu.org>
24767 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24770 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24772 * cus-theme.el: Add missing provide statement.
24773 (customize-create-theme): Extract theme value correctly.
24774 (custom-theme-visit-theme): Autoload.
24775 (customize-create-theme): Prompt before inserting default faces.
24777 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24779 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24780 units and musical notes.
24782 2011-03-20 Leo Liu <sdl.web@gmail.com>
24784 * ido.el (ido-read-internal): Use completing-read-default.
24785 (ido-completing-read): Fix compatibility with completing-read.
24787 2011-03-20 Christian Ohler <ohler@gnu.org>
24789 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24790 (ert-delete-all-tests): Use `called-interactively-p' rather than
24792 (ert--make-xrefs-region): Respect END.
24794 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24796 * dired-aux.el (dired-create-directory): Signal an error if the
24797 directory already exists (Bug#8246).
24799 * facemenu.el (list-colors-display): Call list-faces-display
24800 inside with-help-window.
24801 (list-colors-print): Use display property to align the final
24802 column, instead of checking window-width.
24804 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24806 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24807 windows-nt systems.
24808 (emerge-protect-metachars): Quote correctly for ms-dos and
24809 windows-nt systems.
24811 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24813 * info.el (info-initialize): Replace all uses of `:' with
24814 path-separator for compatibility with non-Unix systems.
24815 Cache quoting of path-separator. (Bug#8258)
24817 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24819 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24820 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24821 (mouse-avoidance-mode): Fix typos in docstrings.
24823 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24825 * startup.el (package-subdirectory-regexp): Move from package.el.
24826 Omit \\` and \\', and let callers add them.
24828 * emacs-lisp/package.el (package-strip-version)
24829 (package-load-all-descriptors): Add \\` and \\' to
24830 package-subdirectory-regexp before using it.
24831 (package-untar-buffer): New arg DIR; ensure that file untars only
24832 into this expected directory. Remove superfluous delete-region.
24833 (package-unpack): Caller changed.
24834 (package-tar-file-info): Use package-subdirectory-regexp.
24836 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24838 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24839 diff-mode-shared-map (bug#8284).
24840 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24842 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24844 * calendar/time-date.el (format-seconds): Use assoc instead of
24845 assoc-string, since assoc-string doesn't exist in XEmacs.
24847 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24849 * custom.el (custom-known-themes): Reflow docstring.
24850 (custom-theme-load-path): Fix typo in docstring.
24851 (load-theme): Fix typo in error message.
24852 (custom-available-themes, custom-variable-theme-value):
24853 Use `let', not `let*'.
24855 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24857 * calc/README: Mention inclusion of musical notes.
24859 * calc/calc-units.el (calc-lu-quant): Rename from
24860 `calc-logunits-quantity'.
24861 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24862 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24863 (calc-db): Rename from `calc-dblevel'.
24864 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24865 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24866 (calc-np): Rename from `calc-nplevel'.
24867 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24868 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24869 (calc-lu-plus): Rename from `calc-logunits-add'.
24870 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24871 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24872 (calc-lu-minus): Rename from `calc-logunits-sub'.
24873 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24874 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24875 (calc-lu-times): Rename from `calc-logunits-mul'.
24876 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24877 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24878 (calc-lu-divide): Rename from `calc-logunits-div'.
24879 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24880 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24882 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24883 functions being autoloaded.
24885 * calc/calc.el (calc-lu-power-reference): Rename from
24886 `calc-logunits-power-reference'.
24887 (calc-lu-field-reference): Rename from
24888 `calc-logunits-field-reference'.
24890 * calc/calc-help.el (calc-l-prefix-help):
24891 Mention musical note functions.
24893 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24895 * minibuffer.el (completion-all-sorted-completions):
24896 Use :completion-cycle-penalty text property if present.
24898 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24900 * allout.el (allout-yank-processing): Adjust for new rebulleting
24901 regime so bullet being yanked is used without prompting the user
24904 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24906 * startup.el (command-line): Warn the user that _emacs is deprecated.
24908 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24910 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24911 (delphi-verbose, delphi-comment-face, delphi-string-face)
24912 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24913 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24914 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24915 (delphi-new-comment-line, delphi-font-lock-defaults)
24916 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24917 Fix typos in docstrings.
24919 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24921 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24922 Invert the roles of character and string values for INSTEAD, so a
24923 string is used for the more common case of a defaulting prompt.
24925 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24927 * progmodes/ruby-mode.el (ruby-backward-sexp):
24928 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24929 * play/gamegrid.el (gamegrid-make-face):
24930 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24931 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24932 * notifications.el (notifications-notify):
24933 * net/xesam.el (xesam-search-engines):
24934 * net/quickurl.el (quickurl-list-insert):
24935 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24937 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24939 * startup.el (command-line): Update package subdirectory regexp.
24941 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24943 * allout.el (allout-abbreviate-flattened-numbering)
24944 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24946 * subr.el (read-char-choice): Only show the cursor after the prompt,
24947 not after the answer.
24949 2011-03-15 Kevin Ryde <user42@zip.com.au>
24951 * help-fns.el (variable-at-point): Skip leading quotes, if any
24954 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24956 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24959 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24961 * shell.el (shell): When called interactively, offer to change the
24962 shell file name on remote hosts.
24964 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24966 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24967 integration for LDAP parameters. The host, base, user or binddn,
24968 and secret tokens can be specified in a netrc file, for instance.
24969 This is optional because an `auth-source' parameter must be
24970 specified in the search attributes.
24972 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24974 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24976 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24978 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24979 into declaration. Remove redundant and harmful binding.
24981 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24983 * files.el (file-ownership-preserved-p): Pass `integer' as an
24984 explicit 2nd argument to `file-attributes'. If the file's owner
24985 is the Administrators group on Windows, and the current user is
24986 Administrator, consider that a match.
24988 * server.el (server-ensure-safe-dir): Consider server directory
24989 safe on MS-Windows if its owner is the Administrators group while
24990 the current Emacs user is Administrator. Use `=' to compare
24991 numerical UIDs, since they could be integers or floats.
24993 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24995 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24997 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24999 Sync with Tramp 2.2.1.
25001 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25003 * net/trampver.el: Update release number.
25005 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25007 * progmodes/compile.el (compilation--previous-directory): Fix up
25008 various nil/dead-marker mismatches (bug#8014).
25009 (compilation-directory-properties, compilation-error-properties):
25010 Don't call it at a position past the one we're about to change.
25012 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25013 Disable obsolescence warnings in the file that declares it.
25015 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25017 * allout-widgets.el (allout-widgets-tally):
25018 Initialize allout-widgets-tally as a hash table rather than nil to
25019 prevent mode-line redisplay warnings. Also, clarify the module
25020 description and fix a comment typo.
25022 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25024 * help-fns.el (describe-variable): Don't complete keywords.
25025 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25027 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25029 * emacs-lisp/package.el (package-version-join): Impose a standard
25030 string representation for pre/alpha/beta version lists.
25031 (package-unpack-single): Standardize the directory name by passing
25032 it through package-version-join.
25033 (package-strip-rcs-id): Accept any version string that does not
25034 signal an error in version-to-list.
25036 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25038 * simple.el (delete-trailing-whitespace): Return nil for the
25039 benefit of `write-file-functions'.
25041 2011-03-10 Glenn Morris <rgm@gnu.org>
25043 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25045 * vc/vc-git.el (vc-git-program): New option.
25046 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25047 (vc-git--call): Use it.
25049 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25051 * cus-edit.el (Custom-newline): If no button at point, look
25052 for a subgroup button at start-of-line. (Bug#2298)
25054 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25056 2011-03-10 Julien Danjou <julien@danjou.info>
25058 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25059 `cursor-type' is nil.
25061 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25063 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25065 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25067 * allout.el: Change so yank of distinctive-bullet items
25068 preserves the existing header prefix, rebulleting it if necessary,
25069 rather than replacing it. This is necessary for proper operation
25070 of cooperative addons like allout-widgets.
25071 (allout-make-topic-prefix, allout-rebullet-heading):
25072 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25073 value as alternate bullet to be used, instead of prompting the user
25074 for a bullet character.
25076 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25078 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25079 Do not use `tramp-file-name-port', because this returns also
25080 `tramp-default-port'.
25082 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25084 * net/rcirc.el (rcirc-handler-001): Remove useless
25085 with-rcirc-process-buffer.
25086 (rcirc-check-auth-status): Swap arguments to string-match.
25088 2011-03-09 Glenn Morris <rgm@gnu.org>
25090 * shell.el (shell-mode):
25091 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25093 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25094 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25096 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25098 * emacs-lisp/package.el (package-refresh-contents)
25099 (package-menu-execute): Use condition-case-no-debug.
25101 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25103 * simple.el (shell-command-to-string): Use `process-file'.
25105 * emacs-lisp/package.el (package-tar-file-info): Handle also
25108 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25109 Use `equal' for upload base check.
25111 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25113 * textmodes/texinfo.el (texinfo-environments):
25114 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25116 2011-03-08 Glenn Morris <rgm@gnu.org>
25118 * cus-start.el (cursor-in-non-selected-windows):
25119 Fix :set quoting oddness. (Bug#8192)
25121 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25122 in some setf expressions. (Bug#2159)
25124 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25126 * custom.el (custom-available-themes): Return themes in
25127 alphabetical order.
25129 See ChangeLog.15 for earlier changes.
25131 ;; Local Variables:
25135 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25137 This file is part of GNU Emacs.
25139 GNU Emacs is free software: you can redistribute it and/or modify
25140 it under the terms of the GNU General Public License as published by
25141 the Free Software Foundation, either version 3 of the License, or
25142 (at your option) any later version.
25144 GNU Emacs is distributed in the hope that it will be useful,
25145 but WITHOUT ANY WARRANTY; without even the implied warranty of
25146 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25147 GNU General Public License for more details.
25149 You should have received a copy of the GNU General Public License
25150 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.