1 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
4 (doc-view-fallback-mode): Remove overlays here.
5 (doc-view-toggle-display): Instead of here. Don't throw away
6 image-mode-winprops-alist.
7 (doc-view-goto-page): Don't mess with hscroll.
9 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
12 &optional (bug#13819).
14 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
16 * net/tramp-adb.el (tramp-adb-parse-device-names)
17 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
19 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
21 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
22 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
23 defined. POSIX environments fall back to the "C" locale then and
24 emit a warning, which shall be suppressed.
26 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
28 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
29 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
31 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
33 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
35 2013-02-25 Juri Linkov <juri@jurta.org>
37 * replace.el (read-regexp): Let-bind `default' to the first
38 element of `defaults' if it's a list, otherwise it should be
39 a string or nil. Let-bind `suggestions' to `defaults' if it's
40 a list, otherwise make a list with the string value. Doc fix.
43 2013-02-25 Eli Zaretskii <eliz@gnu.org>
45 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
46 that match "\`\.#", to avoid compiling lock files, even if they
47 are readable (as they are on MS-Windows).
49 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
51 * files.el (basic-save-buffer): Remove redundant directory-creation.
53 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
55 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
56 Add option to force `pi' to remain symbolic.
57 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
58 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
59 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
60 derivatives, when necessary.
62 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
64 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
65 (ps-mode-octal-region): Use string-make-unibyte.
67 2013-02-23 Glenn Morris <rgm@gnu.org>
69 * emulation/viper-cmd.el (viper-submit-report):
70 * progmodes/ps-mode.el (ps-mode-maintainer-address):
71 * progmodes/vera-mode.el (vera-mode-help-address):
72 * textmodes/artist.el (artist-maintainer-address):
73 * textmodes/reftex.el (reftex-report-bug):
74 * vc/ediff-util.el (ediff-submit-report):
75 Add bug-gnu-emacs to bug report address.
77 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
78 Remove bug report entries.
79 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
81 * emacs-lisp/bytecomp.el (byte-compile-level): New.
82 (byte-compile-file, byte-compile-from-buffer):
83 Use separate input/output buffers for each level of recursive
84 byte-compile-file calls. (Bug#13787)
86 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
88 * net/tramp.el (tramp-methods): Fix docstring.
89 (tramp-ssh-controlmaster-options): Rename it from
90 `tramp-ssh-controlmaster-template'. Return a string.
91 (tramp-default-method): Adapt check for
92 `tramp-ssh-controlmaster-options'.
94 * net/tramp-sh.el (tramp-methods):
95 Replace `tramp-ssh-controlmaster-template' by "%c".
96 (tramp-do-copy-or-rename-file-out-of-band)
97 (tramp-maybe-open-connection): Use it in format spec. Ensure,
98 that it is applied for the first hop only.
100 2013-02-22 Juri Linkov <juri@jurta.org>
102 * isearch.el (isearch-lazy-highlight-new-loop):
103 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
104 to `isearch-other-end' if it is not nil. (Bug#13402)
106 * replace.el (replace-highlight): Let-bind `isearch-other-end'
109 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
110 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
111 and `isearch-error' to nil.
113 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
115 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
117 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
118 Handle multibyte file names.
120 2013-02-22 Glenn Morris <rgm@gnu.org>
122 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
123 (sgml-transformation-function): Give it a :set function.
126 * cmuscheme.el (scheme-buffer):
127 * progmodes/inf-lisp.el (inferior-lisp-buffer):
128 * progmodes/tcl.el (inferior-tcl-buffer):
129 * textmodes/tex-mode.el (tex-command): Doc fixes.
131 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
133 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
135 2013-02-21 Bastien Guerry <bzg@gnu.org>
137 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
139 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
141 * progmodes/python.el (python-info-current-defun):
142 Enhance match-data cluttering prevention.
144 2013-02-21 Glenn Morris <rgm@gnu.org>
146 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
147 loaded while outline-regexp is let bound. (Bug#9584)
149 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
151 * progmodes/python.el (python-info-current-defun): Fix failed
152 defun name retrieval because of unwanted match-data cluttering.
154 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
156 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
157 defconst. Apply independent check for ControlPersist.
159 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
160 temporarily, via "env".
162 2013-02-21 Glenn Morris <rgm@gnu.org>
164 * info.el (Info-enable-edit): Remove.
165 (Info-edit): Disable it rather than using Info-enable.
166 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
167 (Info-cease-edit): Make editing of Info files obsolete.
169 * informat.el (Info-tagify):
170 Handle buffers not visiting files. (Bug#13763)
172 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
174 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
176 2013-02-21 Glenn Morris <rgm@gnu.org>
178 * files.el (basic-save-buffer): Move check for existing parent
179 directory after hooks. (Bug#13773)
181 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
183 * simple.el (command-execute): Move from C. Add obsolete check.
184 (extended-command-history): Move from C.
186 2013-02-20 Ulrich Müller <ulm@gentoo.org>
188 * jka-cmpr-hook.el (jka-compr-compression-info-list)
189 (jka-compr-mode-alist-additions): Handle .txz suffix for
190 XZ-compressed tar archives (bug#13770).
192 2013-02-20 Bastien Guerry <bzg@gnu.org>
194 * outline.el (outline-regexp, outline-heading-end-regexp):
195 Make variables, not options (bug#13731).
197 2013-02-20 Glenn Morris <rgm@gnu.org>
199 * image.el (image-current-frame): Change from variable to function.
200 (image-show-frame): Rename from image-nth-frame. Update callers.
201 * image-mode.el (image-multi-frame): New variable.
202 (image-mode-map, image-mode, image-goto-frame):
203 Use image-multi-frame rather than image-current-frame.
204 (image-mode, image-goto-frame): Use image-current-frame as
205 function rather than as variable.
207 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
208 * emacs-lisp/cl-macs.el (cl--make-type-test)
209 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
211 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
213 * net/tramp-cache.el (tramp-get-hash-table): New defun.
214 (tramp-get-file-property, tramp-set-file-property)
215 (tramp-get-connection-property, tramp-set-connection-property): Use it.
216 (tramp-flush-file-property, tramp-flush-directory-property):
217 Rename argument to KEY.
218 (tramp-flush-connection-property): Simplify a little bit.
219 (tramp-connection-property-p): New defun.
220 (top): Reapply saved values only if there isn't a corresponding
221 entry in `tramp-connection-properties'.
223 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
225 * progmodes/python.el (python-indent-context):
226 Fix python-info-line-ends-backslash-p call.
227 (python-info-line-ends-backslash-p)
228 (python-info-beginning-of-backslash): Respect line-number argument.
229 (python-info-current-line-comment-p):
230 Fix behavior when not at beginning-of-line.
231 (python-util-position): Remove function.
232 (python-util-goto-line): New function.
234 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
236 * eshell/em-unix.el (eshell/su): Require tramp.
237 (eshell/sudo): Require tramp. Remove now unnecessary check.
239 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
240 `tramp-current-connection' in order to avoid an error when several
241 commands are invoked in a short time in eshell and friends.
243 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
245 Cleanup some of EIEIO's namespace.
246 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
247 Use it to define all the class-* and object-* field accessors (renamed
248 to eieio--class-* and eieio--object-*). Update all uses.
249 (eieio--class-num-slots, eieio--object-num-slots): Rename from
250 class-num-slots and object-num-slots.
251 (eieio--check-type): New macro.
252 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
253 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
254 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
255 (object-assoc-list-safe): Use it.
256 (eieio-defclass): Tighten regexp.
257 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
258 Remove unreachable code.
259 (object-class-fast): Declare obsolete.
260 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
261 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
262 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
263 Rename from class-name, object-name, object-set-name-string,
264 object-class, object-class-name, class-parents, class-children,
265 class-precedence-list, class-parent; with obsolete alias.
266 (class-of, class-direct-superclasses, class-direct-subclasses):
268 (eieio-defmethod): Use `memq'; remove unreachable code.
269 * emacs-lisp/eieio-base.el (eieio-persistent-read):
270 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
271 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
274 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
276 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
277 Use font-lock-keyword-face for macros and special forms (bug#8345).
279 2013-02-17 Didier Verna <didier@didierverna.net>
281 * net/network-stream.el (network-stream-open-starttls):
282 Check that response to the starttls-command is non-nil. (Bug#13706)
284 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
286 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
287 Don't assume all identifier chars have syntax word.
288 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
289 Remove bar-not-symbol. Adjust callers.
290 (lisp-mode-variables): Don't set a font-lock-syntax-table.
292 2013-02-17 Leo Liu <sdl.web@gmail.com>
294 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
296 2013-02-17 Glenn Morris <rgm@gnu.org>
298 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
300 * image-mode.el (image-mode-map): Add image-dired menu entry.
302 * image-dired.el (tumme): Make this alias obsolete.
304 2013-02-16 Glenn Morris <rgm@gnu.org>
306 * image.el (image-animated-types): Remove.
307 (image-multi-frame-p): Rename from image-animated-p, and generalize.
308 (image-animated-p): Make obsolete alias.
309 (image-animate, image-nth-frame, image-animate-timeout):
310 Use image-multi-frame-p.
311 (image-animate-timeout): If no delay, use image-default-frame-delay.
312 * image-mode.el (image-mode, image-toggle-animation):
313 Use image-multi-frame-p. (Bug#763, bug#10739)
314 (image-mode): Adjust startup message for a multi-frame image.
316 * image-mode.el (image-mode-map): Give it a menu.
318 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-cache.el (tramp-connection-properties): New customer
322 (tramp-get-connection-property): Use it.
324 * net/tramp-compat.el (top): Require 'trampver.
326 * net/tramp-sh.el (tramp-remote-process-environment):
327 Set tramp-autoload cookie.
329 2013-02-16 Kevin Ryde <user42@zip.com.au>
331 * info-look.el (info-lookup-select-mode): If major-mode has no
332 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
334 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
336 * replace.el (read-regexp): Tighten the regexp that matches tag.
337 When tag is retrieved with `find-tag-default', use regexp that
338 matches tag at point. Also update docstring (Bug#13687).
340 2013-02-16 Eli Zaretskii <eliz@gnu.org>
342 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
343 add watch for the file, not its parent directory, since w32notify
344 sets up the watch for the directory internally. (Bug#13725)
346 2013-02-16 Glenn Morris <rgm@gnu.org>
348 * image.el (image-default-frame-delay): New variable.
349 (image-animated-p): Use image-default-frame-delay.
350 (image-minimum-frame-delay): New constant.
351 (image-animate-timeout): Use image-minimum-frame-delay.
353 * image.el (image-nth-frame): New, split from image-animate-timeout.
354 (image-animate-timeout): Use image-nth-frame.
355 * image-mode.el (image-goto-frame, image-next-frame)
356 (image-previous-frame): New commands.
357 (image-mode-map): Add new frame commands.
359 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
361 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
362 If col-desc already has help-echo, use it. (Bug#13563)
364 2013-02-16 Glenn Morris <rgm@gnu.org>
366 * image.el (image-current-frame): New variable.
367 (image-animate-timeout): Set image-current-frame.
368 * image-mode.el (image-mode): For animated images,
369 display a frame counter via mode-line-process.
371 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
373 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
375 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
377 2013-02-15 Alan Mackenzie <acm@muc.de>
379 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
380 global minor mode has been enabled, call the minor mode function
381 for a new buffer once only, after the major mode hook, whilst
382 allowing that hook explicitly to disable the minor mode.
383 (MODE-disable-in-buffer): New (generated) function.
384 (disable-MODE): New (generated) buffer local variable.
386 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
388 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
389 `iswitchb-next-match' and `iswitchb-prev-match' resply.
390 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
391 `ido-next-match' and `ido-prev-match' resply.
392 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
393 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
394 `icomplete-backward-completions' (Bug#13708).
396 2013-02-15 Glenn Morris <rgm@gnu.org>
398 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
400 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
402 * net/goto-addr.el (goto-address-fontify): Add start and end args.
403 (goto-address-fontify-region): Use them instead of narrowing, so
404 syntax-ppss has access to the whole buffer.
406 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
408 * progmodes/python.el: Explain how to restore "cc-mode"-like
409 forward-sexp movement in header documentation (Bug#13642).
410 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
411 comments and strings (GH bug 114).
413 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
415 * progmodes/python.el (python-info-current-defun): Fix current
416 defun detection (Bug#13618).
418 2013-02-15 Chong Yidong <cyd@gnu.org>
420 * xml.el (xml-parse-string): Fix typo in handling of bad character
423 2013-02-15 Glenn Morris <rgm@gnu.org>
425 * play/fortune.el (fortune-compile): Simplify and fix previous change.
427 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
429 * net/tramp.el (tramp-debug-message):
430 Add `tramp-condition-case-unless-debug'.
431 (tramp-debug-on-error): New defvar.
432 (tramp-condition-case-unless-debug): New defun.
433 (tramp-file-name-handler): Use it.
435 2013-02-14 Juri Linkov <juri@jurta.org>
437 * info.el (Info-isearch-filter): Treat non-nil values of
438 `search-invisible' including its default value `open'
439 like the value `t' to match hidden text. (Bug#13402)
441 2013-02-14 Glenn Morris <rgm@gnu.org>
443 * help-fns.el (find-lisp-object-file-name): Give special treatment
444 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
446 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
448 * net/quickurl.el (quickurl-save-urls):
449 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
451 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
453 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
454 depth for unfinished percent literal. Not using it in the caller.
455 (ruby-move-to-block): Jump over multiline literals of all types,
456 ignoring code-looking contents inside them.
457 (ruby-add-log-current-method): Improve performance at the expense
458 of accuracy. `ruby-block-contains-point' is relatively slow, so
459 only use it for method and singleton class blocks.
461 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
463 Use ControlMaster where applicable. (Bug#13677)
465 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
466 replacing `tramp-detect-ssh-controlmaster'.
467 (tramp-default-method): Use it.
469 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
470 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
472 [scpc, rsyncc]: Remove methods.
473 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
475 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
476 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
478 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
480 * emacs-lisp/package.el (package--initialized): Move before first use.
482 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
484 * icomplete.el (icomplete-hide-common-prefix): New user option.
485 (icomplete-first-match): New face.
486 (icomplete-completions): Correct handling of "complete but not
489 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
491 * descr-text.el (describe-char): Display the script (bug#13698).
493 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
495 * tmm.el: Use lexical-binding and current-active-maps.
496 (tmm-menubar): Use map-keymap and pcase.
497 (tmm--completion-table): New function.
498 (tmm-prompt): Use it to fix the menu order.
499 (tmm-get-keybind): Use current-active-maps.
501 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
503 Add dired-hide-details-mode. (Bug#6799)
505 * locate.el (locate-mode): Set parent mode property to dired-mode.
507 * find-dired.el (find-dired): Call dired-insert-set-properties on
508 initial information line. Set process mark on end of buffer.
509 (find-dired-sentinel):
510 Call dired-insert-set-properties on summary.
512 * dired.el (dired-hide-details-hide-symlink-targets)
513 (dired-hide-details-hide-information-lines): New options.
514 (dired-insert-directory):
515 Set properties after final treatment of output.
516 (dired-insert-set-properties):
517 Set dired-hide-details-* properties.
518 (dired-mode-map): Bind dired-hide-details-mode.
519 (dired-mode): Set buffer-invisibility-spec to a list.
520 (dired-next-line): Skip hidden lines.
521 (dired-previous-line): Use dired-next-line.
522 (dired-hide-details-mode): New minor mode.
523 (dired-hide-details-update-invisibility-spec): New function.
525 2013-02-13 Glenn Morris <rgm@gnu.org>
527 * play/yow.el: Move to obsolete/. (Bug#9384)
529 2013-02-13 Juri Linkov <juri@jurta.org>
531 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
532 to select `ediff-control-frame' and set input focus correctly on Xfce.
535 2013-02-13 Juri Linkov <juri@jurta.org>
537 * image-mode.el (image-mode-map):
538 * doc-view.el (doc-view-mode-map):
539 * vc/ediff-util.el (ediff-setup-keymap):
540 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
542 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
544 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
545 performance. Instead of recalculating indentation fully for each
546 line, sum up indentation depth based only on visited lines.
547 (ruby-parse-partial): Increase the depth after "do" even when END
549 (ruby-parse-partial): When END is in the middle of a percent
550 literal, increase the depth if the delimiter chars belong to the
553 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
555 * play/fortune.el (fortune-compile): Also make the compiled file
556 if it does not exist at all, not just if it is old. (Bug#5338)
558 2013-02-13 Glenn Morris <rgm@gnu.org>
560 * emacs-lisp/package.el (package-menu-execute): Doc fix.
562 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
564 * lisp/emacs-lisp/package.el (package-menu-execute):
565 Add optional noquery argument. (Bug#13625)
567 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
569 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
570 if DIR exists and PARENTS is non-nil.
572 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
574 * progmodes/js.el (js--multi-line-declaration-indentation):
575 Silence byte-compiler warning.
577 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
579 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
581 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
582 only if it doesn't exist.
584 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
587 2013-02-12 Tassilo Horn <tsdh@gnu.org>
589 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
590 UserInstallation when calling soffice to work around LibreOffice
593 2013-02-12 Glenn Morris <rgm@gnu.org>
595 * files.el (basic-save-buffer):
596 Offer to create a non-existing directory. (Bug#3016)
598 * calc/calc-graph.el (calc-graph-show-dumb):
599 * calendar/calendar.el (calendar-mode-map):
600 * cus-edit.el (custom-mode-map):
601 * ehelp.el (electric-help-map):
602 * emulation/vip.el (vip-mode-map):
603 * epa.el (epa-key-list-mode-map):
604 * info.el (Info-mode-map):
605 * mail/rmail.el (rmail-mode-map):
606 * mail/rmailsum.el (rmail-summary-mode-map):
607 * man.el (Man-mode-map):
608 * net/newst-plainview.el (newsticker-mode-map):
609 * progmodes/cpp.el (cpp-edit-mode-map):
610 * progmodes/grep.el (grep-mode-map):
611 * progmodes/idlw-help.el (idlwave-help-mode-map):
612 * simple.el (special-mode-map):
613 * startup.el (splash-screen-keymap):
614 * view.el (view-mode-map):
615 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
617 2013-02-11 Elias Pipping <pipping@lavabit.com>
619 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
622 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
624 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
626 2013-02-11 Glenn Morris <rgm@gnu.org>
628 * vc/diff.el (diff-use-labels): New variable.
629 (diff-no-select): Use --label rather than -L, and first
630 check that it is supported. (Bug#11067)
632 * files.el (enable-dir-local-variables): New variable.
633 (hack-dir-local-variables): Respect enable-dir-local-variables.
634 * tutorial.el (help-with-tutorial):
635 Ignore directory-local variables. (Bug#11127)
637 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
638 (vc-svn-global-switches): ... to here. (Bug#13513)
640 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
642 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
643 Handle "foo (bar, default: xxx): " prompts.
645 2013-02-10 Chong Yidong <cyd@gnu.org>
647 * files.el (basic-save-buffer-1): Do not set
648 buffer-file-coding-system-explicit (Bug#4533).
650 * mail/emacsbug.el (report-emacs-bug): Change binding of
651 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
653 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
655 * calc/calc.el (calc-allow-units-as-numbers): New variable.
656 * calc/calc-units.el (calc-convert-units): Use new variable.
658 2013-02-09 Eli Zaretskii <eliz@gnu.org>
660 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
662 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
665 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
666 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
667 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
668 coding-system-for-write instead.
670 * jka-compr.el (jka-compr-write-region): Don't bind
673 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
676 * files.el (file-name-buffer-file-type-alist): Remove defvar.
677 (insert-file-contents-literally): Remove reference to
678 file-name-buffer-file-type-alist.
680 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
682 (find-buffer-file-type-match, find-buffer-file-type): Remove.
683 (find-buffer-file-type-coding-system): Remove references to
684 find-buffer-file-type-match, find-buffer-file-type, and
686 Don't put find-buffer-file-type-coding-system into
687 file-coding-system-alist.
688 (find-file-binary, find-file-text): Bind coding-system-for-read
689 instead of file-name-buffer-file-type-alist.
691 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
693 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
694 converter (Bug#13622).
695 (doc-view-unoconv-program): Make obsolete alias.
696 (doc-view-odf->pdf-converter-program): New variable.
697 (doc-view-odf->pdf-converter-function): New variable.
698 (doc-view-mode-p): Use it.
699 (doc-view-odf->pdf-converter-unoconv):
700 Rename from `doc-view-odf->pdf-converter-unoconv'.
701 (doc-view-odf->pdf-converter-soffice): New function.
702 (doc-view-convert-current-doc):
703 Use `doc-view-odf->pdf-converter-function'.
705 2013-02-09 Chong Yidong <cyd@gnu.org>
707 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
708 view-echo-area-messages (Bug#13340).
710 * help.el (view-echo-area-messages): Use display-buffer.
712 * dired-x.el (dired-do-run-mail): Prompt for confirmation
715 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
717 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
718 Eval body right away, now that we do eager macroexpansion (bug#13605).
720 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
721 (fundamental-mode): Use run-mode-hooks.
723 * eshell/esh-proc.el (eshell/kill): Fix last change.
724 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
726 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
728 * eshell/esh-proc.el (eshell/kill): Rewrite.
730 * eshell/em-ls.el (show-almost-all): Declare.
731 (eshell-do-ls): Add support for -A argument.
733 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
735 * icomplete.el (icomplete-forward-completions)
736 (icomplete-backward-completions): Handle corner case (bug#13602).
738 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
740 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
741 be nil. Handle this. (Bug#13636)
743 2013-02-07 Richard Stallman <rms@gnu.org>
745 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
746 `save-buffer-coding-system'.
748 2013-02-07 Alan Mackenzie <acm@muc.de>
750 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
751 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
752 (c-parse-state-get-strategy): Don't return 'BOD any more.
753 (c-append-lower-brace-pair-to-state-cache):
754 Extra parameter HERE instead of narrowing.
755 Widen to top of buffer before searching backwards for a brace pair.
756 (c-state-push-any-brace-pair): Add HERE parameter to function call.
757 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
758 Narrow to parameter HERE, in place of being called narrowed.
759 (c-remove-stale-state-cache): Extra parameter HERE in place of
760 narrowing. Check there's an open brace in the cache before
761 searching for its match.
762 (c-invalidate-state-cache-1): Add HERE parameter to function call.
763 (c-parse-state-1): Don't narrow here for 'forward strategy,
764 instead passing extra parameter HERE to several functions.
765 Remove 'BOD strategy.
767 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
769 * emacs-lisp/package.el (describe-package-1): Tell what archive is
770 used to install the package.
772 2013-02-06 Glenn Morris <rgm@gnu.org>
774 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
775 if we can't get user input. (Bug#6567)
777 * startup.el (command-line): If simple.el is missing,
778 test and warn about for some possible causes.
780 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
782 * cus-start.el (all): Add ns-use-native-fullscreen.
784 2013-02-05 Glenn Morris <rgm@gnu.org>
786 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
788 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
789 Fix directory creation in fallback case.
791 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
793 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
794 (vc-update-change-log): Use dolist.
796 2013-02-04 Chong Yidong <cyd@gnu.org>
798 * thingatpt.el: Rewrite the URL detection routines, absorbing some
800 (thing-at-point-beginning-of-url-regexp): New var.
801 (thing-at-point-uri-schemes): Update list of URI schemes.
802 (thing-at-point-url-regexp): Variable deleted.
803 (thing-at-point-markedup-url-regexp): Disallow newlines.
804 (thing-at-point-newsgroup-regexp)
805 (thing-at-point-newsgroup-heads)
806 (thing-at-point-default-mail-uri-scheme): New variables.
807 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
808 method to find the possible bounds of the URI at point.
809 New optional argument to find ill-formed URIs.
810 (thing-at-point-url-at-point): Rewrite. New arguments for finding
811 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
812 the scheme-adding heuristics from ffap-url-at-point.
813 (thing-at-point--bounds-of-well-formed-url): New function.
814 Do parens matching to decide whether to include parens in the URI
817 * ffap.el: Require thingatpt.
818 (ffap-url-at-point): Delegate URI detection to thing-at-point.
819 All URI-valid characters are now recognized (Bug#5673).
820 (ffap-string-at-point): Use use-region-p.
821 (ffap-url-regexp): Extra character is handled by thing-at-point.
822 (ffap-string-at-point-mode-alist): Allow parentheses.
823 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
824 Convert to aliases; code moved to thingatpt.el.
825 (ffap-gnus-hook): Use setq-local.
827 2013-02-04 Glenn Morris <rgm@gnu.org>
829 * emacs-lisp/ert.el (ert--explain-format-atom):
830 Don't try to print non-characters as characters. (Bug#13543)
832 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
834 * net/tramp.el (tramp-debug-message): Extend function exclude list.
835 (tramp-backtrace): New defun.
836 (tramp-handle-insert-file-contents): Use `visit' when inserting
839 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
840 Use `remote-file-name-inhibit-cache'.
842 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
844 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
847 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
848 current-load-list (bug#13366).
850 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
852 * progmodes/compile.el (compilation-error-regexp-alist-alist):
853 Identify g++ template instantiation trace. (Bug#12287)
854 (compilation-mode-hook, compilation-start-hook)
855 (compilation-window-height): Simplify docstrings. (Bug#13379)
857 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
859 * mouse.el (mouse-drag-track): Always deactivate the mark before
860 running the final event's command since that command is in charge of
861 activating the mark if needed (bug#13523).
863 2013-02-02 Juri Linkov <juri@jurta.org>
865 * replace.el (perform-replace): Move let-bindings of isearch-*
866 variables deeper to the loop that searches for the next match.
867 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
868 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
871 * isearch.el (isearch-search-fun-default): Check for null
872 first element of isearch-cmds as a precaution when it's used
873 with inactive isearch.
875 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
877 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
878 error when buffer in question is narrowed so position 1 is out of
881 2013-02-02 Glenn Morris <rgm@gnu.org>
883 * textmodes/remember.el (remember-clipboard): Doc fix.
885 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
887 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
888 properties (bug#13179).
890 2013-02-02 Juri Linkov <juri@jurta.org>
892 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
893 instead of hard-coded default face `match'. (Bug#9438)
895 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
897 * vc/vc-arch.el (vc-arch-registered):
898 * vc/vc-bzr.el (vc-bzr-registered):
899 * vc/vc-cvs.el (vc-cvs-registered):
900 * vc/vc-git.el (vc-git-registered):
901 * vc/vc-hg.el (vc-hg-registered):
902 * vc/vc-mtn.el (vc-mtn-registered):
903 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
906 * info.el (Info-next-reference, Info-prev-reference): Add numeric
907 prefix argument. (Bug#11656)
909 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
911 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
913 2013-02-01 Glenn Morris <rgm@gnu.org>
915 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
916 if the backend is known not to support it.
918 * imenu.el (imenu-default-create-index-function):
919 Tweak infinite loop test to check for forward motion as well as none.
921 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
923 * net/soap-client.el (soap-invoke): Encode the string for
924 `url-request-data' as UTF-8.
925 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
927 2013-02-01 Glenn Morris <rgm@gnu.org>
929 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
931 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
933 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
935 * net/tramp.el (tramp-tramp-file-p): Comment check for
936 `string-as-unibyte'. The function does not exist on XEmacs, and
937 likely we need another approach.
939 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
940 `tramp-gw-*' variables are bound.
942 2013-01-31 Glenn Morris <rgm@gnu.org>
944 * files.el (basic-save-buffer-2): Choose coding system for
945 writing the file before backing it up, to reduce delay between
946 backing up and writing the new version. (Bug#13522)
948 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
950 * simple.el (cycle-spacing): New command.
951 (just-one-space): Use it.
953 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
955 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
956 (opascal-newline-always-indents): Remove custom.
957 (opascal-tab, opascal-newline): Remove commands.
958 (opascal-new-comment-line): Insert "\n" instead of calling newline.
959 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
960 (opascal-save-match-data): Remove, use save-match-data instead.
961 (opascal-save-state): Use with-silent-modifications.
963 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
966 2013-01-30 Juri Linkov <juri@jurta.org>
968 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
969 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
970 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
972 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
974 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
975 column if we're just deleting the backslashes.
976 (makefile-fill-paragraph): Use eolp.
978 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
980 * autorevert.el (auto-revert-use-notify): Fix docstring.
982 2013-01-30 Leo Liu <sdl.web@gmail.com>
984 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
986 2013-01-30 Glenn Morris <rgm@gnu.org>
988 * mouse.el (mouse-drag-line): Avoid pushing same event onto
989 unread-command-events twice in some cases. This tries to implement
990 the 2012-07-26 changes in a different way. (Bug#13560)
992 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
994 * progmodes/python.el
995 (python-pdbtrack-comint-output-filter-function): Enhancements on
996 stacktrace detection. (thanks @gnovak)
998 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1001 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1003 (jit-lock-register): Use setq-local.
1005 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1007 * calc-units.el (math-default-units-table): Remove initial value.
1008 (calc-convert-units): Treat expressions where all the units cancel as
1009 if they didn't have units.
1011 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1013 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1014 (tramp-completion-reread-directory-timeout): Fix type.
1015 (tramp-connection-min-time-diff): New defcustom.
1017 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1019 2013-01-30 Glenn Morris <rgm@gnu.org>
1021 * imenu.el (imenu-default-create-index-function):
1022 Put back a version of the infinite loop test removed 2013-01-23.
1024 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1026 * progmodes/python.el (python-shell-parse-command):
1027 Find python-shell-interpreter with modified environment.
1029 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1033 2013-01-29 Alan Mackenzie <acm@muc.de>
1035 Amend to fontify /regexp/s in actions correctly.
1036 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1037 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1038 are no longer included.
1039 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1040 What used to be these variables without "-line" in the name.
1041 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1042 (c-awk-non-arith-op-bra-re): Now also matches {.
1043 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1044 "return", and "case".
1045 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1047 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1048 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1050 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1052 * autorevert.el (auto-revert-use-notify):
1053 Use `custom-initialize-default' for initialization. (Bug#13583)
1055 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1057 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1058 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1059 in `tramp-file-name-handler'.
1060 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1062 (tramp-compute-multi-hops): Check, whether
1063 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1065 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1070 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1072 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1073 checks made superfluous by the \_< operator.
1074 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1075 temporarily) broken indentation.
1076 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1077 Highlight nested constants, too. \_< broke that.
1079 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1081 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1084 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1086 * autorevert.el (auto-revert-handler): Notifications which result
1087 from a saved file shall not be taken into account. (Bug#13557)
1089 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1091 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1092 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1093 (lisp-mode): Pass t for it. (Bug#13556)
1095 2013-01-25 Alan Mackenzie <acm@muc.de>
1097 AWK Mode: Fix indentation bug at top level. Bug #12274.
1099 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1100 just before CASE 5D.
1102 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1104 * net/socks.el (socks-nslookup-host): Use string-to-number.
1106 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1108 * autorevert.el (auto-revert-remote-files)
1109 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1110 (auto-revert-notify-enabled, auto-revert-use-notify)
1111 (auto-revert-notify-watch-descriptor-hash-list)
1112 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1113 (auto-revert-notify-event-descriptor)
1114 (auto-revert-notify-event-action)
1115 (auto-revert-notify-event-file-name): Doc fix.
1116 (global-auto-revert-mode): Reorder checks.
1117 (auto-revert-notify-rm-watch): Respect changed values of
1118 `auto-revert-notify-watch-descriptor-hash-list'.
1119 (auto-revert-notify-add-watch): Check for
1120 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1121 `inotify-add-watch'. Watch `default-directory' instead of
1122 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1123 has a changed meaning now. (Bug#13540)
1124 (auto-revert-notify-handler): Change implementation wrt events
1125 returning from a directory.
1126 (auto-revert-handler): Reorder implementation for checks of remote
1128 (auto-revert-buffers): Fix parentheses error.
1130 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1132 * progmodes/python.el: Enhancements to header documentation about
1133 skeletons. (Bug#5716)
1135 * imenu.el (imenu-default-create-index-function): Remove useless
1136 infinite loop check. (Bug#13438)
1138 2013-01-25 Alan Mackenzie <acm@muc.de>
1140 Fix a bug in the state cache mechanism. Refactor this a bit.
1142 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1143 `cache-pos' element from the return value.
1144 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1145 buffer to enable proper searching from beyond HERE. Amend the
1146 test for detecting the sought brace pair. Amend the value written
1147 to the "brace desert cache" when the brace isn't found.
1148 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1149 and several other variables analogously.
1150 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1151 parameter to a locally calculated variable.
1152 (c-parse-state-1): Change the calling conventions to the two
1153 defuns involving `cache-pos'.
1155 2013-01-25 Chong Yidong <cyd@gnu.org>
1157 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1159 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1161 * paren.el (show-paren-function): Make sure to set 'priority and
1162 'face only if the overlay does exist.
1164 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1166 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1168 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1170 (tramp-sh-handle-set-file-acl): Improve error checking.
1172 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1174 * doc-view.el (doc-view-display): Force mode line update until all
1175 document is converted. Suggested by Stefan Monnier (Bug#13164).
1177 2013-01-23 Bastien Guerry <bzg@gnu.org>
1179 * paren.el (show-paren-function): Make sure an overlay exists
1180 before trying to delete it. Also use `pos' as a position only
1181 when it is an integer.
1183 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1185 * play/gametree.el (gametree-break-line-here): Use point-marker.
1187 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1189 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1190 Mark descriptive parts with `display' property.
1192 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1194 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1195 New variable to map standard dict names to hunspell ones.
1196 (ispell-set-spellchecker-params): Make sure specific dict names
1197 are used for standard dicts with hunspell.
1199 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1201 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1202 chars for note (%N) and url (%U).
1203 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1205 2013-01-21 Juri Linkov <juri@jurta.org>
1207 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1208 in addition to existing separate binding `meta f10' in `global-map'.
1211 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1213 Improve XEmacs compatibility.
1215 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1217 * net/tramp-adb.el (top): Require `time-date'.
1218 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1219 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1220 Use `tramp-file-name-handler'.
1221 (tramp-adb-maybe-open-connection):
1222 Use `tramp-compat-set-process-query-on-exit-flag'.
1224 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1225 Use `tramp-compat-funcall'.
1227 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1228 `tramp-compat-funcall'.
1230 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1232 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1233 reimplementation using "adb shell command ..." instead of running
1234 remote shell interactively.
1236 2013-01-20 Glenn Morris <rgm@gnu.org>
1238 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1239 Add native profiler menu entries.
1241 * profiler.el (profiler-running-p): New function.
1242 (profiler-cpu-profile): Use profiler-running-p.
1243 (profiler-report-mode-map): Add some more menu entries.
1245 2013-01-19 Glenn Morris <rgm@gnu.org>
1247 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1248 fixes 2012-12-07 change. (Bug#13499)
1250 2013-01-19 Leo Liu <sdl.web@gmail.com>
1252 * dired.el (dired-get-marked-files): Prune erroneous values due to
1253 last change. (Bug#13152)
1255 2013-01-19 Glenn Morris <rgm@gnu.org>
1257 * progmodes/etags.el (tags-table-check-computed-list):
1258 Preserve point in tags buffer. (Bug#13412)
1260 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1262 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1263 Chong Yidong <cyd@gnu.org>
1265 * image-mode.el (image-next-file, image-previous-file):
1266 New commands (Bug#8453).
1267 (image-mode-map): Bind them to n and p.
1268 (image-mode--images-in-directory): New helper function.
1270 2013-01-19 Chong Yidong <cyd@gnu.org>
1272 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1273 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1274 save and restore the old window configuration.
1276 2013-01-18 Leo Liu <sdl.web@gmail.com>
1278 * progmodes/js.el: Tweak autoload cookie for alias.
1280 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1282 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1283 buffer local, again. This was lost with the fix on 2013-01-12.
1285 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1287 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1288 order to support several eshell buffers in parallel.
1290 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1292 * autorevert.el (auto-revert-use-notify): In the :set function, do
1293 not modify `kill-buffer-hook'.
1294 (auto-revert-notify-rm-watch):
1295 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1296 (auto-revert-notify-add-watch): Do not call
1297 `auto-revert-notify-rm-watch', but add it to a buffer local
1300 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1302 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1303 call to `eval' rather than a backquoted lambda.
1305 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1308 to return an explicit nil.
1309 (advice--remove-function): Change accordingly.
1311 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1312 the use of nadvice.el.
1314 * progmodes/which-func.el (which-function): Silence imenu errors
1317 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1319 * progmodes/sql.el: (sql-imenu-generic-expression):
1320 (sql-mode-font-lock-object-name): Match schema qualified names.
1321 (sql-connect): Use string keys.
1322 (sql-product-interactive): Wait for interpreter prompt.
1323 (sql-comint-oracle): Set process coding based on NLS_LANG.
1325 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1327 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1328 (sql-interactive-remove-continuation-prompt):
1329 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1331 2013-01-14 Leo Liu <sdl.web@gmail.com>
1333 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1336 2013-01-14 Glenn Morris <rgm@gnu.org>
1338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1339 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1341 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1343 * progmodes/python.el (python-nav-end-of-statement):
1344 Fix cornercase when handling multiline strings.
1346 2013-01-13 Richard Stallman <rms@gnu.org>
1348 * mail/sendmail.el (mail-position-on-field): Add doc string.
1350 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1351 Get current message boundaries and pass them to
1352 message-forward-make-body-mime. Minor style changes.
1354 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1356 * cus-start.el (all): Avoid warnings about
1357 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1359 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1361 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1363 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1366 (jit-lock--debug-fontifying): New var.
1367 (jit-lock--debug-fontify): New function.
1368 * subr.el (condition-case-unless-debug): Don't prevent catching the
1369 error, just let the debbugger run.
1370 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1371 timer code and don't drop errors silently.
1373 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1375 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1376 `permanent-local' property.
1377 (auto-revert-notify-handler): Use `file-equal-p'.
1379 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1381 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1382 file notification by ACTION. For filtering by file name, compare
1383 only the non-directory part of the file name.
1385 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * autorevert.el: Use cl-lib instead of cl.
1389 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1390 (vc-bzr-checkin): Use it.
1391 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1392 will preserve match-data.
1394 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1396 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1397 (js--declaration-keyword-re): New var.
1398 (js--multi-line-declaration-indentation): New function.
1399 (js--proper-indentation): Use it.
1401 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1403 * calc/calc.el (calc-highlight-selections-with-faces)
1405 * comint.el (comint-history-isearch-message):
1406 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1407 * ffap.el (ffap-string-at-point-region, ffap-next)
1408 (ffap-string-at-point, ffap-string-around)
1409 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1411 * font-lock.el (font-lock-keywords-alist)
1412 (font-lock-removed-keywords-alist):
1413 * help-mode.el (help-xref-symbol-regexp):
1414 * info.el (Info-find-emacs-command-nodes):
1415 * international/mule.el (add-to-coding-system-list):
1416 * isearch.el (isearch-message-function, isearch-fail-pos):
1417 * misearch.el (multi-isearch-next-buffer-function):
1418 * newcomment.el (comment-box):
1419 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1420 (pr-setting-database):
1421 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1422 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1423 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1424 (pike-font-lock-keywords-3):
1425 * progmodes/compile.el (compile):
1426 * progmodes/etags.el (tags-table-files)
1427 (tags-table-files-function, tags-included-tables-function):
1428 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1429 (gdb-restore-windows):
1430 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1431 (ps-n-up-filling-database):
1432 * server.el (server-buffer, server-log):
1433 * simple.el (newline, delete-backward-char, delete-forward-char)
1434 (minibuffer-history-isearch-message, kill-line, track-eol)
1435 (temporary-goal-column):
1436 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1437 (flyspell-default-deplacement-commands):
1438 * textmodes/ispell.el (ispell-accept-output):
1439 * textmodes/sgml-mode.el (html-tag-help):
1440 * vc/compare-w.el (compare-ignore-whitespace)
1441 (compare-ignore-case, compare-windows-dehighlight):
1442 * vc/diff.el (diff):
1443 * whitespace.el (whitespace-point)
1444 (whitespace-font-lock-refontify, whitespace-bob-marker)
1445 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1447 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1449 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1450 (auto-revert-notify-rm-watch): Ignore errors.
1451 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1452 inotify, and '(size last-write-time) for w32notify.
1453 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1454 watch fails - this is a fallback to the file modification check.
1455 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1456 (auto-revert-notify-event-action)
1457 (auto-revert-notify-event-file-name): New defuns.
1458 (auto-revert-notify-handler): Use them. Implement first
1459 plausibility checks.
1460 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1462 2013-01-11 Julien Danjou <julien@danjou.info>
1464 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1465 max are almost equal. Also return the correct value for V which is
1466 already between 0 and 1.
1468 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1470 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1472 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1474 * autorevert.el (auto-revert-notify-rm-watch)
1475 (auto-revert-notify-add-watch): Fix typos in w32notify function
1478 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1480 * autorevert.el (auto-revert-notify-enabled): Move up.
1481 (auto-revert-use-notify): New defcustom.
1482 (auto-revert-mode, global-auto-revert-mode)
1483 (auto-revert-notify-add-watch, auto-revert-handler)
1484 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1485 `auto-revert-notify-enabled'.
1487 2013-01-10 Elias Pipping <pipping@exherbo.org>
1489 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1490 * doc-view.el (doc-view-document->bitmap):
1491 Use doc-view-single-page-converter-function instead of
1492 single-page-converter arg; adjust callers.
1494 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1496 * progmodes/which-func.el (which-function): Understand Semantic's use
1497 of overlays in imenu--index-alist.
1499 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1501 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1502 (Man-man-k-use-anchor): New var.
1503 (Man-parse-man-k): New function.
1504 (Man-completion-table): Use it.
1505 (man): Flush the completion cache between uses.
1507 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1509 * autorevert.el: Add file watch support.
1510 (auto-revert-notify-enabled): New defconst.
1511 (auto-revert-notify-watch-descriptor-hash-list)
1512 (auto-revert-notify-watch-descriptor)
1513 (auto-revert-notify-modified-p): New defvars.
1514 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1515 (auto-revert-notify-handler): New defuns.
1516 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1517 when mode is disabled.
1518 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1519 (auto-revert-buffers): Add file watches for active buffers.
1521 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1523 * cus-start.el (toplevel): Only allow float values for
1524 scroll-up-aggressively and scroll-down-aggressively.
1525 Allow any number for line-spacing.
1527 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1529 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1530 (doc-view-pdf->png-converter-function): Use mupdf if available.
1531 (doc-view-djvu->png-converter-function)
1532 (doc-view-ps->png-converter-function): Remove.
1533 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1534 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1535 (doc-view-already-converted-p): Adjust accordingly.
1536 (doc-view-mode-p): Simplify.
1537 (doc-view-enlarge): Use setq-local.
1538 (doc-view-pdf->png-converter-ghostscript)
1539 (doc-view-djvu->png-converter-ddjvu)
1540 (doc-view-pdf->png-converter-mupdf): Rework to call
1541 doc-view-start-process directly.
1542 (doc-view-pdf/ps->png): Simplify accordingly.
1543 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1544 (doc-view-document->bitmap): Rename from doc-view-document->png.
1545 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1546 (doc-view-set-slice-from-bounding-box): Fix completion table.
1547 (doc-view-mode): Use add-hook for after-revert-hook.
1549 2013-01-10 Glenn Morris <rgm@gnu.org>
1551 * emacs-lisp/authors.el (authors-ignored-files)
1552 (authors-valid-file-names, authors-renamed-files-alist):
1553 Add some more entries.
1555 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1557 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1558 `t' pseudo-window entry.
1560 2013-01-10 Alan Mackenzie <acm@muc.de>
1562 Fix bugs in the c-parse-state mechanism. Reuse some markers
1563 instead of continually generating new ones.
1565 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1566 (c-state-old-cpp-end-marker): New variables.
1567 (c-append-lower-brace-pair-to-state-cache): Start a backward
1568 search for "}" definitively outside CPP constructs.
1569 (c-remove-stale-state-cache): Inform the caller of a need to
1570 search back for a brace pair in certain circumstances.
1571 (c-state-maybe-marker): New macro.
1572 (c-parse-state): Reuse markers when appropriate.
1574 2013-01-10 Glenn Morris <rgm@gnu.org>
1576 * simple.el (execute-extended-command): Doc fix.
1577 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1579 2013-01-10 Chong Yidong <cyd@gnu.org>
1581 * faces.el (read-face-name): Doc fix.
1583 2013-01-10 Roland Winkler <winkler@gnu.org>
1585 * emacs-lisp/crm.el: Allow any regexp for separators.
1586 (crm-default-separator): All spaces around the default comma separator.
1587 (crm--completion-command): New macro.
1588 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1589 (crm-complete-and-exit): Handle non-single-char separators.
1591 2013-01-09 Elias Pipping <pipping@lavabit.com>
1593 * doc-view.el: Add support for DjVu (bug#13164).
1594 (doc-view-djvu->png-converter-function): New config var.
1595 (doc-view-single-page-converter-function, doc-view--image-type)
1596 (doc-view--image-file-extension): New vars.
1597 (doc-view-mode): Initialize them.
1598 (doc-view-goto-page): Use them.
1599 (doc-view-mode-p): Add support for ddjvu.
1600 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1601 (doc-view-set-up-single-converter): New funs.
1602 (doc-view-pdf/ps->png): Extend for djvu.
1603 (doc-view-document->png): Rename from doc-view-pdf->png.
1604 (doc-view-convert-current-doc): Handle djvu.
1605 (doc-view-insert-image, doc-view-display)
1606 (doc-view-already-converted-p): Don't hardcode png.
1607 (doc-view-set-doc-type): Recognize djvu docs.
1609 2013-01-09 Elias Pipping <pipping@lavabit.com>
1611 * doc-view.el: Add support for mupdf converter (bug#13164).
1612 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1613 (doc-view-ps->png-converter-function): New config vars.
1614 (doc-view-pdf->png-converter-ghostscript)
1615 (doc-view-ps->png-converter-ghostscript)
1616 (doc-view-pdf->png-converter-mupdf): New functions.
1617 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1619 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1621 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1622 first in session cache: When `tramp-own-remote-path' is in
1623 `tramp-remote-path', the remote path is only set in the session
1626 2013-01-09 Glenn Morris <rgm@gnu.org>
1628 * emacs-lisp/trace.el (trace-function-foreground)
1629 (trace-function-background): Doc fix.
1631 2013-01-09 Juri Linkov <juri@jurta.org>
1633 * international/mule-cmds.el (read-char-by-name): Move let-binding
1634 of completion-ignore-case around completing-read to fix regression
1635 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1636 `string-match-p' using the nil value of `case-fold-search' and
1637 `completion-ignore-case' in `completion-pcm--all-completions'.
1640 2013-01-09 Glenn Morris <rgm@gnu.org>
1642 * progmodes/compile.el (compilation-parse-errors):
1643 Fix typo. (Bug#13369)
1645 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1647 * comint.el (comint-send-input): Check size of buffer before
1648 waiting for process output, in case already accepted. (Bug#13290)
1650 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1653 * net/tramp-adb.el (tramp-adb-get-toolbox):
1654 Fix misspelling of 'unknown'.
1656 2013-01-08 Juri Linkov <juri@jurta.org>
1658 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1659 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1660 Use underline style wave on terminals that support it. (Bug#13000)
1662 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1664 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1665 the predicate returns nil.
1667 * simple.el: Use lexical-binding.
1668 (primitive-undo): Use pcase.
1669 (minibuffer-history-isearch-push-state): Use a closure.
1671 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1673 * simple.el (primitive-undo): Move from undo.c.
1675 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1677 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1678 (cvs-mode-remove-handled): Use it (bug#13380).
1680 * emacs-lisp/nadvice.el (advice--tweak): New function.
1681 (advice--remove-function, advice--subst-main): Use it.
1683 * emacs-lisp/advice.el: Update commentary.
1685 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1687 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1688 Remove spurious entry.
1690 2013-01-08 Glenn Morris <rgm@gnu.org>
1692 * net/tramp.el (tramp-default-host-alist): Add :version.
1694 2013-01-08 Juri Linkov <juri@jurta.org>
1696 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1697 single completion. (Bug#12456)
1698 (info--manual-names): Expand node completions into an explicit list
1699 before appending it to another list. Filter out internal buffers
1700 with the leading space in the buffer name. (Bug#10771)
1702 2013-01-08 Juri Linkov <juri@jurta.org>
1704 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1705 that defaults to the Top node.
1706 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1707 the short format (FILENAME) goes to the Top node.
1708 (Info-build-node-completions): Rename arg `file' to `filename'.
1711 2013-01-07 Bastien Guerry <bzg@gnu.org>
1713 * menu-bar.el (menu-bar-search-documentation-menu):
1714 Use `apropos-user-option' and fix the help message.
1716 2013-01-07 Bastien Guerry <bzg@gnu.org>
1718 * apropos.el (apropos-do-all): Update docstring.
1719 (apropos-user-option-button): New face.
1720 (apropos-user-option): Rename from `apropos-variable' and update
1722 (apropos-variable): Rewrite, now show all variables by default.
1723 (apropos-print): Mention "User option" instead of "Variable" when
1724 printing doc for user options. (Bug#13276)
1726 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1728 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1729 Handle filename correctly, when parsing "source -> target" symlink
1731 (tramp-adb-handle-set-file-times): New defun.
1733 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1736 advice list when the interactive-spec of ad-Advice-* changes.
1738 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1740 * wid-edit.el (widget-default-get): Work for inlined elements.
1743 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1745 * net/tramp.el (tramp-default-host-alist): New defcustom.
1746 (tramp-find-host): Use it.
1747 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1748 `eshell-directory-change-hook'.
1750 * net/tramp-adb.el (top): Add adb specific entry in
1751 `tramp-default-host-alist'.
1752 (tramp-adb-file-name-host): Remove function.
1753 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1754 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1756 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1758 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1760 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1762 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1764 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1765 consist of more than one digit.
1766 (tramp-adb-file-name-handler-alist):
1767 Use `tramp-handle-file-exists-p' consistently.
1768 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1769 (tramp-adb-handle-file-exists-p): Remove function.
1770 (tramp-adb-file-name-host): New defun.
1771 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1773 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1775 2013-01-06 Chong Yidong <cyd@gnu.org>
1777 * vc/vc.el (vc-next-action): Detect buffer modifications
1778 conflicting with locking VCS operation (Bug#11490).
1780 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1782 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1784 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1785 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1787 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1789 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1790 parsing of ls output using regular expression (handle filenames
1791 with spaces). Use virtual device number.
1792 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1795 2013-01-04 Daiki Ueno <ueno@gnu.org>
1797 * epg.el: Silence byte-compiler warnings.
1798 (epg--start): Use delete-char instead of delete-backward-char.
1799 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1801 2013-01-04 Daiki Ueno <ueno@gnu.org>
1803 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1804 Suggested by Eli Zaretskii <eliz@gnu.org>.
1806 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1808 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1809 non-negative integers. Otherwise, the default values are used.
1810 (tramp-convert-file-attributes): Convert uid and gid to integers.
1812 2013-01-04 Glenn Morris <rgm@gnu.org>
1814 * term.el (term-handle-colors-array): Ensure face attributes
1815 are fully specified, not nil. (Bug#13337)
1817 * term.el (term-default-fg-color, term-default-bg-color):
1820 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1821 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1822 rather than 'jka-compr being loaded. (Bug#13338)
1824 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1826 * icomplete.el (icomplete-completions):
1827 Honor icomplete-prospects-height once more following
1828 2012-11-29 changes. (Bug#13224)
1830 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1832 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1833 of called-interactively-p as well (bug#13237).
1835 * view.el (view--enable, view--disable): Rename from view-mode-enable
1836 and view-mode-disable and assume it's called from view-mode.
1837 (view-mode-enable, view-mode-disable): Redefine as obsolete
1838 compatibility layer above view-mode.
1839 (view-mode-enter): Call `view-mode'.
1841 * files.el (after-find-file): Call `view-mode'.
1843 * doc-view.el (doc-view-scale-internally): New var.
1844 (doc-view-enlarge, doc-view-insert-image): Obey it.
1846 2013-01-03 Daiki Ueno <ueno@gnu.org>
1848 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1851 2013-01-03 Glenn Morris <rgm@gnu.org>
1853 * mail/rmail.el (rmail-set-header-1): Ignore case.
1854 Handle multi-line headers. (Bug#13330)
1856 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1857 Handle paragraph starting at beginning of buffer.
1859 * subr.el (eval-after-load): Don't purecopy the form, so that it
1860 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1862 * emacs-lisp/byte-run.el (defun): Place cl declarations
1863 after any interactive spec. (Bug#13265)
1865 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1867 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1868 defun. Don't check for DECL if DOCSTRING isn't a string.
1871 2013-01-02 Glenn Morris <rgm@gnu.org>
1873 * eshell/em-cmpl.el (eshell-pcomplete):
1874 More thoroughly imitate pcomplete. (Bug#13293)
1876 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1877 Return nil for empty path elements. (Bug#13296)
1879 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1881 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1882 order to improve efficiency (Based on Daniel Colascione's
1883 <dancol@dancol.org> patch). (Bug#13182)
1885 2013-01-02 Glenn Morris <rgm@gnu.org>
1887 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1889 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1891 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1892 neither DOCSTRING nor DECL was given. (Bug#13316)
1894 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1896 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1898 (tramp-do-copy-or-rename-file): Ignore errors when calling
1899 `set-file-extended-attributes'.
1901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1902 Add handler for `file-acl'.
1903 (tramp-smb-handle-file-acl): New defun.
1905 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1907 * calc/README: Mention ISO 8601 week-numbering dates.
1909 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1911 * view.el (view-mode-enable): New argument run-view-mode-hook.
1912 Run view-mode-hook only when it's non-nil (Bug#13315).
1913 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1916 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1918 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1919 (No device connected, invalid device name). (Bug #13299)
1921 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1923 * window.el (window-resizable--p): Rename to window-resizable-p.
1924 (window-resize-no-error): New function.
1926 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1927 broken in fix from 2012-12-28.
1929 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * subr.el (special-form-p): Don't signal errors on undef aliases.
1933 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1935 * calc/calc-forms.el (math-parse-date): Try using
1936 `math-parse-iso-date' when it looks like it might be needed.
1937 Allow times of 24:00.
1938 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1941 2012-12-30 Glenn Morris <rgm@gnu.org>
1943 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1944 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1945 (rmail-summary-displayed, rmail-summary): Declare.
1946 (mairix-rmail-display): Just require rmail.
1948 2012-12-30 Chong Yidong <cyd@gnu.org>
1950 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1951 check for the tarball contents.
1953 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1955 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1956 tarfile content listings (Bug#13136).
1958 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1960 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1961 Insert the undecoded text of the message being forwarded. (Bug#9521)
1963 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1965 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1966 integers, if they are real numbers. (Bug#13282)
1968 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1969 Return `t' on success.
1971 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1972 Add handler for `set-file-selinux-context'.
1974 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1976 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1977 (tramp-sh-handle-set-file-acl): Return `t' on success.
1979 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1981 * files.el (backup-buffer-copy, basic-save-buffer-2):
1982 If set-file-extended-attributes fails, fall back on set-file-modes
1983 instead of signaling an error. (Bug#13298)
1984 (basic-save-buffer): Likewise.
1986 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1988 * progmodes/python.el: Support other commands triggering
1989 python-indent-line so indentation cycling continues to work.
1990 (python-indent-trigger-commands): New defcustom.
1991 (python-indent-line): Use it.
1993 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1995 * progmodes/python.el (python-shell-send-region): Add blank lines
1996 for non sent code so backtraces remain correct.
1998 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2000 * progmodes/python.el: Remove cl dependency.
2001 (python-syntax-count-quotes): Replace incf call.
2002 (python-fill-string): Replace setf call.
2004 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2006 * info.el (info-other-window): New arg, for consistency with info.
2008 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2010 * mail/rmail.el (rmail-maybe-display-summary):
2011 Rewrite (Bug#13066).
2013 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2015 * epg.el (epg--start): Modify process-environment locally.
2017 2012-12-28 Daiki Ueno <ueno@gnu.org>
2019 * epg.el: Support pinentry-curses.
2020 Suggested by Werner Koch in
2021 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2022 (epg-agent-file, epg-agent-mtime): New variable.
2023 (epg--start): Record the modified time of gpg-agent socket file,
2024 to restore Emacs frame after pinentry-curses termination.
2025 (epg-wait-for-completion): Restore Emacs frame here.
2027 2012-12-27 Juri Linkov <juri@jurta.org>
2029 * info.el (Info-file-completions): New variable.
2030 (Info-read-node-name-1): Complete node names in the Info file
2031 when a file name is given. Call `Info-build-node-completions'
2033 (Info-build-node-completions): Add new arg `file'. When it is
2034 non-nil, visit it in a temporary buffer and cache its completions in
2035 `Info-current-file-completions'. Move most of the function body to
2036 `Info-build-node-completions-1'.
2037 (Info-build-node-completions-1): New function with the body from
2038 `Info-build-node-completions'. (Bug#12456)
2040 2012-12-27 Juri Linkov <juri@jurta.org>
2042 * frame.el (frame-maximization-style): Remove user option.
2043 (cycle-frame-maximized): Remove function.
2044 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2045 (toggle-frame-fullscreen): New command bound to <f11> instead of
2046 `toggle-frame-maximized'.
2047 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2049 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2051 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2054 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2055 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2056 for `file-accessible-directory-p'. (Bug#13275)
2058 2012-12-27 Sam Steingold <sds@gnu.org>
2060 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2061 continuations, see <http://stackoverflow.com/questions/3582436>.
2063 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2065 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2066 "module" and "def" to have indentation before them.
2067 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2069 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2071 2012-12-27 Alan Mackenzie <acm@muc.de>
2073 Speed up fontification where there's large brace blocks.
2074 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2075 to a call of c-beginning-of-decl-1.
2077 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2079 * comint.el (comint-adjust-window-point): New function.
2080 (comint-postoutput-scroll-to-bottom):
2081 Call comint-adjust-window-point (Bug#13248).
2083 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2085 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2087 (auto-mode-alist): Associate .gemspec files with ruby-mode
2088 (https://bugs.ruby-lang.org/issues/5453).
2090 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2092 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2093 Suppress coloring, if possible (required for BusyBox based systems like
2095 (tramp-adb-handle-file-attributes)
2096 (tramp-adb-handle-insert-directory)
2097 (tramp-adb-handle-file-name-all-completions): Use it.
2098 (tramp-adb-get-toolbox): New defun. Check for remote shell
2099 implementation (BusyBox or Toolbox).
2101 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2103 * startup.el (initial-buffer-choice): Allow function as value
2105 (command-line-1): Handle case where initial-buffer-choice
2106 specifies a function.
2107 * server.el (server-execute): Handle case where
2108 initial-buffer-choice specifies a function.
2110 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2112 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2114 (smtpmail-try-auth-methods): Forget the user name/password if the
2115 login is unsuccessful (bug#12424).
2117 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2119 * notifications.el (notifications-notify): Protect body with
2120 `with-demoted-errors'.
2122 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2123 Check properties of remote device. Restart connection, if there is a
2126 2012-12-21 Chong Yidong <cyd@gnu.org>
2128 * sort.el (sort-subr): Doc fix (Bug#13056).
2130 2012-12-21 Bastien Guerry <bzg@gnu.org>
2132 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2134 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2136 * simple.el (process-file): Overwrite stderr file, if exists.
2138 2012-12-21 Daiki Ueno <ueno@gnu.org>
2140 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2141 (epg-error): Set `error-message' property.
2143 2012-12-21 Chong Yidong <cyd@gnu.org>
2145 * international/mule-cmds.el (read-char-by-name): Signal an error
2146 if the user does not supply a valid character (Bug#13177).
2148 * simple.el (transpose-subr-1): Preserve marker positions by
2149 changing the insertion sequence (Bug#13122).
2151 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2153 * simple.el (kill-region): Deactivate mark even for empty regions
2156 2012-12-21 Chong Yidong <cyd@gnu.org>
2158 * help-fns.el (describe-variable): Make sure we get the right
2159 buffer name (Bug#13105). Suggested by Kelly Dean.
2161 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2163 * comint.el (comint-redirect-previous-input-string): New variable.
2164 (comint-redirect-setup, comint-redirect-cleanup)
2165 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2166 (comint-redirect-preoutput-filter): Fix verbose message.
2168 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2170 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2171 is too long for Tramp. See discussion in
2172 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2174 * progmodes/compile.el (compilation-start): Remove line escape
2177 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2179 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2182 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2184 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2185 following non-comment text (bug#13207).
2186 (lm-header-multiline): Continuation lines need to be indented more than
2188 (lm-homepage): New function.
2189 (lm-with-file): Don't be confused if narrowing is in effect.
2191 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2193 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2194 very beginning of a hunk (e.g. killing the first line).
2196 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2198 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2199 and text properties from returned ACL string.
2200 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2201 for "setfacl" command.
2203 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2205 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2206 `tramp-cleanup-this-connection', when the process has died.
2209 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2211 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2213 2012-12-17 Kevin Ryde <user42@zip.com.au>
2215 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2217 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2219 Add support for preserving ACL entries of files.
2221 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2222 `set-file-acl' handlers.
2224 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2225 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2227 * net/tramp-compat.el (tramp-compat-copy-file):
2228 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2230 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2231 Add `file-acl' and `set-file-acl' handlers.
2232 (tramp-gvfs-handle-copy-file):
2233 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2234 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2237 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2238 Add `file-acl' and `set-file-acl' handlers.
2239 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2240 (tramp-sh-handle-set-file-acl): New defuns.
2241 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2242 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2244 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2245 Add `file-acl' and `set-file-acl' handlers.
2246 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2248 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2250 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2251 use pop-to-buffer with NORECORD argument t. As buffer name, use
2252 *Metahelp* with a leading space (Bug#13190).
2254 2012-12-16 Romain Francoise <romain@orebokech.com>
2256 * files.el (file-extended-attributes)
2257 (set-file-extended-attributes): New functions.
2258 (backup-buffer): Use them to handle both SELinux context and ACL
2260 (backup-buffer-copy): Work with an alist of extended attributes,
2261 rather than an SELinux context.
2262 (basic-save-buffer-2): Ditto.
2264 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2266 * battery.el (battery-bsd-apm): New function.
2268 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2270 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2271 standard date formats.
2273 2012-12-15 Juri Linkov <juri@jurta.org>
2275 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2276 `isearch-insert-char-by-name'.
2277 (with-isearch-suspended): New defmacro with body mostly from
2278 `isearch-edit-string' except the part that sets
2279 `isearch-new-string' and `isearch-new-message'.
2280 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2281 body that sets `isearch-new-string' and `isearch-new-message'.
2282 (isearch-insert-char-by-name): New command.
2283 * international/mule-cmds.el (read-char-by-name): Let-bind
2284 `enable-recursive-minibuffers' to t.
2285 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2287 2012-12-15 Juri Linkov <juri@jurta.org>
2289 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2292 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2294 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2295 the prompt. (Bug#13045)
2297 2012-12-14 Glenn Morris <rgm@gnu.org>
2299 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2300 Try to include filename in non-bytecomp warning. (Bug#13132)
2302 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2304 Fix permissions bugs with setgid directories etc. (Bug#13125)
2305 * files.el (backup-buffer): Don't rely on 9th output of
2306 file-attributes, as it's now a placeholder. Instead, use the new
2307 optional arg of file-ownership-preserved-p.
2308 (file-ownership-preserved-p): New optional arg GROUP.
2309 Fix mishandling of setuid directories that would cause this
2310 function to return t when it should have returned nil.
2311 Document what happens if the file does not exist, and when
2312 it's not known whether the ownership will be preserved.
2313 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2315 (tramp-get-local-gid): Use group-gid for integer, as that's
2316 faster and more reliable.
2318 2012-12-14 Julien Danjou <julien@danjou.info>
2320 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2321 Update keywords list, data type and PL/pgSQL.
2323 2012-12-14 Dave Abrahams <dave@boostpro.com>
2325 * vc/ediff-util.el (ediff-buffer-type): New function.
2326 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2327 rather than taking it as as argument.
2328 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2330 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2332 * json.el: Add pretty-print option (bug#12634).
2333 (json-encoding-separator, json-encoding-default-indentation)
2334 (json--encoding-current-indentation, json-encoding-pretty-print)
2335 (json-encoding-lisp-style-closings): New vars.
2336 (json--with-indentation): New macro.
2337 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2338 (json-encode-array): Use it to obey json-encoding-pretty-print.
2339 (json-pretty-print-buffer, json-pretty-print): New commands.
2341 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2343 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2344 Extract `ruby-syntax-propertize-expansions'.
2345 (ruby-syntax-propertize-expansions): Only change syntax on
2346 certain string delimiters, to punctuation. This way the common
2347 functions like forward-word and thing-at-point still work.
2348 (ruby-match-expression-expansion): Improve readability.
2349 (ruby-block-contains-point): New function.
2350 (ruby-add-log-current-method): Handle several edge cases.
2352 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2354 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2355 unload-feature finishes even when aborting an ongoing edebug session.
2356 Also, do not worry about edebug-mode, unload-feature takes care of it.
2358 2012-12-13 Andreas Schwab <schwab@suse.de>
2360 * net/tls.el (tls-program): Update customize type.
2362 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2364 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2365 (edebug-setup-hook, cl-read-load-hooks): Use it.
2366 (edebug-unload-function): New function. (Bug#13163)
2368 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2370 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2371 Otherwise, there could be errors in autoloading. (Bug#13151)
2373 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2375 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2378 2012-12-13 Alan Mackenzie <acm@muc.de>
2380 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2381 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2382 around `forward-comment' not recognizing ^M as whitespace.
2384 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2386 * progmodes/python.el (python-skeleton-class)
2387 (python-skeleton-def): Do not add space after defun name.
2389 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2392 (cl--symbol-function): Remove (now that funbound is like nil).
2394 2012-12-12 Glenn Morris <rgm@gnu.org>
2396 * button.el (button--area-button-p): Fix typo.
2398 2012-12-12 Sam Steingold <sds@gnu.org>
2400 * frame.el (frame-maximization-style): New user option.
2401 (toggle-frame-maximized): Toggle frame maximization according to
2402 `frame-maximization-style', bound to <f11>.
2403 (cycle-frame-maximized): Cycle between all maximization styles and
2404 non-maximized frame, bound to shift-<f11>.
2406 2012-12-12 David Cadé <codename68@gmail.com>
2408 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2410 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2412 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2413 (eieio-override-prin1): Don't quote kewords and booleans.
2414 (object-write) <eieio-default-superclass>: Don't put closing parens
2415 on new line, avoid needless empty lines, align values that are objects
2416 with the slot keyword (instead of beginning on the same line).
2417 (eieio-list-prin1): Align value with slot keyword; increase
2418 eieio-print-depth before printing members of the list.
2420 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2423 a display text-property.
2424 (report-emacs-bug-hook): Don't bother deleting it any more.
2426 * hilit-chg.el (highlight-save-buffer-state): Delete.
2427 Use with-silent-modifications instead.
2428 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2430 * button.el: Handle buttons in display text-properties.
2431 (button--area-button-p, button--area-button-string):
2432 Use (STRING . STRING-POS) representation instead of just STRING.
2434 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2436 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2437 subdirectory be skipped.
2439 2012-12-11 Glenn Morris <rgm@gnu.org>
2441 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2443 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2444 Treat preprocessor lines embedded in continuations like comments.
2445 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2447 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2449 * calc/calc.el (calc-standard-date-formats): Add more date
2451 * calc/calc-forms.el (math-parse-iso-date): New function.
2452 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2453 (math-parse-iso-date-validate): Add extra error checking.
2454 (calc-date-notation): Add ability to access new date formats.
2456 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2459 font-lock as well as when there's no text-property.
2461 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2463 * hi-lock.el: Refine the choice of default face.
2464 (hi-lock-keyword->face): New function. Use it wherever we used
2466 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2467 (hi-lock--last-face): Remove var.
2468 (hi-lock--unused-faces): New var to replace it.
2469 (hi-lock-read-face-name): Use/maintain it.
2470 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2471 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2472 if it has another face.
2474 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2476 * subr.el (w32notify-handle-event): New function.
2477 (inotify-handle-event): Doc fix.
2479 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2481 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2483 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2485 * simple.el (just-one-space): Doc fix.
2487 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2489 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2491 2012-12-10 Le Wang <l26wang@gmail.com>
2493 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2494 narrowed buffer (bug#12361).
2496 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2498 * vc/vc-hooks.el (vc-state): Doc fix.
2500 2012-12-10 Glenn Morris <rgm@gnu.org>
2502 * mail/rmail.el (rmail-maybe-display-summary):
2503 Preserve buffer, in case select-window changes it. (Bug#13066)
2505 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2507 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2508 cl-load-hook where they belong.
2510 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2514 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2516 Parallelize byte compilation on MS-Windows.
2517 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2518 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2519 (WINS_BASIC): Define as concatenation of the above.
2520 (compile): Subdivide into 4 separate and independent jobs that can
2522 (compile0-CMD, compile0-SH): New targets for compiling
2523 COMPILE_FIRST files, which are prerequisites for the rest of the
2525 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2526 New targets for parallel compilation with cmd.exe.
2527 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2528 compiling under a Unixy shell.
2530 2012-12-09 Chong Yidong <cyd@gnu.org>
2532 * simple.el (set-mark-default-inactive): Delete this
2533 accidentally-introduced option.
2534 (set-mark-command, exchange-point-and-mark): Remove calls.
2536 2012-12-09 Glenn Morris <rgm@gnu.org>
2538 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2539 Respect a defcustom's :set function, if appropriate. (Bug#109)
2540 (eval-defun): Doc fix.
2542 2012-12-08 Juri Linkov <juri@jurta.org>
2544 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2545 (Info-fontify-node, Info-bookmark-make-record): Remove the
2546 file extension from Info-current-file (Bug#13016).
2548 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2551 point, still provide some default.
2552 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2553 names, since we don't use it right now. Actually return the list.
2554 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2556 2012-12-07 Chong Yidong <cyd@gnu.org>
2558 * novice.el (disabled-command-function): Remove a spurious help
2559 xref (Bug#13043). Suggested by Kelly Dean.
2561 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2562 syntax is specified (Bug#13025).
2564 * info.el (Info-set-mode-line): Remove the file extension from
2565 Info-current-file if there is one (Bug#13016).
2567 2012-12-07 Glenn Morris <rgm@gnu.org>
2569 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2570 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2571 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2572 and rmail-mime-decoded. (Bug#9841)
2574 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2575 (batch-unrmail, unrmail): Doc fixes.
2576 (unrmail): Respect unrmail-mbox-format.
2577 * mail/rmail.el (rmail-mbox-format): New option.
2578 (rmail-show-message-1): Respect rmail-mbox-format.
2580 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2584 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2586 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2587 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2588 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2589 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2590 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2591 (cl-progv): Don't rely on dynamic scoping to find the body.
2592 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2593 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2594 (cl-declaim): Use backquotes.
2595 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2596 Use "cl--" prefix for the object's tag.
2598 * ses.el: Use advice-add/remove.
2599 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2600 (copy-region-as-kill, yank): Use advice-add.
2601 (ses-unload-function): Use advice-remove.
2603 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2605 * button.el: Make them work in header-lines (bug#12817).
2606 (button-map): Add bindings for header-line and mode-line use.
2607 (button-get, button-put, button-label): `button' may now be a string.
2608 (button-activate): Don't make it a defsubst.
2609 (button--area-button-p, button--area-button-string): New functions.
2610 (make-text-button): Fix the return value when `beg' was a string.
2611 (push-button): Handle the mode-line case.
2613 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2615 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2616 (sql-signum): Remove. Use `cl-signum' instead.
2617 (sql-read-passwd): Remove; use read-passwd instread.
2618 (sql-get-login-ext): Use read-string.
2619 (sql-get-login): Use dolist and pcase.
2620 (sql--completion-table): Rename from sql-try-completion.
2621 Use complete-with-action.
2622 (sql-mode): Don't change abbrev-all-caps globally.
2623 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2624 (sql-postgres-completion-object): Initialize vars in their `let'.
2625 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2626 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2627 (sql-comint-interbase): Use a single append, without setq.
2628 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2630 * hi-lock.el: Rework the default face and the serialize regexp code.
2631 (hi-lock--auto-select-face-defaults): Remove.
2632 (hi-lock-string-serialize-serial): Remove.
2633 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2635 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2637 (hi-lock-set-pattern): Adjust accordingly.
2638 (hi-lock--regexps-at-point): Simplify accordingly.
2639 (hi-lock--auto-select-face-defaults): Remove.
2640 (hi-lock--last-face): New var to replace it.
2641 (hi-lock-read-face-name): Rewrite (bug#11095).
2642 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2644 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2646 * net/tramp.el (tramp-replace-environment-variables):
2647 Hide compiler warning.
2648 (tramp-file-name-for-operation): Remove `executable-find',
2649 `start-process', `call-process' and `call-process-region'.
2651 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2653 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2656 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2658 2012-12-06 Chong Yidong <cyd@gnu.org>
2660 * ffap.el (ffap-replace-file-component): Fix typo.
2662 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2665 fix open-paren-like token test (bug#12785).
2667 2012-12-06 Glenn Morris <rgm@gnu.org>
2669 * mail/rmailsum.el (rmail-new-summary): Tweak for
2670 rmail-maybe-display-summary changing buffer. (Bug#13066)
2672 2012-12-06 Juri Linkov <juri@jurta.org>
2674 * info.el (Info-fontify-node): Don't hide the last newline.
2677 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2679 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2680 so as to enable message-read-from-minibuffer to expand mail aliases.
2682 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2685 the `intangible' property.
2686 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2688 2012-12-05 Deniz Dogan <deniz@dogan.se>
2690 * net/rcirc.el (rcirc-urls): Update documentation.
2691 (rcirc-condition-filter): New function.
2692 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2693 and exclude consecutive duplicate URLs (Bug#6082).
2695 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2698 Check return code of copy command.
2700 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2701 Use group `tramp'. Add version.
2703 2012-12-05 Chong Yidong <cyd@gnu.org>
2705 * ffap.el (ffap-url-regexp): Don't require matching at front of
2707 (ffap-url-p): If only a substring matches, return that.
2708 (ffap-url-at-point): Use the return value of ffap-url-p.
2709 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2710 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2711 (ffap-guess-file-name-at-point): Likewise.
2712 (ffap-replace-file-component): Fix typo.
2714 * info.el (info-display-manual): Add existing Info buffers, whose
2715 files may not be in Info-directory-list, to the completion.
2716 (info--manual-names): New helper function.
2718 2012-12-05 Glenn Morris <rgm@gnu.org>
2720 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2721 New functions, for detecting and resolving conflicts. (Bug#10709)
2723 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2725 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2726 (hi-lock-auto-select-face-defaults): New buffer local variable.
2727 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2728 (hi-lock-unface-buffer): Prompt user with useful defaults.
2729 With prefix arg, unhighlight all hi-lock patterns in buffer.
2731 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2733 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2735 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2737 * Makefile.in (TRAMP_SRC):
2738 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2740 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2742 * net/tramp-adb.el: New package.
2744 2012-12-04 Chong Yidong <cyd@gnu.org>
2746 * terminal.el: Move to obsolete/.
2748 * longlines.el: Move to obsolete/.
2750 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2751 Remove code referring to longlines mode.
2753 2012-12-03 Juri Linkov <juri@jurta.org>
2755 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2757 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2759 * textmodes/ispell.el (ispell-init-process)
2760 (ispell-start-process, ispell-internal-change-dictionary):
2761 Make sure personal dictionary name is expanded after initial
2762 `default-directory' value. Use expanded strings for
2763 keep/restart checks and for value (Bug#13019).
2765 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2767 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2769 2012-12-03 Leo Liu <sdl.web@gmail.com>
2771 * files.el (dir-locals-read-from-file): Check file non-empty
2772 before reading. (Bug#13038)
2774 2012-12-03 Glenn Morris <rgm@gnu.org>
2776 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2777 Remove any version extension before checking filename. (Bug#13006)
2778 (jka-compr-compression-info-list): Belated :version bump.
2780 2012-12-03 Chong Yidong <cyd@gnu.org>
2782 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2784 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2785 (buffer-menu): Doc fix (Bug#12294).
2787 2012-12-03 Roland Winkler <winkler@gnu.org>
2789 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2790 of diary-show-all-entries in the diary buffer (Bug#12994).
2792 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2794 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2795 "<STDIN>". This is binary safe.
2797 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2799 * calc/calc-forms.el (math-absolute-from-iso-dt)
2800 (math-date-to-iso-dt, math-parse-iso-date-validate)
2801 (math-iso-dt-to-date): New functions.
2802 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2803 (math-fd-isoweekday): New variables.
2804 (calc-date-notation, math-parse-standard-date, math-format-date)
2805 (math-format-date-part): Add support for more formatting codes.
2807 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2809 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2810 current buffer's file name when called interactively (Bug#12488).
2812 2012-12-02 Juri Linkov <juri@jurta.org>
2814 * info.el (info-display-manual): Don't clobber an existing Info
2815 buffer (Bug#10770). Add completion (Bug#10771).
2817 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2819 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2820 before using it for comparison (Bug#5297).
2822 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2824 * textmodes/css-mode.el (css-current-defun-name): New function.
2827 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2828 (html-mode): Use it.
2830 2012-12-01 Chong Yidong <cyd@gnu.org>
2832 Modularize add-log-current-defun (Bug#2224).
2833 Suggested by Jari Aalto.
2835 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2836 (add-log-current-defun): Move mode-specific code to other files.
2837 (add-log-lisp-like-modes, add-log-c-like-modes)
2838 (add-log-tex-like-modes): Variables deleted.
2840 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2841 (lisp-mode-variables): Use it.
2843 * progmodes/cc-mode.el (c-common-init):
2844 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2845 add-log-current-defun-function.
2847 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2850 * progmodes/perl-mode.el (perl-current-defun-name): New.
2851 (perl-mode): Use it.
2853 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2854 Use lisp-current-defun-name.
2856 * textmodes/tex-mode.el (tex-current-defun-name): New.
2857 (tex-common-initialization): Use it.
2859 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2860 (texinfo-mode): Use it.
2862 2012-12-01 Chong Yidong <cyd@gnu.org>
2864 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2865 * progmodes/autoconf.el (autoconf-mode):
2866 * progmodes/js.el (js-mode):
2867 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2868 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2869 * progmodes/perl-mode.el (perl-mode):
2870 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2871 * textmodes/css-mode.el (css-mode):
2872 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2873 (sgml-tags-invisible, sgml-guess-indent):
2874 * textmodes/tex-mode.el (tex-common-initialization)
2875 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2876 (doctex-mode, plain-tex-mode, latex-mode):
2877 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2879 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2881 * vc/vc-hg.el (vc-hg-next-revision):
2882 Ensure use of default "tip" output format. (Bug#6968)
2884 2012-12-01 Kim F. Storm <storm@cua.dk>
2886 * startup.el (fancy-startup-tail): Add a clickable link
2889 2012-12-01 Chong Yidong <cyd@gnu.org>
2891 * startup.el (fancy-startup-tail): Improve the message about
2892 auto-save files (Bug#2176).
2894 * files.el (recover-session): Improve the descriptive message, and
2895 use substitute-command-keys.
2897 2012-12-01 Glenn Morris <rgm@gnu.org>
2899 * ido.el (ido-file-internal):
2900 Handle other-window, other-frame for dired. (Bug#13036)
2902 2012-11-30 Glenn Morris <rgm@gnu.org>
2904 * icomplete.el (icomplete-separator): Fix :version.
2906 2012-11-30 Chong Yidong <cyd@gnu.org>
2908 * shell.el (shell): For C-u M-x shell, use an inactive shell
2909 buffer as the default (Bug#1975).
2910 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2911 (shell-mode): Use them to reapply ansi colorization if Shell mode
2914 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2916 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2918 2012-11-30 Samuel Bronson <naesten@gmail.com>
2920 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2921 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2923 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2925 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2926 by move-to-column (Bug#3234).
2928 2012-11-30 Chong Yidong <cyd@gnu.org>
2930 * longlines.el (longlines-wrap-line, longlines-encode-region):
2931 Preserve text properties (Bug#1425).
2933 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2935 * vc/vc.el (vc-register): Allow registering a file which is
2936 already registered with a different backend (Bug#10589).
2938 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2939 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * icomplete.el: Change separator; add ido-style commands.
2942 (icomplete-show-key-bindings): Remove custom var.
2943 (icomplete-get-keys): Remove function.
2944 (icomplete-forward-completions, icomplete-backward-completions):
2946 (icomplete-minibuffer-map): New var.
2947 (icomplete-minibuffer-setup): Use it.
2948 (icomplete-exhibit): Don't delay if the list of completions is known.
2949 (icomplete-separator): New custom.
2950 (icomplete-completions): Use it.
2951 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2952 (minibuffer-force-complete-and-exit): New command.
2953 (minibuffer--complete-and-exit): New function extracted from
2954 minibuffer-complete-and-exit.
2955 (minibuffer-complete-and-exit): Use it.
2957 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2958 error message when the file doesn't exist (bug#12974).
2960 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2962 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2964 2012-11-29 Glenn Morris <rgm@gnu.org>
2966 * files.el (hack-dir-local-variables): Warn if try to set
2967 coding via dir-locals, since it doesn't work. (Bug#7169)
2969 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2970 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2971 Set buffer-local value of desktop-save-buffer.
2972 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2974 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2975 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2977 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2978 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2980 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2983 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2985 * calc/calc-forms.el (calc-date-notation): Fix regexp
2986 used to find time codes. Fix symbol for seconds.
2988 2012-11-27 Glenn Morris <rgm@gnu.org>
2990 * emacs-lisp/derived.el (derived-mode-make-docstring):
2991 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2993 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2995 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2996 lexically scoped variables (bug#13005).
2998 2012-11-27 Glenn Morris <rgm@gnu.org>
3000 * vc/vc-hooks.el (vc-mistrust-permissions):
3001 Default to t, to avoid data-loss. (Bug#11490)
3003 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3005 * progmodes/python.el (python-indent-guess-indent-offset):
3006 If indentation is guessed make python-indent-offset buffer-local.
3008 Fix Imenu regression.
3009 * progmodes/python.el (python-nav-beginning-of-defun):
3010 Fix forward movement when statement(s) separates point from defun.
3011 (python-imenu-prev-index-position): New function.
3013 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3015 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3017 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3018 Don't set buffer-file-type. Return nil. (Bug#12989)
3020 2012-11-27 Glenn Morris <rgm@gnu.org>
3022 * hippie-exp.el (hippie-expand-try-functions-list):
3023 Re-autoload it. (Bug#12982)
3025 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3027 * descr-text.el (describe-char-padded-string):
3028 Call internal-char-font only on GUI frames. (Bug#11964)
3030 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3032 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3033 and obsoletion message.
3035 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3037 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3038 the constructs to keep outside of the `cl-block' (bug#12977).
3040 2012-11-27 Chong Yidong <cyd@gnu.org>
3042 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3043 keep reading until we get the up-event anyway, in order to process
3044 the up-event for mouse-1-click-follows-link (Bug#12971).
3046 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3048 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3049 base function is not yet defined (bug#12965).
3050 (ad-activate-advised-definition): Use ad-compile-function.
3051 (ad-activate): Use cond.
3053 2012-11-25 Leo Liu <sdl.web@gmail.com>
3055 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3058 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3060 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3061 reftex-section-info-function in order to be compatible with
3062 Texinfo integration.
3064 * textmodes/reftex.el (reftex-section-pre-regexp)
3065 (reftex-section-post-regexp, reftex-section-info-function):
3067 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3068 reftex-section-post-regexp, and reftex-section-info-function in order
3069 to be compatible with Texinfo integration.
3071 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3072 use reftex-section-pre-regexp variable in order to be compatible with
3073 Texinfo integration.
3075 2012-11-25 Chong Yidong <cyd@gnu.org>
3077 * faces.el: Make face-spec-set more analogous to setq.
3078 (face-spec-set): Change the third arg to specify whether this
3079 function is being called via defface, customize, or a third party.
3080 Set the appropriate symbol properties. Clear the override spec if
3081 setting via Custom. Initialize face if necessary. (Bug#4988)
3082 (face-spec-recalc): Allow theme faces to completely replace the
3083 defface spec, in the same way as custom faces (Bug#8454).
3085 * cus-face.el (custom-declare-face): Move face initialization to
3087 (custom-theme-set-faces): Don't initialize the face name here, as
3088 that is now done in face-spec-set.
3090 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3091 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3092 Simplify by using the new arg to face-spec-set.
3094 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3095 reset face-override-spec too, and use custom-declare-face.
3097 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3099 * term/ns-win.el (ns-initialize-window-system): Move creation of
3100 fontsets here (Bug#11964).
3102 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3104 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3107 2012-11-24 Chong Yidong <cyd@gnu.org>
3109 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3112 * custom.el (custom-theme-set-variables): Use a topological sort
3113 for ordering by custom dependencies (Bug#12952).
3114 (custom--sort-vars, custom--sort-vars-1): New functions.
3116 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3119 lexical-binding (bug#12938).
3121 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3123 * image-mode.el (image-transform-check-size): Use assertions only
3124 for images of type imagemagick.
3126 Otherwise no error, image-transform-fit-to-{width,height} is
3127 silently ignored, as before. Doc fix.
3129 2012-11-24 Chong Yidong <cyd@gnu.org>
3131 * faces.el (color-defined-p): Doc fix (Bug#12853).
3133 2012-11-24 Juri Linkov <juri@jurta.org>
3135 * dired.el (dired-mark): Add optional arg `interactive'.
3136 Check for `use-region-p' if `interactive' is non-nil.
3137 (dired-unmark, dired-flag-file-deletion): Add optional arg
3138 `interactive'. Call `dired-mark' with the arg `interactive'.
3141 * wdired.el: Revert 2012-10-17 change partly and replace it with
3142 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3143 (wdired-finish-edit): Add marks for new file names to
3144 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3145 after `revert-buffer'.
3146 (wdired-do-renames): Remove calls to `dired-remove-file',
3147 `dired-add-file', `dired-add-entry'. (Bug#11795)
3149 2012-11-24 Alan Mackenzie <acm@muc.de>
3151 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3153 Fix bugs in the state cache. Enhance a debugging mechanism.
3154 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3155 "brace at column zero" strategy for C++.
3156 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3157 (c-parse-state-point): New variable.
3158 (c-record-parse-state-state): Record old parse state with
3159 `copy-tree'. Record previous value of point.
3160 (c-debug-parse-state-double-cons): New debugging function.
3161 (c-debug-parse-state): Call the above new function.
3162 (c-toggle-parse-state-debug): Output a confirmatory message.
3164 * progmodes/cc-mode.el (c-before-change, c-after-change):
3165 Call c-invalidate-state-cache from `c-before-change' instead of
3168 2012-11-23 Chong Yidong <cyd@gnu.org>
3170 * find-cmd.el (find-constituents): Add executable, ipath,
3171 readable, samefile, writable, daystart, regextype (Bug#12856).
3173 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3175 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3177 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3179 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3180 definition. This fixes a bootstrap failure.
3181 (calc-gregorian-switch): In menu, put dates before regions.
3182 This is easier to follow, lines up better in the menu, and lets us
3183 coalesce regions that switch at the same time. Give country
3184 names, not "Vatican", as that's better for non-expert users.
3185 Use names that are stable between the date of switch and now, e.g.,
3186 Bohemia and Moravia (which existed then and now) and not
3187 Czechoslovakia (which didn't exist then and doesn't exist now).
3188 What is now the U.S. mostly did not switch at the same time as
3189 Britain, so omit the U.S. Correct spelling of "Britain".
3190 Catholic Switzerland was too much of a mess, so omit it.
3192 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3194 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3195 after the variable is changed.
3197 2012-11-21 Daniel Colascione <dancol@dancol.org>
3199 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3200 in SQL declarations for font-lock.
3201 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3203 2012-11-21 Glenn Morris <rgm@gnu.org>
3205 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3206 (face-italic-p): Add optional argument "inherit".
3208 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3209 Remove -p suffix from names, for consistency with other set-face-*.
3210 (set-face-inverse-video): Fix interactive spec.
3211 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3212 * textmodes/table.el (table--update-cell-face):
3213 Use set-face-inverse-video rather than now obsolete alias.
3215 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3217 * simple.el (line-move): Don't call line-move-partial if
3218 scroll-conservatively is in effect. (Bug#12927)
3220 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3223 Fallback on completion-at-point rather than
3224 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3225 (eshell-cmpl-initialize): Setup completion-at-point.
3227 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3229 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3231 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3233 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3234 are remote, check out-of-band property for both.
3236 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3238 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3241 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3243 More minor time fixes.
3244 * calendar/time-date.el: Commentary fix.
3245 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3246 too much other code depends on (0 0) time stamps.
3247 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3248 Add a couple of FIXME comments.
3250 Minor cleanup for times as lists of four integers.
3251 * files.el (dir-locals-directory-cache):
3252 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3254 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3255 * ps-bdf.el (bdf-file-newer-than-time):
3256 Process four-integers time stamps, not two. Doc fixes.
3258 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * uniquify.el (uniquify-managed): Use defvar-local.
3261 (rename-buffer, create-file-buffer): Advise with advice-add.
3262 (uniquify-unload-function): Unadvise accordingly.
3264 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3265 (trace-buffer): Don't purecopy.
3266 (trace-entry-message, trace-exit-message): Add `context' arg.
3267 (trace--timer): New var.
3268 (trace-make-advice): Adjust for use in nadvice.
3269 Add `context' argument. Delay `display-buffer' via a timer.
3270 (trace-function-internal): Use advice-add.
3271 (trace--read-args): New function.
3272 (trace-function-foreground, trace-function-background): Use it.
3273 (trace-function): Rename to trace-function-foreground and redefine as
3274 an alias to that new name.
3275 (untrace-function, untrace-all): Adjust to the use of nadvice.
3277 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3279 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3281 * subr.el (called-interactively-p-functions): New var.
3282 (internal--called-interactively-p--get-frame): New macro.
3283 (called-interactively-p, interactive-p): Rewrite in Lisp.
3284 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3285 (called-interactively-p-functions): Use it.
3286 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3287 (called-interactively-p-functions): Use it.
3288 * allout.el (allout-called-interactively-p): Don't assume
3289 called-interactively-p is a subr.
3291 2012-11-20 Glenn Morris <rgm@gnu.org>
3293 * profiler.el (profiler-report-mode-map): Add a menu.
3294 No need to bind `q' because we derive from special-mode.
3295 (profiler-report-find-entry): Handle calls from the menu-bar.
3297 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * emacs-lisp/byte-run.el (defun-declarations-alist):
3300 Allow a compiler-macro to be a lambda expression.
3302 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3304 (python-syntax-context): Add compiler-macro.
3305 (python-font-lock-keywords): Simplify with De Morgan.
3307 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3309 * files.el (load-file): Require match in minibuffer selection, as was
3310 the case in Emacs-20 before we changed the spec to allow .elc files
3313 * json.el: Don't require cl since we don't use it.
3314 * color.el: Don't require cl.
3315 (color-complement): `caddr' -> `nth 2'.
3317 * calendar/time-date.el (time-to-seconds): De-obsolete.
3319 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3321 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3323 (math-date-to-julian-dt): Adjust the initial approximation for the
3324 year to deal with the new definition of the DATE.
3326 2012-11-19 Daniel Colascione <dancol@dancol.org>
3328 * term/w32-win.el (cygwin-convert-path-from-windows):
3329 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3331 2012-11-18 Chong Yidong <cyd@gnu.org>
3333 * filecache.el (file-cache--read-list): New function.
3334 (file-cache-add-directory-list, file-cache-add-file-list)
3335 (file-cache-delete-file-list, file-cache-delete-directory-list):
3336 Use it to read a list of files or directories (Bug#12846).
3337 (file-cache-add-file, file-cache-add-directory)
3338 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3339 (file-cache-delete-directory): Print an message.
3341 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3343 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3344 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3346 2012-11-18 Glenn Morris <rgm@gnu.org>
3348 * image.el (insert-image, insert-sliced-image): Doc fix.
3350 2012-11-18 Chong Yidong <cyd@gnu.org>
3352 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3355 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3357 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3358 response when the target file is in a subdirectory (Bug#12757).
3360 2012-11-18 Chong Yidong <cyd@gnu.org>
3362 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3364 2012-11-18 Glenn Morris <rgm@gnu.org>
3366 * emacs-lisp/cl-lib.el (face-underline-p):
3367 Use set-face-underline rather than the alias set-face-underline-p.
3369 * window.el (with-temp-buffer-window): Doc fix.
3370 * subr.el (with-output-to-temp-buffer):
3371 Add doc xref to with-temp-buffer-window.
3373 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3375 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3376 * calc/calc.el (math-format-date-cache): Declare.
3378 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3380 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3381 It also uses January 1, 1 AD as its day number 1.
3382 * calc/calc-forms.el (math-julian-date-beginning)
3383 (math-julian-date-beginning-int): Implement this.
3385 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3387 * descr-text.el (quail-find-key):
3388 * dired.el (desktop-file-name):
3389 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3390 * generic-x.el (comint-mode, comint-exec):
3391 * image-dired.el (widget-forward):
3392 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3393 (speedbar-change-expand-button-char)
3394 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3395 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3396 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3397 (widget-field-action, widget-value-set):
3398 * speedbar.el (imenu--make-index-alist):
3399 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3400 (ring-length, ring-insert):
3401 * vcursor.el (compare-windows-skip-whitespace):
3402 * woman.el (dired-get-filename):
3405 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3407 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3409 * calc/calc.el (calc-gregorian-switch): New variable.
3411 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3412 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3413 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3414 (math-leap-year-p): Add option to distinguish between Julian
3415 and Gregorian calendars.
3416 (math-day-number): Use `math-day-in-year' to do the computations.
3417 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3418 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3419 to do the computations.
3420 (math-date-to-dt): Use `math-date-to-julian-dt' and
3421 `math-date-to-gregorian-dt' to do the computations.
3422 (calcFunc-weekday, math-format-date-part): Use the new version of
3423 the DATE to determine the weekday.
3424 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3427 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3429 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3430 Cygwin; otherwise use 'file:'. (Bug#12914)
3431 (cygwin-convert-path-from-windows): Declare, to avoid
3432 byte-compiler warnings.
3434 2012-11-17 Andreas Politz <politza@fh-trier.de>
3436 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3437 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3438 prefix and negative numeric prefix args (Bug#12795).
3440 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3442 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3443 Don't signal an error with a score that is too low to add to the
3444 list of top scores. (Bug#12779)
3446 2012-11-17 Chong Yidong <cyd@gnu.org>
3448 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3450 * filecache.el (file-cache-add-file): Handle relative file name in
3451 the argument (Bug#12694).
3453 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3455 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3457 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3461 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3463 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3465 * window.el (enlarge-window, shrink-window): Don't mention return
3466 value in doc-string (Bug#12896).
3467 (window--display-buffer): Don't resize frames - it won't work
3468 with all window managers and defeat pop-up-frame-alist.
3469 (display-buffer-alist): In doc-string explain that CONDITION can
3470 be a function and which arguments are passed to it (Bug#12854).
3471 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3472 expressions (Bug#12854).
3473 (display-buffer): Pass ACTION argument to
3474 display-buffer-assq-regexp.
3476 2012-11-16 Glenn Morris <rgm@gnu.org>
3478 * window.el (fit-frame-to-buffer-bottom-margin)
3479 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3481 * faces.el (face-underline-p): Use face-attribute-specified-or.
3483 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3485 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3487 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3491 2012-11-16 Glenn Morris <rgm@gnu.org>
3493 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3494 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3496 * faces.el (face-underline-p): Doc fix. Handle :underline being
3497 things other than `t' (a string, a list).
3498 (face-inverse-video-p): Doc fix.
3499 (set-face-underline): Rename it back from set-face-underline-p.
3500 Doc fix. Allow interactive input of values other than t.
3501 (read-face-attribute): Apply formatting to :underline,
3502 since like :box and :stipple it can take list values.
3504 * term.el (ansi-term): Don't let C-x escape-char binding
3505 clobber the more standard C-c binding. (Bug#12842)
3507 * subr.el (set-temporary-overlay-map): Doc fix.
3509 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3511 * window.el (record-window-buffer)
3512 (display-buffer-record-window): When copying the markers to
3513 window-point preserve window-point-insertion-type. (Bug#12588)
3515 2012-11-16 Glenn Morris <rgm@gnu.org>
3517 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3518 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3519 Use new names for hooks rather than obsolete aliases.
3521 2012-11-15 Daniel Colascione <dancol@dancol.org>
3523 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3524 prefix instead of "file:" so that when FILE-NAME begins with "//",
3525 as it does when the target file is on a network share, url-handler
3528 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3531 a preactivated advice from an old advice.el; they're not compatible!
3533 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3535 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3536 Fix string-spec case.
3538 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3540 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3542 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3543 (advice--buffer-local-function-sample): New var.
3544 (advice--set-buffer-local, advice--buffer-local): New functions.
3545 (add-function, remove-function): Use them.
3547 2012-11-15 Drew Adams <drew.adams@oracle.com>
3549 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3551 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3554 potential binding of print-gensym to t, and prettify (back)quotes in
3555 case they appear in args's default values (bug#12884).
3557 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3560 (advice-eval-interactive-spec): New function.
3561 (advice--make-interactive-form): Support around advice (bug#12844).
3563 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3565 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3566 more strict. Add docstring.
3567 (ruby-expression-expansion-re): Extract from
3568 `ruby-match-expression-expansion'.
3569 (ruby-syntax-propertize-function): After everything else, search
3570 for expansions in string literals, mark their insides as
3571 whitespace syntax and save match data for font-lock.
3572 (ruby-font-lock-keywords): Use the 2nd group from expression
3574 (ruby-match-expression-expansion): Use the match data saved to the
3575 text property in ruby-syntax-propertize-function.
3577 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3582 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3584 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3585 start/end keyword a bit harder. Works with different values of N.
3587 (ruby-end-of-block): Update accordingly.
3589 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3591 * woman.el (woman-file-name): Don't mess with unread-command-events
3594 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3595 Remove out of date self-require hack.
3596 (ad-do-advised-functions): Use simple `dolist'.
3597 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3598 (ad-advice-definition): Redefine as functions.
3599 (ad-advice-classes): Move before first use.
3600 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3601 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3602 (ad--defalias-fset): Remove functions.
3603 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3604 (ad-get-orig-definition): Rewrite.
3605 (ad-make-advised-definition-docstring): Change base docstring.
3606 (ad-real-orig-definition): Rewrite.
3607 (ad-map-arglists): Change name of called function.
3608 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3609 (ad-make-advised-definition): Simplify.
3610 (ad-assemble-advised-definition): Tweak for new calling context.
3611 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3612 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3613 function and call ad-activate if needed.
3614 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3615 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3616 (ad-compile-function): Compile ad-Advice-*.
3617 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3618 (ad-start-advice, ad-stop-advice): Remove.
3620 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3622 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3623 period before class method names, not after. Remove handling of
3624 one impossible case. Add comments.
3626 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * emacs-lisp/advice.el: Remove support for freezing.
3629 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3630 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3631 Remove support for `freeze'.
3633 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3634 override the default.
3635 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3637 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3640 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3642 (advice--strip-macro): New function.
3643 (advice--defalias-fset): Use them to handle macros.
3644 (advice-add): Use them.
3645 (advice-member-p): Correctly handle macros.
3647 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3649 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3650 Never font-lock the beginning of singleton class as heredoc.
3652 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3656 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3658 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3659 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3660 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3662 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3664 Fix end-of-defun misbehavior.
3665 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3666 python-beginning-of-defun-function. Handle nested defuns
3668 (python-nav-end-of-defun): Rename from
3669 python-end-of-defun-function. Ensure forward movement.
3670 (python-info-current-defun): Reimplement to work as intended
3671 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3672 parent defuns as soon as possible.
3674 2012-11-13 Glenn Morris <rgm@gnu.org>
3676 * progmodes/flymake.el (flymake-error-bitmap)
3677 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3678 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3680 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3682 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3683 backward, always stop at indentation. Reverts the change from
3684 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3686 2012-11-13 Glenn Morris <rgm@gnu.org>
3688 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3689 Add ibuffer-filter-by-derived-mode.
3691 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3692 the same name shadowing each other.
3694 * window.el (with-temp-buffer-window): Doc tweak.
3696 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3698 * help.el (temp-buffer-max-height):
3699 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3700 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3702 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * emacs-lisp/nadvice.el: New package.
3705 * subr.el (special-form-p): New function.
3706 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3707 (elp-all-instrumented-list): Remove var.
3708 (elp-not-profilable): Remove elp-wrapper.
3709 (elp-profilable-p): Use autoloadp and special-form-p.
3710 (elp--advice-name): New const.
3711 (elp-instrument-function): Use advice-add.
3712 (elp--instrumented-p): New predicate.
3713 (elp-restore-function): Use advice-remove.
3714 (elp-restore-all, elp-reset-all): Use mapatoms.
3715 (elp-set-master): Use elp--instrumented-p.
3716 (elp--make-wrapper): Rename from elp-wrapper, return a function
3717 suitable for advice-add. Use cl-inf.
3718 (elp-results): Use mapatoms+elp--instrumented-p.
3719 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3720 (debug-function-list): Remove var.
3721 (debug): Rename arg, and then let-bind it explicitly inside.
3722 (debugger-setup-buffer): Rename arg.
3723 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3724 (debugger-frame-number): Adjust to new debug-on-entry setup.
3725 (debug--implement-debug-on-entry): Rename from
3726 implement-debug-on-entry, add argument.
3727 (debugger-special-form-p): Remove, use special-form-p instead.
3728 (debug-on-entry): Use advice-add.
3729 (debug--function-list): New function.
3730 (cancel-debug-on-entry): Use it, along with advice-remove.
3731 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3732 (debugger-list-functions): Use debug--function-list instead of
3733 debug-function-list.
3734 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3735 (ad-special-form-p): Remove, use special-form-p instead.
3736 (ad-set-advice-info): Use add-function and remove-function.
3737 (ad--defalias-fset): Adjust accordingly.
3739 2012-11-10 Glenn Morris <rgm@gnu.org>
3741 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3742 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3743 (report-emacs-bug-create-existing-bugs-buffer)
3744 (report-emacs-bug-parse-query-results)
3745 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3747 * term.el (term-default-fg-color, term-default-bg-color):
3748 Make obsolete, rather than just saying "deprecated" in the doc.
3750 * term.el (term): Rename from `term-face'.
3751 (term-current-face, ansi-term-color-vector)
3752 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3755 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3757 * server.el (server-create-window-system-frame): Handle Nextstep
3758 specially (Bug#12780).
3760 2012-11-10 Glenn Morris <rgm@gnu.org>
3762 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3763 Unautoload, and make obsolete. (Bug#7449)
3765 2012-11-10 Chong Yidong <cyd@gnu.org>
3767 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3768 rename from diff-remove-trailing-whitespace (Bug#12831).
3770 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3773 miscompilation of trace.el.
3775 2012-11-10 Glenn Morris <rgm@gnu.org>
3777 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3779 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3784 2012-11-10 Chong Yidong <cyd@gnu.org>
3786 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3787 a defcustom with an appropriate :set function.
3788 (minibuffer-default--in-prompt-regexps): New function.
3790 2012-11-10 Glenn Morris <rgm@gnu.org>
3792 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3793 (define-modify-macro): Doc fixes.
3795 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3796 (gv-define-simple-setter): Update doc of `fix-return'.
3798 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3800 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3801 twice when `fix-return' is set (bug#12813).
3803 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3804 gv-define-simple-setter (bug#12812).
3806 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3809 2012-11-10 Glenn Morris <rgm@gnu.org>
3811 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3813 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3814 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3815 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3816 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3818 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3820 2012-11-10 Leo Liu <sdl.web@gmail.com>
3822 * ido.el (ido-set-matches-1): Improve flex matching performance by
3823 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3825 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3828 (ad--defalias-fset): New function.
3829 (ad-safe-fset): Remove.
3830 (ad-make-freeze-definition): Use cl-letf*.
3832 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * subr.el (dolist): Don't bind VAR in RESULT.
3836 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3837 (fset, documentation): Don't save real def since we don't advise.
3838 (ad-do-advised-functions): Remove problematic `result-form'.
3839 (ad-safe-fset): `ad-real-fset' => `fset'.
3840 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3841 uses CL's dolist internally.
3842 (ad-arglist): Remove unused arg `name'.
3843 (ad-docstring, ad-make-advised-docstring):
3844 `ad-real-documentation' => `documentation'.
3845 (warning-suppress-types): Declare.
3846 (ad-set-arguments): Simple CSE.
3847 (ad-recover-normality): Sanity check.
3849 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3850 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3852 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3854 * ses.el: symbol to coordinate mapping is made by symbol property
3855 `ses-cell'. This means that the same mapping is done for all SES
3856 sheets. That is good enough for cells with standard A1 names, but
3857 not for named cell. So a hash map is added for the latter.
3858 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3859 (ses-sym-rowcol): Use hashmap for named cell.
3860 (ses-is-cell-sym-p): New defun.
3861 (ses-decode-cell-symbol): New defun.
3862 (ses-create-cell-variable): Add cell to hashmap when name is not
3864 (ses-rename-cell): Check that cell new name is not already in
3865 spreadsheet with the use of ses-is-cell-sym-p
3866 (ses-rename-cell): Use hash map for named cells, but accept also
3867 renaming back to A1-like.
3869 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * emacs-lisp/advice.el: Use new dynamic docstrings.
3872 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3873 Use dynamic-docstring-function instead of ad-advice-info.
3874 (ad--make-advised-docstring): New function extracted from
3875 ad-make-advised-docstring.
3876 (ad-make-advised-docstring): Use it.
3877 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3879 (sql-help): Use it with dynamic-docstring-function.
3881 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3883 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * files.el (hack-one-local-variable--obsolete): New function.
3886 (hack-one-local-variable): Use it for obsolete settings.
3888 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3891 * progmodes/js.el (js--filling-paragraph): New var.
3892 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3893 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3896 2012-11-08 Julien Danjou <julien@danjou.info>
3898 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3899 `auto-mode-alist' (Bug#12835).
3901 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3904 (perl--prettify-symbols-alist): New const.
3905 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3907 (perl-font-lock-keywords-2): Use them.
3908 (perl-electric-noindent-p): New function.
3909 (perl-mode): Use it to set up electric-indent-mode.
3910 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3911 (perl-mode-map): Remove bindings for them.
3912 (perl-imenu-generic-expression, perl-outline-level):
3913 Match functions&packages in column>0.
3915 * env.el (env--substitute-vars-regexp): New const.
3916 (substitute-env-vars): Use it. Add `only-defined' arg.
3917 * net/tramp.el (tramp-replace-environment-variables): Use it.
3919 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3920 Byte-compile *before* eval in eval-and-compile.
3921 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3922 (byte-compile-file-form-autoload): Don't hide actual definition.
3923 (byte-compile-maybe-guarded): Accept `functionp' as well.
3925 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3927 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3929 * notifications.el (notifications-get-server-information-method):
3931 (notifications-get-capabilities): Fix docstring.
3932 (notifications-get-server-information): New defun.
3934 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3936 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3939 * textmodes/ispell.el: Experimental support for support debugging.
3940 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3942 (ispell-print-if-debug): New function to print stuff to
3943 `ispell-debug-buffer' if debugging is enabled.
3944 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3945 show some debugging info.
3946 (ispell-buffer-with-debug): New function that creates a debugging
3947 buffer and calls `ispell-buffer' with debugging enabled.
3949 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3950 comment in autoconf mode. (Bug#12768)
3952 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3954 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3955 frame-first-window, frame-root-window, frame-selected-window,
3956 minibuffer-selected-window, minibuffer-window,
3957 window-absolute-pixel-edges, window-at, window-body-height,
3958 window-body-width, window-display-table, window-combination-limit,
3959 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3960 window-inside-edges, window-inside-pixel-edges, window-left-child,
3961 window-left-column, window-margins, window-next-buffers,
3962 window-next-sibling, window-new-normal, window-new-total,
3963 window-normal-size, window-parameter, window-parameters, window-parent,
3964 window-pixel-edges, window-point, window-prev-buffers,
3965 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3966 window-start, window-text-height, window-top-child, window-top-line,
3967 window-total-height, window-total-width and window-use-time to the list
3968 of functions without side-effects.
3969 (toplevel): Add window-valid-p to the list of error-free functions
3970 without side-effects.
3972 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3974 * textmodes/ispell.el (ispell-program-name):
3975 Update spellchecker parameters when customized.
3977 2012-11-04 Glenn Morris <rgm@gnu.org>
3979 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3981 2012-11-04 Chong Yidong <cyd@gnu.org>
3983 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3984 same-window-* variables.
3986 2012-11-04 Juri Linkov <juri@jurta.org>
3988 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3989 (isearch-describe-key, isearch-describe-mode): Use a display
3990 action instead of binding same-window-* variables (Bug#10040).
3992 2012-11-03 Glenn Morris <rgm@gnu.org>
3994 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3995 Rename handler properties back from cl-- to cl-. (Bug#12788)
3997 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3999 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4001 * term/pc-win.el: Don't load term/internal from here.
4003 * loadup.el: Load term/internal from here.
4005 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4007 * progmodes/python.el (inferior-python-mode): Fix hang in
4008 jit-lock (Bug#12645).
4010 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4012 * window.el (switch-to-visible-buffer)
4013 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4015 2012-11-03 Glenn Morris <rgm@gnu.org>
4017 * emacs-lisp/cl-lib.el (cl--random-time):
4018 Rename from cl-random-time. (Bug#12773)
4019 (cl--gensym-counter, cl--random-state): Update callers.
4020 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4022 2012-11-03 Chong Yidong <cyd@gnu.org>
4024 * cus-start.el: Make cursor-type customizable (Bug#11633).
4026 2012-11-02 Glenn Morris <rgm@gnu.org>
4028 * filecache.el: No need to load find-lisp when compiling.
4029 (find-lisp-find-files): Autoload it.
4030 (file-cache-add-directory-recursively): Don't require find-lisp.
4032 * image.el (image-type-from-file-name): Trivial simplification.
4034 * emacs-lisp/bytecomp.el (byte-compile-eval):
4035 Decouple "noruntime" and "cl-functions" warnings.
4037 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4039 * play/gomoku.el (gomoku-display-statistics): Update mode line
4040 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4042 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4044 * window.el (quit-restore-window): If the window has been
4045 created on an existing frame and ended up as the sole window on
4046 that frame, do not delete it (Bug#12764).
4048 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4050 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4051 Rename from sh--inside-arithmetic-expression, handle more cases
4054 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4055 (sh-font-lock-open-heredoc): Use it (bug#12770).
4057 2012-10-30 Glenn Morris <rgm@gnu.org>
4059 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4061 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4063 2012-10-29 Chong Yidong <cyd@gnu.org>
4065 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4066 function key is stored in a keyboard macro (Bug#4894).
4068 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4070 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4074 (diff-unified->context, diff-context->unified)
4075 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4077 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4079 * files.el (find-alternate-file): Only ask one question (bug#12487).
4081 2012-10-29 Chong Yidong <cyd@gnu.org>
4083 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4084 Suggested by Dan Nicolaescu (Bug#6326).
4086 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4088 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4090 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4092 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4094 * face-remap.el (face-remap-add-relative): Handle the case where a
4095 face-remapping-alist entry is a cons cell (Bug#12762).
4097 2012-10-29 Kevin Ryde <user42@zip.com.au>
4099 * woman.el (woman-parse-numeric-value): Handle picas correctly
4102 2012-10-29 Glenn Morris <rgm@gnu.org>
4104 * emacs-lisp/cl.el (defsetf): Doc fix.
4106 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4108 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4109 syntax to the matching opener, if any (bug#12547).
4110 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4111 matching open as a "case-(".
4112 (sh-smie-rc-grammar): Add a corresponding rule for it.
4114 2012-10-28 Daniel Hackney <dan@haxney.org>
4116 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4117 "PKGNAME-autoloads.el" in case we created it.
4119 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4122 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4123 (completion--twq-all): Disable too-strict assertions.
4125 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4127 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4129 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4130 text to match the real keybindings.
4132 2012-10-27 Juri Linkov <juri@jurta.org>
4134 * wdired.el (wdired-keep-marker-rename): New defcustom.
4135 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4138 * dired.el (dired-keep-marker-rename): Add reference to
4139 `wdired-keep-marker-rename' in the docstring.
4140 Add default character value ?R to display initially in
4141 Customization UI instead of ?@.
4143 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4145 * window.el (display-buffer): In doc-string describe
4146 window-height and window-width alist entries.
4148 * time.el (display-time-world): Restore fit-window-to-buffer
4151 2012-10-27 Chong Yidong <cyd@gnu.org>
4153 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4155 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4157 * minibuffer.el (completion-category-overrides): New completion
4158 category `bookmark' (bug#11131).
4160 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4163 Silence bogus compiler warnings for ad-do-it.
4165 * bookmark.el (bookmark-completing-read): Set the completion category
4166 to `bookmark' (bug#11131).
4168 2012-10-26 Bastien <bzg@altern.org>
4169 Stefan Monnier <monnier@iro.umontreal.ca>
4171 * face-remap.el: Use lexical-binding.
4172 (text-scale-adjust): Improve docstring. Use itself for the temporary
4173 overlay-map bindings, so as to repeat the "Use..." message each time.
4175 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * emacs-lisp/macroexp.el (macroexp--expand-all):
4178 Obey byte-compile-warning-enabled-p (bug#12486).
4180 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4181 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4183 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4185 * mouse.el (mouse-drag-line): Move last form into preceding when
4188 * help.el (resize-temp-buffer-window): Fix doc-string.
4190 2012-10-25 David Engster <deng@randomsample.de>
4192 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4193 Remove. This feature is already integrated in imenu.
4195 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4196 always loaded. Require `speedbar' unconditionally.
4198 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4200 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4202 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4204 * net/ldap.el (ldap-search-internal): The official ldif format starts
4205 with a "version: 1" header (bug#12724).
4207 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4210 2012-10-25 Glenn Morris <rgm@gnu.org>
4212 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4214 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * minibuffer.el (minibuffer-force-complete): Use one more marker
4217 for the temporary-overlay-map command (bug#12619).
4219 2012-10-24 Chong Yidong <cyd@gnu.org>
4221 * time.el (display-time-world-mode): Derive from special-mode.
4222 (display-time-world): Use display-buffer (Bug#12708).
4223 (display-time-world-mode-map): Variable deleted.
4224 (display-time-world-display): Wrap the final delete-char inside
4227 2012-10-24 Chong Yidong <cyd@gnu.org>
4229 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4232 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4234 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * minibuffer.el (completion--all-sorted-completions-location): New var.
4237 (completion--cache-all-sorted-completions)
4238 (completion--flush-all-sorted-completions): Use it.
4239 (completion-in-region, completion-in-region--postch)
4240 (completion-at-point, completion-help-at-point): Use markers in
4241 completion-in-region--data (bug#12619).
4243 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * progmodes/compile.el (compilation-start): Try to handle common
4246 quoting of `cd' argument (bug#12640).
4248 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4251 2012-10-23 Glenn Morris <rgm@gnu.org>
4253 * progmodes/gud.el (gud-menu-map):
4254 Check gdb-active-process is bound. (Bug#12358)
4256 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * repeat.el (repeat): Set real-this-command (bug#12232).
4260 * htmlfontify.el (hfy-post-html-hook):
4261 * filesets.el (filesets-cache-fill-content-hook):
4262 * arc-mode.el (archive-extract-hook):
4263 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4264 * net/rcirc.el (rcirc-sentinel-functions)
4265 (rcirc-receive-message-functions, rcirc-activity-functions)
4266 (rcirc-print-functions):
4267 * net/dbus.el (dbus-event-error-functions):
4268 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4269 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4270 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4271 * term/sun.el (sun-raw-prefix-hooks):
4272 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4274 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4276 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4277 Set `tramp-chunksize' to 1. This improves the performance.
4278 (tramp-smb-wait-for-output): Add timeout to
4279 `tramp-accept-process-output' calls.
4281 2012-10-23 Chong Yidong <cyd@gnu.org>
4283 * faces.el (font-list-limit): Define as an obsolete variable.
4285 * startup.el (command-line):
4286 * cus-start.el: Don't refer to font-list-limit.
4288 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4290 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * subr.el (internal-temp-output-buffer-show): Rename from
4293 temp-output-buffer-show, since previously compiled files expect this name.
4295 2012-10-23 Glenn Morris <rgm@gnu.org>
4297 * image.el (image-type-from-file-name): If multiple types match,
4298 return the first one that is supported. (Bug#9045)
4300 2012-10-22 Glenn Morris <rgm@gnu.org>
4302 * image.el (imagemagick-enabled-types): Doc fix.
4304 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4306 * progmodes/which-func.el (which-func-current): The hash-table may have
4307 an explicit nil (bug#12338).
4309 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * electric.el (electric-pair-delete-selection-self-insert-function):
4312 Rename to electric-pair-will-use-region, return a boolean.
4313 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4315 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4316 (delete-selection-pre-hook): Use use-region-p.
4317 (delete-selection-self-insert-function): Remove.
4318 (self-insert-command): Obey self-insert-uses-region-functions.
4319 (self-insert-iso): Revert to previous setting, since we don't actually
4320 know what that command does.
4321 (delete-selection-self-insert-hooks): Remove.
4323 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4325 * delsel.el (delete-selection-helper): New function, extracted from
4326 delete-selection-pre-hook.
4327 (delete-selection-pre-hook): Use it.
4328 (delete-selection-self-insert-function): New function.
4329 (delete-selection-self-insert-hooks): New hook.
4330 (self-insert-command, self-insert-iso): Use it.
4331 * electric.el (electric-pair-syntax): New function, extracted from
4332 electric-pair-post-self-insert-function.
4333 (electric-pair-post-self-insert-function): Use it.
4334 (electric-pair-delete-selection-self-insert-function): New function.
4335 (electric-pair-mode): Require delsel and setup
4336 delete-selection-self-insert-hooks (bug#11520).
4338 2012-10-20 Chong Yidong <cyd@gnu.org>
4340 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4341 no changes to show (Bug#12586).
4343 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4344 list explicitly (Bug#12571).
4346 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4348 * progmodes/flymake.el (flymake-create-temp-inplace):
4351 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4353 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4355 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4357 * calc/calc-units.el (math-extract-units): Properly extract powers
4360 2012-10-20 Daniel Colascione <dancol@dancol.org>
4362 * frame.el (make-frame): Set x-display-name as we used to in order
4363 to unbreak creating an X11 frame from an Emacs daemon started
4366 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4369 the same completion-field (bug#12221).
4371 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4373 * emacs-lisp/debug.el (debug): Record height of debugger window
4374 also when debugger will be back (Bug#8789).
4376 2012-10-18 Chong Yidong <cyd@gnu.org>
4378 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4379 Convert to defcustom.
4380 (gdb-get-source-file): Don't bind pop-up-windows.
4382 * progmodes/gud.el (gud-display-line): Don't specially re-use
4383 other frames for the gdb-mi case (Bug#12648).
4385 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * emacs-lisp/advice.el: Clean up commentary a bit.
4388 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4389 (byte-code-function-p): Never redefine.
4391 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4393 2012-10-18 Glenn Morris <rgm@gnu.org>
4395 * dired.el (dired-sort-toggle): Some ls implementations only allow
4396 a single option string. (Bug#12666)
4398 * minibuffer.el (completion-cycle-threshold): Doc fix.
4400 2012-10-17 Kenichi Handa <handa@gnu.org>
4402 * international/mule.el (set-keyboard-coding-system):
4403 Recover input meta mode when the new coding system doesn not use 8-bit.
4404 Supply TERMINAL arg to set-input-meta-mode.
4406 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4408 * wdired.el (wdired-old-marks): New variable.
4409 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4410 (wdired-do-renames): Move point with renamed file and don't lose
4411 mark status (Bug#11795).
4413 2012-10-16 Juri Linkov <juri@jurta.org>
4415 * replace.el (query-replace-help): Mention multi-buffer replacement
4416 keys in the Help message. (Bug#12655)
4418 2012-10-15 Chong Yidong <cyd@gnu.org>
4420 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4422 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4424 * window.el (display-buffer): Doc fix.
4426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4427 Adjust the msft regexp to the output of Studio 2010, and move msft
4428 before edg-1. See the discussion on emacs-devel,
4429 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4432 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4434 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4435 (oset): Move uses of object-class-fast macro after its definition.
4437 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4439 2012-10-13 Chong Yidong <cyd@gnu.org>
4441 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4442 enabled, re-enable it (Bug#11963).
4444 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4446 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4447 non-nil, restore window configuration (Bug#12623).
4449 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * help-fns.el (describe-variable, describe-function-1):
4452 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4454 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4456 2012-10-12 Glenn Morris <rgm@gnu.org>
4458 * mail/rmailsum.el (rmail-header-summary):
4459 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4461 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4463 * progmodes/python.el (python-mode-map):
4464 Replace subtitute-key-definition with proper command remapping.
4465 (python-nav--up-list): Fix behavior for blocks on the same level.
4467 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4471 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4472 changes to the format of load-history.
4474 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4475 completion-ignore-case in case that var is buffer-local (bug#12615).
4477 2012-10-11 Kenichi Handa <handa@gnu.org>
4479 * international/eucjp-ms.el: Re-generated.
4481 2012-10-10 Kenichi Handa <handa@gnu.org>
4483 * select.el (xselect--encode-string): If a coding is specified for
4484 selection, and that is compatible with COMPOUND_TEXT, use it.
4486 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4488 * window.el (switch-to-buffer-preserve-window-point): New option.
4490 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4492 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4495 Don't document nil as a useful value (bug#12583).
4497 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4499 * net/tramp.el (tramp-debug-message):
4500 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4501 (with-tramp-progress-reporter): Rename from
4502 `tramp-with-progress-reporter'.
4503 (with-tramp-file-property, with-tramp-connection-property):
4504 Move from tramp-cache.el, rename from `with-file-property' and
4505 `with-connection-property', respectively.
4507 * net/tramp-cache.el: Remove `with-file-property' and
4508 `with-connection-property'.
4511 * net/tramp-gvfs.el:
4513 * net/tramp-smb.el: Adapt callees.
4515 * net/trampver.el: Update release number.
4517 2012-10-09 Glenn Morris <rgm@gnu.org>
4519 * w32-fns.el (set-message-beep):
4520 * term/w32-win.el (set-message-beep): Update declarations.
4522 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4525 (mode-line-widen, mode-line-input-method-map)
4526 (mode-line-coding-system-map, mode-line-remote)
4527 (mode-line-unbury-buffer, mode-line-bury-buffer)
4528 (mode-line-next-buffer, mode-line-previous-buffer):
4529 Replace save-selected-window+select-window => with-selected-window.
4531 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4532 * progmodes/cc-vars.el (bq-process): Remove, unused.
4534 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4536 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4538 Implemented `backward-up-list'-like navigation.
4539 * progmodes/python.el (python-nav-up-list)
4540 (python-nav-backward-up-list): New functions.
4541 (python-mode-map): Define substitute key for backward-up-list to
4542 python-nav-backward-up-list.
4544 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4546 * progmodes/python.el (python-fill-paragraph): Rename from
4547 python-fill-paragraph-function. Fixed fill-paragraph for
4548 decorators (Bug#12605).
4550 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4552 * progmodes/python.el (python-shell-output-filter): Handle extra
4553 carriage return in OSX (Bug#12409).
4555 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4557 Fix shell handling of unbalanced quotes and parens in output.
4558 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4559 (python-syntax-propertize-function): Use it.
4560 (python-shell-output-syntax-table): New var.
4561 (inferior-python-mode): Prevent unbalanced parens/quotes from
4562 previous output mess with current input context.
4564 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4566 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4567 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4569 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4571 * ffap.el (ffap-replace-file-component): Support Tramp file name
4572 syntax, not only ange-ftp's one.
4574 2012-10-08 Glenn Morris <rgm@gnu.org>
4576 * cus-start.el (message-log-max): Set :version.
4578 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4580 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4582 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4583 the minibuffer window (Bug#10851).
4585 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4587 Enhancements on forward-sexp movement.
4588 * progmodes/python.el (python-nav-beginning-of-statement)
4589 (python-nav-end-of-statement): Return point-marker.
4590 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4591 (python-info-current-symbol)
4592 (python-info-statement-starts-block-p): Rename from
4593 python-info-beginning-of-block-p.
4594 (python-info-statement-ends-block-p): Rename from
4595 python-info-end-of-block-p.
4596 (python-info-beginning-of-statement-p)
4597 (python-info-end-of-statement-p)
4598 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4601 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4604 frame-selected-windows.
4606 2012-10-08 Daniel Colascione <dancol@dancol.org>
4608 * battery.el (battery-status-function): Check for
4609 w32-battery-status itself, not system-time windows-nt.
4611 * frame.el: Require cl-lib.
4612 (display-format-alist): New variable mapping frame types to
4613 functions that initialize them.
4614 (window-system-for-display): New function: interprets
4615 display-format-alist.
4616 (make-frame-on-display): Remove existing display-selection logic
4617 and just forward to make-frame, which will now DTRT.
4618 (make-frame): Restructure to use window-system-for-display to
4619 figure out how to create a frame on a given display.
4620 (display-mouse-p): Look for frame-type w32, not a particular
4623 * loadup.el: Load w32 lisp code when we have the w32 feature.
4625 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4626 system-type windows-nt.
4628 * server.el (server-create-window-system-frame): Look for window
4630 (server-proces-filter): Only force a window system when windows-nt
4631 _and_ w32. Explain why.
4633 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4634 of window systems we configure for the mode.
4636 * startup.el (command-line): Mark window system is initialized
4637 after we've done it.
4639 * common-win.el (x-select-text): Look for w32, not windows-nt.
4641 * ns-win.el: Require cl-lib. Add ourselves to
4642 display-format-alist.
4643 (ns-initialize-window-system): Assert we're not initialized twice.
4645 * w32-win.el: Enable lexical binding; require cl-lib; add
4646 ourselves to display-format-alist.
4647 (w32-handle-dropped-file): Convert incoming dropped files from
4648 Windows paths to Cygwin ones before passing them on to the rest of
4650 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4651 (w32-initialize-window-system): Assert we're not initialized twice.
4653 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4654 (x-initialize-window-system): Assert we're not initialized twice.
4656 * w32-common-fns.el: New File.
4657 (w32-version, w32-using-nt, w32-get-clipboard-data)
4658 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4659 (w32-charset-info-alist, x-last-selected, text)
4660 (x-get-selection-value, x-selection-value): Move here.
4662 * w32-fns.el: Require w32-common-fns.
4663 (w32-version, w32-using-nt, w32-get-clipboard-data)
4664 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4665 (w32-charset-info-alist, x-last-selected, text)
4666 (x-get-selection-value, x-selection-value): Move to
4670 (w32-allow-system-shell, w32-system-shells): Define only in
4673 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4676 (read-passwd): Remove a few more potential sources of leaks.
4678 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4680 * progmodes/python.el (inferior-python-mode)
4681 (python-shell-make-comint): Fix initialization of local
4682 variables copied from parent buffer.
4684 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4686 * term/ns-win.el (ns-read-file-name): Update declaration to match
4688 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4689 it is set when font is acted upon.
4691 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4693 Enhancements to indentation.
4694 * progmodes/python.el (python-indent-context): Give priority to
4695 inside-string context. Make comments indentation markers.
4696 (python-indent-region): Do not mess with strings, unless it's the
4697 enclosing set of quotes.
4699 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * window.el (internal--before-save-selected-window)
4702 (internal--after-save-selected-window): New functions extracted from
4703 save-selected-window. Make sure we return the `alist' we construct.
4704 (save-selected-window): Use them.
4706 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4707 Use with-selected-window.
4709 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4710 forms that define macros (bug#12593).
4712 2012-10-07 Kenichi Handa <handa@gnu.org>
4714 * international/mule-conf.el (compound-text-with-extensions):
4715 Add :mime-charset property as x-ctext.
4717 2012-10-07 Stefan Merten <smerten@oekonux.de>
4719 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4720 (rst-indent-literal-normal, rst-indent-literal-minimized)
4721 (rst-indent-comment): Correct :version tag.
4722 (rst-official-cvs-rev): Correct version string.
4724 2012-10-07 Glenn Morris <rgm@gnu.org>
4726 * mail/rmailmm.el (rmail-mime-process-multipart):
4727 Do not confuse a multipart message with an epilogue
4728 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4730 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4732 Fix shell output retrieval and comint-prompt-regexp init.
4733 * progmodes/python.el (inferior-python-mode):
4734 (python-shell-make-comint): Fix initialization of
4735 comint-prompt-regexp from copied file local variables.
4736 (python-shell-fetched-lines): Remove var.
4737 (python-shell-output-filter-in-progress): Rename from
4738 python-shell-fetch-lines-in-progress.
4739 (python-shell-output-filter-buffer): Rename from
4740 python-shell-fetch-lines-string.
4741 (python-shell-fetch-lines-filter): Delete function.
4742 (python-shell-output-filter): New function.
4743 (python-shell-send-string-no-output): Use them.
4745 2012-10-07 Glenn Morris <rgm@gnu.org>
4747 * hi-lock.el (hi-lock-process-phrase):
4748 Try to make it less fragile. (Bug#7161)
4750 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4752 2012-10-06 Glenn Morris <rgm@gnu.org>
4754 * ehelp.el (electric-help-mode): Use help-mode rather than
4755 non-existent mode `help'.
4756 (electric-help-map): Use button-buffer-map. (Bug#10917)
4758 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4759 (reftex-create-bibtex-footer): Fix custom types.
4761 * progmodes/sh-script.el (sh-indent-after-continuation):
4762 Add explicit :group.
4764 * textmodes/rst.el (rst-preferred-decorations)
4765 (rst-shift-basic-offset): Clarify obsolescence versions.
4767 * profiler.el (profiler): Add missing group :version tag.
4768 * avoid.el (mouse-avoidance-banish-position):
4769 * proced.el (proced-renice-command):
4770 * calc/calc.el (calc-ensure-consistent-units):
4771 * calendar/icalendar.el (icalendar-import-format-uid):
4772 * net/tramp.el (tramp-save-ad-hoc-proxies):
4773 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4774 * progmodes/flymake.el (flymake-error-bitmap)
4775 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4776 * progmodes/sh-script.el (sh-indent-after-continuation):
4777 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4778 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4779 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4780 (vhdl-array-index-record-field-in-sensitivity-list)
4781 (vhdl-indent-comment-like-next-code-line):
4782 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4783 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4784 (reftex-cite-key-separator, reftex-create-bibtex-header)
4785 (reftex-create-bibtex-footer):
4786 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4787 (rst-indent-literal-normal, rst-indent-literal-minimized)
4788 (rst-indent-comment): Add missing custom :version tags.
4790 * calendar/timeclock.el (timeclock-modeline-display):
4791 Add missing obsolete alias for renamed user option.
4793 * strokes.el (strokes-modeline-string):
4794 * emulation/crisp.el (crisp-mode-modeline-string):
4795 * eshell/esh-mode.el (eshell-status-in-modeline):
4796 Aliases to defcustoms must come before the defcustom.
4798 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4799 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4800 (cal-tex-cursor-week-monday): Doc fixes.
4801 (cal-tex-cursor-week2-summary): Doc fix.
4802 Rename from cal-tex-cursor-week-at-a-glance.
4804 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4805 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4807 * calendar/calendar.el (calendar-mode-map):
4808 Add cal-tex-cursor-week2-summary.
4810 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4812 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4814 * subr.el (read-passwd-map): New var.
4815 (read-passwd): Use `read-string' again.
4816 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4818 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4820 * register.el (append-to-register, prepend-to-register):
4821 Deactivate mark, as does `copy-to-register' (bug#12389).
4823 2012-10-06 Chong Yidong <cyd@gnu.org>
4825 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4827 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4829 * international/characters.el: Fix simple mistake ((car chars) ->
4830 elt), delete duplicated code.
4832 2012-10-06 Glenn Morris <rgm@gnu.org>
4834 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4836 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4838 * color.el (color-hsl-to-rgb): Fix incorrect results for
4839 small and large hue values. (Bug#12559)
4841 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4843 Enhancements to docstring formatting when filling paragraphs.
4844 * progmodes/python.el (python-fill-docstring-style): Rename from
4845 python-fill-string-style. Added new style.
4846 (python-fill-string): Use new style. Better checks for
4849 2012-10-05 Glenn Morris <rgm@gnu.org>
4851 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4853 * color.el (color-name-to-rgb, color-rgb-to-hex)
4854 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4855 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4856 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4857 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4859 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4861 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4863 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4864 to get the correct size across symlinks.
4866 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4868 2012-10-04 Juri Linkov <juri@jurta.org>
4870 * replace.el (query-replace-interactive): Declare obsolete.
4871 (query-replace-read-from): Add the last incremental search string
4872 to the list of default values accessible via M-n.
4873 (map-query-replace-regexp): Use `read-regexp'.
4874 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4875 (map-query-replace-regexp, replace-string, replace-regexp):
4876 Fix docstrings to replace mentions of `query-replace-interactive'
4877 with alternatives. (Bug#12526)
4879 2012-10-04 Juri Linkov <juri@jurta.org>
4881 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4882 (dired-pop-to-buffer): Declare obsolete.
4883 (dired-mark-pop-up): Doc fix.
4885 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4887 Allow user to set docstring style for fill-paragraph.
4888 * progmodes/python.el
4889 (python-fill-comment-function, python-fill-string-function)
4890 (python-fill-decorator-function, python-fill-paren-function):
4891 Remove :safe for defcustoms.
4892 (python-fill-string-style): New defcustom
4893 (python-fill-paragraph-function): Enhance context detection.
4894 (python-fill-string): Honor python-fill-string-style settings.
4896 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4898 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4899 after setting its buffer (Bug#10805).
4901 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4903 Fix cornercase for string syntax.
4904 * progmodes/python.el (python-syntax-propertize-function):
4905 Simplify and enhance the regexp for unescaped quotes. Now it also
4906 matches quotes in weird situations like the single quote in
4908 (python-syntax-stringify): Simplify num-quotes detecting code.
4910 2012-10-03 Glenn Morris <rgm@gnu.org>
4912 * help-macro.el (three-step-help):
4913 Revert 2012-09-29 change. (Bug#12567)
4915 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4917 * menu-bar.el (kill-this-buffer): Don't do anything when
4918 `menu-frame' is not alive or visible (Bug#8184).
4920 * emacs-lisp/debug.el (debug): When quitting the debugger window
4921 restore current buffer (Bug#12502).
4923 2012-10-02 Chong Yidong <cyd@gnu.org>
4925 * progmodes/hideif.el (hif-lookup, hif-defined):
4926 Handle semantic-c-takeover-hideif.
4928 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4930 Change sampling interval units from ms to ns.
4931 * profiler.el (profiler-sampling-interval): Change units
4932 from ms to ns, multiplying the default by 1000000 so that
4934 (profiler-report-cpu-line-format): Give enough room for
4935 the maximum counters on 64-bit hosts.
4936 (profiler-report-render-calltree-1): Call them "CPU samples",
4937 not "Time (ms)", since they are not milliseconds now (and
4940 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4942 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4943 Fix querying BBDB for entries without a last name (Bug#11580).
4945 2012-10-02 Chong Yidong <cyd@gnu.org>
4947 * emacs-lisp/eieio.el: Restore Version header.
4949 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * vc/diff-mode.el (diff--auto-refine-data): New var.
4952 (diff-hunk): Use it to delay refinement.
4953 (diff-mode): Remove overlays when we turn off font-lock.
4955 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4956 (table-initialize-table-fixed-width-mode)
4957 (table-set-table-fixed-width-mode): Remove functions.
4958 (table-command-list): Move initialization into declaration.
4959 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4960 (table-with-cache-buffer): Use `declare'.
4961 (table-span-cell): Simplify via CSE.
4962 (table-fixed-width-mode): Use define-minor-mode.
4963 (table-call-interactively, table-funcall, table-apply): Remove.
4964 (table-function): New function, to replace them.
4966 * bookmark.el (bookmark-search-pattern): Remove var.
4967 (bookmark-read-search-input): Remove function.
4968 (bookmark-bmenu-search): Reimplement using a minibuffer.
4970 * faces.el (modeline): Remove obsolete face name.
4972 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4973 and give a non-nil default value.
4974 (add-change-log-entry): Simplify accordingly.
4976 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4978 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4979 (vc-git-log-edit-toggle-amend): New function.
4980 (vc-git-log-edit-toggle-signoff): New function.
4981 (vc-git-log-edit-mode): New major mode.
4982 (vc-git-log-edit-mode-map): Keymap for it.
4983 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4985 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4987 (log-edit-toggle-header): New function.
4988 (log-edit-extract-headers): Accept function values in HEADERS alist.
4990 2012-10-01 David Engster <deng@randomsample.de>
4992 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4993 from symbol property and change message to be more consistent with
4995 (eieio-describe-generic): Add filename for each implementation.
4996 Fix indices for generic and normal methods.
4997 (eieio-method-def, eieio-class-def): New buttons.
4998 (eieio-help-find-method-definition)
4999 (eieio-help-find-class-definition): New functions.
5000 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5001 class, constructor and method definitions.
5003 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5004 information in symbol property.
5005 (scoped-class): Remove.
5006 (eieio-slot-name-index, call-next-method): Check if it is bound.
5008 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5010 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5011 (eieio-custom-mode): New major mode.
5012 (eieio-customize-object): Use it.
5014 2012-10-01 Eric Ludlam <zappo@gnu.org>
5016 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5017 specifying the expected class, and whether subclassing is allowed.
5018 (eieio-persistent-convert-list-to-object):
5019 (eieio-persistent-validate/fix-slot-value)
5020 (eieio-persistent-slot-type-is-class-p): New functions.
5021 (eieio-named::slot-missing): Doc fix.
5023 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5024 Stop using unused publd variable.
5026 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5027 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5028 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5029 (eieio-speedbar-handle-click): Do not specify a class for the
5030 method. Fixes method invocation order problems with EDE.
5032 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5035 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5037 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5039 * bookmark.el (bookmark-version-control): Give tags in the
5040 :type choices (Bug#12309), and improve doc string.
5041 (bookmark-write-file): Bind `print-circle' to `t' to allow
5042 circular custom bookmark types. (Bug#12503)
5044 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5046 Revert the FOLLOW-SYMLINKS change for file-attributes.
5047 * files.el (remote-file-name-inhibit-cache, after-find-file):
5048 * time.el (display-time-file-nonempty-p): Undo last change.
5050 * profiler.el (profiler-sampling-interval): Change default back to 1.
5051 See Stefan Monnier in
5052 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5054 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5056 Shell output catching a la gud-gdb.
5057 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5058 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5060 (python-shell-fetch-lines-filter): New function.
5061 (python-shell-send-string-no-output): Use them.
5063 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5065 * profiler.el (profiler-sampling-interval): Rename from
5066 profiler-sample-interval.
5067 (profiler-sampling-interval): Default to 10.
5068 (profiler-find-profile): New command (was profiler-find-log).
5069 (profiler-find-profile-other-window): New command.
5070 (profiler-find-profile-other-frame): New command.
5071 (profiler-profile): Introduce API-level data structure.
5073 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5075 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5076 * files.el (remote-file-name-inhibit-cache):
5077 * time.el (display-time-file-nonempty-p): Use it.
5078 * files.el (after-find-file): Don't chase links before calling
5079 file-exists-p, as file-exists-p already does the right thing.
5081 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5083 Merge from standalone RefTeX repository.
5085 The following ChangeLog entries are shortened versions of the
5086 original ones with file paths adapted. A not so strongly edited
5087 version of the original ChangeLog can be found in the commit log.
5089 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5090 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5091 Correctly handle new value type returned by `reftex-citation'.
5093 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5094 that entries with whitespace at various places are found.
5095 Doc fix. Include entries that are cross-referenced from cited entries.
5096 Include @String definitions in the resulting bib file. Add header
5097 and footer defined in `reftex-create-bibtex-header' and
5098 `reftex-create-bibtex-footer'.
5099 (reftex-do-citation): Make it possible again to insert
5100 non-existent entries. Save match data when asking for optional
5101 arguments. Return all keys, not just the first one.
5102 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5103 all citations in the same line.
5104 (reftex-parse-bibtex-entry): Accept additional optional argument
5105 `raw' and keep quotes or braces if it is non-nil. Match fields
5106 containing hyphens besides word constituents.
5107 (reftex-get-string-refs): New function.
5108 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5109 and ask if it should be reread in case it did.
5110 (reftex-pop-to-bibtex-entry)
5111 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5112 entries with spaces or tabs in front of arguments.
5113 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5114 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5115 Match entries containing numbers and symbol constituents.
5116 (reftex-do-citation, reftex-figure-out-cite-format):
5117 Use `reftex-cite-key-separator'.
5119 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5120 (reftex-mouse-view-crossref): Explain why point is set.
5122 * textmodes/reftex-global.el: Whitespace changes.
5124 * textmodes/reftex-index.el: Move provide statement to end of
5126 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5127 (reftex-index-visit-phrases-buffer): Set marker when visiting
5128 buffer. This allows for returning from the phrases file to the
5129 file one was just editing instead of the file where the last
5130 phrases was added from.
5131 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5132 punctuation syntax as it usually is not used as string quote in
5133 TeX-related modes and may occur unmatched. The change also
5134 prevents fontification of quoted content.
5135 (reftex-index-phrases-mode): Use it.
5137 * textmodes/reftex-parse.el (reftex-parse-from-file):
5138 Move backward one char if a `\' was matched after a section macro.
5139 (reftex-parse-from-file): Use beginning of match instead of end as
5142 * textmodes/reftex-ref.el: Adapt creation of
5143 `reftex-<package>-<macro>' functions to new structure of
5144 `reftex-ref-style-alist'.
5145 (reftex-reference): Use `reftex-ref-style-list' function.
5146 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5147 reference macro if `reftex-ref-macro-prompt' is non-nil.
5148 (reftex-reference): Pass refstyle to `reftex-format-special'.
5149 Determine reference macro by looking at
5150 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5151 Use only one special format function.
5152 (reftex-varioref-vref, reftex-fancyref-fref)
5153 (reftex-fancyref-Fref): Remove definitions. The functions are now
5154 generated from `reftex-ref-style-alist'.
5155 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5157 (reftex-format-special): New function.
5159 * textmodes/reftex-sel.el
5160 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5161 of `reftex-ref-style-alist'. Remove code for testing macro type.
5162 (reftex-select-toggle-varioref)
5163 (reftex-select-toggle-fancyref): Remove.
5164 (reftex-select-cycle-ref-style-internal)
5165 (reftex-select-cycle-ref-style-forward)
5166 (reftex-select-cycle-ref-style-backward): New functions.
5167 (reftex-select-label-map): Use `v' and `V' for general cycling
5168 through reference styles. Add `p' for switching between number
5169 and page reference types.
5171 * textmodes/reftex-toc.el (reftex-re-enlarge):
5172 Call `enlarge-window' only if there is something to do because in Emacs
5173 the horizontal version throws an error even if the parameter is 0.
5175 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5176 (reftex-plug-into-AUCTeX): Doc fix.
5177 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5178 string. Adapt to new name.
5179 (reftex-ref-style-alist): Change structure so that it is not
5180 possible to use multiple different package names within a style.
5181 Remove the symbols for symbols for macro type distinction.
5182 Add characters for macro selection.
5183 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5184 (reftex-create-bibtex-footer): New variables.
5185 (reftex-format-ref-function): Mention third argument of special
5187 (reftex-ref-style-alist, reftex-ref-style-default-list):
5189 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5190 to new implementation. Mark as obsolete. Add compatibility code
5191 for honoring the variable values in case they are set.
5192 (reftex-cite-format-builtin, reftex-bibliography-commands):
5193 Add support for ConTeXt.
5194 (reftex-format-ref-function, reftex-format-cite-function):
5196 (reftex-cite-key-separator): New variable.
5198 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5199 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5200 `reftex-syntax-table' because parens have to retain their paren
5201 syntax in order for parsing of BibTeX entries like @book(...) to
5203 (reftex-in-comment): Do not error out if `comment-start-skip' is
5204 not set. Deal correctly with escaped comment characters.
5205 (reftex-tie-multifile-symbols): Add doc string.
5206 Initialize `reftex-ref-style-list'.
5207 (reftex-untie-multifile-symbols): Add doc string.
5208 (reftex-add-index-macros): Doc fix.
5209 (reftex-ref-style-activate, reftex-ref-style-toggle)
5210 (reftex-ref-style-list): New functions.
5211 (reftex-mode-menu): Use them. Adapt to new structure of
5212 `reftex-ref-style-alist'.
5213 (reftex-select-with-char): Kill the RefTeX Select buffer when
5215 (reftex-remove-if): New function.
5216 (reftex-erase-all-selection-and-index-buffers)
5217 (reftex-mode-menu): Reference styles are now computed from
5218 `reftex-ref-style-alist'. Fix typo.
5219 (reftex-report-bug): New function.
5220 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5221 algorithms with O(n log n). Introduce optional argument SORT (not
5224 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5226 Enhancements for triple-quote string syntax.
5227 * progmodes/python.el (python-syntax-propertize-function):
5228 Match both quote cases in one regexp.
5229 (python-syntax-stringify): Handle matches properly.
5231 2012-09-30 Juri Linkov <juri@jurta.org>
5233 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5234 to nil around the call to `insert' to prevent
5235 directory time modification by lock_file. (Bug#2295)
5236 * tar-mode.el (tar-summarize-buffer): Idem.
5238 2012-09-30 Juri Linkov <juri@jurta.org>
5240 * facemenu.el (list-colors-sort): Add option "Luminance".
5241 (list-colors-sort-key): Implement it.
5243 * vc/diff-mode.el (diff-refine-removed):
5244 * vc/ediff-init.el (ediff-fine-diff-A):
5245 * vc/smerge-mode.el (smerge-refined-removed):
5246 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5248 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5250 * term/ns-win.el (x-file-dialog): New function.
5252 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5254 * ido.el (ido-max-directory-size): Default to nil; the current
5255 default is small for POSIX systems, and impractical on Windows 7
5256 now that lstat returns directory sizes for NTFS.
5258 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5260 In buffer display functions handle window-height/window-width
5261 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5262 * window.el (window--display-buffer): New argument ALIST.
5263 Obey window-height and window-width alist entries.
5264 (window--try-to-split-window): New argument ALIST.
5265 Bind window-combination-limit to t when the window's size shall be
5266 changed and window-combination-limit equals `window-size'.
5267 (display-buffer-in-atom-window)
5268 (display-buffer-in-major-side-window)
5269 (display-buffer-in-side-window, display-buffer-same-window)
5270 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5271 (display-buffer-pop-up-window, display-buffer-below-selected)
5272 (display-buffer-at-bottom, display-buffer-in-previous-window)
5273 (display-buffer-use-some-window): Adjust all callers of
5274 window--display-buffer and window--try-to-split-window.
5275 (fit-frame-to-buffer): New option.
5276 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5278 (display-buffer-in-major-side-window): Evaluate window-height /
5279 window-width alist entries.
5281 * help.el (temp-buffer-resize-frames)
5282 (temp-buffer-resize-regexps): Remove options.
5283 (temp-buffer-resize-mode): Adjust doc-string.
5284 (resize-temp-buffer-window): Don't consult
5285 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5286 temp-buffer-resize-frames.
5288 * dired.el (dired-mark-pop-up):
5289 Call display-buffer-below-selected with a fit-window-to-buffer alist
5292 2012-09-30 Chong Yidong <cyd@gnu.org>
5294 * server.el (server-host): Document the security implications.
5295 (server-auth-key): Doc fix.
5297 * startup.el (initial-buffer-choice): Doc fix.
5299 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5301 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5304 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5306 * help-fns.el (help-fns--obsolete): Fix last change.
5308 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5310 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5311 (minor-mode-map-alist): Remove redundant code.
5313 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5314 visited in a buffer.
5315 (cvs-insert-visited-file): New function.
5316 (find-file-hook): Use it.
5318 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5320 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5322 (log-edit-empty-buffer-p): Don't require a space after a header.
5324 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5326 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5328 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5329 a proper minor-mode.
5331 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5333 2012-09-29 Glenn Morris <rgm@gnu.org>
5335 * winner.el (winner-mode): Remove variable (let define-minor-mode
5337 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5339 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5340 (winner-mode): Use define-minor-mode.
5342 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5343 the full definition in loaddefs, rather than duplicating it.
5345 * help-macro.el (three-step-help): No need to autoload defcustom.
5347 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5348 (inferior-lisp-program, inferior-lisp-load-command)
5349 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5350 No need to autoload defcustoms.
5352 * hippie-exp.el (hippie-expand-try-functions-list)
5353 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5354 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5355 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5356 (hippie-expand-only-buffers): No need to autoload defcustoms.
5357 * progmodes/vhdl-mode.el (vhdl-line-expand):
5358 Explicitly load hippie-exp, so it does not get autoloaded
5359 while hippie-expand-try-functions-list is let-bound.
5361 2012-09-28 Glenn Morris <rgm@gnu.org>
5363 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5365 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5366 Only "cl.el" counts as cl these days.
5368 2012-09-28 Juri Linkov <juri@jurta.org>
5370 Display archive errors in the echo area instead of inserting
5373 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5374 to STDERR-TEST that can be a regexp matching a successful output.
5375 Create a temporary file and redirect stderr to it. Search for
5376 STDERR-TEST in the stderr output and display it in the echo area
5377 if no match is found.
5378 (archive-extract-by-file): New function like
5379 `archive-extract-by-stdout' but extracting archives to files
5380 and looking for successful matches in stdout. Function body is
5381 mostly copied from `archive-rar-extract'.
5382 (archive-rar-extract): Use `archive-extract-by-file'.
5383 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5385 2012-09-28 Leo Liu <sdl.web@gmail.com>
5387 * pcomplete.el (pcomplete-show-completions):
5388 Use minibuffer-message to make pcomplete usable in minibuffer.
5390 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5392 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * type-break.el: Use lexical-binding.
5395 (type-break-mode): Use define-minor-mode.
5397 * emacs-lisp/pcase.el (pcase--mark-used): New.
5398 (pcase--u1): Use it (bug#12512).
5400 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5401 in load-history with the right file name.
5403 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5405 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5406 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5407 (doc-view-get-bounding-box): Make bounding box slicing work for
5408 ODF and DVI documents.
5410 2012-09-28 Glenn Morris <rgm@gnu.org>
5412 * type-break.el (type-break-mode, type-break-interval)
5413 (type-break-good-rest-interval, type-break-keystroke-threshold):
5414 No need to autoload.
5415 (type-break-good-rest-interval, type-break-keystroke-threshold):
5418 2012-09-28 Chong Yidong <cyd@gnu.org>
5420 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5423 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5427 2012-09-27 Glenn Morris <rgm@gnu.org>
5429 * faces.el (x-display-name): Declare (for without-x builds).
5431 * linum.el (linum-format): Don't autoload it. Improve :type.
5433 * progmodes/tcl.el: Don't require outline when compiling.
5434 (outline-regexp, outline-level): Declare.
5435 * textmodes/sgml-mode.el: Don't require outline when compiling.
5436 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5438 * term.el (term-ansi-reset):
5439 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5441 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5442 files for RCS and SCCS. (Bug#9781)
5444 2012-09-27 Chong Yidong <cyd@gnu.org>
5446 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5447 change; value should be t.
5449 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5451 * image-mode.el: Use lexical-binding.
5452 (image-mode-winprops): Use t to stand for the window of
5453 a buffer that's not displayed.
5454 * doc-view.el (doc-view-new-window-function): Handle the new
5456 (doc-view-enlarge): Make it a real nop if the size is not changed.
5457 (doc-view-display): Handle the case where the buffer is not (yet?)
5458 displayed in any window.
5459 (doc-view-saved-settings): New var.
5460 (doc-view-mode): Use it.
5461 (doc-view-fallback-mode): Set it.
5463 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5464 Set lexical-binding.
5465 (minibuffer-eldef-shorten-default): New var.
5466 (minibuffer-default-in-prompt-regexps): Use it for new default.
5467 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5469 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5471 * international/uni-bidi.el:
5472 * international/uni-category.el:
5473 * international/uni-name.el:
5474 * international/uni-numeric.el: Regenerate.
5476 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5477 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * profiler.el: New file.
5481 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5484 (testcover-reinstrument): Simplify with CSE.
5486 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5488 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5490 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5492 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5493 (verilog-auto-input, verilog-auto-insert-lisp)
5494 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5495 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5496 (verilog-auto-unused, verilog-auto-wire)
5497 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5498 newline. Reported by Andrew Jones.
5499 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5500 Reported by Brad Dobbie.
5501 (verilog-batch-delete-trailing-whitespace):
5502 Create verilog-batch-delete-trailing-whitespace.
5503 Reported by Brad Dobbie.
5504 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5505 parameters from another module. Reported by Dan Katz.
5506 (verilog-auto, verilog-auto-assign-modport)
5507 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5508 AUTOINOUTMODPORT for UVM interface module shell generation.
5509 Reported by Brad Dobbie.
5510 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5512 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5513 Reported by Matt Martin.
5515 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5517 * window.el (window--resize-child-windows): When resizing child
5518 windows proportionally, process them in reverse order to
5519 preserve the "when splitting a window the new one gets the odd
5521 (window--resize-root-window-vertically): When resizing the
5522 minibuffer window try to affect only windows at the bottom of the
5525 2012-09-25 Chong Yidong <cyd@gnu.org>
5527 * subr.el (declare): Doc fix.
5529 * help-fns.el (help-fns--obsolete): Handle macros properly.
5531 2012-09-25 Chong Yidong <cyd@gnu.org>
5533 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5534 this function obsolete.
5536 * calendar/cal-x.el (calendar-two-frame-setup)
5537 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5538 * calendar/calendar.el (american-calendar, european-calendar)
5539 (calendar-for-loop):
5540 * comint.el (comint-dynamic-simple-complete)
5541 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5542 * desktop.el (desktop-load-default):
5543 * dired-x.el (dired-omit-here-always)
5544 (dired-hack-local-variables, dired-default-directory):
5545 * emacs-lisp/derived.el (derived-mode-class):
5546 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5547 * emacs-lock.el (toggle-emacs-lock):
5548 * epa.el (epa-display-verify-result):
5549 * epg.el (epg-sign-keys, epg-start-sign-keys)
5550 (epg-passphrase-callback-function):
5551 * eshell/esh-util.el (eshell-for):
5552 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5553 (eshell-add-to-window-buffer-names):
5554 * files.el (locate-file-completion):
5555 * imenu.el (imenu-example--create-c-index)
5556 (imenu-example--create-lisp-index)
5557 (imenu-example--lisp-extract-index-name)
5558 (imenu-example--name-and-position):
5559 * international/mule-cmds.el (princ-list):
5560 * international/mule-diag.el (decode-codepage-char):
5561 * international/mule-util.el (detect-coding-with-priority):
5562 * iswitchb.el (iswitchb-read-buffer):
5563 * mail/mailalias.el (mail-complete):
5564 * mail/sendmail.el (mail-sent-via):
5565 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5566 (mouse-major-mode-menu):
5567 * password-cache.el (password-read-and-add):
5568 * pcomplete.el (pcomplete-parse-comint-arguments):
5569 * progmodes/sh-script.el (sh-maybe-here-document):
5570 * replace.el (query-replace-regexp-eval):
5571 * savehist.el (savehist-load):
5572 * simple.el (choose-completion-delete-max-match):
5573 * term.el (term-dynamic-simple-complete):
5574 * vc/ediff-init.el (ediff-check-version):
5575 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5576 * vc/vc.el (vc-diff-switches-list):
5577 * view.el (view-return-to-alist-update): Likewise.
5579 * subr.el (eval-next-after-load, makehash, insert-string)
5580 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5582 (mode-line-inverse-video): Variable deleted.
5584 * international/mule-util.el (string-to-sequence): Remove.
5586 * calendar/calendar.el (calendar-version):
5587 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5588 (icalendar-convert-diary-to-ical):
5589 * cus-edit.el (custom-mode):
5590 * ansi-color.el (ansi-color-unfontify-region):
5591 * international/latin1-disp.el (latin1-char-displayable-p):
5592 * progmodes/cwarn.el (turn-on-cwarn-mode):
5593 * progmodes/which-func.el (which-func-update-1):
5594 Use define-obsolete-function-alias.
5596 * net/newst-backend.el (newsticker-cache-filename):
5597 * net/newst-treeview.el (newsticker-groups-filename):
5598 Fix incorrect obsolescence declaration.
5600 * allout.el (allout-passphrase-hint-string): Likewise.
5601 (allout-init): Use a declare form to mark obsolete.
5603 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5604 this applies to functions.
5606 * iswitchb.el (iswitchb-read-buffer): Move code of
5607 iswitchb-define-mode-map here, and delete that obsolete function.
5609 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5610 font-lock-reference-face.
5612 2012-09-25 Glenn Morris <rgm@gnu.org>
5614 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5617 * eshell/em-term.el (eshell-term-name):
5618 Default to term-term-name. (Bug#12485)
5620 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5622 * progmodes/python.el (python-shell-send-buffer): Better handling
5623 of "if __name__ == '__main__':" conditionals when sending the buffer.
5625 2012-09-24 Glenn Morris <rgm@gnu.org>
5627 * eshell/esh-cmd.el (eshell-find-alias-function):
5628 Tighten up file-name regexp. (Bug#12499)
5630 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5632 Enhancements for triple-quote string syntax.
5633 * progmodes/python.el (python-quote-syntax): Remove.
5634 (python-syntax-propertize-function): New value.
5635 (python-syntax-count-quotes, python-syntax-stringify):
5638 2012-09-24 Chong Yidong <cyd@gnu.org>
5640 * mail/supercite.el (sc-version): Remove obsolete function.
5641 (sc-describe): Don't mark as obsolete, since it is bound.
5642 (sc-submit-bug-report): Remove.
5644 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5645 (cvs-commit-buffer-require-final-newline): Remove.
5646 (log-edit-require-final-newline)
5647 (log-edit-changelog-full-paragraphs): Default to t.
5649 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5650 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5651 * vc/vc.el (vc-checkout-carefully): Likewise.
5653 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5654 (emerge-version): Remove.
5656 * progmodes/compile.el (compile-internal): Remove.
5657 (compilation-parse-errors-function): Fix typo.
5659 * international/mule.el (set-char-table-default): Remove.
5660 (set-coding-priority, make-coding-system, generic-char-p)
5661 (charset-list, charset-bytes, charset-id): Use declare to mark
5662 functions as obsolete.
5664 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5665 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5666 * vc/vc-hooks.el (vc-default-registered): Don't use
5667 vc-master-templates.
5669 * font-lock.el (font-lock-reference-face):
5670 Use define-obsolete-variable-alias.
5672 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5673 * calendar/calendar.el (calendar-font-lock-keywords):
5674 * calendar/diary-lib.el (diary-font-lock-keywords)
5675 (diary-fancy-font-lock-keywords):
5676 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5677 * textmodes/reftex-index.el (reftex-insert-index):
5678 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5679 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5680 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5681 * progmodes/prolog.el (prolog-font-lock-keywords):
5682 * progmodes/idlwave.el (idlwave-idl-keywords):
5683 * progmodes/ada-mode.el (ada-font-lock-keywords):
5684 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5686 2012-09-24 Glenn Morris <rgm@gnu.org>
5688 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5690 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5692 * progmodes/python.el (python-indent-line): More consistent cursor
5695 2012-09-23 Stefan Merten <smerten@oekonux.de>
5697 * textmodes/rst.el: Fix compiler warning.
5699 2012-09-23 Roland Winkler <winkler@gnu.org>
5701 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5702 Transcribe also LaTeX hyphenation.
5703 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5704 bibtex-reformat-previous-options.
5706 2012-09-23 Roland Winkler <winkler@gnu.org>
5708 * proced.el (proced-renice-command): New variable.
5709 (proced-marked-processes): New function.
5710 (proced-with-processes-buffer): New macro.
5711 (proced-send-signal): Use them.
5712 (proced-renice): New command bound to r.
5714 2012-09-23 Roland Winkler <winkler@gnu.org>
5716 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5717 ibuffer-saved-filter-groups has one element, shortcut the call of
5718 completing-read. (Bug#12331)
5720 2012-09-23 Chong Yidong <cyd@gnu.org>
5722 * bindings.el (mode-line-toggle-read-only):
5723 * bs.el (bs-toggle-readonly):
5724 * buff-menu.el (Buffer-menu-toggle-read-only):
5725 * dired.el (dired-toggle-read-only):
5726 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5728 2012-09-23 Chong Yidong <cyd@gnu.org>
5730 * image.el (image-type-available-p): Adapt to init-image-library
5733 2012-09-22 Juri Linkov <juri@jurta.org>
5735 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5736 `dired-toggle-read-only'. (Bug#12462)
5738 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5740 * subr.el (temp-output-buffer-show): New function.
5741 (with-output-to-temp-buffer): Call temp-output-buffer-show
5742 instead of internal-temp-output-buffer-show.
5744 2012-09-22 Chong Yidong <cyd@gnu.org>
5746 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5749 * repeat.el (repeat): Doc fix (Bug#12348).
5751 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5754 * simple.el (shell-command-on-region): Doc fix.
5755 (read-only-mode): Doc fix.
5757 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5759 * emacs-lisp/timer.el (run-with-idle-timer)
5760 (timer-activate-when-idle): Warn against reinvoking an idle timer
5761 from within its own timer action. (Bug#12447)
5763 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5765 * cus-start.el (window-combination-limit): Add new optional
5767 * window.el (temp-buffer-window-show)
5768 (window--try-to-split-window): Handle new values of
5769 window-combination-limit (Bug#1806).
5770 (split-window): Test window-combination-limit for t instead of
5772 (display-buffer-at-bottom): New buffer display action function.
5773 * help.el (temp-buffer-resize-regexps): New option.
5774 (temp-buffer-resize-mode): Rewrite doc-string.
5775 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5776 Don't resize reused window. Suggested by Glenn Morris.
5778 2012-09-22 Stefan Merten <smerten@oekonux.de>
5780 * textmodes/rst.el: Revamp section title faces.
5781 (rst-official-version)
5782 (rst-package-emacs-version-alist): Sync with official version
5784 (rst-faces-defaults, rst-set-level-default)
5785 (rst-level-face-max, rst-level-face-base-color)
5786 (rst-level-face-base-light, rst-level-face-format-light)
5787 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5788 (rst-adornment-faces-alist): Match new setup.
5789 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5790 (rst-level-5, rst-level-6): New faces.
5792 2012-09-22 Chong Yidong <cyd@gnu.org>
5794 * simple.el (undo): Handle indirect buffers (Bug#8207).
5796 2012-09-21 Leo Liu <sdl.web@gmail.com>
5798 IDO: Disable match re-ordering for buffer switching.
5799 * ido.el (ido-buffer-disable-smart-matches): New variable.
5800 (ido-set-matches-1): Use it. (Bug#2042)
5802 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5804 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5805 Fix 2011-05-17 change. (Bug#12418)
5807 2012-09-21 Leo Liu <sdl.web@gmail.com>
5809 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5811 2012-09-21 Glenn Morris <rgm@gnu.org>
5813 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5814 Be more robust about locating simple.el.
5816 2012-09-21 Glenn Morris <rgm@gnu.org>
5818 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5820 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5822 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5824 2012-09-20 Juri Linkov <juri@jurta.org>
5826 * replace.el (query-replace-read-from): Use `read-regexp' instead
5827 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5828 (occur-read-primary-args): Use `read-regexp' instead of
5830 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5831 `read-from-minibuffer'.
5832 * isearch.el (isearch-occur): Use `read-regexp' instead of
5834 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5835 `read-from-minibuffer'.
5836 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5837 of `read-string'. (Bug#7567)
5839 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5840 and allow accepting a list of strings prepended to a list of
5841 standard default values. Doc fix. (Bug#12321)
5843 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5845 * replace.el (read-regexp): Don't add ": " when PROMPT already
5846 ends with a colon and space. (Bug#12321)
5848 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5850 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5853 2012-09-20 Stefan Merten <smerten@oekonux.de>
5855 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5856 Fixes feature request bug#11711.
5857 (rst-mode): Create `imenu-create-index-function'.
5858 (rst-get-stripped-line): Delete after refactoring.
5859 (rst-section-tree, rst-section-tree-rec)
5860 (rst-section-tree-point): Refactor and document properly.
5861 (rst-imenu-find-adornments-for-position)
5862 (rst-imenu-convert-cell, rst-imenu-create-index):
5865 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5868 (macroexp--expand-all): Use it.
5869 (macroexp--funcall-and-return): Remove by folding it into its sole
5870 caller (macroexp--warn-and-return).
5871 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5872 Use macroexp--obsolete-warning.
5874 * calc/calc.el: Fix last change by removing the whole chunk, since it
5875 was only needed back when Calc was not bundled.
5877 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5879 * emacs-lisp/debug.el (debug): Restore assignment to
5880 debugger-old-buffer removed on 2012-09-08.
5882 2012-09-20 Juri Linkov <juri@jurta.org>
5884 * dired-aux.el (dired-diff): Remove (require 'diff) since
5885 `diff-latest-backup-file' is now autoloaded.
5887 2012-09-20 Chong Yidong <cyd@gnu.org>
5889 * vc/diff.el (diff-latest-backup-file): Autoload.
5891 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * calc/calc.el: Remove redundant autoload shape check.
5894 (sel-mode): Don't defvar.
5895 (calc-get-stack-element): Add `sel-mode' arg instead.
5896 (calc-top, calc-top-list): Pass it this additional argument.
5897 * calc/calc-store.el (calc-store-map):
5898 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5899 (calc-map-equation, calc-outer-product, calc-inner-product):
5900 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5902 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5904 2012-09-19 Juri Linkov <juri@jurta.org>
5906 * dired-aux.el (dired-diff): Add (require 'diff) because
5907 `diff-latest-backup-file' is not autoloaded.
5908 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5909 of `dired-get-filename' to t to not report error when there is
5910 no default file on the current line.
5912 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5914 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5915 macroexp--eval-if-compile.
5916 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5917 (macroexp--expand-all): Use them (bug#12371).
5919 * doc-view.el (doc-view-guess-paper-size)
5920 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5922 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5924 New feature: set optimal slice from BoundingBox information.
5925 * doc-view.el (doc-view-mode-map): Add keybinding.
5926 (doc-view-menu): Add menu entry.
5927 (doc-view-set-slice): Adapt docstring.
5928 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5929 (doc-view-scale-bounding-box)
5930 (doc-view-set-slice-from-bounding-box): New functions.
5931 (doc-view-paper-sizes): New defvar.
5933 2012-09-19 Glenn Morris <rgm@gnu.org>
5935 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5936 (byte-compile-log-warning): Autoload. (Bug#12371)
5938 * calendar/calendar.el (calendar-american-month-header)
5939 (calendar-european-month-header, calendar-iso-month-header)
5940 (calendar-month-header): New options.
5941 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5942 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5944 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5946 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5948 2012-09-18 Juri Linkov <juri@jurta.org>
5950 * dired-aux.el (dired-diff): Restore original functionality of
5951 getting the default value, but keep new feature of using the
5952 latest existing backup file (`diff-latest-backup-file').
5954 2012-09-18 Juri Linkov <juri@jurta.org>
5956 * dired.el (dired-mark): If the region is active in Transient Mark
5957 mode, mark all files in the active region. Doc fix.
5958 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5959 Doc fix. (Bug#10624)
5961 2012-09-18 Juri Linkov <juri@jurta.org>
5963 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5964 attributes for M-n are pulled from the file at point.
5965 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5966 Suggested by Drew Adams. (Bug#10624)
5968 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5970 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5971 whitespace after "end".
5972 (ruby-do-end-to-brace): Collapse block to one line if it fits
5975 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5977 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5979 (debug): Don't remove debugger window when debugger is expected
5982 2012-09-18 Chong Yidong <cyd@gnu.org>
5984 * custom.el (defface): Doc fix.
5986 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5988 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5990 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5991 to initialize query-on-exit; then test that instead (bug#12288).
5993 2012-09-17 Stefan Merten <smerten@oekonux.de>
5995 * textmodes/rst.el: Add support for `testcover'.
5996 (rst-defcustom-testcover, rst-testcover-add-compose)
5997 (rst-testcover-add-1value): New functions.
5998 (rst-portable-mark-active-p): Replace by `use-region-p'.
5999 (rst-update-section, rst-classify-adornment)
6000 (rst-find-title-line): Mark `1value' forms.
6001 (rst-classify-adornment): Remove superfluous form.
6002 (rst-update-section, rst-get-adornments-around)
6003 (rst-adornment-complete-p, rst-get-next-adornment)
6004 (rst-adjust, rst-promote-region)
6005 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6006 (rst-find-pfx-in-region, rst-section-tree-rec)
6007 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6008 (rst-toc-node, rst-toc, rst-forward-section)
6009 (rst-iterate-leftmost-paragraphs)
6010 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6011 (rst-bullet-list-region)
6012 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6013 (rst-compile-find-conf, rst-compile)
6014 (rst-repeat-last-character): Fix style.
6016 2012-09-17 Chong Yidong <cyd@gnu.org>
6018 * comint.el (comint--complete-file-name-data): Don't add a space
6019 if the status is `sole'; that adds a gratuitous space in the
6020 completion-cycling case (Bug#12092).
6022 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6024 2012-09-17 Richard Stallman <rms@gnu.org>
6026 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6027 only in the mime-shown mode, not in raw mode.
6028 (rmail-mime): Toggle off mime by displaying the message without
6029 mime processing. (Bug#12305)
6031 * mail/rmail.el (rmail-retry-failure):
6032 Turn off mime processing first. (Bug#12037)
6034 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6036 2012-09-17 Chong Yidong <cyd@gnu.org>
6038 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6039 (shell-dynamic-complete-functions): Convert to defcustom.
6040 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6042 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6043 * comint.el (comint-prompt-read-only):
6044 * custom.el (defcustom):
6045 * hi-lock.el (hi-lock-mode):
6046 * ibuffer.el (ibuffer-formats):
6047 * ielm.el (ielm-prompt-read-only):
6048 * novice.el (disable-command):
6049 * saveplace.el (toggle-save-place):
6050 * speedbar.el (speedbar-supported-extension-expressions):
6051 * startup.el (auto-save-list-file-prefix, init-file-user)
6052 (after-init-hook, inhibit-startup-echo-area-message):
6053 * strokes.el (strokes-help):
6054 * time-stamp.el (time-stamp):
6055 * calendar/calendar.el (calendar, diary-file):
6056 * calendar/diary-lib.el (diary-mail-entries, diary)
6057 (diary-list-entries-hook):
6058 * calendar/holidays.el (holidays, calendar-holidays):
6059 * calendar/lunar.el (lunar-phases):
6060 * calendar/solar.el (sunrise-sunset):
6061 * emulation/edt.el (edt-load-keys):
6062 * emulation/viper.el (viper-mode):
6063 * eshell/em-alias.el (eshell-command-aliases-list):
6064 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6065 * international/ogonek.el (ogonek-information):
6066 * net/tramp-cmds.el (tramp-bug):
6067 * net/quickurl.el (quickurl-reread-hook-postfix):
6068 * play/decipher.el (decipher-font-lock-keywords):
6069 * progmodes/cc-styles.el (c-set-style):
6070 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6071 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6072 * progmodes/octave-mod.el (octave-mode):
6073 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6074 * progmodes/verilog-mode.el (verilog-read-defines):
6075 * textmodes/two-column.el (2C-mode): Likewise.
6077 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6079 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6080 that holds many addresses.
6082 2012-09-16 Chong Yidong <cyd@gnu.org>
6084 * align.el (align-areas): Call the indication function with
6085 positions instead of markers for arguments (Bug#12343).
6087 * files.el (parse-colon-path): Use split-string (Bug#12351).
6089 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6090 (display-buffer-function): Mark as obsolete.
6092 * progmodes/compile.el (compilation-parse-errors): Accept list
6093 values similar to font-lock-keywords (Bug#12136).
6094 Suggested by Oleksandr Manzyuk.
6095 (compilation-error-regexp-alist): Doc fix.
6097 2012-09-15 Glenn Morris <rgm@gnu.org>
6099 * version.el (emacs-bzr-version-bzr): New function.
6100 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6102 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6103 checkouts, check the parent dirstate matches the branch.
6104 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6107 * version.el (emacs-bzr-version): Doc fix.
6108 (emacs-bzr-version-dirstate): New function.
6109 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6110 is local try and check that it matches the branch. If not, just
6111 use dirstate information. (Bug#12441)
6113 2012-09-14 Juri Linkov <juri@jurta.org>
6115 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6118 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6120 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6122 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6123 Remove obsolete byte-compiler hack that tried to silence some warnings.
6124 (edebug-submit-bug-report): Remove.
6125 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6126 Remove aliases, use the un-prefixed name instead.
6127 (edebug-pop-to-buffer): Consider other frames.
6128 (edebug-original-read):: Make it more obvious that it's always defined.
6129 (edebug--make-form-data-entry, edebug--form-data-name)
6130 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6131 single-dashed name, and implement with cl-defstruct.
6132 (edebug-set-form-data-entry): Use the standard accessors.
6133 (edebug-make-top-form-data-entry): Use push.
6134 (edebug-no-match): Drop useless `funcall'.
6135 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6137 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6138 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6139 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6140 (easy-menu-define, with-custom-print): Remove redundant specs.
6141 (edebug-outside-overriding-local-map)
6142 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6143 (edebug--display): Bind unread-command-events directly to nil rather
6144 than binding it to unread-command-events and later setting it to nil.
6145 (edebug--display): Kill edebug-eval-buffer here...
6146 (edebug--recursive-edit): ...rather than here.
6147 Bind standard-output and standard-input.
6148 (edebug-eval): Check cl-macroexpand-all is fboundp.
6149 (edebug-temp-display-freq-count): Fix last change.
6151 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6152 * subr.el (noreturn, 1value): Add `debug' spec.
6153 * emacs-lisp/advice.el: Require cl-lib.
6154 (ad-copy-tree): Remove, use copy-tree instead.
6155 (ad-dolist): Remove use dolist or cl-dolist instead.
6156 (ad-do-return): Remove, use cl-return instead.
6157 (defadvice): Add `debug' spec.
6159 2012-09-13 Juri Linkov <juri@jurta.org>
6161 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6164 2012-09-13 Glenn Morris <rgm@gnu.org>
6166 * calc/calc.el (math-compose-expr):
6167 * calc/calc-ext.el (math-compose-expr):
6168 * progmodes/cc-defs.el (cl-macroexpand-all):
6169 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6170 (cl-macroexpand-all): Update declarations.
6172 * vc/vc.el: No need to require ediff.
6173 (ediff-load-version-control): Declare.
6174 (ediff-vc-internal): Fix declaration.
6175 (vc-version-ediff): Require ediff.
6177 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6179 Use a more backwards-compatible timer format (Bug#12430).
6180 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6181 being right after USECS, as that better supports old code that
6182 inadvisedly looked directly at the timer vector.
6184 2012-09-13 Kenichi Handa <handa@gnu.org>
6186 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6187 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6188 `coding-priority' property of these language environment.
6190 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6192 Fix glitches caused by addition of psec to timers (Bug#12430).
6193 * image.el (image-animate-timer):
6194 * time.el (display-time-world-timer):
6195 Use timer--function and timer--args rather than raw access to
6198 2012-09-13 Glenn Morris <rgm@gnu.org>
6200 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6201 If not compiling a file, try using load-file-name.
6203 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6205 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6207 (edebug-update-eval-list): Use `push'.
6209 * emacs-lisp/edebug.el: Use lexical-binding.
6210 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6211 Mark unused args with underscore.
6212 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6213 (edebug-form-data): Use defvar-local.
6214 (edebug-make-before-and-after-form, edebug-make-after-form):
6216 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6217 Not dynamically scoped any more.
6218 (edebug--enter-trace): Add arguments `function' and `args'.
6219 Rename from edebug-enter-trace.
6220 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6221 (edebug--update-coverage): Add `after-index' and `value' args.
6222 Rename from edebug-update-coverage.
6223 (edebug-slow-after): Call it accordingly.
6224 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6225 edebug-recursive-edit.
6226 (edebug--display): Call it accordingly. Add args `value',
6227 `offset-index', and `arg-mode'. Rename from edebug-display.
6228 (edebug-debugger, edebug): Call it accordingly.
6229 (edebug-eval-display-list): Use dolist.
6231 2012-09-12 Juri Linkov <juri@jurta.org>
6233 * info.el (Info-search): Don't check for isearch-mode and
6234 isearch-regexp before let-binding search-spaces-regexp to
6235 Info-search-whitespace-regexp.
6236 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6237 search-whitespace-regexp if isearch-lax-whitespace or
6238 isearch-regexp-lax-whitespace is non-nil.
6239 (Info-mode): Don't set local variable search-whitespace-regexp.
6240 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6242 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6244 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6245 (debugger-env-macro): Remove support for unread-command-char.
6247 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6248 the temporary map re-appearing on emulation-mode-map-alists.
6250 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6253 * ehelp.el (with-electric-help): Accept functions in
6254 electric-help-form-to-execute.
6255 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6256 And replace unread-command-char -> unread-command-events.
6258 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6260 Sync with Tramp 2.2.6.
6262 * net/tramp.el (tramp-accept-process-output): Don't use
6263 JUST-THIS-ONE in the XEmacs case.
6265 * net/trampver.el: Update release number.
6267 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6269 * emacs-lisp/debug.el (debugger-previous-window-height):
6271 (debug): When debugger-jumping-flag is non-nil try to restore
6272 height of debugger window. (Bug#8789)
6274 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6277 overriding-local-map and pre/post-command-hook here.
6278 (edebug-recursive-edit): Do it here instead (bug#12345).
6279 (edebug-outside-unread-command-char): Remove all uses of
6280 unread-command-char.
6282 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6283 inhibit-debugger is bound instead.
6285 2012-09-11 Bastien Guerry <bzg@gnu.org>
6287 * subr.el (set-temporary-overlay-map): Add a docstring.
6290 2012-09-11 Bastien Guerry <bzg@gnu.org>
6292 * minibuffer.el (completion-table-subvert): Fix docstring.
6295 2012-09-11 Bastien Guerry <bzg@gnu.org>
6297 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6299 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6301 * progmodes/sql.el: Version 3.1
6302 (sql-db2-escape-newlines): New variable.
6303 (sql-escape-newlines-filter): Use it.
6305 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6307 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6309 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6311 * vc/diff-mode.el (diff-mode-menu):
6312 Bind diff-remove-trailing-whitespace.
6314 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6317 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6318 (emacs-lisp-byte-code-mode): New functions.
6319 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6320 (eval-defun-2): Remove bogus interactive spec.
6321 (lisp-indent-line): Remove redundant whole-exp code, now done in
6322 indent-according-to-mode.
6323 (save-match-data): Remove redundant indent data.
6325 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6328 2012-09-09 Juri Linkov <juri@jurta.org>
6330 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6331 (replace-lax-whitespace, query-replace-regexp)
6332 (query-replace-regexp-eval, replace-regexp): Doc fix.
6333 (perform-replace, replace-highlight): Let-bind
6334 isearch-lax-whitespace to replace-lax-whitespace and
6335 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6337 * isearch.el (isearch-query-replace): Let-bind
6338 replace-lax-whitespace to isearch-lax-whitespace and
6339 replace-regexp-lax-whitespace to
6340 isearch-regexp-lax-whitespace. (Bug#10885)
6342 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6346 2012-09-09 Alan Mackenzie <acm@muc.de>
6348 * progmodes/cc-engine.el (c-state-cache-init):
6349 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6350 (c-record-parse-state-state):
6351 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6353 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6355 * register.el (register-separator): Rename from
6356 separator-register. All uses changed. Doc fix.
6357 (register): Fix version.
6359 2012-09-09 Chong Yidong <cyd@gnu.org>
6361 * replace.el (query-replace-map): Bind four new symbols for
6362 requesting window scrolling.
6364 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6365 query-replace-map (Bug#8948).
6367 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6369 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6370 since they are now in query-replace-map.
6372 * window.el (scroll-other-window-down): Make the arg optional.
6374 2012-09-09 Chong Yidong <cyd@gnu.org>
6376 * files.el (hack-local-variables-confirm): Use quit-window to kill
6377 the *Local Variables* buffer.
6379 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6381 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6382 not just expect to be at its beginning. Adjust callees.
6383 Succeed when do-end block has no space before the pipe character.
6384 (ruby-brace-to-do-end): When the original block is one-liner,
6385 convert to multiline. Reindent the result.
6387 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6389 * register.el (register): New group.
6390 (separator-register): New user option.
6391 (increment-register): Route it to `append-to-register', if
6392 register contains text. Implication is that `C-x r +' can now be
6393 used for appending to a text register (bug#12217).
6394 (append-to-register, prepend-to-register): Add separator based on
6395 `separator-register'.
6397 2012-09-08 Alan Mackenzie <acm@muc.de>
6399 AWK Mode: make auto-newline work when there's "==" in the pattern.
6400 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6402 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6403 Test more rigorously for "=" token.
6405 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6407 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6408 Only fail when reached LIMIT.
6410 2012-09-08 Chong Yidong <cyd@gnu.org>
6412 * dired.el (dired-mode-map): Don't bind M-=.
6414 * dired-aux.el (dired-diff): Use backup file as default.
6416 2012-09-08 Drew Adams <drew.adams@oracle.com>
6418 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6420 2012-09-08 Chong Yidong <cyd@gnu.org>
6422 * subr.el (syntax-after, syntax-class): Doc fix.
6424 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6426 * window.el (display-buffer-in-previous-window): New buffer
6427 display action function.
6429 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6430 (debugger-previous-window): New variable.
6431 (debug): Rewrite using display-buffer-in-previous-window,
6432 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6434 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6436 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6438 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6440 * progmodes/python.el (python-shell-send-string):
6441 When default-directory is remote, create temp file on remote
6443 (python-shell-send-file): When file is remote, pass local view of
6444 file paths to remote Python interpreter. (Bug#12340)
6446 2012-09-07 Chong Yidong <cyd@gnu.org>
6448 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6450 * files.el (after-find-file): Don't fail on a read-only buffer if
6451 require-final-newline is `visit' or `visit-save' (Bug#11156).
6453 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6455 * userlock.el (ask-user-about-supersession-threat):
6456 Use read-char-choice (Bug#12093).
6458 2012-09-07 Chong Yidong <cyd@gnu.org>
6460 * subr.el (buffer-narrowed-p): New function.
6462 * ses.el (ses-widen):
6463 * simple.el (count-words--buffer-message):
6464 * net/browse-url.el (browse-url-of-buffer): Use it.
6466 * simple.el (count-words-region): Don't signal an error if there
6467 is a non-nil prefix arg and the mark is not set.
6469 * help.el (describe-key-briefly): Allow the message to be seen
6470 when invoked from the minibuffer (Bug#7014).
6472 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6474 * progmodes/ruby-mode.el (ruby-end-of-defun)
6475 (ruby-beginning-of-defun): Simplify, allow indentation before
6476 block beginning and end keywords.
6477 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6478 (ruby-end-of-defun): Expect that the point is at the beginning of
6481 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6483 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6485 (cl--make-usage-args): Strip _ from argument names.
6487 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6489 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6490 obsolete alias speedbar-key-map.
6491 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6492 (vhdl-index-menu-init): Don't use obsolete variable
6493 font-lock-maximum-size.
6495 2012-09-06 Chong Yidong <cyd@gnu.org>
6497 * frame.el (window-system-version): Mark as obsolete.
6499 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6500 of obsolete variable speedbar-key-map.
6502 2012-09-06 Juri Linkov <juri@jurta.org>
6504 * replace.el (replace-lax-whitespace): New defcustom.
6505 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6506 (replace-string, replace-regexp): Mention it in docstrings.
6507 (perform-replace, replace-highlight): Let-bind
6508 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6509 to the values of replace-lax-whitespace and regexp-flag.
6510 Don't let-bind search-whitespace-regexp. (Bug#10885)
6512 * isearch.el (isearch-query-replace): Let-bind
6513 replace-lax-whitespace instead of let-binding
6514 replace-search-function and replace-re-search-function.
6515 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6516 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6517 (isearch-toggle-symbol): Set isearch-regexp to nil
6518 in isearch-word mode (like in isearch-toggle-word).
6520 2012-09-06 Juri Linkov <juri@jurta.org>
6522 * replace.el (replace-search-function)
6523 (replace-re-search-function): Set default values to nil.
6524 (perform-replace): Let-bind isearch-related variables based on
6525 replace-related values, call `isearch-search-fun' and let-bind
6526 the result to `search-function'. Remove code that sets
6527 `search-function' and `search-string' separately for
6529 (replace-highlight): Add new argument `delimited-flag' and
6530 rename other arguments to the names used in `perform-replace'.
6531 Let-bind `isearch-word' to the argument `delimited-flag'.
6532 (Bug#10885, bug#10887)
6534 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6536 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6537 ruby-beginning-of-indent, simplify, allow all keywords to have
6538 indentation before them.
6539 (ruby-beginning-of-indent): Adjust for above. Search until the
6540 found point is not inside a string or comment.
6541 (ruby-font-lock-keywords): Allow symbols to start with "@"
6542 character, give them higher priority than variables.
6543 (ruby-syntax-propertize-function)
6544 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6545 matchers. Expression expansions are not comments when inside a
6546 string, and there comment syntax status is irrelevant.
6547 (ruby-match-expression-expansion): New function. Check that
6548 expression expansion is inside a string, and it's not escaped.
6549 (ruby-font-lock-keywords): Use it.
6551 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6553 * help.el (temp-buffer-max-height): New default value.
6554 (temp-buffer-resize-frames): New option.
6555 (resize-temp-buffer-window): Optionally resize frame.
6557 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6558 (fit-frame-to-buffer): New function.
6560 2012-09-05 Glenn Morris <rgm@gnu.org>
6562 * emulation/cua-rect.el (cua--init-rectangles):
6563 * textmodes/picture.el (picture-mode-map):
6564 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6565 like forward-char and backward-char. (Bug#12317)
6567 2012-09-05 Leo Liu <sdl.web@gmail.com>
6569 * progmodes/flymake.el (flymake-warning-re): New variable.
6570 (flymake-parse-line): Use it.
6572 2012-09-05 Glenn Morris <rgm@gnu.org>
6574 * calendar/holidays.el (holiday-christian-holidays):
6575 Rename an entry. (Bug#12289)
6577 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6579 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6582 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * loadup.el: Load macroexp. Remove hack.
6585 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6586 (macroexp--expand-all): Use it to get better warnings.
6587 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6588 (internal-macroexpand-for-load): New functions.
6589 (macroexp--pending-eager-loads): New var.
6590 (emacs-startup-hook): New hack to replace one in loadup.el.
6591 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6592 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6593 (cl-psetf): Simplify.
6594 (cl-defstruct): Add indent rule.
6596 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6598 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6599 over `user-mail-address' for the SMTP MAIL FROM envelope.
6600 (smtpmail-via-smtp): Ditto.
6602 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6604 * progmodes/ruby-mode.el: Clean up keybindings.
6605 (ruby-mode-map): Don't bind ruby-electric-brace,
6606 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6607 backward-kill-word, reindent-then-newline-and-indent.
6608 (ruby-mark-defun): Remove.
6609 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6610 (ruby-mode): Set local beginning-of-defun-function and
6611 end-of-defun-function values.
6613 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6615 * window.el (temp-buffer-window-setup-hook)
6616 (temp-buffer-window-show-hook): New hooks.
6617 (temp-buffer-window-setup, temp-buffer-window-show)
6618 (with-temp-buffer-window): New functions.
6619 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6620 (special-display-popup-frame): Make sure the window used shows BUFFER.
6622 * help.el (temp-buffer-resize-mode): Fix doc-string.
6623 (resize-temp-buffer-window): New optional argument WINDOW.
6625 * files.el (recover-file, save-buffers-kill-emacs):
6626 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6628 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6630 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6631 remote definition of `default-directory', ensure we can connect.
6633 2012-09-02 Juri Linkov <juri@jurta.org>
6635 Toggle whitespace matching mode with M-s SPC.
6636 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6638 * isearch.el (search-whitespace-regexp): Doc fix.
6639 Remove cons cell customization.
6640 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6641 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6643 (isearch-forward, isearch-forward-regexp): Doc fix.
6644 (isearch-toggle-lax-whitespace): New command.
6645 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6646 (re-search-forward-lax-whitespace)
6647 (re-search-backward-lax-whitespace): New functions.
6648 (isearch-whitespace-regexp): Remove function.
6649 (isearch-query-replace): Let-bind replace-search-function and
6650 replace-re-search-function.
6651 (isearch-occur): Let-bind search-spaces-regexp according to the
6652 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6653 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6654 condition for C-q SPC.
6655 (isearch-search-fun-default): Use new functions mentioned above.
6656 (isearch-search-forward, isearch-search-backward): Remove functions.
6657 (isearch-search): Don't let-bind search-spaces-regexp.
6658 (isearch-lazy-highlight-space-regexp): Remove variable.
6659 (isearch-lazy-highlight-lax-whitespace)
6660 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6661 (isearch-lazy-highlight-new-loop): Use them.
6662 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6664 2012-09-02 Chong Yidong <cyd@gnu.org>
6666 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6668 2012-09-02 Glenn Morris <rgm@gnu.org>
6670 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6672 2012-09-01 Glenn Morris <rgm@gnu.org>
6674 * term.el: Tidy up menu definitions.
6675 (term-mode-map): Use easymenu for In/Out, Complete menus.
6676 (term-pager-break-map): Initialize in the defvar.
6677 (term-terminal-menu, term-signals-menu): Define with easymenu.
6678 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6679 (term-pager-menu): New, extracted from term-process-pager.
6680 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6681 (term-update-mode-line): Propertize line/char and page items.
6682 (term-process-pager): Move keymap initialization elsewhere.
6684 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6686 * window.el (switch-to-prev-buffer): Handle additional values of
6687 BURY-OR-KILL argument. Don't switch in minibuffer window.
6688 (switch-to-next-buffer): Don't switch in minibuffer window.
6689 (quit-restore-window): New function based on quit-window.
6690 Handle additional values of former KILL argument.
6691 (quit-window): Call quit-restore-window with appropriate
6692 interpretation of KILL argument.
6693 (display-buffer-below-selected): New buffer display action
6696 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * minibuffer.el (completion-at-point-functions): Complete docstring
6701 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6703 Better seed support for (random).
6704 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6705 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6706 * play/mpuz.el, play/tetris.el, play/zone.el:
6707 * calc/calc-comb.el (math-init-random-base):
6708 * play/blackbox.el (bb-init-board):
6709 * play/life.el (life):
6710 * server.el (server-use-tcp):
6711 * type-break.el (type-break):
6712 Remove unnecessary call to (random t).
6713 * net/sasl.el (sasl-unique-id-function):
6714 Change (random t) to (random), now that the latter is more random.
6715 * play/life.el (life-initialized): Remove no-longer-needed var.
6717 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6719 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6720 Consider frame's buffer predicate when choosing the buffer.
6723 2012-08-30 Richard Stallman <rms@gnu.org>
6725 * simple.el (special-mode-map): Delete binding for `z'.
6727 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6729 * progmodes/compile.el (compilation-always-kill): Doc fix.
6731 2012-08-30 Chong Yidong <cyd@gnu.org>
6733 * window.el (display-buffer-reuse-frames): Make the obsolescence
6734 message more informative.
6736 2012-08-30 Glenn Morris <rgm@gnu.org>
6738 * paren.el (show-paren-delay):
6739 Add a :set function. Doc fix. (Bug#12297)
6741 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6743 * progmodes/compile.el (compilation-always-kill): New var.
6744 (compilation-start): Use it.
6746 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6748 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6749 * files.el (read-only-mode): Move to simple.el.
6751 * files.el (read-only-mode): New minor mode.
6752 (toggle-read-only): Use it and mark obsolete.
6753 (find-file--read-only):
6754 * vc/vc.el (vc-next-action, vc-checkout):
6755 * vc/vc-cvs.el (vc-cvs-checkout):
6756 * obsolete/vc-mcvs.el (vc-mcvs-update):
6757 * ffap.el (ffap--toggle-read-only): Update callers.
6759 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6761 * eshell/esh-ext.el (eshell-external-command): Do not examine
6762 remote shell scripts.
6763 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6765 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6768 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6772 2012-08-28 Leo Liu <sdl.web@gmail.com>
6774 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6775 completion-at-point. (Bug#12220)
6777 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6779 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6781 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6784 be buffer-local; add delete-trailing-whitespace (bug#12259).
6786 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6788 * progmodes/hideif.el (hif-compress-define-list):
6789 Fix typo. (Bug#11951)
6791 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6793 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6794 buffer local setting.
6796 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6797 rcirc-encode-coding-system.
6799 2012-08-28 Leo Liu <sdl.web@gmail.com>
6801 * net/rcirc.el (rcirc-split-message): New function.
6802 (rcirc-send-message): Use it. (Bug#12051)
6804 2012-08-28 Juri Linkov <juri@jurta.org>
6806 * info.el (Info-fontify-node): Hide empty lines at the end of
6807 the node. (Bug#12272)
6809 2012-08-27 Drew Adams <drew.adams@oracle.com>
6811 * dired.el (dired-pop-to-buffer): Make window start at beginning
6812 of buffer (Bug#12281).
6814 2012-08-26 Chong Yidong <cyd@gnu.org>
6816 * window.el (special-display-regexps, special-display-frame-alist)
6817 (special-display-buffer-names, special-display-function)
6818 (display-buffer-reuse-frames): Mark as obsolete.
6820 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6822 * help.el (help-print-return-message): Don't treat
6823 display-buffer-reuse-frames specially.
6825 2012-08-26 Chong Yidong <cyd@gnu.org>
6827 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6828 New variable, replacing gdb-frame-parameters.
6829 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6830 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6831 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6832 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6833 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6834 the functions directly with gdb-display-buffer-other-frame-action.
6835 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6836 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6837 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6838 (gdb-display-registers-buffer): Define directly.
6839 (def-gdb-display-buffer): Macro deleted.
6840 (gdb-display-buffer): Remove second and third args, callers don't
6841 use them. Defer to the default display-buffer behavior, apart
6842 from making windows dedicated.
6843 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6845 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6847 * window.el (display-buffer-pop-up-frame): Handle a
6848 pop-up-frame-parameters alist entry.
6849 (display-buffer): Document it.
6851 2012-08-26 Chong Yidong <cyd@gnu.org>
6853 * isearch.el (search-whitespace-regexp): Make string and nil
6854 values apply to both ordinary and regexp search. Allow a cons
6855 cell value to distinguish between the two.
6856 (isearch-whitespace-regexp, isearch-search-forward)
6857 (isearch-search-backward): New functions.
6858 (isearch-occur, isearch-search-fun-default, isearch-search)
6859 (isearch-lazy-highlight-new-loop): Use them.
6860 (isearch-forward, isearch-forward-regexp): Doc fix.
6862 2012-08-26 Chong Yidong <cyd@gnu.org>
6864 * faces.el (help-argument-name): Always inherit from italic
6867 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6869 * window.el (window--even-window-heights): Even heights when
6870 WINDOW and the selected window form a vertical combination.
6871 (display-buffer-use-some-window): Provide that window used gets
6872 sized back by quit-window. (Bug#11880) and (Bug#12091)
6874 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6876 Fix file time stamp problem with bzr and CVS (Bug#12001).
6877 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6878 in the file's time stamp, since the version control system loses
6881 2012-08-22 Juri Linkov <juri@jurta.org>
6883 * info.el (Info-fontify-node): Hide the suffix of the
6884 Info file name in the header line. (Bug#12187)
6886 2012-08-22 Glenn Morris <rgm@gnu.org>
6888 * calendar/cal-tex.el (cal-tex-weekly-common):
6889 Restore leading blank page.
6891 2012-08-22 Le Wang <l26wang@gmail.com>
6893 * misc.el (forward-to-word, backward-to-word): Activate or extend
6894 the region under `shift-select-mode'. (Bug#12231)
6896 2012-08-22 Bastien Guerry <bzg@gnu.org>
6898 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6899 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6900 gives details on why the space is never needed.
6902 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6904 * window.el (walk-window-tree, window-with-parameter):
6905 New optional argument MINIBUF to control whether these functions
6906 should run on the minibuffer window.
6907 (window-at-side-list): Don't operate on minibuffer window.
6908 (window-in-direction): Simplify and rewrite doc-string.
6909 (window--size-ignore): Rename to window--size-ignore-p.
6911 (display-buffer-in-atom-window, window--major-non-side-window)
6912 (window--major-side-window, display-buffer-in-major-side-window)
6913 (delete-side-window, display-buffer-in-side-window):
6915 (window--side-check, window-deletable-p, delete-window)
6916 (delete-other-windows, split-window): Handle side windows and
6917 atomic windows appropriately.
6918 (window--display-buffer): Call display-buffer-record-window also
6919 when the window buffer did not change.
6921 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6923 * help-fns.el (help-fns--key-bindings):
6924 Abbreviate non-symbol remap targets. (Bug#12174)
6926 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6928 * dired.el (dired-mark-remembered): Don't clobber point.
6931 2012-08-22 Glenn Morris <rgm@gnu.org>
6933 * progmodes/bug-reference.el (bug-reference): New custom group.
6934 (bug-reference-bug-regexp): Make it a defcustom.
6936 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6938 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6939 (js-paren-indent-offset, js-square-indent-offset)
6940 (js-curly-indent-offset): Add :safe (Bug#12257).
6942 2012-08-22 Edward O'Connor <hober0@gmail.com>
6944 * json.el (json-key-format): Add error properties.
6945 (json-encode-key): New function.
6946 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6947 Use json-encode-key.
6949 2012-08-22 Glenn Morris <rgm@gnu.org>
6951 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6952 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6953 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6954 Update for above change.
6956 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6958 * cus-face.el (custom-face-attributes): Fix customize type for the
6959 :underline attribute. (Bug#11805)
6961 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6963 * window.el (window-point-1, set-window-point-1): Remove.
6964 (window-in-direction, record-window-buffer)
6965 (set-window-buffer-start-and-point, split-window-below)
6966 (window--state-get-1, display-buffer-record-window):
6967 Replace calls to window-point-1 and set-window-point-1 by calls to
6968 window-point and set-window-point respectively.
6970 2012-08-21 Glenn Morris <rgm@gnu.org>
6972 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6973 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6976 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6977 (cal-tex-shortday): New function.
6978 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6979 (cal-tex-cursor-filofax-daily): Use the above.
6981 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6983 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6984 (cal-tex-cursor-filofax-week): Use them.
6986 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6988 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6989 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6991 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6992 (cal-tex-end-document): Don't rely on buffer name.
6994 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6996 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6997 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6998 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7001 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7002 (cal-tex-cursor-week, cal-tex-cursor-week2)
7003 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7004 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7005 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7006 (cal-tex-insert-preamble, cal-tex-b-document)
7007 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7008 Improve cal-tex-cmd usage.
7010 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7011 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7012 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7013 (cal-tex-weekly-paper): New function.
7014 (cal-tex-cursor-week, cal-tex-cursor-week2)
7015 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7016 (cal-tex-cursor-day): Use it.
7018 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7019 (cal-tex-cursor-filofax-week): Remove leading blank page.
7021 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7022 Add autoload cookie. For now at least, don't use color, since
7023 no other cal-tex function does.
7025 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7026 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7027 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7029 2012-08-21 Juri Linkov <juri@jurta.org>
7031 * info.el (Info-file-attributes): New variable.
7032 (info-insert-file-contents): Add file attributes to
7033 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7034 `Info-toc-nodes' when previous modtime of the Info file is less
7036 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7037 of info.el. (Bug#12230)
7039 2012-08-20 Glenn Morris <rgm@gnu.org>
7041 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7042 * calendar/holidays.el (calendar-holiday-list):
7043 Report errors with display-warning rather than beep'n'sleep.
7045 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7047 * net/tramp.el (tramp-accept-process-output): Accept only output
7048 from PROC. Otherwise, process filters and sentinels might be
7049 confused. (Bug#12145)
7051 2012-08-20 Chong Yidong <cyd@gnu.org>
7053 * descr-text.el (describe-text-properties-1): Use overlays-in to
7054 report on empty overlays (Bug#3322).
7056 2012-08-20 Glenn Morris <rgm@gnu.org>
7058 * mail/rmailout.el (rmail-output-read-file-name):
7059 Trap and report errors in rmail-output-file-alist elements.
7061 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7062 since most non-font-lock faces are not also variables).
7064 2012-08-20 Edward Reingold <reingold@iit.edu>
7066 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7067 New function. (Bug12160)
7069 2012-08-19 Glenn Morris <rgm@gnu.org>
7071 * mail/rmailout.el (rmail-output-read-file-name):
7072 Fix previous change (when the alist is nil or does not match).
7074 2012-08-19 Chong Yidong <cyd@gnu.org>
7076 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7079 2012-08-18 Chong Yidong <cyd@gnu.org>
7081 * simple.el (yank-handled-properties): New defcustom.
7082 (yank-excluded-properties): Add font-lock-face and category.
7085 * subr.el (remove-yank-excluded-properties):
7086 Obey yank-handled-properties. The special handling of font-lock-face
7087 and category is now done this way, instead of being hard-coded.
7088 (insert-for-yank-1): Remove font-lock-face handling.
7089 (yank-handle-font-lock-face-property)
7090 (yank-handle-category-property): New function.
7092 2012-08-17 Glenn Morris <rgm@gnu.org>
7094 * mail/rmailout.el (rmail-output-read-file-name):
7095 Check rmail-output-file-alist against the full message body
7096 in the correct rmail buffer. (Bug#12214)
7098 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7101 Eliminate superfluous prompt. (Bug#12203)
7103 2012-08-17 Chong Yidong <cyd@gnu.org>
7105 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7106 font spec, set the font directly (Bug#3228).
7108 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7110 * window.el (delete-window): Fix last fix.
7112 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7114 * window.el (window-valid-p): Move to window.c.
7115 (window-child, window-child-count, window-last-child)
7116 (window-normalize-window, window-combined-p)
7117 (window-combinations, window-atom-root, window-min-size)
7118 (window-sizable, window-sizable-p, window-size-fixed-p)
7119 (window-min-delta, window-max-delta, window--resizable)
7120 (window--resizable-p, window-resizable, window-total-size)
7121 (window-full-height-p, window-full-width-p, window-body-size)
7122 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7123 (minimize-window, window-deletable-p, delete-window)
7124 (delete-other-windows, set-window-buffer-start-and-point)
7125 (next-buffer, previous-buffer, split-window, balance-windows-2)
7126 (set-window-text-height, window-buffer-height)
7127 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7128 (truncated-partial-width-window-p): Minor code adjustments.
7129 In doc-strings state whether the argument window has to denote a
7130 live, valid or any window.
7132 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7134 * progmodes/subword.el (subword-forward-function)
7135 (subword-backward-function, subword-forward-regexp)
7136 (subword-backward-regexp): New variables.
7137 (subword-forward, subword-forward-internal, subword-backward-internal):
7138 Use new variables, eg so that different "word" definitions
7139 can be easily used. (Bug#11411)
7141 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7143 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7144 for composite selectors.
7145 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7146 operation just because we can't find a previous revision.
7148 2012-08-15 Chong Yidong <cyd@gnu.org>
7150 * frame.el (set-frame-font): Accept font objects.
7152 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7154 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7156 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7158 * man.el (Man-overstrike-face, Man-underline-face)
7159 (Man-reverse-face): Remove variables.
7160 (Man-overstrike, Man-underline, Man-reverse): New faces.
7161 (Man-fontify-manpage): Use them instead of the variables.
7162 (Man-cleanup-manpage): Comment change.
7163 (Man-ansi-color-map): New variable.
7164 (Man-fontify-manpage): Use it.
7165 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7167 Implement ANSI SGR parameters 22-27 (bug#12146).
7168 * ansi-color.el (ansi-colors): Doc fix.
7169 (ansi-color-context, ansi-color-context-region): Doc fix.
7170 (ansi-color--find-face): New function.
7171 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7172 Rename the local variable `face' to `codes' since it is now a list of
7173 ansi codes. Doc fix.
7174 (ansi-color-get-face): Remove.
7175 (ansi-color-parse-sequence): New function, derived from
7176 ansi-color-get-face.
7177 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7180 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * subr.el (read-passwd): Allow use from a minibuffer.
7184 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7186 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7187 inside comments and strings as identifiers.
7189 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7190 expression to evaluate. This allows to evaluate expressions with
7191 embedded whitespace.
7192 (gud-tooltip-tips): Add a blank before the newline in the
7193 message-box text, for the benefit of message-box emulation on
7196 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7197 messages from GDB, pop them up in a tooltip to give feedback to
7199 (gdb-tooltip-print-1): Quote the expression to evaluate.
7200 This allows to evaluate expressions with embedded whitespace.
7201 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7202 if the TTY name is nil or empty (which happens when communicating
7203 with the inferior via pipes, e.g. on MS-Windows).
7204 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7205 don't send that to the GUD buffer.
7207 2012-08-14 Glenn Morris <rgm@gnu.org>
7209 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7210 Optimize away setq-default with no args, as for setq. (Bug#12195)
7212 2012-08-14 Chong Yidong <cyd@gnu.org>
7214 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7216 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7219 2012-08-14 Glenn Morris <rgm@gnu.org>
7221 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7223 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7225 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7226 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7227 Use cached shell name.
7229 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7231 * progmodes/python.el (python-shell-send-string):
7232 (python-shell-send-setup-code): Do not use `format' with `message'.
7234 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7236 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7237 (ruby-percent-literal-beg-re): New constant.
7238 (ruby-syntax-general-delimiters-goto-beg): Rename to
7239 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7240 (ruby-syntax-propertize-general-delimiters): Rename to
7241 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7242 popular term. Adjust comments everywhere.
7243 (ruby-syntax-propertize-percent-literal): Only propertize when not
7244 inside a simple string or comment. When the literal is unclosed,
7245 leave the text after it unpropertized.
7246 (ruby-syntax-methods-before-regexp): New constant.
7247 (ruby-syntax-propertize-function): Use it to recognize regexps.
7248 Don't look at the text after regexp, just use the whitelist.
7250 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7252 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7253 non-nil always load the compiled file if it exists. (Bug#12197)
7255 2012-08-14 Chong Yidong <cyd@gnu.org>
7257 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7258 (hi-lock-set-pattern): When deciding whether to use font lock or
7259 overlays, look at font-lock-mode instead of font-lock-fontified
7261 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7262 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7264 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7266 * subr.el (internal--after-with-selected-window): Fix typo
7269 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7271 Use `completion-table-dynamic' for completion functions.
7272 * progmodes/python.el
7273 (python-shell-completion--do-completion-at-point)
7274 (python-shell-completion--get-completions):
7276 (python-shell-completion-complete-at-point): New function.
7277 (python-completion-complete-at-point): Use it.
7279 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7281 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7282 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7284 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * subr.el (function-get): Refine `autoload' arg so it can also
7287 autoload functions for gv.el (bug#12191).
7288 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7291 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7292 Prefer pcase-let over destructuring-bind.
7293 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7294 Also, remove whitespace as we go, rather than after accumulating the
7297 * subr.el (internal--before-with-selected-window)
7298 (internal--after-with-selected-window): Fix typo seleted->selected.
7299 (with-selected-window): Adjust callers.
7300 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7302 2012-08-13 Bastien Guerry <bzg@gnu.org>
7304 * window.el (special-display-popup-frame): Minor docstring
7305 enhancement. (Bug#12172)
7307 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7309 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7311 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7314 * files.el (hack-local-variables-filter): Remove useless eval.
7316 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7318 * subr.el (with-selected-window): Fix last change.
7320 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7322 * subr.el (internal--before-with-seleted-window)
7323 (internal--after-with-seleted-window): New functions.
7324 (with-selected-window): Use them, to replace dependency on
7327 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7329 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7330 binding for `newline'.
7331 (ruby-move-to-block): When moving backward, stop at block opening,
7333 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7334 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7335 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7336 `ruby-toggle-block'.
7338 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * ibuffer.el (ibuffer-do-toggle-read-only):
7341 * dired.el (dired-toggle-read-only):
7342 * buff-menu.el (Buffer-menu-toggle-read-only):
7343 * bindings.el (mode-line-toggle-read-only):
7344 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7346 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7348 * descr-text.el (describe-char): Put the overlays over the
7349 "displayed as" character.
7351 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7353 * calc/calc-units.el (math-default-units-table): Give an
7355 (math-put-default-units): Add options to put composite units and
7356 unit systems in the default units table.
7357 (calc-convert-units): Send composite units to
7358 `math-put-default-units' when appropriate.
7360 2012-08-11 Glenn Morris <rgm@gnu.org>
7362 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7364 * tutorial.el (help-with-tutorial):
7365 * emacs-lisp/copyright.el (copyright-update-directory):
7366 * emacs-lisp/autoload.el (autoload-find-generated-file)
7367 (autoload-find-file): Disable local eval: (for insurance).
7369 * files.el (hack-local-variables-filter): If an eval: form is not
7370 known to be safe, and enable-local-variables is :safe, then ignore
7371 the form totally, as is done for non-eval forms. (Bug#12155)
7372 This is CVE-2012-3479.
7374 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7376 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7377 (rx-form): Simplify.
7379 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7381 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7382 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7383 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7384 (ruby-syntax-propertize-function): Adjust for changes in
7385 `ruby-syntax-propertize-heredoc'.
7387 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7389 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7390 binding (use `M-;' instead).
7391 (ruby-singleton-class-p): New function.
7392 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7394 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7398 2012-08-10 Chong Yidong <cyd@gnu.org>
7400 * progmodes/python.el (python-shell-get-process-name): Don't mess
7401 with same-window-buffer-names.
7403 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7404 (eshell-remove-from-window-buffer-names): Make obsolete.
7405 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7406 (eshell): Just use pop-to-buffer-same-window instead.
7408 2012-08-10 Chong Yidong <cyd@gnu.org>
7410 * bindings.el: Bind M-= back to count-words-region.
7412 * simple.el (count-words-region): Accept a prefix arg for acting
7413 on the entire buffer.
7414 (count-words--buffer-message): New helper function.
7416 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7418 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7419 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7420 (event-start, event-end): Use posn-at-point to return a more
7422 (posnp): New function.
7423 * mouse.el (popup-menu-normalize-position): Use it.
7425 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7427 * mouse.el (popup-menu-normalize-position): New function.
7428 (popup-menu): Use `popup-menu-normalize-position' to normalize
7429 the form for POSITION argument.
7431 * term/x-win.el (x-menu-bar-open):
7432 Use the value returend from (posn-at-point) as position
7433 passed to `popup-menu'.
7435 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7437 * calc/calccomp.el (math-compose-expr): Add extra argument
7438 indicating that parentheses should be put around products in
7439 denominators. Give multiplication precedence over division during
7442 2012-08-09 Chong Yidong <cyd@gnu.org>
7444 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7445 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7446 (Man-untabify-command, manual-program): Convert to defcustom
7449 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7451 * descr-text.el (describe-char): Don't insert extra newlines
7454 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7455 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7457 * align.el (align-region): Delete temporary markers (Bug#10047).
7458 Plus some code cleanups.
7460 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7462 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7463 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7464 (python-shell-internal-last-output): Use make-local-variable
7465 instead of make-variable-buffer-local.
7467 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7469 * progmodes/python.el: Enhancements to forward-sexp.
7470 (python-nav-forward-sexp): Rename from
7471 python-nav-forward-sexp-function.
7472 (python-nav--forward-sexp, python-nav--backward-sexp):
7475 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7477 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7478 modes and simplification modes.
7480 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7482 * delsel.el (delete-selection-pre-hook): Don't propagate the
7483 file-supersession signals (bug#12161).
7485 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7488 (cl-map-extents): Add compatibility aliases (bug#12135).
7490 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7492 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7493 tests by `ignore-error'.
7494 (tramp-find-shell): Open also a new shell, when cache is already
7495 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7497 2012-08-08 Juri Linkov <juri@jurta.org>
7499 * bookmark.el: Add `defaults' property to the bookmark record.
7500 (bookmark-current-buffer): Doc fix.
7501 (bookmark-make-record): Add `defaults' property with default values
7502 to the bookmark record.
7503 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7504 with `bookmark-insert-current-bookmark'.
7505 (bookmark-set): Get `defaults' property from the bookmark record
7506 and use it in `read-from-minibuffer'.
7507 (bookmark-insert-current-bookmark): Remove function.
7509 * info.el (Info-bookmark-make-record): Add `defaults' property
7510 with values of canonical Info node name, the current Info file
7511 name and the current Info node name. (Bug#12107)
7513 2012-08-08 Juri Linkov <juri@jurta.org>
7515 * files.el (basic-save-buffer): Use `buffer-name' as the default
7516 of `read-file-name' when buffer is not visiting a file (bug#12128).
7518 2012-08-08 Juri Linkov <juri@jurta.org>
7520 * info.el (Info-isearch-search): Doc fix.
7521 (Info-search): Change search-failed message from "initial node" to
7522 "end of node" (bug#12078).
7523 (Info-isearch-search): Change `isearch-string-state' to
7524 `isearch--state-string'.
7526 2012-08-08 Glenn Morris <rgm@gnu.org>
7528 * language/persian.el: Remove file.
7529 * language/misc-lang.el: Move unique part of persian.el here.
7530 * loadup.el: Remove language/persian.
7532 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7534 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7536 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7538 * progmodes/python.el: Fix defsubst warning.
7539 (python-syntax-context) Rename from python-info-ppss-context.
7540 (python-syntax-context-type): Rename from
7541 python-info-ppss-context-type.
7542 (python-syntax-comment-or-string-p): Rename from
7543 python-info-ppss-comment-or-string-p.
7545 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7547 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7549 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7551 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7552 a defcustom that is quoted with backquote.
7554 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7555 Fix handling of interactive spec when the body uses return.
7556 (math-do-arg-check, math-define-function-body): Use backquote forms.
7557 * calc/calc-ext.el (math-defcache): Likewise.
7558 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7559 * allout.el (allout-new-exposure): Likewise.
7560 * calc/calcalg2.el (math-tracing-integral): Likewise.
7561 * info.el (Info-last-menu-item): Likewise.
7562 * emulation/vip.el (vip-loop): Likewise.
7563 * textmodes/artist.el (artist-funcall): Likewise.
7564 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7565 Construct menu-item directly.
7567 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7570 2012-08-07 Chong Yidong <cyd@gnu.org>
7572 * simple.el (deactivate-mark): Preserve text properties when
7573 saving the primary selection (Bug#8384).
7575 2012-08-07 Kevin Ryde <user42@zip.com.au>
7577 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7578 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7579 and continue processing (Bug#12110).
7581 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7583 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7584 syntax-propertize-function (bug#10095).
7586 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7589 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7590 describe-function-1.
7591 (describe-function-1): Use them. Move compiler macro after sig.
7592 (help-fns--compiler-macro): Use function-get. Assume we're already in
7593 standard-output. Adjust layout to new call order.
7595 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7596 re-binding a symbol that has a symbol-macro (bug#12119).
7598 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7600 * language/persian.el: New file. (Bug#11812)
7601 * loadup.el: Add language/persian.el.
7603 2012-08-06 Chong Yidong <cyd@gnu.org>
7605 * window.el (window--maybe-raise-frame): New function.
7606 (window--display-buffer): Split off from here.
7607 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7608 (display-buffer-pop-up-window, display-buffer-use-some-window):
7609 Obey an inhibit-switch-frame action alist entry.
7610 (display-buffer): Update doc.
7612 * replace.el (occur-after-change-function): Avoid losing focus by
7613 using the inhibit-switch-frame display parameter (Bug#12139).
7615 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7617 Make internal shell process buffer names start with space.
7618 * progmodes/python.el (python-shell-make-comint): Add optional
7620 (run-python-internal): Use it.
7621 (python-shell-internal-get-or-create-process): Check for new
7622 internal buffer names.
7624 2012-08-06 Glenn Morris <rgm@gnu.org>
7626 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7627 Do less getting and setting of environment variables.
7629 2012-08-05 Chong Yidong <cyd@gnu.org>
7631 * proced.el (proced): Add substitution string to docstring to
7632 trigger autoloading of the proced library on C-h f (Bug#1768).
7634 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7635 Don't show defvars which have no second argument (Bug#8638).
7637 * imenu.el (imenu-generic-expression): Move documentation here
7638 from imenu--generic-function.
7639 (imenu--generic-function): Refer to imenu-generic-expression.
7641 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7643 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7644 indentation declaration.
7645 (viper-loop): Add indentation declaration (Bug#7025).
7647 2012-08-05 Chong Yidong <cyd@gnu.org>
7649 * help-fns.el (describe-variable): Add hyperlink for
7650 directory-local variables files. Improve buffer-local and
7651 permanent-local reporting; suggested by MON KEY (Bug#6644).
7653 * help-mode.el (help-dir-local-var-def): New button type.
7655 * files.el (kill-buffer-hook): Provide a defvar.
7657 2012-08-05 Glenn Morris <rgm@gnu.org>
7659 * eshell/esh-ext.el (eshell/addpath):
7660 Also update eshell-path-env. (Bug#12013)
7662 2012-08-05 Chong Yidong <cyd@gnu.org>
7664 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7666 * fringe.el (fringe-styles): Add docstring.
7667 (fringe--check-mode): New function.
7668 (set-fringe-mode, set-fringe-style): Use it.
7669 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7671 * files.el (set-auto-mode): Fix invalid setq call.
7673 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * isearch.el: Misc simplification; use defstruct.
7676 (isearch-mode-map): Dense maps now work like sparse ones.
7677 (isearch--state): New defstruct.
7678 (isearch-string-state, isearch-message-state, isearch-point-state)
7679 (isearch-success-state, isearch-forward-state)
7680 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7681 (isearch-wrapped-state, isearch-barrier-state)
7682 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7683 replaced by defstruct's accessors.
7684 (isearch--set-state): Rename from isearch-top-state and change
7686 (isearch-push-state): Use new isearch--get-state.
7687 (isearch-toggle-word): Disable regexp when enabling word.
7688 (isearch-message-prefix): Remove unused arg _c-q-hack.
7689 (isearch-message-suffix): Remove unused arg _ellipsis.
7691 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7693 * simple.el (list-processes--refresh): For a server use :host or
7694 :local as the address.
7695 (list-processes): Doc fix.
7697 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7699 * lisp/mpc.el: Support password in host argument.
7700 (mpc--proc-connect): Parse and use new password element.
7701 Set mpc-proc variable instead of returning process.
7702 (mpc-proc): Adjust accordingly.
7704 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7706 * whitespace.el (whitespace-display-mappings): Use Unicode
7707 codepoints, instead of emacs-mule codepoints. See
7708 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7711 * files.el (file-truename): Don't skip symlink-chasing part on
7712 windows-nt. Incorporate the resolution of 8+3 short aliases on
7713 Windows into the loop that recursively chases symlinks.
7714 Compare directory and its parent case-insensitively on MS-Windows and
7717 2012-08-03 Chong Yidong <cyd@gnu.org>
7719 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7721 * sort.el (sort-regexp-fields): Doc fix.
7723 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7725 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7726 labels regex position point at the expected place.
7728 2012-08-03 MON KEY <monkey@sandpframing.com>
7730 * net/imap.el (imap-interactive-login, imap-authenticate)
7731 (imap-mailbox-lsub, imap-mailbox-list)
7732 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7733 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7734 (imap-parse-response): Doc fix.
7736 2012-08-03 João Távora <joaotavora@gmail.com>
7738 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7739 if sexp scanning does not move point (Bug#5734).
7741 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7743 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7744 Add listings, minted, and ctable packages.
7745 (reftex-label-alist-builtin): Move listings, minted, and ctable
7746 entries before LaTeX.
7747 (reftex-label-alist): Docfix.
7749 2012-08-02 Bastien Guerry <bzg@gnu.org>
7751 * replace.el (occur): Fix docstring (bug#12122).
7753 2012-08-02 Glenn Morris <rgm@gnu.org>
7755 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7757 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7759 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7760 * international/mule-cmds.el: Create
7761 inactivate-current-input-method-function as an obsolete alias for
7762 deactivate-current-input-method-function. See Katsumi Yamaoka in
7763 <http://bugs.gnu.org/10150#46>.
7765 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7767 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7770 2012-08-01 Glenn Morris <rgm@gnu.org>
7772 * progmodes/autoconf.el (autoconf-definition-regexp):
7773 Add AH_TEMPLATE, adjust submatch numbering.
7774 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7775 (autoconf-current-defun-function): Update for above change.
7776 (autoconf-current-defun-function): First skip to end of current word.
7778 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7780 * calendar/cal-html.el (cal-html-insert-agenda-days):
7781 Fix typo. (Bug#12018)
7783 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7785 Shell processes: enhancements to startup and CEDET compatibility.
7786 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7787 (python-shell-make-comint): accept-process-output at startup.
7788 (run-python-internal): Set inferior-python-mode-hook to nil.
7789 (python-shell-internal-get-or-create-process): call sit-for.
7790 (python-preoutput-result): Add obsolete alias.
7791 (python-shell-internal-send-string): Use it.
7792 (python-shell-send-setup-code): Remove call to
7793 accept-process-output.
7795 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7797 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7800 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7802 * calc-mode.el (calc-basic-simplification-mode): Rename from
7803 `calc-limited-simplification-mode'.
7804 (calc-alg-simplification-mode): New function.
7805 (calc-set-simplify-mode): Adjust message.
7807 * calc.el (calc-set-mode-line): Adjust mode line display for
7808 basic simplification mode.
7810 * calc-help.el (calc-m-prefix-help): Update help message.
7812 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7813 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7815 2012-07-31 Bastien Guerry <bzg@gnu.org>
7817 * man.el (man): Fix comment. (bug#12101)
7819 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7821 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7822 Don't return a non-nil value when no suitable buffer was found.
7824 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7826 * progmodes/python.el (run-python-internal): Disable font lock for
7829 2012-07-30 Stefan Merten <smerten@oekonux.de>
7831 * textmodes/rst.el: Silence `checkdoc-ispell'.
7832 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7833 (rst-official-version, rst-official-cvs-rev)
7834 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7835 (rst-mode-map): New key binding.
7837 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7839 Update .PHONY listings in makefiles.
7840 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7841 autoloads, update-subdirs, updates, bzr-update, update-authors,
7842 compile-onefile, compile-calc, backup-compiled-files,
7843 compile-after-backup, compile-one-process, mh-autoloads,
7844 bootstrap-clean, distclean, maintainer-clean.
7846 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7848 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7849 (calc-set-mode-line): Don't display "AlgSimp ".
7851 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7852 (calc-lim-simplify-mode): New function.
7853 (calc-set-simplify-mode): Default to 'alg.
7854 (calc-default-simplify-mode): Make algebraic simplifications
7857 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7858 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7860 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7861 indicate new simplification modes.
7863 * calc/README: Mention new default simplification mode.
7865 * calc/calc.el (math-normalize-error): New variable.
7866 (math-normalize): Set `math-normalize-error' to t
7867 when there's an error.
7869 * calc/calc-alg.el (math-simplify): Don't simplify when
7870 `math-normalize' returns an error.
7872 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7874 * international/mule-cmds.el (set-locale-environment): Revert last
7875 change, since display-graphic-p returns nil when this function is
7876 called during startup. Instead...
7878 * term/w32console.el (terminal-init-w32console): ...setup the
7879 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7881 2012-07-29 Juri Linkov <juri@jurta.org>
7883 * simple.el (goto-line): Don't display default line number in the
7884 prompt because it should be displayed by `read-number' (bug#9952).
7885 Add the current line number to the defaults of `goto-line' to
7886 allow its easier modification by users with `M-n' (bug#9201).
7888 * subr.el (read-number): Support multiple default values like in
7889 other minibuffer reading functions. Replace `read' with
7890 `string-to-number' for consistency with `number-to-string'.
7892 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7894 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7895 * emulation/viper-init.el (viper-deactivate-input-method-action):
7896 Rename from viper-inactivate-input-method-action.
7897 (viper-deactivate-input-method):
7898 Rename from viper-inactivate-input-method.
7899 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7900 * international/mule-cmds.el (deactivate-input-method):
7901 Rename from inactivate-input-method.
7902 Also run input-method-deactivate-hook.
7903 (deactivate-current-input-method-function):
7904 Rename from inactivate-current-input-method-function.
7905 (input-method-deactivate-hook): New hook.
7906 (input-method-inactivate-hook): Mark obsolete.
7907 (inactivate-input-method): Mark obsolete.
7909 * international/quail.el (quail-activate):
7910 Also run quail-deactivate-hook.
7911 (quail-deactivate): Rename from quail-inactivate.
7912 * international/robin.el (robin-activate):
7913 Also run robin-deactivate-hook.
7914 (robin-deactivate): Rename from robin-inactivate.
7916 2012-07-29 Chong Yidong <cyd@gnu.org>
7918 * simple.el (indicate-copied-region): New function.
7919 (kill-ring-save): Split off from here.
7921 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7922 (kill-rectangle): Set deactivate-mark to t on read-only error.
7924 * register.el (copy-to-register, copy-rectangle-to-register):
7925 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7926 (append-to-register, prepend-to-register): Call indicate-copied-region.
7928 2012-07-29 Juri Linkov <juri@jurta.org>
7930 * simple.el (async-shell-command-buffer): New defcustom.
7931 (shell-command): Use it. (Bug#4719)
7933 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7935 * international/mule-cmds.el (set-locale-environment): In a
7936 console session on MS-Windows, set up keyboard and terminal
7937 encoding from the OEM codepage, not the ANSI codepage.
7940 2012-07-28 Chong Yidong <cyd@gnu.org>
7942 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7945 2012-07-28 Leo Liu <sdl.web@gmail.com>
7947 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7948 the alist (bug#12029).
7950 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7952 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7953 (compile-always, compile-first)
7954 ($(lisp)/calendar/cal-loaddefs.el)
7955 ($(lisp)/calendar/diary-loaddefs.el)
7956 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7957 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7958 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7959 instead of on update-subdirs.
7960 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7962 2012-07-28 Chong Yidong <cyd@gnu.org>
7964 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7965 directory if vc-deduce-backend returns nil (Bug#7350).
7967 * simple.el (delete-trailing-lines): New option.
7968 (delete-trailing-whitespace): Obey it (Bug#11879).
7970 2012-07-28 David Engster <deng@randomsample.de>
7972 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7973 Explanation of new 'symbol-qnames feature in doc-strings.
7974 (xml-maybe-do-ns): Return expanded names as plain symbols if
7975 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7976 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7978 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7980 Consistent completion in inferior python with emacs -nw.
7981 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7982 binding in inferior-python-mode-map with "\t".
7983 (python-shell-completion-complete-at-point)
7984 (python-completion-complete-at-point): Remove interactive spec.
7986 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7988 * calc/calccomp.el (math-compose-expr): Undo previous change.
7990 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7992 * progmodes/python.el (python-mode-map): Add keybinding for
7994 (python-shell-make-comint): Fix pop-to-buffer call.
7995 (run-python): Autoload. New arg SHOW.
7996 (python-shell-get-or-create-process): Do not pop python process
7999 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8001 * notifications.el (notifications-on-action-signal)
8002 (notifications-on-closed-signal): Use also the bus address for the map.
8003 (notifications-notify, notifications-close-notification)
8004 (notifications-get-capabilities): Add optional argument BUS.
8006 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8008 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8009 Add support for the lstlisting and minted environments, and for the
8011 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8012 labels written in keyvals syntax.
8014 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8016 * calc/calccomp.el (math-compose-expr): Use parentheses when
8017 there is a product in the denominator of a fraction.
8019 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8021 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8022 ($(lisp)/calendar/diary-loaddefs.el)
8023 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8024 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8025 Fixes failures in parallel bootstrap because subdirs.el is being
8026 rewritten while the autoload files are built at the same time,
8027 which needs to load subdirs.el.
8029 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8031 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8032 (mouse-drag-line): Don't exit tracking when a switch-frame or
8033 switch-window event occurs (Bug#12006).
8035 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8037 * mouse.el (popup-menu): Fix last change.
8039 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8041 Autoload from Lisp with more care. Follow aliases when looking for
8042 function properties.
8043 * subr.el (autoloadp): New function.
8044 (symbol-file): Use it.
8045 (function-get): New function.
8046 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8048 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8049 (lisp-indent-function):
8050 * emacs-lisp/gv.el (gv-get):
8051 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8052 * emacs-lisp/byte-opt.el (byte-optimize-form):
8053 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8054 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8056 * emacs-lisp/cl.el: Don't propagate function properties any more.
8058 * speedbar.el (speedbar-add-localized-speedbar-support):
8059 * emacs-lisp/disass.el (disassemble-internal):
8060 * desktop.el (desktop-load-file):
8061 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8062 (describe-function-1):
8063 * emacs-lisp/find-func.el (find-function-noselect):
8064 * emacs-lisp/elp.el (elp-instrument-function):
8065 * emacs-lisp/advice.el (ad-has-proper-definition):
8066 * apropos.el (apropos-safe-documentation, apropos-macrop):
8067 * emacs-lisp/debug.el (debug-on-entry):
8068 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8069 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8070 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8072 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8074 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8075 function, not an obsolete variable (Bug#12046).
8077 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8079 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8081 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8083 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8084 window only if it is still live (Bug#12034).
8086 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8088 * subr.el (redirect-frame-focus): Add advertised calling
8089 convention (Bug#12030).
8091 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8093 Prefer typical American spelling for "acknowledgment".
8094 * vc/add-log.el (change-log-acknowledgment): Rename from
8095 change-log-acknowledgement, with an alias for the old name.
8097 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8099 * calc-alg.el (math-simplify-divide): Don't cross multiply
8100 in an equation when the lhs is a variable.
8102 2012-07-24 Julien Danjou <julien@danjou.info>
8104 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8107 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8109 * startup.el (command-line): Don't display an empty user name in
8110 the error message about non-existent home directory, when
8111 init-file-user was set to an empty string. See
8112 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8113 for the details and context.
8115 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8117 * ses.el (ses-cell-formula-aset): New macro.
8118 (ses-cell-references-aset): New macro.
8119 (ses-cell-p): New function.
8120 (ses-rename-cell): Do no longer rely on complex operations like
8121 ses-cell-set-formula or ses-set-cell to change the cell and handle
8122 the undo at the same time, but rather use lower level new macros
8123 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8124 the undo directly. Refresh the mode line.
8126 2012-07-21 Leo Liu <sdl.web@gmail.com>
8128 * progmodes/cc-cmds.el (c-defun-name):
8129 Use match-string-no-properties instead for consistency.
8131 2012-07-20 Leo Liu <sdl.web@gmail.com>
8133 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8136 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8138 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8140 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8141 * progmodes/bug-reference.el, misearch.el: Provide themselves
8144 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8145 of narrowed buffer (bug#11966).
8147 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8149 * ses.el (ses-rename-cell): Set new name also in reference list of
8150 cells of which the renamed cell depends.
8152 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8154 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8155 to check whether menu-bar is shown or not. If not shown,
8156 show the menu-bar as a popup menu instead of using tmm.
8157 * mouse.el (popup-menu): Accept `point' as `position' argument.
8159 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8161 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8162 up inside string symbol literal (bug#11923).
8164 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8166 * startup.el (fancy-startup-text): Read the whole tutorial, not
8167 just its first 256 bytes. Prevents gibberish in display of the
8170 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8172 Drop idle buffer compaction due to an absence of the
8174 * compact.el: Remove.
8176 2012-07-19 Sam Steingold <sds@gnu.org>
8178 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8179 vc-bzr-pull & vc-bzr-merge-branch.
8180 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8181 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8182 for consistency with compilation-error-regexp-alist.
8183 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8184 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8185 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8186 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8188 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8190 * emacs-lisp/chart.el: Use lexical-binding.
8191 (chart-emacs-storage): Don't hardcode the list of entries.
8193 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8195 Next round of tweaks caused by Fgarbage_collect changes.
8196 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8198 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8200 Compact buffers when idle.
8201 * compact.el: New file.
8203 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * subr.el (eventp): Presume that if it looks vaguely like an event,
8206 it's an event (bug#10190).
8208 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8210 Enhancements to ppss related code (thanks Stefan).
8211 * progmodes/python.el (python-indent-context)
8212 (python-indent-calculate-indentation, python-indent-dedent-line)
8213 (python-indent-electric-colon, python-nav-forward-block)
8214 (python-mode-abbrev-table)
8215 (python-info-assignment-continuation-line-p): Simplify checks
8217 (python-info-continuation-line-p): Cleanup.
8218 (python-info-ppss-context): Do not catch 'quote.
8219 (python-info-ppss-context-type)
8220 (python-info-ppss-comment-or-string-p): Simplify.
8222 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8224 * progmodes/python.el: Enhancements to eldoc support.
8225 (python-info-current-symbol): New function.
8226 (python-eldoc-at-point): Use python-info-current-symbol.
8227 (python-info-current-defun): Fix cornercase on first defun scan.
8228 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8229 and signal error when no inferior python process is available.
8231 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8233 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8234 assume it's always t.
8235 (vc-git-registered): Remove caching, the function is only called
8237 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8239 2012-07-18 Chong Yidong <cyd@gnu.org>
8241 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8243 * simple.el (count-words): Report on narrowing (Bug#9959).
8245 * bindings.el: Bind M-= to count-words.
8247 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8249 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8251 * progmodes/sh-script.el (sh-imenu-generic-expression):
8252 Capture a function with `function' keyword and without parentheses
8253 like "function FOO" (bug#11856).
8255 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8257 * window.el (split-window-sensibly): Make WINDOW argument
8260 2012-07-18 Chong Yidong <cyd@gnu.org>
8262 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8264 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8265 and make C-x 8 RET exit isearch (Bug#11439).
8267 * international/iso-transl.el: Move isearch-mode-map key
8268 definitions to isearch.el.
8270 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8273 (eieio-defclass): Use gv-define-setter when possible.
8275 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8277 Reflect recent changes in Fgarbage_collect.
8278 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8279 reflect new format of data returned by Fgarbage_collect.
8281 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8283 New utility functions + python-info-ppss-context fix (Bug#11910).
8284 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8285 (python-info-ppss-comment-or-string-p): New functions.
8286 (python-info-ppss-context): Small fix for string check.
8288 2012-07-17 Juri Linkov <juri@jurta.org>
8290 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8291 (dired-do-async-shell-command): Don't add `*' at the end of the
8292 command (Bug#11815).
8293 (dired-do-shell-command): Doc fix.
8294 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8295 Join the individual commands using either "&" or ";" as the
8296 separator depending on the values of these trailing characters.
8297 At the end re-add the trailing "&". (Bug#10598)
8299 * simple.el (async-shell-command): Sync the interactive spec with
8300 `shell-command'. Doc fix.
8301 (shell-command): Doc fix.
8303 2012-07-17 Juri Linkov <juri@jurta.org>
8305 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8307 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8309 Final renames and doc fixes for movement commands (bug#11899).
8310 * progmodes/python.el (python-nav-beginning-of-statement):
8311 Rename from python-nav-statement-start.
8312 (python-nav-end-of-statement): Rename from
8313 python-nav-statement-end.
8314 (python-nav-beginning-of-block): Rename from
8315 python-nav-block-start.
8316 (python-nav-end-of-block): Rename from python-nav-block-end.
8318 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8320 * progmodes/python.el (python-shell-send-string-no-output):
8321 Allow accept-process-output to quit, keeping shell process ready for
8322 future interactions (Bug#11868).
8324 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8328 * emacs-lisp/elint.el (elint-find-args-in-code):
8329 Use help-function-arglist, so as to handle lexical byte-code.
8331 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8334 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8337 Avoid spuriously marking the buffer as modified because of c-is-sws.
8339 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8340 as not-a-comment (bug#11946).
8342 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8343 for uninterned vars.
8345 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8346 Use read-event since we don't really want to read chars but bytes.
8348 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8349 $$..$$ but also $..$ using regexps (bug#11953).
8350 Use tex-verbatim for \url and \path.
8351 (tex-font-lock-keywords): Define as defconst like the others.
8352 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8354 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8356 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8357 alias for insert-char.
8359 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8361 * progmodes/python.el: Simplified imenu implementation.
8362 (python-nav-jump-to-defun): Remove command.
8363 (python-mode-map): Use `imenu' instead.
8364 (python-nav-list-defun-positions-cache)
8365 (python-imenu-include-defun-type, python-imenu-make-tree)
8366 (python-imenu-subtree-root-label, python-imenu-index-alist):
8368 (python-nav-list-defun-positions, python-nav-read-defun)
8369 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8370 (python-imenu-make-tree, python-imenu-create-index):
8372 (python-mode): Update to interact with imenu by setting
8373 `imenu-extract-index-name-function' only.
8375 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8377 * progmodes/python.el: Enhancements to navigation commands.
8378 (python-nav-backward-sentence)
8379 (python-nav-forward-sentence): Remove.
8380 (python-nav-backward-statement, python-nav-forward-statement)
8381 (python-nav-statement-start, python-nav-statement-end)
8382 (python-nav-backward-block, python-nav-forward-block)
8383 (python-nav-block-start, python-nav-block-end)
8384 (python-nav-forward-sexp-function)
8385 (python-info-current-line-comment-p)
8386 (python-info-current-line-empty-p): New functions.
8387 (python-indent-context): Use `python-nav-statement-start'.
8389 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8391 * eshell/em-ls.el (eshell/ls): Use `apply'.
8393 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8394 multi-hops, instead of Tramp internals.
8396 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8398 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8399 when F1 and F2 are located on different hosts.
8401 2012-07-14 Chong Yidong <cyd@gnu.org>
8403 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8404 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8405 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8406 (xterm-mouse--read-event-sequence-1000)
8407 (xterm-mouse--read-event-sequence-1006): New functions. For old
8408 mouse protocol, handle M-mouse-X events correctly.
8409 (xterm-mouse-event): New arg specifying mouse protocol.
8410 (turn-on-xterm-mouse-tracking-on-terminal)
8411 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8412 sequence to toggle extended coordinates on newer XTerms.
8413 This appears to be harmless on terminals which do not support this.
8415 2012-07-14 Leo Liu <sdl.web@gmail.com>
8417 Add fringe bitmap indicators for flymake. (Bug#11253)
8418 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8419 (flymake-make-overlay): New arg BITMAP.
8420 (flymake-error-bitmap, flymake-warning-bitmap)
8421 (flymake-fringe-indicator-position): New user variables.
8423 * fringe.el: New bitmap exclamation-mark.
8425 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8427 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8430 2012-07-14 Chong Yidong <cyd@gnu.org>
8432 * electric.el (electric-pair-post-self-insert-function): Fix pair
8433 insertion in empty-region case (Bug#11520).
8435 2012-07-14 Chong Yidong <cyd@gnu.org>
8437 * bindings.el: Consolidate ctl-x-r-map bindings.
8438 Bind copy-rectangle-as-kill to C-x r w.
8440 * rect.el, register.el: Move bindings to bindings.el.
8442 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8444 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8446 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8448 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8450 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8452 * bindings.el (top): Use `mapc' instead of `mapcar'.
8454 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8456 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8458 * progmodes/sql.el (sql-comint): Suppress the check for program on
8459 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8462 2012-07-13 Chong Yidong <cyd@gnu.org>
8464 * bindings.el: Assign a non-nil permanent-local property to
8465 per-buffer variables which lack a default value (Bug#11930).
8467 * help-fns.el (describe-variable): In the "automatically becomes
8468 local" notice, take note of permanent-local variables.
8470 2012-07-13 Chong Yidong <cyd@gnu.org>
8472 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8473 to allow printing the message when called from Lisp.
8475 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8476 Remove toggle-read-only.
8478 * bs.el (bs-toggle-readonly):
8479 * buff-menu.el (Buffer-menu-toggle-read-only):
8480 Remove with-no-warnings around toggle-read-only.
8482 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8483 Remove with-no-warnings around toggle-read-only.
8484 (ffap-read-only, ffap-read-only-other-window)
8485 (ffap-read-only-other-frame): Callers changed.
8487 * help-mode.el: Don't require view package.
8488 (help-mode-finish): Set buffer-read-only instead of calling
8491 * bindings.el (mode-line-toggle-read-only):
8492 * dired.el (dired-toggle-read-only):
8493 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8494 with non-nil second arg.
8496 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8497 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8500 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8502 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8505 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8507 More CL cleanups and reduction of use of cl.el.
8508 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8509 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8510 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8511 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8512 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8513 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8514 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8515 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8516 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8517 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8518 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8519 * eshell/em-cmpl.el, eshell/em-banner.el:
8520 * calendar/parse-time.el: Use cl-lib.
8521 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8522 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8523 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8524 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8525 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8526 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8527 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8528 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8529 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8530 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8531 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8532 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8533 `lambda' rather than with `quote'.
8534 (eshell-do-opt): Adjust accordingly.
8535 (eshell-process-option): Simplify.
8536 * eshell/esh-var.el:
8537 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8538 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8539 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8540 to `pcase--dontcare'.
8541 * emacs-lisp/cl.el (labels): Mark obsolete.
8542 (cl--letf, letf): Move to cl-lib.
8543 (cl--letf*, letf*): Remove.
8544 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8545 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8546 (cl-progv): Rewrite.
8547 (cl--letf, cl-letf): Move from cl.el.
8548 (cl-letf*): New macro.
8549 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8551 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8553 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8555 2012-07-11 Chong Yidong <cyd@gnu.org>
8557 * vc/log-edit.el (log-edit-vc-backend): New variable.
8558 (log-edit): Doc fix.
8560 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8561 argument of log-edit to set up all local variables.
8562 (vc-start-logentry): New optional arg specifying VC backend.
8564 * vc/vc.el (vc-checkin): Use it.
8565 (vc-deduce-fileset): Handle Log Edit buffers.
8566 (vc-diff): Make first argument optional too.
8568 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8570 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8572 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8573 command, just in case. The function is not needed anymore.
8574 (eshell-external-command): Do not call `eshell-remote-command'.
8576 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8578 Reduce use of (require 'cl).
8579 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8580 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8581 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8582 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8583 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8584 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8585 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8586 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8587 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8588 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8589 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8590 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8591 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8592 (byte-compile-unfold-bcf, byte-compile-check-variable):
8593 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8594 (byte-compile-nilconstp):
8595 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8596 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8598 * emacs-lisp/gv.el (cond): Make it a valid place.
8599 (if): Simplify slightly.
8601 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8602 (pcase--self-quoting-p): New function.
8603 (pcase--u1): Use it.
8605 2012-07-10 Glenn Morris <rgm@gnu.org>
8607 * emacs-lisp/authors.el (authors-fixed-entries):
8608 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8610 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8612 Rename configure.in to configure.ac (Bug#11603).
8613 * emacs-lisp/authors.el (authors-canonical-file-name):
8614 * progmodes/autoconf.el (autoconf-mode):
8615 Prefer configure.ac to configure.in.
8617 2012-07-08 Chong Yidong <cyd@gnu.org>
8619 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8620 Implement the mouse-1-click-follows-link handling properly.
8622 * info.el (Info-link-keymap): Use follow-link mechanism for
8623 header-line links (Bug#374).
8625 * simple.el (deactivate-mark): Do not set the primary selection
8626 if another program has acquired it (Bug#11772).
8628 2012-07-07 Kevin Ryde <user42@zip.com.au>
8630 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8631 (woman-decode-region): Replace escaped-escapes without destroying
8632 bold or underline (Bug#11552).
8633 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8635 2012-07-07 Chong Yidong <cyd@gnu.org>
8637 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8638 (interprogram-cut-function, interprogram-paste-function):
8639 Mention that we typically mean the clipboard.
8641 2012-07-06 Glenn Morris <rgm@gnu.org>
8643 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8645 * files.el (toggle-read-only): Restrict message to interactive use.
8647 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8649 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8651 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8653 2012-07-06 Glenn Morris <rgm@gnu.org>
8655 * Makefile.in (compile-one-process): Rename from "recompile".
8657 * Makefile.in (bzr-update): "compile" is the same as "recompile
8658 autoloads", but parallelizable, so use that instead.
8660 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8662 * window.el (quit-window): Always restore window height when
8663 it's saved in quit-restore parameter (Bug#11810).
8665 2012-07-06 Glenn Morris <rgm@gnu.org>
8667 * simple.el (kill-whole-line): Doc tweak.
8669 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8671 * files.el (file-relative-name): Compare file names
8672 case-insensitively if on MS-Windows or MS-DOS, or if
8673 read-file-name-completion-ignore-case is non-nil. Don't use
8674 case-fold-search for this purpose. (Bug#11827)
8676 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8678 * calendar/cal-dst.el (calendar-current-time-zone):
8679 Return calendar-current-time-zone-cache if non-nil.
8681 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8682 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8684 * calendar/cal-dst.el (calendar-current-time-zone):
8685 Return calendar-current-time-zone-cache if non-nil.
8687 2012-07-06 Glenn Morris <rgm@gnu.org>
8689 * Makefile.in (cvs-update): Remove old alias.
8691 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8693 Sync with Tramp 2.2.6-pre.
8695 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8696 compatible declaration.
8698 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8699 Protect `list-load-path-shadows' call.
8701 * net/tramp-compat.el (top): Require packages, which aren't
8702 autoloaded anymore for XEmacs. Protect call of
8703 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8704 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8705 it hurts at least for SXEmacs.
8706 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8707 standard-value for `temporary-file-directory'.
8709 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8710 Redirect stderr to /dev/null.
8711 (tramp-sh-handle-write-region): uid and gid can be floats.
8712 Reported by Russell Sim <russell.sim@gmail.com>.
8713 (tramp-sh-handle-vc-registered): Hide errors.
8714 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8715 and `start-file-process'.
8716 (tramp-maybe-open-connection): Check also whether `non-essential'
8719 2012-07-04 Chong Yidong <cyd@gnu.org>
8721 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8722 (xml-parse-tag): Likewise, and avoid changing entity tables.
8723 (xml-syntax-table): Define from scratch, making sure not to give
8724 x2000 and other Unicode spaces whitespace syntax, since those are
8726 (xml-parse-fragment): Delete unused function.
8727 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8728 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8729 (xml-entity-ref, xml-pe-reference-re)
8730 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8731 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8732 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8733 (xml-entity-value-re): Use syntax references in regexps where
8734 possible; no need to define inside a let-binding.
8735 (xml-parse-dtd): Use xml-pe-reference-re.
8736 (xml-entity-or-char-ref-re): New defconst.
8737 (xml-parse-string, xml-substitute-special): Use it.
8739 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8742 (find-file--read-only): New function.
8743 (find-file-read-only, find-file-read-only-other-window)
8744 (find-file-read-only-other-frame): Use it.
8745 (insert-file-contents-literally): Don't `fset'.
8746 (get-free-disk-space): Use locate-dominating-file.
8748 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8749 function is already compiled.
8751 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8753 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8755 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8756 files on the same host.
8758 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8760 * help-fns.el (describe-function-1): Only call
8761 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8763 2012-07-03 Chong Yidong <cyd@gnu.org>
8765 * xml.el: Protect parser against XML bombs.
8766 (xml-entity-expansion-limit): New variable.
8767 (xml-parse-string, xml-substitute-special): Use it.
8768 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8770 2012-07-03 Glenn Morris <rgm@gnu.org>
8772 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8773 Allow linking to specific messages in debbugs reports (eg 123#5).
8775 2012-07-02 Chong Yidong <cyd@gnu.org>
8777 * xml.el: Fix entity and character reference expansion, allowing
8778 them to expand into markup as per XML spec.
8779 (xml-default-ns): New variable.
8780 (xml-entity-alist): Use XML spec definitions for lt and amp.
8781 (xml-parse-region): Make first two arguments optional.
8782 Discard text properties.
8783 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8784 All callers changed.
8785 (xml-parse-tag): Call xml-parse-tag-1. For backward
8786 compatibility, this function should not modify buffer contents.
8787 (xml-parse-tag-1): Fix opening-tag regexp.
8788 (xml-parse-string): Rewrite, handling entity and character
8789 references properly.
8790 (xml--entity-replacement-text): Signal an error if a parameter
8791 entity is undefined.
8793 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8795 * comint.el (comint-output-filter): Filter out repeated prompts.
8797 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8798 and file-name-absolute-p.
8799 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8802 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8805 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8806 Rename from byte-compile--refiy-function. All uses changed.
8808 2012-07-01 Chong Yidong <cyd@gnu.org>
8810 * xml.el (xml--parse-buffer): New function. Move most of
8811 xml-parse-region here.
8812 (xml-parse-region): Copy region into a temporary buffer, since
8813 parameter entity substitution requires changing buffer contents.
8814 Use xml--parse-buffer.
8815 (xml-parse-file): Use xml--parse-buffer.
8816 (xml-parse-dtd): Make parameter entity substitution work right.
8817 Use proper regexps for ELEMENT declarations (Bug#7172).
8819 2012-06-30 Glenn Morris <rgm@gnu.org>
8821 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8823 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8824 Remove outdated and unnecessary dbus declarations.
8826 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8828 * emacs-lisp/timer.el (timer-until): Subtract results of
8829 float-time, instead of taking float-time of the result of
8830 time-subtract, since float-time signals an error for negative time
8833 2012-06-30 Chong Yidong <cyd@gnu.org>
8835 * xml.el (xml-*-re): Convert defvars into defconsts, and
8836 eval-and-compile them so eval-and-compile works on derivatives.
8837 (xml--entity-replacement-text): Use eval-and-comple.
8839 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8841 * vc/vc-git.el (vc-git-registered): Use cache property
8843 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8844 `vc-git-working-revision' in order to benefit from the cache.
8845 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8847 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8849 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8850 removed (likely outside Emacs). (Bug#11757)
8852 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8854 * emacs-lisp/cl-lib.el: Require macroexp.
8856 2012-06-30 Chong Yidong <cyd@gnu.org>
8858 * xml.el: Implement XML parameter entities.
8859 (xml-parameter-entity-alist): New variable.
8860 (xml-parse-region, xml-parse-fragment): Preserve previous values
8861 of xml-entity-alist and xml-parameter-entity-alist, so that
8862 repeated calls on different documents do not change them.
8863 (xml-parse-tag): Fix doctype regexp.
8864 (xml--entity-replacement-text): New function.
8865 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8866 properly requires url retrieval which is unimplemented.
8867 (xml-escape-string): Doc fix.
8869 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8873 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8875 * fringe.el (fringe-mode): Doc fix.
8877 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8879 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8881 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8882 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8884 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8886 * calendar/cal-dst.el (calendar-current-time-zone):
8887 Return calendar-current-time-zone-cache if non-nil.
8889 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8891 * progmodes/which-func.el (which-func-format):
8892 Add mouse-face. (Bug#11698)
8894 2012-06-29 Leo Liu <sdl.web@gmail.com>
8896 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8898 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8900 * minibuffer.el (minibuffer-confirm-exit-commands):
8901 Add completion-at-point (bug#11725).
8903 2012-06-29 Glenn Morris <rgm@gnu.org>
8905 * progmodes/f90.el (f90-font-lock-keywords-2):
8906 Add some preprocessor elements. (Bug#10499)
8908 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8911 Use syntax-propertize (bug#11739).
8913 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8915 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8917 2012-06-28 Julien Danjou <julien@danjou.info>
8919 * term.el (term-handle-colors-array): Use a set of new faces to
8920 color the terminal. Also uses :inverse-video property.
8921 (term-default-fg-color): Set to nil by default, deprecate in favor
8923 (term-default-bg-color): Set to nil by default, deprecate in favor
8925 (term-current-face): Use `term-face' by default.
8926 (term-bold-attribute): Variable deleted.
8928 2012-06-28 Glenn Morris <rgm@gnu.org>
8930 * simple.el (completion-list-mode-finish):
8931 Don't use toggle-read-only. (Since completion-list-mode has
8932 a special mode-class, it wasn't doing anything extra anyway.)
8934 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8936 Make inlining of other-mode interpreted functions work (bug#11799).
8937 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8938 (byte-compile): Use it to fix compilation of lexical-binding closures.
8939 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8940 function, if needed.
8942 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * help-mode.el (help-make-xrefs): Don't just withstand
8945 cyclic-variable-indirection but any error in documentation-property.
8947 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8949 * bindings.el (bindings--define-key): New function.
8950 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8951 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8952 * bindings.el: Use it to purecopy define-key bindings.
8954 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8956 * emacs-lisp/cl.el (flet): Mark obsolete.
8957 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8958 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8959 * progmodes/js.el (js-c-fill-paragraph):
8960 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8961 (ebrowse-switch-member-buffer-to-derived-class):
8962 * play/5x5.el (5x5-solver): Use cl-flet.
8964 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8965 (cl--symbol-function): New macro.
8966 (cl--letf, cl--letf*): Use it.
8968 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8969 Strip "toggle-" if any.
8971 2012-06-27 Glenn Morris <rgm@gnu.org>
8973 * info.el (Info-default-directory-list): Move here from paths.el.
8974 * paths.el: Remove file, which is now empty.
8975 * loadup.el: No longer load "paths".
8977 * custom.el (custom-initialize-delay): Doc fix.
8979 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8980 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8981 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8982 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8983 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8984 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8985 * eshell/eshell.el (eshell-defgroup): Remove alias.
8987 2012-06-27 Chong Yidong <cyd@gnu.org>
8989 * help.el (help-enable-auto-load): New variable.
8991 * help-fns.el (help-fns--autoloaded-p): New function.
8992 (describe-function-1): Refer to a function as "autoloaded" if it
8993 was autoloaded at any time in the past. Perform autoloading if
8994 help-enable-auto-load is non-nil.
8996 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8998 * makefile.w32-in (compile, compile-always): Depend on
8999 update-subdirs, not on subdirs.el. Otherwise, several different
9000 sub-targets of 'bootstrap' running in parallel could
9001 simultaneously write to subdirs.el, producing a garbled file.
9003 2012-06-26 Sam Steingold <sds@gnu.org>
9005 * files.el (file-name-base): New convenience function.
9006 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9007 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9008 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9009 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9010 * textmodes/ispell.el, textmodes/reftex-ref.el:
9011 * textmodes/tex-mode.el: Use it.
9012 Did not touch cedet and org because they are maintained elsewhere.
9014 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9016 * calendar/calendar.el (calendar-exit): Don't try to delete or
9017 iconify last frame. See:
9018 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9020 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9022 * server.el (server-process-filter): Remember dir in the
9023 process's `server-client-directory' properties.
9025 2012-06-24 Chong Yidong <cyd@gnu.org>
9027 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9030 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9032 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9034 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9036 * help-fns.el (describe-variable): Don't croak when doc is not found.
9037 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9038 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9039 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9040 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9041 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9043 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9045 2012-06-23 Chong Yidong <cyd@gnu.org>
9047 * info.el (Info-mouse-follow-link): Accept symbol values of
9048 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9049 (Info-fontify-node): Use Info-link-keymap for all navigation
9050 buttons, with link-args property to perform the desired action.
9051 (Info-link-keymap): Doc fix.
9052 (Info-next-link-keymap, Info-prev-link-keymap)
9053 (Info-up-link-keymap): Delete now-unused keymaps.
9055 2012-06-23 Chong Yidong <cyd@gnu.org>
9057 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9059 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9062 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9064 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9069 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9070 the requote function doesn't work properly (bug#11714).
9072 2012-06-23 Glenn Morris <rgm@gnu.org>
9074 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9076 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9078 Further GV/CL cleanups.
9079 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9081 (gv--defun-declaration): New function.
9082 (defun-declarations-alist): Use it.
9083 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9084 (gv-place): Autoload.
9085 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9086 original definition of dotimes and dolist.
9087 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9088 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9089 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9090 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9091 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9092 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9093 to the function's definition.
9094 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9098 * env.el: Don't use CL.
9100 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9102 Support higher-resolution time stamps (Bug#9000).
9104 * calendar/time-date.el (with-decoded-time-value): New arg
9105 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9106 (encode-time-value): New optional arg PICO. New type 3.
9107 (time-to-seconds) [!float-time]: Support the new picoseconds
9108 component if it's used.
9109 (seconds-to-time, time-subtract, time-add):
9110 Support ps-resolution time stamps as well.
9112 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9113 (timerp): Timer vectors now have length 9, not 8.
9114 (timer--time): Support new-style (4-part) time stamps.
9115 (timer-next-integral-multiple-of-time): Time stamps now have
9116 picosecond resolution, so take a bit more care about rounding.
9117 (timer-relative-time, timer-inc-time): New optional arg psecs.
9118 (timer-set-time-with-usecs): Set psecs to 0.
9119 (timer--activate): Check psecs component, too.
9121 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9123 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9125 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9126 Move the non-essential binding to the post/pre-command-hook where it is
9127 more obviously correct.
9129 * subr.el (read-passwd): Don't use a history at all.
9130 * savehist.el (savehist-save): Remove password saved accidentally
9131 because of the above bug.
9133 2012-06-22 Bastien Guerry <bzg@gnu.org>
9135 * files.el (toggle-read-only): Display a message telling whether
9136 the buffer is read-only or not (bug#11726).
9138 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9140 * emacs-lisp/gv.el: New file.
9141 * subr.el (push, pop): Extend to generalized variables.
9142 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9143 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9144 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9145 gv-define-simple-setter, and gv-define-expander.
9146 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9147 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9148 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9149 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9150 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9152 (cl-defstruct): Don't define setf-method any more.
9153 * emacs-lisp/cl.el (flet): Don't autoload.
9154 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9155 (define-setf-expander, defsetf, define-modify-macro)
9156 (cl-struct-setf-expander): Move from cl-lib.el.
9157 * emacs-lisp/syntax.el:
9158 * emacs-lisp/ewoc.el:
9159 * emacs-lisp/smie.el:
9160 * emacs-lisp/cconv.el:
9161 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9162 (timer--time): Use gv-define-simple-setter.
9163 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9164 to avoid coding-system problems in subr.el. Adjust all users.
9165 (macroexp--maxsize, macroexp-small-p): New functions.
9166 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9167 * scroll-bar.el (scroll-bar-mode):
9168 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9169 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9170 * winner.el (winner-configuration, winner-make-point-alist)
9171 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9172 * files.el (locate-file-completion-table): Avoid list*.
9174 2012-06-22 Chong Yidong <cyd@gnu.org>
9176 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9177 (dired-create-files): Doc fix (Bug#11329).
9178 (dired-do-copy): Doc fix (Bug#11334).
9179 (dired-mark-read-string): Doc fix (Bug#11553).
9181 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9182 Doc fix (Bug#11326).
9183 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9184 (dired-dwim-target): Doc fix.
9186 * wdired.el (wdired-mode): Doc fix.
9188 2012-06-22 Glenn Morris <rgm@gnu.org>
9190 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9191 (pcmpl-rpm-cache-stamp-file): New constant.
9192 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9193 (pcmpl-rpm-packages): Optionally cache list of packages.
9195 * pcmpl-rpm.el (pcmpl-rpm): New group.
9196 (pcmpl-rpm-query-options): New option.
9197 (pcmpl-rpm-packages): No need to inline it.
9198 Use pcmpl-rpm-query-options.
9200 * calendar/calendar.el (calendar-in-read-only-buffer):
9201 Avoid some needless mode changes.
9203 2012-06-21 Chong Yidong <cyd@gnu.org>
9205 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9206 (desktop-path): Remove . from the default value (Bug#10977).
9207 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9209 2012-06-20 Chong Yidong <cyd@gnu.org>
9211 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9213 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9215 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9218 2012-06-20 Chong Yidong <cyd@gnu.org>
9220 * term.el (term-window-width): Handle the case of a missing right
9222 (term-check-size): Use window-text-height (Bug#5445).
9223 (term-mode): Use define-derived-mode. Minor cleanups.
9224 Set font-lock-defaults (Bug#7692).
9225 (term-move-columns, term-insert-char, term-emulate-terminal)
9226 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9228 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9230 * net/ange-ftp.el (ange-ftp-get-passwd):
9231 Bind `enable-recursive-minibuffers'.
9232 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9234 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9236 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9238 2012-06-19 Glenn Morris <rgm@gnu.org>
9240 * progmodes/python.el (python-mode): Derive from prog-mode.
9242 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9244 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9245 (edt-user-menu-bar-update-buffers): New functions.
9246 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9248 2012-06-19 Chong Yidong <cyd@gnu.org>
9250 * subr.el (with-selected-window): Preserve the selected window's
9251 terminal's top-frame (Bug#4702).
9253 * window.el (save-selected-window): Likewise.
9255 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * progmodes/python.el (python-rx-constituents): Move backquote.
9258 (python-skeleton-define, python-define-auxiliary-skeleton):
9261 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9263 * minibuffer.el (read-file-name-default): Revert the patch from
9266 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9269 (pcase--u1, pcase--q1): Don't use apply-partially.
9271 2012-06-18 Glenn Morris <rgm@gnu.org>
9273 * progmodes/python.el (python-proc, python-buffer)
9274 (python-send-receive, python-send-string): Fix obsolete versions.
9276 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9278 * window.el (special-display-p): Completely remove stringp
9279 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9281 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9283 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9285 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9287 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9288 * net/tramp-sh.el (tramp-maybe-open-connection):
9289 Throw if `non-essential' is non-nil.
9291 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9293 * window.el (special-display-p): Signal an error if BUFFER-NAME
9294 is not a string (Bug#11713).
9296 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9298 * progmodes/python.el (python-info-beginning-of-backslash):
9299 Rename from python-info-beginning-of-backlash, as a spelling fix.
9301 2012-06-17 Chong Yidong <cyd@gnu.org>
9303 * term.el (term-emulate-terminal): If term-check-size is called,
9304 move point to the process mark without resetting point (Bug#4635).
9306 2012-06-17 Glenn Morris <rgm@gnu.org>
9308 * international/mule-cmds.el (mule-menu-keymap)
9309 (set-language-environment, set-locale-environment): Doc tweaks.
9311 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9313 * cus-face.el (custom-face-attributes): Add wave-style underline
9315 * faces.el (set-face-attribute): Update docstring to describe
9316 wave-style underline attribute.
9318 2012-06-16 Chong Yidong <cyd@gnu.org>
9320 * term/xterm.el (terminal-init-xterm): Discard input before
9321 querying background mode (Bug#10959).
9323 2012-06-16 Stefan Merten <smerten@oekonux.de>
9325 * textmodes/rst.el: Added and corrected some comments.
9326 (rst-re-alist-def): Improve symbol syntax.
9327 (rst-mode-syntax-table): Correct syntax entries.
9328 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9329 (rst-official-version, rst-official-cvs-rev): Update version
9332 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9334 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9335 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9337 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9339 * progmodes/python.el: New python.el merge.
9340 (python-guess-indent): Obsolete var.
9341 (python-indent-guess-indent-offset): New defcustom.
9342 (python-indent): Obsolete var.
9343 (python-indent-offset): New defcustom.
9344 (python-python-command, python-jython-command): Delete var.
9345 (python-shell-interpreter): New defcustom.
9346 (python-pdbtrack-do-tracking-p): Delete var.
9347 (python-pdbtrack-activate): New defcustom.
9348 (python-use-skeletons): Obsolete var.
9349 (python-skeleton-autoinsert): New defcustom.
9350 (inferior-python-filter-regexp, python-continuation-offset)
9351 (python-honour-comment-indentation, python-indent-string-contents)
9352 (python-jython-packages, python-mode-hook)
9353 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9354 (python-shell-prompt-alist)
9355 (python-source-modes): Delete defcustoms.
9356 (python-check-buffer-name, python-eldoc-setup-code)
9357 (python-eldoc-string-code, python-ffap-setup-code)
9358 (python-ffap-string-code, python-fill-comment-function)
9359 (python-fill-decorator-function, python-fill-paren-function)
9360 (python-fill-string-function, python-imenu-include-defun-type)
9361 (python-imenu-make-tree, python-imenu-subtree-root-label)
9362 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9363 (python-shell-compilation-regexp-alist)
9364 (python-shell-completion-module-string-code)
9365 (python-shell-completion-pdb-string-code)
9366 (python-shell-completion-setup-code)
9367 (python-shell-completion-string-code)
9368 (python-shell-enable-font-lock, python-shell-exec-path)
9369 (python-shell-extra-pythonpaths)
9370 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9371 (python-shell-process-environment)
9372 (python-shell-prompt-block-regexp)
9373 (python-shell-prompt-output-regexp)
9374 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9375 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9376 (python-shell-virtualenv-path): New defcustoms.
9377 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9378 (inferior-python-mode-syntax-table, python--prompt-regexp)
9379 (python-buffer, python-command python-python-command)
9380 (python-default-template, python-imports, python-indent-index)
9381 (python-indent-list, python-indent-list-length)
9382 (python-mode-running, python-pdbtrack-is-tracking-p)
9383 (python-preoutput-continuation, python-preoutput-leftover)
9384 (python-preoutput-result, python-preoutput-skip-next-prompt)
9385 (python-prev-dir/file, python-recursing)
9386 (python-saved-check-command, python-version-checked)
9387 (python-which-func-length-limit)
9388 (view-return-to-alist): Delete vars.
9389 (python-check-custom-command, python-dotty-syntax-table)
9390 (python-imenu-index-alist, python-indent-current-level)
9391 (python-indent-dedenters, python-indent-levels)
9392 (python-nav-beginning-of-defun-regexp)
9393 (python-nav-list-defun-positions-cache)
9394 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9395 (python-shell-internal-buffer)
9396 (python-skeleton-available): New vars.
9397 (def-python-skeleton): Delete macro.
9398 (python-skeleton-define): New macro.
9399 (python-define-auxiliary-skeleton, python-rx): New macros.
9400 (python-insert-class): Delete command.
9401 (python-skeleton-class): New command.
9402 (python-insert-def): Delete command.
9403 (python-skeleton-def): New command.
9404 (python-insert-for): Delete command.
9405 (python-skeleton-for): New command.
9406 (python-insert-if): Delete command.
9407 (python-skeleton-if): New command.
9408 (python-insert-try/except, python-insert-try/finally): Delete commands.
9409 (python-skeleton-try): New command.
9410 (python-insert-while): Delete command.
9411 (python-skeleton-while): New command.
9412 (python-backspace): Delete command.
9413 (python-indent-dedent-line-backspace): New command.
9414 (python-electric-colon): Delete command.
9415 (python-indent-electric-colon): New command.
9416 (python-guess-indent): Delete command.
9417 (python-indent-guess-indent-offset): New command.
9418 (python-shift-left): Delete command.
9419 (python-indent-shift-left): New command.
9420 (python-shift-right): Delete command.
9421 (python-indent-shift-right): New command.
9422 (python-find-function): Delete command.
9423 (python-nav-jump-to-defun): New command.
9424 (python-next-statement): Delete command.
9425 (python-nav-forward-sentence): New command.
9426 (python-previous-statement): Delete command.
9427 (python-nav-backward-sentence): New command.
9428 (python-fill-paragraph): Delete command.
9429 (python-fill-paragraph-function): New command.
9430 (python-send-buffer): Delete command.
9431 (python-shell-send-buffer): New command.
9432 (python-send-defun): Delete command.
9433 (python-shell-send-defun): New command.
9434 (python-send-region, python-send-region-and-go): Delete commands.
9435 (python-shell-send-region)
9436 (python-shell-switch-to-shell): New commands.
9437 (python-send-string): Delete command.
9438 (python-shell-send-string): New command.
9439 (python-switch-to-python): Delete command.
9440 (python-shell-switch-to-shell): New command.
9441 (python-describe-symbol): Delete command.
9442 (python-eldoc-at-point): New command.
9443 (python--set-prompt-regexp, python-args-to-list)
9444 (python-after-info-look, python-check-version)
9445 (python-check-comint-prompt, python-find-imports)
9446 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9447 (python-unload-function, python-expand-template)
9448 (python-maybe-jython, python-preoutput-filter)
9449 (python-pdbtrack-get-source-buffer)
9450 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9451 (python-pdbtrack-toggle-stack-tracking)
9452 (python-pdbtrack-track-stack-file, python-initial-text)
9453 (python-first-word, python-comment-line-p, python-send-command)
9454 (python-setup-brm, python-sentinel, python-set-proc)
9455 (python-skip-out, python-input-filter, python-outdent-p)
9456 (python-outline-level, python-backslash-continuation-line-p)
9457 (python-end-of-block, python-end-of-statement, python-mark-block)
9458 (python-beginning-of-block, python-beginning-of-statement)
9459 (python-blank-line-p, python-beginning-of-string)
9460 (python-open-block-statement-p): Delete functions.
9461 (python-indent-line, python-indent-line-1): Delete functions.
9462 (python-indent-line): New function.
9463 (python-indentation-levels): Delete function.
9464 (python-indent-calculate-levels): New function.
9465 (python-proc): Delete function.
9466 (python-shell-get-process): New function.
9467 (python-send-receive): Delete function.
9468 (python-shell-send-string-no-output): New function.
9469 (python-module-path): Delete function.
9470 (python-ffap-module-path): New function.
9471 (python-completion-at-point)
9472 (python-symbol-completions): Delete functions.
9473 (python-completion-complete-at-point): New function.
9474 (python-load-file): Delete function.
9475 (python-shell-send-file): New function.
9476 (python-calculate-indentation): Delete function.
9477 (python-indent-calculate-indentation): New function.
9478 (python-skip-comments/blanks): Delete function.
9479 (python-util-forward-comment): New function.
9480 (python-continuation-line-p): Delete function.
9481 (python-info-continuation-line-p): New function.
9482 (python-which-func, python-current-defun): Delete function.
9483 (python-info-current-defun): New function.
9484 (python-beginning-of-defun): Delete function.
9485 (python-nav-beginning-of-defun): New function.
9486 (python-close-block-statement-p)
9487 (python-block-end-p): Delete function.
9488 (python-info-closing-block): New function.
9489 (python-comint-output-filter-function)
9490 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9491 (python-fill-comment, python-fill-decorator, python-fill-paren)
9492 (python-fill-string, python-imenu-make-element-tree)
9493 (python-imenu-make-tree, python-imenu-tree-assoc)
9494 (python-indent-context, python-indent-dedent-line)
9495 (python-indent-line-function)
9496 (python-indent-post-self-insert-function)
9497 (python-indent-toggle-levels)
9498 (python-info-assignment-continuation-line-p)
9499 (python-info-beginning-of-backlash)
9500 (python-info-block-continuation-line-p)
9501 (python-info-closing-block-message)
9502 (python-info-line-ends-backslash-p)
9503 (python-info-looking-at-beginning-of-defun)
9504 (python-info-ppss-context, python-info-ppss-context-type)
9505 (python-nav-list-defun-positions, python-nav-read-defun)
9506 (python-nav-sentence-end, python-nav-sentence-start)
9507 (python-pdbtrack-comint-output-filter-function)
9508 (python-pdbtrack-set-tracked-buffer)
9509 (python-shell-calculate-exec-path)
9510 (python-shell-calculate-process-environment)
9511 (python-shell-completion--do-completion-at-point)
9512 (python-shell-completion--get-completions)
9513 (python-shell-completion-complete-at-point)
9514 (python-shell-completion-complete-or-indent)
9515 (python-shell-get-or-create-process)
9516 (python-shell-get-process-name)
9517 (python-shell-internal-get-or-create-process)
9518 (python-shell-internal-get-process-name)
9519 (python-shell-internal-send-string, python-shell-make-comint)
9520 (python-shell-parse-command, python-shell-send-setup-code)
9521 (python-skeleton-add-menu-items)
9522 (python-util-clone-local-variables, python-util-position)
9523 (run-python-internal, python-indentation-levels)
9524 (python-nav-beginning-of-defun)
9525 (python-completion-complete-at-point): New functions.
9526 (run-python): Change arguments. New API requirements.
9528 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9533 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9534 (macroexp--expand-all): Use it.
9536 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9537 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9538 Use `cl-function' instead.
9540 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9542 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9543 Suggested by Stefan Monnier while discussing bug#11657.
9545 2012-06-14 Sam Steingold <sds@gnu.org>
9547 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9549 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9551 * play/doctor.el (doctor-doc): Remove parameter and use
9552 doctor-sent instead of sent.
9553 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9555 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * files.el: Require cl-lib.
9558 (file-name-non-special): Replace case -> cl-case.
9560 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9562 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9563 mapping from #' to function*.
9565 2012-06-13 Chong Yidong <cyd@gnu.org>
9567 * mouse.el (mouse-drag-track): Do not set the mark if the user
9568 releases the mouse without selecting anything (Bug#11588).
9570 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9572 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9573 as well (bug#11646).
9575 * loadup.el: Count byte-code functions as well.
9577 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9578 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9580 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9581 (bug#11649). Add cl-defun and cl-defmacro.
9583 2012-06-13 Drew Adams <drew.adams@oracle.com>
9585 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9588 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9590 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9591 Otherwise, it blocks in batch mode.
9593 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9595 * help-mode.el (bookmark-make-record-default): Declare.
9597 2012-06-13 Chong Yidong <cyd@gnu.org>
9599 * emacs-lisp/package.el (list-packages): Compute a list of
9600 packages that are newly-available since the last list-packages
9602 (package-menu--new-package-list): New var.
9603 (package-menu--generate, package-menu--print-info)
9604 (package-menu--status-predicate, package-menu-mark-install):
9605 Handle new status label "new".
9607 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9609 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9610 conversion to backquotes.
9612 2012-06-12 Chong Yidong <cyd@gnu.org>
9614 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9615 Rename from gud-inhibit-global-bindings.
9617 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9619 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9620 hook from nxml-glyph-set-hook.
9622 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9625 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9627 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9628 Convert to defcustom.
9630 2012-06-12 Drew Adams <drew.adams@oracle.com>
9632 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9634 (help-mode): Use them.
9636 2012-06-11 Glenn Morris <rgm@gnu.org>
9638 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9639 Use preprocessor face for directives.
9640 (fortran-directive-re): Doc fix.
9642 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9644 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9645 conversion to backquotes (bug#11652).
9647 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9648 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9649 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9650 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9651 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9652 (cl-ninth, cl-tenth): Mark them as inlinable.
9653 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9654 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9655 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9656 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9657 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9658 (cl-list*, cl-adjoin): Don't put an autoload manually.
9659 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9660 (cl--compiler-macro-list*): Add autoload cookie.
9661 (cl--compiler-macro-cXXr): New function.
9663 * help-fns.el (help-fns--compiler-macro): New function extracted from
9664 describe-function-1; follow aliases and use `compiler-macro' property.
9665 (describe-function-1): Use it.
9667 2012-06-11 Chong Yidong <cyd@gnu.org>
9669 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9670 is uninstalled, if imagemagick is installed.
9672 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * emacs-lisp/cl-lib.el: Use lexical-binding.
9675 (cl-map-extents, cl-maclisp-member): Remove.
9676 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9677 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9678 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9679 * emacs-lisp/cl-extra.el: Use lexical-binding.
9680 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9681 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9682 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9683 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9684 * emacs-lisp/cl-seq.el: Use lexical-binding.
9685 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9686 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9687 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9688 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9689 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9692 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9694 Sync with Tramp 2.2.6-pre.
9696 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9697 `print-length' and `print-level' to nil, in order to avoid
9698 truncation. Reported by Christopher Schmidt
9699 <christopher@ristopher.com>.
9701 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9703 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9705 (tramp-compat-copy-directory): Add optional argument
9706 COPY-CONTENTS. It is not handled yet.
9708 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9709 (tramp-ftp-file-name-p): Simplify.
9711 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9712 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9715 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9716 (tramp-methods): Do not use `tramp-password-end-of-line'.
9717 (tramp-completion-function-alist-putty): Handle UNIX case.
9718 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9719 (tramp-do-file-attributes-with-stat)
9720 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9721 gid as real numbers. They could run out of integer range on cygwin.
9722 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9723 (tramp-sh-handle-expand-file-name): Handle hops.
9724 (tramp-open-connection-setup-interactive-shell):
9725 Use `tramp-cleanup'. Move check for busyboxes ...
9726 (tramp-find-shell): ... here. Simplify implementation.
9727 Set "remote-shell" property also for alternative shells.
9728 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9729 If failing, a regular file would be written otherwise.
9730 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9731 (tramp-find-inline-encoding): Cache the coding commands in the
9732 process cache. Apply test command on the remote side, if defined.
9733 (tramp-find-inline-compress): Cache the compress commands in the
9735 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9736 when requested. Handle hops.
9737 (tramp-current-connection): New defvar.
9738 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9739 Throw `suppress', if there was a failed connection shortly before.
9740 Handle user interrupt. (Bug#10187)
9741 (tramp-get-inline-compress, tramp-get-inline-coding):
9742 Read connection properties from the process cache.
9744 * net/tramp-smb.el (tramp-smb-server-version)
9745 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9747 (tramp-smb-prompt): Extend for powershell prompt.
9748 (tramp-smb-file-name-handler-alist): Add handlers for
9749 `process-file', `shell-command' and `start-file-process'.
9750 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9751 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9752 (tramp-smb-file-name-p): Simplify.
9753 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9754 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9755 (tramp-smb-shell-quote-argument): New defuns.
9756 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9757 Implement using "tar". By this, time-stamps are preserved.
9758 (tramp-smb-handle-copy-file): Handle also the case of directories.
9759 (tramp-smb-do-file-attributes-with-stat)
9760 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9761 Use `tramp-get-connection-buffer').
9762 (tramp-smb-handle-rename-file): Use "rename", when source and
9763 target are on the same share.
9764 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9765 Use `tramp-smb-server-version'.
9766 (tramp-smb-wait-for-output): Remove prompt.
9768 * net/tramp.el (top): Require 'cl.
9769 (tramp-methods, tramp-rsh-end-of-line):
9770 Remove `tramp-password-end-of-line' from docstring.
9771 (tramp-save-ad-hoc-proxies): New defcustom.
9772 (tramp-completion-function-alist): Adapt docstring.
9773 (tramp-default-password-end-of-line): Remove defcustom.
9774 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9775 (tramp-user-regexp, tramp-file-name-regexp-unified)
9776 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9777 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9778 (tramp-remote-file-name-spec-regexp): New defconst.
9779 (tramp-file-name-structure): Extend structure for hops.
9780 (tramp-get-method-parameter): Move up.
9781 (tramp-file-name-p, tramp-dissect-file-name)
9782 (with-parsed-tramp-file-name): Handle hops.
9783 (tramp-file-name-hop): New defun.
9784 (tramp-make-tramp-file-name): New optional arg HOP.
9785 (tramp-message-show-progress-reporter-message): New defvar.
9786 (tramp-with-progress-reporter): Use it. We cannot use
9787 `tramp-message-show-message' here, because this suppresses also
9789 (tramp-error-with-buffer): Suppress buffer view, if
9790 `tramp-message-show-message' is nil.
9791 Use `tramp-get-connection-buffer'.
9792 (tramp-cleanup): New defun.
9793 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9794 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9796 (tramp-completion-handle-file-name-all-completions): Handle hops.
9797 Fix an error when called from ido.
9798 (tramp-completion-dissect-file-name): Use better local variable
9799 name. Add hop to the vector.
9800 (tramp-handle-insert-file-contents): Use progress-reporter for the
9802 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9804 (tramp-check-for-regexp): Simplify search.
9805 (tramp-enter-password): Remove it. Move implementation ...
9806 (tramp-action-password): ... here.
9807 (tramp-mode-string-to-int, tramp-local-host-p)
9808 (tramp-make-tramp-temp-file, tramp-read-passwd)
9809 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9810 Set tramp-autoload cookie.
9812 * net/trampver.el: Update release number.
9814 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9815 Michael Albinus <michael.albinus@gmx.de>
9817 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9818 (tramp-parse-group, tramp-parse-file)
9819 (tramp-parse-shostkeys-sknownhosts): New defuns.
9820 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9821 (tramp-parse-shosts-group, tramp-parse-sconfig)
9822 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9823 (tramp-parse-sknownhosts, tramp-parse-hosts)
9824 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9826 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9827 (tramp-parse-putty-group): Don't narrow.
9828 (tramp-parse-putty): Make a loop.
9829 (tramp-file-name-handler): Catch the `suppress' signal.
9831 2012-06-11 Chong Yidong <cyd@gnu.org>
9833 * image.el (imagemagick-register-types): Put the ImageMagick entry
9834 at the end of image-type-file-name-regexps.
9836 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9838 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9839 (pcase, pcase-let*, pcase-dolist): Use them.
9841 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * emacs-lisp/pcase.el (pcase--let*): New function.
9844 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9845 (pcase--expand): Use macroexp-let².
9847 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9850 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9851 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9852 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9853 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9854 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9856 2012-06-10 Glenn Morris <rgm@gnu.org>
9858 * mail/rmail.el (rmail-yank-current-message): Leave point at
9859 correct position. (Bug#11660)
9861 2012-06-10 Chong Yidong <cyd@gnu.org>
9863 * allout-widgets.el: Fix code header.
9865 2012-06-10 Chong Yidong <cyd@gnu.org>
9867 * cus-edit.el (customize-changed-options-previous-release):
9870 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9872 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9874 2012-06-09 Chong Yidong <cyd@gnu.org>
9876 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9878 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9880 * window.el (special-display-popup-frame): Don't use
9881 window--display-buffer (Bug#11651).
9883 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9885 Fix parallel builds: make sure loaddefs.el is not being written
9886 while Lisp files are compiled.
9887 (compile): Don't depend on 'mh-autoloads'.
9888 (compile-CMD, compile-SH): Depend on 'autoloads'.
9889 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9891 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9893 2012-06-09 Chong Yidong <cyd@gnu.org>
9895 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9896 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9897 Doc fixes (Bug#11225).
9899 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9901 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9902 a function if there's a clear indication that it has a compiler-macro.
9903 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9904 (macro-declarations-alist): Add arglist to declaration functions.
9905 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9906 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9907 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9908 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9909 Also add autoload to find the compiler macro.
9910 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9911 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9912 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9913 (cl--compiler-macro-get): New functions, replacing calls to
9914 cl-define-compiler-macro.
9915 (cl-typep) [compiler-macro]: Use macroexp-let².
9917 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9919 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9920 string properly, fixes Bug#11473.
9922 2012-06-08 Chong Yidong <cyd@gnu.org>
9924 * faces.el (set-face-attribute): Doc fix.
9925 (modify-face): Don't use :bold and :italic.
9926 (error, warning, success): Tweak definitions.
9928 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9929 (custom-modified, custom-set, custom-changed, custom-themed)
9930 (custom-saved, custom-button, custom-button-mouse)
9931 (custom-button-pressed, custom-state, custom-comment-tag)
9932 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9933 (custom-group-subtitle): Use new-style face specs.
9934 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9935 (custom-set-face, custom-changed-face, custom-saved-face)
9936 (custom-button-face, custom-button-pressed-face)
9937 (custom-documentation-face, custom-state-face)
9938 (custom-comment-face, custom-comment-tag-face)
9939 (custom-variable-tag-face, custom-variable-button-face)
9940 (custom-face-tag-face, custom-group-tag-face-1)
9941 (custom-group-tag-face): Remove obsolete face alias.
9943 * epa.el (epa-validity-high, epa-validity-medium)
9944 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9945 (epa-field-name, epa-field-body):
9946 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9947 (font-lock-keyword-face, font-lock-builtin-face)
9948 (font-lock-function-name-face, font-lock-variable-name-face)
9949 (font-lock-type-face, font-lock-constant-face):
9950 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9951 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9952 * speedbar.el (speedbar-button-face, speedbar-file-face)
9953 (speedbar-directory-face, speedbar-tag-face)
9954 (speedbar-selected-face, speedbar-highlight-face)
9955 (speedbar-separator-face):
9956 * whitespace.el (whitespace-newline, whitespace-space)
9957 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9958 (whitespace-line, whitespace-space-before-tab)
9959 (whitespace-space-after-tab, whitespace-indentation)
9961 * emulation/cua-base.el (cua-global-mark):
9962 * eshell/em-prompt.el (eshell-prompt):
9963 * net/newst-plainview.el (newsticker-new-item-face)
9964 (newsticker-old-item-face, newsticker-immortal-item-face)
9965 (newsticker-obsolete-item-face, newsticker-date-face)
9966 (newsticker-statistics-face, newsticker-default-face):
9967 * net/newst-reader.el (newsticker-feed-face)
9968 (newsticker-extra-face, newsticker-enclosure-face):
9969 * net/newst-treeview.el (newsticker-treeview-face)
9970 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9971 (newsticker-treeview-immortal-face)
9972 (newsticker-treeview-obsolete-face)
9973 (newsticker-treeview-selection-face):
9974 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9975 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9976 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9977 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9978 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9979 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9980 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9982 * progmodes/vera-mode.el (vera-font-lock-number)
9983 (vera-font-lock-function, vera-font-lock-interface):
9984 * textmodes/table.el (table-cell): Use new-style face specs, and
9985 don't use the old :bold and :italic attributes.
9987 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9988 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9989 (ebrowse-member-class, ebrowse-progress): Likewise.
9990 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9991 (ebrowse-file-name-face, ebrowse-default-face)
9992 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9993 (ebrowse-progress-face): Remove obsolete faces.
9995 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9996 Inherit from error and warning faces respectively.
9998 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10000 (flyspell-incorrect-face, flyspell-duplicate-face):
10001 Remove obsolete aliases.
10003 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10005 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10008 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * startup.el (argv, argi): Make lexically scoped.
10011 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10012 * emacs-lisp/cl-macs.el: Use lexical-binding.
10013 Rename cl-bind-* to cl--bind-*.
10014 * files.el: Don't require `cl' since it doesn't use it.
10015 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10017 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10019 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10020 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10021 instead of calling external sort utility.
10022 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10024 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10026 * descr-text.el (describe-char): Mention how to insert the
10027 character, if the current input method doesn't support it.
10028 See the discussion in this thread for the details:
10029 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10031 2012-06-08 Sam Steingold <sds@gnu.org>
10033 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10034 XF86Back to previous-buffer.
10035 (minibuffer-local-map): Bind them to next-history-element and
10036 previous-history-element respectively.
10037 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10038 help-go-back respectively.
10039 * info.el (Info-mode-map): Bind them to Info-history-forward and
10040 Info-history-back respectively.
10041 These are the keys next to Up on the ThinkPad keyboard.
10043 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10045 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10046 * emacs-lisp/cl-macs.el: Provide itself.
10047 (cl--labels-convert-cache): New var.
10048 (cl--labels-convert): New function.
10049 (cl-flet, cl-labels): New implementation with new semantics, relying on
10051 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10052 (cl-closure-vars, cl--function-convert-cache)
10053 (cl--function-convert): Move from cl-macs.el.
10054 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10055 rename by removing the "cl-" prefix.
10056 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10058 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10060 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10061 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10062 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10063 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10064 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10065 (cl-hash-table-count): Add old compatibility aliases.
10067 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10068 Use macroexpand-all-environment instead.
10069 (cl--old-macroexpand): New var.
10070 (cl--sm-macroexpand): New function.
10071 (cl-symbol-macrolet): Use it during macro expansion.
10072 (cl--function-convert-cache): New var.
10073 (cl--function-convert): New function, extracted from
10074 cl-macroexpand-all.
10075 (cl-lexical-let): Use it.
10077 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10078 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10079 (cl-member): Remove old alias.
10081 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10082 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10083 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10084 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10085 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10086 (cl-macroexpand-cmacs): Remove var.
10087 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10088 Use macroexpand-all instead.
10090 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10093 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10094 (macroexp-copyable-p): New functions and macros.
10095 * emacs-lisp/edebug.el (edebug-unwrap):
10096 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10097 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10098 (pcase--let*): Remove.
10099 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10100 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10101 macroexp-const-p instead.
10102 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10104 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10105 instead of "cl-" for internal definitions. Use macroexp-const-p.
10106 (cl-old-bc-file-form): Remove var.
10107 (cl-const-exprs-p): Remove fun.
10108 (cl-labels, cl-macrolet): Use backquote.
10109 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10110 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10111 (cl-define-setf-expander): Rename from cl-define-setf-method.
10112 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10114 * international/mule-cmds.el: Don't require CL.
10115 (view-hello-file): Don't use `letf'.
10117 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10119 * tmm.el (tmm-prompt): Use string-prefix-p.
10120 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10121 (tmm-add-prompt): Use minibuffer-completion-help.
10122 (tmm-delete-map): Remove.
10124 * subr.el (kbd): Make it its own function.
10126 2012-06-07 Stefan Merten <smerten@oekonux.de>
10128 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10129 Silence compiler warnings. Fix versions.
10130 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10131 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10132 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10133 (rst-package-emacs-version-alist): Correct Emacs version to
10134 represent major merge with upstream.
10135 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10137 2012-06-06 Glenn Morris <rgm@gnu.org>
10139 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10140 Only print environment variables if set.
10142 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10145 (macroexp--cons): Rename from maybe-cons.
10146 (macroexp--accumulate): Rename from macroexp-accumulate.
10147 (macroexp--all-forms): Rename from macroexpand-all-forms.
10148 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10149 (macroexp--expand-all): Rename from macroexpand-all-1.
10151 2012-06-06 Sam Steingold <sds@gnu.org>
10153 * calendar/calendar.el (calendar-in-read-only-buffer):
10154 Call `special-mode' to enable the standard read-only keybindings.
10156 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10158 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10159 with "loading" messages (bug#11635).
10161 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10163 * files.el (enable-remote-dir-locals): New option.
10164 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10166 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10167 Ensure, that the temp directory is local.
10169 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10170 `temporary-file-directory'.
10172 * progmodes/python.el (python-send-region): Ensure, that the
10173 temporary file is created also in the remote case.
10175 2012-06-06 Glenn Morris <rgm@gnu.org>
10177 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10178 (vc-rcs-update-changelog): Use it.
10180 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10182 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10183 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10184 (vc-sccs-diff): Replace use of the external vcdiff script.
10186 2012-06-05 Glenn Morris <rgm@gnu.org>
10188 * ledit.el: Move to obsolete/.
10190 2012-06-05 Sam Steingold <sds@gnu.org>
10192 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10195 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * emacs-lisp/cust-print.el: Move to obsolete.
10199 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10200 compiler-macro expansion.
10202 Add native compiler-macro support.
10203 * emacs-lisp/macroexp.el (macroexpand-all-1):
10204 Support compiler-macros directly. Properly follow aliases and apply
10205 the compiler macros more thoroughly.
10206 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10207 macroexpand now properly follows aliases.
10208 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10209 (cl-compiler-macroexpand): Use new prop.
10210 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10212 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10214 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10216 * window.el (get-lru-window, get-mru-window, get-largest-window):
10217 New argument NOT-SELECTED to avoid picking the selected window.
10218 (window--display-buffer-1, window--display-buffer-2): Replace by
10219 new function window--display-buffer
10220 (display-buffer-same-window, display-buffer-reuse-window)
10221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10222 Use window--display-buffer.
10223 (display-buffer-use-some-window): Remove temporary dedication
10224 hack by calling get-lru-window and get-largest-window with
10225 NOT-SELECTED argument non-nil. Call window--display-buffer.
10227 2012-06-05 Glenn Morris <rgm@gnu.org>
10229 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10230 Replace external vcdiff script.
10232 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10234 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10236 2012-06-04 Chong Yidong <cyd@gnu.org>
10238 * image.el (imagemagick-types-inhibit): Revert last change.
10240 (imagemagick-enabled-types): Remove CIN and EPS*.
10242 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/cl-lib.el: Rename from cl.el.
10245 * emacs-lisp/cl.el: New compatibility file.
10246 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10247 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10248 to obey the "cl-" prefix.
10249 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10251 2012-06-03 Glenn Morris <rgm@gnu.org>
10253 * emacs-lisp/authors.el (authors-aliases): Addition.
10255 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10258 2012-06-03 Stefan Merten <smerten@oekonux.de>
10260 * textmodes/rst.el: Add comments.
10261 (rst-transition, rst-adornment): New faces.
10262 (rst-adornment-faces-alist): Make default safe to reevaluate.
10264 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10265 Improve customization tags.
10266 (rst-define-level-faces): Clarify meaning.
10268 2012-06-03 Chong Yidong <cyd@gnu.org>
10270 * progmodes/compile.el (compilation-mode-line-fail)
10271 (compilation-mode-line-run, compilation-mode-line-exit):
10273 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10275 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10277 * progmodes/which-func.el (which-func-update-ediff-windows):
10278 New function. Use it in ediff-select-hook (Bug#11478).
10280 2012-06-03 Chong Yidong <cyd@gnu.org>
10282 * bindings.el: Remove explicit help text from format-mode-line.
10283 It is now supplied by mode-line-default-help-echo.
10284 (mode-line-front-space, mode-line-end-spaces)
10285 (mode-line-misc-info): New variables.
10286 (mode-line-modes, mode-line-position): Move the default value to
10287 the variable definition.
10288 (mode-line-default-help-echo): New defcustom.
10289 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10290 (mode-line-modified-help-echo): New functions.
10291 (mode-line-mule-info, mode-line-modified): Use them.
10292 (mode-line-eol-desc, propertized-buffer-identification):
10293 Consistency fixes for help text.
10294 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10295 set-buffer-file-coding-system (Bug#289).
10296 (mode-line-mule-info-help-echo): Update help text.
10298 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10300 * simple.el (execute-extended-command): Set real-this-command
10303 2012-06-02 Chong Yidong <cyd@gnu.org>
10305 Remove incorrect uses of "modeline" in comments, docstrings, and
10306 function/variable names (Bug#10329).
10308 * cus-edit.el (mode-line):
10309 * dframe.el (dframe-mouse-hscroll):
10310 * emacs-lisp/re-builder.el:
10311 * emacs-lisp/easy-mmode.el (define-minor-mode):
10312 * frame.el (set-frame-name):
10313 * help.el (lookup-minor-mode-from-indicator):
10314 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10315 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10316 (c-toggle-hungry-state):
10317 * progmodes/antlr-mode.el (antlr-language-alist):
10318 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10319 * progmodes/vhdl-mode.el (vhdl-mode):
10320 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10321 * term/ns-win.el (ns-face-at-pos):
10322 * term/sup-mouse.el (sup-mouse-report):
10323 * textmodes/flyspell.el (flyspell-mode-line-string):
10324 * textmodes/ispell.el (ispell-highlight-face):
10325 * textmodes/reftex-global.el:
10326 * vc/vc-arch.el (vc-arch-mode-line-string):
10327 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10328 * vc/vc-git.el (vc-git-mode-line-string):
10329 * vc/vc-hooks.el (vc-display-status)
10330 (vc-default-mode-line-string):
10331 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10333 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10335 * dired.el (dired-sort-set-mode-line): Rename from
10336 dired-sort-set-modeline. All callers changed.
10338 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10339 eshell-status-in-modeline.
10341 * foldout.el (foldout-mode-line-string): Rename from
10342 foldout-modeline-string. All callers changed.
10343 (foldout-update-mode-line): Rename from foldout-update-modeline.
10345 * subr.el (redraw-modeline): Make into obsolete alias.
10347 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10348 timeclock-modeline-display. Make old name an alias.
10349 (timeclock-update-mode-line): Likewise. All callers changed.
10350 (timeclock-mode-line-display): No need to check before using
10352 (timeclock-relative, timeclock-day-over-hook)
10353 (timeclock-use-elapsed, timeclock-mode-string)
10354 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10356 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10357 crisp-mode-modeline-string.
10359 * play/solitaire.el (solitaire-build-mode-line): Rename from
10360 solitaire-build-modeline. All callers changed.
10362 * play/zone.el (zone-hiding-mode-line): Rename from
10363 zone-hiding-modeline. All callers changed.
10364 (zone): Remove unusued `modeline-hidden-level' property.
10366 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10367 xscheme-modeline-initialize. All callers changed.
10369 * strokes.el (strokes-lighter): Rename from
10370 strokes-modeline-string.
10372 * textmodes/sgml-mode.el (html-face-tag-alist)
10373 (html-tag-face-alist): Use mode-line face instead of obsolete
10376 2012-06-02 Stefan Merten <smerten@oekonux.de>
10378 * textmodes/rst.el: Always require `cl'.
10379 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10381 2012-06-02 Chong Yidong <cyd@gnu.org>
10383 * image.el (imagemagick-enabled-types): Rename from
10384 imagemagick-types-enable. Add many more types.
10385 (imagemagick-types-inhibit): Change default to nil.
10386 (imagemagick-filter-types): Caller changed.
10388 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * emacs-lisp/cl-macs.el: Use backquotes.
10391 (cl-transform-function-property): Use eval-and-compile rather than
10393 (defstruct): Use declare-function instead of with-no-warnings.
10395 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10396 (byte-compile-output-docform): Re-add the print-circle bindings.
10397 (byte-compile-fix-header): Use #$ just because it's shorter.
10398 (byte-compile-output-file-form): Remove defun/defmacro.
10400 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10402 * simple.el (choose-completion): Remove now obsolete binding for
10405 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10407 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10408 in order to avoid "Stack overflow in regexp matcher".
10410 2012-05-31 Glenn Morris <rgm@gnu.org>
10412 * image.el: For clarity, call imagemagick-register-types at
10413 top-level, rather than relying on a custom :initialize.
10414 (imagemagick-types-enable): New option. (Bug#11557)
10415 (imagemagick-filter-types): New function. (Bug#7406)
10416 (imagemagick-register-types): Use imagemagick-filter-types.
10417 If disabling support, remove elements altogether rather
10418 than using an impossible regexp.
10419 (imagemagick-types-inhibit): Give it the default init function.
10421 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10424 Handle arbitrary file name lengths (Bug#11585).
10426 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10428 * desktop.el (desktop-read): Clear previous and next buffers for
10429 all windows and bury *Messages* buffer (bug#11556).
10431 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10433 Add `declare' for `defun'. Align `defmacro's with it.
10434 * emacs-lisp/easy-mmode.el (define-minor-mode)
10435 (define-globalized-minor-mode): Don't autoload the var definitions.
10436 * emacs-lisp/byte-run.el: Use lexical-binding.
10437 (defun-declarations-alist, macro-declarations-alist): New vars.
10438 (defmacro, defun): Use them.
10439 (make-obsolete, define-obsolete-function-alias)
10440 (make-obsolete-variable, define-obsolete-variable-alias):
10442 (macro-declaration-function): Mark obsolete.
10443 * emacs-lisp/autoload.el: Use lexical-binding.
10444 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10446 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10448 * textmodes/ispell.el (ispell-with-no-warnings):
10450 (ispell-kill-ispell, ispell-change-dictionary):
10451 Use `called-interactively-p' for Emacs instead of obsolete
10454 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10457 (macro-declaration-function): Move var from C code.
10458 (macro-declaration-function): Define function with defalias.
10459 * emacs-lisp/macroexp.el (macroexpand-all-1):
10460 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10461 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10462 defun/defmacro any more.
10463 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10464 Provide fallback for unknown arglist.
10465 (byte-compile-arglist-warn): Change calling convention.
10466 (byte-compile-output-file-form): Move print-vars binding.
10467 (byte-compile-output-docform): Simplify accordingly.
10468 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10469 (byte-compile-defmacro-declaration): Remove.
10470 (byte-compile-file-form-defmumble): Generalize to defalias.
10471 (byte-compile-output-as-comment): Return byte-positions.
10472 Simplify callers accordingly.
10473 (byte-compile-lambda): Use `assert'.
10474 (byte-compile-defun, byte-compile-defmacro): Remove.
10475 (byte-compile-file-form-defalias):
10476 Use byte-compile-file-form-defmumble.
10477 (byte-compile-defalias-warn): Remove.
10479 2012-05-29 Stefan Merten <smerten@oekonux.de>
10481 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10482 possible. Fix authors. Improve comments. Improve loading of `cl'.
10484 (rst-mode-abbrev-table): Merge definition.
10485 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10486 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10488 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10490 * calendar/icalendar.el
10491 (icalendar-export-region): Export UID properly.
10493 2012-05-29 Leo Liu <sdl.web@gmail.com>
10494 * calendar/icalendar.el (icalendar-import-format):
10495 Add `icalendar-import-format-uid' (Bug#11525).
10496 (icalendar-import-format-uid): New.
10497 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10500 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10502 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10503 different alternative patterns.
10504 (pcase-codegen): Be more careful to preserve identity.
10505 (pcase--u1): Don't forget to mark vars as used.
10507 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10508 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10509 (byte-compile-from-buffer): ...rather than here.
10511 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10512 functions from byte-compile-function-environment.
10514 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10516 * window.el (window-deletable-p): Avoid deleting the root window
10517 of a frame with an active minibuffer.
10519 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10521 * simple.el (choose-completion): Use quit-window (Bug#11567).
10523 2012-05-29 Chong Yidong <cyd@gnu.org>
10525 * whitespace.el (whitespace-cleanup): Fix usage of
10526 whitespace-empty-at-bob-regexp (Bug#11492).
10528 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10530 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10531 revert (Bug#11488).
10533 2012-05-29 Juri Linkov <juri@jurta.org>
10535 * isearch.el (isearch-mode-map): Bind `M-s _' to
10536 `isearch-toggle-symbol'. Bind `M-s c' to
10537 `isearch-toggle-case-fold'.
10538 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10539 (isearch-forward): Add `M-s _' to the docstring.
10540 (isearch-forward-symbol, isearch-toggle-case-fold)
10541 (isearch-symbol-regexp): New functions. (Bug#11381)
10543 2012-05-29 Juri Linkov <juri@jurta.org>
10545 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10546 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10547 a function, call it to get the regexp.
10548 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10549 property `isearch-message-prefix' instead of the string "word ".
10550 (isearch-search-fun-default): For the case of `isearch-word',
10551 return a lambda that calls re-search-forward/re-search-backward
10552 with a regexp returned by `word-search-regexp' or by the function
10555 2012-05-29 Juri Linkov <juri@jurta.org>
10557 * isearch.el (isearch-search-fun-default): New function.
10558 (isearch-search-fun): Move default part to the new function
10559 `isearch-search-fun-default'.
10560 (isearch-search-fun-function): Set the default value to
10561 `isearch-search-fun-default'. (Bug#11381)
10563 * comint.el (comint-history-isearch-end):
10564 Use `isearch-search-fun-default'.
10565 (comint-history-isearch-search): Use `isearch-search-fun-default'
10566 and remove spacial case for `isearch-word'.
10567 (comint-history-isearch-wrap): Remove spacial case for
10570 * hexl.el (hexl-isearch-search-function):
10571 Use `isearch-search-fun-default'.
10573 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10574 Use `word-search-regexp' for `isearch-word'.
10576 * misearch.el (multi-isearch-search-fun):
10577 Use `isearch-search-fun-default'.
10579 * simple.el (minibuffer-history-isearch-search):
10580 Use `isearch-search-fun-default' and remove spacial case for
10582 (minibuffer-history-isearch-wrap): Remove spacial case for
10585 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10586 Remove spacial case for `isearch-word'.
10587 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10589 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10591 Decrease XEmacs incompatibilities.
10592 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10593 Use `string-match'.
10594 (flyspell-delete-region-overlays): Use alternative definition for
10596 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10597 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10598 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10599 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10600 `define-obsolete-face-alias' under XEmacs, but old method.
10602 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10603 `with-no-warnings' definition or Emacs alias.
10604 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10605 (ispell-word): Do not use `region-p' if XEmacs.
10607 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10609 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10610 Check for `ispell-dictionary-base-alist' instead of full
10611 `ispell-dictionary-alist'.
10612 (ispell-init-process): Show spellchecker when starting new Ispell
10615 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10618 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10620 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10622 * version.el (motif-version-string, gtk-version-string)
10623 (ns-version-string): Declare.
10625 2012-05-27 Juri Linkov <juri@jurta.org>
10627 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10628 after the `eval-defun-1' specialcaseing
10629 like in `edebug-eval-defun' (bug#10181).
10631 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10632 like in `eval-defun-1'.
10634 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10636 * mail/sendmail.el (mail-yank-region):
10637 Recognize rmail-yank-current-message in addition to insert-buffer.
10638 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10639 a *mail* buffer created through rmail-start-mail with sendmail as
10642 2012-05-27 Chong Yidong <cyd@gnu.org>
10644 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10645 Default to 256 (Bug#11267).
10647 * help.el (describe-mode): Doc fix.
10649 2012-05-26 Glenn Morris <rgm@gnu.org>
10651 * w32-fns.el (w32-init-info): Remove.
10652 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10654 * info.el (info-initialize): For self-contained NS builds, put the
10655 included info/ directory at the front. (Bug#2791)
10657 * paths.el (Info-default-directory-list): Make it a defcustom,
10658 mainly so that we can use custom-initialize-delay.
10660 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10662 * subr.el (buffer-has-markers-at): Mark obsolete.
10664 * subr.el (lambda): Use declare.
10666 * emacs-lisp/lisp-mode.el (lambda):
10667 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10669 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10671 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10673 2012-05-26 Glenn Morris <rgm@gnu.org>
10675 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10677 2012-05-25 Glenn Morris <rgm@gnu.org>
10679 * paths.el: Remove no-byte-compile.
10680 * loadup.el: No need to load paths.el uncompiled.
10682 * image.el (imagemagick-types-inhibit): Doc fix.
10684 * version.el: Remove no-byte-compile and associated formatting.
10685 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10686 is ancient code from when there was an "inc-vers.el".
10688 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * progmodes/gdb-mi.el: Minor style changes.
10691 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10692 Turn into minor modes.
10693 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10694 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10695 (gdb-shell): Remove unneeded let-binding.
10696 (gdb-get-many-fields): Eliminate O(n²) behavior.
10698 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10700 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10701 platforms that don't link in fontset.c.
10703 2012-05-25 Juri Linkov <juri@jurta.org>
10705 Use the same diff color scheme as in modern VCSes (bug#10181).
10707 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10708 to avoid confusion with `diff-added' that now uses green colors.
10709 (diff-removed): Use shades of red.
10710 (diff-added): Use shades of green.
10711 (diff-changed): Leave just the yellow color.
10712 (diff-use-changed-face): New variable.
10713 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10714 how to highlight context diff changes.
10715 (diff-refine-change): Use shades of yellow.
10716 (diff-refine-removed): New face that uses shades of red.
10717 (diff-refine-added): New face that uses shades of green.
10718 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10719 `diff-refine-removed' in the call to `smerge-refine-subst'
10720 depending on the value of `diff-use-changed-face'.
10722 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10723 (smerge-other): Use shades of green.
10724 (smerge-base): Use shades of yellow.
10725 (smerge-refined-change): Empty face.
10726 (smerge-refined-removed): New face that uses shades of red.
10727 (smerge-refined-added): New face that uses shades of green.
10728 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10729 args `props-r' and `props-a', and use them. Doc fix.
10730 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10731 on its value use different faces `smerge-refined-change',
10732 `smerge-refined-removed', `smerge-refined-added' in the call to
10733 `smerge-refine-subst'.
10735 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10736 Add face condition `min-colors 88' with shades of red.
10737 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10738 `min-colors 88' with shades of green.
10739 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10740 `min-colors 88' with shades of yellow.
10742 2012-05-24 Glenn Morris <rgm@gnu.org>
10744 * paths.el (prune-directory-list, remote-shell-program): Move to...
10745 * files.el (prune-directory-list, remote-shell-program): ...here.
10746 For the latter, delay initialization, prefer ssh, just search PATH.
10748 * paths.el (term-file-prefix): Move to faces.el (the only user).
10749 * faces.el (term-file-prefix): Move here, make it a defcustom.
10751 * paths.el (news-directory, news-path, news-inews-program):
10752 Move to gnus/nnspool.el.
10754 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10756 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10757 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10758 Make the latter a defcustom, with a delayed initialization.
10760 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10761 These were deleted from Gnus itself late 2010.
10763 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10765 * progmodes/which-func.el (which-func-ff-hook):
10766 Check against user-error, not error.
10768 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10769 cl-specs.el, which no longer exists.
10771 2012-05-22 Glenn Morris <rgm@gnu.org>
10773 * info.el (info-emacs-bug): New command.
10774 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10775 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10777 2012-05-21 Glenn Morris <rgm@gnu.org>
10779 * makefile.w32-in (update-subdirs-SH):
10780 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10782 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10787 Simplify Maven regexp, and make sure the file can't start with a space
10790 2012-05-21 Glenn Morris <rgm@gnu.org>
10792 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10793 Scrap superfluous subshells.
10795 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10798 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10800 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10802 * calc/calc.el (calc-ensure-consistent-units): New variable.
10804 * calc/calc-units.el (math-consistent-units-p)
10805 (math-check-unit-consistency): New functions.
10806 (calc-quick-units, calc-convert-units):
10807 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10809 (calc-extract-units): Fix typo.
10811 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10815 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10816 (flyspell-default-deplacement-commands): Don't spell check after
10817 repeated window/frame switches (e.g. triggered by mouse-movement).
10818 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10819 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10820 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10821 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10822 Remove unused vars.
10823 (flyspell-get-casechars, flyspell-get-not-casechars):
10824 Simplify; Don't bother removing a ] just to add it back.
10825 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10827 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10829 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10831 (math-function-table): Add support for more C functions.
10833 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10835 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10836 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10837 Protect delay handling for otherchars against empty otherchars.
10839 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10842 their respective macro declarations.
10843 * skeleton.el (define-skeleton):
10844 * progmodes/compile.el (define-compilation-mode):
10845 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10846 (define-ibuffer-filter):
10847 * emacs-lisp/generic.el (define-generic-mode):
10848 * emacs-lisp/easy-mmode.el (define-minor-mode)
10849 (define-globalized-minor-mode):
10850 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10851 * emacs-lisp/byte-run.el (defsubst):
10852 * custom.el (deftheme): Add doc-string metadata.
10854 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10856 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10858 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10860 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10862 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10863 * emacs-lisp/cl-macs.el: Idem.
10864 * emacs-lisp/cl-specs.el: Remove.
10866 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10868 Minor renaming of internal CL functions and variables.
10869 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10870 (cl--position): Rename from cl-position.
10871 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10872 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10873 (cl--random-state): Rename from *random-state*.
10875 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10877 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10878 parens around the arg list (bug#11499).
10880 2012-05-17 Juri Linkov <juri@jurta.org>
10882 * isearch.el (word-search-regexp, word-search-backward)
10883 (word-search-forward, word-search-backward-lax)
10884 (word-search-forward-lax): Move functions from search.c
10885 (bug#10145, bug#11381).
10887 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10889 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10890 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10891 Delay for otherchars as for normal word components.
10893 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * minibuffer.el (completion--sifn-requote): Fix last change.
10896 (minibuffer-local-must-match-filename-map):
10897 Move define-obsolete-variable-alias before its var.
10899 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10903 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10905 (completion--string-equal-p): New function.
10906 (completion--twq-all): Use it to get better assertion failure data.
10908 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10909 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10910 (shell--requote-argument): New functions.
10911 (shell-completion-vars): Use them.
10912 (shell--parse-pcomplete-arguments): Rename from
10913 shell-parse-pcomplete-arguments.
10914 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10915 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10916 Obey comint-file-name-quote-list.
10918 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10919 (smie-indent-keyword): Use it.
10921 2012-05-14 Stefan Merten <smerten@oekonux.de>
10923 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10925 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10927 * net/rlogin.el (rlogin-mode-map): Fix last change.
10929 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10931 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10932 the following \r\n using a single `process-send-string', since the
10933 Lotus SMTP server refuses to accept any commands if they are sent
10934 with two `process-send-string's (Bug#11444).
10936 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10938 * shell.el (shell-parse-pcomplete-arguments):
10939 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10941 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10943 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10944 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10945 (image-transform-width, image-transform-fit-width): New functions.
10946 (image-transform-properties): Use them.
10947 (image-transform-check-size): New function.
10948 (image-toggle-display-image): Use it (for testing).
10949 (image-transform-set-rotation): Reduce angle mod 360.
10950 Delete obsolete comment.
10952 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10954 * image-mode.el: Fix scaling (bug#11399).
10955 (image-transform-resize): Doc fix.
10956 (image-transform-properties): Default scale is 1 and height should
10959 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10961 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10962 than hard-coding `car', to fix misbehavior when moving forward.
10964 2012-05-13 Chong Yidong <cyd@gnu.org>
10966 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10967 (tabulated-list-entries, tabulated-list-padding)
10968 (tabulated-list-sort-key): Make permanent-local.
10970 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10971 (electric-buffer-list): Put electric buffer menu
10972 command descriptions in this docstring, instead of the docstring
10973 of electric-buffer-menu-mode. Code cleanups.
10974 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10975 Electric-buffer-menu-mode.
10976 (electric-buffer-update-highlight): Minor code cleanup.
10978 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10980 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10983 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10985 Move define-obsolete-variable-alias before the var's definition.
10986 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10987 * tooltip.el (tooltip-hook):
10988 * textmodes/reftex-toc.el (reftex-toc-map):
10989 * textmodes/reftex-sel.el (reftex-select-label-map)
10990 (reftex-select-bib-map):
10991 * textmodes/reftex-index.el (reftex-index-map)
10992 (reftex-index-phrases-map):
10993 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10994 * progmodes/meta-mode.el (meta-mode-map):
10995 * novice.el (disabled-command-hook):
10996 * loadhist.el (unload-hook-features-list):
10997 * frame.el (blink-cursor):
10998 * files.el (find-file-not-found-hooks, write-file-hooks)
10999 (write-contents-hooks):
11000 * emulation/tpu-edt.el (GOLD-map):
11001 * emacs-lock.el (emacs-lock-from-exiting):
11002 * emacs-lisp/generic.el (generic-font-lock-defaults):
11003 * emacs-lisp/chart.el (chart-map):
11004 * dos-fns.el (register-name-alist):
11005 * dired-x.el (dired-omit-files-p):
11006 * desktop.el (desktop-enable):
11007 * cus-edit.el (custom-mode-hook):
11008 * buff-menu.el (buffer-menu-mode-hook):
11009 * bookmark.el (bookmark-read-annotation-text-func)
11010 (bookmark-exit-hooks):
11011 * allout.el (allout-mode-deactivate-hook)
11012 (allout-exposure-change-hook, allout-structure-added-hook)
11013 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11014 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11015 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11016 comes before the corresponding variable's definition.
11018 2012-05-12 Chong Yidong <cyd@gnu.org>
11020 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11021 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11022 (Buffer-menu-mode-map): Bind it.
11023 (Buffer-menu--pretty-name): Add a mouse-face property.
11025 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11027 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11028 (prolog-upper-case-string, prolog-lower-case-string)
11029 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11030 (prolog-use-smie, prolog-smie-grammar): New vars.
11031 (prolog-smie-forward-token, prolog-smie-backward-token)
11032 (prolog-smie-rules): New funs.
11033 (prolog-comment-indent): Remove.
11034 (prolog-mode-variables): Use default comment indentation instead.
11036 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11037 (prolog-mode): Don't call them any more.
11038 (prolog-electric-colon, prolog-electric-dash)
11039 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11041 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11043 * minibuffer.el (completion--twq-all): Again, allow case differences.
11045 * term.el: Move keymap initialization code to be more idiomatic.
11046 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11047 (term-terminal-menu): Move initialization into declaration.
11048 (term-escape-char): Let the user set it in her .emacs.
11050 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11051 Provide SMIE-based indentation (not enabled by default yet).
11052 (sh-mode-map): Don't bind electric keys.
11053 Use electric-pair-mode instead of skeleton-pair.
11054 (sh-assignment-regexp): Fit within 80 columns.
11055 (sh-indent-supported): Specify actual shell name instead of boolean.
11056 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11057 (sh-maybe-here-document): Use it. Make obsolete.
11058 (sh-electric-here-document-mode) New minor mode.
11059 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11060 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11061 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11062 (sh-smie-rc-grammar, sh-use-smie): New vars.
11063 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11064 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11065 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11066 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11067 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11068 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11069 (sh-set-shell): Use smie-setup if requested.
11071 * term.el (term-set-escape-char): Properly set term-escape-char.
11072 See http://stackoverflow.com/questions/10524656.
11074 2012-05-10 Chong Yidong <cyd@gnu.org>
11076 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11077 Use url-generic-parse-url, and handle host names and Windows
11078 filenames properly.
11079 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11080 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11081 URL schemes to work on.
11082 (ffap--toggle-read-only): New function.
11083 (ffap-read-only, ffap-read-only-other-window)
11084 (ffap-read-only-other-frame): Use it.
11085 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11086 necessary for ffap-url-unwrap-remote.
11088 2012-05-10 Dave Abrahams <dave@boostpro.com>
11090 * cus-start.el (create-lockfiles): Add it.
11092 2012-05-09 Chong Yidong <cyd@gnu.org>
11094 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11095 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11097 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11101 2012-05-09 Chong Yidong <cyd@gnu.org>
11103 * ansi-color.el (ansi-color-process-output): Check for validity of
11104 comint-last-output-start before using it. This avoids a bad
11105 interaction with gdb-mi's input/output buffer.
11107 2012-05-09 Glenn Morris <rgm@gnu.org>
11109 * files.el (dir-locals-read-from-file):
11110 Mention dir-locals in any error message.
11112 2012-05-09 Chong Yidong <cyd@gnu.org>
11114 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11115 package (Bug#11410).
11117 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11118 variables into description.
11120 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11122 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11123 shell-delimiter-argument-list (bug#11348).
11124 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11126 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11128 * textmodes/rst.el: Silence byte-compiler warnings.
11129 (rst-re-alist, rst-reset-section-caches): Move around.
11130 (rst-re): Use `characterp', not `char-valid-p'.
11131 (font-lock-beg, font-lock-end): Declare.
11133 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11134 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11136 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11138 2012-05-08 Glenn Morris <rgm@gnu.org>
11140 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11142 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11144 * vc/log-edit.el: Add GNU coding standards highlighting.
11145 (log-edit-font-lock-gnu-style)
11146 (log-edit-font-lock-gnu-keywords): New vars.
11147 (log-edit-font-lock-keywords): New fun.
11148 (log-edit-mode): Don't fold case in font-lock.
11149 (log-edit-font-lock-keywords): Do not assume case-folding.
11151 * imenu.el: Misc cleanup. Make docstrings out of comments.
11152 Use lexical-binding.
11153 (imenu--index-alist, imenu--last-menubar-index-alist)
11154 (imenu-menubar-modified-tick): Use defvar-local.
11155 (imenu--split-menu): Remove unused var.
11156 (imenu--cleanup-seen): Declare as global.
11157 (imenu--cleanup): Use dolist.
11159 * subr.el (defvar-local): Add debug spec and doc-string position.
11161 2012-05-08 Glenn Morris <rgm@gnu.org>
11163 * language/burmese.el, language/cham.el, language/czech.el:
11164 * language/english.el, language/georgian.el, language/greek.el:
11165 * language/japanese.el, language/khmer.el, language/korean.el:
11166 * language/lao.el, language/misc-lang.el, language/romanian.el:
11167 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11168 * language/thai.el, language/utf-8-lang.el:
11169 Remove no-byte-compile setting.
11171 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11173 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11175 * progmodes/make-mode.el (makefile-browse):
11176 Remove unnecessary interactive. (Bug#11324)
11178 2012-05-07 Glenn Morris <rgm@gnu.org>
11180 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11182 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11184 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * loadup.el: Preload newcomment.el.
11187 * newcomment.el: Move autoload-only code to toplevel.
11189 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11190 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11191 Handle new :right-align column property.
11192 (tabulated-list-print-col): Idem, plus use `display' text-property to
11193 try and preserve alignment for variable pitch fonts.
11195 2012-05-07 Chong Yidong <cyd@gnu.org>
11197 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11198 (tabulated-list-use-header-line): New var.
11199 (tabulated-list-init-header): Use it.
11200 (tabulated-list-print-fake-header): New function.
11201 (tabulated-list-print): Use it.
11202 (tabulated-list-sort-button-map): Add non-header-line commands.
11203 (tabulated-list-init-header): Add column name property to basic
11205 (tabulated-list-col-sort): Handle non-header-line button case.
11206 (tabulated-list--sort-by-column-name): Fix a corner case.
11208 * buff-menu.el (list-buffers--refresh):
11209 Handle Buffer-menu-use-header-line.
11211 2012-05-06 Chong Yidong <cyd@gnu.org>
11213 * buff-menu.el: Convert to Tabulated List mode.
11214 (Buffer-menu-buffer+size-width): Make obsolete.
11215 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11216 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11217 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11218 documentation into docstring of buffer-menu.
11219 (Buffer-menu-toggle-files-only): Add an informative message.
11220 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11221 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11222 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11223 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11224 (Buffer-menu-execute, Buffer-menu-select)
11225 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11226 (Buffer-menu-bury): Use Tabulated List machinery.
11227 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11228 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11230 (list-buffers--refresh): New function.
11231 (list-buffers-noselect): Use it.
11232 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11233 (Buffer-menu--pretty-file-name): New helper functions.
11235 * loadup.el: Preload tabulated-list.
11237 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11238 tabulated-list-sort-column.
11239 (tabulated-list-init-header): Add the initial aligning space even
11240 if tabulated-list-padding is zero.
11242 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11244 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11245 whose cdr is not a cons cell correctly (bug#11038).
11247 2012-05-06 Chong Yidong <cyd@gnu.org>
11249 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11250 Accept additional plist in column descriptors.
11251 (tabulated-list-init-header): Obey it.
11252 (tabulated-list-get-entry): New function.
11253 (tabulated-list-put-tag): Use it. Use string-width instead of
11255 (tabulated-list--column-number): New function.
11256 (tabulated-list-print): Use it.
11257 (tabulated-list-print-col): New function.
11258 Set `tabulated-list-column-name' property on each column's text.
11259 (tabulated-list-print-entry): Use it.
11260 (tabulated-list-delete-entry, tabulated-list-set-col):
11262 (tabulated-list-sort-column): New command (Bug#11337).
11264 * buff-menu.el (list-buffers): Move C-x C-b binding from
11265 buff-menu.el to bindings.el.
11267 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11268 :advertised-binding feature.
11270 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11272 * progmodes/compile.el (compilation-internal-error-properties):
11273 Calculate start position correctly when end-col is set but
11274 end-line is not (Bug#11382).
11276 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11278 * man.el (Man-unindent): Use text-property-default-nonsticky to
11279 prevent untabify from inheriting face properties (Bug#11408).
11281 2012-05-05 Stefan Merten <smerten@oekonux.de>
11283 * textmodes/rst.el: Major merge with upstream development up to
11284 Docutils SVN r7399 / rst.el V1.2.1.
11286 Clarify maintainership and authors.
11288 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11289 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11290 (rst-official-version, rst-official-cvs-rev, rst-version)
11291 (rst-package-emacs-version-alist): New functions and variables
11292 for version information.
11294 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11295 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11296 (rst-mode-syntax-table, rst-mode): New and corrected functions
11297 and variables representing reStructuredText features.
11299 (rst-re): New function for reStructuredText regexes. Use in
11302 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11303 (rst-mode-map): Rebind keys.
11305 (rst-mode-lazy, rst-font-lock-keywords)
11306 (rst-font-lock-extend-region)
11307 (rst-font-lock-extend-region-internal)
11308 (rst-font-lock-extend-region-extend)
11309 (rst-font-lock-find-unindented-line-limit)
11310 (rst-font-lock-find-unindented-line-match)
11311 (rst-adornment-level, rst-font-lock-adornment-level)
11312 (rst-font-lock-adornment-match)
11313 (rst-font-lock-handle-adornment-pre-match-form)
11314 (rst-font-lock-handle-adornment-matcher): Major revision of
11315 font-locking. Integrate with other code. Use `jit-lock-mode'.
11317 (rst-preferred-adornments, rst-adjust-hook)
11318 (rst-new-adornment-down, rst-preferred-bullets)
11319 (rst-preferred-bullets, rst-indent, rst-indent-width)
11320 (rst-indent-field, rst-indent-literal-normal)
11321 (rst-indent-literal-minimized, rst-indent-comment): Change,
11322 extend and improve customization.
11324 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11325 (rst-normalize-cursor-position, rst-get-decoration)
11326 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11327 (rst-rstrip, rst-toc-insert-find-delete-contents)
11328 (rst-shift-fill-region, rst-compute-bullet-tabs)
11329 (rst-debug-print-tabs, rst-debug-mark-found)
11330 (rst-shift-region-guts, rst-shift-region-right)
11331 (rst-shift-region-left, rst-use-char-classes)
11332 (rst-font-lock-keywords-function)
11333 (rst-font-lock-indentation-point)
11334 (rst-font-lock-find-unindented-line-begin)
11335 (rst-font-lock-find-unindented-line-end)
11336 (rst-font-lock-find-unindented-line)
11337 (rst-font-lock-adornment-point, rst-font-lock-level)
11338 (rst-adornment-level-alist): Remove functions and variables.
11340 (rst-compare-adornments, rst-get-adornment-match)
11341 (rst-suggest-new-adornment, rst-get-adornments-around)
11342 (rst-adornment-complete-p, rst-get-next-adornment)
11343 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11344 (rst-straighten-adornments): Standardize function names to
11345 use "adornment" instead of "decoration". Correct callers.
11346 Similar standardizing in many places.
11348 (rst-update-section, rst-adjust, rst-promote-region)
11349 (rst-enumerate-region, rst-bullet-list-region)
11350 (rst-repeat-last-character): Correct use of `interactive'.
11352 (rst-classify-adornment, rst-find-all-adornments)
11353 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11354 (rst-find-leftmost-column, rst-repeat-last-character):
11355 Refactor functions.
11357 (rst-find-title-line, rst-reset-section-caches)
11358 (rst-get-adornments-around, rst-adjust-adornment-work)
11359 (rst-arabic-to-roman, rst-roman-to-arabic)
11360 (rst-insert-list-pos, rst-insert-list-new-item)
11361 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11364 (rst-all-sections, rst-section-hierarchy)
11365 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11368 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11369 configuration instead of only buffer. Change where necessary.
11371 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11372 (rst-shift-region, rst-adaptive-fill): New functions for
11373 indentation and filling.
11375 (rst-comment-line-break, rst-comment-indent)
11376 (rst-comment-insert-comment, rst-comment-region)
11377 (rst-uncomment-region): New functions for handling comments.
11379 (rst-compile): Quote shell arguments.
11381 (rst-compile-pdf-preview, rst-compile-slides-preview):
11382 Delete temporary files after use.
11384 2012-05-05 Glenn Morris <rgm@gnu.org>
11386 * calendar/cal-html.el: Optionally include holidays in the output.
11387 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11388 (cal-html-holidays): New option.
11389 (cal-html-css-default): Add holiday entry.
11390 (holiday-in-range): Autoload it.
11391 (cal-html-htmlify-entry): Add optional class argument.
11392 (cal-html-htmlify-list): Add optional holidays argument.
11393 (cal-html-insert-agenda-days): Include holidays in the output.
11394 (cal-html-one-month): Maybe include holidays.
11396 * calendar/holidays.el (holiday-in-range):
11397 Move here from cal-tex-list-holidays.
11398 * calendar/cal-tex.el (cal-tex-list-holidays):
11399 Make it an obsolete alias for holiday-in-range. Update all callers.
11401 2012-05-05 Chong Yidong <cyd@gnu.org>
11403 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11406 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11408 * files.el (file-auto-mode-skip): New var.
11409 (set-auto-mode-1): Use it.
11411 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11413 * repeat.el: Use lexical-binding.
11414 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11415 (repeat-undo-count): Remove.
11417 * progmodes/octave-mod.el (octave-abbrev-start):
11418 * progmodes/f90.el (f90-abbrev-start):
11419 * face-remap.el (text-scale-adjust):
11420 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11422 * emacs-lisp/pcase.el (pcase--let*): New function.
11423 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11425 (pcase--split-pred): Be more clever about ruling out overlap between
11426 a predicate and some constant pattern.
11427 (pcase--q1): Use `null' instead of (eq foo nil).
11429 * subr.el (setq-local, defvar-local): New macros.
11430 (kbd): Redefine as an alias.
11431 (with-selected-window): Leave unrelated frames alone.
11432 (set-temporary-overlay-map): New function.
11434 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11436 * subr.el (user-error): New function.
11437 * window.el (switch-to-buffer):
11438 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11439 (smerge-match-conflict):
11440 * simple.el (previous-matching-history-element)
11441 (next-matching-history-element, goto-history-element, undo-more)
11443 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11444 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11445 (next-file, tags-loop-scan, list-tags, complete-tag):
11446 * progmodes/compile.el (compilation-loop):
11447 * mouse.el (mouse-minibuffer-check):
11448 * man.el (Man-bgproc-sentinel, Man-goto-page):
11449 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11450 (Info-history-forward, Info-follow-reference, Info-menu)
11451 (Info-extract-menu-item, Info-extract-menu-counting)
11452 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11453 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11454 (Info-next-reference, Info-prev-reference, Info-index)
11455 (Info-index-next, Info-follow-nearest-node)
11456 (Info-copy-current-node-name):
11457 * imenu.el (imenu--make-index-alist)
11458 (imenu-default-create-index-function, imenu-add-to-menubar):
11459 * files.el (basic-save-buffer, recover-file):
11460 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11461 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11462 (checkdoc-message-text, checkdoc-defun):
11463 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11464 * cus-edit.el (customize-changed-options, customize-rogue)
11465 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11466 (custom-variable-mark-to-reset-standard)
11467 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11469 * completion.el (check-completion-length):
11470 * comint.el (comint-search-arg)
11471 (comint-previous-matching-input-string-position)
11472 (comint-previous-matching-input)
11473 (comint-replace-by-expanded-history-before-point, comint-send-input)
11474 (comint-copy-old-input, comint-backward-matching-input)
11475 (comint-goto-process-mark, comint-set-process-mark):
11476 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11477 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11479 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * dabbrev.el (dabbrev--ignore-case-p): New function.
11482 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11485 * files.el (automount-dir-prefix): Mark as obsolete.
11487 2012-05-04 Glenn Morris <rgm@gnu.org>
11489 * patcomp.el, play/bruce.el: Move to obsolete/.
11491 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11493 Fix minor Y10k bugs.
11494 * arc-mode.el (archive-unixdate):
11495 * autoinsert.el (auto-insert-alist):
11496 * calc/calc-forms.el (math-this-year):
11497 * emacs-lisp/copyright.el (copyright-current-year)
11498 (copyright-update-year, copyright):
11499 * tar-mode.el (tar-clip-time-string):
11500 * time.el (display-time-update):
11501 Don't assume years have 4 digits.
11503 2012-05-04 Chong Yidong <cyd@gnu.org>
11505 * dos-w32.el (file-name-buffer-file-type-alist)
11506 (direct-print-region-use-command-dot-com):
11507 * ffap.el (ffap-menu-regexp):
11508 * find-file.el (ff-special-constructs):
11509 * follow.el (follow-debug):
11510 * forms.el (forms--debug):
11511 * iswitchb.el (iswitchb-all-frames):
11512 * ido.el (ido-all-frames):
11513 * emacs-lisp/timer.el (timer-max-repeats):
11514 * mail/feedmail.el (feedmail-mail-send-hook)
11515 (feedmail-mail-send-hook-queued):
11516 * mail/footnote.el (footnote-signature-separator):
11517 * mail/mailabbrev.el (mail-alias-separator-string)
11518 (mail-abbrev-mode-regexp):
11519 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11520 * progmodes/idlwave.el (idlwave-libinfo-file)
11521 (idlwave-default-completion-case-is-down)
11522 (idlwave-library-routines): Convert defvars to defcustoms.
11524 * mail/rmail.el (rmail-decode-mime-charset):
11525 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11526 (idlwave-shell-fix-inserted-breaks)
11527 (idlwave-shell-activate-alt-keybindings)
11528 (idlwave-shell-use-breakpoint-glyph):
11529 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11531 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11533 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11535 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11537 * progmodes/verilog-mode.el (font-lock-keywords):
11538 Fix mis-highligting auto. Reported by Craig Barner.
11539 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11540 defines from global name space. Reported by Dan Dever.
11541 (verilog-auto-reset, verilog-auto-reset-widths)
11542 (verilog-auto-tieoff): Support using unbased numbers for
11543 AUTORESET and AUTOTIEOFF.
11544 (verilog-submit-bug-report): Update variable list.
11545 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11546 parenthesis from not matching. Reported by Michael Rytting.
11547 (verilog-auto-template-lint): Fix hash error when linting modules
11548 with no used templates.
11549 (verilog-warn, verilog-warn-error)
11550 (verilog-warn-fatal): When non-interactive report multiple
11551 warnings before exiting. Suggested by Brad Dobbie.
11552 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11553 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11554 to report unused template errors. Reported by Brad Dobbie.
11555 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11556 nets, bug438. Reported by Vns Blore.
11557 (verilog-auto-inout-module, verilog-auto-reg)
11558 (verilog-read-decls, verilog-read-sub-decls-sig)
11559 (verilog-signals-edit-wire-reg, verilog-signals-with):
11560 Fix passing of Verilog data types in ANSI input/output ports
11561 such as "output logic" into the AUTOs. Special case "wire" and
11562 "reg" for backwards compatibility presuming Verilog 2001.
11563 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11564 (verilog-preprocess): Fix replication of preprocess output.
11565 Reported by Brad Dobbie.
11566 (verilog-auto-inst-interfaced-ports):
11567 Create verilog-auto-inst-interfaced-ports, bug429.
11568 Reported by Julian Gorfajn.
11569 (verilog-after-save-font-hook)
11570 (verilog-before-save-font-hook): New variable.
11571 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11572 (verilog-save-font-mods): Wrap disabling fontification, reported
11574 (verilog-do-indent, verilog-pretty-declarations-auto)
11575 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11576 Reported by Pierre-David Pfister.
11577 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11578 of class declarations, bug292. Reported by Kevin Heilman.
11579 (verilog-read-decls): Fix 'parameter type' not appearing in
11580 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11581 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11582 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11583 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11584 Reported by David Kravitz.
11586 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11588 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11589 assignment with tests in ifs and for loops.
11590 (verilog-extended-complete-re, verilog-complete-reg): Change so
11591 that DPI inport functions don't look like fuction declarations.
11592 (verilog-pretty-expr): Don't line up assignment
11593 operations to the test and increment in if and for loops
11594 (verilog-extended-complete-re, verilog-complete-reg): Change so
11595 that DPI inport functions don't look like fuction declarations.
11597 2012-05-03 Kenichi Handa <handa@m17n.org>
11599 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11600 decoding, and show a warning message without signaling an error
11603 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11605 * emacs-lisp/bytecomp.el
11606 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11607 since cconv.el might have introduced :fun-body, internal-make-closure,
11608 and friends for bytecomp to handle (bug#11391).
11609 * custom.el (defcustom): Avoid ((λ ..) ..).
11611 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11615 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11617 * notifications.el (dbus-debug):
11618 * term/linux.el (gpm-mouse-enable):
11619 * term/screen.el (xterm-register-default-colors): Declare.
11621 2012-05-02 Chong Yidong <cyd@gnu.org>
11623 * cus-start.el (gc-cons-percentage, exec-suffixes)
11624 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11625 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11626 (make-cursor-line-fully-visible, void-text-area-pointer)
11627 (font-list-limit): Add customization data.
11629 * allout.el (allout-exposure-change-functions)
11630 (allout-structure-added-functions)
11631 (allout-structure-deleted-functions)
11632 (allout-structure-shifted-functions): Rename abnormal hooks from
11633 *-hook, and convert to defcustoms.
11634 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11635 Convert to defcustoms.
11636 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11638 * allout-widgets.el: Hook callers changed.
11640 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11642 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11643 the yanked message in preference to the default value of
11644 buffer-file-coding-system.
11646 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11648 * window.el (display-buffer--action-function-custom-type):
11651 2012-05-02 Alan Mackenzie <acm@muc.de>
11653 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11655 2012-05-01 Glenn Morris <rgm@gnu.org>
11657 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11659 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11661 * cus-edit.el (custom-variable-documentation): Simplify with format.
11663 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11664 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * simple.el (suggest-key-bindings, execute-extended-command):
11667 Move from keyboard.c.
11669 2012-05-01 Chong Yidong <cyd@gnu.org>
11671 * follow.el: Eliminate advice.
11672 (set-process-filter, process-filter, sit-for): Advice deleted.
11673 (follow-mode-off-hook): Obsolete hook removed.
11674 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11676 (follow-auto): Use a :set function.
11677 (follow-mode): Rewritten. Don't advise process filters.
11678 (follow-switch-to-current-buffer-all, follow-scroll-up)
11679 (follow-scroll-down): Assume follow-mode is bound.
11680 (follow-comint-scroll-to-bottom)
11681 (follow-align-compilation-windows): New functions.
11682 (follow--window-sorter): New function.
11683 (follow-all-followers): Use it to explicitly sort windows by their
11684 positions; don't make assumptions about next-window order.
11685 (follow-windows-start-end, follow-delete-other-windows-and-split)
11686 (follow-calc-win-start): Doc fix.
11687 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11688 vertical-motion unnecessarily.
11689 (follow-adjust-window): New function.
11690 (follow-post-command-hook): Use it.
11691 (follow-call-set-process-filter, follow-call-process-filter)
11692 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11693 (follow-stop-intercept-process-output, follow-generic-filter):
11695 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11696 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11697 New functions, replacing advice on scroll-bar-* commands.
11698 (follow-mwheel-scroll): New function (Bug#4112).
11700 * comint.el (comint-adjust-point): New function.
11701 (comint-postoutput-scroll-to-bottom): Use it.
11702 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11704 2012-05-01 Glenn Morris <rgm@gnu.org>
11706 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11707 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11708 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11709 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11710 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11711 Remove no-byte-compile setting.
11713 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11715 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11716 all-completions code to not return a number in the last cdr.
11718 2012-04-30 Leo Liu <sdl.web@gmail.com>
11720 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11723 2012-04-29 Chong Yidong <cyd@gnu.org>
11725 * follow.el (follow-calc-win-end): Rewrite to handle partial
11726 screen lines correctly (Bug#8390).
11727 (follow-avoid-tail-recenter): Minor cleanup.
11729 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11731 Avoid the obsolete `assoc' package.
11732 * speedbar.el (speedbar-refresh): Avoid adelete.
11733 (speedbar-file-lists): Simplify and avoid aput.
11734 * man.el (Man--sections, Man--refpages): New vars, replacing
11735 Man-sections-alist and Man-refpages-alist.
11736 (Man-build-section-alist, Man-build-references-alist):
11737 Use them; avoid aput.
11738 (Man--last-section, Man--last-refpage): New vars.
11739 (Man-follow-manual-reference): Use them.
11740 Use the `default' arg of completing-read.
11741 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11743 2012-04-27 Chong Yidong <cyd@gnu.org>
11745 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11747 * startup.el (x-apply-session-resources): New function.
11749 * term/ns-win.el (ns-initialize-window-system):
11750 * term/w32-win.el (w32-initialize-window-system):
11751 * term/x-win.el (x-initialize-window-system): Use it to properly
11752 set menu-bar-mode and other vars from X resources, even if the
11753 initial frame is not a window-system frame (Bug#2299).
11755 * subr.el (read-key): Avoid running filter function when setting
11756 up temporary tool bar entries (Bug#9922).
11758 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11760 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11763 2012-04-27 Chong Yidong <cyd@gnu.org>
11765 * select.el (xselect--encode-string): New function, split from
11766 xselect-convert-to-string.
11767 (xselect-convert-to-string): Use it.
11768 (xselect-convert-to-filename, xselect-convert-to-os)
11769 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11770 returned strings are properly encoded (Bug#11315).
11772 2012-04-27 Chong Yidong <cyd@gnu.org>
11774 * simple.el (delete-active-region): Move to killing custom group.
11776 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11778 * progmodes/which-func.el (which-func-current): Quote %
11779 characters for mode-line processing.
11781 2012-04-27 Chong Yidong <cyd@gnu.org>
11783 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11784 reaching eob (Bug#11286).
11786 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11788 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11789 (gdb): Make it buffer-local and init to zero.
11790 (gdb-control-commands-regexp): New variable.
11791 (gdb-send): Don't wrap in "-interpreter-exec console" if
11792 gdb-control-level is positive. Increment gdb-control-level
11793 whenever the command matches gdb-control-commands-regexp, and
11794 decrement it each time the command is "end". (Bug#11279)
11796 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11798 * window.el (adjust-window-trailing-edge, enlarge-window)
11799 (shrink-window, window-resize):
11800 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11801 windows (Bug#11276).
11803 2012-04-27 Chong Yidong <cyd@gnu.org>
11805 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11806 fix "missing prefix" warning. All callers changed.
11808 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * emacs-lisp/assoc.el: Move to obsolete/.
11812 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11814 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11816 * term/ns-win.el (ns-define-service):
11817 * progmodes/pascal.el (pascal-goto-defun):
11818 * progmodes/js.el (js--read-tab):
11819 * progmodes/etags.el (tags-lazy-completion-table):
11820 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11821 * emacs-lisp/ewoc.el (ewoc--wrap):
11822 * emacs-lisp/assoc.el (aput, adelete, amake):
11823 * doc-view.el (doc-view-convert-current-doc):
11824 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11826 2012-04-26 Chong Yidong <cyd@gnu.org>
11828 * image.el (image-type-from-buffer): Only return supported image
11831 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11832 value, for symmetry with diff-end-of-hunk.
11833 (diff-split-hunk, diff-find-source-location)
11834 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11835 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11836 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11837 compute the relevant hunk or file properly (Bug#6005).
11838 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11840 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11849 * vc/vc.el: Replace lexical-let by lexical-binding.
11850 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11851 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11852 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11854 2012-04-26 Chong Yidong <cyd@gnu.org>
11856 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11857 (diff-mode-shared-map): Bind it to / and [remap undo].
11859 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11860 (ediff-window-setup-function): Use it as the default, to set up
11861 windows based on whether the current frame is graphical (Bug#2138).
11862 (ediff-choose-window-setup-function-automatically): Make obsolete.
11864 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11866 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11868 * ffap.el: Remove old code for obsolete package.
11869 (ffap-complete-as-file-p): Remove.
11871 Use completion-table-with-quoting for comint and pcomplete.
11872 * comint.el (comint--unquote&requote-argument)
11873 (comint--unquote-argument, comint--requote-argument): New functions.
11874 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11875 (comint-quote-filename): Use regexp-opt-charset.
11876 (comint--common-suffix, comint--common-quoted-suffix)
11877 (comint--table-subvert): Remove.
11878 (comint-unquote-function, comint-requote-function): New vars.
11879 (comint--complete-file-name-data): Use them with
11880 completion-table-with-quoting.
11881 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11882 * pcomplete.el (pcomplete-arg-quote-list)
11883 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11884 (pcomplete-unquote-argument-function): Default to non-nil.
11885 (pcomplete-unquote-argument): Simplify.
11886 (pcomplete--common-quoted-suffix): Remove.
11887 (pcomplete-requote-argument-function): New var.
11888 (pcomplete--common-suffix): New function.
11889 (pcomplete-completions-at-point): Use completion-table-with-quoting
11890 and completion-table-subvert.
11892 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11893 (minibuffer--double-dollars): Preserve properties.
11894 (completion--sifn-requote): New function.
11895 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11897 * minibuffer.el: Add support for completion of quoted/escaped data.
11898 (completion-table-with-quoting, completion-table-subvert): New funs.
11899 (completion--twq-try, completion--twq-all): New functions.
11900 (completion--nth-completion): New function.
11901 (completion-try-completion, completion-all-completions): Use it.
11903 2012-04-25 Leo Liu <sdl.web@gmail.com>
11905 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11906 Use compilation-message if available to find real filename.
11908 2012-04-25 Chong Yidong <cyd@gnu.org>
11910 * vc/diff-mode.el (diff-setup-whitespace): New function.
11911 (diff-mode): Use it.
11913 * vc/diff.el (diff-sentinel):
11914 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11915 Whitespace mode variables based on diff style (Bug#8612).
11917 2012-04-25 Leo Liu <sdl.web@gmail.com>
11919 * progmodes/python.el (python-send-region): Add suffix .py to the
11922 * files.el (auto-mode-alist): Use javascript-mode instead.
11924 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11926 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11928 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11929 (soap-resolve-references-for-array-type): Hack to prevent self
11930 references, see Bug#9.
11931 (soap-parse-envelope): Report the contents of the 'detail' node
11932 when receiving a fault reply.
11933 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11935 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11936 (soap-inspect-simple-type): New function.
11938 * net/soap-client.el (soap-simple-type): New struct.
11939 (soap-default-xsd-types, soap-default-soapenc-types)
11940 (soap-decode-basic-type, soap-encode-basic-type):
11941 support unsignedInt and double basic types.
11942 (soap-resolve-references-for-simple-type)
11943 (soap-parse-simple-type, soap-encode-simple-type): New function.
11944 (soap-parse-schema): Parse xsd:simpleType declarations.
11946 * net/soap-client.el (soap-default-xsd-types)
11947 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11948 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11949 the local name of "soapenc:Array".
11950 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11951 decoding integer, byte and anyURI xsd types.
11953 2012-04-25 Chong Yidong <cyd@gnu.org>
11955 * cus-edit.el (custom-buffer-create-internal): Update header text.
11957 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11959 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11960 settings on 'system-type', not on 'window-system'. On MS-Windows,
11961 set interactive-mode on in GDB.
11963 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11966 (ruby-syntax-propertize-regexp): Remove.
11967 (ruby-syntax-propertize-function): Split regexp into chunks.
11968 Match following code directly.
11970 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11972 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11973 (ruby-syntax-propertize-regexp): New function.
11974 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11975 by a special keyword.
11977 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11978 (ruby-syntax-general-delimiters-goto-beg)
11979 (ruby-syntax-propertize-general-delimiters): New functions.
11980 (ruby-syntax-propertize-function): Use them to handle GDL.
11981 (ruby-font-lock-keywords): Move old handling of GDL...
11982 (ruby-font-lock-syntactic-keywords): .. to here.
11983 (ruby-calculate-indent): Adjust indentation for GDL.
11985 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11987 * notifications.el (top): Remove unneeded declarations.
11988 (notifications-specification-version): Change to "1.2".
11989 (notifications-interface, notifications-notify-method)
11990 (notifications-close-notification-method): Fix docstring.
11991 (notifications-get-capabilities-method): New defconst.
11992 (notifications-notify): Add :action-items, :resident and
11993 :transient hints. Change "image_data" to "image-data" and
11994 "image_path" to "image-path".
11995 (notifications-get-capabilities): New defun.
11997 2012-04-24 Leo Liu <sdl.web@gmail.com>
11999 * progmodes/python.el: Move hideshow setup to the end.
12001 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12003 * window.el (handle-select-window): Clear echo area since this is
12004 no more done by read_char (Bug#11304).
12006 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12009 and `/ M' to filter-derived-mode.
12010 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12011 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12012 (ibuffer-mark-by-mode): Use default rather than initial-input.
12013 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12015 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12017 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12018 (ibuffer-filter-by-derived-mode): New filter.
12019 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12021 2012-04-23 Andreas Politz <politza@fh-trier.de>
12023 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12025 2012-04-23 Chong Yidong <cyd@gnu.org>
12027 * cus-edit.el (customize-apropos, customize-apropos-options):
12028 Disable matching of non-option variables (Bug#11176).
12029 (customize-option, customize-option-other-window)
12030 (customize-changed-options): Doc fix.
12031 (customize-apropos-options, customize-apropos-faces)
12032 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12034 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12035 Fix word list splitting (Bug#11132).
12036 (apropos-symbol, apropos-keybinding, apropos-label)
12037 (apropos-property, apropos-function-button)
12038 (apropos-variable-button, apropos-misc-button): New faces.
12039 (apropos-symbol-face, apropos-keybinding-face)
12040 (apropos-label-face, apropos-property-face, apropos-match-face):
12041 Variables removed (Bug#8396).
12042 (apropos-library-button, apropos-format-plist, apropos-print)
12043 (apropos-print-doc, apropos-describe-plist): Callers changed.
12045 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12047 * net/xesam.el (xesam-mode-map): Use let-bound map in
12048 initialization. (Bug#11292)
12050 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12052 Preserve ispell session localwords when switching back to
12055 * textmodes/ispell.el (ispell-buffer-session-localwords):
12056 New buffer-local variable to hold buffer session localwords.
12057 (ispell-kill-ispell): Add option 'clear to delete session
12059 (ispell-command-loop, ispell-change-dictionary)
12060 (ispell-buffer-local-words): Preserve session localwords when
12063 * textmodes/flyspell.el (flyspell-process-localwords)
12064 (flyspell-do-correct): Preserve session localwords when needed.
12066 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12068 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12069 using obsolete `translation-table-for-input'.
12070 (ispell-word, ispell-process-line, ispell-complete-word):
12071 Use plain `insert' instead of removed `ispell-insert-word'.
12073 2012-04-22 Chong Yidong <cyd@gnu.org>
12075 * cus-edit.el (custom-variable-menu)
12076 (custom-variable-reset-saved, custom-face-menu)
12077 (custom-face-reset-saved): If there is no saved value, make the
12078 "reset-saved" operation bring back the default (Bug#9509).
12079 (custom-face-state): Properly detect themed faces.
12081 * faces.el (face-spec-set): Stop supporting deprecated form of
12084 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12086 Move functions from C to Lisp. Make non-blocking method calls
12087 the default. Implement further D-Bus standard interfaces.
12089 * net/dbus.el (dbus-message-internal): Declare function.
12090 Remove unneeded function declarations.
12091 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12092 (dbus-message-type-method-return, dbus-message-type-error)
12093 (dbus-message-type-signal): Declare variables. Remove local
12095 (dbus-interface-dbus, dbus-interface-peer)
12096 (dbus-interface-introspectable, dbus-interface-properties)
12097 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12099 (dbus-interface-objectmanager): New defconst.
12100 (dbus-call-method, dbus-call-method-asynchronously)
12101 (dbus-send-signal, dbus-method-return-internal)
12102 (dbus-method-error-internal, dbus-register-service)
12103 (dbus-register-signal, dbus-register-method): New defuns, moved
12105 (dbus-call-method-handler, dbus-setenv)
12106 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12108 (dbus-call-method-non-blocking): Make it an obsolete function.
12109 (dbus-unregister-object, dbus-unregister-service)
12110 (dbus-handle-event, dbus-register-property)
12111 (dbus-property-handler): Obey the new structure of
12112 `bus-registered-objects'.
12113 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12114 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12115 Use `dbus-call-method'.
12117 2012-04-22 Chong Yidong <cyd@gnu.org>
12119 * cus-edit.el (custom-commands, custom-reset-menu)
12120 (Custom-reset-standard): Tweak labels.
12121 (custom-reset-button-menu): Change default to t.
12122 (custom-buffer-create-internal): For the custom-reset-button-menu
12123 case, put the revert button first.
12124 (custom-group-subtitle): New face.
12125 (custom-group-value-create): Align docstring to a specific column.
12127 * wid-edit.el (widget-documentation-link-add): Don't handle
12128 indentation in this function.
12129 (widget-documentation-string-indent-to): New function.
12130 (widget-documentation-string-value-create): Use it.
12132 * autorevert.el (auto-revert):
12133 * epg-config.el (epg):
12134 * ibuffer.el (ibuffer):
12137 * eshell/eshell.el (eshell):
12138 * net/ange-ftp.el (ange-ftp):
12139 * progmodes/ebnf2ps.el (postscript):
12140 * progmodes/flymake.el (flymake):
12141 * progmodes/prolog.el (prolog):
12142 * progmodes/verilog-mode.el (verilog-mode):
12143 * progmodes/which-func.el (which-func):
12144 * term/xterm.el (xterm):
12145 * textmodes/picture.el (picture):
12146 * textmodes/tildify.el (tildify):
12147 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12148 customization buffers.
12150 2012-04-22 Alan Mackenzie <acm@muc.de>
12152 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12153 Adding a ) can hide the resulting (..) from searches. Fix it.
12154 Bound the backward search to the position of the existing (.
12156 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12158 * progmodes/verilog-mode.el (verilog-mode): Check whether
12159 which-func-modes is t before adding verilog-mode.
12160 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12162 2012-04-21 Leo Liu <sdl.web@gmail.com>
12164 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12166 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12168 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12169 filling of the last column of a table (Bug#5635).
12170 (woman-find-next-control-line): New arg, specifying an additional
12171 regexp component for the control line.
12172 (woman2-roff-buffer): Use it.
12173 (woman-break-table): New function.
12174 (woman2-TS): Use it.
12176 2012-04-21 Chong Yidong <cyd@gnu.org>
12178 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12179 (woman-horizontal-escapes, woman-negative-vertical-space)
12180 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12181 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12183 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12185 * minibuffer.el (completion-file-name-table): Complete user names.
12187 2012-04-20 Leo Liu <sdl.web@gmail.com>
12189 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12192 2012-04-20 Chong Yidong <cyd@gnu.org>
12194 * server.el (server-execute): Respect initial-buffer-choice if it
12195 is a string and there are no files to open (Bug#2825).
12196 (server-create-window-system-frame, server-create-tty-frame):
12197 Don't switch buffers here.
12198 (server-process-filter): Only try to open a window system frame if
12199 compiled with graphical support (Bug#8314).
12201 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12203 * battery.el (battery-echo-area-format): Display remaining time
12204 for sysfs backend too (Bug#11269).
12205 (battery-linux-sysfs): Fix conditional for the charge.
12207 2012-04-20 Chong Yidong <cyd@gnu.org>
12209 * progmodes/gdb-mi.el (gdb): Revert previous change.
12210 (gdb-inferior-io--init-proc): New function.
12211 (gdb-init-1): Use it.
12212 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12213 responsible for allocating a new pty and hooking it to gdb when
12214 the old pty gets an EIO due to process exit.
12215 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12216 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12217 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12219 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12221 * window.el (window-min-size, window-sizable, window-min-delta)
12222 (window-max-delta, window--resizable, window-resizable)
12223 (window-total-size, window-full-height-p, window-full-width-p)
12224 (window-in-direction, window--resize-mini-window, window-resize)
12225 (window--resize-child-windows-normal)
12226 (window--resize-child-windows, window--resize-siblings)
12227 (window--resize-this-window, adjust-window-trailing-edge)
12228 (enlarge-window, shrink-window): Doc fixes.
12230 2012-04-20 Chong Yidong <cyd@gnu.org>
12232 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12233 New function to call delete-process on the gdb-inferior buffer's pty.
12234 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12235 pty process (Bug#11273).
12236 (gdb-update): New arg to suppress talking to the gdb process.
12237 (gdb-done-or-error): Use it.
12238 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12239 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12240 sentinel not being called.
12242 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12244 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12246 2012-04-20 Glenn Morris <rgm@gnu.org>
12248 * net/network-stream.el (open-network-stream): Doc fix.
12250 2012-04-20 Chong Yidong <cyd@gnu.org>
12252 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12254 2012-04-20 Alan Mackenzie <acm@muc.de>
12256 Ensure searching for keywords is case sensitive.
12258 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12259 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12260 (c-defun-name, c-mark-function, c-cpp-define-name)
12261 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12262 (c-context-line-break): Bind case-fold-search to nil.
12264 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12265 Bind case-fold-search to nil.
12267 2012-04-20 Chong Yidong <cyd@gnu.org>
12269 * mail/sendmail.el (mail-bury): Call return action with the right
12270 Rmail buffer (Bug#11242).
12272 * server.el (server-process-filter): Handle corner case where both
12273 tty and nowait options are present (Bug#11102).
12275 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12277 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12278 (top level): Put into the executable the ident-style '$Id:' tag on
12279 windows-nt as well.
12281 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12283 * electric.el (electric-indent-post-self-insert-function): Check that
12284 electric-indent-mode is enabled in current buffer.
12286 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12288 * imenu.el (imenu-progress-message): Restore; it is "used" in
12289 erc/erc-imenu.el and net/snmp-mode.el.
12291 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12293 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12294 (mouse-avoidance-nudge-mouse): Remove unused binding.
12296 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12298 * descr-text.el (describe-char):
12299 * progmodes/python.el (python-describe-symbol):
12300 Don't call `toggle-read-only', set `buffer-read-only'.
12302 * imenu.el (imenu-default-goto-function): Mark unused args.
12303 (imenu-progress-message): Remove obsolete macro; all callers changed.
12305 * subr.el (keymap-canonicalize): Remove unused binding.
12306 (read-passwd): Mark unused arg.
12308 * tutorial.el (tutorial--display-changes): Remove unused binding.
12309 (tutorial--save-tutorial-to): Remove unused variable.
12311 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12312 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12313 (package-generate-autoloads, package-menu--generate)
12314 (package-menu--find-upgrades): Remove unused bindings.
12316 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12317 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12318 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12319 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12320 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12321 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12322 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12323 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12324 (cua-delete-char-rectangle): Mark unused args.
12325 (cua-align-rectangle): Remove unused binding.
12327 * mail/rmail.el (compilation--message->loc)
12328 (epa--find-coding-system-for-mime-charset): Declare.
12330 * net/dbus.el (dbus-register-service): Declare.
12331 (dbus-name-owner-changed-handler): Remove unused binding.
12333 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12334 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12335 (nxml-scan-backward-within): Mark unused arg.
12336 (nxml-dynamic-markup-word): Remove unused binding.
12338 * mouse.el (mouse-menu-major-mode-map):
12339 * emacs-lisp/authors.el (authors-scan-change-log)
12340 (authors-add-to-author-list):
12341 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12342 * emacs-lisp/smie.el (smie-auto-fill):
12343 * mail/sendmail.el (mail-bury):
12344 * mail/unrmail.el (unrmail):
12345 * net/tls.el (open-tls-stream):
12346 * textmodes/picture.el (picture-mouse-set-point):
12347 Remove unused bindings.
12349 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12351 * net/tramp.el (tramp-action-password): Let-bind
12352 `enable-recursive-minibuffers' to t.
12354 2012-04-18 Sam Steingold <sds@gnu.org>
12356 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12357 instead of 'string to accommodate values like [f11].
12358 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12359 * progmodes/gdb-mi.el: Likewise.
12361 2012-04-18 Leo Liu <sdl.web@gmail.com>
12363 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12365 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12368 2012-04-18 Chong Yidong <cyd@gnu.org>
12370 * simple.el (line-move): Use forward-line if in batch mode
12373 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12375 * files.el (after-find-file): Do not try to add a final newline if
12376 the buffer is read-only (Bug#11156).
12378 2012-04-17 Richard Stallman <rms@gnu.org>
12380 * mail/rmail.el (rmail-start-mail):
12381 Pass (rmail-mail-return...) for the return-action.
12382 Pass (rmail-yank-current-message...) for the yank-action.
12383 (rmail-yank-current-message): New function.
12384 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12385 (rmail-reply): Likewise.
12386 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12388 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12389 buffer, not the last. Reject temp buffers. Use the rmail-mode
12390 buffer, not newbuf.
12392 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12394 * server.el (server-ensure-safe-dir): Simplify.
12396 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * emacs-lisp/smie.el: Provide smarter auto-filling.
12399 (smie-auto-fill): New function.
12400 (smie-setup): Use it.
12402 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12404 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12406 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12407 (comment-indent): Use it.
12409 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12411 * ses.el: The overall change is to add cell renaming, that is
12412 setting fancy names for cell symbols other than name matching
12413 "\\`[A-Z]+[0-9]+\\'" regexp .
12414 (ses-localvars): Add ses--renamed-cell-symb-list.
12415 (ses-create-cell-variable): New defun.
12416 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12417 (ses-relocate-formula): Relocate formulas only for cells the
12418 symbols of which are not renamed, i.e. symbols whose names do not
12419 match regexp "\\`[A-Z]+[0-9]+\\'".
12420 (ses-relocate-all): Relocate values only for cells the symbols of
12421 which are not renamed.
12422 (ses-load): Create cells variables as the (ses-cell ...) are read,
12423 in order to check row col consistency with cell symbol name only
12424 for cells that are not renamed.
12425 (ses-replace-name-in-formula): New defun.
12426 (ses-rename-cell): New defun.
12428 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12430 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12431 New option (bug#11118).
12432 (perl-calculate-indent): Respect it.
12434 2012-04-17 Glenn Morris <rgm@gnu.org>
12436 * dired-aux.el (dired-mark-read-string): Doc fix.
12438 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12440 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12441 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12443 2012-04-17 Glenn Morris <rgm@gnu.org>
12445 * mouse.el (mouse-drag-track):
12446 * speedbar.el (speedbar-frame-mode):
12447 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12449 2012-04-16 Leo Liu <sdl.web@gmail.com>
12451 * progmodes/python.el: Trivial cleanup.
12453 2012-04-16 Glenn Morris <rgm@gnu.org>
12455 * vc/vc.el (vc-string-prefix-p):
12456 * vc/pcvs-util.el (cvs-string-prefix-p):
12457 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12458 * mpc.el (mpc-string-prefix-p):
12459 Make all of these into obsolete aliases for string-prefix-p.
12461 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12463 * textmodes/two-column.el: Move custom options to the start.
12464 (frame-width): Remove compat definition.
12465 (2C-associate-buffer, 2C-dissociate):
12466 Use with-current-buffer rather than save-excursion.
12467 (2C-dissociate): Force a mode-line update.
12468 (2C-autoscroll): Use ignore-errors.
12470 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12473 * emacs-lisp/cl-extra.el (*random-state*):
12474 Remove unnecessary declaration.
12476 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12478 * play/cookie1.el (cookie-snarf):
12479 Give an explicit error if input file cannot be read.
12481 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12483 * progmodes/perl-mode.el (c-macro-expand):
12484 Remove unnecessary autoload (it is in loaddefs.el).
12486 * textmodes/picture.el (picture-desired-column)
12487 (picture-update-desired-column): Convert comments to doc-strings.
12488 (picture-substitute): Remove function.
12489 (picture-mode-map): Initialize in the defvar.
12491 * woman.el: Remove eval-after-load for tar-mode.
12492 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12493 (woman-tar-extract-file): Autoload it.
12495 * frame.el (automatic-hscrolling): Make this alias obsolete.
12497 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12499 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12500 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12501 (ispell-dictionary-base-alist): Revert to original XEmacs
12502 friendly version for default. [:alpha:] will be added in
12503 `ispell-set-spellchecker-params' if needed.
12505 2012-04-16 Chong Yidong <cyd@gnu.org>
12507 * image.el (imagemagick--file-regexp): New variable.
12508 (imagemagick-register-types): Use it.
12509 (imagemagick-types-inhibit): Add :set function. Allow new value
12510 of t to inhibit all types.
12512 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12513 so we can preload it.
12515 * loadup.el (fboundp): Preload regexp-opt, needed by
12516 imagemagick-register-types.
12518 2012-04-15 Chong Yidong <cyd@gnu.org>
12520 * frame.el (scrolling): Remove nearly unused customization group.
12522 * scroll-all.el (scroll-all-mode): Move to windows group.
12524 2012-04-15 Chong Yidong <cyd@gnu.org>
12526 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12528 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12530 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12531 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12533 2012-04-15 Glenn Morris <rgm@gnu.org>
12535 * simple.el (process-file-side-effects): Doc fix.
12537 2012-04-15 Glenn Morris <rgm@gnu.org>
12539 * international/mule-cmds.el (set-language-environment): Doc fix.
12541 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12543 * server.el (server-auth-key, server-generate-key): Doc fixes.
12544 (server-get-auth-key): Doc fix. Use `string-match-p'.
12545 (server-start): Reflow docstring.
12547 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12549 * server.el (server-generate-key): `called-interactively-p'
12550 requires a parameter.
12552 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12554 * server.el (server-auth-key): New variable.
12555 (server-generate-key, server-get-auth-key): New function.
12556 (server-start): Use the new variable and functions to allow
12557 setting a permanent server key (bug#9423).
12559 2012-04-14 Leo Liu <sdl.web@gmail.com>
12561 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12563 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12566 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12567 Emacs uses American spelling.
12569 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12571 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12572 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12573 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12574 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12576 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * progmodes/which-func.el (which-func-modes): Change default.
12580 2012-04-14 Kim F. Storm <storm@cua.dk>
12582 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12583 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12585 2012-04-14 Chong Yidong <cyd@gnu.org>
12587 * custom.el (custom-theme-set-variables): Doc fix.
12589 2012-04-14 Glenn Morris <rgm@gnu.org>
12591 * international/mule.el (set-auto-coding-for-load): Doc fix.
12593 2012-04-14 Alan Mackenzie <acm@muc.de>
12595 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12596 imenu work again for Objective C Mode. Correct the *-index values,
12597 these having been disturbed by a previous change in 2011-08.
12599 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12600 Correct two search limits.
12602 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12604 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12606 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12608 * international/characters.el: Fix sorting.
12610 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12612 * international/characters.el: Add more missing Latin case pairs.
12614 2012-04-14 Glenn Morris <rgm@gnu.org>
12616 * files.el (dir-locals-set-class-variables): Doc fix.
12618 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12620 * international/characters.el: Add set-case-syntax-pair call for
12621 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12622 counterpart. (Bug#11209)
12624 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12626 2012-04-14 Glenn Morris <rgm@gnu.org>
12628 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12630 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12632 * textmodes/ispell.el (ispell-dictionary-base-alist):
12633 Add data for Hebrew.
12635 2012-04-14 Chong Yidong <cyd@gnu.org>
12637 * net/rcirc.el (rcirc-cmd-quit):
12638 Revert 2012-03-18 change (Bug#11192).
12640 2012-04-14 Glenn Morris <rgm@gnu.org>
12642 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12644 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12646 * minibuffer.el (completion-in-region-mode-map):
12647 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12649 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12651 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12653 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12655 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12656 to allow `C-M-f' and `C-M-b' to move to the nearest path
12657 separator (bug#9511).
12659 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12661 * avoid.el: Require cl when compiling. And also move the
12662 `provide' to the end.
12664 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12666 * avoid.el (mouse-avoidance-banish-position): New variable.
12667 (mouse-avoidance-banish-destination): Use it (bug#10165).
12669 2012-04-13 Leo Liu <sdl.web@gmail.com>
12671 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12673 2012-04-13 Ken Brown <kbrown@cornell.edu>
12675 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12676 this is no longer needed now that cygstart understands file:// URLs.
12677 (browse-url-filename-alist): For the same reason, don't modify
12678 file:// URLs on Cygwin.
12680 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12682 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12683 the region on shift if the binding is already shifted (bug#11221).
12685 2012-04-12 Glenn Morris <rgm@gnu.org>
12687 * mail/mailpost.el: Move to obsolete/.
12689 2012-04-12 Drew Adams <drew.adams@oracle.com>
12691 * imenu.el (imenu--generic-function): Ignore invisible definitions
12694 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12696 * hexl.el (hexl-bits): New variable.
12697 (hexl-options): Mention the variable in the doc string.
12698 (hexl-rulerise, hexl-line-displen): New functions.
12699 (hexl-mode): Mention the new variable.
12700 (hexl-mode, hexl-current-address, hexl-current-address):
12702 (hexl-ascii-start-column): New function.
12703 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12704 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12706 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12708 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12709 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12710 the encoding, as expected by hunspell.
12712 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12714 * battery.el (battery--linux-sysfs-regexp): New const.
12715 (battery-status-function): Use it. Remove yeeloong special case.
12716 (battery-yeeloong-sysfs): Remove.
12717 (battery-echo-area-format): Remove yeeloong special case.
12719 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12721 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12722 Reported by Noah Friedman.
12724 * subr.el (read-passwd): Use read-string.
12726 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12728 * vcursor.el (vcursor-move): Increase the priority of the overlay
12731 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12733 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12734 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12736 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12738 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12739 define-minor-mode (bug#10760).
12741 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12743 * progmodes/grep.el (rgrep): Tweak the find command line so
12744 that directories matching `grep-find-ignored-files' won't be
12745 pruned (bug#10351).
12747 2012-04-11 Chong Yidong <cyd@gnu.org>
12749 * startup.el (command-line): Remove support for long-obsolete
12750 variable font-lock-face-attributes.
12752 2012-04-11 Glenn Morris <rgm@gnu.org>
12754 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12756 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * window.el (window--state-get-1): Obey window-point-insertion-type.
12760 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12762 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12763 to previous function when point is on the first character of a
12764 function. Take care of that in `narrow-to-defun' (bug#6157).
12766 2012-04-11 Glenn Morris <rgm@gnu.org>
12768 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12769 not just file-errors.
12771 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12772 (vc-bzr-sha1): Use internal sha1.
12774 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12778 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12780 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12781 that start in the middle of the line (bug#10496).
12783 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12785 * battery.el (battery-linux-proc-acpi): Only one battery is
12786 discharged at a time, but that seems to confuse battery.el when
12787 computing `rate-type' for the battery not being discharged
12790 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12792 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12794 * international/quail.el: Use dolist and simplify.
12795 (quail-define-package, quail-update-keyboard-layout)
12796 (quail-define-rules): Use dolist.
12797 (quail-insert-kbd-layout, quail-get-translation): CSE.
12799 * tmm.el: Use dolist, remove left over hook.
12800 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12802 (calendar-load-hook): Don't mess with it.
12804 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12805 Use derived-mode-p. Run the diff asynchronously.
12807 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12809 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12811 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12813 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12814 (list-dynamic-libraries--loaded): New function.
12815 (list-dynamic-libraries--refresh): Use it.
12817 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12819 * progmodes/python.el (python-fill-paragraph):
12820 Make python-fill-region in a multiline string work when font-lock is
12821 disabled (bug#7018).
12823 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12825 * language/european.el (cp775): Add oem/legacy (en)coding on
12826 DOS/MS Windows for the Baltic languages. There are still plenty
12827 of texts written in this encoding/codepage (bug#6519).
12829 2012-04-10 Glenn Morris <rgm@gnu.org>
12831 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12832 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12834 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12836 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12837 next-line "n" and previous-line "p" in order to make recentf more
12838 consistent with ibuffer, dired or org-mode (bug#9387).
12840 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12842 * image.el (put-image): Return the overlay created instead of the
12843 optional input string (bug#7834). Note that this may break code
12844 that is (for some reason or other) depending on `put-image'
12845 returning the string.
12847 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12849 * simple.el (zap-to-char): Allow zapping using input methods
12852 * textmodes/fill.el (fill-region): Leave point and mark where they
12853 were before filling (bug#5399).
12855 2012-04-09 Glenn Morris <rgm@gnu.org>
12857 * version.el (emacs-bzr-get-version):
12858 Handle lightweight checkouts of local branches.
12860 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12862 * international/characters.el: Recover lost case pairs. (Bug#11209)
12864 2012-04-09 Chong Yidong <cyd@gnu.org>
12866 * custom.el (custom-variable-p): Return nil for non-symbol
12867 arguments instead of signaling an error.
12868 (user-variable-p): Obsolete alias for custom-variable-p.
12870 * apropos.el (apropos-variable):
12871 * files-x.el (read-file-local-variable):
12872 * simple.el (set-variable):
12873 * woman.el (woman-mini-help):
12874 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12876 2012-04-09 Glenn Morris <rgm@gnu.org>
12878 * startup.el (normal-top-level): Don't look for leim-list.el
12879 in places where it will not be found. (Bug#910)
12881 * international/mule-cmds.el (set-default-coding-systems):
12882 * files.el (normal-mode):
12883 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12884 This function was removed with ucs-tables.el in 2008.
12886 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12888 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12889 ispell-encoding8-command to "-i", without a trailing space.
12890 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12891 separate command-line arguments, to specify the encoding, since
12892 that's how hunspell expects it.
12894 2012-04-08 Glenn Morris <rgm@gnu.org>
12896 * loadup.el: Load bindings before cus-start.
12897 This reduces somewhat the number of "rogue" settings in emacs -Q.
12899 2012-04-07 Glenn Morris <rgm@gnu.org>
12901 * version.el (emacs-bzr-get-version): New function.
12902 (emacs-bzr-version): New variable.
12903 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12904 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12906 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12908 * international/uni-bidi.el, international/uni-category.el:
12909 * international/uni-combining.el, international/uni-decimal.el:
12910 * international/uni-decomposition.el, international/uni-digit.el:
12911 * international/uni-lowercase.el, international/uni-mirrored.el:
12912 * international/uni-name.el, international/uni-numeric.el:
12913 * international/uni-titlecase.el, international/uni-uppercase.el:
12914 Update for Unicode 6.1.
12916 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12918 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12920 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12922 * window.el (shrink-window): Mention the `window-min-height'
12923 variable in the doc string.
12925 2012-04-05 Bastien Guerry <bzg@altern.org>
12927 * color.el (color-lighten-name): Fix typo.
12929 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12931 * server.el (server--on-display-p): New function.
12932 (server--on-display-p): Use it.
12934 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12936 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12939 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12941 * comint.el (comint--common-quoted-suffix): Check string boundary
12942 before comparing (bug#11158).
12943 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12945 2012-04-04 Chong Yidong <cyd@gnu.org>
12947 * minibuffer.el (completion-extra-properties): Doc fix.
12949 * subr.el (delayed-warnings-hook): Doc fix.
12951 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12953 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12954 selection (Bug#11159).
12955 (epa-insert-keys): Inform that the default public key will be
12956 exported if no key is selected.
12958 2012-04-04 Richard Stallman <rms@gnu.org>
12960 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12962 2012-04-03 Chong Yidong <cyd@gnu.org>
12964 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12965 mail-insert-file, not its obsolete alias mail-attach-file.
12967 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12969 * notifications.el (notifications-notify): Fix docstring.
12971 2012-04-02 Glenn Morris <rgm@gnu.org>
12973 * emacs-lisp/authors.el (authors-aliases): Another addition.
12975 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12977 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12978 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12979 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12981 2012-04-01 Chong Yidong <cyd@gnu.org>
12983 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12984 Handle root directory properly.
12985 (copy-directory): Caller changed.
12987 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12988 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12990 2012-03-31 Glenn Morris <rgm@gnu.org>
12992 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12994 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12996 * calendar/calendar.el (calendar-window-list)
12997 (calendar-hide-window): Restore. (Bug#11140)
12998 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13000 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13002 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13004 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13005 Check if file is a symlink (Bug#10489).
13007 * files.el (copy-directory): Likewise.
13009 2012-03-30 Chong Yidong <cyd@gnu.org>
13011 * image.el (imagemagick-types-inhibit)
13012 (imagemagick-register-types): Doc fix.
13014 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13016 * textmodes/ispell.el (ispell-get-extended-character-mode):
13017 Disable extended-char-mode for hunspell. hunspell does not support it
13018 and treats ~word as ordinary words in pipe mode.
13020 2012-03-30 Glenn Morris <rgm@gnu.org>
13022 * tutorial.el (help-with-tutorial): Ensure local variables don't
13023 happen to make the buffer read-only. (Bug#11127)
13025 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13028 (perl-calculate-indent): Return `noindent' in strings.
13030 2012-03-28 Sam Steingold <sds@gnu.org>
13032 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13033 instead of the broken adhockery which does not prevent calendar
13034 buffers from being displayed at random after exit.
13035 (calendar-window-list, calendar-hide-window): Remove the broken
13038 2012-03-28 Glenn Morris <rgm@gnu.org>
13040 * replace.el (query-replace-map): Doc fix.
13042 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13044 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13045 contents. (Bug#11109)
13047 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13049 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13051 (avl-tree--check, avl-tree--check-node): New funs.
13053 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13055 * window.el (switch-to-visible-buffer): New option.
13056 (switch-to-prev-buffer, switch-to-next-buffer):
13057 Observe switch-to-visible-buffer. Make sure that checking for a window
13058 showing a buffer already is done on the same frame.
13060 2012-03-27 Glenn Morris <rgm@gnu.org>
13062 * startup.el (mail-host-address): Doc fix.
13064 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13066 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13067 than 197 variables.
13069 2012-03-26 Ami Fischman <ami@fischman.org>
13071 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13073 2012-03-26 Glenn Morris <rgm@gnu.org>
13075 * files.el (save-buffers-kill-emacs): Doc fix.
13077 * startup.el (normal-top-level, command-line, command-line-1):
13078 Give them doc strings.
13080 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13082 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13083 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13085 2012-03-25 Chong Yidong <cyd@gnu.org>
13087 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13088 theme if it was previously enabled before (Bug#11031).
13090 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13091 spec with custom-face-get-current-spec if its :shown-value is not
13092 determined yet (Bug#9337).
13093 (customize-create-theme, custom-theme-revert): Doc fixes.
13095 * button.el (button-at): Minor addition to docstring.
13097 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13099 * vc/vc.el (vc-merge): Fix a prompt.
13101 2012-03-24 Chong Yidong <cyd@gnu.org>
13103 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13106 * button.el (button-at): Minor addition to docstring.
13108 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13110 * newcomment.el (comment-choose-indent): No space after BOL.
13112 2012-03-22 Sam Steingold <sds@gnu.org>
13114 * window.el (switch-to-prev-buffer): Revert last patch because the
13115 bug turned out to be an advertised feature (Elisp manual 28.14).
13117 2012-03-22 Glenn Morris <rgm@gnu.org>
13119 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13120 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13122 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124 * net/network-stream.el (network-stream-open-starttls): Make error
13125 message under Windows be less misleading.
13127 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13129 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13130 understands (bug#9942).
13132 2012-03-22 Chong Yidong <cyd@gnu.org>
13134 * simple.el (end-of-visible-line): Handle return value of
13135 next-single-property-change properly (Bug#9371).
13137 2012-03-22 Kenichi Handa <handa@m17n.org>
13139 * international/quail.el (quail-insert-kbd-layout): Fix previous
13140 change. To avoid unwanted bidi reordering, use
13141 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13143 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13145 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13146 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13147 (ruby-beginning-of-indent): Be more careful with the difference
13148 between word-boundary and symbol boundary.
13149 (ruby-mode-syntax-table): Make : a symbol constituent.
13151 2012-03-21 Andreas Politz <politza@fh-trier.de>
13153 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13155 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13157 * progmodes/etags.el (tags-completion-at-point-function):
13160 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13162 2012-03-21 Sam Steingold <sds@gnu.org>
13164 * progmodes/etags.el (tags-completion-at-point-function):
13165 Avoid the error when point is inside the pattern.
13167 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13169 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13172 2012-03-21 Drew Adams <drew.adams@oracle.com>
13174 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13176 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13178 * ido.el (ido-set-current-directory, ido-read-internal)
13179 (ido-choose-completion-string, ido-completion-help): Handle nil
13180 value of ido-completion-buffer (Bug#11008).
13182 2012-03-21 Sam Steingold <sds@gnu.org>
13184 * window.el (switch-to-prev-buffer): Do not switch to a visible
13185 window previous buffer, just like with the frame previous buffers.
13187 2012-03-21 Chong Yidong <cyd@gnu.org>
13189 * faces.el (make-face, make-empty-face, copy-face):
13190 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13193 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13195 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13196 (widget-complete): Remove broken use of it.
13198 2012-03-20 Chong Yidong <cyd@gnu.org>
13200 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13201 Use string-width and truncate-string-width to handle arbitrary
13204 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13206 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13207 to draw rectangles, not squares. (Regression introduced by revno
13208 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13210 2012-03-18 Chong Yidong <cyd@gnu.org>
13212 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13213 it is not yet defined (for temacs).
13215 2012-03-18 Leo Liu <sdl.web@gmail.com>
13217 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13220 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13222 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13223 (ispell-choices-win-default-height, ispell-silently-savep)
13224 (ispell-dictionary-alist, ispell-encoding8-command)
13225 (ispell-check-version, ispell-aspell-find-dictionary)
13226 (ispell-valid-dictionary-list, ispell-words-keyword)
13227 (ispell-get-word, ispell-internal-change-dictionary)
13228 (ispell-region, ispell-skip-region-list)
13229 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13230 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13231 (ispell-message-text-end, ispell-message)
13232 (ispell-buffer-local-parsing): Doc fix.
13234 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13236 * htmlfontify.el: Add support for code block fontification for ODT
13237 export (Bug #9914).
13238 (hfy-optimisations): Define new option
13240 (hfy-fontify-buffer): Honor above setting.
13241 (hfy-begin-span, hfy-end-span): New routines factored out form
13242 `hfy-fontify-buffer'.
13243 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13244 that permit insertion of custom tags.
13245 (hfy-fontify-buffer): Use above handlers.
13246 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13247 (hfy-face-to-css): Re-defined to be a variable.
13248 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13249 over multiple runs. This is made possible by having the caller let
13250 bind a special variable `hfy-user-sheet-assoc'.
13251 (htmlfontify-string): New defun.
13252 (hfy-compile-face-map): Make sure that the last char in the
13253 buffer is correctly fontified.
13254 (hfy-face-resolve-face): Whitespace only change.
13256 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13258 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13259 message more clear.
13261 2012-03-16 Leo Liu <sdl.web@gmail.com>
13263 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13265 2012-03-16 Alan Mackenzie <acm@muc.de>
13267 Further optimize the handling of large macros.
13269 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13270 limit to a call of `c-literal-limits'.
13271 (c-determine-+ve-limit): New function.
13272 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13273 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13274 In CASE 5B, restrict a search limit to 500.
13275 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13277 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13278 Restrict macro bounds to +-500 from after-change's BEG END.
13280 2012-03-16 Leo Liu <sdl.web@gmail.com>
13282 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13284 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13286 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13287 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13289 2012-03-16 Glenn Morris <rgm@gnu.org>
13291 * view.el (view-buffer, view-buffer-other-window)
13292 (view-buffer-other-frame): Doc fixes re special mode-class.
13294 * subr.el (eval-after-load): If named feature is provided not from
13295 a file, run after-load forms. (Bug#10946)
13297 * calendar/calendar.el (calendar-insert-at-column):
13298 Handle non-unit-width characters a bit better. (Bug#10978)
13300 2012-03-15 Chong Yidong <cyd@gnu.org>
13302 * emacs-lisp/ring.el (ring-extend): New function.
13303 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13305 * comint.el (comint-read-input-ring)
13306 (comint-add-to-input-history): Grow comint-input-ring lazily.
13308 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13310 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13311 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13313 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13314 (imenu-add-to-menubar): Don't add a redundant index.
13315 (imenu-update-menubar): Handle a dynamically composed keymap.
13317 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13319 * mail/sendmail.el (mail-encode-header):
13320 Bind rfc2047-encode-encoded-words to nil.
13322 2012-03-13 Glenn Morris <rgm@gnu.org>
13324 * calendar/calendar.el (calendar-string-spread):
13325 Handle non-unit-width characters a bit better. (Bug#10978)
13327 2012-03-13 Leo Liu <sdl.web@gmail.com>
13329 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13330 directory and file as argument (Bug#10822).
13332 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13334 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13335 For dynamically generated code, follow $PC.
13336 (gdb-disassembly-handler-custom): Handle no function name case.
13338 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13340 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13341 * emulation/ws-mode.el (ws-query-replace):
13342 * sort.el (sort-regexp-fields):
13343 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13345 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * dabbrev.el: Fix cycle completion order (bug#10963).
13348 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13349 (dabbrev-completion): Don't use an obarray; provide
13350 a cycle-sort-function.
13352 2012-03-12 Leo Liu <sdl.web@gmail.com>
13354 * simple.el (kill-new): Use equal-including-properties for comparison.
13355 (kill-do-not-save-duplicates): Doc fix.
13357 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13359 * dabbrev.el: Fix cycle completion (bug#10963).
13360 Use lexical binding and wrap to 80 columns.
13361 (dabbrev-completion): Delay computing the list of completions.
13363 2012-03-12 Kenichi Handa <handa@m17n.org>
13365 * international/quail.el (quail-insert-kbd-layout): Surround each
13366 row by LRO and PDF instead of inserting many LRMs. Pad the left
13367 and right of each non-spacing marks. Insert invisible space
13368 between lower and upper characters to prevent composition.
13370 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * minibuffer.el (minibuffer-complete): Don't get confused when the
13373 function is run twice via different commands (bug#10958).
13374 (complete-with-action): Fix docstring.
13376 2012-03-12 Chong Yidong <cyd@gnu.org>
13378 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13379 (nxml-completion-at-point-function): New function.
13380 (nxml-mode): Use it.
13381 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13383 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13384 Load generated autoloads file before byte compiling (Bug#10970).
13385 (package--make-autoloads-and-compile): New helper fun.
13387 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13389 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13391 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13393 * autorevert.el (auto-revert-handler): Ensure, that
13394 file-readable-p is applied only for local files or in
13395 auto-revert-tail-mode.
13397 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13399 * server.el (server-eval-at): Handle non-tcp connections.
13400 Decode result string.
13402 * server.el (server-msg-size): New constant.
13403 (server-reply-print): New function.
13404 (server-eval-and-print): Use it.
13405 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13406 Handle -print-nonl.
13408 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13410 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13413 2012-03-11 Chong Yidong <cyd@gnu.org>
13415 * simple.el (goto-line): Doc fix (Bug#9938).
13417 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13419 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13420 when finished (Bug#10963).
13422 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13424 * window.el (split-window-below): Fix bug in case where
13425 split-window-keep-point is nil (Bug#10971).
13427 2012-03-11 Juri Linkov <juri@jurta.org>
13429 * replace.el (replace-highlight): Set isearch-word to nil
13430 unconditionally. (Bug#10887)
13432 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13434 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13435 mairix-replace-illegal-chars; all callers changed. Don't remove
13436 ^, ~, and = characters: they are meaningful in mairix search specs.
13437 (mairix-widget-create-query): Add usage information about mairix
13438 search forms: negating words, searching for substrings, etc.
13440 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13442 * international/fontset.el (font-encoding-alist): Add an entry for
13443 ksx1001 (Bug#5667).
13445 2012-03-10 Richard Stallman <rms@gnu.org>
13447 * mail/sendmail.el (mail-encode-header):
13448 Set rfc2047-encode-encoded-words.
13450 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13452 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13453 view buffer means not swapped.
13454 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13455 (rmail-write-region-annotate): Error if real text has disappeared.
13457 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13459 2012-03-10 Chong Yidong <cyd@gnu.org>
13461 * emulation/cua-rect.el (cua--init-rectangles):
13462 * emulation/cua-base.el (cua--init-keymaps):
13463 Add delete-forward-char to remappings (Bug#9666).
13465 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13467 * speedbar.el (speedbar-unhighlight-one-tag-line):
13468 Avoid unhighlighting due to frame switching (Bug#10275).
13470 2012-03-10 Chong Yidong <cyd@gnu.org>
13472 * minibuffer.el (completion-in-region, completion-help-at-point):
13473 Give the completion field overlay a high priority (Bug#6830).
13475 * dired.el (dired-goto-file): Recognize absolute file name
13476 listings (Bug#7126).
13477 (dired-goto-file-1): New helper function.
13478 (dired-toggle-read-only): Inhibit warnings.
13480 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13482 * net/dbus.el (dbus-property-handler): Return empty array if
13483 there are no properties.
13485 2012-03-09 Leo Liu <sdl.web@gmail.com>
13487 * savehist.el (savehist-printable): Stricter check for string
13490 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13492 * mail/smtpmail.el (smtpmail-send-it):
13493 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13496 2012-03-09 Glenn Morris <rgm@gnu.org>
13498 * files.el (dir-locals-find-file):
13499 Don't check result is regular, readable.
13500 (dir-locals-read-from-file): Demote errors.
13502 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13504 * international/quail.el (quail-insert-kbd-layout):
13505 Insert invisible LRM characters before each character in a keyboard
13506 layout cell, to prevent their reordering by bidi display engine.
13507 For details, see the discussion in
13508 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13510 2012-03-08 Alan Mackenzie <acm@muc.de>
13512 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13513 the starting position; make it extend the marked region when
13514 invoked repeatedly - all under appropriate circumstances.
13515 Fixes bugs #5525, #10906.
13517 2012-03-08 Glenn Morris <rgm@gnu.org>
13519 * files.el (locate-dominating-file, dir-locals-find-file):
13520 Undo 2012-03-06 change.
13522 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13524 * international/quail.el (quail-help):
13525 Force bidi-paragraph-direction be left-to-right. See discussion in
13526 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13529 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13531 Avoid superfluous registering of signals. (Bug#10807)
13533 * notifications.el (notifications-on-action-object)
13534 (notifications-on-close-object): New defvars.
13535 (notifications-on-action-signal, notifications-on-closed-signal):
13536 Unregister the signal if not needed any longer.
13537 (notifications-notify): Register `notifications-action-signal' or
13538 `notifications-closed-signal', if :on-action or :on-close has been
13539 passed as argument.
13541 2012-03-07 Chong Yidong <cyd@gnu.org>
13543 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13546 2012-03-06 Glenn Morris <rgm@gnu.org>
13548 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13549 (x-disown-selection-internal, x-get-selection-internal):
13550 Doc fix (add arglist signatures). (Bug#10783)
13552 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13554 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13555 Handle breakpoints with no "type".
13557 2012-03-06 Glenn Morris <rgm@gnu.org>
13559 * files.el (locate-dominating-file): Add optional predicate argument.
13560 (dir-locals-find-file): Make use of above change.
13562 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13564 * info.el (Info-insert-dir): Also try "dir.gz".
13566 2012-03-06 Glenn Morris <rgm@gnu.org>
13568 * files.el (dir-locals-find-file):
13569 Ignore non-readable or non-regular files. (Bug#10928)
13571 * files.el (locate-dominating-file): Doc fix.
13573 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13575 * calendar/calendar.el (calendar-set-mode-line):
13576 `getenv' returns a string. (Bug#10951)
13578 2012-03-05 Leo Liu <sdl.web@gmail.com>
13580 * simple.el (backward-delete-char-untabify): Constrain point to
13583 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13585 2012-03-05 Chong Yidong <cyd@gnu.org>
13587 * simple.el (count-words): If called from Lisp, return the word
13588 count, for symmetry with `count-lines'. Arglist changed.
13589 (count-words--message): Args changed. Consolidate counting code
13590 from count-words and count-words-region.
13591 (count-words-region): Caller changed.
13592 (count-lines-region): Make it an obsolete alias.
13594 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13596 * saveplace.el (save-place-to-alist)
13597 (save-place-ignore-files-regexp): Allow value nil to disable this
13600 2012-03-04 Chong Yidong <cyd@gnu.org>
13602 * faces.el (face-spec-reset-face): For the default face, reset the
13603 attributes to default values (Bug#10748).
13605 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13607 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13608 previous patch: Check `message-send-mail-function', and not the
13609 default function (bug#10897).
13611 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13613 * notifications.el (notifications-on-action-signal)
13614 (notifications-on-closed-signal): Check for unique service name of
13615 incoming event. Fix error in removing entry.
13616 (top): Register for signals with wildcard service name.
13617 (notifications-notify): Use daemon unique service name for map entries.
13619 2012-03-04 Chong Yidong <cyd@gnu.org>
13621 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13623 2012-03-04 Glenn Morris <rgm@gnu.org>
13625 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13626 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13627 (expand-abbrev, define-abbrev-table): Doc fixes.
13629 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13631 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13632 `message-default-send-mail-function' and not `send-mail-function'
13633 when doing the prompting for `sendmail-query-once' before sending
13634 in Message buffers (bug#10897).
13636 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13637 This is inconsistent with all the other stream functions, which leave
13638 the setting up to the higher levels (if so wanted) (bug#10931).
13640 2012-03-02 Alan Mackenzie <acm@muc.de>
13642 Depessimize the handling of very large macros.
13644 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13645 (c-macro-cache-syntactic): New variables to implement a one
13646 element macro cache.
13647 (c-invalidate-macro-cache): New function.
13648 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13649 Adapt to use the new cache.
13650 (c-state-safe-place): Use better the cache of safe positions.
13651 (c-state-semi-nonlit-pos-cache)
13652 (c-state-semi-nonlit-pos-cache-limit):
13653 New variables for...
13654 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13655 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13656 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13657 Use c-state-semi-safe-place.
13659 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13660 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13662 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13664 * jka-compr.el (jka-compr-call-process):
13665 Apply `file-accessible-directory-p' only when the default directory is
13668 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13670 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13671 access of FILE2, if FILE1 does not exist.
13673 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13674 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13676 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13677 Add "PAGER=" to `process-environment'.
13679 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13681 * progmodes/sql.el: Bug fix
13682 (sql-get-login-ext): Save login values in globals.
13683 (sql-get-login): Use new version of `sql-get-login-ext'.
13684 (sql-interactive-mode): Set global `sql-connection' to nil.
13685 (sql-connect): Set global values for connection.
13686 (sql-product-interactive): Save global values as buffer local.
13688 2012-02-29 Leo Liu <sdl.web@gmail.com>
13690 * abbrev.el (define-abbrevs): Reset sys to nil.
13692 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13694 * files.el (file-equal-p): Rename from `files-equal-p'.
13695 Return nil when one or both files don't exist.
13696 (file-subdir-of-p): Now only top directory must exists,
13697 return nil if it doesn't.
13698 (copy-directory): No need to test with `file-subdir-of-p' after
13700 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13703 2012-02-28 Glenn Morris <rgm@gnu.org>
13705 * shell.el (shell-mode):
13706 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13707 * play/landmark.el (landmark-font-lock-face-O):
13708 * play/handwrite.el (handwrite):
13709 * play/gomoku.el (gomoku-O):
13710 * net/browse-url.el (browse-url-browser-display):
13711 * international/mule.el (define-charset):
13712 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13713 * filesets.el (filesets-find-file-delay):
13714 * eshell/em-xtra.el (eshell-xtra):
13715 * eshell/em-unix.el (eshell-grep):
13716 * emulation/viper.el (viper-mode):
13717 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13718 * emacs-lisp/easymenu.el (easy-menu-define):
13719 * calendar/timeclock.el (timeclock-use-display-time):
13721 * bookmark.el (bookmark-save-flag):
13722 Doc fix (standardize possessive apostrophe usage).
13724 2012-02-27 Chong Yidong <cyd@gnu.org>
13726 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13727 Fix key-binding lookup for ESC key (Bug#9146).
13729 * font-lock.el (font-lock-specified-p): Rename from
13730 font-lock-spec-present. Callers changed.
13732 2012-02-27 Daniel Hackney <dan@haxney.org>
13734 * emacs-lisp/package.el (package-compute-transaction):
13735 Handle holding a package version to t in package-load-list.
13737 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13739 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13740 (tramp-get-inode, tramp-get-device): Use cached values.
13742 2012-02-26 Alan Mackenzie <acm@muc.de>
13744 Check there is a font-lock specification before doing initial
13747 * font-core.el (font-lock-mode): Move the conditional from
13748 :after-hook to font-lock-initial-fontify.
13749 (font-lock-default-function): Move the check for a specification
13750 to font-lock-spec-present.
13752 * font-lock.el (font-lock-initial-fontify): Call ...
13753 (font-lock-spec-present): New function.
13755 2012-02-26 Jim Blandy <jimb@red-bean.com>
13757 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13758 (gdb-send): Apply it to the operand of the '-interpreter-exec
13759 console' command, so that we can pass arguments with (say) quotes
13760 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13762 2012-02-26 Chong Yidong <cyd@gnu.org>
13764 * help-fns.el (describe-function-1): Clarify description of
13765 remapping (Bug#10844).
13767 * files.el (files-equal-p): Doc fix.
13768 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13769 and quit the loop once a mismatch is found.
13771 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13773 * bs.el (bs--show-with-configuration): Don't throw an error
13774 if the window cannot be split; otherwise, subsequent calls to
13775 bs-show fail, restoring a stale window config. (Bug#10882)
13777 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13779 * term/ns-win.el (global-map): Bind ns-drag-file to
13780 ns-find-file (Bug#5855, Bug#10050).
13782 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13784 * calendar/parse-time.el (parse-time-string): Allow extractor to
13787 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13789 * net/tramp.el (tramp-file-name-for-operation):
13790 Add `files-equal-p' and `file-subdir-of-p'.
13792 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13793 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13794 Add COPY-CONTENTS argument.
13796 2012-02-25 Chong Yidong <cyd@gnu.org>
13798 Add custom groups for VC backends, for consistency with vc-bzr.
13800 * vc/vc-arch.el (vc-arch):
13801 * vc/vc-cvs.el (vc-cvs):
13802 * vc/vc-git.el (vc-git):
13803 * vc/vc-hg.el (vc-hg):
13804 * vc/vc-mtn.el (vc-mtn):
13805 * vc/vc-rcs.el (vc-rcs):
13806 * vc/vc-sccs.el (vc-sccs):
13807 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13808 All relevant defcustoms reassigned.
13810 2012-02-25 Chong Yidong <cyd@gnu.org>
13812 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13814 * term/x-win.el (x-initialize-window-system): Reduce default for
13815 x-selection-timeout to 5 seconds (Bug#8869).
13817 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13819 * files.el (files-equal-p, file-subdir-of-p): New functions.
13820 (copy-directory): Error when trying to copy a directory on itself.
13821 Add missing copy-contents arg to tramp handler.
13822 * dired-aux.el (dired-copy-file-recursive): Same.
13823 (dired-create-files): Modify destination when source is equal to
13824 dest when copying files.
13825 Return also when dest is a subdir of source. (Bug#10489)
13827 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13829 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13832 2012-02-23 Alan Mackenzie <acm@muc.de>
13834 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13835 parameter "after-hook:" to allow the expansion to run code after
13836 the execution of the mode hooks.
13838 * font-lock.el (font-lock-initial-fontify): New function extracted
13839 from font-lock-mode-internal.
13841 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13844 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13847 (completion--cache-all-sorted-completions): New function.
13848 (completion-all-sorted-completions): Use it.
13849 (completion--do-completion, minibuffer-force-complete):
13850 Use it to re-instate the flush hook.
13852 * icomplete.el (icomplete-completions): Replace last fix with a better
13855 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13857 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13858 when it might call us back infinitely (bug#10797).
13860 2012-02-23 Glenn Morris <rgm@gnu.org>
13862 * minibuffer.el (completion-category-overrides): Doc fix.
13864 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13866 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13867 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13869 2012-02-23 Glenn Morris <rgm@gnu.org>
13871 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13872 (authors-obsolete-files-regexps, authors-ignored-files)
13873 (authors-ambiguous-files, authors-renamed-files-alist):
13876 2012-02-23 Juri Linkov <juri@jurta.org>
13878 * isearch.el (isearch-occur): Sync interactive spec with occur's
13879 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13881 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13883 2012-02-22 Juri Linkov <juri@jurta.org>
13885 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13886 (ucs-insert): Doc fix. Check for hex digits in the string.
13887 Don't display `nil' in the error message. (Bug#10857)
13889 2012-02-22 Alan Mackenzie <acm@muc.de>
13891 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13893 2012-02-22 Glenn Morris <rgm@gnu.org>
13895 * ffap.el (ffap-c-path):
13896 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13898 2012-02-22 Chong Yidong <cyd@gnu.org>
13900 * custom.el (load-theme): Doc fix.
13902 2012-02-22 Glenn Morris <rgm@gnu.org>
13904 * dired-x.el (dired-guess-shell-alist-default):
13905 Remove escape sequences from nroff output. (Bug#172)
13907 2012-02-21 Glenn Morris <rgm@gnu.org>
13909 * vc/emerge.el (emerge-defvar-local):
13910 Set `permanent-local' property rather than unused `preserved'.
13912 * textmodes/picture.el (picture-delete-char): New alias.
13913 (picture-mode-map): Use it. (Bug#10860)
13914 (picture-mode): Doc fix.
13916 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13918 * newcomment.el (uncomment-region-default): Remove unused binding.
13920 2012-02-21 Glenn Morris <rgm@gnu.org>
13922 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13923 (picture-self-insert, picture-tab-chars): Doc fix.
13924 (picture-mode-map): Fix C-a, C-e.
13926 2012-02-20 Glenn Morris <rgm@gnu.org>
13928 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13930 2012-02-20 Leo Liu <sdl.web@gmail.com>
13932 * icomplete.el (icomplete-completions): Check FROM arg before
13933 passing to substring (Bug#10850).
13935 2012-02-19 Chong Yidong <cyd@gnu.org>
13937 * comint.el: Require ansi-color.
13938 (comint-output-filter-functions): Add ansi-color-process-output.
13940 * ansi-color.el: Don't set comint-output-filter-functions; it is
13941 now in the initial value defined in comint.el.
13942 (ansi-color-apply-face-function): New variable.
13943 (ansi-color-apply-on-region): Use it.
13944 (ansi-color-apply-overlay-face): New function.
13946 * shell.el (shell): No need to require ansi-color.
13947 (shell-mode): Use ansi-color-apply-face-function to highlight
13948 color escapes using font-lock-face property (Bug#10835).
13950 2012-02-19 Chong Yidong <cyd@gnu.org>
13952 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13953 mode-line formats (Bug#10839).
13955 2012-02-18 Glenn Morris <rgm@gnu.org>
13957 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13959 * mail/undigest.el (unforward-rmail-message): Doc fix.
13961 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13963 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13965 * international/characters.el (script-list): Sync with the latest
13966 Unicode Character Database.
13968 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13970 * international/titdic-cnv.el: Remove duplicate coding tag.
13971 * language/cham.el: Likewise.
13972 * language/tai-viet.el: Likewise.
13974 2012-02-18 Glenn Morris <rgm@gnu.org>
13976 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13977 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13978 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13979 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13980 * calendar/holidays.el (holiday-bahai-holidays)
13981 (calendar-holidays, list-holidays):
13982 Use utf-8 Bahá'í in doc-strings, menus, etc.
13984 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13986 * saveplace.el (save-place-ignore-files-regexp): New variable
13987 allowing for excluding files from saving their location of point.
13988 The default value matches the temporary commit message editing
13989 files from Git, SVN, Bazaar, and Mercurial.
13990 (save-place-to-alist): Use it.
13992 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13993 Stefan Monnier <monnier@iro.umontreal.ca>
13995 * newcomment.el (uncomment-region-default): Don't leave extra space
13996 when an arg is provided (bug#8150).
13998 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14000 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14002 2012-02-17 Glenn Morris <rgm@gnu.org>
14004 * net/socks.el: Require network-stream. (Bug#10599)
14006 2012-02-17 Kenichi Handa <handa@m17n.org>
14008 * international/charprop.el:
14009 * international/uni-name.el:
14010 * international/uni-old-name.el:
14011 * international/uni-comment.el: Regenerate.
14013 2012-02-16 Glenn Morris <rgm@gnu.org>
14015 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14016 Interactively in calendar buffer, give an error if not on a date.
14018 2012-02-15 Glenn Morris <rgm@gnu.org>
14020 * shell.el (shell-delimiter-argument-list):
14021 Revert 2011-02-17 change. (Bug#8027)
14023 2012-02-15 Chong Yidong <cyd@gnu.org>
14025 * minibuffer.el (completion-at-point-functions): Doc fix.
14027 * custom.el (defcustom): Doc fix; note use of defvar.
14029 2012-02-15 Glenn Morris <rgm@gnu.org>
14031 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14034 2012-02-14 Glenn Morris <rgm@gnu.org>
14036 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14038 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14040 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14041 way the ports list is computed.
14042 (smtpmail-query-smtp-server): Prompt the user for a port number if
14043 we can't connect to any of the standard ports (bug#10810).
14045 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14047 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14049 2012-02-13 Glenn Morris <rgm@gnu.org>
14051 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14053 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14055 * net/gnutls.el (gnutls-trustfiles): New variable.
14056 (gnutls-negotiate): Use it.
14058 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14060 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14061 does its stuff if Gnus is running.
14063 2012-02-13 Alan Mackenzie <acm@muc.de>
14065 Fix a loop in c-set-fl-decl-start.
14067 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14068 c-backward-syntactic-ws actually moves backwards.
14070 2012-02-13 Leo Liu <sdl.web@gmail.com>
14072 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14073 beginning so that all \C-o chars are removed.
14075 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14077 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14079 2012-02-12 Alan Mackenzie <acm@muc.de>
14081 Fix infinite loop with long macros.
14082 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14084 2012-02-12 Chong Yidong <cyd@gnu.org>
14086 * window.el (display-buffer): Doc fix (Bug#10785).
14088 2012-02-12 Glenn Morris <rgm@gnu.org>
14090 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14091 (x-disown-selection-internal, x-get-selection-internal):
14092 Sync docs with the xselect.c versions.
14094 * allout-widgets.el: Add missing license notice.
14096 2012-02-11 Glenn Morris <rgm@gnu.org>
14098 * select.el (x-get-selection-internal, x-own-selection-internal)
14099 (x-disown-selection-internal):
14100 * x-dnd.el (x-get-selection-internal): Update declarations.
14102 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14104 * window.el (window-sides-slots):
14105 * tool-bar.el (tool-bar-position):
14106 * term/xterm.el (xterm-extra-capabilities):
14107 * ses.el (ses-self-reference-early-detection):
14108 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14109 (verilog-auto-wire-type)
14110 (verilog-auto-delete-trailing-whitespace)
14111 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14112 (verilog-auto-tieoff-declaration):
14113 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14114 (sql-oracle-statement-starters, sql-oracle-scan-on):
14115 * progmodes/prolog.el (prolog-align-comments-flag)
14116 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14117 (prolog-left-indent-regexp, prolog-paren-indent-p)
14118 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14119 (prolog-types, prolog-mode-specificators)
14120 (prolog-determinism-specificators, prolog-directives)
14121 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14122 (prolog-electric-dot-flag)
14123 (prolog-electric-dot-full-predicate-template)
14124 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14125 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14126 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14127 (prolog-program-switches, prolog-prompt-regexp)
14128 (prolog-debug-on-string, prolog-debug-off-string)
14129 (prolog-trace-on-string, prolog-trace-off-string)
14130 (prolog-zip-on-string, prolog-zip-off-string)
14131 (prolog-use-standard-consult-compile-method-flag)
14132 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14133 (prolog-imenu-max-lines, prolog-info-predicate-index)
14134 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14135 (prolog-char-quote-workaround):
14136 * progmodes/cc-vars.el (c-defun-tactic):
14137 * net/tramp.el (tramp-encoding-command-interactive)
14138 (tramp-local-end-of-line):
14139 * net/soap-client.el (soap-client):
14140 * net/netrc.el (netrc-file):
14141 * net/gnutls.el (gnutls):
14142 * minibuffer.el (completion-category-overrides)
14143 (completion-cycle-threshold)
14144 (completion-pcm-complete-word-inserts-delimiters):
14145 * man.el (Man-name-local-regexp):
14146 * mail/feedmail.el (feedmail-display-full-frame):
14147 * international/characters.el (glyphless-char-display-control):
14148 * eshell/em-ls.el (eshell-ls-date-format):
14149 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14150 (lisp-lambda-list-keyword-parameter-indentation)
14151 (lisp-lambda-list-keyword-parameter-alignment):
14152 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14153 * dired-x.el (dired-omit-verbose):
14154 * cus-theme.el (custom-theme-allow-multiple-selections):
14155 * calc/calc.el (calc-highlight-selections-with-faces)
14156 (calc-lu-field-reference, calc-lu-power-reference)
14157 (calc-note-threshold):
14158 * battery.el (battery-mode-line-limit):
14159 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14160 (archive-7z-update):
14161 * allout.el (allout-prefixed-keybindings)
14162 (allout-unprefixed-keybindings)
14163 (allout-inhibit-auto-fill-on-headline)
14164 (allout-flattened-numbering-abbreviation):
14165 * allout-widgets.el (allout-widgets-auto-activation)
14166 (allout-widgets-icons-dark-subdir)
14167 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14168 (allout-widgets-theme-dark-background)
14169 (allout-widgets-theme-light-background)
14170 (allout-widgets-item-image-properties-emacs)
14171 (allout-widgets-item-image-properties-xemacs)
14172 (allout-widgets-run-unit-tests-on-load)
14173 (allout-widgets-time-decoration-activity)
14174 (allout-widgets-hook-error-post-time)
14175 (allout-widgets-track-decoration):
14176 Add missing :version tags to new defcustoms and defgroups.
14178 * progmodes/sql.el (sql-ansi-statement-starters)
14179 (sql-oracle-statement-starters): Add custom type.
14181 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14182 (prolog-system-version): Give it a type.
14184 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14186 * term/pc-win.el (x-select-text, x-selection-owner-p)
14187 (x-own-selection-internal, x-disown-selection-internal)
14188 (x-get-selection-internal): Sync doc strings and argument lists
14189 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14191 2012-02-11 Leo Liu <sdl.web@gmail.com>
14193 * progmodes/python.el (python-end-of-statement): Fix infinite
14196 2012-02-10 Glenn Morris <rgm@gnu.org>
14198 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14199 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14201 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14203 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14204 about SMTP before checking the From header.
14206 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14207 into own function for reuse by emacsbug.el.
14209 2012-02-10 Leo Liu <sdl.web@gmail.com>
14211 * subr.el (condition-case-unless-debug): Rename from
14212 condition-case-no-debug. All callers changed.
14213 (with-demoted-errors): Fix caller.
14215 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14216 * nxml/rng-valid.el (rng-do-some-validation):
14217 * emacs-lisp/package.el (package-refresh-contents)
14218 (package-menu-execute):
14219 * desktop.el (desktop-create-buffer):
14220 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14222 2012-02-10 Glenn Morris <rgm@gnu.org>
14224 * textmodes/bibtex.el:
14225 Add missing :version tags for new/changed defcustoms.
14227 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14229 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14231 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14232 (smtpmail-via-smtp): Use it, or fall back on the From address.
14233 (smtpmail-send-it): Ditto.
14235 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14237 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14238 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14239 (byte-compile-tmp-var): New const.
14240 (byte-compile-defvar): Use it to minimize .elc size.
14241 Just use `defvar' rather than simulate it (bug#10761).
14243 2012-02-09 Glenn Morris <rgm@gnu.org>
14245 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14247 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14250 * progmodes/compile.el (compilation-error-screen-columns)
14251 (compilation-first-column, compilation-filter-start): Doc fixes.
14253 * vc/log-view.el (log-view-toggle-entry-display):
14254 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14256 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14257 (report-emacs-bug-can-use-xdg-email):
14258 (report-emacs-bug-insert-to-mailer): Doc fixes.
14259 (report-emacs-bug): Message fix.
14261 * net/browse-url.el (browse-url-can-use-xdg-open)
14262 (browse-url-xdg-open): Doc fixes.
14264 * electric.el (electric-indent-mode, electric-pair-mode)
14265 (electric-layout-rules, electric-layout-mode): Doc fixes.
14266 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14268 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14270 * server.el (server-unselect-display): Don't inadvertently kill
14271 the current buffer. (Bug#10729)
14273 2012-02-08 Glenn Morris <rgm@gnu.org>
14275 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14276 (sql-list-table): Doc fixes.
14278 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14279 Comment out (does nothing).
14281 * completion.el (dynamic-completion-mode):
14282 * dirtrack.el (dirtrack-debug-mode):
14283 * electric.el (electric-layout-mode):
14284 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14285 * face-remap.el (text-scale-mode, buffer-face-mode):
14286 * iimage.el (iimage-mode):
14287 * image-mode.el (image-transform-mode):
14288 * minibuffer.el (completion-in-region-mode):
14289 * scroll-lock.el (scroll-lock-mode):
14290 * simple.el (next-error-follow-minor-mode):
14291 * tar-mode.el (tar-subfile-mode):
14292 * tooltip.el (tooltip-mode):
14293 * vcursor.el (vcursor-use-vcursor-map):
14294 * wid-browse.el (widget-minor-mode):
14295 * emulation/tpu-edt.el (tpu-edt-mode):
14296 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14297 * international/iso-ascii.el (iso-ascii-mode):
14298 * language/thai-util.el (thai-word-mode):
14299 * mail/supercite.el (sc-minor-mode):
14300 * net/goto-addr.el (goto-address-mode):
14301 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14302 * progmodes/cwarn.el (cwarn-mode):
14303 * progmodes/flymake.el (flymake-mode):
14304 * progmodes/glasses.el (glasses-mode):
14305 * progmodes/hideshow.el (hs-minor-mode):
14306 * progmodes/pascal.el (pascal-outline-mode):
14307 * textmodes/enriched.el (enriched-mode):
14308 * vc/smerge-mode.el (smerge-mode):
14309 Doc fixes (minor mode argument).
14311 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14313 * ls-lisp.el (ls-lisp-sanitize): New function.
14314 (ls-lisp-insert-directory): Use it to fix or remove any elements
14315 in file-alist with missing attributes. (Bug#4673)
14317 2012-02-07 Alan Mackenzie <acm@muc.de>
14319 Fix spurious recognition of c-in-knr-argdecl.
14321 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14322 putative K&R region.
14324 2012-02-07 Alan Mackenzie <acm@muc.de>
14326 * progmodes/cc-engine.el (c-forward-objc-directive):
14327 Prevent looping in "#pragma mark @implementation".
14329 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14331 * notifications.el (notifications-on-closed-signal): Make `reason'
14332 optional. (Bug#10744)
14334 2012-02-07 Glenn Morris <rgm@gnu.org>
14336 * emacs-lisp/easy-mmode.el (define-minor-mode):
14337 Doc fixes for the macro and the mode it defines.
14339 * image.el (imagemagick-types-inhibit): Doc fix.
14341 * cus-start.el (imagemagick-render-type): Add it.
14343 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14345 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14346 Set the default at load time, too, so that `font-lock-fontify-buffer'
14347 can be called without setting up the entire mode first. This fixes
14348 a bug in `mm-inline-text' with C MIME parts.
14350 2012-02-06 Chong Yidong <cyd@gnu.org>
14352 * simple.el (list-processes--refresh): Delete exited processes
14355 * comint.el (comint-next-prompt): next-single-char-property-change
14356 and prev-single-char-property-change never return nil (Bug#8657).
14358 * custom.el (defcustom): Doc fix (Bug#9711).
14360 2012-02-05 Chong Yidong <cyd@gnu.org>
14362 * cus-edit.el (custom-variable-reset-backup): Quote the value
14363 before storing it in the customized-value property (Bug#6712).
14364 (custom-display): Add a customization type tag.
14365 (custom-buffer-create-internal): Improve tooltip message.
14367 * wid-edit.el (widget-field-value-get): New optional arg to
14368 suppress trailing whitespace truncation.
14369 (character): Use it (Bug#2689).
14371 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14373 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14374 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14376 2012-02-05 Chong Yidong <cyd@gnu.org>
14378 * cus-edit.el (custom-variable-value-create): For mismatched
14379 types, show the current value (Bug#7600).
14381 * custom.el (defcustom): Doc fix.
14383 2012-02-05 Glenn Morris <rgm@gnu.org>
14385 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14387 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14389 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14390 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14391 (pp-last-sexp): Use `looking-at-p'.
14393 2012-02-04 Glenn Morris <rgm@gnu.org>
14395 * files.el (revert-buffer):
14396 Doc fix (mention revert-buffer-in-progress-p).
14398 * emacs-lisp/ert-x.el (ert-simulate-command):
14399 Check deferred-action-list (which is obsolete) is bound.
14401 * subr.el (with-wrapper-hook): Doc fixes.
14403 * simple.el (filter-buffer-substring-functions)
14404 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14406 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14408 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14409 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14411 2012-02-04 Leo Liu <sdl.web@gmail.com>
14413 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14415 2012-02-04 Glenn Morris <rgm@gnu.org>
14417 * image.el (image-extension-data): Add obsolete alias.
14419 * isearch.el (isearch-update): Doc fix.
14421 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14423 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14425 2012-02-03 Glenn Morris <rgm@gnu.org>
14427 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14428 (image-animate-timeout): Doc fix.
14430 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14432 2012-02-02 Glenn Morris <rgm@gnu.org>
14434 * server.el (server-auth-dir): Doc fix.
14435 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14437 * subr.el (run-mode-hooks): Doc fix.
14439 2012-02-02 Juri Linkov <juri@jurta.org>
14441 * image-mode.el (image-toggle-display-image): Remove tautological
14442 `major-mode' from the `derived-mode-p' test.
14444 2012-02-02 Kenichi Handa <handa@m17n.org>
14446 * composite.el (compose-region): Cancel previous change.
14448 2012-02-02 Kenichi Handa <handa@m17n.org>
14450 * composite.el (compose-region, compose-string): Signal error for
14451 a null string component (Bug#6988).
14453 2012-02-01 Chong Yidong <cyd@gnu.org>
14455 * view.el (view-buffer-other-window, view-buffer-other-frame):
14456 Handle special modes like view-buffer (Bug#10650).
14457 (view-buffer): Simplify.
14459 * frame.el (set-frame-font): Tweak meaning of third argument.
14461 * dynamic-setting.el (font-setting-change-default-font):
14462 Use set-frame-font (Bug#9982).
14464 2012-02-01 Glenn Morris <rgm@gnu.org>
14466 * progmodes/compile.el (compilation-internal-error-properties):
14467 Respect compilation-first-column in the "*compilation*" buffer.
14469 * emacs-lisp/easy-mmode.el (define-minor-mode):
14470 Relax :variable's test for a named function.
14472 2012-01-31 Alan Mackenzie <acm@muc.de>
14474 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14477 2012-01-31 Chong Yidong <cyd@gnu.org>
14479 * frame.el (set-frame-font): New arg ALL-FRAMES.
14481 * menu-bar.el (menu-set-font): Use set-frame-font.
14483 * faces.el (face-spec-reset-face): Don't apply unspecified
14484 attribute values to the default face.
14486 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14488 * progmodes/cwarn.el (cwarn): Remove dead link.
14489 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14490 Remove * from defcustom docstrings.
14491 (turn-on-cwarn-mode): Make obsolete.
14492 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14493 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14495 2012-01-31 Glenn Morris <rgm@gnu.org>
14497 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14498 Fix :variable handling of mode a symbol not equal to modefun.
14499 Allow named functions to be used as the cdr of :variable.
14501 2012-01-30 Glenn Morris <rgm@gnu.org>
14503 * emacs-lisp/authors.el (authors-fixed-entries):
14504 Remove reference to deleted file rnewspost.el.
14506 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14508 * window.el (window-with-parameter): Remove unused variable `windows'.
14509 (window--side-check): Remove unused variable `code'.
14510 (window--resize-siblings): Remove unused variable `first'.
14511 (adjust-window-trailing-edge): Remove unused variable `failed'.
14512 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14513 Use `let', not `let*'.
14514 (balance-windows-2): Remove unused variable `found'.
14515 (window--state-put-2): Remove unused variable `splits'.
14516 (window-state-put): Remove unused variable `selected'.
14517 (same-window-p): Use `string-match-p'.
14518 (display-buffer-assq-regexp): Remove unused variable `value'.
14519 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14520 Mark argument ALIST as ignored.
14521 (pop-to-buffer): Remove unused variable `old-window'.
14523 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14525 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14526 and .lzma compressed files.
14528 2012-01-29 Chong Yidong <cyd@gnu.org>
14530 * frame.el (window-system-default-frame-alist): Doc fix.
14532 * dynamic-setting.el (font-setting-change-default-font): Don't
14533 change the default face if SET-FONT argument is non-nil (Bug#9982).
14535 2012-01-29 Samuel Bronson <naesten@gmail.com>
14537 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14539 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14541 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14542 breakpoints in files outside current directory (Bug#6098).
14544 2012-01-29 Chong Yidong <cyd@gnu.org>
14546 * progmodes/python.el: Require ansi-color at top-level.
14548 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14549 Define and use in Emacs Lisp mode (Bug#9360).
14550 (lisp-mode-abbrev-table): Add doc.
14551 (lisp-mode-variables): Don't set local-abbrev-table.
14552 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14554 2012-01-28 Roland Winkler <winkler@gnu.org>
14556 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14558 2012-01-28 Roland Winkler <winkler@gnu.org>
14560 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14561 (bibtex-set-dialect): Use it. Either set global values of
14562 dialect-dependent variables or bind these variables buffer-locally
14564 (bibtex-mode): Call bibtex-set-dialect via
14565 hack-local-variables-hook.
14566 (bibtex-dialect): Update docstring.
14567 Add safe-local-variable predicate.
14568 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14569 bibtex-set-dialect.
14570 (bibtex-mode-map): Define menu for each dialect.
14571 (bibtex-entry): Fix docstring.
14573 2012-01-28 Chong Yidong <cyd@gnu.org>
14575 * eshell/esh-arg.el (eshell-quote-argument): New function.
14577 * eshell/esh-ext.el (eshell-invoke-batch-file):
14578 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14579 first arg to eshell-parse-command (Bug#10523).
14581 2012-01-28 Drew Adams <drew.adams@oracle.com>
14583 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14584 `default-directory' is non-nil.
14586 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14588 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14589 line that displays system-configuration-options. (Bug#9924)
14591 2012-01-28 Drew Adams <drew.adams@oracle.com>
14593 * descr-text.el (describe-char): Show information about POS, in
14594 addition to information about the character at POS. Improve and
14595 update the doc string. Change "code point" to "code point in
14596 charset", to avoid confusion with the character's Unicode code
14597 point shown above that. (Bug#10129)
14599 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14601 * descr-text.el (describe-char): Show the raw character, not only
14602 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14603 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14606 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14608 * emacs-lisp/package.el (package-install):
14609 Run package-refresh-contents if there is no archive yet (Bug#9798).
14611 2012-01-28 Chong Yidong <cyd@gnu.org>
14613 * emacs-lisp/package.el (package-maybe-load-descriptor):
14614 New function, split from package-maybe-load-descriptor.
14615 (package-maybe-load-descriptor): Use it.
14616 (package-download-transaction): Fully load required packages
14617 inside the loop, so that `require' calls work (Bug#10593).
14618 (package-install): No need to call package-initialize now.
14620 2012-01-28 Chong Yidong <cyd@gnu.org>
14622 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14624 * tooltip.el (tooltip-mode): Doc fix.
14625 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14627 * frame.el (set-cursor-color): Doc fix (Bug#352).
14629 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14630 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14632 * cus-edit.el (custom-buffer-create-internal): Fix search button
14633 action (Bug#10542).
14634 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14636 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14638 * dired.el (dired-mark-files-regexp):
14639 Include any subdirectory components. (Bug#10445)
14641 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14643 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14644 Handle [host]:port syntax. (Bug#10533)
14646 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14648 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14650 2012-01-26 Glenn Morris <rgm@gnu.org>
14652 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14653 * term.el (term-raw-escape-map): Use Control-X-prefix.
14654 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14656 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14658 * window.el (window-state-get, window--state-get-1): Don't deal
14659 with fixed-sizeness of windows. Simplify code.
14661 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14663 * window.el (window--state-get-1, window--state-put-2):
14664 Don't save and restore the mark.
14666 2012-01-25 Chong Yidong <cyd@gnu.org>
14668 * custom.el (custom-variable-p): Doc fix.
14670 2012-01-25 Glenn Morris <rgm@gnu.org>
14672 * dired.el (dired-goto-file): Handle some of the more common
14673 characters that `ls -b' escapes. (Bug#10596)
14675 * progmodes/compile.el (compilation-next-error-function):
14676 Respect compilation-first-column in the "*compilation*" buffer.
14677 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14679 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14681 2012-01-24 Glenn Morris <rgm@gnu.org>
14683 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14685 2012-01-24 Julien Danjou <julien@danjou.info>
14687 * color.el (color-rgb-to-hsl): Fix value computing.
14688 (color-hue-to-rgb): New function.
14689 (color-hsl-to-rgb): New function.
14690 (color-clamp, color-saturate-hsl, color-saturate-name)
14691 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14692 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14694 2012-01-24 Glenn Morris <rgm@gnu.org>
14696 * vc/vc-rcs.el (vc-rcs-create-tag):
14697 * vc/vc-sccs.el (vc-sccs-create-tag):
14698 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14700 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14702 * eshell/esh-util.el (eshell-read-hosts-file):
14703 Skip comment lines. (Bug#10549)
14705 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14707 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14709 * subr.el (display-delayed-warnings): Doc fix.
14710 (collapse-delayed-warnings): New function to collapse identical
14712 (delayed-warnings-hook): Add it.
14714 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14716 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14718 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14719 (tramp-default-user-alist): Don't add "pscp".
14720 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14721 property "login-as", if set. (Bug#10530)
14723 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14725 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14726 "plink1" and "psftp". (Bug#10530)
14728 2012-01-21 Kenichi Handa <handa@m17n.org>
14730 * international/mule-cmds.el (prefer-coding-system): Show a
14731 warning message if the default value of file-name-coding-system
14734 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14736 * windmove.el (windmove-reference-loc):
14737 Fix windmove-reference-loc miscalculation.
14739 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14741 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14744 2012-01-21 Glenn Morris <rgm@gnu.org>
14746 * international/mule.el (auto-coding-alist): Add .tbz.
14748 * files.el (local-enable-local-variables): Doc fix.
14749 (inhibit-local-variables-regexps): Rename from
14750 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14751 Doc fix. Add some extensions from auto-coding-alist.
14752 (inhibit-local-variables-suffixes):
14753 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14754 (inhibit-local-variables-p):
14755 New function, extracted from set-auto-mode-1.
14756 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14757 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14758 (hack-local-variables): Doc fix. Make the mode-only case
14759 respect enable-local-variables and friends.
14760 Respect inhibit-local-variables-regexps for file-locals, but
14761 not for directory-locals.
14762 (set-visited-file-name):
14763 Take account of inhibit-local-variables-regexps.
14764 Whether it applies may change as the file name is changed.
14765 * jka-cmpr-hook.el (jka-compr-install):
14766 * jka-compr.el (jka-compr-uninstall):
14767 Update for inhibit-first-line-modes-suffixes name change.
14769 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14771 * help-macro.el (make-help-screen): Temporarily restore original
14772 binding for minor-mode-map-alist (Bug#10454).
14774 2012-01-19 Julien Danjou <julien@danjou.info>
14776 * color.el (color-name-to-rgb): Use the white color to find the max
14777 color component value and return correctly computed values.
14778 (color-name-to-rgb): Add missing float conversion for max value.
14780 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14782 * window.el (window--state-get-1, window-state-get): Do not use
14783 special state value for window-persistent-parameters.
14784 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14785 (window--state-put-2): Reset all window parameters to nil before
14786 assigning values of persistent parameters.
14788 2012-01-18 Alan Mackenzie <acm@muc.de>
14790 Eliminate sluggishness and hangs in fontification of "semicolon
14793 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14794 Change value 10000 -> 3000.
14795 (c-state-safe-place): Reformulate so it doesn't stack up an
14796 infinite number of wrong entries in c-state-nonlit-pos-cache.
14797 (c-determine-limit-get-base, c-determine-limit): New functions to
14798 determine backward search limits disregarding literals.
14799 (c-find-decl-spots): Amend commenting.
14800 (c-cheap-inside-bracelist-p): New function which detects "={".
14802 * progmodes/cc-fonts.el
14803 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14805 (c-font-lock-declarations): Fix an occurrence of point being
14806 undefined. Check additionally for point being in a bracelist or
14807 near a macro invocation without a semicolon so as to avoid a
14808 fruitless time consuming search for a declarator. Give a more
14809 precise search limit for declarators using the new
14812 2012-01-18 Glenn Morris <rgm@gnu.org>
14814 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14815 (set-auto-mode): Doc fixes.
14817 2012-01-17 Glenn Morris <rgm@gnu.org>
14819 * isearch.el (search-nonincremental-instead): Fix doc typo.
14821 * dired.el (dired-insert-directory): Handle newlines in directory name.
14822 (dired-build-subdir-alist): Unescape newlines in directory name.
14824 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14826 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14827 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14828 (tramp-action-terminal): Use it. (Bug#10530)
14830 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14832 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14834 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14836 * window.el (window-state-ignored-parameters): Remove variable.
14837 (window--state-get-1): Rename argument MARKERS to IGNORE.
14838 Handle persistent window parameters. Make copy of clone-of
14839 parameter only if requested. (Bug#10348)
14840 (window--state-put-2): Install a window parameter only if it has
14841 a non-nil value or an existing parameter shall be overwritten.
14843 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14845 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14847 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14849 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14850 don't pass the (nil) value of `upnode' to string-match.
14852 2012-01-14 Chong Yidong <cyd@gnu.org>
14854 * startup.el (command-line): Fix X resource class for cursorColor.
14855 Fix values recognized by the cursorBlink resource.
14857 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14859 * epg.el (epg--make-temp-file): Avoid permission race condition
14860 when running on old Emacs versions (bug#10403).
14862 2012-01-14 Glenn Morris <rgm@gnu.org>
14864 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14866 2012-01-13 Alan Mackenzie <acm@muc.de>
14868 Fix filling for when filladapt mode is enabled.
14870 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14871 c-mask-paragraph, pass in `fill-paragraph' rather than
14872 `fill-region-as-paragraph'. (This is a reversion of a previous
14874 * progmodes/cc-mode.el (c-basic-common-init):
14875 Make fill-paragraph-handle-comment buffer local and set it to nil.
14877 2012-01-13 Glenn Morris <rgm@gnu.org>
14879 * dired.el (dired-switches-escape-p): New function.
14880 (dired-insert-directory): Use dired-switches-escape-p.
14881 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14883 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14885 2012-01-12 Glenn Morris <rgm@gnu.org>
14887 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14888 changes in adaptive-fill-regexp. (Bug#10276)
14890 2012-01-11 Alan Mackenzie <acm@muc.de>
14892 Fix Emacs bug #10463 - put `widen's around the critical spots.
14894 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14895 widen around each invocation of c-state-pp-to-literal. Remove an
14896 unused let variable.
14898 2012-01-11 Glenn Morris <rgm@gnu.org>
14900 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14903 2012-01-10 Chong Yidong <cyd@gnu.org>
14905 * net/network-stream.el (network-stream-open-starttls):
14906 Avoid emitting a confusing error message when the server gives a bad
14907 response to the capability command.
14909 2012-01-10 Glenn Morris <rgm@gnu.org>
14911 * mail/unrmail.el (unrmail): Tweak previous change.
14913 2012-01-09 Chong Yidong <cyd@gnu.org>
14915 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14917 2012-01-08 Alan Mackenzie <acm@muc.de>
14919 Optimize font locking in long enum definitions.
14921 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14922 arm to a cond form to handle enums.
14923 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14924 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14926 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14928 * files.el (move-file-to-trash): Preserve default file modes on error.
14931 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933 * faces.el (set-face-attribute): Clarify the meaning of the nil
14936 * subr.el (with-selected-frame): Mention that the selected frame
14937 is restored (bug#9980).
14939 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14942 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14943 (password-read): Don't autoload unused function.
14945 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14947 * progmodes/which-func.el (which-func-mode): Turn into a
14948 non-interactive function and mark as obsolete (bug#10428).
14950 2012-01-06 Chong Yidong <cyd@gnu.org>
14952 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14953 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14954 functions, along with 1 and -1.
14956 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14958 * time.el (display-time-load-average)
14959 (display-time-default-load-average): Doc fixes. See the thread
14961 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14964 2012-01-06 Glenn Morris <rgm@gnu.org>
14966 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14967 has no messages. (Bug#10377)
14969 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14970 than Info-edit. (Bug#10385)
14972 * time.el (display-time-load-average, display-time-next-load-average):
14975 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14976 local setting of buffer-read-only to the input buffer. (Bug#10419)
14978 * calendar/calendar.el (calendar-mode):
14979 Locally set scroll-margin to 0. (Bug#10379)
14981 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14983 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14985 2012-01-05 Glenn Morris <rgm@gnu.org>
14987 * eshell/em-unix.el (diff-no-select): Autoload it.
14988 (eshell/diff): Use diff-no-select. (Bug#10420)
14990 2012-01-05 Chong Yidong <cyd@gnu.org>
14992 * shell.el (shell-dynamic-complete-functions): Revert last change.
14993 (shell-command-completion-function): New function.
14994 (shell-completion-vars): Use it to implement
14995 shell-completion-execonly (Bug#10417).
14997 * custom.el (enable-theme): Don't set custom-safe-themes.
14999 * cus-theme.el (custom-theme-merge-theme):
15000 Ignore custom-enabled-themes and custom-safe-themes.
15002 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15004 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15005 first prompt in `sql-interacive-mode'.
15006 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15008 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15009 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15010 context of original buffer. Invoke `sql-login-hook'.
15012 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15014 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15015 letters in cite-prefix.
15017 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15019 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15021 2012-01-03 Chong Yidong <cyd@gnu.org>
15023 * shell.el (shell-dynamic-complete-functions):
15024 Put pcomplete-completions-at-point, so as to try
15025 comint-filename-completion first (Bug#10417).
15027 2012-01-02 Richard Stallman <rms@gnu.org>
15029 * battery.el (battery-status-function):
15030 Detect when to use battery-yeeloong-sysfs.
15031 (battery-echo-area-format): Add string for Yeeloong.
15032 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15033 (battery-yeeloong-sysfs): New function.
15035 2012-01-02 Chong Yidong <cyd@gnu.org>
15037 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15038 (dirtrack): Merge code for handling relative filenames in prompt
15039 from shell-dir-cookie-watcher.
15040 (dirtrack-debug-message): New arg to avoid excess format calls.
15042 * shell.el (shell-dir-cookie-re): Variable deleted.
15043 (shell-dir-cookie-watcher): Function deleted.
15044 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15045 with dirtrack-mode.
15047 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15049 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15050 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15053 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15055 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15057 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15059 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15060 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15062 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15064 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15065 also for alternative shells.
15066 (tramp-open-connection-setup-interactive-shell): Check, whether
15067 the shell is a busybox.
15068 (tramp-send-command): Don't suppress multiple prompts for
15069 busyboxes, it hurts.
15071 2011-12-28 Chong Yidong <cyd@gnu.org>
15073 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15074 (gdb-get-source-file): Move mode line update to
15075 gdb-get-source-file (Bug#10087).
15077 2011-12-25 Chong Yidong <cyd@gnu.org>
15079 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15080 gud-gdb-marker-filter without taking it as an argument.
15081 (gud-gdb-run-command-fetch-lines): Caller changed.
15082 (gud-gdb-completion-function): New variable.
15083 (gud-gdb-completion-at-point): Use it.
15084 (gud-gdb-completions-1): Split from gud-gdb-completions.
15086 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15087 function as separate arguments.
15088 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15089 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15090 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15091 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15092 (gdb-stopped, def-gdb-auto-update-trigger)
15093 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15094 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15096 (gud-gdbmi-completions): New function.
15097 (gdb): Use it for generating the completion table.
15099 2011-12-24 Alan Mackenzie <acm@muc.de>
15101 Introduce a mechanism to widen the region used in context font
15102 locking. Use this to protect declarations from losing their contexts.
15104 * progmodes/cc-langs.el (c-before-font-lock-functions):
15105 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15106 (c-before-context-fontification-functions): New defvar, a list of
15107 functions to be run just before context (etc.) font locking.
15109 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15110 New, functionality extracted from
15111 c-neutralize-syntax-in-and-mark-CPP.
15112 (c-in-after-change-fontification): New variable.
15113 (c-after-change): Set c-in-after-change-fontification.
15114 (c-set-fl-decl-start): Rejig its interface, so it can be called
15115 from both after-change and context fontifying.
15116 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15118 (c-standard-font-lock-fontify-region-function): New variable.
15119 (c-font-lock-fontify-region): New function.
15121 2011-12-24 Juri Linkov <juri@jurta.org>
15123 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15126 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15128 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15129 existence of source file. (Bug#10325)
15131 2011-12-23 Alan Mackenzie <acm@muc.de>
15133 Fix unstable fontification inside templates.
15135 * progmodes/cc-langs.el (c-before-font-lock-functions):
15136 Newly created from the singular version. The (c c++ objc) entry now
15137 additionally has c-set-fl-decl-start. The other languages (apart
15138 from AWK) have that as a single entry.
15140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15141 The functionality for "local" declarations has been extracted to
15142 c-set-fl-decl-start.
15144 * progmodes/cc-mode.el (c-common-init, c-after-change):
15145 Changes due to pluralisation of c-before-font-lock-functions.
15146 (c-set-fl-decl-start): New function, extracted from
15147 c-font-lock-enclosing-decls and enhanced.
15149 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15151 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15153 2011-12-22 Juri Linkov <juri@jurta.org>
15155 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15157 2011-12-22 Chong Yidong <cyd@gnu.org>
15159 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15161 2011-12-21 Drew Adams <drew.adams@oracle.com>
15163 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15165 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15167 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15169 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15171 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15172 highlighting and support. Fix up comments for capitalization.
15173 (cfengine-mode-debug): New var.
15174 (cfengine3-mode): Change the modeline indicator to "CFE3".
15175 (cfengine3-font-lock-keywords): Improve defun highlighting.
15176 (cfengine2-actions): Rename from `cfengine-actions'.
15177 (cfengine2-font-lock-keywords): Rename from
15178 `cfengine-font-lock-keywords'.
15179 (cfengine2-imenu-expression): Rename from
15180 `cfengine-imenu-expression'.
15181 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15182 (cfengine2-beginning-of-defun): Rename from
15183 `cfengine-beginning-of-defun'.
15184 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15185 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15186 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15187 modeline indicator to "CFE2".
15188 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15189 (cfengine-mode-abbrevs): Mark obsolete.
15191 2011-12-21 Chong Yidong <cyd@gnu.org>
15193 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15196 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15198 * window.el (window-normalize-buffer-to-display): Remove.
15199 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15201 2011-12-19 Chong Yidong <cyd@gnu.org>
15203 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15204 Don't signal an error in a predicate function; return non-nil.
15205 (vc-dir-mark-file): Move the error here.
15206 (vc-dir-mark-unmark): If acting on the region, keep going if one
15207 of the entries cannot be marked/unmarked.
15208 (vc-dir-mark-all-files): If current entry is a directory, mark
15209 only child files, as documented.
15211 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15213 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15214 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15217 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15219 * term/ns-win.el (ns-get-selection-internal)
15220 (ns-store-selection-internal): Declare.
15221 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15222 Declare as obsolete.
15223 (ns-get-pasteboard, ns-paste-secondary):
15224 Use ns-get-selection-internal.
15225 (ns-set-pasteboard, ns-copy-including-secondary):
15226 Use ns-store-selection-internal.
15228 2011-12-17 Chong Yidong <cyd@gnu.org>
15230 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15231 (vc-deduce-fileset): Doc fix.
15233 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15235 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15237 2011-12-13 Sam Steingold <sds@gnu.org>
15239 * man.el (Man-getpage-in-background): When running under a
15240 window-system, ignore $MANWIDTH and $COLUMNS.
15242 2011-12-15 Kenichi Handa <handa@m17n.org>
15244 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15245 (setup-ethiopic-environment-internal): Comment out key-binding for
15246 ethio-toggle-punctuation.
15248 2011-12-13 Alan Mackenzie <acm@muc.de>
15250 Add the switch statement to AWK Mode.
15252 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15253 "default" to the keywords regexp.
15255 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15256 expression as the rest.
15257 (c-nonlabel-token-key): Allow string literals for AWK.
15258 Refactor for the other modes.
15260 Large brace-block initialisation makes CC Mode slow: Fix.
15261 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15262 routines. Limit backward searching in c-font-lock-enclosing.decl.
15264 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15265 pp-state and literal type in addition to the limits.
15266 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15267 (c-state-literal-at): Use the above new defun.
15268 (c-slow-in-literal, c-fast-in-literal): Remove.
15269 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15271 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15272 being in a literal. Add a limit for backward searching.
15274 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15277 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15279 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15281 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15283 * window.el (delete-other-windows): Use correct frame in call to
15284 window-with-parameter.
15286 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15288 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15289 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15290 (makefile-gmake-statements, makefile-makepp-statements):
15291 Use it and add new makepp keywords.
15292 (makefile-makepp-font-lock-keywords): Add new patterns.
15293 (makefile-match-function-end): Match new [...] and [[...]].
15295 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15297 * ses.el (ses-call-printer-return, ses-cell-property-get)
15298 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15299 (ses-create-cell-variable, ses-reset-header-string)
15300 (ses-cell-set-formula, ses-repair-cell-reference-all)
15301 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15302 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15303 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15304 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15305 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15306 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15307 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15308 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15309 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15310 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15311 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15312 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15314 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15316 * ses.el: The overall change is to add cell renaming, that is
15317 setting fancy names for cell symbols other than name matching
15318 "\\`[A-Z]+[0-9]+\\'" regexp .
15319 (ses-create-cell-variable): New defun.
15320 (ses-relocate-formula): Relocate formulas only for cells the
15321 symbols of which are not renamed, i.e. symbols whose names do not
15322 match regexp "\\`[A-Z]+[0-9]+\\'".
15323 (ses-relocate-all): Relocate values only for cells the symbols of
15324 which are not renamed.
15325 (ses-load): Create cells variables as the (ses-cell ...) are read,
15326 in order to check row col consistency with cell symbol name only
15327 for cells that are not renamed.
15328 (ses-replace-name-in-formula): New defun.
15329 (ses-rename-cell): New defun.
15331 2011-12-11 Chong Yidong <cyd@gnu.org>
15333 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15334 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15336 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15338 * window.el (other-window): Fix docstring.
15340 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15342 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15343 `from' or `to' address before taking its substring.
15344 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15345 encoded name is chopped in the middle of the encoded string, and
15346 thus displayed encoded.
15348 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15350 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15352 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15354 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15355 to use texinfo-update-node and commands that call it if the
15356 Texinfo file uses @node lines without next/prev/up pointers.
15357 Correct outdated description about texinfo-master-menu.
15358 (texinfo-all-menus-update, texinfo-master-menu)
15359 (texinfo-update-node, texinfo-every-node-update)
15360 (texinfo-multiple-files-update): Doc fix. Warn against updating
15361 all the @node lines.
15362 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15363 argument is numeric. Explain better in the doc string what the
15364 function really does.
15365 (texinfo-insert-master-menu-list): Improve the error message
15366 displayed if there's no menu in the Top node.
15367 (Bug#2975) See also this thread:
15368 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15370 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15372 * speedbar.el (speedbar-supported-extension-expressions):
15373 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15375 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15377 * printing.el (pr-mode-alist):
15378 * simple.el (filter-buffer-substring-functions)
15379 (completion-list-insert-choice-function):
15380 * window.el (window-with-parameter, window-atom-root)
15381 (window-sides-slots, window-size-fixed, window-min-delta)
15382 (window-max-delta, window--resize-mini-window)
15383 (window--resize-child-windows-normal, window-tree)
15384 (delete-other-windows, quit-window, split-window)
15385 (display-buffer-record-window, special-display-buffer-names)
15386 (special-display-regexps, special-display-popup-frame)
15387 (same-window-p, split-window-sensibly)
15388 (display-buffer-overriding-action, display-buffer-alist)
15389 (display-buffer-base-action, display-buffer, switch-to-buffer)
15390 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15391 (fit-window-to-buffer, recenter-positions)
15392 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15393 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15394 and remove unneeded backslashes in docstrings.
15396 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15398 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15400 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15401 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15403 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15404 when reading the makefile (bug#10116).
15406 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15408 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15411 2011-12-06 Glenn Morris <rgm@gnu.org>
15413 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15415 2011-12-06 Chong Yidong <cyd@gnu.org>
15417 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15419 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15421 * textmodes/table.el (table-shorten-cell): Fix typo.
15423 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15425 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15427 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15429 * descr-text.el (describe-char): Fix display of strong
15430 right-to-left characters and directional embeddings and overrides.
15432 * simple.el (what-cursor-position): Fix display of codepoints of
15433 strong right-to-left characters.
15435 2011-12-05 Chong Yidong <cyd@gnu.org>
15437 * faces.el (read-color): Doc fix.
15439 2011-12-05 Glenn Morris <rgm@gnu.org>
15441 * align.el (align--set-marker): Add doc-string.
15442 Don't try to move something that is not a marker. (Bug#10216)
15444 2011-12-04 Glenn Morris <rgm@gnu.org>
15446 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15447 overly zealous deletion of trailing whitespace.
15449 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15451 * server.el (server-delete-client): On Windows, do not try to delete
15453 (server-process-filter): On Windows, treat requests for a tty frame as
15454 if they were for a GUI frame if the running server is in GUI mode.
15456 2011-12-03 Glenn Morris <rgm@gnu.org>
15458 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15460 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15462 * electric.el: Streamline electric-indent's hook.
15463 (electric-indent-chars): Revert to simple list.
15464 (electric-indent-functions): New var.
15465 (electric-indent-post-self-insert-function): Use it.
15467 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15468 there's no inferior buffer (bug#10196).
15469 (prolog-consult-compile): Don't use toggle-read-only.
15471 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15473 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15474 interrupt. (Bug#10187)
15476 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15478 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15481 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15484 2011-12-02 Juri Linkov <juri@jurta.org>
15486 * info.el (Info-search): Display "end of manual" when Isearch
15487 reaches the end of single-file Info manual. (Bug#9918)
15489 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15491 * isearch.el (isearch-message-prefix): Run the input method part
15492 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15494 2011-12-02 Juri Linkov <juri@jurta.org>
15496 * isearch.el (isearch-occur): Use `word-search-regexp' for
15498 (isearch-search-and-update): Add condition for `isearch-word' and
15499 call `word-search-regexp'. (Bug#10145)
15501 2011-12-01 Glenn Morris <rgm@gnu.org>
15503 * eshell/em-hist.el (eshell-hist-initialize):
15504 Handle eshell-history-size nil and HISTSIZE set or unset.
15505 (eshell-history-file-name, eshell-history-size): Fix custom type.
15507 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15509 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15511 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15513 * progmodes/verilog-mode.el (verilog-pretty-expr):
15514 Rework verilog-pretty-expr to handle new assignment operators in system
15515 verilog, such as += *= and the like.
15516 (verilog-assignment-operator-re): Regular expression to find the
15517 assigment operator in a verilog assignment.
15518 (verilog-assignment-operation-re): Regular expression to find an
15519 assignment statement for pretty-expr.
15520 (verilog-in-attribute-p): Query returns true if point is in an
15521 attribute context; used to skip these for expression line up from
15523 (verilog-in-parameter-p): Query returns true if point is in an
15524 parameter definition context; used to skip these for expression
15525 line up from pretty-expr.
15526 (verilog-in-parenthesis-p): Query returns true if point is in a
15527 parenthetical expression, specifically ( ) but not [ ] or { };
15528 used by pretty-expr.
15529 (verilog-just-one-space): If there is no space, don't add one.
15530 (verilog-get-lineup-indent-2): Specifically skip just attribute
15531 contexts for expression lineup, rather than skipping all
15532 parenthetical expressions.
15533 (verilog-calculate-indent): Fix comment, and fix indent.
15534 (verilog-do-indent): Indent declarations in lists (suggested by
15536 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15538 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15541 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15543 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15544 parameters with embedded comments. Reported by Ray Stevens.
15545 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15546 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15547 Reported by Tim Holt.
15548 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15549 instantiated by upper module causing wrong expansion until AUTOed a
15550 second time. Reported by K C Buckenmaier.
15551 (verilog-diff-auto): Fix showing .* as a difference when
15552 `verilog-auto-star-save' off. Reported by Dan Dever.
15553 (verilog-auto-reset, verilog-read-always-signals)
15554 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15555 temporary signals in reset list if
15556 verilog-auto-reset-blocking-in-non is nil, and match assignment
15557 style to each signal's assignment type, bug381.
15558 Reported by Thomas Esposito.
15559 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15560 (verilog-uvm-statement-re): Support UVM indentation and
15561 highlighting, with old OVM keywords only.
15562 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15563 Support AUTOTIEOFF creating non-wire data types.
15564 Suggested by Jonathan Greenlaw.
15565 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15566 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15567 (verilog-inject-sense, verilog-read-inst-pins)
15568 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15569 Fix mismatching parenthesis inside commented out code when deleting
15570 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15571 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15572 non-numeric vector width. Reported by Alex Reed.
15573 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15574 detecting signals with parameter widths. Reported by Alex Reed.
15575 (verilog-auto-delete-trailing-whitespace):
15576 With `verilog-auto-delete-trailing-whitespace' remove trailing
15577 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15578 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15579 Fix verilog-scan-cache corruption when running user AUTO expansion
15580 hooks that call indentation routines.
15581 (verilog-simplify-range-expression): Fix typo ignoring lower case
15583 (verilog-delete-auto): Fix delete-autos to also remove user created
15584 automatics, as long as they start with AUTO.
15585 (verilog-batch-diff-auto, verilog-diff-auto)
15586 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15587 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15588 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15589 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15590 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15591 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15592 is disabled and its cache will get corrupt, causing AUTOS not to
15593 expand. Instead use only -quick functions.
15594 (verilog-scan-region): Fix scanning over escaped quotes.
15595 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15596 (verilog-re-search-backward-quick)
15597 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15598 related functions now ignore strings, to fix misparsing of strings
15599 with magic comments embedded in them.
15600 (verilog-read-auto-template):
15601 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15602 Reported by Brad Dobbie.
15603 (verilog-read-auto-template):
15604 Fix 'verilog-auto-inst-template-numbers' with comments.
15605 Reported by Brad Dobbie.
15606 (verilog-auto-inst, verilog-auto-inst-param)
15607 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15608 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15609 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15610 debugging templates without merge conflicts, bug357.
15611 Reported by Brad Dobbie.
15612 (verilog-read-auto-template):
15613 Fix verilog-auto-inst-template-numbers with multiple templates.
15614 Reported by Brad Dobbie.
15615 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15616 abbrevs so user won't be asked to save.
15617 (verilog-read-auto-lisp-present): Fix to start at beginning of
15618 buffer in case called outside of verilog-auto.
15619 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15620 to "X-2". Reported by Matthew Myers.
15621 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15622 all inputs from module templates. Reported by Leith Johnson.
15623 (verilog-module-inside-filename-p): Fix locating programs as with
15625 (verilog-auto-inst-port): Fix vl-width expressions when using
15626 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15627 (verilog-decls-get-regs, verilog-decls-get-signals,
15628 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15629 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15630 verilog-read-decls): Combine reg and wire structures into one var
15631 structure to represent SystemVerilog concepts.
15632 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15633 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15634 (verilog-auto-wire-type, verilog-insert-definition):
15635 Add verilog-auto-wire-type and AUTOLOGIC to support using
15636 SystemVerilog "logic" keyword instead of "wire"/"reg".
15637 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15638 to declares outputs that also have assignments (presumably in an
15639 ifdef or generate if so there's not a driver conflict).
15640 Reported by Matthew Myers.
15641 (verilog-auto-declare-nettype, verilog-insert-definition):
15642 Add verilog-auto-declare-nettype to fix declarations using
15643 `default_nettype none. Reported by Julian Gorfajn.
15644 (verilog-read-always-signals-recurse, verilog-read-decls)
15645 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15646 malformed end statement, bug325. Reported by Joshua Wise and
15648 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15649 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15650 when expanding .* in interfaces, bug320.
15651 Reported by Pierre-David Pfister.
15652 (verilog-read-module-name): Fix import statements between module
15653 name and open parenthesis, bug317.
15654 Reported by Pierre-David Pfister.
15655 (verilog-simplify-range-expression): Fix simplification of
15656 multiplications inside AUTOWIRE connections, bug303.
15657 (verilog-auto-inst-port): Support parameter expansion in
15658 multidimensional arrays.
15659 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15660 after "assert property". Reported by Julian Gorfajn.
15661 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15662 with multiplication, bug303.
15663 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15664 Reported by Jan Frode Lonnum.
15666 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15668 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15669 (hfy-shell-file-name, hfy-shell):
15670 * international/fontset.el (x-decompose-font-name): Fix typos.
15672 2011-11-29 Ken Brown <kbrown@cornell.edu>
15674 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15675 (gdb-version): Remove defvar.
15676 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15677 (gdb-gud-context-command, gdb-non-stop-handler)
15678 (gdb-current-context-command, gdb-stopped): Use it.
15679 (gdb-init-1): Enable pretty printing here.
15680 (gdb-non-stop-handler): Don't enable pretty-printing here.
15681 Check to see if the target supports non-stop mode; if not, turn off
15682 non-stop mode. Use the following.
15683 (gdb-check-target-async): New defun.
15684 (gud-watch, gdb-stopped): Fix whitespace.
15685 (gdb-get-source-file): Don't try to display the source file if
15686 `gdb-main-file' is nil.
15688 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15690 * align.el: Try to generate fewer markers (bug#10047).
15691 (align--set-marker): New macro.
15692 (align-region): Use it.
15694 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15696 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15698 2011-11-29 Chong Yidong <cyd@gnu.org>
15700 * indent.el (indent-for-tab-command, indent-according-to-mode):
15702 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15704 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15706 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15707 aware of remote file names. (Bug#10124)
15709 2011-11-29 Chong Yidong <cyd@gnu.org>
15711 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15713 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15715 * files.el (find-file): Don't use force-same-window (bug#10144).
15716 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15717 use pop-to-buffer if the selected window can't be used.
15718 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15720 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15722 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15725 2011-11-28 Chong Yidong <cyd@gnu.org>
15727 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15729 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15731 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15732 gdb-get-source-file-list on gdb-create-source-file-list.
15734 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15736 * whitespace.el (whitespace-newline): Use a different foreground
15737 color for 16-color light-background displays.
15739 2011-11-24 Chong Yidong <cyd@gnu.org>
15741 * window.el (display-buffer--special-action): Doc fix.
15743 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15745 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15746 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15747 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15748 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15749 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15750 (avl-tree-stack-first):
15751 * emacs-lisp/cconv.el (cconv--analyse-use):
15752 * net/gnutls.el (gnutls-negotiate): Fix typos.
15754 2011-11-24 Glenn Morris <rgm@gnu.org>
15756 * lpr.el (lpr-windows-system, lpr-lp-system):
15757 * mail/binhex.el (binhex-begin-line):
15758 * progmodes/grep.el (grep-history, grep-find-history):
15759 * textmodes/flyspell.el:
15760 * vc/pcvs-defs.el (cvs-global-menu):
15761 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15762 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15763 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15765 * net/tls.el: Fix case of "GnuTLS".
15767 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15769 * version.el (emacs-build-system): Give it a doc-string.
15771 2011-11-24 Juri Linkov <juri@jurta.org>
15773 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15775 2011-11-24 Glenn Morris <rgm@gnu.org>
15777 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15778 if called on a non-mime message just toggle the headers. (Bug#8006)
15780 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15782 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15783 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15784 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15785 (allout-rebullet-heading, allout-open-sibtopic)
15786 (allout-toggle-current-subtree-encryption)
15787 (allout-toggle-subtree-encryption, allout-encrypt-string)
15788 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15789 (allout-distinctive-bullets-string, allout-auto-activation):
15790 * window.el (window-normalize-buffer-to-display):
15791 * progmodes/verilog-mode.el (verilog-batch-indent):
15792 * textmodes/bibtex.el (bibtex-field-braces-opt)
15793 (bibtex-field-strings-opt):
15794 * vc/cvs-status.el (cvs-tree-merge):
15797 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15799 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15800 `non-essential' to t, in order to avoid remote connections.
15802 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15804 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15805 On MS-DOS and MS-Windows, compare with loaddefs.el
15806 case-insensitively.
15808 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15810 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15812 2011-11-23 Glenn Morris <rgm@gnu.org>
15814 * paths.el (rmail-file-name): Reformat the doc-string so that it
15817 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15818 (rmail-auto-file): Ignore case in the "special" field names,
15819 as mail-fetch-field does for all others.
15821 * mail/rmail.el (rmail-forward):
15822 * mail/rmailkwd.el (rmail-set-label):
15823 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15824 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15826 * mail/rmail.el (rmail-current-message): Doc fix.
15828 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15830 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15834 2011-11-22 Glenn Morris <rgm@gnu.org>
15836 * mail/rmailmm.el (test-rmail-mime-handler)
15837 (test-rmail-mime-bulk-handler)
15838 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15840 2011-11-21 Juri Linkov <juri@jurta.org>
15842 * calc/calc.el (calc-read-key-sequence):
15843 Let-bind `input-method-function' to nil. (Bug#10018)
15845 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15847 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15848 Tell the caller that the next line needs recomputation, even
15849 though it doesn't start a sexp (bug#10094).
15851 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15853 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15855 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15858 Use force-same-window.
15860 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15862 * descr-text.el (describe-char-unicode-data):
15863 * json.el (json-string-escape):
15864 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15865 (Footnote-unicode, Footnote-style-p):
15866 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15868 2011-11-20 Chong Yidong <cyd@gnu.org>
15870 * window.el (replace-buffer-in-windows): Restore interactive spec.
15872 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15876 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15877 (byte-compile-global-not-obsolete-vars): New var.
15878 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15880 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15882 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15884 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15885 * progmodes/pascal.el (electric-pascal-equal):
15886 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15887 * xml.el (xml-substitute-special): Fix typos.
15889 2011-11-20 Glenn Morris <rgm@gnu.org>
15891 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15892 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15894 (rmail-decode-mime-charset): Mark as obsolete.
15896 * mail/rmailsum.el (rmail-message-regexp-p-1):
15897 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15898 Before using mime functions, check they are set. (Bug#10077)
15900 2011-11-19 Juri Linkov <juri@jurta.org>
15902 * info.el (Info-finder-find-node): Use `package--builtins' instead
15903 of `package-alist'. Use node names formed by the pattern "Keyword "
15904 and the keyword name.
15906 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15908 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15910 2011-11-19 Juri Linkov <juri@jurta.org>
15912 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15913 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15914 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15915 `old-history', `old-history-forward'. Add let-binding
15916 `window-selected'. Remove calls to `kill-buffer',
15917 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15918 before calling `Info-find-node', so `Info-find-node-2' will reread
15919 the Info file. Restore window positions only when `window-selected'
15922 2011-11-19 Juri Linkov <juri@jurta.org>
15924 * isearch.el (isearch-lazy-highlight-new-loop):
15925 Remove condition `(not isearch-error)'. (Bug#9918)
15927 * misearch.el (multi-isearch-search-fun): Add condition
15928 `(not bound)' to ignore lazy-highlighting search.
15929 Add the search-failed message "end of multi" when the end of
15930 multi-sequence is reached. Uncapitalize the search-failed
15931 message "Repeat for next buffer".
15933 * info.el (Info-search): Add the search-failed message
15934 "end of the manual" when the end of the manual is reached
15937 2011-11-19 Juri Linkov <juri@jurta.org>
15939 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15940 Use non-destructive `remove' instead of `delete' because
15941 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15942 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15944 2011-11-19 Juri Linkov <juri@jurta.org>
15946 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15947 to nil instead of binding `search-ring' and `regexp-search-ring'.
15950 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15952 * simple.el (line-move): Force movement by logical lines for any
15953 hscrolled window, not only when auto-hscroll-mode is on.
15954 (line-move-visual): Update doc string to that effect. (Bug#10076)
15956 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15958 * language/european.el (macintosh): Define as alias for mac-roman.
15960 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15962 * mail/rmailmm.el (rmail-mime-display-header)
15963 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15964 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15965 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15966 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15967 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15969 (rmail-mime-entity-segment): To get past the tagline, move forward
15970 2 more lines, to account for the 2 empty lines that precede and
15971 follow the line with the buttons.
15972 (rmail-mime-update-tagline): Move one more line, to get past the
15973 empty line that follows the buttons in the tagline. (Bug#9520)
15975 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15977 * window.el (window-max-delta-1, window-min-delta-1)
15978 (window-min-size-1, window-state-get-1, window-state-put-1)
15979 (window-state-put-2): Use "window--" prefix.
15981 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15983 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15984 (smie-warning-count): New var.
15985 (smie-set-prec2tab): Use it.
15986 (smie-bnf->prec2): Improve warnings. Add docstring.
15987 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15988 (smie-bnf--set-class): New function.
15989 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15992 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15993 (compilation-error-properties, compilation-move-to-column):
15994 Handle compilation-first-column while in the target buffer.
15996 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15997 Don't hardcode point-min==1.
15999 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16000 (eshell-rewrite-for-command): Remove workaround.
16001 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16002 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16003 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16005 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16007 2011-11-17 Glenn Morris <rgm@gnu.org>
16009 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16010 Ignore buffer-local generated-autoload-file if it is the same
16011 as the global value. (Bug#10049)
16013 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16015 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16016 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16017 (reftex-toc-previous-heading, reftex-toc-max-level)
16018 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16019 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16020 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16021 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16022 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16023 (reftex-toc-rename-label, reftex-toc-visit-location)
16024 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16025 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16026 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16027 leaving "*toc*" only for references to the buffer.
16029 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16031 * window.el (window-resize, delete-window, split-window):
16032 Replace window-splits by window-combination-resize.
16033 * cus-start.el (window-splits): Replace by window-combination-resize.
16035 2011-11-17 Glenn Morris <rgm@gnu.org>
16037 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16038 Make bash entry derive from sh entry, not shell entry.
16040 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16045 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16047 * menu-bar.el (menu-bar-file-menu):
16048 * printing.el (pr-ps-utility):
16049 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16050 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16051 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16052 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16053 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16054 (icalendar--convert-cyclic-to-ical)
16055 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16056 (icalendar--convert-ical-to-diary)
16057 (icalendar--convert-recurring-to-diary)
16058 (icalendar--convert-non-recurring-all-day-to-diary)
16059 (icalendar-import-format-sample):
16060 * progmodes/idlw-shell.el (idlwave-shell-mode):
16061 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16062 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16063 (vhdl-ps-print-init): Fix typos.
16065 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16067 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16068 FSF and collapse date sequence, obscure author/maintainer email address
16069 better, remove extra version line, track relocation of author's webpage.
16071 * progmodes/python.el (python-pdbtrack-input-prompt)
16072 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16073 regular python pdb prompts. Adjustments shamelessly taken exactly as
16074 suggested in EmacsWiki page (tiny change):
16075 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16077 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16079 * expand.el (expand-pos, expand-index, expand-point):
16080 Remove redundant info from docstring.
16081 (expand-add-abbrevs): Doc fix.
16082 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16083 (expand-sample-perl-mode-expand-list): Fix typos.
16085 * net/dbus.el (dbus-event-member-name):
16086 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16087 * term/pc-win.el (msdos-create-frame-with-faces):
16088 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16090 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16092 * window.el (split-window, window-state-get-1)
16093 (window-state-put-1, window-state-put-2): Rename occurrences of
16094 window-nest to window-combination-limit.
16095 * cus-start.el (window-nest): Rename to window-combination-limit.
16097 2011-11-16 Chong Yidong <cyd@gnu.org>
16099 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16100 regexp (Bug#10033).
16102 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16104 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16105 `completing-read' will remove *Completions* and will preserve
16106 current-buffer for us.
16107 (tmm-add-prompt): Users of *Completions* will always (re)set its
16109 (tmm-old-comp-map): Remove.
16111 2011-11-16 Glenn Morris <rgm@gnu.org>
16113 * mail/rmailedit.el: Require rmailmm when compiling.
16114 (rmail-old-mime-state): New declaration.
16115 (rmail-edit-current-message): If editing a mime message,
16116 edit the "raw" message from the mbox buffer.
16117 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16119 2011-11-15 Glenn Morris <rgm@gnu.org>
16121 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16122 which wasn't being used. Add optional arg to force given state.
16123 (rmail-mime): Add optional arg to force given state.
16125 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16127 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16128 * frame.el (display-mm-dimensions-alist):
16129 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16130 (outline-move-subtree-down):
16131 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16132 (newsticker--treeview-do-get-node):
16133 * net/quickurl.el (quickurl-list-buffer-name):
16134 * progmodes/dcl-mode.el (dcl-mode):
16135 * progmodes/gdb-mi.el (gdb-mapcar*):
16136 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16138 2011-11-15 Glenn Morris <rgm@gnu.org>
16140 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16141 in a boolean sense, so just make it a boolean, and fix the doc.
16142 (rmail-show-mime-function, rmail-mime-feature)
16143 (rmail-require-mime-maybe): Doc fixes.
16144 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16146 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16148 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16150 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16151 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16152 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16153 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16155 2011-11-15 Glenn Morris <rgm@gnu.org>
16157 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16158 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16159 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16160 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16161 (rmail-mime, rmail-show-mime): Doc fixes.
16163 * term/ns-win.el (mode-line-frame-identification):
16164 Leave it alone. (Bug#10051)
16166 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16168 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16169 Handle empty buffers. (Bug#9978)
16171 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16173 * international/mule.el (define-charset):
16174 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16175 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16176 * progmodes/verilog-mode.el (verilog-backward-token):
16177 * textmodes/ispell.el (lookup-words):
16178 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16180 2011-11-14 Glenn Morris <rgm@gnu.org>
16182 * progmodes/executable.el
16183 (executable-make-buffer-file-executable-if-script-p):
16184 Handle file-modes returning nil.
16186 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16187 message - not necessary, and causes problems. (Bug#9831)
16189 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16191 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16193 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16194 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16195 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16197 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16199 * window.el (window-resize, delete-window): Use window-splits
16200 variable instead of function.
16201 (window-state-get-1, window-state-put-2, window-state-put):
16202 Don't deal with windows' splits status.
16204 2011-11-12 Glenn Morris <rgm@gnu.org>
16206 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16207 (apropos-documentation): Doc fixes.
16209 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16211 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16212 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16214 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16216 * electric.el (electric-indent-post-self-insert-function): Make it
16217 possible for a char to only indent in some circumstances.
16218 (electric-indent-mode): Simplify.
16220 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16222 * window.el (windows-with-parameter): Remove unused function.
16223 (windows-at-side): Rename to window-at-side-list.
16224 (window-check, window-atom-check, window-atom-check-1)
16225 (window-side-check, window-size-ignore, window-size-fixed-1)
16226 (window-in-direction-2): Prefix with "window--".
16227 (window-tree-1): Rename to window--subtree, fix doc-string.
16229 2011-11-11 Glenn Morris <rgm@gnu.org>
16231 * subr.el (eval-after-load): If FILE is already loaded,
16232 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16234 2011-11-10 Glenn Morris <rgm@gnu.org>
16236 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16237 Call svn via vc-svn-command rather than vc-do-command.
16238 (vc-svn-command): Add --non-interactive. (Bug#9993)
16239 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16242 Add toggle-read-only. (Bug#7292)
16243 * files.el (toggle-read-only): Mention that it should only
16244 be used interactively. (Bug#10006)
16246 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16248 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16249 Adjust regexp for OCaml warnings.
16251 * electric.el (electric-pair-post-self-insert-function): Let user
16252 turn it off buffer-locally (bug#9932).
16254 * progmodes/python.el (python-beginning-of-statement):
16255 Rewrite (bug#2703).
16257 * progmodes/compile.el: Better handle TABs (bug#9749).
16258 (compilation-internal-error-properties)
16259 (compilation-next-error-function): Obey the target buffer's
16260 compilation-error-screen-columns.
16262 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16264 * progmodes/meta-mode.el: Remove obsolete comments.
16265 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16266 Fix typos in docstrings.
16268 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16270 * window.el (window-size-fixed-p): Rewrite doc-string.
16271 (window-resizable-p): Rename to window--resizable-p. Update callers.
16272 (window--resizable): New function. Make all callers of
16273 window-resizable call window--resizable instead.
16274 (window-resizable): Rewrite in terms of window--resizable.
16276 2011-11-08 Glenn Morris <rgm@gnu.org>
16278 * progmodes/delphi.el (delphi-mode-syntax-table):
16279 Let define-derived-mode define a proper syntax table. (Bug#9994)
16281 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16283 * window.el: Stay away from defsubst.
16284 (window-list-no-nils): Remove.
16285 (window-state-get-1, window-state-get): Use backquote instead.
16287 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16289 * emacs-lisp/find-func.el (find-function-read):
16290 Fix incorrect use of default argument in `completing-read'.
16292 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16294 * window.el (display-buffer-function, special-display-function):
16295 Mention display-buffer-record-window but do not mention
16296 help-setup parameter in doc-strings.
16297 (window-min-delta): Fix doc-string typo.
16299 2011-11-08 Chong Yidong <cyd@gnu.org>
16301 * window.el (window-total-height, window-total-width): Doc fix.
16302 (window-body-size): Move from C.
16303 (window-body-height, window-body-width): Move to C.
16305 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16307 * window.el: Make special-display like display-buffer-alist (bug#9532).
16308 (display-buffer--special-action): New function, morphed
16309 from display-buffer--special.
16310 (display-buffer): Use it to handle special-display-buffers at higher
16311 priority (just after display-buffer-alist).
16312 (display-buffer-fallback-action, display-buffer--other-frame-action)
16313 (pop-to-buffer-same-window): Remove display-buffer--special.
16315 2011-11-07 Glenn Morris <rgm@gnu.org>
16317 * calendar/cal-menu.el (cal-menu-set-date-title):
16318 Do nothing if not in a calendar. (Bug#9976)
16320 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * files.el (find-file): Always use selected-window.
16324 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16326 * window.el (window-combinations): Make WINDOW argument
16327 mandatory. Rewrite doc-string.
16328 (walk-window-subtree, window-atom-check, window-min-delta)
16329 (window-max-delta, window--resize-this-window)
16330 (window--resize-root-window-vertically, window-tree)
16331 (balance-windows, window-state-put): Rewrite doc-strings as to
16332 not mention the term "subwindow".
16333 (window--resize-subwindows-skip-p): Rename to
16334 window--resize-child-windows-skip-p.
16335 (window--resize-subwindows-normal): Rename to
16336 window--resize-child-windows-normal.
16337 (window--resize-subwindows): Rename to
16338 window--resize-child-windows.
16339 (window-or-subwindow-p): Rename to window--in-subtree-p.
16341 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16343 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16344 Ensure that mbox format messages end in two newlines (Bug#9974).
16346 2011-11-06 Chong Yidong <cyd@gnu.org>
16348 * window.el (window-combination-p): Function deleted; its
16349 side-effect is not used in any existing code.
16350 (window-combinations, window-combined-p): Call window-*-child
16353 2011-11-05 Chong Yidong <cyd@gnu.org>
16355 * window.el (window-valid-p): Rename from window-any-p.
16356 (window-size-ignore, window-state-get): Callers changed.
16357 (window-normalize-window): Rename from window-normalize-any-window.
16358 New arg LIVE-ONLY, replacing window-normalize-live-window.
16359 (window-normalize-live-window): Delete.
16360 (window-combination-p, window-combined-p, window-combinations)
16361 (walk-window-subtree, window-atom-root, window-min-size)
16362 (window-sizable, window-sizable-p, window-size-fixed-p)
16363 (window-min-delta, window-max-delta, window-resizable)
16364 (window-resizable-p, window-full-height-p, window-full-width-p)
16365 (window-current-scroll-bars, window-point-1, set-window-point-1)
16366 (window-at-side-p, window-in-direction, window-resize)
16367 (adjust-window-trailing-edge, maximize-window, minimize-window)
16368 (window-deletable-p, delete-window, delete-other-windows)
16369 (record-window-buffer, unrecord-window-buffer)
16370 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16371 (quit-window, split-window, window-state-put)
16372 (set-window-text-height, fit-window-to-buffer)
16373 (shrink-window-if-larger-than-buffer): Callers changed.
16375 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16377 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16378 rfc2047-decode-string.
16379 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16382 * window.el (window-body-height, window-body-width): Mention in
16383 the doc string that the return values are in frame's canonical
16386 2011-11-03 Alan Mackenzie <acm@muc.de>
16388 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16389 change in cc-engine.el.
16391 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16395 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16397 * window.el (quit-window): Call unrecord-window-buffer after
16398 showing another buffer in the window. (Bug#9937)
16399 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16401 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16403 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16404 Accept status with more than 9 shelves. (Bug#9935)
16405 Reported by Colin D Bennett <colin@gibibit.com>.
16407 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16409 * help.el (with-help-window): Don't reference
16410 temp-buffer-show-specifiers in doc-string.
16412 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16414 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16417 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16419 * whitespace.el: New version 13.2.2.
16420 (whitespace-newline-mode): Disable properly. Reported by Sarah
16423 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16425 * net/newst-treeview.el: Remove "Time-stamp".
16426 (newsticker--group-manage-orphan-feeds): Do not call
16427 newsticker--treeview-tree-update.
16428 (newsticker-treeview-update, newsticker-treeview):
16429 Call newsticker--treeview-tree-update if necessary.
16431 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16433 * window.el (window-iso-combination-p, window-iso-combined-p)
16434 (window-iso-combinations): Remove "iso-" infix.
16435 Suggested by Chong Yidong.
16436 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16437 (window-max-delta-1, window-resize, window--resize-siblings)
16438 (window--resize-this-window, adjust-window-trailing-edge)
16439 (split-window, balance-windows-1)
16440 (shrink-window-if-larger-than-buffer):
16441 * calendar/calendar.el (calendar-generate-window):
16442 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16444 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16447 in place (bug#9907).
16448 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16449 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16450 (eshell-structure-basic-command, eshell-rewrite-while-command)
16451 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16452 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16453 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16454 (eshell-do-pipelines-synchronously, eshell-eval-command):
16455 Use backquotes and prefer setq to set.
16456 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16457 (eshell-macrop): Use functionp.
16458 (eshell-do-eval): Handle multiple expressions in `while' body.
16460 2011-10-30 Chong Yidong <cyd@gnu.org>
16462 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16463 instead of set-mark (Bug#9810).
16465 2011-10-30 Chong Yidong <cyd@gnu.org>
16467 * window.el (split-window-below, split-window-right): Rename from
16468 split-window-above-each-other and split-window-side-by-side
16469 respectively. All callers changed.
16470 (split-window-sensibly, split-window-sensibly): Use them.
16471 (split-window-keep-point): Doc fix.
16473 * isearch.el: Add isearch-scroll property to split-window-below
16474 and split-window-right.
16476 * follow.el (follow-mode):
16477 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16478 * progmodes/ada-xref.el (ada-gdb-application):
16479 * emulation/vip.el (vip-buffer-in-two-windows):
16480 * image-dired.el (image-dired-dired-with-window-configuration):
16481 * dired-x.el (dired-do-find-marked-files):
16482 * dired.el (dired-pop-to-buffer):
16483 * bs.el (bs--show-with-configuration):
16484 * vc/emerge.el (emerge-setup-windows):
16485 * textmodes/two-column.el (2C-two-columns):
16486 * textmodes/reftex-toc.el (reftex-toc):
16487 * progmodes/gdb-mi.el (gdb-setup-windows):
16488 * progmodes/fortran.el (fortran-window-create):
16489 * net/newst-treeview.el (newsticker--treeview-window-init):
16490 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16491 * emulation/tpu-edt.el (tpu-gold-map):
16492 * emulation/crisp.el (crisp-mode-map):
16493 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16495 2011-10-29 Chong Yidong <cyd@gnu.org>
16497 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16499 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16501 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16502 forged Ispell output (Bug#7904).
16504 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16506 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16508 * doc-view.el: Avoid ugly errors about not finding nil.
16509 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16510 (doc-view-dvipdf-program, doc-view-unoconv-program)
16511 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16512 Avoid nil or absolute file name as default value.
16513 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16515 2011-10-28 Alan Mackenzie <acm@muc.de>
16517 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16519 2011-10-28 Alan Mackenzie <acm@muc.de>
16521 Amend the handling of c-beginning/end-of-defun in nested declaration
16524 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16525 cc-langs.el. Change it to a defcustom.
16527 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16530 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16531 Prevent "class foo : bar" being spuriously recognized as a label.
16533 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16534 Add parameter `inclusive' (to include enclosing braces in the region).
16535 (c-widen-to-enclosing-decl-scope): New function.
16536 (c-while-widening-to-decl-block): New macro.
16537 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16538 outward for defun boundaries, and correspondingly change symbol
16539 `respect-enclosure' to `go-outward'.
16540 (c-declaration-limits): Change algorithm to report only the "innermost"
16541 defun's boundaries.
16543 2011-10-28 Deniz Dogan <deniz@dogan.se>
16545 * net/rcirc.el (rcirc-mode): Use hard newlines.
16547 2011-10-28 Alan Mackenzie <acm@muc.de>
16549 Amend to indent and fontify macros "which include their own semicolon"
16550 correctly, using the "virtual semicolon" mechanism.
16552 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16554 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16555 Recode to scan one line at a time rather than having \n and \r
16556 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16557 (c-forward-label): Amend for virtual semicolons.
16558 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16560 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16561 of the new C macros.
16563 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16564 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16565 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16566 (c-opt-cpp-macro-define): Make into a full language variable.
16567 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16568 AWK Mode (including \n, \r) removed, no longer needed.
16570 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16571 Invoke c-make-macro-with-semi-re.
16573 * progmodes/cc-vars.el (c-macro-with-semi-re):
16574 (c-macro-names-with-semicolon): New variables.
16575 (c-make-macro-with-semi-re): New function.
16577 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16579 * vc/log-edit.el: Fill empty field rather than adding new one.
16580 (log-edit-add-field): New function.
16581 (log-edit-insert-changelog): Use it.
16583 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16585 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16587 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16589 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16590 (gdb--check-interpreter): New function.
16593 2011-10-27 Glenn Morris <rgm@gnu.org>
16595 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16596 (least-positive-float, least-negative-float)
16597 (least-positive-normalized-float, least-negative-normalized-float)
16598 (float-epsilon, float-negative-epsilon):
16599 Remove unnecessary declarations.
16601 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16602 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16603 (least-positive-float, least-negative-float)
16604 (least-positive-normalized-float, least-negative-normalized-float)
16605 (float-epsilon, float-negative-epsilon): Add doc-strings,
16606 based on those in cl.texi.
16608 * files.el (set-visited-file-name): If the major-mode changed,
16609 reload the local variables. (Bug#9796)
16611 2011-10-27 Chong Yidong <cyd@gnu.org>
16613 * subr.el (change-major-mode-after-body-hook): New hook.
16614 (run-mode-hooks): Run it.
16616 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16617 Use change-major-mode-before-body-hook.
16619 * simple.el (fundamental-mode):
16620 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16621 change introducing fundamental-mode-hook.
16623 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16625 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16627 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16629 * ido.el (ido-file-name-all-completions-1): Do not require
16630 tramp.el explicitly. (Bug#7583)
16632 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16634 * progmodes/octave-mod.el:
16635 * progmodes/octave-inf.el: Update maintainer.
16637 2011-10-26 Chong Yidong <cyd@gnu.org>
16639 * subr.el (with-wrapper-hook): Rewrite doc.
16641 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16643 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16644 filenames "/method:foo:". (Bug#9793)
16646 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16648 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16651 2011-10-24 Glenn Morris <rgm@gnu.org>
16653 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16655 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16657 * notifications.el: Add the requirement of a running D-Bus session
16658 bus to the Commentary.
16660 2011-10-24 Juri Linkov <juri@jurta.org>
16662 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16663 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16666 2011-10-24 Juri Linkov <juri@jurta.org>
16668 * info.el (Info-following-node-name-re): Add newline to the list
16669 of allowed characters for leading space. (Bug#9824)
16671 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16673 * progmodes/octave-inf.el (inferior-octave-mode-map):
16674 Fix C-c C-h binding.
16675 * progmodes/octave-mod.el (octave-help): Remove.
16677 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16679 Sync with Tramp 2.2.3.
16681 * net/tramp-cache.el (top): Pacify byte-compiler using
16682 `init-file-user' and `site-run-file'.
16684 * net/trampver.el: Update release number.
16686 2011-10-23 Chong Yidong <cyd@gnu.org>
16688 * files.el (toggle-read-only): Remove obsolete comment about
16691 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16692 for toggle-read-only. Note that this hasn't called vc-next-action
16693 since 2008-05-02, though it wasn't documented at the time.
16695 * vc/ediff-init.el (ediff-toggle-read-only-function):
16696 Use toggle-read-only.
16698 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16700 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16703 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16704 correct faulty logical expression.
16705 (c-parse-state-state, c-record-parse-state-state):
16706 (c-replay-parse-state-state): New defvar/defuns.
16707 (c-debug-parse-state): Use new functions.
16709 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16711 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16712 last fix. Use window-in-direction correctly.
16714 2011-10-21 Chong Yidong <cyd@gnu.org>
16716 * progmodes/idlwave.el (idlwave-mode):
16717 * progmodes/vera-mode.el (vera-mode): No need to set
16718 require-final-newline; that's done in prog-mode.
16719 Suggested by Stefan Monnier.
16721 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16723 * mouse.el (mouse-drag-window-above)
16724 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16725 (mouse-drag-mode-line-1, mouse-drag-header-line)
16726 (mouse-drag-vertical-line-rightward-window): Remove.
16727 (mouse-drag-line): New function.
16728 (mouse-drag-mode-line, mouse-drag-header-line)
16729 (mouse-drag-vertical-line): Call mouse-drag-line.
16730 * window.el (window-at-side-p, windows-at-side): New functions.
16732 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16734 * tar-mode.el (tar-grind-file-mode):
16735 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16737 2011-10-21 Chong Yidong <cyd@gnu.org>
16739 * progmodes/idlwave.el (idlwave-mode):
16740 * progmodes/vera-mode.el (vera-mode):
16741 Use mode-require-final-newline.
16743 2011-10-20 Glenn Morris <rgm@gnu.org>
16745 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16747 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16749 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16751 2011-10-20 Chong Yidong <cyd@gnu.org>
16753 * emulation/cua-base.el (cua-mode):
16754 * mail/footnote.el (footnote-mode):
16755 * mail/mailabbrev.el (mail-abbrevs-mode):
16756 * net/xesam.el (xesam-minor-mode):
16757 * progmodes/bug-reference.el (bug-reference-mode):
16758 * progmodes/cap-words.el (capitalized-words-mode):
16759 * progmodes/compile.el (compilation-minor-mode)
16760 (compilation-shell-minor-mode):
16761 * progmodes/gud.el (gud-tooltip-mode):
16762 * progmodes/hideif.el (hide-ifdef-mode):
16763 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16764 * progmodes/subword.el (subword-mode):
16765 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16766 * progmodes/which-func.el (which-function-mode):
16767 * term/tvi970.el (tvi970-set-keypad-mode):
16768 * term/vt100.el (vt100-wide-mode):
16769 * textmodes/flyspell.el (flyspell-mode):
16770 * textmodes/ispell.el (ispell-minor-mode):
16771 * textmodes/nroff-mode.el (nroff-electric-mode):
16772 * textmodes/paragraphs.el (use-hard-newlines):
16773 * textmodes/refill.el (refill-mode):
16774 * textmodes/reftex.el (reftex-mode):
16775 * textmodes/rst.el (rst-minor-mode):
16776 * textmodes/sgml-mode.el (html-autoview-mode)
16777 (sgml-electric-tag-pair-mode):
16778 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16779 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16780 * emulation/crisp.el (crisp-mode):
16781 * emacs-lisp/eldoc.el (eldoc-mode):
16782 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16783 minor mode behavior.
16785 2011-10-19 Juri Linkov <juri@jurta.org>
16787 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16788 the list of hard-coded chars with escape-glyph face.
16790 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16794 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16796 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16799 2011-10-19 Glenn Morris <rgm@gnu.org>
16801 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16802 Ignore ignored files. (Bug#9726)
16804 2011-10-19 Chong Yidong <cyd@gnu.org>
16806 Doc fix for minor modes, stating that an omitted argument enables
16807 the mode unconditionally when called from Lisp.
16809 * abbrev.el (abbrev-mode):
16810 * allout.el (allout-mode):
16811 * autoinsert.el (auto-insert-mode):
16812 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16813 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16814 (global-auto-revert-mode):
16815 * battery.el (display-battery-mode):
16816 * composite.el (global-auto-composition-mode)
16817 (auto-composition-mode):
16818 * delsel.el (delete-selection-mode):
16819 * desktop.el (desktop-save-mode):
16820 * dired-x.el (dired-omit-mode):
16821 * dirtrack.el (dirtrack-mode):
16822 * doc-view.el (doc-view-minor-mode):
16823 * double.el (double-mode):
16824 * electric.el (electric-indent-mode, electric-pair-mode):
16825 * emacs-lock.el (emacs-lock-mode):
16826 * epa-hook.el (auto-encryption-mode):
16827 * follow.el (follow-mode):
16828 * font-core.el (font-lock-mode):
16829 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16830 * help.el (temp-buffer-resize-mode):
16831 * hilit-chg.el (highlight-changes-mode)
16832 (highlight-changes-visible-mode):
16833 * hi-lock.el (hi-lock-mode):
16834 * hl-line.el (hl-line-mode, global-hl-line-mode):
16835 * icomplete.el (icomplete-mode):
16836 * ido.el (ido-everywhere):
16837 * image-file.el (auto-image-file-mode):
16838 * image-mode.el (image-minor-mode):
16839 * iswitchb.el (iswitchb-mode):
16840 * jka-cmpr-hook.el (auto-compression-mode):
16841 * linum.el (linum-mode):
16842 * longlines.el (longlines-mode):
16843 * master.el (master-mode):
16844 * mb-depth.el (minibuffer-depth-indicate-mode):
16845 * menu-bar.el (menu-bar-mode):
16846 * minibuf-eldef.el (minibuffer-electric-default-mode):
16847 * mouse-sel.el (mouse-sel-mode):
16848 * msb.el (msb-mode):
16849 * mwheel.el (mouse-wheel-mode):
16850 * outline.el (outline-minor-mode):
16851 * paren.el (show-paren-mode):
16852 * recentf.el (recentf-mode):
16853 * reveal.el (reveal-mode, global-reveal-mode):
16854 * rfn-eshadow.el (file-name-shadow-mode):
16855 * ruler-mode.el (ruler-mode):
16856 * savehist.el (savehist-mode):
16857 * scroll-all.el (scroll-all-mode):
16858 * scroll-bar.el (scroll-bar-mode):
16859 * server.el (server-mode):
16860 * shell.el (shell-dirtrack-mode):
16861 * simple.el (auto-fill-mode, transient-mark-mode)
16862 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16863 (line-number-mode, column-number-mode, size-indication-mode)
16864 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16865 * strokes.el (strokes-mode):
16866 * time.el (display-time-mode):
16867 * t-mouse.el (gpm-mouse-mode):
16868 * tool-bar.el (tool-bar-mode):
16869 * tooltip.el (tooltip-mode):
16870 * type-break.el (type-break-mode-line-message-mode)
16871 (type-break-query-mode):
16872 * view.el (view-mode):
16873 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16874 (global-whitespace-mode, global-whitespace-newline-mode):
16875 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16877 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16878 Fix autogenerated docstring.
16880 2011-10-19 Juri Linkov <juri@jurta.org>
16882 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16883 by checking environment variables "DESKTOP_SESSION" and
16884 "XDG_CURRENT_DESKTOP". (Bug#9779)
16886 2011-10-19 Juri Linkov <juri@jurta.org>
16888 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16889 (browse-url-chromium-program, browse-url-chromium-arguments):
16891 (browse-url-default-browser): Check for `browse-url-chromium' and
16892 call `browse-url-chromium-program'.
16893 (browse-url-chromium): New command. (Bug#9779)
16895 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16897 * facemenu.el (list-colors-duplicates): On Windows, detect more
16898 duplicates by assuming that only colors matching "^System" are
16899 special "system colors". (Bug#9722)
16901 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16903 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16904 to distinguish the author from the committer.
16906 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16908 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16910 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16912 * international/mule.el (sgml-html-meta-auto-coding-function):
16913 Add support for detecting encoding in HTML5 specified only as
16914 <meta charset="UTF-8">. Implementation just makes http-equiv and
16915 content-type parts from HTML4 encoding string optional. (Bug#9716)
16917 2011-10-18 Glenn Morris <rgm@gnu.org>
16919 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16921 2011-10-18 Chong Yidong <cyd@gnu.org>
16923 * faces.el (cursor): Doc fix.
16925 2011-10-17 Chong Yidong <cyd@gnu.org>
16927 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16929 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16931 * dirtrack.el (dirtrack): Support shell buffers with path
16932 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16934 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16936 * json.el: Bump version to 1.3 and note change in History.
16937 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16939 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * comint.el (comint-insert-input, comint-send-input)
16942 (comint-get-old-input-default, comint-backward-matching-input)
16943 (comint-next-prompt): Use nil instead of `input' for field property of
16944 past user input (bug#114).
16946 * minibuffer.el (completion--replace): Inherit surrounding properties
16948 (minibuffer-complete-and-exit): Use it.
16950 * comint.el (comint--table-subvert): Quote the all-completions output
16953 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16955 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16957 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16958 window on right of selected. (Bug#9350) Reword other window
16959 entries and separate them from frame entries.
16961 2011-10-15 Glenn Morris <rgm@gnu.org>
16963 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16966 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16968 * net/network-stream.el (network-stream-open-starttls):
16969 Improve detection of failure due to lack of TLS support.
16971 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16972 putting the input text in front and in bold.
16974 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16976 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16978 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16981 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16982 unread-command-events rather than pushing yet-another event.
16984 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16986 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16987 the explanation of the possible choices. Make the options passed
16988 to completing-read shorter.
16990 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16992 * textmodes/flyspell.el (flyspell-large-region): Make sure
16993 extended character mode is used if defined (Bug#1339).
16995 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16997 * simple.el (what-cursor-position): Fix the display of the
16998 character info for LRE, LRO, RLE, and RLO characters by appending
17001 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17004 even in case of error; add debug spec; simplify data flow.
17005 (with-timeout-handler): Remove.
17007 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17009 Fix Bug#6019, Bug#9315.
17011 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17012 complete `buffer-file-name', the local file name part could look
17013 remotely (for example on VMS).
17015 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17016 `tramp-run-real-handler'.
17017 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17018 already quoted by '"'.
17020 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17021 Let `file-name-handler-alist' be nil, the local file name part
17022 could look remotely (for example on VMS).
17024 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17026 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17028 (flyspell-post-command-hook): ...to here.
17030 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17032 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17034 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17035 using completion. Protect against "slow" callers.
17036 Remove the "message hack".
17038 2011-10-11 Juri Linkov <juri@jurta.org>
17040 * isearch.el (isearch-lazy-highlight-word): New variable.
17041 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17044 2011-10-11 Glenn Morris <rgm@gnu.org>
17046 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17047 like f90-previous-statement does.
17049 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17051 * eshell/eshell.el (eshell-command): History should be saved
17052 only in interactive use, to avoid error.
17054 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17056 * minibuffer.el (completion-file-name-table): Fix last change,
17057 i.e. ignore normal errors but not the other ones.
17059 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17061 * window.el (special-display-buffer-names)
17062 (special-display-regexps): Remove some remnants of earlier
17063 changes from doc-strings.
17064 (quit-windows-on): New function.
17066 * vc/vc.el (vc-revert, vc-rollback):
17067 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17068 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17069 (Bug#6183) (Bug#7074) (Bug#7447)
17071 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17073 * window.el (frame-auto-hide-function): Add version tag.
17076 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17078 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17081 2011-10-09 Leo Liu <sdl.web@gmail.com>
17083 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17086 2011-10-08 Glenn Morris <rgm@gnu.org>
17088 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17089 before the first code statement zero indent. (Bug#9690)
17091 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17093 * simple.el (count-words-region): Always count in the region.
17094 Report the number of lines and characters too.
17095 (count-words): New command, which counts in the buffer if the
17096 region is inactive, as count-words-region used to.
17097 (count-words--message): New function. Handle plurals.
17098 (count-lines-region): Make it an alias for count-words-region.
17100 * bindings.el (esc-map): Replace count-lines-region with
17101 count-words-region.
17103 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17105 * window.el (window--delete): Delete dedicated frame
17106 unconditionally when argument KILL is non-nil. (Bug#9699)
17107 (switch-to-buffer): Fix doc-string typo.
17109 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17111 * eshell/eshell.el (eshell-command): Avoid using hooks.
17113 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17115 * bindings.el ([M-left],[M-right]): Bind to left-word and
17116 right-word respectively.
17118 2011-10-07 Glenn Morris <rgm@gnu.org>
17120 * cus-start.el (debug-on-quit): Fix custom type.
17122 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17124 * subr.el (define-key-after): Clarify that the function is not
17125 useful for non-menu keymaps.
17127 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17129 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17131 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17132 in current minibuffer (Fix bug with recursive minibuffers).
17134 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17136 * progmodes/gdb-mi.el (gdb): Doc fix.
17138 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17140 * window.el (frame-auto-hide-function): New option replacing
17141 frame-auto-delete. Suggested by Stefan Monnier.
17142 (window--delete): Call frame-auto-hide-function instead of
17143 investigating frame-auto-delete.
17144 (window-point-1, set-window-point-1): New functions.
17145 (window-in-direction, record-window-buffer, window-state-get-1)
17146 (display-buffer-record-window): Use window-point-1 instead of
17148 (set-window-buffer-start-and-point): Use set-window-point-1.
17150 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17152 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17154 2011-10-05 Glenn Morris <rgm@gnu.org>
17156 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17157 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17159 2011-10-05 Leo Liu <sdl.web@gmail.com>
17161 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17162 works with buffer object.
17164 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17166 * mpc.el (mpc-tool-bar-map): Add labels.
17168 2011-10-04 Glenn Morris <rgm@gnu.org>
17170 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17172 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17174 * window.el (window--delete): New function.
17175 (frame-auto-delete): Resuscitate option.
17176 (bury-buffer, replace-buffer-in-windows)
17177 (quit-window): Rewrite using window--delete.
17178 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17179 Pass display-buffer-mark-dedicated to window--display-buffer-2
17182 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17184 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17185 returns a list (bug#9554). Add remote file name completion.
17186 * comint.el (comint--table-subvert): Curry and get quote&unquote
17187 functions as arguments.
17188 (comint--complete-file-name-data): Adjust call accordingly.
17189 * pcomplete.el (pcomplete--table-subvert): Remove.
17190 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17192 * minibuffer.el (completion-table-case-fold): Use currying.
17193 (completion--styles-type, completion--cycling-threshold-type):
17195 (completion-styles, completion-category-overrides)
17196 (completion-cycle-threshold): Use them.
17197 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17198 completion-table-case-fold.
17200 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17202 * minibuffer.el (completion-category-overrides): Fix type of styles
17203 and add more user friendly tags (bug#9660).
17205 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17207 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17208 (mule-input-method-string): New widget.
17209 (default-input-method, language-info-custom-alist): Use it.
17211 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17213 * pcomplete.el: Require comint.
17214 (pcomplete--common-suffix): Remove.
17215 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17216 (pcomplete--table-subvert): Sync with comint--table-subvert.
17217 (pcomplete--entries): Use comint-completion-file-name-table.
17218 * comint.el (comint-unquote-filename): Simplify.
17219 (comint-completion-file-name-table): New function (bug#9616).
17220 (comint--complete-file-name-data): Use it.
17222 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17223 (pcmpl-gnu-tar-buffer): Remove.
17224 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17225 around. Make sure pcomplete-suffix-list is only changed temporarily.
17226 Don't look inside the tar's file if it's too large.
17228 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17230 * cus-edit.el (custom-mode-map):
17231 * epa.el (epa-key-list-mode-map):
17232 * man.el (Man-mode-map):
17233 * startup.el (splash-screen-keymap):
17234 * simple.el (special-mode-map): Use scroll-up-command and
17235 scroll-down-command.
17237 * progmodes/idlw-help.el (idlwave-help-mode-map):
17238 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17239 * net/newst-plainview.el (newsticker-mode-map):
17240 * emulation/ws-mode.el (wordstar-mode-map):
17241 * emulation/vi.el (vi-com-map):
17242 * calc/calc-graph.el (calc-graph-show-dumb):
17243 * term/sun.el (terminal-init-sun):
17244 * term/ns-win.el (global-map):
17245 * progmodes/grep.el (grep-mode-map):
17246 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17247 * mail/rmail.el (rmail-mode-map):
17248 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17250 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17251 custom-safe-themes as special.
17253 2011-10-01 Julien Danjou <julien@danjou.info>
17255 * notifications.el (notifications-notify): Fix docstring.
17257 2011-10-01 Per Starbäck <per@starback.se>
17259 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17261 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17263 * startup.el (command-line-1): Fix last fix by inserting
17264 initial-scratch-message into *scratch* before displaying it.
17265 (Bug#9605) and (Bug#9636)
17267 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17269 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17270 window is hscrolled, move by logical lines. (Bug#9607)
17271 (line-move-visual): Update the doc string to the above effect.
17273 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17275 * window.el (display-buffer-record-window): When WINDOW is the
17276 selected window use `point' instead of `window-point'. (Bug#9626)
17278 * startup.el (command-line-1): Use insert-before-markers when
17279 inserting initial-scratch-message. (Bug#9605)
17281 * help.el (help-window): Remove variable.
17283 2011-09-29 Glenn Morris <rgm@gnu.org>
17285 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17287 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17289 * descr-text.el (describe-char-categories): Accept category
17290 descriptions more than one line long.
17292 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * simple.el (delete-trailing-whitespace): Fix last change.
17296 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17297 Don't confuse "y => 3" as the beginning of a `y' operation.
17299 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17300 object has more than 4 slots (bug#9613).
17302 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17304 * subr.el (with-output-to-temp-buffer):
17305 * net/quickurl.el (quickurl, quickurl-browse-url):
17306 Fix typos in docstrings.
17308 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17310 * minibuffer.el (completion-styles)
17311 (completion-category-overrides): Cross reference each other in doc
17314 2011-09-27 Glenn Morris <rgm@gnu.org>
17316 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17317 to split-string. (Bug#9606)
17319 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17321 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17324 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17326 * emacs-lisp/package.el (list-packages): Fix echo area message.
17328 2011-09-27 Leo Liu <sdl.web@gmail.com>
17330 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17332 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17334 * net/dbus.el (dbus-unregister-object): Don't release services for
17335 registered signals. (Bug#9581)
17337 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17339 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17340 function that picks between cfengine 2 and 3 support
17341 automatically. Update docs accordingly.
17343 2011-09-22 Kenichi Handa <handa@m17n.org>
17345 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17347 (indian-itrans-v5-table-for-tamil): New variable.
17348 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17350 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17352 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17353 that's true if the current command involved collapsing of text.
17354 It's reset to false at the beginning of the next command.
17355 (allout-post-command-business): Move the cursor to the beginning
17356 of entry if the cursor is hidden and collapsing activity just
17359 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17361 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17362 tracking (Bug#9541).
17364 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17366 * net/newst-reader.el (newsticker-html-renderer)
17367 (newsticker-show-news): Automatically load html rendering package
17368 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17369 because w3m-fill-column is let-bound" and the error "Symbol's value
17370 as variable is void: w3m-fill-column".
17372 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17374 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17375 Release services only if they are defined. (Bug#9581)
17377 2011-09-23 Richard Stallman <rms@gnu.org>
17379 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17380 distinguish start of paragraph from start of its text.
17382 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17384 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17385 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17386 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17388 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17390 * international/mule-diag.el (mule-diag): Insert a newline after
17391 each fontset description.
17393 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17395 * simple.el (delete-trailing-whitespace):
17396 Document last change; simplify.
17398 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17400 * simple.el (delete-trailing-whitespace): Also delete
17401 extra newlines at the end of the buffer.
17403 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17404 (picture-newline): Use forward-line so as to ignore fields.
17406 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17408 * subr.el (with-wrapper-hook): Fix edebug spec.
17410 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17412 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17415 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17417 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17418 Fix nasty bug using wrong cached values.
17420 2011-09-23 Alan Mackenzie <acm@muc.de>
17422 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17424 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17426 * window.el (pop-to-buffer): Ensure right window is selected if we
17427 chose another frame.
17429 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17431 * simple.el (what-cursor-position): Use get-char-property-change
17432 and next-single-char-property-change, to be able to show display
17433 properties that come from overlays as well as text properties.
17435 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17437 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17439 * cmuscheme.el (run-scheme, switch-to-scheme):
17440 * cus-edit.el (customize-group, custom-buffer-create)
17441 (customize-browse):
17443 * shell.el (shell):
17444 * mail/sendmail.el (mail):
17445 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17447 2011-09-22 Richard Stallman <rms@gnu.org>
17449 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17450 move back only to line beg, don't move back over blank lines.
17452 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17454 * files.el (copy-directory): Set directory attributes only in case
17455 they could be retrieved from the source directory. (Bug#9565)
17457 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17459 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17460 (hs-find-block-beginning, hs-hide-level-recursive):
17461 Ignore strings as well as comments. (Bug#9502)
17463 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17465 * progmodes/sql.el (sql-comint-postgres):
17466 Convert port number to a string. (Bug#9566)
17468 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17470 * window.el (quit-window): Undedicate window when switching to
17471 previous buffer. Reported by Thierry Volpiatto
17472 <thierry.volpiatto@gmail.com>.
17473 (special-display-popup-frame): When popping up a new frame reset
17474 its previous buffers to nil. Simplify code.
17476 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17478 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17479 and process filter, as done also in `shell-command'.
17481 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17483 * window.el (set-window-buffer-start-and-point):
17484 Call set-window-start with NOFORCE argument t.
17485 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17486 (quit-window): Reword doc-string. Handle new format of
17487 quit-restore parameter. Don't delete window if it has a
17488 previous buffer we can show instead of the present one.
17489 (display-buffer-record-window): Rewrite using a new format for
17490 the quit-restore window parameter
17491 (special-display-popup-frame, display-buffer-same-window)
17492 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17493 (display-buffer-pop-up-window, display-buffer-use-some-window):
17494 Adapt symbol passed to display-buffer-record-window.
17495 * help.el (help-window-setup): Handle new format of quit-restore
17498 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17500 * faces.el (face-list): Fix docstring (bug#9564).
17502 * window.el (display-buffer--action-function-custom-type):
17503 Don't include internal functions in the Custom interface.
17505 2011-09-20 Juri Linkov <juri@jurta.org>
17507 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17508 (Info-forward-node, Info-backward-node, Info-next-preorder)
17509 (Info-last-preorder): Use it. (Bug#9528)
17511 2011-09-20 Juri Linkov <juri@jurta.org>
17513 * info.el (Info-last-preorder): Visit last menu item only when
17514 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17516 2011-09-20 Julien Danjou <julien@danjou.info>
17518 * password-cache.el (password-cache-remove): Remove entries even if the
17519 value is nil, so that password with a nil value (negative caching) is
17520 possible to invalidate.
17522 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17524 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17525 all whitespace around breakpoint. (Bug#9553)
17526 (f90-find-breakpoint): Only break at whitespace inside a comment.
17528 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * minibuffer.el (completion-file-name-table): Keep track of errors.
17531 (completion-table-with-predicate): Handle the case where pred1 is nil.
17532 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17534 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17536 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17537 (debugger-return-value): Signal an error if the debugging context does
17538 not await any return value.
17540 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17541 * image-mode.el (image-toggle-display-text)
17542 (image-toggle-display-image): Stay away from evil `intangible'.
17544 2011-09-19 Leo Liu <sdl.web@gmail.com>
17546 * replace.el (occur-revert-arguments): Make it permanent-local.
17547 (occur-mode): Don't call font-lock-defontify.
17549 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17551 * net/ldap.el (ldap-search-internal): Don't push empty search
17554 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17556 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17558 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17560 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17561 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17563 2011-09-18 Juri Linkov <juri@jurta.org>
17565 * buff-menu.el (Buffer-menu-mode-map):
17566 * dired.el (dired-mode-map):
17567 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17568 (lisp-interaction-mode-map):
17569 * emacs-lisp/package.el (package-menu-mode-map):
17570 * epa.el (epa-key-list-mode-map):
17571 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17572 (menu-bar-options-menu):
17573 * outline.el (outline-mode-menu-bar-map):
17574 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17575 * vc/vc-dir.el (vc-dir-menu-map):
17576 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17577 Capitalize non-function content words in menu item strings.
17579 * dired.el (dired-mode-map): Add menu item for
17580 `image-dired-dired-toggle-marked-thumbs'.
17582 2011-09-18 Juri Linkov <juri@jurta.org>
17584 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17585 to `isearch-case-fold-search' and restore its original value
17586 after the `isearch-mode' call.
17588 2011-09-18 Juri Linkov <juri@jurta.org>
17590 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17591 because `zgrep' returns 1 for successful matches (bug#9226).
17593 2011-09-18 Juri Linkov <juri@jurta.org>
17595 * info.el (Info-extract-menu-node-name): Check the second match
17596 for empty string (second test-case of bug#9528).
17597 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17598 intermediate nodes to the history (first test-case of bug#9528).
17600 2011-09-18 Juri Linkov <juri@jurta.org>
17602 * info.el (Info-mode-syntax-table): New variable.
17603 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17605 2011-09-18 Juri Linkov <juri@jurta.org>
17607 * info.el (Info-file-supports-index-cookies):
17608 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17609 outputs one more line for long file names (bug#4142).
17611 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17613 * newcomment.el (comment-normalize-vars): If prompting for
17614 comment-start, set comment-start-skip too (Bug#8424).
17616 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17618 * icomplete.el: Fix previous fix of Bug#5849.
17619 (icomplete-mode): Don't set completion-show-inline-help.
17620 (icomplete-minibuffer-setup): Set completion-show-inline-help
17621 locally during icompletion.
17623 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17625 * woman.el (woman2-process-escapes): Don't delete unrecognized
17626 escapes (Bug#7843).
17628 * files.el (inhibit-first-line-modes-regexps): Add image files.
17629 (hack-local-variables-prop-line): Return nil for malformed
17630 prop-lines (Bug#9044).
17632 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17634 * net/tramp.el (top): Don't require 'shell.
17635 (tramp-methods): Fix docstring.
17636 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17637 Return complete remote file name. Handle "smb" case.
17638 Use `tramp-tmpdir', if defined for the respective method.
17639 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17641 * net/tramp-compat.el (top): Require 'shell.
17643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17644 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17645 `tramp-current-host'.
17646 (tramp-get-remote-tmpdir): Remove.
17648 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17649 `tramp-tmpdir' entries.
17650 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17651 (tramp-smb-handle-file-attributes): Ignore errors.
17652 (tramp-smb-wait-for-output): Check also for process end.
17654 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17656 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17657 when sending QUIT (bug#9312).
17659 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17661 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17662 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17663 occur-mode-display-occurrence.
17664 (occur-edit-mode): Add usage message.
17665 (occur-cease-edit): New command.
17666 (occur-after-change-function): Use text properties to find the
17667 position of the prefix text.
17668 (occur-engine): Set stickiness of prefix text properties.
17670 2011-09-17 Glenn Morris <rgm@gnu.org>
17672 * progmodes/etags.el (complete-tag):
17673 Fix call to completion-in-region. (Bug#9526)
17675 2011-09-17 Juri Linkov <juri@jurta.org>
17677 * textmodes/ispell.el (ispell-word): Add to the error message
17678 the word, ispell program name and current dictionary (bug#9121).
17679 (ispell-tex-arg-end): Capitalize "error" in the error message.
17681 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17683 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17686 2011-09-17 Juri Linkov <juri@jurta.org>
17688 * window.el (window-safe-min-height, window-safe-min-width):
17689 Fix typos (followup to bug#9522).
17691 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17693 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17695 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17697 * simple.el (line-move): If goal-column is set, move by logical
17698 lines, not by display lines. (Bug#971)
17699 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17700 to reflect the above change.
17702 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17704 * image.el (imagemagick-register-types): Use regexp-opt.
17706 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17708 * window.el (display-buffer-base-action): Rename from
17709 display-buffer-default-action. Make default value empty.
17710 (display-buffer-overriding-action): Convert to defvar.
17711 (display-buffer-fallback-action): New var.
17713 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17715 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17717 (package--add-to-archive-contents): If there is a duplicate entry
17718 with an older version, remove it.
17719 (package-menu-mark-delete, package-menu-mark-install)
17720 (package-menu-mark-unmark): Make unused args optional.
17721 (package-menu-mark-obsolete-for-deletion):
17722 Use package-menu-get-status instead of a regexp search.
17723 (package-menu-get-status): Use tabulated-list-entry.
17724 (package-menu-mark-upgrades): New command.
17725 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17726 (package-menu-execute): Do installation before deletion.
17727 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17728 instead of checking major-mode.
17729 (package-menu--find-upgrades): New function.
17731 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17733 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17734 passwords in the log buffer.
17735 (smtpmail-process-filter): Update the process marker so that the
17736 "broken by peer" status message is inserted in the right place.
17738 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17740 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17741 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17742 bibtex-completion-at-point-function.
17743 (bibtex-completion-at-point-function): Use them.
17745 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17747 * mpc.el (mpc-constraints-tag-lookup): New function.
17748 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17749 also to browser "album|playlist".
17751 2011-09-14 Juri Linkov <juri@jurta.org>
17753 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17754 (isearch-edit-string): Use length of `isearch-string' when
17755 `isearch-fail-pos' returns nil.
17756 (isearch-message): Remove duplicate code and call
17757 `isearch-fail-pos' with arg `t'.
17759 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17761 * replace.el (occur-mode-goto-occurrence): Don't force using other
17764 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17766 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17768 * window.el (display-buffer-window): Remove.
17769 (display-buffer-record-window): Use help-setup window parameter
17770 instead of variable display-buffer-window.
17771 (display-buffer-function, special-display-buffer-names)
17772 (special-display-function): Mention help-setup parameter instead
17773 of display-buffer-window in doc-string.
17774 * help.el (help-window-setup): New argument help-window.
17775 Use help-window-setup parameter instead of display-buffer-window.
17776 Reword some messages.
17777 (with-help-window): Pass window used for displaying the buffer
17778 to help-window-setup. Don't set display-buffer-window.
17780 2011-09-13 Glenn Morris <rgm@gnu.org>
17782 * emacs-lisp/debug.el (debugger-make-xrefs):
17783 Preserve point. (Bug#9462)
17785 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17787 * window.el (window-deletable-p): Use next-frame.
17789 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17791 * window.el (window-auto-delete): Remove.
17792 (window-deletable-p): Remove argument FORCE. Don't deal with
17793 dedication and previous buffers.
17794 (switch-to-prev-buffer): Don't delete window.
17795 (delete-windows-on): Delete a window's frame if and only if the
17796 window is dedicated.
17797 (replace-buffer-in-windows): Delete buffer's window or frame if
17798 and only if window is dedicated.
17799 (quit-window): Handle quit-restore as before last change.
17800 (bury-buffer): Delete window only if window-deletable-p returns t.
17802 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17804 * window.el (window-deletable-p): Never delete the last frame on a
17807 2011-09-13 Glenn Morris <rgm@gnu.org>
17809 * help.el (describe-key-briefly): Copy previous standard-output change.
17811 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17813 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17815 2011-09-13 Glenn Morris <rgm@gnu.org>
17817 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17818 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17820 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17822 * dired-aux.el (dired-mark-read-string): Don't return default
17823 value on empty input (Bug#9361).
17824 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17825 Omit initial minibuffer contents.
17826 (dired-do-chmod): Signal an error on empty input.
17827 (dired-mark-read-string): Don't return default on empty input.
17829 * files.el (file-modes-symbolic-to-number): Doc fix.
17831 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17833 * international/mule-cmds.el (ucs-completions): Remove.
17834 (read-char-by-name): Use complete-with-action instead; add metadata.
17836 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17838 * window.el (display-buffer--action-function-custom-type)
17839 (display-buffer--action-custom-type): New vars.
17840 (display-buffer-alist, display-buffer-default-action)
17841 (display-buffer-overriding-action): Add defcustom types.
17843 * frame.el (delete-other-frames): Doc fix (Bug#276).
17845 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17847 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17849 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17851 Change modes that used same-window-* vars to use switch-to-buffer.
17853 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17854 Use switch-to-buffer.
17856 * cus-edit.el (customize-group, custom-buffer-create)
17857 (customize-browse, custom-buffer-create-other-window):
17858 Use switch-to-buffer or switch-to-buffer-other-window.
17860 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17861 (Info-prev, Info-up, Info-speedbar-goto-node)
17862 (info-display-manual): Use switch-to-buffer.
17863 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17865 * mail/sendmail.el (mail): Use switch-to-buffer.
17866 (mail-recover): Use switch-to-buffer-other-window.
17868 * cmuscheme.el (run-scheme, switch-to-scheme):
17870 * shell.el (shell):
17871 * net/rlogin.el (rlogin):
17872 * net/telnet.el (telnet, rsh):
17873 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17875 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17877 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17879 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17881 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17882 so don't mention it (bug#9301).
17883 (dired-sort-toggle-or-edit): Clarify string further.
17885 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17886 match `x', `w32' and `ns', like the manual says (bug#9029).
17888 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17889 (process-kill-buffer-query-function): Mention the buffer name in
17892 * image-mode.el (image-next-line): The line parameter is mandatory
17895 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17896 which can be useful (bug#9301).
17898 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17900 * subr.el (match-string): Mention that the current buffer should
17901 be the same as the search was done in (bug#9282).
17903 * facemenu.el: Disable the remove-* commands if the mark isn't
17906 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17908 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17910 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17912 * replace.el (occur-mode-goto-occurrence)
17913 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17914 and display-buffer.
17916 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17919 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17920 special-display and same-window variables.
17921 (mail-other-window): Use switch-to-buffer-other-window.
17922 (mail-other-frame): USe switch-to-buffer-other-frame.
17924 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17925 Use display-buffer-other-frame.
17926 (gdb-display-gdb-buffer): Use pop-to-buffer.
17928 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17930 * progmodes/python.el: Don't set same-window-buffer-names.
17932 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17934 * window.el (display-buffer-alist): Add *Python*.
17936 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17938 * window.el (display-buffer-alist): Add entry for buffers
17939 previously handled same-window-*.
17940 (display-buffer-alist, display-buffer-default-action)
17941 (display-buffer-overriding-action): Mark as risky.
17942 (display-buffer-alist): Document action function changes.
17943 (display-buffer--same-window-action)
17944 (display-buffer--other-frame-action): New variables.
17945 (switch-to-buffer, display-buffer-other-frame): Use them.
17946 (display-buffer): Rename reuse-frame entry to reusable-frames.
17947 (display-buffer-reuse-selected-window): Function deleted.
17948 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17949 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17950 (display-buffer-special): New function.
17951 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17952 display-buffer-reuse-or-pop-window. Split off special-display
17953 part into display-buffer-special.
17954 (display-buffer-use-some-window): Don't perform any special
17955 pop-up-frames handling.
17956 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17957 (display-buffer--maybe-same-window): Rename from
17958 display-buffer-maybe-same-window.
17960 * info.el: Don't set same-window-regexps.
17961 (info-setup): New function.
17962 (info-other-window, info): Call it.
17964 * cus-edit.el: Don't set same-window-regexps.
17965 (customize-group): New argument.
17966 (customize-group-other-window): Use it.
17967 (customize-face, customize-face-other-window): Likewise.
17968 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17972 * progmodes/gud.el: Don't set same-window-regexps.
17977 * mail/sendmail.el:
17978 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17980 2011-09-10 Juri Linkov <juri@jurta.org>
17982 * isearch.el (isearch-edit-string): Remove obsolete mention of
17983 `C-w' (`isearch-yank-word-or-char') from docstring.
17984 (isearch-query-replace): Fix typo in docstring (bug#9466).
17986 2011-09-10 Juri Linkov <juri@jurta.org>
17988 * paren.el (show-paren-function): Don't show escaped parens.
17989 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17991 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17993 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17994 (mm-default-file-encoding): Remove autoload forms, they are
17995 replaced with autoload cookies in mml.el and mm-encode.el.
17996 (mail-add-attachment): New command.
17997 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17998 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18000 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18002 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18004 * simple.el (count-words-region): Use buffer if there's no region
18007 2011-09-09 Juri Linkov <juri@jurta.org>
18009 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18010 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18011 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18013 2011-09-09 Alan Mackenzie <acm@muc.de>
18015 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18016 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18018 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18020 Fix for Savannah bug#9392.
18021 * simple.el (mail-encode-mml): New defvar.
18023 * mail/rmail.el (mail-encode-mml): Add a defvar.
18024 (rmail-enable-mime-composing): Default to t.
18025 (rmail-forward): Use MIME method of forwarding only if both
18026 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18027 Set mail-encode-mml non-nil if the MIME method was used.
18029 * mail/sendmail.el (mml-to-mime): Add autoload form.
18030 (mail-encode-mml): Add a defvar.
18031 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18033 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18034 message through mml-to-mime, and reset mail-encode-mml to nil.
18036 2011-09-09 Glenn Morris <rgm@gnu.org>
18038 * woman.el (woman-if-body): When processing an .el block,
18039 do not delete the next .el block as well. (Bug#9447)
18040 (woman-special-characters): Add oq, cq, and hy characters.
18042 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18044 * window.el (window-deletable-p): Make sure window is live before
18045 invoking window-prev-buffers.
18047 2011-09-08 Leo Liu <sdl.web@gmail.com>
18049 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18051 2011-09-08 Juri Linkov <juri@jurta.org>
18053 * progmodes/compile.el (compilation-environment): Make it
18054 a defcustom (bug#8340).
18056 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18058 * window.el (frame-auto-delete): Rename to window-auto-delete.
18059 Make it control auto-deletion of windows and/or frames.
18060 (window-deletable-p): New argument FORCE. Rewrite conditions
18061 for deleting window/frame. (Bug#9419)
18062 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18063 Rewrite handling of case when window/frame can be deleted.
18064 (delete-windows-on): Call window-deletable-p with new FORCE
18065 argument t. (Bug#9456)
18067 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18069 * help-mode.el (help-mode): Restore autoload.
18071 2011-09-07 Juri Linkov <juri@jurta.org>
18073 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18074 `compilation-environment'. Set buffer-local
18075 `compilation-environment' to `thisenv' later after (funcall mode).
18078 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18079 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18080 instead of replacing its value. (Bug#8340)
18082 2011-09-07 Juri Linkov <juri@jurta.org>
18084 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18085 based on text properties put by `grep-filter' instead of matching
18087 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18088 to the value of `grep-error-screen-columns' (bug#9438).
18090 2011-09-07 Juri Linkov <juri@jurta.org>
18092 * simple.el (next-error-highlight, next-error-highlight-no-select):
18093 Doc fix (bug#9432).
18095 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18097 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18098 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18100 2011-09-07 Leo Liu <sdl.web@gmail.com>
18102 * net/rcirc.el (rcirc-mode): Conditionally initialize
18105 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18107 * emacs-lisp/find-func.el (find-function-C-source): Only set
18108 find-function-C-source-directory after checking that we found a source
18109 file there (bug#9440).
18111 2011-09-06 Alan Mackenzie <acm@muc.de>
18113 * isearch.el (isearch-other-meta-char): Wherever a key list is
18114 unread, "unread" the prefix arg, too. This fixes bug #8901.
18116 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18118 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18120 2011-09-05 Juri Linkov <juri@jurta.org>
18122 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18124 2011-09-05 Juri Linkov <juri@jurta.org>
18126 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18127 keeping point where processing of grep matches begins, and
18128 continue to delete remaining escape sequences from the same point.
18129 (grep-filter): Make leading zero optional in "0?1;31m" because
18130 git-grep emits "\033[1;31m" escape sequences unlike expected
18131 "\033[01;31m" as GNU Grep does (bug#9408).
18132 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18134 2011-09-05 Juri Linkov <juri@jurta.org>
18136 * subr.el (y-or-n-p): Capitalize "yes".
18138 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18140 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18141 `tramp-cache-unload-hook' where appropriate.
18142 (tramp-methods): Rename `tramp-remote-sh' to
18143 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18144 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18146 * net/tramp-sh.el (top): Don't require 'shell.
18147 (tramp-methods): Add `tramp-remote-shell' and
18148 `tramp-remote-shell-args' entries.
18149 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18150 (tramp-sh-handle-shell-command): Remove.
18151 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18152 Use `tramp-remote-shell'.
18154 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18156 * mail/sendmail.el (sendmail-query-once-function): Delete.
18157 (sendmail-query-once): Save directly to send-mail-function.
18158 Update message-send-mail-function too.
18160 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18162 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18164 * progmodes/python.el (python-mode-map): Use correct function to
18165 start python interpreter from menu-bar (as reported by Geert
18167 (inferior-python-mode-map): Fix typo.
18168 (python-shell-map): Remove.
18170 2011-09-03 Deniz Dogan <deniz@dogan.se>
18172 * net/rcirc.el (rcirc-print): Simplify code for
18173 rcirc-scroll-show-maximum-output. There is no need to walk
18174 through all windows to find the right one.
18176 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18178 * help.el (help-return-method): Doc fix.
18180 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18182 * window.el (window-deletable-p): Don't return a non-nil value
18183 when there's a buffer that was shown in the window before.
18185 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18186 Set window's previous buffers to nil.
18188 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18190 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18191 newline before and after the tag line, so it doesn't interfere
18192 with determining the paragraph direction of bidirectional text.
18194 2011-09-03 Leo Liu <sdl.web@gmail.com>
18196 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18198 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18200 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18201 (pop-to-buffer): Change interactive spec. Pass second argument
18202 directly to display-buffer.
18203 (display-buffer): Fix interactive spec. Use functionp to
18204 distinguish between a function and a list of functions.
18206 * abbrev.el (edit-abbrevs):
18207 * arc-mode.el (archive-extract):
18208 * autoinsert.el (auto-insert):
18209 * bookmark.el (bookmark-bmenu-list):
18210 * files.el (find-file):
18211 * view.el (view-buffer):
18212 * progmodes/compile.el (compilation-goto-locus):
18213 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18215 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18217 * window.el (display-buffer-alist): Doc fix.
18218 (display-buffer): Add docstring. Don't treat
18219 display-buffer-default specially.
18220 (display-buffer-reuse-selected-window)
18221 (display-buffer-same-window, display-buffer-maybe-same-window)
18222 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18223 (display-buffer-pop-up-window)
18224 (display-buffer-reuse-or-pop-window)
18225 (display-buffer-use-some-window): New functions.
18226 (display-buffer-default-action): Use them.
18227 (display-buffer-default): Delete.
18228 (pop-to-buffer-1): Fix choice of actions.
18230 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18232 * minibuffer.el (completion--insert-strings): Don't get confused by
18233 completion entries that end with an LF char.
18235 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18237 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18239 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18241 * window.el (display-buffer): Restore interactive spec.
18242 (display-buffer-same-window, display-buffer-other-window):
18244 (pop-to-buffer-1): New function. Use the above.
18245 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18246 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18248 * view.el (view-buffer-other-window, view-buffer-other-frame):
18249 Just use pop-to-buffer.
18251 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18253 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18255 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18257 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18259 2011-08-31 Richard Stallman <rms@gnu.org>
18261 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18262 of the separation of rmail-view-buffer from rmail-buffer.
18263 If you say no to "replace original", the decrypt is in the
18264 view buffer. If you say yes, the decrypt goes into the
18267 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18269 * window.el (display-buffer-window): Rewrite doc-string.
18270 (display-buffer-record-window): New function.
18271 (display-buffer-macro-specifiers)
18272 (display-buffer-even-window-sizes, display-buffer-set-height)
18273 (display-buffer-set-width, display-buffer-in-window)
18274 (display-buffer-reuse-window, display-buffer-split-specifiers)
18275 (display-buffer-side-specifiers, display-buffer-split-window-1)
18276 (display-buffer-split-window, display-buffer-split-atom-window)
18277 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18278 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18279 (display-buffer-other-window-means-other-frame)
18280 (display-buffer-normalize-special)
18281 (display-buffer-normalize-default)
18282 (display-buffer-normalize-argument)
18283 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18284 (display-buffer-normalize-specifiers, display-buffer-frame)
18285 (display-buffer-same-window, display-buffer-same-frame)
18286 (display-buffer-other-window)
18287 (display-buffer-same-frame-other-window)
18288 (display-buffer-other-frame, pop-to-buffer-same-window)
18289 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18290 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18291 (switch-to-buffer-same-frame)
18292 (switch-to-buffer-other-window-same-frame)
18293 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18294 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18295 (display-buffer-alist-set): Remove.
18296 (display-buffer-function, special-display-buffer-names)
18297 (special-display-regexps, special-display-function):
18298 In doc-string refer to display-buffer-window and quit-restore
18300 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18301 (special-display-frame-alist, special-display-popup-frame)
18302 (same-window-buffer-names, same-window-regexps, same-window-p)
18303 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18304 (split-window-preferred-function, split-height-threshold)
18305 (split-width-threshold, window-splittable-p)
18306 (split-window-sensibly, window--try-to-split-window)
18307 (window--frame-usable-p, even-window-heights)
18308 (window--even-window-heights, window--display-buffer-1)
18309 (window--display-buffer-2, display-buffer-other-frame):
18310 Restore old Emacs 23 code, order and doc-strings where applicable.
18311 (display-buffer-default, display-buffer-assq-regexp): New functions.
18312 (display-buffer-alist): Rewrite doc-string.
18313 (display-buffer-default-action)
18314 (display-buffer-overriding-action): New variables.
18315 (display-buffer, switch-to-buffer): Rewrite.
18316 (pop-to-buffer): Restore Emacs 23 behavior but use
18317 window-normalize-buffer-to-display.
18318 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18319 Restore Emacs 23 behavior but use
18320 window-normalize-buffer-to-switch-to.
18321 (pop-to-buffer-same-window): Rewrite.
18322 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18323 Rewrite using Emacs 23 options.
18325 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18327 * net/tramp.el (tramp-root-regexp): Remove.
18328 (tramp-completion-file-name-regexp-unified)
18329 (tramp-completion-file-name-regexp-separate)
18330 (tramp-completion-file-name-regexp-url): Don't use leading volume
18331 letter on w32 systems. (Bug#5303, Bug#9311)
18332 (tramp-drop-volume-letter): Simplify definition.
18333 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18335 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18337 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18340 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18342 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18344 2011-08-29 Juri Linkov <juri@jurta.org>
18346 * isearch.el (isearch-done): Don't display message "Mark saved"
18347 when arg `edit' is non-nil to prevent its flicker in the echo area.
18349 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18351 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18352 obsolete packages for deletion.
18354 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18356 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18357 (help-mode): Derive help-mode from special-mode. Don't invoke
18358 view-mode from help-mode.
18359 (help-xref-override-view-map): Remove.
18360 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18361 view-mode is not used anymore.
18363 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18365 * server.el (server-port): Doc fix.
18367 * cus-theme.el (custom-theme-choose-mode): Inherit from
18368 special-mode (Bug#9124).
18369 (custom-theme-choose-mode-map): Add special-mode to parent.
18371 2011-08-28 Alan Mackenzie <acm@muc.de>
18373 * progmodes/cc-fonts.el
18374 (c-make-font-lock-BO-decl-search-function): New function.
18375 (c-basic-matchers-after - "Fontify the clauses after various
18376 keywords"): Extract the three keyword lists for the 3 erroneous
18377 constructs from the list of four, and use the new function above
18378 in place of an old one.
18380 2011-08-28 Deniz Dogan <deniz@dogan.se>
18382 * net/rcirc.el (rcirc-insert-prev-input)
18383 (rcirc-insert-next-input): Remove unused argument.
18385 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18387 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18389 2011-08-27 Alan Mackenzie <acm@muc.de>
18391 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18392 handle function pointer parameters properly.
18394 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18396 * window.el (display-buffer-reuse-window): Fix case where
18397 selected window was reused with non-nil OTHER-WINDOW argument.
18400 2011-08-27 Deniz Dogan <deniz@dogan.se>
18402 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18403 oftc's NickServ messages.
18405 2011-08-27 Glenn Morris <rgm@gnu.org>
18407 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18409 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18411 * emacs-lisp/package.el (package-install): Call package-initialize
18412 if called interactively.
18414 2011-08-26 Leo Liu <sdl.web@gmail.com>
18416 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18418 2011-08-25 Juri Linkov <juri@jurta.org>
18420 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18421 `search-whitespace-regexp' (bug#9364).
18423 2011-08-25 Juri Linkov <juri@jurta.org>
18425 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18426 `regexp-search-ring' to their global values to protect from
18427 updating by `read-from-minibuffer' (bug#9185).
18429 2011-08-25 Juri Linkov <juri@jurta.org>
18431 * textmodes/ispell.el (ispell-command-loop): Add newline
18432 at the end of the "Use option `i'..." line.
18434 2011-08-25 Juri Linkov <juri@jurta.org>
18436 * battery.el (display-battery-mode): If `battery-status-function'
18437 or `battery-mode-line-format' is nil, display the message and set
18438 `display-battery-mode' to nil (bug#9363).
18440 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18442 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18443 bidi-string-mark-left-to-right; they are unnecessary now.
18445 2011-08-25 Deniz Dogan <deniz@dogan.se>
18447 * net/quickurl.el: Documentation typo fixes.
18449 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18451 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18453 2011-08-25 Glenn Morris <rgm@gnu.org>
18455 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18457 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18458 (smtpmail-via-smtp): Handle nil response from smtp.
18460 2011-08-24 Juri Linkov <juri@jurta.org>
18462 * proced.el (proced-marked): Inherit from `error' instead of
18463 `font-lock-warning-face'.
18465 * ibuffer.el (ibuffer-marked-face): Change default face from
18466 `font-lock-warning-face' to `warning'.
18467 (ibuffer-deletion-face): Change default face from
18468 `font-lock-type-face' to `error'.
18470 * battery.el (battery-update): Use the face `error' instead of
18471 `font-lock-warning-face' (bug#6117).
18473 2011-08-24 Juri Linkov <juri@jurta.org>
18475 * faces.el (success): Change face color from "Green3" to
18476 "ForestGreen" on light background (bug#9353).
18478 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18480 * window.el (quit-window): Rename from quit-restore-window.
18481 Use same arglist as old quit-window.
18482 (frame-auto-delete): Doc fix.
18484 * view.el (view-mode-exit): Use quit-window.
18486 2011-08-24 Juri Linkov <juri@jurta.org>
18488 * isearch.el (isearch-ring-adjust1): Start visiting previous
18489 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18490 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18491 for empty search string (when the last search string is reused
18492 automatically) to adjust the isearch ring to the last element and
18493 prepare the correct index for further M-p commands (bug#9185).
18495 2011-08-24 Kenichi Handa <handa@m17n.org>
18497 * international/ucs-normalize.el: If decomposition property of
18498 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18500 (nfd, nfkd): Likewise.
18502 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18505 from process filters aren't reliably transmitted to the surrounding
18506 accept-process-output.
18507 (mpc-proc-check): New function.
18508 (mpc-proc-sync): Use it (bug#8293)
18510 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18512 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18513 Add compatibility functions (bug#9313).
18515 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18517 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18519 * international/uni-bidi.el: Regenerate.
18521 2011-08-23 Kenichi Handa <handa@m17n.org>
18523 * international/charprop.el:
18524 * international/uni-bidi.el:
18525 * international/uni-category.el:
18526 * international/uni-combining.el:
18527 * international/uni-comment.el:
18528 * international/uni-decimal.el:
18529 * international/uni-decomposition.el:
18530 * international/uni-digit.el:
18531 * international/uni-lowercase.el:
18532 * international/uni-mirrored.el:
18533 * international/uni-name.el:
18534 * international/uni-numeric.el:
18535 * international/uni-old-name.el:
18536 * international/uni-titlecase.el:
18537 * international/uni-uppercase.el: Regenerate.
18539 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18541 * help.el (help-window-setup): Fix message displayed when other
18542 window is reused. (Bug#9341)
18544 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18546 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18547 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18549 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18551 * shell.el (shell-parse-pcomplete-arguments): New function.
18552 (shell-completion-vars): Use it instead (bug#9160).
18554 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18556 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18557 strings and comments (bug#9333).
18559 * emacs-lisp/debug.el (debug-arglist): New function.
18560 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18561 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18563 2011-08-22 Juri Linkov <juri@jurta.org>
18565 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18566 Revert regexp that highlights output switches to its old
18567 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18569 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18570 to check for empty output (bug#9226).
18572 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18574 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18575 symbol-constituent as the default, as that stops font-lock from
18576 working properly (Bug#8843).
18578 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18580 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18581 `coding-system-for-*' around the process open call to avoid
18582 auth-source side effects.
18583 (smtpmail-try-auth-methods): Expand the secret password.
18584 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18587 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18589 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18591 * emacs-lisp/find-func.el (find-function-noselect): New arg
18594 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18595 signal an error for built-in functions (Bug#6664).
18597 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18599 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18600 (smtpmail-try-auth-methods): Use it.
18602 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18604 * font-lock.el (font-lock-fontify-region)
18605 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18606 (font-lock-default-unfontify-buffer)
18607 (font-lock-default-fontify-region)
18608 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18610 * progmodes/compile.el (compilation-error-properties):
18611 Fix confusion between file struct and message struct (Bug#9319).
18612 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18615 * net/browse-url.el (browse-url-firefox): Don't call
18616 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18618 2011-08-20 Glenn Morris <rgm@gnu.org>
18620 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18622 * tutorial.el (tutorial--default-keys): Update some default bindings.
18624 * files.el (hack-local-variables): Fully ignore case for "mode:".
18626 2011-08-20 Alan Mackenzie <acm@muc.de>
18628 Resolve invalid use of a regexp in regexp-opt.
18630 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18631 detection for a java annotation.
18633 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18634 detection for a java annotation.
18636 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18638 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18640 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18642 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18645 2011-08-20 Alan Mackenzie <acm@muc.de>
18647 Fontify CPP expressions correctly when starting in the middle of
18648 such a construct. Mainly for when jit-lock etc. starts a chunk
18651 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18653 (c-make-font-lock-search-form): New function, extracted from
18654 c-make-font-lock-search-function.
18655 (c-make-font-lock-search-function): Use the above function.
18656 (c-make-font-lock-context-search-function): New function.
18657 (c-cpp-matchers): Enhance the preprocessor expression case with
18659 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18660 which takes an expression.
18662 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18664 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18666 * window.el (display-buffer-reuse-window)
18667 (display-buffer-pop-up-window): Don't reuse or split a side
18670 2011-08-19 Glenn Morris <rgm@gnu.org>
18672 * files.el (hack-local-variables-prop-line, hack-local-variables):
18673 Downcase "Mode:". (Bug#9331)
18675 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18677 * international/characters.el: Add L and R categories.
18679 * subr.el (bidi-string-mark-left-to-right): Rename from
18680 string-mark-left-to-right. Use category search.
18682 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18684 2011-08-18 Juri Linkov <juri@jurta.org>
18686 * faces.el (error, warning, success): New faces with definitions
18687 copied from old default values of `font-lock-warning-face',
18688 `compilation-warning', `compilation-info' (bug#6117).
18690 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18692 * progmodes/compile.el (compilation-error): Inherit from `error'.
18693 (compilation-warning): Inherit from `warning'.
18694 (compilation-info): Inherit from `success'.
18696 * dired.el (dired-marked): Inherit from `warning'.
18697 (dired-flagged): Inherit from `error'.
18699 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18701 * mail/smtpmail.el (auth-source): Require to avoid problems with
18702 binding variables (bug#9298). Also clean up some unused
18705 * net/network-stream.el (network-stream-open-starttls):
18706 Support using starttls.el without using gnutls-cli.
18708 2011-08-17 Juri Linkov <juri@jurta.org>
18710 * progmodes/grep.el (rgrep): Handle the case when
18711 `grep-find-command' is a cons cell (bug#9278).
18713 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18715 * window.el (display-buffer-pop-up-frame): Run frame creation
18716 function with BUFFER current (as special-display-popup-frame
18717 does). Reported by Drew Adams.
18719 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18721 * epa-mail.el: Simplify GnuPG group expansion using
18723 (epa-mail-group-alist, epa-mail-group-modtime)
18724 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18725 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18726 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18729 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18731 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18733 2011-08-16 Alan Mackenzie <acm@muc.de>
18735 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18736 Correct, to avoid the inside of macros.
18738 2011-08-16 Richard Stallman <rms@gnu.org>
18740 * epa-mail.el: Handle GnuPG group definitions.
18741 (epa-mail-group-alist, epa-mail-group-modtime)
18742 (epa-mail-gnupg-conf-file): New variables.
18743 (epa-mail-parse-groups, epa-mail-sync-groups)
18744 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18745 (epa-mail-expand-recipients): New functions.
18746 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18748 * mail/rmail.el (rmail-epa-decrypt): New command.
18750 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18751 Don't bind buffer-read-only, just inhibit-read-only.
18752 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18753 (epa-decrypt-armor-in-region): Make error message clearer.
18755 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18757 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18758 and "a2b" to "ab" for `prefix'.
18760 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18762 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18764 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18765 Fourquet (Bug#8804).
18767 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18769 * startup.el (argi): Declare as global variable (bug#9275).
18771 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18773 * subr.el (string-mark-left-to-right): Search the entire string
18774 for RTL script, not just the terminating character. Doc fix.
18776 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18778 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18780 (js--regexp-literal, js-syntax-propertize-function): Remove.
18781 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18782 (js-mode-map): Don't rebind electric keys.
18783 (js-insert-and-indent): Remove.
18784 (js-mode): Setup electric-layout and electric-indent instead.
18786 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18788 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18790 * epa.el (epa-progress-callback-function): Fix the logic of
18791 displaying progress.
18792 * epa-file.el (epa-file-insert-file-contents): Make progress
18793 display more user-friendly.
18794 (epa-file-write-region): Ditto.
18796 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18798 * subr.el (string-mark-left-to-right): New function.
18800 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18801 Use string-mark-left-to-right.
18802 (list-buffers-noselect): Caller changed.
18804 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18805 Use string-mark-left-to-right.
18806 (tabulated-list-print): Recenter after moving point.
18808 2011-08-10 Juri Linkov <juri@jurta.org>
18810 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18811 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18812 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18814 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18816 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18819 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18821 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18822 character. (Bug#6594)
18824 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18826 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18827 (image-dired--with-db-file): New macro.
18828 (image-dired-write-tags, image-dired-remove-tag)
18829 (image-dired-create-gallery-lists, image-dired-write-comments)
18830 (image-dired-get-comment, image-dired-mark-tagged-files)
18831 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18832 (image-dired-gallery-generate): Use insert-file-contents.
18834 * time.el (display-time-world-list, display-time-world-display):
18835 * time-stamp.el (time-stamp-string):
18836 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18837 set-time-zone-rule (Bug#7337).
18839 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18841 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18842 (epg-error-to-string, epg-errors-to-string): New function.
18843 (epg-wait-for-completion): Reverse errors list.
18844 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18845 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18846 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18847 (epg-sign-keys, epg-generate-key-from-file)
18848 (epg-generate-key-from-string): Format errors by using
18849 epg-errors-to-string (bug#9255).
18850 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18852 2011-08-07 Juri Linkov <juri@jurta.org>
18854 * faces.el (list-faces-display): Remove extra angle bracket
18855 from `help-mode-map'.
18857 * info.el (Info-history-toc-nodes): Doc fix.
18859 * longlines.el (longlines-mode): Doc fix.
18861 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18863 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18864 of statements and in a few more cases (bug#9183).
18866 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18868 (cl-transform-lambda): Use them (bug#9239).
18870 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18872 * window.el (display-buffer-same-window)
18873 (display-buffer-same-frame, display-buffer-other-window)
18874 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18875 (pop-to-buffer-other-window)
18876 (pop-to-buffer-same-frame-other-window)
18877 (pop-to-buffer-other-frame): Make them defuns.
18878 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18880 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18882 * subr.el (make-composed-keymap): Move from C. Change calling
18883 convention, and improve docstring to bring attention to a subtle point.
18884 * minibuffer.el (completing-read-default): Adjust accordingly.
18886 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18888 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18889 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18891 * net/trampver.el: Update release number.
18893 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18895 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18898 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18900 * mail/sendmail.el (sendmail-query-once): Restore the current
18901 buffer after querying (bug#9074).
18903 * dired.el (dired-flagged): Use different faces for marked and
18904 flagged files (bug#6117).
18906 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18909 * ido.el (ido-mode): Switch off the message if called
18912 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18913 before 587, since it appears that that's more likely to work for
18916 * cus-edit.el (custom-file): When running under emacs -q, always
18917 refuse to save the customizations, even if the .emacs file doesn't
18920 * info.el: Remove the `Info-beginning-of-buffer' function
18923 * net/network-stream.el (network-stream-open-starttls):
18924 Use `starttls-available-p' to see whether starttls.el can be used.
18926 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18928 * window.el (display-buffer-in-window): Don't set dedicated status
18929 of window here (Bug#9215).
18930 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18931 (display-buffer-pop-up-side-window)
18932 (display-buffer-in-side-window): Set dedicated status of window here.
18934 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18936 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18937 before binding generated-autoload-file.
18939 2011-08-01 Deniz Dogan <deniz@dogan.se>
18941 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18943 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18945 Sync with Tramp 2.2.2.
18947 * net/trampver.el: Update release number.
18949 2011-07-30 Juri Linkov <juri@jurta.org>
18951 * dired-aux.el (dired-touch-initial): Remove function.
18952 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18953 current time, and `default' to the last modification time of the
18954 current marked file (bug#6887).
18956 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18958 * simple.el (goto-line): Use string-to-number to provide a
18959 numeric argument to read-number (bug#9163).
18961 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18963 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18964 connection process, it could be nil.
18966 2011-07-27 Leo Liu <sdl.web@gmail.com>
18968 Simplify url handling in rcirc-mode.
18970 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18971 (rcirc-browse-url-at-mouse): Remove.
18972 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18974 2011-07-26 Alan Mackenzie <acm@muc.de>
18976 Fontify bitfield declarations properly.
18978 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18979 (c-symbol-chars): Now exported as a lang variable.
18980 (c-not-primitive-type-keywords): New lang variable.
18982 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18983 QT keyword "more" to prevent "more slots: ...." being spuriously
18984 parsed as a bitfield declaration.
18986 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18987 Refactor and enhance to handle bitfield declarations.
18988 (c-punctuation-in): New function.
18989 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18990 declarations properly.
18992 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18994 * calendar/icalendar.el (icalendar--all-events): Take care of
18995 multiple vcalendars in a single file.
18996 (icalendar--convert-float-to-ical): Checkdoc fixes.
18998 2011-07-25 Deniz Dogan <deniz@dogan.se>
19000 * image.el (insert-image): Clarifying docstring.
19002 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19004 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19005 `tramp-send-command-and-check' if there is no error.
19006 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19008 2011-07-22 Alan Mackenzie <acm@muc.de>
19010 Prevent cc-langs.elc being loaded at run time.
19012 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19015 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19016 "(require 'cc-langs)". Quote a form so it will evaluate at
19017 (cc-mode's) compilation time.
19019 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19021 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19022 loading. (Bug#9114)
19024 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19026 * window.el (display-buffer-pop-up-window)
19027 (display-buffer-pop-up-side-window)
19028 (display-buffer-in-side-window): Call display-buffer-set-height
19029 and display-buffer-set-width after setting the new window's
19030 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19032 2011-07-20 Sam Steingold <sds@gnu.org>
19034 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19035 (etags-tags-included-tables): Call `convert-standard-filename' on
19036 the file names contained in TAGS so that windows Emacs can handle
19037 TAGS files created by cygwin ctags.
19039 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19041 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19042 which apparently didn't work.
19044 2011-07-19 Roland Winkler <winkler@gnu.org>
19046 * proced.el (proced-send-signal): For *Marked Processes* buffer
19047 put point at beginning of buffer.
19049 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19051 * proced.el (proced-format): Make header lines align with the text
19054 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19056 * view.el (view-buffer): Allow running in `special' modes if we're
19057 visiting a file (bug#8615).
19059 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19061 * window.el (display-buffer-alist-of-strings-p)
19062 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19064 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19067 2011-07-18 Alan Mackenzie <acm@muc.de>
19069 Fontify declarators properly when, e.g., a jit-lock chunk begins
19070 inside a declaration.
19072 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19074 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19076 (c-complex-decl-matchers): Insert reference to
19077 c-font-lock-enclosing-decls.
19079 * progmodes/cc-engine.el (c-backward-single-comment):
19080 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19081 to nil around calls to (forward-comment -1).
19083 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19085 * image.el (put-image): Doc typo fix.
19087 * progmodes/etags.el (tags-search): Doc typo fix.
19089 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19090 password if we get errors 550 to 554.
19092 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094 * net/gnutls.el (gnutls-log-level): Remove.
19096 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19097 indentation character (bug#6380).
19099 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19101 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19102 to clarify what the problem is (bug#4291).
19104 * simple.el (current-kill): Clarify what
19105 `interprogram-paste-function' does (bug#7500).
19106 (auto-fill-mode): Document `auto-fill-function' in relation to
19107 `auto-fill-mode' (bug#2470).
19109 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19111 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19112 method if slot is read-only (bug#9035).
19114 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19116 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19117 * window.el (pop-to-buffer): Select window used even if it was
19118 selected before, see discussion of (Bug#8615), (Bug#6954).
19119 Pass argument NORECORD on to select-frame-set-input-focus.
19121 2011-07-15 Glenn Morris <rgm@gnu.org>
19123 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19126 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19128 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19129 (gnutls-negotiate): Use it.
19131 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19133 * net/gnutls.el (gnutls-negotiate):
19134 Upcase `gnutls-algorithm-priority'.
19136 2011-07-15 Glenn Morris <rgm@gnu.org>
19138 * jka-compr.el (jka-compr-verbose): Move from here...
19139 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19140 Add missing :version tag.
19141 * info.el: No need to require jka-compr when compiling.
19143 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19145 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19146 (gnutls-negotiate): Use it.
19148 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19150 * info.el (Info-beginning-of-buffer): New command.
19151 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19152 announcing `b' as the key (bug#8325).
19153 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19155 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19157 * international/mule-cmds.el
19158 (describe-specified-language-support): Make the error message
19159 clearer (bug#8905).
19161 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19163 * isearch.el (isearch-barrier): Add a doc string, since it's
19164 mentioned in a function doc string (bug#8678).
19166 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19168 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19169 buffer argument (Bug#9083) and self-identifying label argument.
19171 2011-07-15 Glenn Morris <rgm@gnu.org>
19173 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19175 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19177 * man.el (Man-fontify-manpage): Fix message when formatting the
19178 man page (bug#7929).
19180 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19182 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19183 argument LRM; if non-nil, append an invisible LRM character to the
19185 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19186 last argument non-nil, when formatting buffer names.
19187 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19188 paragraph direction.
19190 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19192 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19193 the man page name (bug#7929).
19195 * image.el (put-image): Mention the `put-image' overlay property
19198 * scroll-bar.el (set-scroll-bar-mode): Mention that
19199 `scroll-bar-mode' lists the values (bug#7772).
19201 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19202 command (bug#7729).
19204 * rect.el (apply-on-rectangle): Return the point after the last
19206 (string-rectangle): Go to the point after the last operation
19209 * printing.el (pr-toggle-region): Clarify the documentation
19210 slightly (bug#7493).
19212 * time.el (display-time-update):
19213 Allow `display-time-mail-function' to return nil (bug#7158).
19214 Fix suggested by Detlev Zundel.
19216 * vc/diff.el (diff): Clarify the order the file names are read
19219 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19220 the doc string (bug#7015).
19222 * font-lock.el (font-lock-maximum-decoration): Mention what
19223 numeric levels mean (bug#6935).
19225 * startup.el (initial-buffer-choice): Don't mention the `none'
19226 selection, which is against policy.
19228 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19230 * window.el (display-buffer-normalize-special):
19231 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19233 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19235 * subr.el (version<, version<=, version=): Mention "-CVS" and
19236 "-12345" alpha version numbers.
19238 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19240 * bindings.el: Add advertised binding for set-mark-command
19243 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19245 * bindings.el (mode-line-other-buffer):
19246 * bookmark.el (bookmark-bmenu-2-window):
19247 * bs.el (bs-cycle-next, bs-cycle-previous):
19248 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19251 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19254 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19256 * follow.el (follow-debug-message, follow-redisplay):
19257 * jka-cmpr-hook.el (with-auto-compression-mode):
19258 Fix typos in docstrings.
19260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19262 * subr.el (with-silent-modifications): Clarify somewhat what the
19263 macro inhibits (bug#6525).
19265 * simple.el (eval-expression): Note what it does if called
19266 interactively (bug#6495).
19268 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19270 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19271 Use pop-to-buffer buffer-or-name if it is nil.
19273 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19274 Remove switch-to-buffer.
19276 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19278 * files.el (make-directory): Clarify that an error will be raised
19279 if there's an error (bug#6397).
19281 * startup.el (initial-buffer-choice): Add `none' as a choice
19284 * subr.el (add-hook): Clarify section about buffer-local hooks
19287 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19289 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19291 * tabify.el (untabify): Preserve the current column so that point
19292 doesn't move (bug#6032).
19294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19296 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19297 Rewrite to avoid awkward possessive "s" (bug#5986).
19299 2011-07-13 Glenn Morris <rgm@gnu.org>
19301 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19302 (dired-insert-directory): Give a message the first time
19303 if ls is found not to support --dired.
19305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19307 * simple.el (toggle-truncate-lines): Clarify what is toggled
19308 (bug#5580). Text by Drew Adams.
19310 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19312 * simple.el (blink-matching-open): Make the error message from the
19313 last change less verbose.
19315 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19317 * font-lock.el (font-lock-comment-face): Use the high contrast
19318 "yellow" color for font-lock-comment-face on low color terminals
19319 using a dark background color (bug#4221).
19321 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19323 * dired.el (dired-insert-set-properties): Make the doc string
19324 reflect what it does now (bug#5325).
19326 * simple.el (blink-matching-open): Say that we were unable to find
19327 the match within the limit, if we're limited (bug#5122).
19329 * international/mule-cmds.el (prefer-coding-system): Add an
19330 example (bug#4869).
19332 * progmodes/etags.el (tags-search): Document `file-list-form'
19335 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19337 * net/browse-url.el (browse-url-default-browser)
19338 (browse-url-browser-function): Make the default browser choice a
19339 bit more logical (bug#4300). Also clean up the doc string.
19341 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19343 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19344 binary endings (bug#4440).
19346 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19348 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19349 which can be pretty annoying (bug#8971).
19351 * jka-compr.el (jka-compr-verbose): New variable, and use
19352 throughout (bug#8971).
19354 * info.el (Info-find-file): Fall back on the installation
19355 directory if we can't find the info node anywhere else.
19357 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19359 * vc/vc.el (vc-revert-file):
19360 Don't set file time-stamp in the past. (Bug#5181)
19362 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19364 * files.el (after-find-file): Give a better error message when
19365 trying to find a symlink that points to a file that doesn't exist
19368 * progmodes/cc-vars.el: Remove (probably) misleading comment
19371 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19373 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19375 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19377 * mouse-sel.el: Hack restoring functionality, while keeping
19378 compatibility with 2010-07-03 changes to mouse selection.
19379 (mouse-sel-primary-overlay): New var.
19380 (mouse-sel-selection-alist): Use it.
19381 (mouse-sel-mode): Doc fix; remove points that are default features
19384 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19386 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19387 Fix previous fix (bug#2490).
19389 2011-07-12 Roland Winkler <winkler@gnu.org>
19391 * textmodes/bibtex.el (bibtex-initialize):
19392 Use pop-to-buffer-same-window.
19393 (bibtex-search-entries): Fix interactive call.
19395 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19398 Fontise bytecomp Error lines more correctly (bug#2490).
19399 Fix suggested by Johan Bockgård.
19401 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19403 * dired-x.el (dired-guess-default): Use `delete-dups'.
19405 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19407 * dired.el (dired-mark-prompt):
19408 * dired-aux.el (dired-read-shell-command): Doc fix.
19410 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19412 * mail/sendmail.el (sendmail-query-once):
19413 Use `customize-save-variable' unconditionally, now that it works under
19416 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19418 * cus-edit.el (custom-file): Take an optional no-error variable.
19419 (customize-save-variable): Set the variable, and give a warning if
19420 running under "emacs -q".
19422 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19424 * loadhist.el (unload-feature-special-hooks):
19425 Add `auto-coding-functions', `fill-nobreak-predicate' and
19426 `find-directory-functions' (bug#5327).
19428 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19430 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19432 * cus-edit.el (custom-guess-name-alist): -alist variables should
19433 use the `alist' type (bug#3120). Suggested by Drew Adams.
19435 * printing.el: Add documentation to all the `pr-toggle-' commands.
19437 2011-07-11 Leo Liu <sdl.web@gmail.com>
19439 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19440 backends where it makes sense (bug#2623).
19442 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19444 * dired-x.el (dired-guess-default): Remove duplicate shell command
19445 entries (bug#2028).
19446 (dired-guess-default): Fix grammar in doc string (bug#2028).
19447 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19449 * subr.el (remove-duplicates): New conveniency function.
19451 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19453 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19456 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19458 * window.el (display-buffer-normalize-default): Don't invert
19459 meaning of even-window-heights. Reported by Eli Zaretskii
19462 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19464 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19466 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19468 * window.el (display-buffer): Fix arguments to
19469 display-buffer-reuse-window in last change.
19471 * faces.el (link): Use a less saturated blue on light backgrounds.
19473 * startup.el (fancy-startup-text, fancy-about-text)
19474 (fancy-startup-tail): Use font-lock faces, for background safety.
19476 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19478 * emulation/viper-cmd.el (viper-change-state-to-vi):
19479 Limit triggering of abbrev expansion (Bug#9038).
19481 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19483 * window.el (display-buffer-default-specifiers): Remove.
19484 (display-buffer-macro-specifiers): Remove default specifiers.
19485 (display-buffer-alist): Default to nil.
19486 (display-buffer-reuse-window): New optional argument other-window.
19487 (display-buffer-pop-up-window): Allow splitting internal
19488 windows. Check whether a live window was created.
19489 (display-buffer-other-window-means-other-frame)
19490 (display-buffer-normalize-arguments): Rename to
19491 display-buffer-normalize-argument and rewrite. Set the
19492 other-window specifier.
19493 (display-buffer-normalize-special): New function.
19494 (display-buffer-normalize-options): Rename to
19495 display-buffer-normalize-default and rewrite.
19496 (display-buffer-normalize-options-inhibit): Remove.
19497 (display-buffer-normalize-specifiers): Rewrite.
19498 (display-buffer): Process other-window specifier and call
19499 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19501 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19502 (display-buffer-alist-set): Don't handle 'unset default values.
19503 (display-buffer-in-window, display-buffer-alist-set):
19504 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19505 <tassilo@member.fsf.org>.
19507 2011-07-09 Leo Liu <sdl.web@gmail.com>
19509 * register.el (insert-register): Restore accidental change on
19510 2011-06-26. (Bug#9028)
19512 2011-07-09 Glenn Morris <rgm@gnu.org>
19514 * subr.el (remq): Handle the empty list. (Bug#9024)
19516 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19518 * mail/sendmail.el (send-mail-function): No longer delay custom
19520 * custom.el (custom-initialize-delay): Doc fix.
19522 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19524 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19526 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19528 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19529 human-friendly prompt.
19531 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19533 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19534 provided by a particular plugin.
19536 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19538 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19539 save customizations (with "emacs -Q"), just set the variable
19540 instead of erroring out.
19542 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19544 2011-07-08 Juri Linkov <juri@jurta.org>
19546 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19547 (archive-zip-update-case): Use 7z if found by `executable-find'.
19548 The order of searching the available programs is the same as in
19549 `archive-zip-extract' (bug#8968).
19551 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19553 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19554 (menu-bar-options-menu): Tweak descriptions.
19556 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19558 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19559 menu items into verb phrases (bug#1421). Also refill to fit under
19562 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19564 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19565 (Info-read-node-name): Doc fix (Bug#1084).
19567 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19568 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19569 (end-of-sexp, beginning-of-sexp)
19570 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19571 (forward-symbol, forward-same-syntax, word-at-point)
19572 (sentence-at-point): Doc fix (Bug#1144).
19574 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19576 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19577 should cover it (bug#1281).
19579 * cus-edit.el (custom-show): Mark as obsolete.
19581 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19582 negotiation fails, then possibly try again with a non-encrypted
19583 connection (bug#9017).
19585 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19588 2011-07-07 Richard Stallman <rms@gnu.org>
19590 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19591 property, and handle its changed format.
19592 Look for the correct line number.
19593 Use file's line contents (but not past first =) to find
19594 correct line in message.
19596 2011-07-07 Kenichi Handa <handa@m17n.org>
19598 * international/characters.el (build-unicode-category-table):
19600 (unicode-category-table): Set it by unicode-property-table-internal.
19602 * international/mule-cmds.el (char-code-property-alist): Move to
19604 (get-char-code-property): Call unicode-property-table-internal to
19605 load a file. Call get-unicode-property-internal where necessary.
19606 (put-char-code-property): Call unicode-property-table-internal to
19607 load a file. Call put-unicode-property-internal where necessary.
19608 put-unicode-property-internal where necessary.
19609 (char-code-property-description):
19610 Call unicode-property-table-internal to load a file.
19612 * international/charprop.el:
19613 * international/uni-bidi.el:
19614 * international/uni-category.el:
19615 * international/uni-combining.el:
19616 * international/uni-comment.el:
19617 * international/uni-decimal.el:
19618 * international/uni-decomposition.el:
19619 * international/uni-digit.el:
19620 * international/uni-lowercase.el:
19621 * international/uni-mirrored.el:
19622 * international/uni-name.el:
19623 * international/uni-numeric.el:
19624 * international/uni-old-name.el:
19625 * international/uni-titlecase.el:
19626 * international/uni-uppercase.el: Regenerate.
19628 * loadup.el: Load international/charprop.el before
19629 international/characters.
19631 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19633 * window.el (next-buffer, previous-buffer): Signal an error if
19634 called from a minibuffer window.
19636 * bindings.el: Revert 2011-07-04 change.
19638 2011-07-06 Richard Stallman <rms@gnu.org>
19640 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19641 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19642 Treat markers like ints.
19643 (rmail-mime-entity): Doc fix.
19645 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19647 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19648 defcustom again for backwards compatibility.
19650 * simple.el (shell-command-on-region): Fill.
19652 * dired-aux.el (dired-kill-line): Add a doc string.
19654 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19655 to "\\sw\\|\\s_" (bug#358).
19657 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19658 (dired-unmark-backward): Ditto.
19659 (dired-flag-backup-files): Ditto.
19661 * dired-x.el (dired-mark-sexp): Ditto.
19663 2011-07-06 Richard Stallman <rms@gnu.org>
19665 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19666 (rmail-mime-entity): New arg TRUNCATED.
19667 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19669 (rmail-mime-save): Warn if entity is truncated.
19670 (rmail-mime-toggle-hidden): Likewise, for showing.
19671 (rmail-mime-process-multipart): Record when an entity is truncated.
19673 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19674 if ENTITY is a string.
19676 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19678 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19679 of faces when `M-C-x'-ing their definitions (bug#8378).
19680 Also clean up the code slightly.
19682 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19683 because that makes the colors go away.
19685 * mail/sendmail.el (send-mail-function): Change the default to
19686 `sendmail-query-once'.
19687 (sendmail-query-once): Add an autoload cookie.
19689 * net/network-stream.el (network-stream-open-starttls): Try using
19690 a plain connection even if the server offered STARTTLS, and we
19691 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19692 capability. This should make smtpmail.el work in slightly more
19695 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19697 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19699 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19701 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19703 * progmodes/sql.el: Version 3.0
19704 (sql-product-alist): Add product :completion-object,
19705 :completion-column, and :statement attributes.
19706 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19707 (sql-mode-syntax-table): Mark all punctuation.
19708 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19710 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19711 (sql-mode-oracle-font-lock-keywords): Improve.
19712 (sql-oracle-show-reserved-words): New function for development.
19713 (sql-product-font-lock): Simplify for source code buffers.
19714 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19716 (sql-highlight-product): Set product specific syntax table.
19717 (sql-mode-map): Add statement movement functions.
19718 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19720 (sql-statement-regexp, sql-beginning-of-statement)
19721 (sql-end-of-statement, sql-signum): New functions.
19722 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19723 (sql-show-sqli-buffer): Bug fix.
19724 (sql-interactive-mode): Store connection data as buffer local.
19725 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19726 with sql-interactive-mode.
19727 (sql-save-connection): Save buffer local settings.
19728 (sql-connection-menu-filter): Change menu entry name.
19729 (sql-product-interactive): Bug fix.
19730 (sql-preoutput-hold): New variable.
19731 (sql-interactive-remove-continuation-prompt): Bug fixes.
19732 (sql-debug-redirect): New variable.
19733 (sql-str-literal): New function.
19734 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19736 (sql-oracle-save-settings, sql-oracle-restore-settings)
19737 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19738 (sql-completion-object, sql-completion-column)
19739 (sql-completion-sqlbuf): New variables.
19740 (sql-build-completions-1, sql-build-completions)
19741 (sql-try-completion): New functions.
19742 (sql-read-table-name): Use them.
19743 (sql-contains-names): New buffer local variable.
19744 (sql-list-all, sql-list-table): Use it.
19745 (sql-oracle-completion-types): New variable.
19746 (sql-oracle-completion-object, sql-sqlite-completion-object)
19747 (sql-postgres-completion-object): New functions.
19749 2011-07-06 Glenn Morris <rgm@gnu.org>
19751 * window.el (pop-to-buffer): Doc fix.
19753 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19755 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19757 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19759 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19761 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19763 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19765 * button.el (button): Inherit from link face. Suggested by Dan
19768 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19770 * progmodes/gdb-mi.el: Fit in 80 columns.
19771 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19774 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19775 if imenu is simply not configured (bug#8941).
19777 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19779 * allout.el (allout-post-undo-hook): New allout outline-change
19780 event hook to signal undo activity.
19781 (allout-post-command-business): Run allout-post-undo-hook if an
19782 undo just occurred.
19783 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19784 * allout-widgets.el (allout-widgets-after-undo-function):
19785 Ensure the integrity of the current item's decoration after it has been
19786 in the vicinity of an undo.
19787 (allout-widgets-mode): Include allout-widgets-after-undo-function
19788 on the new allout-post-undo-hook.
19790 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19792 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19793 Let define-derived-mode define it.
19794 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19795 cycles of abbrev-table inheritance (bug#8998).
19797 2011-07-05 Roland Winkler <winkler@gnu.org>
19799 * textmodes/bibtex.el: Add support for biblatex.
19800 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19801 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19802 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19803 (bibtex-entry-alist, bibtex-field-alist): New variables.
19804 (bibtex-entry-field-alist): Obsolete alias for
19805 bibtex-BibTeX-entry-alist.
19806 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19807 (bibtex-set-dialect): New command.
19808 (bibtex-entry-type, bibtex-entry-head)
19809 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19810 Bind via bibtex-set-dialect.
19811 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19812 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19813 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19814 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19815 Define via bibtex-set-dialect.
19816 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19817 Obey bibtex-no-opt-remove-re.
19818 (bibtex-vec-push, bibtex-vec-incr): New functions.
19819 (bibtex-format-entry, bibtex-field-list)
19820 (bibtex-print-help-message, bibtex-validate)
19821 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19823 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19825 * progmodes/compile.el (compilation-goto-locus):
19826 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19827 * bs.el (bs-cycle-next, bs-cycle-previous):
19828 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19829 * bindings.el (mode-line-other-buffer):
19830 * autoinsert.el (auto-insert):
19831 * arc-mode.el (archive-extract):
19832 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19834 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19836 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19837 Fix check of `emacs-lock-unlockable-modes'.
19838 Coerce true values of `emacs-lock--try-unlocking' to t.
19840 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19842 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19843 * emacs-lock.el: New file.
19845 2011-07-05 Julien Danjou <julien@danjou.info>
19847 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19848 than `boundp' to check if face is set.
19850 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19852 * register.el (registerv-make):
19853 * window.el (window-min-height): Fix typos in docstrings.
19855 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19857 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19860 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19862 * server.el (server-execute): Catch quit and call
19863 `server-return-error' to pass the error back to emacsclient and
19864 close the connection (bug#8942).
19866 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19868 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19869 insecure exception for current topic. Also note that auto-saves
19870 are handled differently.
19872 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19873 State variables for tracking auto-save inhibition situation.
19875 (allout-write-contents-hook-handler): Rename from
19876 'allout-write-file-hook-handler', and describe how it depends on
19877 write-contents-functions sensitivity to non-nil value to prevent
19880 (allout-auto-save-hook-handler): Remove. auto-save does not check
19881 this in individual buffers, only in the starting buffer, so this
19882 is not the right way for us to inhibit auto-save in a buffer
19883 according to its condition.
19885 (allout-mode): Use new allout-write-contents-hook-handler, and
19886 only with write-contents-functions. Remove auto-save provisions -
19887 they're implemented elsewhere.
19889 (allout-before-change-handler): If undo is in progress, note that
19890 for attention of allout-post-command-business.
19892 (allout-post-command-business): If the command we're following was
19893 an undo, check for change in the status of encrypted items and
19894 adjust auto-save inhibitions accordingly.
19896 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19897 according to whether there are or aren't any plain-text topics
19898 pending encryption.
19900 (allout-inhibit-auto-save-info-for-decryption):
19901 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19902 if there are plain-text topics pending encryption.
19904 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19905 buffer-saved-size and some allout state to not inhibit auto-saves
19906 if there are no longer any plain-text topics pending encryption.
19908 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19909 No longer provide for exemption of the current topic.
19911 2011-07-04 Juri Linkov <juri@jurta.org>
19913 Add 7z operations to delete and save changed members (bug#8968).
19914 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19916 (archive-7z-write-file-member): New function.
19917 (archive-7z-summarize): Fix the number of dashes in the
19920 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19922 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19925 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19927 * bindings.el: Ignore next-buffer and previous-buffer in
19928 minibuffer-local-map.
19930 * font-lock.el (font-lock-builtin-face): Change light background
19931 color to dark slate blue (Bug#6693).
19933 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19935 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19937 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19939 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19940 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19941 Add switch-to-buffer.
19943 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19945 * isearch.el (isearch-search-fun-function): Clarify further the
19946 meaning of the function returned.
19948 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19950 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19952 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19953 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19955 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19956 `tramp-default-remote-path' does not exist.
19957 (tramp-send-command-and-read): New optional argument NOERROR.
19958 (tramp-open-connection-setup-interactive-shell)
19959 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19960 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19961 (tramp-process-sentinel): Flush also process' connection property.
19962 (tramp-sh-handle-start-file-process): Do not set process
19963 sentinel. It is done now ...
19964 (tramp-maybe-open-connection): ... here. (Bug#8929)
19966 2011-07-04 MON KEY <monkey@sandpframing.com>
19968 * play/animate.el (animate-string): Doc fixes and allow changing
19969 the buffer name (bug#5417).
19971 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19973 * play/animate.el (animation-buffer-name): Rename from *animate*.
19975 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19977 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19978 This is simpler and helps future-proof the code.
19979 (timer-until): Use time-subtract and float-time.
19980 (timer--time-less-p): Use time-less-p.
19982 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19984 * type-break.el (timep): Use the value of `float-time' to avoid a
19985 byte-compiler warning.
19987 * server.el (server-eval-and-print): Return any result, even nil.
19989 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19991 * type-break.el: Accept time formats that the builtins accept.
19992 (timep, type-break-time-difference): Accept any format that
19993 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19994 This is simpler and helps future-proof the code.
19995 (type-break-time-difference): Round rather than ignoring
19996 subseconds components.
19998 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20000 * info.el (Info-apropos-matches): Make non-interactive, since it
20001 doesn't seem to do anything useful as a command (bug#8829).
20003 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20005 * frame.el (frame-background-mode, frame-set-background-mode):
20006 Move from faces.el.
20007 (frame-default-terminal-background): New function.
20009 * custom.el (custom-push-theme): Don't record faces in `changed'
20010 theme; this doesn't work correctly for per-frame face settings.
20011 (disable-theme): Use face-set-after-frame-default to reset faces.
20012 (custom--frame-color-default): New function.
20014 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20016 * dired.el (dired-flagging-regexp): Remove unused variable
20019 2011-03-29 Kevin Ryde <user42@zip.com.au>
20021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20022 `perl-Test2' extend to match possible "fail #N" rep count
20025 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20027 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20028 `smtpmail-via-smtp' now returns the error instead of nil.
20030 * isearch.el (isearch-search-fun-function): Clarify the doc string
20033 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20035 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20036 unnecessary spaces (bug#8987).
20038 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20040 * net/network-stream.el (open-network-stream): Use the
20041 :end-of-capability command thoughout.
20043 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20045 * net/network-stream.el (open-network-stream): Add the
20046 :end-of-capability command parameter, used by pop3.el.
20048 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20050 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20052 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20053 for list)" (bug#6475).
20055 * files.el (file-expand-wildcards): Ignore non-readable
20056 sub-directories while trying to find matches instead of signaling
20057 an error (bug#6297).
20059 * man.el (Man-reference-regexp): Allow matching possible
20060 word-wrapped references (bug#6289).
20062 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20063 for consistency with the other vc buffers (bug#6197).
20064 (vc-checkin): Ditto.
20066 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20068 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20070 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20072 * custom.el (defcustom): Clarify that :set is only used in the
20073 Customize user interface (bug#6089).
20075 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20076 associated with a file, refuse to run instead of erroring out
20079 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20080 the doc string, since it appears that using `fill-column' always
20081 controls the width (bug#7845).
20083 * simple.el (shell-command-on-region): Say where the error output
20084 went if `shell-command-default-error-buffer' is set (bug#6857).
20086 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20088 * allout.el (allout-yank-processing): Adjust cursor position for
20089 backwards-deleted space.
20091 (allout-rebullet-heading): Register changes with
20092 allout-exposure-changed-hook, so the modified topic is properly
20095 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20097 * minibuffer.el (completion-in-region): Document PREDICATE
20100 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20101 of keyword/argument pairs (bug#6904).
20103 * replace.el (multi-occur):
20104 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20106 2011-07-02 Drew Adams <drew.adams@oracle.com>
20108 * dired.el (dired-mark-if): Make the message about whether it's
20109 marking or unmarking clearer (bug#8523).
20111 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20113 * disp-table.el (display-table-print-array): New function.
20114 (describe-display-table): Use it to print the vectors more pretty
20117 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20119 * window.el (window-state-get-1): Don't assign clone numbers.
20120 Add clone-of item to list of window parameters.
20121 (window-state-put-2): Don't process clone numbers.
20122 (display-buffer-alist): Fix doc-string.
20124 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20126 * subr.el (remq): Don't allocate if it's not needed.
20127 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20128 (keymap--merge-bindings): New functions.
20129 (keymap-canonicalize): Use them to refine the canonicalization.
20130 * minibuffer.el (minibuffer-local-completion-map)
20131 (minibuffer-local-must-match-map): Move initialization from C.
20132 (minibuffer-local-filename-completion-map): Move initialization from C;
20133 don't inherit from anything here.
20134 (minibuffer-local-filename-must-match-map): Make obsolete.
20135 (completing-read-default): Use make-composed-keymap to combine
20136 minibuffer-local-filename-completion-map with either
20137 minibuffer-local-must-match-map or
20138 minibuffer-local-filename-completion-map.
20140 2011-07-01 Glenn Morris <rgm@gnu.org>
20142 * type-break.el (type-break-time-sum): Use dolist.
20144 * textmodes/flyspell.el (flyspell-word-search-backward):
20145 Replace CL function.
20147 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20149 * mouse.el (mouse--strip-first-event): New function.
20150 (function-key-map): Use it to map fringe clicks to normal clicks
20153 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20154 (vc-bzr-revision-completion-table): Add support for annotate and date.
20156 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20157 inherit from parent.
20159 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20161 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20162 (dired-show-file-type): Doc fixup (bug#8818).
20164 * dired.el (dired-mode): Fix up the doc string as suggested by
20165 Drew Adams (bug#8817).
20167 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20168 cookie, since the manual says that it should be possible to add
20169 this function to `find-file-hook' (bug#8709).
20171 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20173 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20174 here. Noted Ted Zlatanov as the maintainer.
20175 (cfengine-common-settings, cfengine-common-syntax): New functions
20176 to set up common things between `cfengine-mode' and
20178 (cfengine3-mode): New mode.
20179 (cfengine3-defuns cfengine3-defuns-regex
20180 (cfengine3-class-selector-regex cfengine3-category-regex)
20181 (cfengine3-vartypes cfengine3-font-lock-keywords)
20182 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20183 (cfengine3-indent-line): Add from cfengine3.el.
20185 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20187 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20189 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20191 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20193 * window.el (same-window-buffer-names, same-window-regexps)
20194 (same-window-p, special-display-frame-alist)
20195 (special-display-popup-frame, special-display-function)
20196 (special-display-buffer-names, special-display-regexps)
20197 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20198 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20199 (split-window-preferred-function, split-height-threshold)
20200 (split-width-threshold, even-window-heights)
20201 (display-buffer-mark-dedicated, window-splittable-p)
20202 (split-window-sensibly, window-safely-shrinkable-p):
20204 (display-buffer): Don't spread args with function specifier
20205 because special-display-popup-frame won't like it.
20207 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20209 Time-stamp simplifications and fixes.
20210 These improve accuracy slightly, and future-proof the code
20211 against some potential changes to current-time format.
20213 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20214 by using time-since and float-time.
20216 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20217 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20218 + NNN microseconds".
20220 * type-break.el (type-break-time-sum): Rewrite using time-add.
20222 * play/hanoi.el (hanoi-current-time-float): Remove.
20223 All uses replaced by float-time.
20225 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20226 This yields a more-accurate answer.
20227 (rng-time-to-float): Remove; no longer needed.
20229 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20231 * calendar/timeclock.el (timeclock-seconds-to-time):
20232 Defalias to seconds-to-time, since they're the same thing.
20234 * emacs-lisp/elp.el (elp-elapsed-time):
20235 * emacs-lisp/benchmark.el (benchmark-elapse):
20236 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20238 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * window.el (bury-buffer): Don't iconify the only frame.
20241 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20242 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20244 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20246 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20247 Add mouse-yank-primary.
20249 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20251 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20253 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20255 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20256 (find-library-name): Use it to find relative load names when provided
20257 absolute file name (bug#8803).
20259 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20261 * textmodes/flyspell.el (flyspell-word): Consider words that
20262 differ only in case as potential doublons (bug#5687).
20264 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20265 Remove two rather uninteresting debugging-like messages to make
20266 debbugs.el more silent.
20268 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20269 a password-like phrase.
20271 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20273 * progmodes/cc-guess.el: New file.
20275 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20277 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20278 derived from `c-basic-common-init'.
20280 * progmodes/cc-mode.el (top-level): Require cc-guess.
20281 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20283 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20285 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20287 2011-06-30 Alan Mackenzie <acm@muc.de>
20289 * progmodes/cc-engine.el (c-guess-continued-construct):
20290 Correct the handling of template-args-cont, particularly for when font
20291 lock is disabled. Name this case as "CASE G".
20293 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20295 * allout.el (allout-yank-processing): Fix injection of extra space
20296 between bullet and non-whitespace character in first topic when
20297 pasting, ensuring that the actual spacing in the pasted topic
20298 following the bullet char is preserved. This extra space was
20299 causing pasted encrypted topics to get a decrypted status even
20300 when the content was actually still encrypted. Now the decryption
20301 status from before the paste is preserved.
20303 (allout-flag-region): Set all allout overlays so they evaporate
20304 when reduced to zero length (evanescent), to prevent overlay
20307 2011-06-30 Glenn Morris <rgm@gnu.org>
20309 * w32-fns.el (w32-charset-info-alist): Declare.
20311 * find-dired.el (find-grep-options): Simplify.
20313 * term/ns-win.el (ns-set-resource): Declare.
20315 * ses.el (row, col): Declare dynamic variables honestly.
20317 * textmodes/reftex-parse.el (index-tags): Declare.
20319 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20321 * cus-edit.el (customize-push-and-save): New function.
20323 * files.el (hack-local-variables-confirm): Use it.
20325 * custom.el (load-theme): New arg NO-CONFIRM.
20326 Use customize-push-and-save (Bug#8720).
20327 (custom-enabled-themes): Doc fix.
20329 * cus-theme.el (customize-create-theme)
20330 (custom-theme-merge-theme): Callers to load-theme changed.
20332 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20334 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20335 short URLs have at least one dot in them (bug #7614).
20337 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20338 nil, because using a pty is apparently too slow (bug #895).
20340 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20342 * mail/sendmail.el (sendmail-query-once): New function.
20343 (sendmail-query-once-function): New variable.
20345 2011-06-29 Glenn Morris <rgm@gnu.org>
20347 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20349 * ses.el (top-level): Require cl when compiling.
20350 (ses-set-localvars): Fix error statement.
20351 Call it at compile time to silence a storm of warnings.
20353 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20355 * window.el (normalize-live-buffer): Rename to
20356 window-normalize-buffer.
20357 (normalize-live-frame): Rename to window-normalize-frame.
20358 (normalize-any-window): Rename to window-normalize-any-window.
20359 (normalize-live-window): Rename to window-normalize-live-window.
20360 (make-window-atom): Rename to window-make-atom.
20361 (window-resize-reset): Rename to window--resize-reset.
20362 (window-resize-reset-1): Rename to window--resize-reset-1.
20363 (resize-mini-window): Rename to window--resize-mini-window.
20364 (resize-subwindows-skip-p): Rename to
20365 window--resize-subwindows-skip-p.
20366 (resize-subwindows-normal): Rename to
20367 window--resize-subwindows-normal.
20368 (resize-subwindows): Rename to window--resize-subwindows.
20369 (resize-other-windows): Rename to window--resize-siblings.
20370 (resize-this-window): Rename to window--resize-this-window.
20371 (resize-root-window): Rename to window--resize-root-window.
20372 (resize-root-window-vertically): Rename to
20373 window--resize-root-window-vertically.
20374 (normalize-buffer-to-display): Rename to
20375 window-normalize-buffer-to-display.
20376 (normalize-buffer-to-switch-to): Rename to
20377 window-normalize-buffer-to-switch-to.
20378 Correspondingly update all callers of the functions listed
20380 (display-buffer-alist, display-buffer-normalize-arguments)
20381 (display-buffer-normalize-options, display-buffer)
20382 (display-buffer-alist-set): Use "function" instead of
20385 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20387 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20388 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20389 debbugs.gnu.org. Mention acknowledgment email.
20391 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20393 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20394 buffer multibyteness, since it shouldn't matter.
20396 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20398 * window.el (display-buffer-in-side-window): Handle dedicated
20399 windows as in display-buffer-reuse-window.
20400 (display-buffer-normalize-alist): Use value of override
20402 (display-buffer-normalize-specifiers): Use value of
20403 other-window-means-other-frame specifier.
20404 (display-buffer-alist): Rewrite some texts in widgets.
20405 (display-buffer): Spread arguments when calling function
20406 specified by fun-with-args.
20408 2011-06-28 Deniz Dogan <deniz@dogan.se>
20410 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20413 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20414 selectors (Bug#5732).
20415 (css-proprietary-nmstart-re): Use `regexp-opt'.
20417 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20419 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20420 (eshell-ls-date-format): New defcustom.
20421 (eshell-ls-file): Use it.
20423 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20425 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20427 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20429 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20430 (ange-ftp-make-tmp-name): New arg.
20431 (ange-ftp-file-local-copy): Use it.
20433 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20435 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20436 no-conversion (Bug#8870).
20438 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20440 * window.el (window-right, window-left, window-child)
20441 (window-child-count, window-last-child)
20442 (window-iso-combination-p, walk-window-tree-1)
20443 (window-atom-check-1, window-tree-1, delete-window)
20444 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20445 new naming conventions - window-vchild, window-hchild,
20446 window-next and window-prev are now called window-top-child,
20447 window-left-child, window-next-sibling and window-prev-sibling
20449 (resize-window-reset): Rename to window-resize-reset.
20450 (resize-window-reset-1): Rename to window-resize-reset-1.
20451 (resize-window): Rename to window-resize.
20452 (window-min-height, window-min-width)
20453 (resize-mini-window, resize-this-window, resize-root-window)
20454 (resize-root-window-vertically, adjust-window-trailing-edge)
20455 (enlarge-window, shrink-window, maximize-window)
20456 (minimize-window, delete-window, quit-restore-window)
20457 (split-window, balance-windows, balance-windows-area-adjust)
20458 (balance-windows-area, window-state-put-2)
20459 (display-buffer-even-window-sizes, display-buffer-set-height)
20460 (display-buffer-set-width, set-window-text-height)
20461 (fit-window-to-buffer): Rename all "resize-window" prefixed
20462 calls to use the "window-resize" prefix convention.
20463 (display-buffer-alist): Fix symbol for label specifier.
20464 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20465 corresponding specifier.
20466 Reported by Juanma Barranquero <lekktu@gmail.com>.
20468 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20470 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20472 (ses-call-printer): Does not pass an empty string to formatter when the
20473 cell is empty to keep from barking printer Calc math-format-value.
20475 2011-06-27 Richard Stallman <rms@gnu.org>
20477 * battery.el (battery-mode-line-limit): New variable.
20478 (battery-update): Handle it.
20480 * mail/rmailmm.el (rmail-mime-process-multipart):
20481 Handle truncated messages.
20483 2011-06-27 Glenn Morris <rgm@gnu.org>
20485 * progmodes/flymake.el (flymake-err-line-patterns):
20486 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20488 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20490 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20491 (ses--clean-!, ses--clean-_): New functions.
20492 (ses-range): Add configurability of readout order, and conversion
20495 * ses.el (ses-repair-cell-reference-all): New function.
20496 (ses-cell-symbol): Set macro as safe, so that it can be used in
20499 * ses.el: Update cycle detection algorithm.
20500 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20501 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20502 (ses-set-localvars): New function.
20503 (ses-make-cell): Add property-list as a cell element.
20504 (ses-cell-property-get-fun, ses-cell-property-get)
20505 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20506 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20508 (ses-cell-property-set, ses-cell-property-pop)
20509 (ses-cell-property-get-handle): New macro.
20510 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20511 New aliases, used for code readability.
20512 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20514 (ses-self-reference-early-detection): New defcustom.
20515 (ses-formula-references): Robustify against self-referring cells.
20516 (ses-mode): Use ses-set-localvars.
20517 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20518 before lauching the update processing.
20519 (ses-initialize-Dijkstra-attempt): New function.
20520 (ses-recalculate-cell): Update for cycle detection based on
20521 Dijkstra algorithm.
20523 * ses.el: Fix commenting and indenting convention.
20525 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20527 * bs.el (bs-cycle-next): Complete last change.
20529 2011-06-27 Drew Adams <drew.adams@oracle.com>
20531 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20533 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20535 * net/network-stream.el (network-stream-open-starttls):
20536 Don't re-get capabilities unless we've reestablished connection.
20537 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20539 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20540 to binary to possibly avoid line encoding issues on Windows (among
20543 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20545 * net/network-stream.el (open-network-stream): Return an :error
20546 saying what the problem was, if possible.
20548 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20551 * net/network-stream.el (network-stream-open-starttls): If we
20552 wanted to use STARTTLS, and the server offered it, but we weren't
20553 able to because we had no STARTTLS support, then close the connection.
20554 (open-network-stream): Return an :error element, if present.
20556 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20558 * hl-line.el (hl-line-sticky-flag): Doc fix.
20559 (global-hl-line-sticky-flag): New option (Bug#8323).
20560 (global-hl-line-highlight): Obey it.
20562 * vc/vc.el (vc-revert-show-diff): Default to t.
20564 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20566 * allout-widgets.el (allout-widgets-post-command-business):
20567 Stop decorating intermediate isearch matches. They're not being
20568 undecorated when an isearch is continued past, and isearch
20569 automatically collapses them. This leads to "widget leaks", where
20570 decorated items accumulate in collapsed areas. Lines with lots of
20571 hidden widgets can slow down cursor travel, substantially.
20572 Too much complicated machinery would be needed to ensure undecoration,
20573 so we're doing without this nicety.
20575 (allout-widgets-tally-string): Don't try to do a hash-table-count
20576 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20577 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20578 *Messages* when allout-widgets-maintain-tally is t.
20580 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20582 * window.el (display-buffer-normalize-argument): Rename to
20583 display-buffer-normalize-arguments. Handle special meaning of
20584 LABEL argument. Respect special-display-function when popping up
20585 a new frame. Fix code searching for a window showing the buffer
20587 (display-buffer-normalize-specifiers):
20588 Call display-buffer-normalize-arguments.
20589 (display-buffer-in-window): Don't undedicate the window if its
20590 buffer remains the same.
20591 Reported by Drew Adams <drew.adams@oracle.com>.
20592 (display-buffer-alist): Add choice for same-window macro
20594 (display-buffer): Mention special meaning of LABEL argument in
20595 doc-string. Fix quoting. Don't pop up a new frame even as
20598 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20600 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20601 avoid deleting the current window in some cases (bug#8911).
20603 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20605 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20608 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20610 * net/network-stream.el (network-stream-open-starttls):
20611 Use built-in TLS support if `gnutls-available-p' is true.
20612 (network-stream-open-tls): Ditto.
20614 2011-06-26 Leo Liu <sdl.web@gmail.com>
20616 * register.el (registerv): New struct.
20617 (registerv-make): New function.
20618 (jump-to-register, describe-register-1, insert-register):
20619 Support the jump-func, print-func and insert-func slot of a registerv
20622 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20624 * vc/vc.el (vc-revert-show-diff): New defcustom.
20625 (vc-diff-internal): New arg specifying diff buffer.
20626 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20627 reuse an existing *vc-diff* buffer (Bug#8927).
20629 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20631 2011-06-26 Glenn Morris <rgm@gnu.org>
20633 * progmodes/f90.el (f90-critical-indent): New option.
20634 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20635 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20636 (f90-mode): Doc fix.
20637 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20638 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20639 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20640 (f90-match-end): Handle block, critical.
20642 2011-06-25 Glenn Morris <rgm@gnu.org>
20644 * calendar/diary-lib.el (diary-included-files): Doc fix.
20645 (diary-include-files): New function, extracted from
20646 diary-include-other-diary-files and diary-mark-included-diary-files.
20647 (diary-include-other-diary-files, diary-mark-included-diary-files):
20648 Just call diary-include-files.
20649 (diary-mark-entries): Reset diary-included-files on first call.
20651 * calendar/diary-lib.el (diary-mark-entries)
20652 (diary-mark-included-diary-files):
20653 Visit included diary-files in temp buffers.
20655 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20656 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20657 (f90-start-block-re, f90-imenu-generic-expression)
20658 (f90-looking-at-program-block-start, f90-no-block-limit):
20659 Add support for submodules.
20661 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20662 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20664 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20666 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20667 buffer-file-type before setting its value, to avoid disastrous
20668 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20670 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20672 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20674 * ses.el (ses-unload-function):
20675 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20677 * proced.el (proced-unload-function):
20678 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20680 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20682 * server.el (server-create-window-system-frame): Add parameters arg.
20683 (server-process-filter): Doc fix. Handle frame-parameters.
20685 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20687 Fix bug#8730, bug#8781.
20689 * loadhist.el (unload--set-major-mode): New function.
20690 (unload-feature): Use it.
20692 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20693 (python-unload-function): New function.
20695 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20697 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20699 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20701 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20702 the candidates list.
20704 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20706 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20708 2011-06-23 Richard Stallman <rms@gnu.org>
20710 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20711 (rmail-variables): Set next-error-move-function.
20712 (rmail-what-message): Take argument POS.
20713 (rmail-next-error-move): New function.
20715 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20717 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20718 messages for adjacent non-terminals.
20720 2011-06-23 Richard Stallman <rms@gnu.org>
20722 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20723 (rmail-show-message-1): Preserve buffer modified flag.
20724 (rmail-start-mail): Don't specify use of rmail-mail-return;
20725 that's done by mail-bury now.
20726 (rmail-mail-return): Handle arg NEWBUF.
20728 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20730 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20733 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20735 * window.el (get-lru-window, get-mru-window)
20736 (get-largest-window): Never return a minibuffer window.
20737 (display-buffer-pop-up-window): Fix a bug that could lead to
20738 reusing the minibuffer window.
20739 (display-buffer): Pass original specifier argument to
20740 display-buffer-function instead of the normalized one.
20741 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20743 2011-06-22 Leo Liu <sdl.web@gmail.com>
20745 * minibuffer.el (completing-read-function)
20746 (completing-read-default): Move from minibuf.c.
20748 2011-06-22 Richard Stallman <rms@gnu.org>
20750 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20751 to Rmail even if not started by a special Rmail command.
20753 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20754 Copy the buffer currently showing just one message.
20756 2011-06-22 Roland Winkler <winkler@gnu.org>
20758 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20759 (bibtex-clean-entry): First delete the old key so that a
20760 customized algorithm for generating the new key does not get
20761 confused by the old key.
20762 (bibtex-url): Obey regexp of first step.
20763 (bibtex-search-entries): Do not use add-to-list with local
20766 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20768 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20769 stored a user name, then query for the password first, instead of
20770 waiting for SMTP to give an error message and the trying again.
20772 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20774 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20775 BUFFER in call-process.
20777 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20779 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20781 (smtpmail-try-auth-methods): Require user name and password from
20784 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20786 * window.el (display-buffer-default-specifiers)
20787 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20788 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20789 (split-window): Normalize SIDE argument (Bug#8916).
20791 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20792 (special-display-frame-alist, special-display-popup-frame):
20793 Remove duplicate declarations. These are now in window.el.
20795 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20797 * mail/smtpmail.el (smtpmail-via-smtp):
20798 Set :use-starttls-if-possible so that we always use STARTTLS if the
20799 server supports it. SMTP servers that support STARTTLS commonly
20802 * net/network-stream.el (network-stream-open-starttls): Support
20803 upgrading to STARTTLS always, even if we don't have built-in support.
20804 (open-network-stream): Add the :always-query-capabilities keyword.
20806 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20807 upgrades with `open-network-stream', and rely solely on
20808 auth-source for all credentials. Big changes throughout the file,
20810 (smtpmail-auth-credentials): Remove.
20811 (smtpmail-starttls-credentials): Remove.
20812 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20815 * net/network-stream.el (network-stream-open-starttls):
20816 Provide support for client certificates both for external and built-in
20818 (auth-source): Require.
20819 (open-network-stream): Document the :client-certificate keyword.
20820 (network-stream-certificate): Change cert-cert to cert and
20823 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20825 * net/tramp-cache.el (top): Don't load the persistency file when
20826 "emacs -Q" has been called.
20828 2011-06-21 Tim Harper <timcharper@gmail.com>
20830 * term/ns-win.el (ns-initialize-window-system):
20831 Set application-specific `ApplePressAndHoldEnabled' system
20832 resource to NO as it is not yet supported by the NS port.
20834 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20836 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20837 (list-dynamic-libraries): ...not here.
20839 2011-06-21 Leo Liu <sdl.web@gmail.com>
20841 * subr.el (sha1): Implement sha1 using secure-hash.
20843 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20845 * window.el (display-buffer-alist): In default value do not
20846 enforce searching a window on any but the selected frame.
20847 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20848 (display-buffer-select-window): Remove function.
20849 (display-buffer-in-window): When a window on another frame gets
20850 reused, do not select it any more but just raise its frame if
20851 necessary (Bug#8851) and (Bug#8856).
20852 (display-buffer-normalize-options): Handle pop-up-frames related
20853 options more faithfully.
20854 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20855 window if it is on another frame.
20856 (display-buffer-alist, display-buffer-default-specifiers):
20857 Don't make new frame unsplittable by default.
20858 (display-buffer-normalize-argument): Fix doc-string typo and use
20859 'same-frame-other-window instead of 'other-window when associating
20860 with display-buffer-macro-specifiers.
20862 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20864 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20866 (5x5-mode-map, 5x5-mode-menu): Bind them.
20867 (5x5-draw-grid): Tweak the solver's rendering.
20869 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20871 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20872 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20874 2011-06-21 Drew Adams <drew.adams@oracle.com>
20876 * menu-bar.el: Use function variable instead of switch-to-buffer.
20877 (menu-bar-select-buffer-function): New variable.
20878 (menu-bar-update-buffers): Use it (bug#8876).
20880 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20882 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20885 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20887 * x-dnd.el (x-dnd-version-from-flags)
20888 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20889 and long as number (Bug#8899).
20890 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20892 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20894 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20895 (completion-try-completion, completion-all-completions): Compute the
20896 metadata argument if it's missing; make it optional (bug#8795).
20898 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20899 (widget-complete): Use new :completion-function property.
20900 (widget-completions-at-point): New function.
20901 (default): Use :completion-function instead of :complete.
20902 (widget-default-completions): Rename from widget-default-complete;
20904 (widget-string-complete, widget-file-complete, widget-color-complete):
20906 (file, symbol, function, variable, coding-system, color):
20907 * international/mule-cmds.el (default-input-method, charset)
20908 (language-info-custom-alist):
20909 * cus-edit.el (face): Use new property :completions.
20911 * progmodes/pascal.el (pascal-completions-at-point): New function.
20912 (pascal-mode): Use it.
20913 (pascal-mode-map): Use completion-at-point.
20914 (pascal-toggle-completions): Make obsolete.
20915 (pascal-complete-word, pascal-show-completions):
20916 * progmodes/octave-mod.el (octave-complete-symbol):
20917 Redefine as obsolete alias.
20918 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20919 Signal absence of completion info for old Octave,
20920 (inferior-octave-complete): Redefine as obsolete alias.
20921 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20922 (meta-completions-at-point): Rename from meta-complete-symbol and
20923 adapt it for use on completion-at-point-functions.
20924 (meta-common-mode): Use it.
20925 (meta-looking-at-backward, meta-match-buffer): Remove.
20926 (meta-complete-symbol): Redefine as obsolete alias.
20927 (meta-common-mode-map): Use completion-at-point.
20928 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20929 (makefile-mode-map): Use completion-at-point.
20930 (makefile-completions-at-point): Rename from makefile-complete and
20931 adapt it for use on completion-at-point-functions.
20932 (makefile-mode): Use it.
20933 (makefile-complete): Redefine as obsolete alias.
20935 2011-06-20 Deniz Dogan <deniz@dogan.se>
20937 * net/rcirc.el: Delete trailing whitespaces once and for all.
20939 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20941 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20943 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20945 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20947 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20949 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20951 * window.el (display-buffer-other-window-means-other-frame):
20952 Call display-buffer-normalize-alist.
20953 (display-buffer-normalize-specifiers-1): Rename to
20954 display-buffer-normalize-argument. New argument other-frame.
20956 (display-buffer-normalize-specifiers-2): Rename to
20957 display-buffer-normalize-options.
20958 (display-buffer-normalize-alist-1): New function.
20959 (display-buffer-normalize-specifiers-3): Rename to
20960 display-buffer-normalize-alist.
20961 Call display-buffer-normalize-alist-1.
20962 (display-buffer-normalize-options-inhibit): New variable.
20963 (display-buffer-normalize-specifiers): Rewrite calling
20964 display-buffer-normalize-alist,
20965 display-buffer-normalize-argument, and
20966 display-buffer-normalize-options. Don't call the latter if
20967 display-buffer-normalize-options-inhibit is non-nil.
20968 (frame-auto-delete): New option.
20969 (window-deletable-p): Use frame-auto-delete.
20970 (window-list-no-nils, window-state-ignored-parameters)
20971 (window-state-get-1, window-state-get, window-state-put-list)
20972 (window-state-put-1, window-state-put-2, window-state-put):
20974 (display-buffer-normalize-options): Move special-display-p group
20975 after pop-up-frame group (Bug#8851) and (Bug#8856).
20977 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20979 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20981 (rx-submatch-n): New function.
20984 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20987 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20989 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20991 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20992 anytime existing face settings are present (Bug#8889).
20994 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20995 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20996 Remove unused argument.
20998 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21000 * window.el (display-buffer-default-specifiers):
21001 Remove pop-up-frame. Add pop-up-window-min-height,
21002 pop-up-window-min-width, and another reuse-window specifier
21003 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21004 (display-buffer-normalize-specifiers-2):
21005 Handle split-height-threshold and split-width-threshold also when
21006 pop-up-windows is unset. Add a reuse-window specifier for the
21007 case popping up a new window fails.
21008 (special-display-popup-frame): Remove double quoting.
21009 (display-buffer-normalize-specifiers-1): Fix thinko.
21011 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21013 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21014 according to comint-completion-addsuffix.
21016 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21017 (pcomplete-suffix-list): Mark as obsolete.
21018 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21019 pcomplete-seen in the closure.
21020 (pcomplete-comint-setup): Setup completion-at-point as well.
21021 (pcomplete--entries): New function.
21022 (pcomplete--env-regexp): New var.
21023 (pcomplete-entries): Rewrite to work with partial-completion and
21024 without relying on pcomplete-suffix-list.
21025 (pcomplete-pare-list): Remove, unused.
21027 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21029 * window.el (display-buffer-alist): Set pop-up-window-min-height
21030 and pop-up-window-min-width in default value. Reported by
21031 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21032 other-window-means-other-frame.
21033 (display-buffer-macro-specifiers): Comment out entry for
21034 other-window specifier.
21035 (display-buffer-other-window-means-other-frame): New function.
21036 (display-buffer-normalize-specifiers-1): New arguments
21037 buffer-name and label. Treat other-window case specially.
21038 (display-buffer-normalize-specifiers-2): Treat other-window case
21040 (display-buffer-normalize-specifiers-3): New function.
21041 (display-buffer-normalize-specifiers):
21042 Call display-buffer-normalize-specifiers-3.
21044 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21046 * window.el (same-window-p): Fix two typos introduced when
21047 adding with-no-warnings.
21048 (display-buffer-normalize-specifiers-1): Don't check
21049 pop-up-frames for 'unset initialization.
21050 (display-buffer-normalize-specifiers-2): Major rewrite using
21051 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21052 (pop-up-frames, display-buffer-reuse-frames)
21053 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21054 Suggested by David Engster <deng@randomsample.de>.
21055 (even-window-heights): Initialize to 'unset.
21056 (display-buffer-alist-set): Handle new 'unset initializations.
21057 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21060 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21062 * window.el (display-buffer-normalize-specifiers-1):
21063 Respect current value of pop-up-frames for most reasonable values of
21064 second argument of display-buffer (Bug#8865).
21065 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21066 (switch-to-buffer-other-window-same-frame)
21067 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21069 (display-buffer): Don't check noninteractive when calling
21070 display-buffer-pop-up-frame.
21071 (display-buffer-pop-up-frame): Never pop up a frame in
21072 noninteractive mode (Bug#8857).
21073 (enlarge-window, shrink-window): Don't report an error when the
21074 window can't be resized as requested (Bug#8862).
21076 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21078 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21080 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21082 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21084 2011-06-15 Alan Mackenzie <acm@muc.de>
21086 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21087 for declarators, disable knr checking to speed up for normal files.
21088 2: Refactor, replacing a sequence of nested if forms by a cond form.
21090 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21092 * net/network-stream.el (open-network-stream): Add the keyword
21093 :always-query-capabilities for the case where you want to force a
21094 `plain' network connection, but the protocol still requires the
21095 capabilitiy command (i.e., SMTP and EHLO).
21097 * subr.el (process-live-p): Rename from `process-alive-p' for
21098 consistency with other `-live-p' functions.
21100 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21102 * window.el (same-window-buffer-names, same-window-regexps)
21103 (special-display-frame-alist, special-display-popup-frame)
21104 (special-display-function, special-display-buffer-names)
21105 (special-display-regexps, pop-up-frame-alist)
21106 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21107 (pop-up-windows, split-window-preferred-function)
21108 (split-height-threshold, split-width-threshold, even-window-heights)
21109 (display-buffer-mark-dedicated): Don't encourage the use of
21110 display-buffer-alist from Elisp code.
21112 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21114 * progmodes/python.el (python-mode): Derive from prog-mode.
21115 * progmodes/ps-mode.el (ps-mode):
21116 * progmodes/mixal-mode.el (mixal-mode):
21117 * progmodes/cfengine.el (cfengine-mode):
21118 * progmodes/ld-script.el (ld-script-mode): Likewise.
21120 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21122 * window.el (display-buffer-alist): Trim default value to avoid
21123 popping up a new frame (Bug#8857) or reusing an arbitrary window
21125 (display-buffer): Do not fall back on popping up a new frame in
21126 batch mode (Bug#8857).
21128 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21130 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21131 (custom-theme-summary): New function.
21132 (customize-themes): Use it.
21134 2011-06-13 Glenn Morris <rgm@gnu.org>
21136 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21138 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21140 * help.el (help-window): Remove variable.
21141 (help-window-point-marker, temp-buffer-max-height)
21142 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21143 (help-print-return-message): Don't set help-window.
21144 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21145 (help-window-setup-finish): Remove.
21146 (help-window-display-message, help-window-setup)
21147 (with-help-window): Major rewrite based on new
21148 display-buffer-window variable.
21150 * help-mode.el (help-mode-finish): Remove help-window related
21153 * view.el (view-exits-all-viewing-windows): Remove reference to
21154 view-return-to-alist in doc-string.
21155 (view-return-to-alist): Make obsolete.
21156 (view-buffer): Call pop-to-buffer-same-window and remove
21158 (view-buffer-other-window): Call pop-to-buffer-other-window and
21159 simplify code. Ignore second argument.
21160 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21161 simplify code. Ignore second argument.
21162 (view-return-to-alist-update): Make obsolete.
21163 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21164 Rewrite using quit-restore window parameters.
21165 (view-mode-exit): Rename second argument to EXIT-ONLY.
21166 Rewrite using quit-restore-window.
21167 (View-exit, View-exit-and-edit, View-leave, View-quit)
21168 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21169 appropriate arguments.
21170 (view-end-message): Use quit-restore window parameter.
21172 * window.el (display-buffer-function): Rewrite doc-string.
21173 (display-buffer-window, display-buffer-alist): New variables.
21174 (display-buffer-split-specifiers)
21175 (display-buffer-side-specifiers)
21176 (display-buffer-macro-specifiers): New constants.
21177 (display-buffer-even-window-sizes, display-buffer-set-height)
21178 (display-buffer-set-width, display-buffer-select-window)
21179 (display-buffer-in-window, display-buffer-reuse-window)
21180 (display-buffer-split-window-1, display-buffer-split-window)
21181 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21182 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21183 (display-buffer-in-side-window, normalize-buffer-to-display)
21184 (display-buffer-normalize-specifiers-1)
21185 (display-buffer-normalize-specifiers-2)
21186 (display-buffer-normalize-specifiers, display-buffer-frame):
21188 (display-buffer): Major rewrite.
21189 (display-buffer-other-window, display-buffer-other-frame)
21190 (pop-to-buffer, switch-to-buffer-other-window)
21191 (switch-to-buffer-other-frame): Rewrite.
21192 (display-buffer-same-window, display-buffer-same-frame)
21193 (display-buffer-same-frame-other-window)
21194 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21195 (pop-to-buffer-other-window)
21196 (pop-to-buffer-same-frame-other-window)
21197 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21198 (switch-to-buffer-other-window-same-frame): New functions.
21199 (same-window-p, special-display-p): Rewrite disabling warnings.
21201 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21202 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21204 (same-window-buffer-names, same-window-regexps)
21205 (special-display-frame-alist, special-display-popup-frame)
21206 (special-display-function, special-display-buffer-names)
21207 (special-display-regexps, pop-up-frame-alist)
21208 (pop-up-frame-function, split-window-preferred-function)
21209 (split-height-threshold, split-width-threshold)
21210 (even-window-heights): Make obsolete.
21212 2011-06-12 Glenn Morris <rgm@gnu.org>
21214 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21215 Misc simplifications.
21217 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21219 * window.el (window-safely-shrinkable-p): Restore function which
21220 was inadvertently removed in change from 2011-06-11. Declare as
21223 * calendar/calendar.el (calendar-generate-window):
21224 Use window-iso-combined-p instead of combination of one-window-p and
21225 window-safely-shrinkable-p.
21227 2011-06-12 Glenn Morris <rgm@gnu.org>
21229 * progmodes/fortran.el (fortran-mode-syntax-table):
21230 * progmodes/f90.el (f90-mode-syntax-table):
21231 Set % to punctuation. (Bug#8820)
21232 (f90-find-tag-default): Remove, no longer needed.
21234 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21236 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21238 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21240 * image.el (image-animated-p): Return animation delay in seconds.
21241 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21242 (image-animate-timeout): Remove DELAY argument. Don't assume
21243 every subimage has the same delay; get it from image-animated-p.
21244 (image-animate): Caller changed.
21246 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21248 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21249 to ignored backtrace functions.
21251 2011-06-11 Glenn Morris <rgm@gnu.org>
21253 * calendar/appt.el (appt-disp-window-function): Doc fix.
21254 (appt-check): Handle overlapping appointments. (Bug#8337)
21256 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21258 * window.el (window-tree-1, window-tree): New functions, moving
21259 the latter to window.el.
21260 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21261 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21262 (bw-refresh-edges): Remove.
21263 (balance-windows-1, balance-windows-2): New functions.
21264 (balance-windows): Rewrite in terms of window tree functions,
21265 balance-windows-1 and balance-windows-2.
21266 (bw-adjust-window): Remove.
21267 (balance-windows-area-adjust): New function with functionality of
21268 bw-adjust-window but using resize-window.
21269 (set-window-text-height): Rewrite doc-string.
21270 Use normalize-live-window and resize-window.
21271 (enlarge-window-horizontally, shrink-window-horizontally):
21272 Rename argument to DELTA.
21273 (window-buffer-height): New function.
21274 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21275 Rewrite using new window resize routines.
21276 (kill-buffer-and-window, mouse-autoselect-window-select):
21277 Use ignore-errors instead of condition-case.
21278 (quit-window): Call delete-frame instead of delete-windows-on
21279 for the only buffer on frame.
21281 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21283 * loadup.el (top-level): Load window before files for the sake
21284 of replace-buffer-in-windows.
21286 * files.el (read-buffer-to-switch)
21287 (switch-to-buffer-other-window)
21288 (switch-to-buffer-other-frame, display-buffer-other-frame):
21291 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21292 (previous-buffer): Move to window.el.
21294 * bindings.el (unbury-buffer): Move to window.el.
21296 * window.el (delete-other-windows-vertically): Move after
21297 definition of delete-other-windows.
21298 (other-window, delete-windows-on, replace-buffer-in-windows):
21299 Move here from window.c.
21300 (record-window-buffer, unrecord-window-buffer)
21301 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21302 (switch-to-next-buffer): New functions.
21303 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21304 from simple.el. Call switch-to-next-buffer.
21305 (previous-buffer): Move here from simple.el.
21306 Call switch-to-prev-buffer.
21307 (bury-buffer): Move here from buffer.c. Switch to previous
21308 buffer when window cannot be deleted.
21309 (unbury-buffer): Move here from bindings.el.
21310 (ctl-x-map): Move binding for other-window from window.c to
21312 (read-buffer-to-switch, switch-to-buffer-other-window)
21313 (switch-to-buffer-other-frame): Move here from files.el.
21314 (normalize-buffer-to-switch-to): New functions.
21315 (switch-to-buffer): Move here from buffer.c.
21316 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21318 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21320 * window.el (window-min-height, window-min-width): Move here
21321 from window.c. Add defcustoms and rewrite doc-strings.
21322 (resize-mini-window, resize-window): New functions.
21323 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21324 Move here from window.c.
21325 (maximize-window, minimize-window): New functions.
21326 (delete-window, delete-other-windows, split-window): Move here
21328 (window-split-min-size): New function.
21329 (split-window-keep-point): Mention split-window-above-each-other
21330 instead of split-window-vertically.
21331 (split-window-above-each-other, split-window-vertically):
21332 Rename split-window-vertically to split-window-above-each-other
21333 and provide defalias for old definition.
21334 (split-window-side-by-side, split-window-horizontally):
21335 Rename split-window-horizontally to split-window-side-by-side
21336 and provide defalias for the old definition.
21337 (ctl-x-map): Move bindings for delete-window,
21338 delete-other-windows and enlarge-window here from window.c.
21339 Replace bindings for split-window-vertically and
21340 split-window-horizontally by bindings for
21341 split-window-above-each-other and split-window-side-by-side.
21343 * cus-start.el (all): Remove entries for window-min-height and
21344 window-min-width. Add entries for window-splits and
21347 2011-06-09 Glenn Morris <rgm@gnu.org>
21349 * calendar/appt.el (appt-mode-line): New function.
21350 (appt-check, appt-disp-window): Use it.
21352 * files.el (hack-one-local-variable-eval-safep):
21353 Allow minor-modes with explicit +/-1 arguments.
21355 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21357 * term/xterm.el (xterm): Add defgroup.
21358 (xterm-extra-capabilities): Add defcustom to supply known xterm
21359 capabilities, skip querying them, or query them (default).
21360 (terminal-init-xterm): Use it.
21361 (terminal-init-xterm-modify-other-keys): New function to set up
21362 modifyOtherKeys support to simplify `terminal-init-xterm'.
21364 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21366 * window.el (resize-window-reset, resize-window-reset-1)
21367 (resize-subwindows-skip-p, resize-subwindows-normal)
21368 (resize-subwindows, resize-other-windows, resize-this-window)
21369 (resize-root-window, resize-root-window-vertically)
21370 (window-deletable-p, window-or-subwindow-p)
21371 (frame-root-window-p): New functions.
21373 2011-06-09 Glenn Morris <rgm@gnu.org>
21375 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21376 (ange-ftp-get-files): Use it.
21378 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21380 * mail/sendmail.el (mail-recover-1, mail-recover):
21381 * files.el (recover-file, recover-session):
21382 Handle dired-listing-switches not being just a single short option.
21384 2011-06-09 Glenn Morris <rgm@gnu.org>
21386 * calendar/appt.el (appt-display-message, appt-disp-window):
21387 Handle lists of appointments.
21389 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21391 * window.el (one-window-p): Move down in code.
21392 Rewrite doc-string.
21393 (window-current-scroll-bars): Rewrite doc-string.
21394 Normalize live window argument.
21395 (walk-windows, get-window-with-predicate, count-windows):
21396 Rewrite doc-string. Use window-list-1.
21397 (window-in-direction-2, window-in-direction, get-mru-window):
21400 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21402 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21403 Doc fix (Bug#8713).
21405 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21407 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21409 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21411 * loadhist.el (unload-feature-special-hooks):
21412 Add `comint-output-filter-functions'.
21414 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21416 * calendar/appt.el (appt-check): Move some initializations into the let.
21418 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21420 * window.el (window-height): Defalias to window-total-height.
21421 (window-width): Defalias to window-body-width.
21423 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21425 * image-mode.el (image-toggle-animation): New command.
21426 (image-mode-map): Bind it to RET.
21427 (image-mode): Update message.
21428 (image-toggle-display-image): Avoid a spurious cache flush.
21429 (image-transform-rotation): Doc fix.
21430 (image-transform-properties): Return quickly in the normal case.
21431 (image-animate-loop): Rename from image-animate-max-time.
21433 * image.el (image-animate-max-time): Move to image-mode.el.
21434 (create-animated-image): Remove unnecessary function.
21435 (image-animate): Rename from image-animate-start. New arg.
21436 (image-animate-stop): Remove; just use image-animate-timer.
21437 (image-animate-timer): Use car-safe.
21438 (image-animate-timeout): Rename argument.
21440 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21442 * window.el (get-lru-window, get-largest-window): Move here from
21443 window.c. Rename first argument to ALL-FRAMES.
21444 Rephrase doc-strings.
21445 (get-buffer-window-list): Rewrite using window-list-1.
21446 Rephrase doc-string.
21447 (window-safe-min-height, window-safe-min-width): New constants.
21448 (window-size-ignore, window-min-size, window-min-size-1)
21449 (window-sizable, window-sizable-p, window-size-fixed-1)
21450 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21451 (window-max-delta-1, window-max-delta, window-resizable)
21452 (window-resizable-p, window-total-height, window-total-width)
21453 (window-body-width): New functions.
21454 (window-full-height-p, window-full-width-p): Rewrite using
21456 (window-body-height): Rewrite using window-body-size.
21458 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21460 * window.el (window-right, window-left, window-child)
21461 (window-child-count, window-last-child, window-any-p)
21462 (normalize-live-buffer, normalize-live-frame)
21463 (normalize-any-window, normalize-live-window)
21464 (window-iso-combination-p, window-iso-combined-p)
21465 (window-iso-combinations)
21466 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21467 (windows-with-parameter, window-with-parameter)
21468 (window-atom-root, make-window-atom, window-atom-check-1)
21469 (window-atom-check, window-side-check, window-check):
21471 (ignore-window-parameters, window-sides, window-sides-vertical)
21472 (window-sides-slots): New variables.
21473 (window-size-fixed): Move down in code. Minor doc-string fix.
21475 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21477 * comint.el (comint-dynamic-complete-as-filename)
21478 (comint-dynamic-complete-filename): Correctly call
21479 completion-in-region.
21481 2011-06-05 Deniz Dogan <deniz@dogan.se>
21483 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21486 2011-06-05 Deniz Dogan <deniz@dogan.se>
21488 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21489 (rcirc): Use it to prompt for encryption.
21491 2011-06-05 Roland Winkler <winkler@gnu.org>
21493 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21494 (bibtex-search-entries): New command bound to C-c C-a.
21495 (bibtex-display-entries): New function.
21497 2011-06-05 Roland Winkler <winkler@gnu.org>
21499 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21500 (bibtex-insert-kill): After yanking insert newline if necessary.
21501 (bibtex-initialize): Call bibtex-string-files-init only once.
21502 (bibtex-mode): Do not call easy-menu-add.
21503 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21504 (bibtex-yank): Set arg properly if nil.
21506 2011-06-05 Roland Winkler <winkler@gnu.org>
21508 * textmodes/bibtex.el (bibtex-search-entry-globally):
21510 (bibtex-search-entry): Use it.
21512 2011-06-05 Roland Winkler <winkler@gnu.org>
21514 * textmodes/bibtex.el (bibtex-entry-format): New option
21516 (bibtex-format-entry, bibtex-reformat): Honor this option.
21517 (bibtex-parse-entry): Return fields in proper order.
21519 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21521 * doc-view.el (doc-view-remove-if): Move computation of result out
21522 of `dolist' to silence misleading lexical-binding warning.
21524 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21526 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21527 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21529 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21531 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21534 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21536 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21537 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21538 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21539 (tramp-parse-putty):
21540 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21541 (tramp-completion-function-alist-ssh)
21542 (tramp-completion-function-alist-telnet)
21543 (tramp-completion-function-alist-su)
21544 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21547 * net/tramp-ftp.el:
21549 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21550 load "tramp.el" `tramp-set-completion-function'.
21552 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21554 * shell.el: Require and use pcomplete.
21555 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21556 (shell-completion-vars): Set pcomplete-default-completion-function.
21558 2011-06-04 Deniz Dogan <deniz@dogan.se>
21560 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21563 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21565 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21567 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21569 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21570 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21571 * vc/log-view.el (log-view-beginning-of-defun):
21572 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21573 (smerge-refine-forward, smerge-refine-chopup-region):
21574 Silence warning for unused `dotimes' counter variables.
21576 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21578 * net/tramp.el (tramp-with-progress-reporter): Rename from
21579 with-progress-reporter. Use `declare'.
21580 * net/tramp-smb.el:
21582 * net/tramp-gvfs.el: Update all uses.
21584 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21586 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21587 buffer isn't killed before making it current.
21589 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21591 Silence various byte-compiler warnings.
21592 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21593 `access-type' and new obsolescence format.
21594 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21596 (byte-compile-check-variable): New `access-type' argument.
21597 Only warn if the access-type is obsolete.
21598 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21599 (byte-compile-variable-set): Adjust callers.
21600 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21601 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21602 setting it as obsolete.
21603 * simple.el (minibuffer-completing-symbol):
21604 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21605 access as obsolete.
21606 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21608 * international/quail.el (quail-mouse-choose-completion): Remove unused
21609 code referring to obsolete var.
21610 (quail-choose-completion-string): Remove.
21611 * server.el (server-clients-with, server-kill-buffer-query-function)
21612 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21613 * proced.el (proced-send-signal):
21614 * emacs-lisp/lisp.el (lisp-complete-symbol):
21615 Replace completion-annotate-function with completion-extra-properties.
21617 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21619 * simple.el (goto-line): Use read-number.
21620 (overriding-map-is-bound): Remove.
21621 (saved-overriding-map): Change default.
21622 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21623 Take the map as argument.
21624 (universal-argument, negative-argument, digit-argument): Use it.
21625 (restore-overriding-map): Adjust.
21626 (do-auto-fill): Use fill-forward-paragraph.
21627 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21629 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21630 (minibuffer-inactive-mode): New major mode.
21631 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21632 the *Messages* buffer" hack.
21633 (mouse-popup-menubar): Don't burp if the event is a normal key.
21635 Miscellaneous tweaks.
21636 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21637 lexical scoping as in subr.el's dolist and dotimes.
21638 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21639 Silence compiler warning.
21640 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21641 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21642 * international/ccl.el (ccl-compile): Trivial simplification.
21643 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21644 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21645 `printflag' argument.
21646 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21647 Purecopy the whole obsolescence data.
21649 2011-06-01 Leo Liu <sdl.web@gmail.com>
21651 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21652 improve doc-string as suggested by Marco Pessotto
21653 <melmothx@gmail.com>.
21654 (rcirc-print): Fix last change.
21656 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21658 * minibuffer.el (complete-with-action): Return nil for the metadata and
21659 boundaries of non-functional tables.
21660 (completion-table-dynamic): Return nil for the metadata.
21661 (completion-table-with-terminator): Add default case, using
21662 complete-with-action.
21663 (completion--metadata): New function.
21664 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21665 to try and avoid pathological performance problems.
21666 (completion--embedded-envvar-table): Return `category' metadata.
21668 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21670 * subr.el (process-alive-p): New tiny convenience function.
21672 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21674 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21675 content but also its previous major mode.
21677 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21679 * emacs-lisp/debug.el (debug): Restore the previous content of the
21680 *Backtrace* buffer when we exit with C-M-c.
21682 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21684 * minibuffer.el: Add metadata method to completion tables.
21685 (completion-category-overrides): New defcustom.
21686 (completion-metadata, completion--field-metadata)
21687 (completion-metadata-get, completion--styles)
21688 (completion--cycle-threshold): New functions.
21689 (completion-try-completion, completion-all-completions):
21690 Add `metadata' argument to choose completion-styles.
21691 (completion--do-completion): Use metadata to choose cycling.
21692 (completion-all-sorted-completions): Use metadata for sorting.
21693 Remove :completion-cycle-penalty which is not needed any more.
21694 (completion--try-word-completion): Add `metadata' argument.
21695 (minibuffer-completion-help): Check metadata for annotation function
21697 (completion-file-name-table): Return `category' metadata.
21698 (minibuffer-completing-file-name): Make obsolete.
21699 * simple.el (minibuffer-completing-symbol): Make obsolete.
21700 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21701 completion-try-completion.
21703 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21705 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21707 2011-05-30 Leo Liu <sdl.web@gmail.com>
21709 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21710 (rcirc-print): Decode all incoming messages (bug#8744).
21711 (rcirc-decode-coding-system): Allow value nil for automatic coding
21714 2011-06-01 Glenn Morris <rgm@gnu.org>
21716 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21718 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21720 * image.el (image-animate-max-time): Allow nil and t values.
21722 (create-animated-image): Doc fix.
21723 (image-animate-start): Remove second arg; just use
21724 image-animate-max-time.
21725 (image-animate-timeout): Doc fix. Args changed.
21727 * image-mode.el (image-toggle-display-image): Ensure that the
21728 image spec passed to the animate timer is the same object as in
21729 the buffer's display property (Bug#6981).
21730 (image-transform-properties): Doc fix.
21732 * image.el (image-animate-max-time): Default to nil.
21734 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21736 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21737 entire buffer list (Bug#8184).
21739 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21741 * image.el (imagemagick-types-inhibit)
21742 (imagemagick-register-types): Doc fix.
21744 2011-05-29 Deniz Dogan <deniz@dogan.se>
21746 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21749 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21751 * select.el: Don't perform clipboard-manager saving in hooks;
21752 leave the hooks empty.
21754 2011-05-28 Leo Liu <sdl.web@gmail.com>
21756 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21757 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21758 (occur-edit-mode): New major mode (Bug#8463).
21759 (occur-after-change-function): New function.
21760 (occur-engine): Give Occur tags a read-only property.
21762 2011-05-28 Kevin Ryde <user42@zip.com.au>
21764 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21766 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21768 * bindings.el (help-echo): Make the initial non-indicator dash
21769 empty on graphical terminals (Bug#7295).
21771 * files.el (auto-mode-alist): Move config rule after the
21772 in-stripping one (Bug#8547).
21774 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21776 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21777 setting (Bug#8740).
21779 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21781 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21782 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21785 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21787 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21789 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21791 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21792 (hs-hide-block-at-point, hs-find-block-beginning)
21793 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21796 2011-05-28 Glenn Morris <rgm@gnu.org>
21798 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21800 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21802 * help-fns.el (describe-function-1): If the function is a derived
21803 major mode, print the parent mode.
21805 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21806 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21808 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21810 * minibuffer.el (completion--capf-wrapper): Check applicability before
21811 returning non-nil for non-exclusive completion data.
21812 * progmodes/etags.el (tags-completion-at-point-function):
21813 * info-look.el (info-lookup-completions-at-point): Mark as
21815 (info-complete): Adjust accordingly.
21817 * info-look.el: Convert to lexical-binding and completion-at-point.
21818 (info-lookup-completions-at-point): New function.
21819 (info-complete): Use it and completion-in-region.
21821 2011-05-28 Drew Adams <drew.adams@oracle.com>
21823 * isearch.el: Let M-e start with point at the first mismatched char.
21824 (isearch-fail-pos): New function.
21825 (isearch-edit-string): Use it.
21827 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21829 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21831 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21833 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21834 traversal functions for avl-trees.
21835 (avl-tree--stack): New struct.
21836 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21837 (avl-tree-enter): Add optional `updatefun' arg.
21838 (avl-tree--do-enter): Add optional `updatefun' arg.
21839 Change return value.
21840 (avl-tree-delete): Add optional `test' and `nilflag' args.
21841 (avl-tree--do-delete): Add `test' and `nilflag' args.
21842 Change return value.
21843 (avl-tree-member): Add optional `nilflag'
21844 (avl-tree-member-p): New function.
21845 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21846 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21847 (avl-tree-stack-empty-p): New functions.
21849 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21850 avl-tree--del-balance1 and make it work both ways.
21851 (avl-tree--del-balance2): Remove.
21852 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21853 make it work both ways.
21854 (avl-tree--enter-balance2): Remove.
21855 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21857 (avl-tree--mapc, avl-tree-map): Add direction argument.
21859 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21861 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21863 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21865 * select.el: Support clipboard managers with built-in function
21866 x-clipboard-manager-save, via delete-frame-functions and
21868 (xselect-convert-to-targets): Add MULTIPLE target to list.
21869 (xselect-convert-to-save-targets): New function.
21871 2011-05-27 Kenichi Handa <handa@m17n.org>
21873 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21874 let-binding rfc2047-encode-encoded-words to nil.
21876 2011-05-27 Glenn Morris <rgm@gnu.org>
21878 * mail/emacsbug.el: Don't require url-util.
21880 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21882 * files.el (set-auto-mode):
21883 Also respect mode: entries at the end of the file. (Bug#8586)
21885 2011-05-26 Glenn Morris <rgm@gnu.org>
21887 * files.el (hack-local-variables-prop-line, hack-local-variables):
21888 Downcase mode names, as seems to be traditional.
21889 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21891 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21892 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21894 2011-05-25 Julien Danjou <julien@danjou.info>
21896 * textmodes/rst.el (rst-define-level-faces): Do not define face
21897 symbol if it is already defined.
21899 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21901 * play/5x5.el (5x5-new-game, 5x5-randomize):
21902 Reset 5x5-solver-output to nil when a new grid is cast.
21903 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21904 these debugging traces, as defmacro breaks the compiled code.
21906 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21908 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21910 2011-05-24 Leo Liu <sdl.web@gmail.com>
21912 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21913 (vc-bzr-sha1): Adapt.
21915 * sha1.el: Remove. Function `sha1' is now builtin.
21917 * bindings.el: Provide sha1 feature.
21919 2011-05-24 Kenichi Handa <handa@m17n.org>
21921 * mail/sendmail.el: Require `rfc2047'.
21922 (mail-insert-from-field): Do not perform RFC2047 encoding.
21923 (mail-encode-header): New function.
21924 (sendmail-send-it): Set buffer-file-coding-system of the work
21925 buffer to the return value of select-message-coding-system.
21926 Call mail-encode-header.
21928 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21930 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21932 * mail/supercite.el (sc-default-cite-frame):
21933 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21935 2011-05-24 Glenn Morris <rgm@gnu.org>
21937 * progmodes/python.el (brm-menu): Declare.
21939 * emulation/viper.el (viper-set-hooks): Declare.
21941 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21942 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21943 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21944 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21945 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21946 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21948 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21950 Add an :exit-function for completion-at-point.
21952 * minibuffer.el (completion--done): New fun.
21953 (completion--do-completion): Use it. New arg `expect-exact'.
21954 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21955 since completion--do-completion does it for us now.
21956 (minibuffer-force-complete): Use completion--done and
21957 completion--replace. Handle sole-completion case with more care.
21958 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21959 (completion-extra-properties): New var.
21960 (completion-annotate-function): Make obsolete.
21961 (minibuffer-completion-help): Adjust accordingly.
21962 Use completion-list-insert-choice-function.
21963 (completion-at-point, completion-help-at-point):
21964 Bind completion-extra-properties.
21965 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21966 * simple.el (completion-list-insert-choice-function): New var.
21967 (completion-setup-function): Preserve it.
21968 (choose-completion): Pay attention to it, shuffle the code a bit.
21969 (choose-completion-string): New arg `insert-function'.
21971 * textmodes/bibtex.el: Convert to lexical binding.
21972 (bibtex-mode-map): Use completion-at-point.
21973 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21974 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21975 (bibtex-complete): Define as obsolete alias.
21976 (bibtex-complete-internal): Remove.
21977 (bibtex-format-entry): Remove unused sub-group in regexp.
21978 * shell.el (shell--command-completion-data)
21979 (shell-environment-variable-completion):
21980 * pcomplete.el (pcomplete-completions-at-point):
21981 * comint.el (comint--complete-file-name-data): Use :exit-function
21982 instead of completion-table-with-terminator so it also works for
21985 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21987 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21989 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21992 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21994 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21996 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21997 customization variable and implement: If non-nil, auto-fill will
21998 be inhibited while on topic's header line.
22000 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22002 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22003 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22004 always have a solution in grid size = 5 cases.
22005 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22006 (5x5-solver-output, 5x5-log-buffer): New vars.
22007 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22008 Make these variables buffer local to achieve 5x5 multi-session-ness.
22009 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22010 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22011 (5x5-solve-suggest): New funs.
22012 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22013 randomize a grid so that we ensure that there is always a solution.
22014 (5x5-make-random-grid): Allow other movement than flipping.
22016 2011-05-23 Kevin Ryde <user42@zip.com.au>
22018 * emacs-lisp/advice.el (ad-read-advised-function):
22019 Use `function-called-at-point' as the default, if it has
22020 advice and passes PREDICATE.
22022 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22024 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22025 byte-compile-lambda if it's actually a lambda.
22027 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22028 Fix function quoting. Use backquote better.
22030 2011-05-22 Yuanle Song <sylecn@gmail.com>
22032 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22033 matching (Bug#8516).
22035 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22037 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22038 different face (Bug#8178).
22040 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22042 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22043 defface (Bug#8144).
22045 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22047 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22048 funcall as well (bug#8712). Warn when performing those conversions.
22049 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22051 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22053 2011-05-22 Glenn Morris <rgm@gnu.org>
22055 * files.el (hack-local-variables-prop-line): Small simplifications.
22056 (hack-local-variables, hack-local-variables-prop-line):
22057 If MODE-ONLY, return the mode, rather than just `t'.
22059 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22061 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22063 2011-05-21 Glenn Morris <rgm@gnu.org>
22065 * files.el (hack-local-variables-prop-line, hack-local-variables):
22066 If only interested in the mode, don't bother doing the other stuff.
22068 * image-mode.el (image-after-revert-hook):
22069 Redraw all frames on which the image is visible. (Bug#8567)
22071 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22073 * wid-edit.el (widget-checklist-match-inline):
22074 Fix 2011-04-19 change. (Bug#8649)
22076 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22078 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22079 Also allow singlespace after single-letter capitals followed by a dot.
22081 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22082 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22084 2011-05-20 Nix <nix@esperi.org.uk>
22086 * files.el (basic-save-buffer-2):
22087 Fix handling of break-hardlink-on-save with non-existent files.
22089 2011-05-19 Deniz Dogan <deniz@dogan.se>
22091 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22092 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22094 2011-05-19 Glenn Morris <rgm@gnu.org>
22096 * progmodes/f90.el (f90-type-def-re):
22097 Handle "type, bind(c)". (Bug#8691)
22099 * emacs-lisp/autoload.el (batch-update-autoloads):
22100 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22102 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22104 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22105 property for the correct connection in case of multihops.
22107 2011-05-18 Glenn Morris <rgm@gnu.org>
22109 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22110 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22112 Rationalize calendar handling of day and month abbrev-arrays.
22113 * calendar/calendar.el (calendar-customized-p): New function.
22114 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22115 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22117 (calendar-abbrev-length, calendar-day-abbrev-array)
22118 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22119 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22120 Elements may no longer be nil.
22121 (calendar-day-name, calendar-month-name):
22122 Update for changed nature of abbrev arrays.
22123 * calendar/diary-lib.el (diary-name-pattern):
22124 Update for changed nature of abbrev arrays.
22125 (diary-mark-entries-1): Update calendar-make-alist calls.
22126 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22127 * calendar/cal-html.el (cal-html-day-abbrev-array):
22128 Simply inherit from calendar-day-abbrev-array.
22130 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22132 * progmodes/grep.el (grep-mode): Disable default
22133 compilation-directory-matcher setting (bug#8684).
22135 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22137 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22138 instead of "head" and "tail". There were problems with SunOS 5.9,
22139 and it performs better.
22141 2011-05-17 Glenn Morris <rgm@gnu.org>
22143 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22145 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22146 Replace obsolete function.
22148 * shell.el (pcomplete-parse-arguments-function): Declare.
22150 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22151 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22152 (appt-check): Doc fixes.
22153 (appt-disp-window-function, appt-delete-window-function):
22154 Remove needless special case in custom :type.
22155 (appt-display-count): Default to 0, not nil.
22156 (appt-check): Reset appt-display-count to 0, not nil.
22158 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22160 * progmodes/python.el (python-font-lock-keywords):
22161 Add the Python 3.X keyword "nonlocal" (bug#8639).
22163 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22165 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22167 2011-05-16 Kevin Ryde <user42@zip.com.au>
22169 * info-look.el (makefile-automake-mode): New setups, looking in
22170 automake manual, then makefile-mode.
22171 (makefile-mode): Remove automake manual, have it just in
22172 makefile-automake-mode since there's various things different or
22173 not relevant to plain make.
22174 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22175 believe a hypothetical automake-mode would go to makefile-mode,
22176 not the other way around.
22178 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22180 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22181 hunk-end tags (Bug#8672).
22183 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22184 vc-annotate-show-diff-revision-at-line (Bug#8671).
22186 2011-05-14 Glenn Morris <rgm@gnu.org>
22188 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22189 in the middle of an existing one with multiple authors. (Bug#8645)
22190 (change-log-font-lock-keywords): Also handle multiple author lines
22191 with leading tabs. (Bug#8644)
22193 * calendar/appt.el (appt-check): Rename some local variables.
22194 Some simplification/reordering.
22196 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22197 (feedmail-sendmail-f-doesnt-sell-me-out)
22198 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22199 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22200 (feedmail-queue-runner-message-sender): Set :version.
22201 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22202 (bbdb-dwim-net-address, vm-mail): Declare.
22203 (feedmail-binmail-gnulinuxish-template):
22204 Rename from feedmail-binmail-linuxish-template.
22205 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22206 Use insert-buffer-substring.
22208 2011-05-14 Bill Carpenter <bill@carpenter.org>
22210 * mail/feedmail.el (feedmail-patch-level): Increase.
22211 (feedmail-debug): New custom group.
22212 (feedmail-confirm-outgoing-timeout)
22213 (feedmail-sendmail-f-doesnt-sell-me-out)
22214 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22215 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22216 (feedmail-sender-line, feedmail-from-line)
22217 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22218 (feedmail-spray-this-address)
22219 (feedmail-spray-address-fiddle-plex-list)
22220 (feedmail-queue-use-send-time-for-date)
22221 (feedmail-queue-use-send-time-for-message-id)
22222 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22223 (feedmail-buffer-eating-function):
22225 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22226 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22227 (feedmail-message-action-scroll-down): New functions.
22228 (feedmail-queue-directory, feedmail-queue-draft-directory):
22229 Use expand-file-name.
22230 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22231 Remove C-v help entry.
22232 (feedmail-queue-buffer-file-name): New variable.
22233 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22234 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22235 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22236 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22237 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22238 (feedmail-message-action-toggle-spray)
22239 (feedmail-run-the-queue-no-prompts)
22240 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22241 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22242 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22243 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22244 (feedmail-envelope-deducer, feedmail-fiddle-from)
22245 (feedmail-fiddle-sender, feedmail-default-date-generator)
22246 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22247 (feedmail-fiddle-spray-address)
22248 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22249 (feedmail-fiddle-list-of-fiddle-plexes)
22250 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22251 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22252 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22253 Change default. Doc fix.
22254 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22255 (feedmail-binmail-linuxish-template): New constant.
22256 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22257 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22258 (feedmail-send-it): Add debug call.
22259 Use feedmail-queue-buffer-file-name, and
22260 feedmail-send-it-immediately-wrapper.
22261 (feedmail-message-action-send): Add debug call.
22262 Use feedmail-send-it-immediately-wrapper.
22263 (feedmail-queue-express-to-queue): Add debug call.
22264 Run feedmail-queue-express-hook.
22265 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22266 (feedmail-message-action-help-blat):
22267 Rename from feedmail-queue-send-edit-prompt-help-first.
22268 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22269 Check line-endings. Handle errors better.
22270 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22271 Doc fix. Add debug call.
22272 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22273 Use feedmail-queue-send-edit-prompt-inner.
22274 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22275 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22276 from feedmail-queue-send-edit-prompt.
22277 (feedmail-queue-send-edit-prompt-help)
22278 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22279 (feedmail-tidy-up-slug): Add debug call.
22280 Respect feedmail-queue-slug-suspect-regexp.
22281 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22282 (feedmail-dump-message-to-queue): Add debug call.
22283 Expand queue-directory.
22284 (feedmail-dump-message-to-queue): Change message slightly.
22285 Use feedmail-say-chatter.
22286 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22287 (feedmail-send-it-immediately-wrapper): New function.
22288 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22289 Insert empty string rather than newline. Handle full-frame case.
22290 Use catch/throw. Use feedmail-say-chatter.
22291 (feedmail-fiddle-from): Try mail-host-address.
22292 (feedmail-default-message-id-generator): Doc fix.
22293 Bind system-time-locale. Handle missing end.
22294 (feedmail-fiddle-x-mailer): Add debug call.
22295 Handle feedmail-x-mailer-line being nil.
22296 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22297 Add debug call. Use buffer-substring-no-properties.
22298 (feedmail-say-debug, feedmail-say-chatter): New functions.
22299 (feedmail-find-eoh): Give an explicit error.
22301 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22303 * net/newst-treeview.el (newsticker-treeview-face): Change default
22304 family from helvetica to sans.
22305 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22306 etc/images/newsticker.
22308 * net/newst-reader.el (newsticker-feed-face): Change default
22309 family from helvetica to sans.
22311 * net/newst-plainview.el (newsticker-new-item-face)
22312 (newsticker-old-item-face, newsticker-immortal-item-face)
22313 (newsticker-obsolete-item-face, newsticker-date-face)
22314 (newsticker-statistics-face): Change default family from
22316 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22317 etc/images/newsticker.
22319 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22320 (newsticker--process-auto-mark-filter-match): Tell user about
22323 2011-05-13 Didier Verna <didier@xemacs.org>
22325 Common Lisp indentation improvements on defmethod and lambda-lists.
22326 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22328 (lisp-lambda-list-keyword-parameter-indentation)
22329 (lisp-lambda-list-keyword-parameter-alignment)
22330 (lisp-lambda-list-keyword-alignment): New customizable user options.
22331 (lisp-indent-defun-method): Improve docstring.
22332 (extended-loop-p): Fix comment.
22333 (lisp-indent-lambda-list-keywords-regexp): New variable.
22334 (lisp-indent-lambda-list): New function.
22335 (lisp-indent-259): Use it.
22336 (lisp-indent-defmethod): Support for more than one
22337 method qualifier and properly indent methods lambda-lists.
22338 (defgeneric): Provide a missing common-lisp-indent-function property.
22340 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22342 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22343 bounds for the empty string (bug#8667).
22345 2011-05-13 Glenn Morris <rgm@gnu.org>
22347 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22349 * mail/sendmail.el (sendmail-program): Try executable-find first.
22350 (sendmail-send-it): `sendmail-program' cannot be unbound.
22352 * calendar/appt.el (appt-make-list): Simplify.
22353 (appt-time-msg-list): Doc fix.
22354 (appt-check): Change mode-line message at the time of the appointment.
22356 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22358 * progmodes/ld-script.el (ld-script-keywords)
22359 (ld-script-builtins): Update keywords list.
22361 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22363 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22365 * shell.el (shell-completion-vars): New function.
22367 * simple.el (read-shell-command): Use it.
22368 (blink-matching-open): No need for " [...]" in minibuffer-message.
22370 2011-05-12 Glenn Morris <rgm@gnu.org>
22372 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22373 (appt-check): Simplify.
22375 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22377 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22378 literal "/dev/null".
22380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22382 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22385 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22387 * progmodes/which-func.el (which-function):
22388 Use add-log-current-defun instead of add-log-current-defun-function,
22389 which might not be defined (Bug#8260).
22391 2011-05-12 Glenn Morris <rgm@gnu.org>
22393 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22394 Let byte-compile-initial-macro-environment always take precedence.
22396 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22398 * net/rcirc.el: Add support for SSL/TLS connections.
22399 (rcirc-server-alist): New field `encryption'.
22400 (rcirc): Check `encryption' settings.
22401 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22402 Merge make-local-variable into `set'.
22403 (rcirc--connection-open-p): New function.
22404 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22405 the process is not a network process (e.g. running gnutls-cli).
22406 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22407 Make rcirc-(en|de)code-coding-system local here.
22408 (rcirc-mode): Merge make-local-variable into `set'.
22409 (rcirc-parent-buffer): Make permanent buffer-local.
22410 (rcirc-multiline-minor-mode): Don't do it here.
22411 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22412 there's no server buffer.
22414 2011-05-11 Glenn Morris <rgm@gnu.org>
22416 * newcomment.el (comment-kill): Prefix "unused" local.
22418 * term/w32console.el (get-screen-color): Declare.
22420 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22421 Handle symbol elements of byte-compile-initial-macro-environment.
22423 2011-05-10 Leo Liu <sdl.web@gmail.com>
22425 * bookmark.el (bookmark-bmenu-mode-map):
22426 Bind bookmark-bmenu-search to `/'.
22428 * mail/footnote.el: Convert to utf-8 encoding.
22429 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22430 (Footnote-unicode): New function.
22431 (footnote-style-alist): Add unicode style to the list.
22432 (footnote-style): Doc fix.
22434 2011-05-10 Jim Meyering <meyering@redhat.com>
22436 Fix doubled-word typos.
22437 * international/quail.el (quail-insert-kbd-layout): and and -> and
22438 * kermit.el: and and -> and
22439 * net/ldap.el (ldap-search-internal): to to -> to
22440 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22441 * progmodes/js.el (js-mode): and and -> and
22442 * textmodes/artist.el (artist-move-to-xy): at at -> at
22443 (artist-draw-region-trim-line-endings): if if -> if
22444 And Safetyc -> Safety.
22445 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22447 2011-05-10 Glenn Morris <rgm@gnu.org>
22448 Stefan Monnier <monnier@iro.umontreal.ca>
22450 * files.el (hack-one-local-variable-eval-safep):
22451 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22453 2011-05-10 Glenn Morris <rgm@gnu.org>
22455 * calendar/diary-lib.el (diary-list-entries-hook)
22456 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22457 (diary-nongregorian-marking-hook, diary-list-entries)
22458 (diary-include-other-diary-files, diary-mark-entries)
22459 (diary-mark-included-diary-files): Doc fixes.
22461 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22463 * misc.el: Require tabulated-list.el during compilation.
22465 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22467 * progmodes/compile.el (compilation-start):
22468 Run compilation-filter-hook for the async case too.
22469 (compilation-filter-hook): Doc fix.
22471 2011-05-09 Deniz Dogan <deniz@dogan.se>
22473 * wdired.el: Remove outdated installation comment. Fix usage
22476 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22478 * misc.el: Implement new command `list-dynamic-libraries'.
22479 (list-dynamic-libraries--loaded-only-p): New variable.
22480 (list-dynamic-libraries--refresh): New function.
22481 (list-dynamic-libraries): New command.
22483 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22486 Fix the ant regexp to handle end-line and end-column info from jikes.
22487 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22488 higher priority to avoid clobbering by gnu.
22490 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22492 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22493 if the face has existing theme settings (Bug#8454).
22495 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22497 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22498 Only match variables declared via `my' or `our' (Bug#8261).
22500 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22501 special file names `.' and `..' (Bug#8259).
22503 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22505 * progmodes/grep.el (grep-mode-font-lock-keywords):
22506 Remove buffer-changing entries.
22507 (grep-filter): New function.
22508 (grep-mode): Add it to compilation-filter-hook.
22510 * progmodes/compile.el (compilation-filter-hook)
22511 (compilation-filter-start): New defvars.
22512 (compilation-filter): Call compilation-filter-hook prior to
22513 updating the process mark.
22515 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22517 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22519 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22521 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22522 mailclient-send-it even if window-system is nil. (Bug#8595)
22524 * term/w32console.el (terminal-init-w32console):
22525 Call get-screen-color and use its output to set the frame
22526 background-mode. (Bug#8597)
22528 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22530 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22531 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22533 (defgeneric, eieio--defmethod): Use them.
22534 (eieio-defgeneric): Remove.
22535 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22537 2011-05-07 Glenn Morris <rgm@gnu.org>
22539 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22540 Use let rather than let*.
22541 (timeclock-find-discrep): Remove unused local.
22543 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22545 * calendar/appt.el (appt-time-msg-list): Doc fix.
22547 2011-05-06 Noah Friedman <friedman@splode.com>
22549 * apropos.el (apropos-print-doc): Only use
22550 emacs-lisp-docstring-fill-column when it is bound to an integer,
22551 per that variable's documentation.
22553 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22555 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22556 and warnings are not silently discarded (e.g. use -d instead of -P).
22558 2011-05-06 Glenn Morris <rgm@gnu.org>
22560 * calendar/appt.el (appt-message-warning-time): Doc fix.
22561 (appt-warning-time-regexp): New option.
22562 (appt-make-list): Respect appt-message-warning-time.
22564 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22566 (diary-add-to-list): Strip comments from the displayed string.
22567 (diary-mode): Set comment-start and comment-end.
22569 * vc/diff-mode.el (smerge-refine-subst): Declare.
22570 (diff-refine-hunk): Don't require smerge-mode when compiling.
22572 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22574 * simple.el (list-processes): Return nil as the docstring says.
22576 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22578 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22580 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22581 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22582 determining of binary transfer. (Bug#7383)
22584 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22587 Fix port computation bug. (Bug#8618)
22589 2011-05-05 Glenn Morris <rgm@gnu.org>
22591 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22593 * simple.el (shell-dynamic-complete-functions)
22594 (comint-dynamic-complete-functions): Declare.
22596 * net/network-stream.el (gnutls-negotiate):
22597 * simple.el (tabulated-list-print): Fix declarations.
22599 * progmodes/gud.el (syntax-symbol, syntax-point):
22600 Remove unnecessary and incorrect declarations.
22602 * emacs-lisp/check-declare.el (check-declare-scan):
22603 Handle byte-compile-initial-macro-environment in bytecomp.el.
22605 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22607 Fix earlier half-done eieio-defmethod change (bug#8338).
22608 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22609 Streamline and change calling convention.
22610 (defmethod): Adjust accordingly and simplify.
22611 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22612 new eieio--defmethod.
22613 (slot-boundp): Minor CSE simplification.
22615 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22617 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22618 (glasses-make-readable): Use glasses-separate-capital-groups.
22620 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22622 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22623 (warning-series): Doc fix.
22624 (display-warning): Don't try to create the buffer if we just found it.
22626 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22628 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22629 (autoload-find-generated-file): New function.
22630 (generate-file-autoloads): Bind generated-autoload-file to
22632 (update-file-autoloads, update-directory-autoloads):
22633 Use autoload-find-generated-file. If called interactively, prompt for
22634 output file (Bug#7989).
22635 (batch-update-autoloads): Doc fix.
22637 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22639 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22641 2011-05-04 Glenn Morris <rgm@gnu.org>
22643 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22644 function, so it follows changes in calendar-date-style.
22645 (diary-fancy-date-matcher): New function.
22646 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22647 (diary-fancy-font-lock-fontify-region-function):
22648 Use diary-fancy-date-pattern as a function.
22650 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22651 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22653 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22655 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22656 instead of positional arguments. Allow :keylist and :crlfiles
22658 (open-gnutls-stream): Call it.
22660 * net/network-stream.el (network-stream-open-starttls): Adjust to
22661 call `gnutls-negotiate' with :process and :hostname arguments.
22663 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22665 * minibuffer.el (completion--message): New function.
22666 (completion--do-completion, minibuffer-complete)
22667 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22668 (completion--do-completion): Don't ignore completion-auto-help when in
22671 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22672 internal encoding (e.g. tibetan zero is not whitespace).
22673 (global-whitespace-mode): Prefer save-current-buffer.
22674 (whitespace-trailing-regexp): Remove useless save-match-data.
22675 (whitespace-empty-at-bob-regexp): Minor simplification.
22677 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22679 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22681 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22683 * textmodes/ispell.el (ispell-add-per-file-word-list):
22684 Use `concat' to create string for insertion.
22686 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22688 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22689 Avoid open-line which runs post-self-insert-hook.
22690 (bibtex-fill-entry): Remove unused `end' var.
22692 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22694 * textmodes/ispell.el (ispell-add-per-file-word-list):
22695 Protect against `nil' value of `comment-start' (Bug#8579).
22697 2011-05-03 Leo Liu <sdl.web@gmail.com>
22699 * isearch.el (isearch-yank-pop): New command.
22700 (isearch-mode-map): Bind it to `M-y'.
22701 (isearch-forward): Mention it.
22703 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22705 * simple.el (minibuffer-complete-shell-command): Remove.
22706 (minibuffer-local-shell-command-map): Use completion-at-point.
22707 (read-shell-command): Setup completion vars here instead.
22708 (read-expression-map): Bind TAB to symbol completion.
22710 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22711 error directly rather via storing it into `results'.
22713 2011-05-02 Leo Liu <sdl.web@gmail.com>
22715 * vc/diff.el: Fix description.
22717 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22719 * server.el (server-eval-at): New function.
22721 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22723 * net/network-stream.el (open-network-stream): Take a :nowait
22724 parameter and pass it on to `make-network-process'.
22725 (network-stream-open-plain): Ditto.
22727 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22729 * faces.el (face-spec-set-match-display): Don't match toolkit
22730 options on terminal frames.
22732 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22734 * progmodes/pascal.el: Use lexical binding.
22735 (pascal-mode-map): Remove author preferences.
22737 * pcomplete.el (pcomplete-std-complete): Don't abuse
22738 completion-at-point.
22740 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22742 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22743 removing code that has been dead since 1991 or so.
22745 * startup.el (command-line): When warning about "_emacs", use a
22746 delayed warning to allow the user to filter it out.
22748 2011-04-28 Deniz Dogan <deniz@dogan.se>
22750 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22751 user has not joined.
22753 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22755 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22756 aren't any completions at point.
22758 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22760 * subr.el (display-delayed-warnings): New function.
22761 (delayed-warnings-hook): New variable.
22763 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22765 * minibuffer.el (completion-at-point, completion-help-at-point):
22766 Don't presume that a given completion-at-point-function will always
22767 use the same calling convention.
22769 * pcomplete.el (pcomplete-completions-at-point):
22770 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22771 pcomplete-seen is non-nil.
22772 (pcomplete-comint-setup): Also recognize the new comint/shell
22773 completion functions.
22774 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22775 pcomplete-seen is non-nil.
22777 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22779 * calendar/icalendar.el (diary-lib): Add require statement.
22780 (icalendar--create-uid): Read out a uid from a text-property on
22781 the first character in the entry. This allows for code to add its
22782 own uid to the entry.
22783 (icalendar--convert-float-to-ical): Add export of
22784 `diary-float'-entries save for those with the optional DAY
22787 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22789 * subr.el (shell-quote-argument): Use alternate escaping strategy
22790 when we spot a variable reference in a string.
22792 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22794 * cus-start.el (all): Define customization for debug-on-event.
22796 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22798 * subr.el (shell-quote-argument): Escape correctly under Windows.
22800 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22802 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22804 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22806 * net/tramp.el (tramp-process-actions): Add POS argument.
22807 Delete region between POS and (pos).
22809 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22810 Use `nil' position in `tramp-process-actions' call.
22811 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22813 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22814 position in `tramp-process-actions' call.
22816 * net/trampver.el: Update release number.
22818 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22820 * custom.el (defcustom): Obey lexical-binding.
22822 Fix octave-inf completion problems reported by Alexander Klimov.
22823 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22824 Inherit from octave-mode-syntax-table.
22825 (inferior-octave-mode): Set info-lookup-mode.
22826 (inferior-octave-completion-at-point): New function.
22827 (inferior-octave-complete): Use it and completion-in-region.
22828 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22829 comint-filename-completion.
22830 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22831 symbol elements which shouldn't be word elements.
22832 (octave-font-lock-keywords, octave-beginning-of-defun)
22833 (octave-function-header-regexp): Adjust regexps accordingly.
22834 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22836 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22838 * net/gnutls.el (gnutls-errorp): Declare before first use.
22840 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22842 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22843 verify-error, and verify-hostname-error parameters. Check whether
22844 default trustfile exists before going to use it. Add missing
22845 argument to gnutls-message-maybe call. Return value.
22846 Reported by Claudio Bley <claudio.bley@gmail.com>.
22847 (open-gnutls-stream): Add usage example.
22849 * net/network-stream.el (network-stream-open-starttls): Give host
22850 parameter to `gnutls-negotiate'.
22851 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22852 * subr.el (shell-quote-argument): Escape correctly under Windows.
22854 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22856 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22857 Use correct match group (bug#8438).
22859 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22861 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22862 (package-menu--generate): New arg specifying packages to show.
22863 (package-menu-refresh, package-menu-execute, list-packages):
22865 (package-show-package-list): New function, replacing deleted
22866 package--list-packages (renamed because it is non-internal).
22868 * finder.el (finder-list-matches): Use package-show-package-list
22869 instead of deleted package--list-packages.
22871 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22872 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22873 (vc-annotate-mode-map): Bind it to RET.
22875 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22877 * progmodes/etags.el (next-file): Don't use set-buffer to change
22878 buffers (Bug#8478).
22880 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22882 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22884 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22885 (apropos-accumulator): Doc fix.
22886 (apropos-function, apropos-macro, apropos-command)
22887 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22888 (apropos-plist): Add face property.
22889 (apropos-symbols-internal): Fix indentation.
22890 (apropos-print): Simplify help, and recognize apropos-multi-type.
22891 (apropos-print-doc): Use button-type-get to extract the button's
22892 face property. Fill docstring (Bug#8352).
22894 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22896 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22898 * play/mpuz.el (mpuz-silent): Doc fix.
22899 (mpuz-mode-map): Use mapc.
22900 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22901 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22902 Fix typos in docstrings.
22904 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22905 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22907 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22909 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22911 * minibuffer.el (completion--do-completion): Avoid the "Next char
22912 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22914 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22915 mouse-2 into unread-command-events, it is interpreted correctly.
22917 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22918 (image-toggle-display): Doc fix.
22920 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22922 * textmodes/page.el (what-page): Use line-number-at-pos to
22923 calculate line number (Bug#6825).
22925 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22927 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22928 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22929 Pass argument NO-DEFAULT to `find-tag-interactive'.
22931 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22933 Lexical-binding cleanup.
22935 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22936 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22937 * progmodes/ada-prj.el (ada-prj-initialize-values)
22938 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22939 (ada-prj-show-value):
22940 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22941 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22942 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22943 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22944 * progmodes/bug-reference.el (bug-reference-push-button):
22945 * progmodes/fortran.el (fortran-line-length):
22946 * progmodes/glasses.el (glasses-change):
22947 * progmodes/octave-mod.el (octave-fill-paragraph):
22948 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22949 (python-pdbtrack-grub-for-buffer, python-sentinel):
22950 * progmodes/sql.el (sql-save-connection):
22951 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22952 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22953 Mark unused parameters.
22955 * progmodes/compile.el (compilation--flush-directory-cache)
22956 (compilation--flush-parse, compile-internal): Mark unused parameters.
22957 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22958 (compilation-next-error-function): Remove unused variable `timestamp'.
22960 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22961 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22963 * progmodes/dcl-mode.el (dcl-end-of-command):
22964 Remove unused variable `start'.
22965 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22966 (dcl-option-value-basic, dcl-option-value-offset)
22967 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22968 Mark unused parameters.
22969 (dcl-save-local-variable): Remove unused variable `val'.
22972 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22973 Mark unused parameters.
22974 (delphi-ignore-changes): Move before first use.
22975 (delphi-charset-token-at): Remove unused variable `start'.
22976 (delphi-else-start): Remove unused variable `if-count'.
22977 (delphi-comment-block-start, delphi-comment-block-end):
22978 Remove unused variable `kind'.
22979 (delphi-indent-line): Remove unused variable `new-point'.
22981 * progmodes/ebrowse.el (ebrowse-files-list)
22982 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22983 Mark unused parameters. Don't quote `lambda'.
22984 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22985 Don't quote `lambda'.
22986 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22987 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22988 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22989 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22990 Use `ignore-errors'.
22991 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22992 (ebrowse-view/find-file-and-search-pattern)
22993 (ebrowse-view/find-member-declaration/definition):
22994 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22995 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22996 Rename parameter PREFIX-ARG to PREFIX.
22997 (ebrowse-tags-read-name): Remove unused variables `start' and
22999 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23002 * progmodes/etags.el (local-find-tag-hook): Declare.
23003 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23004 Mark unused parameters.
23006 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23007 (executable-interpret): Mark unused parameter.
23009 * progmodes/flymake.el (flymake-process-sentinel)
23010 (flymake-after-change-function)
23011 (flymake-create-temp-with-folder-structure)
23012 (flymake-get-include-dirs-dot): Mark unused parameters.
23013 (flymake-safe-delete-directory): Remove unused variable `err'.
23015 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23016 (speedbar-timer-fn, speedbar-line-text)
23017 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23018 (speedbar-center-buffer-smartly): Declare functions.
23019 (gdb-find-watch-expression): Remove unused variable `array'.
23020 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23021 (gdb-starting): Mark unused parameters.
23022 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23023 (gdb-table-string): Remove unused variable `res'.
23024 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23025 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23026 (gdb-display-buffer): Remove unused variable `cur-size'.
23028 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23029 allow lexical-binding compilation.
23030 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23031 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23032 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23033 Mark unused parameters.
23034 (gud-gdb-marker-filter): Remove unused variable `match'.
23035 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23036 lambda expressions and funcall them, instead of using `fset'.
23038 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23039 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23041 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23042 variable `header-beg'; use `let'.
23044 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23045 `restart', `last-sexp' and `at-do'.
23047 * progmodes/js.el (js--debug): Mark unused parameter.
23048 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23049 (js--splice-into-items): Remove unused variable `item'.
23050 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23052 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23053 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23054 (makefile-complete): Remove unused variable `try'.
23055 (makefile-fill-paragraph, makefile-match-function-end):
23056 Mark unused parameters.
23058 * progmodes/octave-inf.el (inferior-octave-complete):
23059 Remove unused variable `proc'.
23060 (inferior-octave-output-digest): Mark unused parameter.
23062 * progmodes/perl-mode.el (perl-calculate-indent):
23063 Remove unused variable `err'.
23065 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23066 (prolog-indent-line): Mark unused parameters.
23067 (prolog-indent-line): Remove unused variable `beg'.
23069 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23070 (reporter-dont-compact-list): Declare.
23072 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23073 Remove unused variable `char'.
23074 (sh-debug): Mark unused parameter.
23075 (sh-get-indent-info): Remove unused variable `start'.
23076 (sh-calculate-indent): Remove unused variable `var'.
23078 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23079 (simula-electric-keyword): Remove unused variable `null'.
23080 (simula-search-backward, simula-search-forward): Remove unused
23081 variables `begin' and `end'.
23083 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23084 Remove unused variable `pos'.
23085 (vera-electric-tab, vera-comment-uncomment-region):
23086 Mark unused parameters.
23087 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23089 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23091 * emacs-lisp/package.el (package--builtins, package-alist)
23092 (package-load-descriptor, package-built-in-p, package-activate)
23093 (define-package, package-installed-p)
23094 (package-compute-transaction, package-buffer-info)
23095 (package--push): Doc fix. Distinguish more clearly between
23096 version strings and version lists.
23098 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23100 Lexical-binding cleanup.
23102 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23103 (5x5-make-mutate-best):
23104 * play/fortune.el (fortune-in-buffer):
23105 * play/gomoku.el (gomoku-init-display):
23106 * play/solitaire.el (solitaire, solitaire-do-check):
23107 * play/tetris.el (tetris-default-update-speed-function):
23108 Mark unused parameters.
23110 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23111 (bubbles--shift): Remove unused variable `char-org'.
23112 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23113 (bubbles--show-images): Remove unused variable `char'.
23115 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23116 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23117 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23118 (decipher-analyze-buffer): Use ?\s.
23119 (decipher-make-checkpoint): Remove unused variable `mapping'.
23121 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23123 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23124 Remove unused variable `result'; use `let'.
23126 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23127 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23128 (gametree-children-shown-p, gametree-compute-reduced-score):
23129 Use `ignore-errors'.
23131 * play/handwrite.el (ps-lpr-switches): Declare.
23132 (handwrite): Remove unused variables `pmin' and `lastp'.
23134 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23136 * play/landmark.el (landmark-init-display)
23137 (landmark-update-naught-weights): Mark unused parameters.
23138 (landmark-y): Remove unused variable `noise'. Simplify.
23139 (landmark-human-plays): Remove unused variable `score'.
23141 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23142 (mpuz-try-proposal): Remove unused variable `game'.
23144 * play/zone.el (life-patterns): Declare.
23146 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23148 * vc/vc.el (ediff-vc-internal): Declare function.
23150 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23152 * shell.el: Use lexical-binding and std completion UI.
23153 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23154 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23155 comint-preoutput-filter-functions rather than on
23156 comint-output-filter-functions.
23157 (shell-command-completion, shell--command-completion-data)
23158 (shell-filename-completion, shell-environment-variable-completion)
23159 (shell-c-a-p-replace-by-expanded-directory): New functions.
23160 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23161 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23162 (shell-dynamic-complete-environment-variable): Use them.
23163 (shell-dynamic-complete-as-environment-variable)
23164 (shell-dynamic-complete-as-command): Remove.
23165 (shell-match-partial-variable): Match past point.
23166 * comint.el: Clean up use of completion-at-point-functions.
23167 (comint-completion-at-point): New function.
23168 (comint-mode): Use it completion-at-point-functions.
23169 (comint-dynamic-complete): Make it obsolete.
23170 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23171 (comint-c-a-p-replace-by-expanded-history): New function.
23172 (comint-dynamic-complete-functions)
23173 (comint-replace-by-expanded-history): Use it.
23174 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23175 termination strings. Try harder to avoid second try-completion.
23176 (completion-in-region-mode-map): Disable bindings that don't work yet.
23178 * comint.el: Use lexical-binding. Require CL.
23179 (comint-dynamic-complete-functions): Use comint-filename-completion.
23180 (comint-completion-addsuffix): Tweak custom type.
23181 (comint-filename-completion, comint--common-suffix)
23182 (comint--common-quoted-suffix, comint--table-subvert)
23183 (comint--complete-file-name-data): New functions.
23184 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23185 (comint-dynamic-list-filename-completions): Use them.
23186 (comint-dynamic-simple-complete): Make obsolete.
23188 * minibuffer.el (completion-in-region-mode):
23189 Keep completion-in-region-mode--predicate global.
23190 (completion-in-region--postch):
23191 Assume completion-in-region-mode--predicate is not null.
23193 * progmodes/flymake.el (flymake-start-syntax-check-process):
23194 Obey `dir'. Simplify.
23196 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23197 we're in VC after all.
23199 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23201 * vc/vc.el (vc-diff-build-argument-list-internal)
23202 (vc-version-ediff, vc-ediff): New commands.
23203 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23205 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23207 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23210 * obsolete/erc-hecomplete.el: Make obsolete.
23211 * obsolete/: Standardize obsolescence info in the header.
23213 2011-04-20 Glenn Morris <rgm@gnu.org>
23215 * calendar/solar.el (solar-horizontal-coordinates):
23216 Use the longitude argument rather than `calendar-longitude'.
23217 (solar-date-next-longitude): Remove unused locals.
23219 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23221 * whitespace.el: New version 13.2.1.
23223 2011-04-20 felix <EmacsWiki> (tiny change)
23225 * whitespace.el (global-whitespace-mode): Keep highlight when
23226 switching between major modes on a file.
23228 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23230 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23231 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23232 multi-line comments as well.
23234 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23236 Lexical-binding cleanup.
23238 * arc-mode.el (archive-mode-revert):
23239 * cmuscheme.el (scheme-interactively-start-process):
23240 * custom.el (custom-initialize-delay):
23241 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23242 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23243 * emacs-lock.el (emacs-lock-clear-sentinel):
23244 * ezimage.el (defezimage):
23245 * follow.el (follow-avoid-tail-recenter):
23246 * fringe.el (set-fringe-mode-1):
23247 * generic-x.el (bat-generic-mode-compile):
23248 * help-mode.el (help-info-variable, help-do-xref)
23249 (help-mode-revert-buffer):
23250 * help.el (view-emacs-todo):
23251 * iswitchb.el (iswitchb-completion-help):
23252 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23253 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23254 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23255 * locate.el (locate-update):
23256 * longlines.el (longlines-encode-region)
23257 (longlines-after-change-function):
23258 * outline.el (outline-isearch-open-invisible):
23259 * ps-def.el (declare-function, charset-dimension, char-width)
23261 * ps-mule.el (ps-mule-plot-string):
23262 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23263 (recentf-edit-list-select, recentf-edit-list-validate)
23264 (recentf-open-files-action):
23265 * rect.el (delete-whitespace-rectangle-line)
23266 (rectangle-number-line-callback):
23267 * register.el (window-configuration-to-register)
23268 (frame-configuration-to-register):
23269 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23270 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23271 (xselect-convert-to-targets, xselect-convert-to-delete)
23272 (xselect-convert-to-filename, xselect-convert-to-charpos)
23273 (xselect-convert-to-lineno, xselect-convert-to-colno)
23274 (xselect-convert-to-os, xselect-convert-to-host)
23275 (xselect-convert-to-user, xselect-convert-to-class)
23276 (xselect-convert-to-name, xselect-convert-to-integer)
23277 (xselect-convert-to-atom, xselect-convert-to-identity):
23278 * subr.el (declare, ignore, process-kill-without-query)
23279 (text-clone-maintain):
23280 * terminal.el (te-get-char, te-tic-sentinel):
23281 * tool-bar.el (tool-bar-make-keymap):
23282 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23283 * type-break.el (type-break-mode, type-break-noninteractive-query):
23284 * view.el (View-back-to-mark):
23285 * wid-browse.el (widget-browse-action, widget-browse-widget)
23286 (widget-browse-widgets, widget-browse-sexp):
23287 * widget.el (define-widget-keywords):
23288 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23289 Mark unused parameters.
23291 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23292 (align-areas): Remove unused variable `look'.
23293 (align-region): Remove unused variables `real-end' and `pos-list'.
23295 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23297 * bindings.el (mode-line-modified, mode-line-remote):
23298 Mark unused parameters.
23299 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23301 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23302 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23304 * comint.el (comint-history-isearch-pop-state)
23305 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23306 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23307 (comint-substitute-in-file-name): Doc fix.
23309 * completion.el (cmpl-statistics-block): Mark unused parameter.
23310 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23311 (save-completions-to-file, load-completions-from-file):
23312 Remove unused local variable `e'.
23314 * composite.el (compose-chars): Remove unused variable `len'.
23315 (lgstring-insert-glyph): Remove unused variable `g'.
23316 (compose-glyph-string): Remove unused variables `ascent',
23317 `descent', `lbearing' and `rbearing'.
23318 (compose-glyph-string-relative): Remove unused variables
23319 `lbearing', `rbearing' and `wadjust'.
23320 (compose-gstring-for-graphic): Remove unused variables `header',
23321 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23322 (compose-gstring-for-terminal): Remove unused variables `header'
23323 and `nchars'. Use `let', not `let*'.
23325 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23326 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23327 (Custom-buffer-done, custom-buffer-create-internal)
23328 (custom-browse-visibility-action, custom-browse-group-tag-action)
23329 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23330 (widget-magic-mouse-down-action, custom-toggle-parent)
23331 (custom-add-parent-links, custom-toggle-hide-variable)
23332 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23333 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23334 (custom-face-menu-create, custom-variable-menu-create, get)
23335 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23336 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23337 (customize-apropos): Remove unused variable `tests'.
23338 (custom-group-value-create): Remove unused variable `hidden-p'.
23339 (sort-fold-case): Declare.
23341 * cus-theme.el (custom-reset-standard-faces-list)
23342 (custom-reset-standard-variables-list): Declare.
23343 (customize-create-theme, custom-theme-revert, custom-theme-write)
23344 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23345 Mark unused parameters.
23347 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23349 * delim-col.el (delimit-columns-max): Move defvar before first use.
23351 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23352 (describe-char): Don't quote `lambda'. Mark unused parameter.
23354 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23355 (auto-insert): Declare.
23356 (desktop-restore-file-buffer): Rename desktop-* parameters;
23358 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23359 (desktop-buffer): Rename desktop-* parameters.
23361 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23362 (dframe-reposition-frame-xemacs, dframe-help-echo)
23363 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23364 Mark unused parameters.
23366 * dired-aux.el (backup-extract-version-start, overwrite-query)
23367 (overwrite-backup-query, rename-regexp-query)
23368 (rename-non-directory-query): Declare.
23369 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23370 (dired-add-entry): Remove unused variable `orig-file-name'.
23371 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23372 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23373 `dired-copy-preserve-time' directly.
23374 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23375 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23377 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23378 (dired-virtual-revert, dired-make-relative-symlink):
23379 Mark unused parameters.
23380 (manual-program): Declare.
23381 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23382 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23383 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23385 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23387 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23389 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23392 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23394 * electric.el (Electric-command-loop): Rename parameter
23395 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23397 * expand.el (expand-in-literal): Remove unused variable `here'.
23399 * facemenu.el (facemenu-add-new-color):
23400 Remove unused variable `docstring'.
23402 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23403 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23404 (face-attr-construct): Mark unused parameter. Doc fix.
23405 (read-color): Remove unused variable `hex-string'.
23407 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23408 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23409 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23410 (display-buffer-other-frame): Remove unused variable `old-window'.
23411 (kill-buffer-hook): Declare.
23412 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23413 Mark unused parameters.
23414 (after-find-file): Pass 1 to `auto-save-mode', not t.
23416 * files-x.el (auto-insert): Declare.
23417 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23419 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23420 variable `buf'. Mark unused parameter.
23421 (find-lisp-insert-directory): Mark unused parameter.
23423 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23424 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23425 (format-common-tail): Remove, unused.
23426 (format-deannotate-region): Remove unused variable `loc'.
23427 (format-annotate-region): Remove unused variable `p'.
23428 (format-annotate-single-property-change): Remove unused variables
23429 `default' and `tail'.
23431 * forms.el (read-file-filter): Declare.
23432 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23434 * frame.el (frame-creation-function-alist): Mark unused parameter.
23435 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23437 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23438 Remove unused parameters.
23439 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23440 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23442 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23443 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23444 (hfy-prepare-tag-map): Mark unused parameters.
23445 (htmlfontify-buffer): Use `called-interactively-p'.
23447 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23448 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23449 (ibuffer-do-occur): Mark unused parameters.
23450 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23451 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23453 * ibuffer.el: Don't quote `lambda'.
23454 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23455 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23456 Mark unused parameters.
23458 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23459 (ido-completing-read): Mark unused parameters.
23460 (ido-copy-current-word): Mark unused parameters;
23461 remove unused variable `name'.
23462 (ido-sort-merged-list): Remove unused parameter `dirs'.
23464 * ielm.el (ielm-input-sender): Mark unused parameter.
23465 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23466 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23467 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23468 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23469 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23471 * image-dired.el (image-dired-display-thumbs): Remove unused
23472 variables `curr-file' and `count'.
23473 (image-dired-remove-tag): Remove unused variable `start'.
23474 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23475 variable `curr-file'
23476 (image-dired-rotate-original): Remove unused variable `temp-file'.
23477 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23478 Remove unused variable `file'.
23479 (image-dired-gallery-generate): Remove unused variable `curr'.
23480 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23482 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23484 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23486 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23488 * isearch.el (minibuffer-history-symbol): Declare.
23489 (isearch-edit-string): Remove unused variable `err'.
23490 (isearch-message-prefix, isearch-message-suffix):
23491 Mark unused parameters.
23493 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23495 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23497 * makesum.el (double-column): Remove unused variable `cnt'.
23499 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23500 (ido-ignore-item-temp-list): Declare.
23502 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23503 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23504 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23505 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23508 * mouse-sel.el (mouse-extend-internal):
23509 Remove unused variable `orig-window-frame'.
23511 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23512 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23513 Move declarations before first use.
23514 (pcomplete-opt): Mark unused parameters; doc fix.
23516 * proced.el (proced-revert): Mark unused parameter.
23517 (proced-send-signal): Remove unused variable `err'.
23519 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23520 Rename parameter PREFIX-ARG to ARG.
23521 (ps-basic-plot-string, ps-basic-plot-whitespace):
23522 Mark unused parameters.
23524 * replace.el (replace-count): Define.
23525 (occur-revert-function): Mark unused parameters.
23526 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23527 (isearch-case-fold-search, isearch-string): Declare.
23528 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23529 bind `case-fold-search'. Remove unused variables `beg' and `end',
23531 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23532 COUNT and bind `replace-count'.
23533 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23536 * savehist.el (print-readably, print-string-length): Declare.
23538 * shadowfile.el (shadow-expand-cluster-in-file-name):
23539 Remove unused variable `cluster'.
23540 (shadow-copy-file): Remove unused variable `i'.
23541 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23542 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23543 (shadow-define-literal-group, shadow-define-regexp-group)
23544 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23546 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23547 (shell): Use `called-interactively-p'.
23548 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23550 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23551 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23552 (delete-backward-char): Remove unused variable `ocol'.
23553 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23554 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23555 (event-apply-hyper-modifier, event-apply-shift-modifier)
23556 (event-apply-control-modifier, event-apply-meta-modifier):
23557 Mark unused parameters.
23558 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23559 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23561 * speedbar.el (speedbar-ignored-directory-expressions)
23562 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23563 (speedbar-find-file, speedbar-dir-follow)
23564 (speedbar-directory-buttons-follow, speedbar-tag-find)
23565 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23566 (speedbar-buffers-line-directory, speedbar-buffer-click):
23567 Mark unused parameters.
23568 (speedbar-tag-file): Remove unused variable `mode'.
23569 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23571 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23573 * talk.el (talk): Remove unused variable `display'.
23575 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23576 (tar-write-region-annotate): Mark unused parameter.
23578 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23579 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23580 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23581 warning by another.
23583 * time-stamp.el (time-stamp-string-preprocess):
23584 Remove unused variable `require-padding'.
23586 * tree-widget.el (widget-glyph-enable): Declare.
23587 (tree-widget-action): Mark unused parameter.
23589 * w32-fns.el (x-get-selection): Mark unused parameter.
23590 (autoload-make-program, generated-autoload-file): Declare.
23592 * wdired.el (wdired-revert): Mark unused parameters.
23593 (wdired-xcase-word): Remove unused variable `err'.
23595 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23596 (whitespace-help-scroll): Remove unused variable `data-help'.
23598 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23599 (widget-image-insert, widget-after-change, default)
23600 (widget-default-format-handler, widget-default-notify)
23601 (widget-default-prompt-value, widget-info-link-action)
23602 (widget-url-link-action, widget-function-link-action)
23603 (widget-variable-link-action, widget-file-link-action)
23604 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23605 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23606 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23607 (widget-insert-button-action, widget-delete-button-action, visibility)
23608 (widget-documentation-link-action, widget-documentation-string-action)
23609 (widget-const-prompt-value, widget-regexp-match, symbol)
23610 (widget-coding-system-prompt-value)
23611 (widget-key-sequence-value-to-external, sexp)
23612 (widget-sexp-value-to-internal, character, vector, cons)
23613 (widget-choice-prompt-value, widget-boolean-prompt-value)
23614 (widget-color--choose-action): Mark unused parameters.
23615 (widget-item-match-inline, widget-choice-match-inline)
23616 (widget-checklist-match, widget-checklist-match-inline)
23617 (widget-group-match): Rename parameter VALUES to VALS.
23618 (widget-field-value-set): Remove unused variable `size'.
23619 (widget-color-action): Remove unused variables `value' and `start'.
23621 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23622 variable `dir'. Doc fix.
23623 (windmove-find-other-window): Don't pass it.
23625 * window.el (count-windows): Mark unused parameter.
23626 (bw-adjust-window): Remove unused variable `err'.
23628 * woman.el (woman-file-name): Remove unused variable `default'.
23629 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23630 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23631 (global-font-lock-mode): Declare.
23632 (woman-decode-region): Mark unused parameter.
23633 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23635 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23636 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23637 (x-dnd-handle-moz-url): Remove unused variable `title'.
23638 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23640 * xml.el (xml-parse-tag, xml-parse-attlist):
23641 Remove unused variable `pos'.
23643 2011-04-19 Glenn Morris <rgm@gnu.org>
23645 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23646 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23647 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23648 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23649 * calendar/cal-html.el (cal-html-insert-minical):
23650 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23651 (calendar-mark-date-pattern):
23652 Prefix "unused" locals.
23654 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23655 optional argument `style'.
23657 * calendar/appt.el (appt-make-list):
23658 * calendar/cal-china.el (calendar-chinese-date-string):
23659 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23660 (diary-hebrew-yahrzeit):
23661 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23662 * calendar/calendar.el (calendar-generate-window):
23663 * calendar/time-date.el (time-to-days):
23664 Remove unused local variables.
23666 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23668 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23669 glyphless-char-display table.
23670 (tabulated-list-glyphless-char-display): New var.
23672 2011-04-18 Sam Steingold <sds@gnu.org>
23674 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23675 to acknowledgments.
23677 2011-04-17 Glenn Morris <rgm@gnu.org>
23679 * calendar/diary-lib.el (diary-sexp-entry):
23680 * calendar/holidays.el (holiday-sexp):
23681 Set debug-on-error rather than the removed stack-trace-on-error.
23683 2011-04-16 Glenn Morris <rgm@gnu.org>
23685 * progmodes/f90.el: Use lexical-binding.
23686 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23688 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23690 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23691 (mail-mode): Setup mailalias completion here instead.
23692 * mail/mailalias.el: Use lexical-binding.
23693 (pattern, mailalias-done): Declare dynamic.
23694 (mail-completion-at-point-function): New function, from mail-complete.
23695 (mail-complete): Use it.
23696 (mail-completion-expand): New function.
23697 (mail-get-names): Use it.
23698 (mail-directory, mail-directory-process, mail-directory-stream):
23699 Don't use `pattern' for lexically bound arg.
23701 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23703 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23704 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23705 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23707 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23708 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23709 (byte-interactive-p): Define them again, for use when inlining
23712 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23714 * loadup.el: Use `string-to-number', not `string-to-int'.
23716 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23718 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23719 gud-gdb-complete-command.
23720 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23721 (gud-gdb-completion-at-point): New function.
23722 (gud-gdb-completions): Remove.
23724 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23726 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23727 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23728 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23729 whether `executable-find' is bound.
23731 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23733 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23735 * minibuffer.el (completion-in-region-mode-predicate)
23736 (completion-in-region-mode--predicate): New vars.
23737 (completion-in-region, completion-in-region--postch)
23738 (completion-in-region-mode): Use them.
23739 (completion--capf-wrapper): Also return the hook function.
23740 (completion-at-point, completion-help-at-point):
23741 Adjust and provide a predicate.
23743 Preserve arg names for advice of subr and lexical functions (bug#8457).
23744 * help-fns.el (help-function-arglist): Consolidate the subr and
23745 new-byte-code cases. Add argument `preserve-names' to extract names
23746 from the docstring when needed.
23747 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23748 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23749 (ad-arglist): Use help-function-arglist's new arg.
23750 (ad-definition-type): Use cond.
23752 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23754 * autorevert.el (auto-revert-handler):
23755 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23756 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23757 Don't quote lambda.
23759 * image-mode.el (image-transform-set-scale):
23760 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23762 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23764 * net/network-stream.el (network-stream-open-starttls): Only do
23765 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23766 Upgrades via gnutls-cli are too slow to be done opportunistically.
23768 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23770 * dframe.el (dframe-current-frame): Remove spurious quote.
23772 2011-04-12 Glenn Morris <rgm@gnu.org>
23774 * calendar/cal-tex.el (cal-tex-end-document):
23775 Try to automatically use latin1 input if needed.
23777 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23778 Don't try to cons a mark onto an empty element.
23780 2011-04-11 Leo Liu <sdl.web@gmail.com>
23782 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23784 (ido-kill-buffer-at-head): Support killing virtual buffers.
23786 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23788 * minibuffer.el (completion-show-inline-help): New var.
23789 (completion--do-completion, minibuffer-complete)
23790 (minibuffer-force-complete, minibuffer-complete-word):
23791 Inhibit minibuffer messages if completion-show-inline-help is nil.
23793 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23794 to avoid interference from inline help (Bug#5849).
23796 2011-04-10 Leo Liu <sdl.web@gmail.com>
23798 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23801 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23803 * image-mode.el (image-toggle-display-image): Signal an error if
23805 (image-transform-mode, image-transform-resize)
23806 (image-transform-set-rotation): Doc fix.
23807 (image-transform-set-resize): Delete.
23808 (image-transform-set-scale, image-transform-fit-to-height)
23809 (image-transform-fit-to-width): Handle image-toggle-display-image
23810 and image-transform-resize directly.
23812 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23814 * doc-view.el (doc-view-fit-width-to-window)
23815 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23816 New functions for fitting the shown image to the Emacs window size.
23817 (doc-view-mode-map): Add bindings for the new functions.
23819 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23821 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23822 Fix typo in docstring.
23824 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23826 * files.el (file-size-human-readable): Produce one digit after
23827 decimal, like "ls -lh" does.
23829 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23830 the file size representation.
23832 * simple.el (list-processes): If async subprocesses are not
23833 available, error out with a clear error message.
23835 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23837 * help.el (help-form-show): New function, to be called from C.
23838 Put help-form output in a buffer named differently than *Help*.
23840 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23842 * files.el (file-size-human-readable): New function.
23844 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23845 computing the representation inline. Don't require `cl'.
23847 2011-04-08 Glenn Morris <rgm@gnu.org>
23849 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23851 * net/browse-url.el (browse-url-firefox):
23852 Test system-type, not system-configuration.
23854 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23855 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23856 Use log-edit-empty-buffer-p. (Bug#7598)
23858 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23859 (rlogin-mode-map): Initialize in the defvar.
23860 (rlogin): Use ignore-errors.
23862 * replace.el (occur-mode-map): Some fixes for menu items.
23864 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23866 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23868 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23870 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23871 issuing unused warnings.
23873 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23876 * simple.el: Lisp reimplement of list-processes. Based on an
23877 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23878 (process-menu-mode): New major mode.
23879 (list-processes--refresh, list-processes):
23880 (process-menu-visit-buffer): New functions.
23882 * files.el (save-buffers-kill-emacs): Don't assume any return
23883 value of list-processes, which is undocumented anyway.
23885 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23887 * emacs-lisp/tabulated-list.el: New file.
23889 * emacs-lisp/package.el: Use Tabulated List mode.
23890 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23891 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23892 table format using Tabulated List mode variables.
23893 (package--push): New macro, replacing package-list-maybe-add.
23894 (package-menu--generate): Use package--push. Renamed from
23895 package--generate-package-list.
23896 (package-menu-refresh, list-packages): Use it.
23897 (package-menu--print-info): Rename from package-print-package.
23898 Return insertion data instead of inserting it directly.
23899 (package-menu-describe-package, package-menu-execute):
23900 Use tabulated-list-get-id.
23901 (package-menu-mark-delete, package-menu-mark-install)
23902 (package-menu-mark-unmark, package-menu-backup-unmark)
23903 (package-menu-mark-obsolete-for-deletion):
23904 Use tabulated-list-put-tag.
23905 (package--list-packages, package-menu-revert)
23906 (package-menu-get-package, package-menu-get-version)
23907 (package-menu-sort-by-column): Functions deleted.
23908 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23909 (package-menu--status-predicate, package-menu--version-predicate)
23910 (package-menu--name-predicate)
23911 (package-menu--description-predicate): Handle arguments in the
23912 Tabulated List format.
23913 (package-list-packages-no-fetch): Call list-packages.
23915 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23917 * files.el (after-find-file-from-revert-buffer): Remove variable.
23918 (after-find-file): Don't bind it.
23919 (revert-buffer-in-progress-p): New variable.
23920 (revert-buffer): Bind it.
23921 Pass nil for `after-find-file-from-revert-buffer'.
23923 * saveplace.el (save-place-find-file-hook): Use new variable
23924 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23926 2011-04-06 Glenn Morris <rgm@gnu.org>
23928 * Makefile.in (AUTOGEN_VCS): New variable.
23929 (autoloads): Use $AUTOGEN_VCS.
23931 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23932 * calendar/calendar.el (calendar-mode-map):
23933 Check for toolkit scroll bars. (Bug#8305)
23935 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23937 * minibuffer.el (completion-in-region--postch)
23938 (completion-in-region-mode): Remove unnecessary messages.
23940 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23942 * font-lock.el (font-lock-refresh-defaults):
23943 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23944 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23946 * info.el (Info-directory-list, Info-read-node-name-2)
23947 (Info-split-parameter-string): Doc fixes.
23948 (Info-virtual-nodes): Reflow docstring.
23949 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23950 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23951 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23952 Fix typos in docstrings.
23953 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23954 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23955 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23956 (Info-restore-desktop-buffer): Mark unused parameters.
23957 (Info-directory-find-file, Info-directory-find-node)
23958 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23959 (Info-virtual-index-find-node, Info-apropos-find-file)
23960 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23961 Mark unused parameters; fix typos in docstrings.
23962 (Info-virtual-index): Remove unused local variable `nodename'.
23964 2011-04-05 Deniz Dogan <deniz@dogan.se>
23966 * net/rcirc.el: Update my e-mail address.
23967 (rcirc-mode-map): Remove M-o binding.
23969 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23971 * startup.el (command-line): Save the cursor's theme-face
23972 directly, instead of using face-override-spec.
23974 * custom.el (load-theme): Minor optimization in assigning faces.
23976 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23978 * help-fns.el (describe-variable): Complete all variables having
23979 documentation, including keywords.
23980 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23982 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23984 Convert to lexical-binding.
23986 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23987 (bs--get-marked-string, bs--get-modified-string)
23988 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23989 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23990 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23992 * ehelp.el (electric-help-execute-extended)
23993 (electric-help-ctrl-x-prefix):
23994 * hexl.el (hexl-revert-buffer-function):
23995 * linum.el (linum-after-change, linum-after-scroll):
23996 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23998 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24000 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24007 * epg.el: Use lexical binding.
24009 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24011 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24013 * textmodes/flyspell.el (flyspell-word): Recognize default
24014 dictionary case for flyspell-mark-duplications-exceptions.
24015 Use regexp matching for languages.
24016 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24017 default dictionary (Bug#7926).
24019 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24021 * emacs-lisp/package.el (package--with-work-buffer):
24022 Recognize https URLs.
24024 * net/network-stream.el: Move from gnus/proto-stream.el.
24025 Change prefix to network-stream throughout.
24026 (open-protocol-stream): Merge into open-network-stream, leaving
24027 open-protocol-stream as an alias. Handle nil BUFFER args.
24029 * subr.el (open-network-stream): Move to net/network-stream.el.
24031 2011-04-02 Glenn Morris <rgm@gnu.org>
24033 * find-dired.el (find-exec-terminator): New option.
24034 (find-ls-option): Test for -ls support.
24035 (find-ls-subdir-switches): Test for -b in find-ls-option.
24036 (find-dired, find-grep-dired): Doc fixes.
24037 (find-dired): Use find-exec-terminator.
24039 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24040 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24041 (find-name-arg): Remove purecopy.
24043 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24044 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24045 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24046 accordingly. Don't add the null-device if not needed.
24048 * files.el (save-some-buffers): Doc fix.
24050 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24052 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24054 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24056 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24057 Use `dolist' rather than `mapcar'.
24059 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24061 Add lexical binding.
24063 * subr.el (apply-partially): Use new closures rather than CL.
24064 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24065 (dolist, dotimes): Use slightly different expansion for lexical code.
24066 (functionp): Move to C.
24067 (letrec): New macro.
24068 (with-wrapper-hook): Use it and apply-partially instead of CL.
24069 (eval-after-load): Preserve lexical-binding.
24070 (save-window-excursion, with-output-to-temp-buffer): Turn them
24073 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24075 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24077 (help-add-fundoc-usage): Don't add `Not documented'.
24078 (help-function-arglist): Handle closures, subroutines, and new
24079 byte-code-functions.
24080 (help-make-usage): Remove leading underscores.
24081 (describe-function-1): Handle closures.
24082 (describe-variable): Use special-variable-p for completion.
24084 * files.el (lexical-binding): Declare safe.
24086 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24087 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24088 (pcase): Add `let' pattern.
24089 Change memoization so it actually works.
24090 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24091 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24094 * emacs-lisp/macroexp.el: Use lexical binding.
24095 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24096 Don't convert ' to #' without checking that it's indeed quoting
24099 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24100 Use eval-sexp-add-defvars.
24101 (eval-sexp-add-defvars): New fun.
24103 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24105 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24107 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24108 than the internal `byte-compile-lambda'.
24109 (defmethod): Don't hide code under quotes.
24110 (eieio-defmethod): New `code' argument.
24112 * emacs-lisp/eieio-comp.el: Remove.
24114 * emacs-lisp/edebug.el (edebug-eval-defun)
24115 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24116 (edebug-toggle): Avoid `eval'.
24118 * emacs-lisp/disass.el (disassemble-internal): Handle new
24120 (disassemble-1): Handle new byte codes.
24122 * emacs-lisp/cl.el (pushnew): Silence warning.
24124 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24125 (cl-byte-compile-throw): Remove.
24126 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24128 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24131 * emacs-lisp/cconv.el: New file.
24133 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24134 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24135 (byte-compile-initial-macro-environment):
24136 Handle declare-function here.
24137 (byte-compile--lexical-environment): New var.
24138 (byte-stack-ref, byte-stack-set, byte-discardN)
24139 (byte-discardN-preserve-tos): New lap codes.
24140 (byte-interactive-p): Don't use any more.
24141 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24143 (byte-compile-lapcode): Use them and handle new lap codes.
24144 (byte-compile-obsolete): Remove.
24145 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24146 (byte-compile-arglist-warn): Check late def of inlinable funs.
24147 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24148 since they should have been expanded by now.
24149 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24150 (byte-compile-from-buffer): Remove unused second arg.
24151 (byte-compile-preprocess): New function.
24152 (byte-compile-toplevel-file-form): New function to distinguish
24153 file-form calls from outside from file-form calls from hunk-handlers.
24154 (byte-compile-file-form): Simplify.
24155 (byte-compile-file-form-defsubst): Remove.
24156 (byte-compile-file-form-defmumble): Simplify now that
24157 byte-compile-lambda always returns a byte-code-function.
24158 (byte-compile): Preprocess.
24159 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24160 Remove, not used any more.
24161 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24162 (byte-compile-make-args-desc): New funs.
24163 (byte-compile-lambda): Handle lexical functions. Always return
24164 a byte-code-function.
24165 (byte-compile-reserved-constants): New var, to make up room for
24166 closed-over variables.
24167 (byte-compile-constants-vector): Obey it.
24168 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24169 (byte-compile-macroexpand-declare-function): New function.
24170 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24171 byte-code-functions.
24172 (byte-compile-form): Check obsolescence here.
24173 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24174 (byte-compile-variable-ref): Remove.
24175 (byte-compile-dynamic-variable-op): New fun.
24176 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24177 (byte-compile-variable-set): New funs.
24178 (byte-compile-discard): Add 2 args.
24179 (byte-compile-stack-ref, byte-compile-stack-set)
24180 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24181 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24182 macroexpand-all instead.
24183 (byte-compile-quote-form): Remove.
24184 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24185 (byte-compile-bind, byte-compile-unbind): New funs.
24186 (byte-compile-let): Handle let* and lexical binding.
24187 (byte-compile-let*): Remove.
24188 (byte-compile-catch, byte-compile-unwind-protect)
24189 (byte-compile-track-mouse, byte-compile-condition-case):
24190 Handle a new :fun-body form, used for lexical scoping.
24191 (byte-compile-save-window-excursion)
24192 (byte-compile-with-output-to-temp-buffer): Remove.
24193 (byte-compile-defun): Simplify.
24194 (byte-compile-stack-adjustment): New fun.
24195 (byte-compile-out): Use it.
24196 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24198 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24201 * emacs-lisp/byte-opt.el: Use lexical binding.
24202 (byte-inline-lapcode): Remove (to bytecomp).
24203 (byte-compile-inline-expand): Pay attention to inlining to/from
24204 lexically bound code.
24205 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24207 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24208 any more and don't call compiler-macros.
24209 (byte-compile-splice-in-already-compiled-code): Remove.
24210 (byte-code): Don't inline any more.
24211 (disassemble-offset): Receive `bytes' as argument rather than via
24213 (byte-compile-tag-number): Declare before first use.
24214 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24215 `return' even if make-spliceable.
24216 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24217 obsolete interactive-p.
24218 (byte-optimize-lapcode): Optimize new lap-codes.
24219 Don't trip up on new form of `byte-constant' lap code.
24221 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24223 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24225 * custom.el (custom-initialize-default, custom-declare-variable):
24228 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24230 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24231 (COMPILE_FIRST): Add macroexp and cconv.
24232 * makefile.w32-in: Mirror changes in Makefile.in.
24234 * vc/cvs-status.el:
24238 * vc/smerge-mode.el:
24239 * textmodes/bibtex-style.el:
24240 * textmodes/css-mode.el:
24248 * emacs-lisp/smie.el:
24251 * abbrev.el: Use lexical binding.
24253 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24255 * info.el (info-display-manual): New function.
24257 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24259 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24261 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24263 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24264 an entry for that server in rcirc-authinfo. (Bug#8385)
24266 2011-03-31 Glenn Morris <rgm@gnu.org>
24268 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24270 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24272 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24274 * progmodes/python.el (python-default-interpreter)
24275 (python-python-command-args, python-jython-command-args)
24276 (python-which-shell, python-which-args, python-which-bufname)
24277 (python-file-queue, python-comint-output-filter-function)
24278 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24279 variables and functions.
24281 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24283 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24284 (completion-in-region-mode): New minor mode.
24285 (completion-in-region): Use it.
24286 (completion-in-region--data, completion-in-region-mode-map): New vars.
24287 (completion-in-region--postch): New function.
24288 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24290 (completion--capf-wrapper): New function.
24291 (completion-at-point): Use it to track well-behavedness of
24293 (completion-help-at-point): New command.
24295 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24297 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24298 syntax class to search for whitespace on a single line
24299 (Message-ID: <4D938140.4030905@redhat.com>).
24301 2011-03-30 Leo Liu <sdl.web@gmail.com>
24303 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24305 (edit-abbrevs-map): Bind them here.
24306 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24308 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24310 * allout.el (allout-hide-by-annotation, allout-flag-region):
24311 Reduce possibility of overlay leakage by making them volatile.
24313 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24314 hash is not shared between buffers. Mode initialization is
24315 responsible for giving it a useful starting value.
24316 (allout-item-span): Reduce possibility of overlay leakage by
24317 making them volatile.
24318 (allout-widgets-count-buttons-in-region): Add diagnostic function
24319 for tracking down button overlay leaks.
24321 2011-03-29 Leo Liu <sdl.web@gmail.com>
24323 * ido.el (ido-read-internal): Use the default history var
24324 minibuffer-history if no HISTORY is specified.
24326 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24328 * net/imap.el (imap-shell-open, imap-process-connection-type):
24329 Use imap-process-connection-type for 'shell' streams as well as
24330 Kerberos, SSL, other subprocesses.
24332 2011-03-28 Leo Liu <sdl.web@gmail.com>
24334 * abbrev.el (abbrev-table-empty-p): New function.
24335 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24336 nonempty ones. (Bug#5937)
24338 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24340 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24342 2011-03-27 Leo Liu <sdl.web@gmail.com>
24344 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24345 for foreground and background colors.
24346 (ansi-color-make-color-map): Adapt.
24348 2011-03-25 Leo Liu <sdl.web@gmail.com>
24350 * midnight.el (midnight-time-float): Remove. Note it calculates
24351 the microsecond component incorrectly and seconds-to-time does the
24353 Remove redundant (require 'timer).
24355 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24356 (ido-completions): Remove unused arguments. (Bug#8329)
24358 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24360 * minibuffer.el (completion--flush-all-sorted-completions):
24361 Remove itself from hook.
24362 (completion-at-point): Let the functions perform the completion
24363 immediately and return nil or t.
24364 * comint.el (comint-dynamic-complete-functions): Now identical to
24365 completion-at-point-functions.
24366 (comint-dynamic-list-input-ring): Remove unused var `index'.
24367 (comint--match-partial-filename, comint--unquote&expand-filename):
24368 New funs, split from comint-match-partial-filename.
24369 (comint-dynamic-complete): Use completion-at-point.
24370 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24372 2011-03-24 Drew Adams <drew.adams@oracle.com>
24374 * thingatpt.el: Support `defun'.
24376 2011-03-23 Leo Liu <sdl.web@gmail.com>
24378 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24380 * help-mode.el (help-mode-finish): Tweak regexp.
24382 2011-03-23 Glenn Morris <rgm@gnu.org>
24384 * eshell/esh-opt.el (eshell-eval-using-options):
24385 Do not bind unused local variable `eshell-option-stub'.
24387 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24389 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24391 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24392 keymap variable in `with-no-warnings' to avoid a warning when the
24393 keymap has been already `defconst'ed.
24395 2011-03-22 Leo Liu <sdl.web@gmail.com>
24397 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24398 encode all chars in abbrevs; otherwise use emacs-mule or
24399 utf-8-emacs. (Bug#8308)
24401 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24403 * simple.el (backward-delete-char-untabify):
24404 Avoid warning about using `delete-backward-char'.
24406 * image.el (image-type-file-name-regexps): Make it variable.
24407 `imagemagick-register-types' modifies it, and the user may want
24408 to add new extensions for known image types.
24409 (imagemagick-register-types): Throw error if not using ImageMagick.
24411 2011-03-22 Leo Liu <sdl.web@gmail.com>
24413 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24414 located before rcirc-prompt-end-marker.
24415 (rcirc-complete): Error if point is not after rcirc prompt.
24416 Handle the case when table is nil.
24417 (rcirc-user-authenticated): Define to fix compiler warning.
24419 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24421 * custom.el (custom--inhibit-theme-enable): Make it affect only
24422 custom-theme-set-variables and custom-theme-set-faces.
24423 (provide-theme): Ignore custom--inhibit-theme-enable.
24424 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24425 (custom-enabling-themes): Delete variable.
24426 (enable-theme): Accept only loaded themes as arguments.
24427 Ignore the special custom-enabled-themes variable.
24428 (custom-enabled-themes): Forbid themes from setting this.
24429 Eliminate use of custom-enabling-themes.
24430 (custom-push-theme): Quote "changed" custom var entry.
24432 2011-03-21 Leo Liu <sdl.web@gmail.com>
24434 * ido.el (ido-read-internal): Add ido-selected to history instead
24437 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24439 * subr.el (deferred-action-list, deferred-action-function):
24442 2011-03-21 Leo Liu <sdl.web@gmail.com>
24444 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24445 change on 2011-02-13 (bug#8309).
24447 * minibuffer.el (read-file-name-function): Change default value.
24448 (read-file-name--defaults): Rename from read-file-name-defaults.
24449 (read-file-name-default): Rename from read-file-name.
24450 (read-file-name): Call read-file-name-function.
24452 2011-03-21 Glenn Morris <rgm@gnu.org>
24454 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24457 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24459 * cus-theme.el: Add missing provide statement.
24460 (customize-create-theme): Extract theme value correctly.
24461 (custom-theme-visit-theme): Autoload.
24462 (customize-create-theme): Prompt before inserting default faces.
24464 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24466 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24467 units and musical notes.
24469 2011-03-20 Leo Liu <sdl.web@gmail.com>
24471 * ido.el (ido-read-internal): Use completing-read-default.
24472 (ido-completing-read): Fix compatibility with completing-read.
24474 2011-03-20 Christian Ohler <ohler@gnu.org>
24476 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24477 (ert-delete-all-tests): Use `called-interactively-p' rather than
24479 (ert--make-xrefs-region): Respect END.
24481 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24483 * dired-aux.el (dired-create-directory): Signal an error if the
24484 directory already exists (Bug#8246).
24486 * facemenu.el (list-colors-display): Call list-faces-display
24487 inside with-help-window.
24488 (list-colors-print): Use display property to align the final
24489 column, instead of checking window-width.
24491 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24493 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24494 windows-nt systems.
24495 (emerge-protect-metachars): Quote correctly for ms-dos and
24496 windows-nt systems.
24498 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24500 * info.el (info-initialize): Replace all uses of `:' with
24501 path-separator for compatibility with non-Unix systems.
24502 Cache quoting of path-separator. (Bug#8258)
24504 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24506 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24507 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24508 (mouse-avoidance-mode): Fix typos in docstrings.
24510 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24512 * startup.el (package-subdirectory-regexp): Move from package.el.
24513 Omit \\` and \\', and let callers add them.
24515 * emacs-lisp/package.el (package-strip-version)
24516 (package-load-all-descriptors): Add \\` and \\' to
24517 package-subdirectory-regexp before using it.
24518 (package-untar-buffer): New arg DIR; ensure that file untars only
24519 into this expected directory. Remove superfluous delete-region.
24520 (package-unpack): Caller changed.
24521 (package-tar-file-info): Use package-subdirectory-regexp.
24523 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24525 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24526 diff-mode-shared-map (bug#8284).
24527 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24529 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24531 * calendar/time-date.el (format-seconds): Use assoc instead of
24532 assoc-string, since assoc-string doesn't exist in XEmacs.
24534 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24536 * custom.el (custom-known-themes): Reflow docstring.
24537 (custom-theme-load-path): Fix typo in docstring.
24538 (load-theme): Fix typo in error message.
24539 (custom-available-themes, custom-variable-theme-value):
24540 Use `let', not `let*'.
24542 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24544 * calc/README: Mention inclusion of musical notes.
24546 * calc/calc-units.el (calc-lu-quant): Rename from
24547 `calc-logunits-quantity'.
24548 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24549 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24550 (calc-db): Rename from `calc-dblevel'.
24551 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24552 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24553 (calc-np): Rename from `calc-nplevel'.
24554 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24555 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24556 (calc-lu-plus): Rename from `calc-logunits-add'.
24557 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24558 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24559 (calc-lu-minus): Rename from `calc-logunits-sub'.
24560 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24561 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24562 (calc-lu-times): Rename from `calc-logunits-mul'.
24563 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24564 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24565 (calc-lu-divide): Rename from `calc-logunits-div'.
24566 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24567 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24569 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24570 functions being autoloaded.
24572 * calc/calc.el (calc-lu-power-reference): Rename from
24573 `calc-logunits-power-reference'.
24574 (calc-lu-field-reference): Rename from
24575 `calc-logunits-field-reference'.
24577 * calc/calc-help.el (calc-l-prefix-help):
24578 Mention musical note functions.
24580 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24582 * minibuffer.el (completion-all-sorted-completions):
24583 Use :completion-cycle-penalty text property if present.
24585 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24587 * allout.el (allout-yank-processing): Adjust for new rebulleting
24588 regime so bullet being yanked is used without prompting the user
24591 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24593 * startup.el (command-line): Warn the user that _emacs is deprecated.
24595 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24597 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24598 (delphi-verbose, delphi-comment-face, delphi-string-face)
24599 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24600 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24601 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24602 (delphi-new-comment-line, delphi-font-lock-defaults)
24603 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24604 Fix typos in docstrings.
24606 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24608 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24609 Invert the roles of character and string values for INSTEAD, so a
24610 string is used for the more common case of a defaulting prompt.
24612 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24614 * progmodes/ruby-mode.el (ruby-backward-sexp):
24615 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24616 * play/gamegrid.el (gamegrid-make-face):
24617 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24618 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24619 * notifications.el (notifications-notify):
24620 * net/xesam.el (xesam-search-engines):
24621 * net/quickurl.el (quickurl-list-insert):
24622 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24624 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24626 * startup.el (command-line): Update package subdirectory regexp.
24628 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24630 * allout.el (allout-abbreviate-flattened-numbering)
24631 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24633 * subr.el (read-char-choice): Only show the cursor after the prompt,
24634 not after the answer.
24636 2011-03-15 Kevin Ryde <user42@zip.com.au>
24638 * help-fns.el (variable-at-point): Skip leading quotes, if any
24641 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24643 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24646 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24648 * shell.el (shell): When called interactively, offer to change the
24649 shell file name on remote hosts.
24651 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24653 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24654 integration for LDAP parameters. The host, base, user or binddn,
24655 and secret tokens can be specified in a netrc file, for instance.
24656 This is optional because an `auth-source' parameter must be
24657 specified in the search attributes.
24659 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24661 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24663 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24665 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24666 into declaration. Remove redundant and harmful binding.
24668 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24670 * files.el (file-ownership-preserved-p): Pass `integer' as an
24671 explicit 2nd argument to `file-attributes'. If the file's owner
24672 is the Administrators group on Windows, and the current user is
24673 Administrator, consider that a match.
24675 * server.el (server-ensure-safe-dir): Consider server directory
24676 safe on MS-Windows if its owner is the Administrators group while
24677 the current Emacs user is Administrator. Use `=' to compare
24678 numerical UIDs, since they could be integers or floats.
24680 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24682 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24684 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24686 Sync with Tramp 2.2.1.
24688 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24690 * net/trampver.el: Update release number.
24692 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24694 * progmodes/compile.el (compilation--previous-directory): Fix up
24695 various nil/dead-marker mismatches (bug#8014).
24696 (compilation-directory-properties, compilation-error-properties):
24697 Don't call it at a position past the one we're about to change.
24699 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24700 Disable obsolescence warnings in the file that declares it.
24702 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24704 * allout-widgets.el (allout-widgets-tally):
24705 Initialize allout-widgets-tally as a hash table rather than nil to
24706 prevent mode-line redisplay warnings. Also, clarify the module
24707 description and fix a comment typo.
24709 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24711 * help-fns.el (describe-variable): Don't complete keywords.
24712 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24714 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24716 * emacs-lisp/package.el (package-version-join): Impose a standard
24717 string representation for pre/alpha/beta version lists.
24718 (package-unpack-single): Standardize the directory name by passing
24719 it through package-version-join.
24720 (package-strip-rcs-id): Accept any version string that does not
24721 signal an error in version-to-list.
24723 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24725 * simple.el (delete-trailing-whitespace): Return nil for the
24726 benefit of `write-file-functions'.
24728 2011-03-10 Glenn Morris <rgm@gnu.org>
24730 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24732 * vc/vc-git.el (vc-git-program): New option.
24733 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24734 (vc-git--call): Use it.
24736 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24738 * cus-edit.el (Custom-newline): If no button at point, look
24739 for a subgroup button at start-of-line. (Bug#2298)
24741 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24743 2011-03-10 Julien Danjou <julien@danjou.info>
24745 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24746 `cursor-type' is nil.
24748 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24750 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24752 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24754 * allout.el: Change so yank of distinctive-bullet items
24755 preserves the existing header prefix, rebulleting it if necessary,
24756 rather than replacing it. This is necessary for proper operation
24757 of cooperative addons like allout-widgets.
24758 (allout-make-topic-prefix, allout-rebullet-heading):
24759 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24760 value as alternate bullet to be used, instead of prompting the user
24761 for a bullet character.
24763 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24765 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24766 Do not use `tramp-file-name-port', because this returns also
24767 `tramp-default-port'.
24769 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24771 * net/rcirc.el (rcirc-handler-001): Remove useless
24772 with-rcirc-process-buffer.
24773 (rcirc-check-auth-status): Swap arguments to string-match.
24775 2011-03-09 Glenn Morris <rgm@gnu.org>
24777 * shell.el (shell-mode):
24778 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24780 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24781 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24783 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24785 * emacs-lisp/package.el (package-refresh-contents)
24786 (package-menu-execute): Use condition-case-no-debug.
24788 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24790 * simple.el (shell-command-to-string): Use `process-file'.
24792 * emacs-lisp/package.el (package-tar-file-info): Handle also
24795 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24796 Use `equal' for upload base check.
24798 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24800 * textmodes/texinfo.el (texinfo-environments):
24801 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24803 2011-03-08 Glenn Morris <rgm@gnu.org>
24805 * cus-start.el (cursor-in-non-selected-windows):
24806 Fix :set quoting oddness. (Bug#8192)
24808 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24809 in some setf expressions. (Bug#2159)
24811 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24813 * custom.el (custom-available-themes): Return themes in
24814 alphabetical order.
24816 See ChangeLog.15 for earlier changes.
24818 ;; Local Variables:
24822 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24824 This file is part of GNU Emacs.
24826 GNU Emacs is free software: you can redistribute it and/or modify
24827 it under the terms of the GNU General Public License as published by
24828 the Free Software Foundation, either version 3 of the License, or
24829 (at your option) any later version.
24831 GNU Emacs is distributed in the hope that it will be useful,
24832 but WITHOUT ANY WARRANTY; without even the implied warranty of
24833 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24834 GNU General Public License for more details.
24836 You should have received a copy of the GNU General Public License
24837 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.