1 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
4 Add option to force `pi' to remain symbolic.
5 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
6 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
7 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
8 derivatives, when necessary.
10 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
12 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
13 (ps-mode-octal-region): Use string-make-unibyte.
15 2013-02-23 Glenn Morris <rgm@gnu.org>
17 * emulation/viper-cmd.el (viper-submit-report):
18 * progmodes/ps-mode.el (ps-mode-maintainer-address):
19 * progmodes/vera-mode.el (vera-mode-help-address):
20 * textmodes/artist.el (artist-maintainer-address):
21 * textmodes/reftex.el (reftex-report-bug):
22 * vc/ediff-util.el (ediff-submit-report):
23 Add bug-gnu-emacs to bug report address.
25 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
26 Remove bug report entries.
27 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
29 * emacs-lisp/bytecomp.el (byte-compile-level): New.
30 (byte-compile-file, byte-compile-from-buffer):
31 Use separate input/output buffers for each level of recursive
32 byte-compile-file calls. (Bug#13787)
34 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
36 * net/tramp.el (tramp-methods): Fix docstring.
37 (tramp-ssh-controlmaster-options): Rename it from
38 `tramp-ssh-controlmaster-template'. Return a string.
39 (tramp-default-method): Adapt check for
40 `tramp-ssh-controlmaster-options'.
42 * net/tramp-sh.el (tramp-methods): Replace
43 `tramp-ssh-controlmaster-template' by "%c".
44 (tramp-do-copy-or-rename-file-out-of-band)
45 (tramp-maybe-open-connection): Use it in format spec. Ensure,
46 that it is applied for the first hop only.
48 2013-02-22 Juri Linkov <juri@jurta.org>
50 * isearch.el (isearch-lazy-highlight-new-loop):
51 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
52 to `isearch-other-end' if it is not nil. (Bug#13402)
54 * replace.el (replace-highlight): Let-bind `isearch-other-end'
57 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
58 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
59 and `isearch-error' to nil.
61 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
63 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
65 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Handle
68 2013-02-22 Glenn Morris <rgm@gnu.org>
70 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
71 (sgml-transformation-function): Give it a :set function.
74 * cmuscheme.el (scheme-buffer):
75 * progmodes/inf-lisp.el (inferior-lisp-buffer):
76 * progmodes/tcl.el (inferior-tcl-buffer):
77 * textmodes/tex-mode.el (tex-command): Doc fixes.
79 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
81 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
83 2013-02-21 Bastien Guerry <bzg@gnu.org>
85 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
87 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
89 * progmodes/python.el (python-info-current-defun): Enhance
90 match-data cluttering prevention.
92 2013-02-21 Glenn Morris <rgm@gnu.org>
94 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
95 loaded while outline-regexp is let bound. (Bug#9584)
97 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
99 * progmodes/python.el (python-info-current-defun): Fix failed
100 defun name retrieval because of unwanted match-data cluttering.
102 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
104 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
105 defconst. Apply independent check for ControlPersist.
107 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
108 temporarily, via "env".
110 2013-02-21 Glenn Morris <rgm@gnu.org>
112 * info.el (Info-enable-edit): Remove.
113 (Info-edit): Disable it rather than using Info-enable.
114 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
115 (Info-cease-edit): Make editing of Info files obsolete.
117 * informat.el (Info-tagify):
118 Handle buffers not visiting files. (Bug#13763)
120 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
122 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
124 2013-02-21 Glenn Morris <rgm@gnu.org>
126 * files.el (basic-save-buffer): Move check for existing parent
127 directory after hooks. (Bug#13773)
129 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
131 * simple.el (command-execute): Move from C. Add obsolete check.
132 (extended-command-history): Move from C.
134 2013-02-20 Ulrich Müller <ulm@gentoo.org>
136 * jka-cmpr-hook.el (jka-compr-compression-info-list)
137 (jka-compr-mode-alist-additions): Handle .txz suffix for
138 XZ-compressed tar archives (bug#13770).
140 2013-02-20 Bastien Guerry <bzg@gnu.org>
142 * outline.el (outline-regexp, outline-heading-end-regexp):
143 Make variables, not options (bug#13731).
145 2013-02-20 Glenn Morris <rgm@gnu.org>
147 * image.el (image-current-frame): Change from variable to function.
148 (image-show-frame): Rename from image-nth-frame. Update callers.
149 * image-mode.el (image-multi-frame): New variable.
150 (image-mode-map, image-mode, image-goto-frame):
151 Use image-multi-frame rather than image-current-frame.
152 (image-mode, image-goto-frame): Use image-current-frame as
153 function rather than as variable.
155 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
156 * emacs-lisp/cl-macs.el (cl--make-type-test)
157 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
159 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
161 * net/tramp-cache.el (tramp-get-hash-table): New defun.
162 (tramp-get-file-property, tramp-set-file-property)
163 (tramp-get-connection-property, tramp-set-connection-property): Use it.
164 (tramp-flush-file-property, tramp-flush-directory-property):
165 Rename argument to KEY.
166 (tramp-flush-connection-property): Simplify a little bit.
167 (tramp-connection-property-p): New defun.
168 (top): Reapply saved values only if there isn't a corresponding
169 entry in `tramp-connection-properties'.
171 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
173 * progmodes/python.el (python-indent-context):
174 Fix python-info-line-ends-backslash-p call.
175 (python-info-line-ends-backslash-p)
176 (python-info-beginning-of-backslash): Respect line-number argument.
177 (python-info-current-line-comment-p):
178 Fix behavior when not at beginning-of-line.
179 (python-util-position): Remove function.
180 (python-util-goto-line): New function.
182 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
184 * eshell/em-unix.el (eshell/su): Require tramp.
185 (eshell/sudo): Require tramp. Remove now unnecessary check.
187 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
188 `tramp-current-connection' in order to avoid an error when several
189 commands are invoked in a short time in eshell and friends.
191 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
193 Cleanup some of EIEIO's namespace.
194 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
195 Use it to define all the class-* and object-* field accessors (renamed
196 to eieio--class-* and eieio--object-*). Update all uses.
197 (eieio--class-num-slots, eieio--object-num-slots): Rename from
198 class-num-slots and object-num-slots.
199 (eieio--check-type): New macro.
200 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
201 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
202 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
203 (object-assoc-list-safe): Use it.
204 (eieio-defclass): Tighten regexp.
205 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
206 Remove unreachable code.
207 (object-class-fast): Declare obsolete.
208 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
209 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
210 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
211 Rename from class-name, object-name, object-set-name-string,
212 object-class, object-class-name, class-parents, class-children,
213 class-precedence-list, class-parent; with obsolete alias.
214 (class-of, class-direct-superclasses, class-direct-subclasses):
216 (eieio-defmethod): Use `memq'; remove unreachable code.
217 * emacs-lisp/eieio-base.el (eieio-persistent-read):
218 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
219 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
222 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
224 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
225 Use font-lock-keyword-face for macros and special forms (bug#8345).
227 2013-02-17 Didier Verna <didier@didierverna.net>
229 * net/network-stream.el (network-stream-open-starttls):
230 Check that response to the starttls-command is non-nil. (Bug#13706)
232 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
234 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
235 Don't assume all identifier chars have syntax word.
236 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
237 Remove bar-not-symbol. Adjust callers.
238 (lisp-mode-variables): Don't set a font-lock-syntax-table.
240 2013-02-17 Leo Liu <sdl.web@gmail.com>
242 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
244 2013-02-17 Glenn Morris <rgm@gnu.org>
246 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
248 * image-mode.el (image-mode-map): Add image-dired menu entry.
250 * image-dired.el (tumme): Make this alias obsolete.
252 2013-02-16 Glenn Morris <rgm@gnu.org>
254 * image.el (image-animated-types): Remove.
255 (image-multi-frame-p): Rename from image-animated-p, and generalize.
256 (image-animated-p): Make obsolete alias.
257 (image-animate, image-nth-frame, image-animate-timeout):
258 Use image-multi-frame-p.
259 (image-animate-timeout): If no delay, use image-default-frame-delay.
260 * image-mode.el (image-mode, image-toggle-animation):
261 Use image-multi-frame-p. (Bug#763, bug#10739)
262 (image-mode): Adjust startup message for a multi-frame image.
264 * image-mode.el (image-mode-map): Give it a menu.
266 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
268 * net/tramp-cache.el (tramp-connection-properties): New customer
270 (tramp-get-connection-property): Use it.
272 * net/tramp-compat.el (top): Require 'trampver.
274 * net/tramp-sh.el (tramp-remote-process-environment):
275 Set tramp-autoload cookie.
277 2013-02-16 Kevin Ryde <user42@zip.com.au>
279 * info-look.el (info-lookup-select-mode): If major-mode has no
280 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
282 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
284 * replace.el (read-regexp): Tighten the regexp that matches tag.
285 When tag is retrieved with `find-tag-default', use regexp that
286 matches tag at point. Also update docstring (Bug#13687).
288 2013-02-16 Eli Zaretskii <eliz@gnu.org>
290 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
291 add watch for the file, not its parent directory, since w32notify
292 sets up the watch for the directory internally. (Bug#13725)
294 2013-02-16 Glenn Morris <rgm@gnu.org>
296 * image.el (image-default-frame-delay): New variable.
297 (image-animated-p): Use image-default-frame-delay.
298 (image-minimum-frame-delay): New constant.
299 (image-animate-timeout): Use image-minimum-frame-delay.
301 * image.el (image-nth-frame): New, split from image-animate-timeout.
302 (image-animate-timeout): Use image-nth-frame.
303 * image-mode.el (image-goto-frame, image-next-frame)
304 (image-previous-frame): New commands.
305 (image-mode-map): Add new frame commands.
307 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
309 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
310 If col-desc already has help-echo, use it. (Bug#13563)
312 2013-02-16 Glenn Morris <rgm@gnu.org>
314 * image.el (image-current-frame): New variable.
315 (image-animate-timeout): Set image-current-frame.
316 * image-mode.el (image-mode): For animated images,
317 display a frame counter via mode-line-process.
319 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
321 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
323 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
325 2013-02-15 Alan Mackenzie <acm@muc.de>
327 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
328 global minor mode has been enabled, call the minor mode function
329 for a new buffer once only, after the major mode hook, whilst
330 allowing that hook explicitly to disable the minor mode.
331 (MODE-disable-in-buffer): New (generated) function.
332 (disable-MODE): New (generated) buffer local variable.
334 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
336 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
337 `iswitchb-next-match' and `iswitchb-prev-match' resply.
338 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
339 `ido-next-match' and `ido-prev-match' resply.
340 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
341 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
342 `icomplete-backward-completions' (Bug#13708).
344 2013-02-15 Glenn Morris <rgm@gnu.org>
346 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
348 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
350 * net/goto-addr.el (goto-address-fontify): Add start and end args.
351 (goto-address-fontify-region): Use them instead of narrowing, so
352 syntax-ppss has access to the whole buffer.
354 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
356 * progmodes/python.el: Explain how to restore "cc-mode"-like
357 forward-sexp movement in header documentation (Bug#13642).
358 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
359 comments and strings (GH bug 114).
361 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
363 * progmodes/python.el (python-info-current-defun): Fix current
364 defun detection (Bug#13618).
366 2013-02-15 Chong Yidong <cyd@gnu.org>
368 * xml.el (xml-parse-string): Fix typo in handling of bad character
371 2013-02-15 Glenn Morris <rgm@gnu.org>
373 * play/fortune.el (fortune-compile): Simplify and fix previous change.
375 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
377 * net/tramp.el (tramp-debug-message):
378 Add `tramp-condition-case-unless-debug'.
379 (tramp-debug-on-error): New defvar.
380 (tramp-condition-case-unless-debug): New defun.
381 (tramp-file-name-handler): Use it.
383 2013-02-14 Juri Linkov <juri@jurta.org>
385 * info.el (Info-isearch-filter): Treat non-nil values of
386 `search-invisible' including its default value `open'
387 like the value `t' to match hidden text. (Bug#13402)
389 2013-02-14 Glenn Morris <rgm@gnu.org>
391 * help-fns.el (find-lisp-object-file-name): Give special treatment
392 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
394 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
396 * net/quickurl.el (quickurl-save-urls):
397 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
399 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
401 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
402 depth for unfinished percent literal. Not using it in the caller.
403 (ruby-move-to-block): Jump over multiline literals of all types,
404 ignoring code-looking contents inside them.
405 (ruby-add-log-current-method): Improve performance at the expense
406 of accuracy. `ruby-block-contains-point' is relatively slow, so
407 only use it for method and singleton class blocks.
409 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
411 Use ControlMaster where applicable. (Bug#13677)
413 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
414 replacing `tramp-detect-ssh-controlmaster'.
415 (tramp-default-method): Use it.
417 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
418 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
420 [scpc, rsyncc]: Remove methods.
421 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
423 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
424 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
426 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
428 * emacs-lisp/package.el (package--initialized): Move before first use.
430 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
432 * icomplete.el (icomplete-hide-common-prefix): New user option.
433 (icomplete-first-match): New face.
434 (icomplete-completions): Correct handling of "complete but not
437 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
439 * descr-text.el (describe-char): Display the script (bug#13698).
441 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
443 * tmm.el: Use lexical-binding and current-active-maps.
444 (tmm-menubar): Use map-keymap and pcase.
445 (tmm--completion-table): New function.
446 (tmm-prompt): Use it to fix the menu order.
447 (tmm-get-keybind): Use current-active-maps.
449 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
451 Add dired-hide-details-mode. (Bug#6799)
453 * locate.el (locate-mode): Set parent mode property to dired-mode.
455 * find-dired.el (find-dired): Call dired-insert-set-properties on
456 initial information line. Set process mark on end of buffer.
457 (find-dired-sentinel):
458 Call dired-insert-set-properties on summary.
460 * dired.el (dired-hide-details-hide-symlink-targets)
461 (dired-hide-details-hide-information-lines): New options.
462 (dired-insert-directory):
463 Set properties after final treatment of output.
464 (dired-insert-set-properties):
465 Set dired-hide-details-* properties.
466 (dired-mode-map): Bind dired-hide-details-mode.
467 (dired-mode): Set buffer-invisibility-spec to a list.
468 (dired-next-line): Skip hidden lines.
469 (dired-previous-line): Use dired-next-line.
470 (dired-hide-details-mode): New minor mode.
471 (dired-hide-details-update-invisibility-spec): New function.
473 2013-02-13 Glenn Morris <rgm@gnu.org>
475 * play/yow.el: Move to obsolete/. (Bug#9384)
477 2013-02-13 Juri Linkov <juri@jurta.org>
479 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
480 to select `ediff-control-frame' and set input focus correctly on Xfce.
483 2013-02-13 Juri Linkov <juri@jurta.org>
485 * image-mode.el (image-mode-map):
486 * doc-view.el (doc-view-mode-map):
487 * vc/ediff-util.el (ediff-setup-keymap):
488 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
490 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
492 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
493 performance. Instead of recalculating indentation fully for each
494 line, sum up indentation depth based only on visited lines.
495 (ruby-parse-partial): Increase the depth after "do" even when END
497 (ruby-parse-partial): When END is in the middle of a percent
498 literal, increase the depth if the delimiter chars belong to the
501 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
503 * play/fortune.el (fortune-compile): Also make the compiled file
504 if it does not exist at all, not just if it is old. (Bug#5338)
506 2013-02-13 Glenn Morris <rgm@gnu.org>
508 * emacs-lisp/package.el (package-menu-execute): Doc fix.
510 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
512 * lisp/emacs-lisp/package.el (package-menu-execute):
513 Add optional noquery argument. (Bug#13625)
515 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
517 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
518 if DIR exists and PARENTS is non-nil.
520 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
522 * progmodes/js.el (js--multi-line-declaration-indentation):
523 Silence byte-compiler warning.
525 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
527 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
529 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
530 only if it doesn't exist.
532 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
535 2013-02-12 Tassilo Horn <tsdh@gnu.org>
537 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
538 UserInstallation when calling soffice to work around LibreOffice
541 2013-02-12 Glenn Morris <rgm@gnu.org>
543 * files.el (basic-save-buffer):
544 Offer to create a non-existing directory. (Bug#3016)
546 * calc/calc-graph.el (calc-graph-show-dumb):
547 * calendar/calendar.el (calendar-mode-map):
548 * cus-edit.el (custom-mode-map):
549 * ehelp.el (electric-help-map):
550 * emulation/vip.el (vip-mode-map):
551 * epa.el (epa-key-list-mode-map):
552 * info.el (Info-mode-map):
553 * mail/rmail.el (rmail-mode-map):
554 * mail/rmailsum.el (rmail-summary-mode-map):
555 * man.el (Man-mode-map):
556 * net/newst-plainview.el (newsticker-mode-map):
557 * progmodes/cpp.el (cpp-edit-mode-map):
558 * progmodes/grep.el (grep-mode-map):
559 * progmodes/idlw-help.el (idlwave-help-mode-map):
560 * simple.el (special-mode-map):
561 * startup.el (splash-screen-keymap):
562 * view.el (view-mode-map):
563 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
565 2013-02-11 Elias Pipping <pipping@lavabit.com>
567 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
570 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
572 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
574 2013-02-11 Glenn Morris <rgm@gnu.org>
576 * vc/diff.el (diff-use-labels): New variable.
577 (diff-no-select): Use --label rather than -L, and first
578 check that it is supported. (Bug#11067)
580 * files.el (enable-dir-local-variables): New variable.
581 (hack-dir-local-variables): Respect enable-dir-local-variables.
582 * tutorial.el (help-with-tutorial):
583 Ignore directory-local variables. (Bug#11127)
585 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
586 (vc-svn-global-switches): ... to here. (Bug#13513)
588 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
590 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
591 Handle "foo (bar, default: xxx): " prompts.
593 2013-02-10 Chong Yidong <cyd@gnu.org>
595 * files.el (basic-save-buffer-1): Do not set
596 buffer-file-coding-system-explicit (Bug#4533).
598 * mail/emacsbug.el (report-emacs-bug): Change binding of
599 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
601 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
603 * calc/calc.el (calc-allow-units-as-numbers): New variable.
604 * calc/calc-units.el (calc-convert-units): Use new variable.
606 2013-02-09 Eli Zaretskii <eliz@gnu.org>
608 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
610 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
613 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
614 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
615 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
616 coding-system-for-write instead.
618 * jka-compr.el (jka-compr-write-region): Don't bind
621 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
624 * files.el (file-name-buffer-file-type-alist): Remove defvar.
625 (insert-file-contents-literally): Remove reference to
626 file-name-buffer-file-type-alist.
628 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
630 (find-buffer-file-type-match, find-buffer-file-type): Remove.
631 (find-buffer-file-type-coding-system): Remove references to
632 find-buffer-file-type-match, find-buffer-file-type, and
634 Don't put find-buffer-file-type-coding-system into
635 file-coding-system-alist.
636 (find-file-binary, find-file-text): Bind coding-system-for-read
637 instead of file-name-buffer-file-type-alist.
639 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
641 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
642 converter (Bug#13622).
643 (doc-view-unoconv-program): Make obsolete alias.
644 (doc-view-odf->pdf-converter-program): New variable.
645 (doc-view-odf->pdf-converter-function): New variable.
646 (doc-view-mode-p): Use it.
647 (doc-view-odf->pdf-converter-unoconv):
648 Rename from `doc-view-odf->pdf-converter-unoconv'.
649 (doc-view-odf->pdf-converter-soffice): New function.
650 (doc-view-convert-current-doc):
651 Use `doc-view-odf->pdf-converter-function'.
653 2013-02-09 Chong Yidong <cyd@gnu.org>
655 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
656 view-echo-area-messages (Bug#13340).
658 * help.el (view-echo-area-messages): Use display-buffer.
660 * dired-x.el (dired-do-run-mail): Prompt for confirmation
663 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
665 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
666 Eval body right away, now that we do eager macroexpansion (bug#13605).
668 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
669 (fundamental-mode): Use run-mode-hooks.
671 * eshell/esh-proc.el (eshell/kill): Fix last change.
672 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
674 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
676 * eshell/esh-proc.el (eshell/kill): Rewrite.
678 * eshell/em-ls.el (show-almost-all): Declare.
679 (eshell-do-ls): Add support for -A argument.
681 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
683 * icomplete.el (icomplete-forward-completions)
684 (icomplete-backward-completions): Handle corner case (bug#13602).
686 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
688 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
689 be nil. Handle this. (Bug#13636)
691 2013-02-07 Richard Stallman <rms@gnu.org>
693 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
694 `save-buffer-coding-system'.
696 2013-02-07 Alan Mackenzie <acm@muc.de>
698 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
699 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
700 (c-parse-state-get-strategy): Don't return 'BOD any more.
701 (c-append-lower-brace-pair-to-state-cache):
702 Extra parameter HERE instead of narrowing.
703 Widen to top of buffer before searching backwards for a brace pair.
704 (c-state-push-any-brace-pair): Add HERE parameter to function call.
705 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
706 Narrow to parameter HERE, in place of being called narrowed.
707 (c-remove-stale-state-cache): Extra parameter HERE in place of
708 narrowing. Check there's an open brace in the cache before
709 searching for its match.
710 (c-invalidate-state-cache-1): Add HERE parameter to function call.
711 (c-parse-state-1): Don't narrow here for 'forward strategy,
712 instead passing extra parameter HERE to several functions.
713 Remove 'BOD strategy.
715 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
717 * emacs-lisp/package.el (describe-package-1): Tell what archive is
718 used to install the package.
720 2013-02-06 Glenn Morris <rgm@gnu.org>
722 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
723 if we can't get user input. (Bug#6567)
725 * startup.el (command-line): If simple.el is missing,
726 test and warn about for some possible causes.
728 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
730 * cus-start.el (all): Add ns-use-native-fullscreen.
732 2013-02-05 Glenn Morris <rgm@gnu.org>
734 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
736 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
737 Fix directory creation in fallback case.
739 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
741 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
742 (vc-update-change-log): Use dolist.
744 2013-02-04 Chong Yidong <cyd@gnu.org>
746 * thingatpt.el: Rewrite the URL detection routines, absorbing some
748 (thing-at-point-beginning-of-url-regexp): New var.
749 (thing-at-point-uri-schemes): Update list of URI schemes.
750 (thing-at-point-url-regexp): Variable deleted.
751 (thing-at-point-markedup-url-regexp): Disallow newlines.
752 (thing-at-point-newsgroup-regexp)
753 (thing-at-point-newsgroup-heads)
754 (thing-at-point-default-mail-uri-scheme): New variables.
755 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
756 method to find the possible bounds of the URI at point.
757 New optional argument to find ill-formed URIs.
758 (thing-at-point-url-at-point): Rewrite. New arguments for finding
759 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
760 the scheme-adding heuristics from ffap-url-at-point.
761 (thing-at-point--bounds-of-well-formed-url): New function.
762 Do parens matching to decide whether to include parens in the URI
765 * ffap.el: Require thingatpt.
766 (ffap-url-at-point): Delegate URI detection to thing-at-point.
767 All URI-valid characters are now recognized (Bug#5673).
768 (ffap-string-at-point): Use use-region-p.
769 (ffap-url-regexp): Extra character is handled by thing-at-point.
770 (ffap-string-at-point-mode-alist): Allow parentheses.
771 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
772 Convert to aliases; code moved to thingatpt.el.
773 (ffap-gnus-hook): Use setq-local.
775 2013-02-04 Glenn Morris <rgm@gnu.org>
777 * emacs-lisp/ert.el (ert--explain-format-atom):
778 Don't try to print non-characters as characters. (Bug#13543)
780 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
782 * net/tramp.el (tramp-debug-message): Extend function exclude list.
783 (tramp-backtrace): New defun.
784 (tramp-handle-insert-file-contents): Use `visit' when inserting
787 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
788 Use `remote-file-name-inhibit-cache'.
790 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
792 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
795 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
796 current-load-list (bug#13366).
798 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
801 Identify g++ template instantiation trace. (Bug#12287)
802 (compilation-mode-hook, compilation-start-hook)
803 (compilation-window-height): Simplify docstrings. (Bug#13379)
805 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
807 * mouse.el (mouse-drag-track): Always deactivate the mark before
808 running the final event's command since that command is in charge of
809 activating the mark if needed (bug#13523).
811 2013-02-02 Juri Linkov <juri@jurta.org>
813 * replace.el (perform-replace): Move let-bindings of isearch-*
814 variables deeper to the loop that searches for the next match.
815 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
816 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
819 * isearch.el (isearch-search-fun-default): Check for null
820 first element of isearch-cmds as a precaution when it's used
821 with inactive isearch.
823 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
825 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
826 error when buffer in question is narrowed so position 1 is out of
829 2013-02-02 Glenn Morris <rgm@gnu.org>
831 * textmodes/remember.el (remember-clipboard): Doc fix.
833 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
835 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
836 properties (bug#13179).
838 2013-02-02 Juri Linkov <juri@jurta.org>
840 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
841 instead of hard-coded default face `match'. (Bug#9438)
843 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
845 * vc/vc-arch.el (vc-arch-registered):
846 * vc/vc-bzr.el (vc-bzr-registered):
847 * vc/vc-cvs.el (vc-cvs-registered):
848 * vc/vc-git.el (vc-git-registered):
849 * vc/vc-hg.el (vc-hg-registered):
850 * vc/vc-mtn.el (vc-mtn-registered):
851 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
854 * info.el (Info-next-reference, Info-prev-reference): Add numeric
855 prefix argument. (Bug#11656)
857 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
859 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
861 2013-02-01 Glenn Morris <rgm@gnu.org>
863 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
864 if the backend is known not to support it.
866 * imenu.el (imenu-default-create-index-function):
867 Tweak infinite loop test to check for forward motion as well as none.
869 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
871 * net/soap-client.el (soap-invoke): Encode the string for
872 `url-request-data' as UTF-8.
873 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
875 2013-02-01 Glenn Morris <rgm@gnu.org>
877 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
879 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
881 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp.el (tramp-tramp-file-p): Comment check for
884 `string-as-unibyte'. The function does not exist on XEmacs, and
885 likely we need another approach.
887 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
888 `tramp-gw-*' variables are bound.
890 2013-01-31 Glenn Morris <rgm@gnu.org>
892 * files.el (basic-save-buffer-2): Choose coding system for
893 writing the file before backing it up, to reduce delay between
894 backing up and writing the new version. (Bug#13522)
896 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
898 * simple.el (cycle-spacing): New command.
899 (just-one-space): Use it.
901 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
903 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
904 (opascal-newline-always-indents): Remove custom.
905 (opascal-tab, opascal-newline): Remove commands.
906 (opascal-new-comment-line): Insert "\n" instead of calling newline.
907 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
908 (opascal-save-match-data): Remove, use save-match-data instead.
909 (opascal-save-state): Use with-silent-modifications.
911 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
914 2013-01-30 Juri Linkov <juri@jurta.org>
916 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
917 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
918 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
920 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
922 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
923 column if we're just deleting the backslashes.
924 (makefile-fill-paragraph): Use eolp.
926 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
928 * autorevert.el (auto-revert-use-notify): Fix docstring.
930 2013-01-30 Leo Liu <sdl.web@gmail.com>
932 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
934 2013-01-30 Glenn Morris <rgm@gnu.org>
936 * mouse.el (mouse-drag-line): Avoid pushing same event onto
937 unread-command-events twice in some cases. This tries to implement
938 the 2012-07-26 changes in a different way. (Bug#13560)
940 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
942 * progmodes/python.el
943 (python-pdbtrack-comint-output-filter-function): Enhancements on
944 stacktrace detection. (thanks @gnovak)
946 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
948 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
949 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
951 (jit-lock-register): Use setq-local.
953 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
955 * calc-units.el (math-default-units-table): Remove initial value.
956 (calc-convert-units): Treat expressions where all the units cancel as
957 if they didn't have units.
959 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
961 * net/tramp.el (tramp-process-connection-type): Fix docstring.
962 (tramp-completion-reread-directory-timeout): Fix type.
963 (tramp-connection-min-time-diff): New defcustom.
965 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
967 2013-01-30 Glenn Morris <rgm@gnu.org>
969 * imenu.el (imenu-default-create-index-function):
970 Put back a version of the infinite loop test removed 2013-01-23.
972 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
974 * progmodes/python.el (python-shell-parse-command):
975 Find python-shell-interpreter with modified environment.
977 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
981 2013-01-29 Alan Mackenzie <acm@muc.de>
983 Amend to fontify /regexp/s in actions correctly.
984 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
985 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
986 are no longer included.
987 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
988 What used to be these variables without "-line" in the name.
989 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
990 (c-awk-non-arith-op-bra-re): Now also matches {.
991 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
992 "return", and "case".
993 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
995 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
996 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
998 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1000 * autorevert.el (auto-revert-use-notify):
1001 Use `custom-initialize-default' for initialization. (Bug#13583)
1003 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1005 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1006 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1007 in `tramp-file-name-handler'.
1008 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1010 (tramp-compute-multi-hops): Check, whether
1011 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1013 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1018 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1021 checks made superfluous by the \_< operator.
1022 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1023 temporarily) broken indentation.
1024 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1025 Highlight nested constants, too. \_< broke that.
1027 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1029 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1032 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1034 * autorevert.el (auto-revert-handler): Notifications which result
1035 from a saved file shall not be taken into account. (Bug#13557)
1037 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1039 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1040 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1041 (lisp-mode): Pass t for it. (Bug#13556)
1043 2013-01-25 Alan Mackenzie <acm@muc.de>
1045 AWK Mode: Fix indentation bug at top level. Bug #12274.
1047 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1048 just before CASE 5D.
1050 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1052 * net/socks.el (socks-nslookup-host): Use string-to-number.
1054 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1056 * autorevert.el (auto-revert-remote-files)
1057 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1058 (auto-revert-notify-enabled, auto-revert-use-notify)
1059 (auto-revert-notify-watch-descriptor-hash-list)
1060 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1061 (auto-revert-notify-event-descriptor)
1062 (auto-revert-notify-event-action)
1063 (auto-revert-notify-event-file-name): Doc fix.
1064 (global-auto-revert-mode): Reorder checks.
1065 (auto-revert-notify-rm-watch): Respect changed values of
1066 `auto-revert-notify-watch-descriptor-hash-list'.
1067 (auto-revert-notify-add-watch): Check for
1068 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1069 `inotify-add-watch'. Watch `default-directory' instead of
1070 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1071 has a changed meaning now. (Bug#13540)
1072 (auto-revert-notify-handler): Change implementation wrt events
1073 returning from a directory.
1074 (auto-revert-handler): Reorder implementation for checks of remote
1076 (auto-revert-buffers): Fix parentheses error.
1078 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1080 * progmodes/python.el: Enhancements to header documentation about
1081 skeletons. (Bug#5716)
1083 * imenu.el (imenu-default-create-index-function): Remove useless
1084 infinite loop check. (Bug#13438)
1086 2013-01-25 Alan Mackenzie <acm@muc.de>
1088 Fix a bug in the state cache mechanism. Refactor this a bit.
1090 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1091 `cache-pos' element from the return value.
1092 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1093 buffer to enable proper searching from beyond HERE. Amend the
1094 test for detecting the sought brace pair. Amend the value written
1095 to the "brace desert cache" when the brace isn't found.
1096 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1097 and several other variables analogously.
1098 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1099 parameter to a locally calculated variable.
1100 (c-parse-state-1): Change the calling conventions to the two
1101 defuns involving `cache-pos'.
1103 2013-01-25 Chong Yidong <cyd@gnu.org>
1105 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1107 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1109 * paren.el (show-paren-function): Make sure to set 'priority and
1110 'face only if the overlay does exist.
1112 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1114 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1116 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1118 (tramp-sh-handle-set-file-acl): Improve error checking.
1120 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1122 * doc-view.el (doc-view-display): Force mode line update until all
1123 document is converted. Suggested by Stefan Monnier (Bug#13164).
1125 2013-01-23 Bastien Guerry <bzg@gnu.org>
1127 * paren.el (show-paren-function): Make sure an overlay exists
1128 before trying to delete it. Also use `pos' as a position only
1129 when it is an integer.
1131 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1133 * play/gametree.el (gametree-break-line-here): Use point-marker.
1135 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1137 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1138 Mark descriptive parts with `display' property.
1140 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1142 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1143 New variable to map standard dict names to hunspell ones.
1144 (ispell-set-spellchecker-params): Make sure specific dict names
1145 are used for standard dicts with hunspell.
1147 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1149 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1150 chars for note (%N) and url (%U).
1151 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1153 2013-01-21 Juri Linkov <juri@jurta.org>
1155 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1156 in addition to existing separate binding `meta f10' in `global-map'.
1159 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1161 Improve XEmacs compatibility.
1163 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1165 * net/tramp-adb.el (top): Require `time-date'.
1166 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1167 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1168 Use `tramp-file-name-handler'.
1169 (tramp-adb-maybe-open-connection):
1170 Use `tramp-compat-set-process-query-on-exit-flag'.
1172 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1173 Use `tramp-compat-funcall'.
1175 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1176 `tramp-compat-funcall'.
1178 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1180 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1181 reimplementation using "adb shell command ..." instead of running
1182 remote shell interactively.
1184 2013-01-20 Glenn Morris <rgm@gnu.org>
1186 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1187 Add native profiler menu entries.
1189 * profiler.el (profiler-running-p): New function.
1190 (profiler-cpu-profile): Use profiler-running-p.
1191 (profiler-report-mode-map): Add some more menu entries.
1193 2013-01-19 Glenn Morris <rgm@gnu.org>
1195 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1196 fixes 2012-12-07 change. (Bug#13499)
1198 2013-01-19 Leo Liu <sdl.web@gmail.com>
1200 * dired.el (dired-get-marked-files): Prune erroneous values due to
1201 last change. (Bug#13152)
1203 2013-01-19 Glenn Morris <rgm@gnu.org>
1205 * progmodes/etags.el (tags-table-check-computed-list):
1206 Preserve point in tags buffer. (Bug#13412)
1208 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1210 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1211 Chong Yidong <cyd@gnu.org>
1213 * image-mode.el (image-next-file, image-previous-file):
1214 New commands (Bug#8453).
1215 (image-mode-map): Bind them to n and p.
1216 (image-mode--images-in-directory): New helper function.
1218 2013-01-19 Chong Yidong <cyd@gnu.org>
1220 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1221 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1222 save and restore the old window configuration.
1224 2013-01-18 Leo Liu <sdl.web@gmail.com>
1226 * progmodes/js.el: Tweak autoload cookie for alias.
1228 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1230 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1231 buffer local, again. This was lost with the fix on 2013-01-12.
1233 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1235 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1236 order to support several eshell buffers in parallel.
1238 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1240 * autorevert.el (auto-revert-use-notify): In the :set function, do
1241 not modify `kill-buffer-hook'.
1242 (auto-revert-notify-rm-watch):
1243 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1244 (auto-revert-notify-add-watch): Do not call
1245 `auto-revert-notify-rm-watch', but add it to a buffer local
1248 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1251 call to `eval' rather than a backquoted lambda.
1253 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1256 to return an explicit nil.
1257 (advice--remove-function): Change accordingly.
1259 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1260 the use of nadvice.el.
1262 * progmodes/which-func.el (which-function): Silence imenu errors
1265 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1267 * progmodes/sql.el: (sql-imenu-generic-expression):
1268 (sql-mode-font-lock-object-name): Match schema qualified names.
1269 (sql-connect): Use string keys.
1270 (sql-product-interactive): Wait for interpreter prompt.
1271 (sql-comint-oracle): Set process coding based on NLS_LANG.
1273 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1275 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1276 (sql-interactive-remove-continuation-prompt):
1277 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1279 2013-01-14 Leo Liu <sdl.web@gmail.com>
1281 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1284 2013-01-14 Glenn Morris <rgm@gnu.org>
1286 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1287 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1289 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1291 * progmodes/python.el (python-nav-end-of-statement):
1292 Fix cornercase when handling multiline strings.
1294 2013-01-13 Richard Stallman <rms@gnu.org>
1296 * mail/sendmail.el (mail-position-on-field): Add doc string.
1298 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1299 Get current message boundaries and pass them to
1300 message-forward-make-body-mime. Minor style changes.
1302 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1304 * cus-start.el (all): Avoid warnings about
1305 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1307 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1309 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1311 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1314 (jit-lock--debug-fontifying): New var.
1315 (jit-lock--debug-fontify): New function.
1316 * subr.el (condition-case-unless-debug): Don't prevent catching the
1317 error, just let the debbugger run.
1318 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1319 timer code and don't drop errors silently.
1321 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1323 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1324 `permanent-local' property.
1325 (auto-revert-notify-handler): Use `file-equal-p'.
1327 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1329 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1330 file notification by ACTION. For filtering by file name, compare
1331 only the non-directory part of the file name.
1333 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * autorevert.el: Use cl-lib instead of cl.
1337 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1338 (vc-bzr-checkin): Use it.
1339 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1340 will preserve match-data.
1342 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1344 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1345 (js--declaration-keyword-re): New var.
1346 (js--multi-line-declaration-indentation): New function.
1347 (js--proper-indentation): Use it.
1349 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1351 * calc/calc.el (calc-highlight-selections-with-faces)
1353 * comint.el (comint-history-isearch-message):
1354 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1355 * ffap.el (ffap-string-at-point-region, ffap-next)
1356 (ffap-string-at-point, ffap-string-around)
1357 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1359 * font-lock.el (font-lock-keywords-alist)
1360 (font-lock-removed-keywords-alist):
1361 * help-mode.el (help-xref-symbol-regexp):
1362 * info.el (Info-find-emacs-command-nodes):
1363 * international/mule.el (add-to-coding-system-list):
1364 * isearch.el (isearch-message-function, isearch-fail-pos):
1365 * misearch.el (multi-isearch-next-buffer-function):
1366 * newcomment.el (comment-box):
1367 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1368 (pr-setting-database):
1369 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1370 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1371 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1372 (pike-font-lock-keywords-3):
1373 * progmodes/compile.el (compile):
1374 * progmodes/etags.el (tags-table-files)
1375 (tags-table-files-function, tags-included-tables-function):
1376 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1377 (gdb-restore-windows):
1378 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1379 (ps-n-up-filling-database):
1380 * server.el (server-buffer, server-log):
1381 * simple.el (newline, delete-backward-char, delete-forward-char)
1382 (minibuffer-history-isearch-message, kill-line, track-eol)
1383 (temporary-goal-column):
1384 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1385 (flyspell-default-deplacement-commands):
1386 * textmodes/ispell.el (ispell-accept-output):
1387 * textmodes/sgml-mode.el (html-tag-help):
1388 * vc/compare-w.el (compare-ignore-whitespace)
1389 (compare-ignore-case, compare-windows-dehighlight):
1390 * vc/diff.el (diff):
1391 * whitespace.el (whitespace-point)
1392 (whitespace-font-lock-refontify, whitespace-bob-marker)
1393 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1395 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1397 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1398 (auto-revert-notify-rm-watch): Ignore errors.
1399 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1400 inotify, and '(size last-write-time) for w32notify.
1401 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1402 watch fails - this is a fallback to the file modification check.
1403 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1404 (auto-revert-notify-event-action)
1405 (auto-revert-notify-event-file-name): New defuns.
1406 (auto-revert-notify-handler): Use them. Implement first
1407 plausibility checks.
1408 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1410 2013-01-11 Julien Danjou <julien@danjou.info>
1412 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1413 max are almost equal. Also return the correct value for V which is
1414 already between 0 and 1.
1416 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1418 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1420 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1422 * autorevert.el (auto-revert-notify-rm-watch)
1423 (auto-revert-notify-add-watch): Fix typos in w32notify function
1426 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1428 * autorevert.el (auto-revert-notify-enabled): Move up.
1429 (auto-revert-use-notify): New defcustom.
1430 (auto-revert-mode, global-auto-revert-mode)
1431 (auto-revert-notify-add-watch, auto-revert-handler)
1432 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1433 `auto-revert-notify-enabled'.
1435 2013-01-10 Elias Pipping <pipping@exherbo.org>
1437 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1438 * doc-view.el (doc-view-document->bitmap):
1439 Use doc-view-single-page-converter-function instead of
1440 single-page-converter arg; adjust callers.
1442 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1444 * progmodes/which-func.el (which-function): Understand Semantic's use
1445 of overlays in imenu--index-alist.
1447 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1449 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1450 (Man-man-k-use-anchor): New var.
1451 (Man-parse-man-k): New function.
1452 (Man-completion-table): Use it.
1453 (man): Flush the completion cache between uses.
1455 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1457 * autorevert.el: Add file watch support.
1458 (auto-revert-notify-enabled): New defconst.
1459 (auto-revert-notify-watch-descriptor-hash-list)
1460 (auto-revert-notify-watch-descriptor)
1461 (auto-revert-notify-modified-p): New defvars.
1462 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1463 (auto-revert-notify-handler): New defuns.
1464 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1465 when mode is disabled.
1466 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1467 (auto-revert-buffers): Add file watches for active buffers.
1469 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1471 * cus-start.el (toplevel): Only allow float values for
1472 scroll-up-aggressively and scroll-down-aggressively.
1473 Allow any number for line-spacing.
1475 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1478 (doc-view-pdf->png-converter-function): Use mupdf if available.
1479 (doc-view-djvu->png-converter-function)
1480 (doc-view-ps->png-converter-function): Remove.
1481 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1482 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1483 (doc-view-already-converted-p): Adjust accordingly.
1484 (doc-view-mode-p): Simplify.
1485 (doc-view-enlarge): Use setq-local.
1486 (doc-view-pdf->png-converter-ghostscript)
1487 (doc-view-djvu->png-converter-ddjvu)
1488 (doc-view-pdf->png-converter-mupdf): Rework to call
1489 doc-view-start-process directly.
1490 (doc-view-pdf/ps->png): Simplify accordingly.
1491 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1492 (doc-view-document->bitmap): Rename from doc-view-document->png.
1493 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1494 (doc-view-set-slice-from-bounding-box): Fix completion table.
1495 (doc-view-mode): Use add-hook for after-revert-hook.
1497 2013-01-10 Glenn Morris <rgm@gnu.org>
1499 * emacs-lisp/authors.el (authors-ignored-files)
1500 (authors-valid-file-names, authors-renamed-files-alist):
1501 Add some more entries.
1503 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1506 `t' pseudo-window entry.
1508 2013-01-10 Alan Mackenzie <acm@muc.de>
1510 Fix bugs in the c-parse-state mechanism. Reuse some markers
1511 instead of continually generating new ones.
1513 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1514 (c-state-old-cpp-end-marker): New variables.
1515 (c-append-lower-brace-pair-to-state-cache): Start a backward
1516 search for "}" definitively outside CPP constructs.
1517 (c-remove-stale-state-cache): Inform the caller of a need to
1518 search back for a brace pair in certain circumstances.
1519 (c-state-maybe-marker): New macro.
1520 (c-parse-state): Reuse markers when appropriate.
1522 2013-01-10 Glenn Morris <rgm@gnu.org>
1524 * simple.el (execute-extended-command): Doc fix.
1525 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1527 2013-01-10 Chong Yidong <cyd@gnu.org>
1529 * faces.el (read-face-name): Doc fix.
1531 2013-01-10 Roland Winkler <winkler@gnu.org>
1533 * emacs-lisp/crm.el: Allow any regexp for separators.
1534 (crm-default-separator): All spaces around the default comma separator.
1535 (crm--completion-command): New macro.
1536 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1537 (crm-complete-and-exit): Handle non-single-char separators.
1539 2013-01-09 Elias Pipping <pipping@lavabit.com>
1541 * doc-view.el: Add support for DjVu (bug#13164).
1542 (doc-view-djvu->png-converter-function): New config var.
1543 (doc-view-single-page-converter-function, doc-view--image-type)
1544 (doc-view--image-file-extension): New vars.
1545 (doc-view-mode): Initialize them.
1546 (doc-view-goto-page): Use them.
1547 (doc-view-mode-p): Add support for ddjvu.
1548 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1549 (doc-view-set-up-single-converter): New funs.
1550 (doc-view-pdf/ps->png): Extend for djvu.
1551 (doc-view-document->png): Rename from doc-view-pdf->png.
1552 (doc-view-convert-current-doc): Handle djvu.
1553 (doc-view-insert-image, doc-view-display)
1554 (doc-view-already-converted-p): Don't hardcode png.
1555 (doc-view-set-doc-type): Recognize djvu docs.
1557 2013-01-09 Elias Pipping <pipping@lavabit.com>
1559 * doc-view.el: Add support for mupdf converter (bug#13164).
1560 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1561 (doc-view-ps->png-converter-function): New config vars.
1562 (doc-view-pdf->png-converter-ghostscript)
1563 (doc-view-ps->png-converter-ghostscript)
1564 (doc-view-pdf->png-converter-mupdf): New functions.
1565 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1567 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1569 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1570 first in session cache: When `tramp-own-remote-path' is in
1571 `tramp-remote-path', the remote path is only set in the session
1574 2013-01-09 Glenn Morris <rgm@gnu.org>
1576 * emacs-lisp/trace.el (trace-function-foreground)
1577 (trace-function-background): Doc fix.
1579 2013-01-09 Juri Linkov <juri@jurta.org>
1581 * international/mule-cmds.el (read-char-by-name): Move let-binding
1582 of completion-ignore-case around completing-read to fix regression
1583 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1584 `string-match-p' using the nil value of `case-fold-search' and
1585 `completion-ignore-case' in `completion-pcm--all-completions'.
1588 2013-01-09 Glenn Morris <rgm@gnu.org>
1590 * progmodes/compile.el (compilation-parse-errors):
1591 Fix typo. (Bug#13369)
1593 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1595 * comint.el (comint-send-input): Check size of buffer before
1596 waiting for process output, in case already accepted. (Bug#13290)
1598 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1601 * net/tramp-adb.el (tramp-adb-get-toolbox):
1602 Fix misspelling of 'unknown'.
1604 2013-01-08 Juri Linkov <juri@jurta.org>
1606 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1607 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1608 Use underline style wave on terminals that support it. (Bug#13000)
1610 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1613 the predicate returns nil.
1615 * simple.el: Use lexical-binding.
1616 (primitive-undo): Use pcase.
1617 (minibuffer-history-isearch-push-state): Use a closure.
1619 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1621 * simple.el (primitive-undo): Move from undo.c.
1623 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1626 (cvs-mode-remove-handled): Use it (bug#13380).
1628 * emacs-lisp/nadvice.el (advice--tweak): New function.
1629 (advice--remove-function, advice--subst-main): Use it.
1631 * emacs-lisp/advice.el: Update commentary.
1633 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1635 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1636 Remove spurious entry.
1638 2013-01-08 Glenn Morris <rgm@gnu.org>
1640 * net/tramp.el (tramp-default-host-alist): Add :version.
1642 2013-01-08 Juri Linkov <juri@jurta.org>
1644 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1645 single completion. (Bug#12456)
1646 (info--manual-names): Expand node completions into an explicit list
1647 before appending it to another list. Filter out internal buffers
1648 with the leading space in the buffer name. (Bug#10771)
1650 2013-01-08 Juri Linkov <juri@jurta.org>
1652 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1653 that defaults to the Top node.
1654 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1655 the short format (FILENAME) goes to the Top node.
1656 (Info-build-node-completions): Rename arg `file' to `filename'.
1659 2013-01-07 Bastien Guerry <bzg@gnu.org>
1661 * menu-bar.el (menu-bar-search-documentation-menu):
1662 Use `apropos-user-option' and fix the help message.
1664 2013-01-07 Bastien Guerry <bzg@gnu.org>
1666 * apropos.el (apropos-do-all): Update docstring.
1667 (apropos-user-option-button): New face.
1668 (apropos-user-option): Rename from `apropos-variable' and update
1670 (apropos-variable): Rewrite, now show all variables by default.
1671 (apropos-print): Mention "User option" instead of "Variable" when
1672 printing doc for user options. (Bug#13276)
1674 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1676 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1677 Handle filename correctly, when parsing "source -> target" symlink
1679 (tramp-adb-handle-set-file-times): New defun.
1681 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1684 advice list when the interactive-spec of ad-Advice-* changes.
1686 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1688 * wid-edit.el (widget-default-get): Work for inlined elements.
1691 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1693 * net/tramp.el (tramp-default-host-alist): New defcustom.
1694 (tramp-find-host): Use it.
1695 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1696 `eshell-directory-change-hook'.
1698 * net/tramp-adb.el (top): Add adb specific entry in
1699 `tramp-default-host-alist'.
1700 (tramp-adb-file-name-host): Remove function.
1701 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1702 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1704 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1706 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1708 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1710 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1712 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1713 consist of more than one digit.
1714 (tramp-adb-file-name-handler-alist):
1715 Use `tramp-handle-file-exists-p' consistently.
1716 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1717 (tramp-adb-handle-file-exists-p): Remove function.
1718 (tramp-adb-file-name-host): New defun.
1719 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1721 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1723 2013-01-06 Chong Yidong <cyd@gnu.org>
1725 * vc/vc.el (vc-next-action): Detect buffer modifications
1726 conflicting with locking VCS operation (Bug#11490).
1728 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1730 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1732 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1733 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1735 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1737 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1738 parsing of ls output using regular expression (handle filenames
1739 with spaces). Use virtual device number.
1740 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1743 2013-01-04 Daiki Ueno <ueno@gnu.org>
1745 * epg.el: Silence byte-compiler warnings.
1746 (epg--start): Use delete-char instead of delete-backward-char.
1747 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1749 2013-01-04 Daiki Ueno <ueno@gnu.org>
1751 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1752 Suggested by Eli Zaretskii <eliz@gnu.org>.
1754 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1756 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1757 non-negative integers. Otherwise, the default values are used.
1758 (tramp-convert-file-attributes): Convert uid and gid to integers.
1760 2013-01-04 Glenn Morris <rgm@gnu.org>
1762 * term.el (term-handle-colors-array): Ensure face attributes
1763 are fully specified, not nil. (Bug#13337)
1765 * term.el (term-default-fg-color, term-default-bg-color):
1768 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1769 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1770 rather than 'jka-compr being loaded. (Bug#13338)
1772 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1774 * icomplete.el (icomplete-completions):
1775 Honor icomplete-prospects-height once more following
1776 2012-11-29 changes. (Bug#13224)
1778 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1781 of called-interactively-p as well (bug#13237).
1783 * view.el (view--enable, view--disable): Rename from view-mode-enable
1784 and view-mode-disable and assume it's called from view-mode.
1785 (view-mode-enable, view-mode-disable): Redefine as obsolete
1786 compatibility layer above view-mode.
1787 (view-mode-enter): Call `view-mode'.
1789 * files.el (after-find-file): Call `view-mode'.
1791 * doc-view.el (doc-view-scale-internally): New var.
1792 (doc-view-enlarge, doc-view-insert-image): Obey it.
1794 2013-01-03 Daiki Ueno <ueno@gnu.org>
1796 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1799 2013-01-03 Glenn Morris <rgm@gnu.org>
1801 * mail/rmail.el (rmail-set-header-1): Ignore case.
1802 Handle multi-line headers. (Bug#13330)
1804 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1805 Handle paragraph starting at beginning of buffer.
1807 * subr.el (eval-after-load): Don't purecopy the form, so that it
1808 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1810 * emacs-lisp/byte-run.el (defun): Place cl declarations
1811 after any interactive spec. (Bug#13265)
1813 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1815 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1816 defun. Don't check for DECL if DOCSTRING isn't a string.
1819 2013-01-02 Glenn Morris <rgm@gnu.org>
1821 * eshell/em-cmpl.el (eshell-pcomplete):
1822 More thoroughly imitate pcomplete. (Bug#13293)
1824 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1825 Return nil for empty path elements. (Bug#13296)
1827 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1829 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1830 order to improve efficiency (Based on Daniel Colascione's
1831 <dancol@dancol.org> patch). (Bug#13182)
1833 2013-01-02 Glenn Morris <rgm@gnu.org>
1835 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1837 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1839 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1840 neither DOCSTRING nor DECL was given. (Bug#13316)
1842 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1844 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1846 (tramp-do-copy-or-rename-file): Ignore errors when calling
1847 `set-file-extended-attributes'.
1849 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1850 Add handler for `file-acl'.
1851 (tramp-smb-handle-file-acl): New defun.
1853 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1855 * calc/README: Mention ISO 8601 week-numbering dates.
1857 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1859 * view.el (view-mode-enable): New argument run-view-mode-hook.
1860 Run view-mode-hook only when it's non-nil (Bug#13315).
1861 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1864 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1866 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1867 (No device connected, invalid device name). (Bug #13299)
1869 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1871 * window.el (window-resizable--p): Rename to window-resizable-p.
1872 (window-resize-no-error): New function.
1874 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1875 broken in fix from 2012-12-28.
1877 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * subr.el (special-form-p): Don't signal errors on undef aliases.
1881 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1883 * calc/calc-forms.el (math-parse-date): Try using
1884 `math-parse-iso-date' when it looks like it might be needed.
1885 Allow times of 24:00.
1886 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1889 2012-12-30 Glenn Morris <rgm@gnu.org>
1891 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1892 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1893 (rmail-summary-displayed, rmail-summary): Declare.
1894 (mairix-rmail-display): Just require rmail.
1896 2012-12-30 Chong Yidong <cyd@gnu.org>
1898 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1899 check for the tarball contents.
1901 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1903 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1904 tarfile content listings (Bug#13136).
1906 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1908 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1909 Insert the undecoded text of the message being forwarded. (Bug#9521)
1911 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1913 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1914 integers, if they are real numbers. (Bug#13282)
1916 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1917 Return `t' on success.
1919 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1920 Add handler for `set-file-selinux-context'.
1922 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1924 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1925 (tramp-sh-handle-set-file-acl): Return `t' on success.
1927 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1929 * files.el (backup-buffer-copy, basic-save-buffer-2):
1930 If set-file-extended-attributes fails, fall back on set-file-modes
1931 instead of signaling an error. (Bug#13298)
1932 (basic-save-buffer): Likewise.
1934 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1936 * progmodes/python.el: Support other commands triggering
1937 python-indent-line so indentation cycling continues to work.
1938 (python-indent-trigger-commands): New defcustom.
1939 (python-indent-line): Use it.
1941 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1943 * progmodes/python.el (python-shell-send-region): Add blank lines
1944 for non sent code so backtraces remain correct.
1946 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1948 * progmodes/python.el: Remove cl dependency.
1949 (python-syntax-count-quotes): Replace incf call.
1950 (python-fill-string): Replace setf call.
1952 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1954 * info.el (info-other-window): New arg, for consistency with info.
1956 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1958 * mail/rmail.el (rmail-maybe-display-summary):
1959 Rewrite (Bug#13066).
1961 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1963 * epg.el (epg--start): Modify process-environment locally.
1965 2012-12-28 Daiki Ueno <ueno@gnu.org>
1967 * epg.el: Support pinentry-curses.
1968 Suggested by Werner Koch in
1969 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1970 (epg-agent-file, epg-agent-mtime): New variable.
1971 (epg--start): Record the modified time of gpg-agent socket file,
1972 to restore Emacs frame after pinentry-curses termination.
1973 (epg-wait-for-completion): Restore Emacs frame here.
1975 2012-12-27 Juri Linkov <juri@jurta.org>
1977 * info.el (Info-file-completions): New variable.
1978 (Info-read-node-name-1): Complete node names in the Info file
1979 when a file name is given. Call `Info-build-node-completions'
1981 (Info-build-node-completions): Add new arg `file'. When it is
1982 non-nil, visit it in a temporary buffer and cache its completions in
1983 `Info-current-file-completions'. Move most of the function body to
1984 `Info-build-node-completions-1'.
1985 (Info-build-node-completions-1): New function with the body from
1986 `Info-build-node-completions'. (Bug#12456)
1988 2012-12-27 Juri Linkov <juri@jurta.org>
1990 * frame.el (frame-maximization-style): Remove user option.
1991 (cycle-frame-maximized): Remove function.
1992 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1993 (toggle-frame-fullscreen): New command bound to <f11> instead of
1994 `toggle-frame-maximized'.
1995 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1997 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1999 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2001 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2002 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2003 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2004 for `file-accessible-directory-p'. (Bug#13275)
2006 2012-12-27 Sam Steingold <sds@gnu.org>
2008 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2009 continuations, see <http://stackoverflow.com/questions/3582436>.
2011 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2013 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2014 "module" and "def" to have indentation before them.
2015 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2017 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2019 2012-12-27 Alan Mackenzie <acm@muc.de>
2021 Speed up fontification where there's large brace blocks.
2022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2023 to a call of c-beginning-of-decl-1.
2025 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2027 * comint.el (comint-adjust-window-point): New function.
2028 (comint-postoutput-scroll-to-bottom):
2029 Call comint-adjust-window-point (Bug#13248).
2031 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2033 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2035 (auto-mode-alist): Associate .gemspec files with ruby-mode
2036 (https://bugs.ruby-lang.org/issues/5453).
2038 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2040 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2041 Suppress coloring, if possible (required for BusyBox based systems like
2043 (tramp-adb-handle-file-attributes)
2044 (tramp-adb-handle-insert-directory)
2045 (tramp-adb-handle-file-name-all-completions): Use it.
2046 (tramp-adb-get-toolbox): New defun. Check for remote shell
2047 implementation (BusyBox or Toolbox).
2049 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2051 * startup.el (initial-buffer-choice): Allow function as value
2053 (command-line-1): Handle case where initial-buffer-choice
2054 specifies a function.
2055 * server.el (server-execute): Handle case where
2056 initial-buffer-choice specifies a function.
2058 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2060 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2062 (smtpmail-try-auth-methods): Forget the user name/password if the
2063 login is unsuccessful (bug#12424).
2065 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2067 * notifications.el (notifications-notify): Protect body with
2068 `with-demoted-errors'.
2070 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2071 Check properties of remote device. Restart connection, if there is a
2074 2012-12-21 Chong Yidong <cyd@gnu.org>
2076 * sort.el (sort-subr): Doc fix (Bug#13056).
2078 2012-12-21 Bastien Guerry <bzg@gnu.org>
2080 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2082 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2084 * simple.el (process-file): Overwrite stderr file, if exists.
2086 2012-12-21 Daiki Ueno <ueno@gnu.org>
2088 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2089 (epg-error): Set `error-message' property.
2091 2012-12-21 Chong Yidong <cyd@gnu.org>
2093 * international/mule-cmds.el (read-char-by-name): Signal an error
2094 if the user does not supply a valid character (Bug#13177).
2096 * simple.el (transpose-subr-1): Preserve marker positions by
2097 changing the insertion sequence (Bug#13122).
2099 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2101 * simple.el (kill-region): Deactivate mark even for empty regions
2104 2012-12-21 Chong Yidong <cyd@gnu.org>
2106 * help-fns.el (describe-variable): Make sure we get the right
2107 buffer name (Bug#13105). Suggested by Kelly Dean.
2109 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2111 * comint.el (comint-redirect-previous-input-string): New variable.
2112 (comint-redirect-setup, comint-redirect-cleanup)
2113 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2114 (comint-redirect-preoutput-filter): Fix verbose message.
2116 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2118 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2119 is too long for Tramp. See discussion in
2120 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2122 * progmodes/compile.el (compilation-start): Remove line escape
2125 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2127 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2130 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2132 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2133 following non-comment text (bug#13207).
2134 (lm-header-multiline): Continuation lines need to be indented more than
2136 (lm-homepage): New function.
2137 (lm-with-file): Don't be confused if narrowing is in effect.
2139 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2141 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2142 very beginning of a hunk (e.g. killing the first line).
2144 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2146 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2147 and text properties from returned ACL string.
2148 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2149 for "setfacl" command.
2151 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2153 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2154 `tramp-cleanup-this-connection', when the process has died.
2157 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2161 2012-12-17 Kevin Ryde <user42@zip.com.au>
2163 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2165 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2167 Add support for preserving ACL entries of files.
2169 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2170 `set-file-acl' handlers.
2172 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2173 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2175 * net/tramp-compat.el (tramp-compat-copy-file):
2176 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2179 Add `file-acl' and `set-file-acl' handlers.
2180 (tramp-gvfs-handle-copy-file):
2181 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2182 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2186 Add `file-acl' and `set-file-acl' handlers.
2187 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2188 (tramp-sh-handle-set-file-acl): New defuns.
2189 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2190 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2192 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2193 Add `file-acl' and `set-file-acl' handlers.
2194 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2196 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2198 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2199 use pop-to-buffer with NORECORD argument t. As buffer name, use
2200 *Metahelp* with a leading space (Bug#13190).
2202 2012-12-16 Romain Francoise <romain@orebokech.com>
2204 * files.el (file-extended-attributes)
2205 (set-file-extended-attributes): New functions.
2206 (backup-buffer): Use them to handle both SELinux context and ACL
2208 (backup-buffer-copy): Work with an alist of extended attributes,
2209 rather than an SELinux context.
2210 (basic-save-buffer-2): Ditto.
2212 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2214 * battery.el (battery-bsd-apm): New function.
2216 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2218 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2219 standard date formats.
2221 2012-12-15 Juri Linkov <juri@jurta.org>
2223 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2224 `isearch-insert-char-by-name'.
2225 (with-isearch-suspended): New defmacro with body mostly from
2226 `isearch-edit-string' except the part that sets
2227 `isearch-new-string' and `isearch-new-message'.
2228 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2229 body that sets `isearch-new-string' and `isearch-new-message'.
2230 (isearch-insert-char-by-name): New command.
2231 * international/mule-cmds.el (read-char-by-name): Let-bind
2232 `enable-recursive-minibuffers' to t.
2233 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2235 2012-12-15 Juri Linkov <juri@jurta.org>
2237 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2240 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2242 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2243 the prompt. (Bug#13045)
2245 2012-12-14 Glenn Morris <rgm@gnu.org>
2247 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2248 Try to include filename in non-bytecomp warning. (Bug#13132)
2250 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2252 Fix permissions bugs with setgid directories etc. (Bug#13125)
2253 * files.el (backup-buffer): Don't rely on 9th output of
2254 file-attributes, as it's now a placeholder. Instead, use the new
2255 optional arg of file-ownership-preserved-p.
2256 (file-ownership-preserved-p): New optional arg GROUP.
2257 Fix mishandling of setuid directories that would cause this
2258 function to return t when it should have returned nil.
2259 Document what happens if the file does not exist, and when
2260 it's not known whether the ownership will be preserved.
2261 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2263 (tramp-get-local-gid): Use group-gid for integer, as that's
2264 faster and more reliable.
2266 2012-12-14 Julien Danjou <julien@danjou.info>
2268 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2269 Update keywords list, data type and PL/pgSQL.
2271 2012-12-14 Dave Abrahams <dave@boostpro.com>
2273 * vc/ediff-util.el (ediff-buffer-type): New function.
2274 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2275 rather than taking it as as argument.
2276 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2278 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2280 * json.el: Add pretty-print option (bug#12634).
2281 (json-encoding-separator, json-encoding-default-indentation)
2282 (json--encoding-current-indentation, json-encoding-pretty-print)
2283 (json-encoding-lisp-style-closings): New vars.
2284 (json--with-indentation): New macro.
2285 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2286 (json-encode-array): Use it to obey json-encoding-pretty-print.
2287 (json-pretty-print-buffer, json-pretty-print): New commands.
2289 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2291 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2292 Extract `ruby-syntax-propertize-expansions'.
2293 (ruby-syntax-propertize-expansions): Only change syntax on
2294 certain string delimiters, to punctuation. This way the common
2295 functions like forward-word and thing-at-point still work.
2296 (ruby-match-expression-expansion): Improve readability.
2297 (ruby-block-contains-point): New function.
2298 (ruby-add-log-current-method): Handle several edge cases.
2300 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2302 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2303 unload-feature finishes even when aborting an ongoing edebug session.
2304 Also, do not worry about edebug-mode, unload-feature takes care of it.
2306 2012-12-13 Andreas Schwab <schwab@suse.de>
2308 * net/tls.el (tls-program): Update customize type.
2310 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2312 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2313 (edebug-setup-hook, cl-read-load-hooks): Use it.
2314 (edebug-unload-function): New function. (Bug#13163)
2316 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2318 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2319 Otherwise, there could be errors in autoloading. (Bug#13151)
2321 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2323 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2326 2012-12-13 Alan Mackenzie <acm@muc.de>
2328 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2329 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2330 around `forward-comment' not recognizing ^M as whitespace.
2332 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2334 * progmodes/python.el (python-skeleton-class)
2335 (python-skeleton-def): Do not add space after defun name.
2337 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2340 (cl--symbol-function): Remove (now that funbound is like nil).
2342 2012-12-12 Glenn Morris <rgm@gnu.org>
2344 * button.el (button--area-button-p): Fix typo.
2346 2012-12-12 Sam Steingold <sds@gnu.org>
2348 * frame.el (frame-maximization-style): New user option.
2349 (toggle-frame-maximized): Toggle frame maximization according to
2350 `frame-maximization-style', bound to <f11>.
2351 (cycle-frame-maximized): Cycle between all maximization styles and
2352 non-maximized frame, bound to shift-<f11>.
2354 2012-12-12 David Cadé <codename68@gmail.com>
2356 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2358 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2360 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2361 (eieio-override-prin1): Don't quote kewords and booleans.
2362 (object-write) <eieio-default-superclass>: Don't put closing parens
2363 on new line, avoid needless empty lines, align values that are objects
2364 with the slot keyword (instead of beginning on the same line).
2365 (eieio-list-prin1): Align value with slot keyword; increase
2366 eieio-print-depth before printing members of the list.
2368 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2371 a display text-property.
2372 (report-emacs-bug-hook): Don't bother deleting it any more.
2374 * hilit-chg.el (highlight-save-buffer-state): Delete.
2375 Use with-silent-modifications instead.
2376 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2378 * button.el: Handle buttons in display text-properties.
2379 (button--area-button-p, button--area-button-string):
2380 Use (STRING . STRING-POS) representation instead of just STRING.
2382 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2384 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2385 subdirectory be skipped.
2387 2012-12-11 Glenn Morris <rgm@gnu.org>
2389 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2391 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2392 Treat preprocessor lines embedded in continuations like comments.
2393 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2395 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2397 * calc/calc.el (calc-standard-date-formats): Add more date
2399 * calc/calc-forms.el (math-parse-iso-date): New function.
2400 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2401 (math-parse-iso-date-validate): Add extra error checking.
2402 (calc-date-notation): Add ability to access new date formats.
2404 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2407 font-lock as well as when there's no text-property.
2409 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2411 * hi-lock.el: Refine the choice of default face.
2412 (hi-lock-keyword->face): New function. Use it wherever we used
2414 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2415 (hi-lock--last-face): Remove var.
2416 (hi-lock--unused-faces): New var to replace it.
2417 (hi-lock-read-face-name): Use/maintain it.
2418 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2419 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2420 if it has another face.
2422 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2424 * subr.el (w32notify-handle-event): New function.
2425 (inotify-handle-event): Doc fix.
2427 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2429 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2431 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2433 * simple.el (just-one-space): Doc fix.
2435 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2437 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2439 2012-12-10 Le Wang <l26wang@gmail.com>
2441 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2442 narrowed buffer (bug#12361).
2444 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2446 * vc/vc-hooks.el (vc-state): Doc fix.
2448 2012-12-10 Glenn Morris <rgm@gnu.org>
2450 * mail/rmail.el (rmail-maybe-display-summary):
2451 Preserve buffer, in case select-window changes it. (Bug#13066)
2453 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2456 cl-load-hook where they belong.
2458 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2462 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2464 Parallelize byte compilation on MS-Windows.
2465 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2466 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2467 (WINS_BASIC): Define as concatenation of the above.
2468 (compile): Subdivide into 4 separate and independent jobs that can
2470 (compile0-CMD, compile0-SH): New targets for compiling
2471 COMPILE_FIRST files, which are prerequisites for the rest of the
2473 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2474 New targets for parallel compilation with cmd.exe.
2475 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2476 compiling under a Unixy shell.
2478 2012-12-09 Chong Yidong <cyd@gnu.org>
2480 * simple.el (set-mark-default-inactive): Delete this
2481 accidentally-introduced option.
2482 (set-mark-command, exchange-point-and-mark): Remove calls.
2484 2012-12-09 Glenn Morris <rgm@gnu.org>
2486 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2487 Respect a defcustom's :set function, if appropriate. (Bug#109)
2488 (eval-defun): Doc fix.
2490 2012-12-08 Juri Linkov <juri@jurta.org>
2492 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2493 (Info-fontify-node, Info-bookmark-make-record): Remove the
2494 file extension from Info-current-file (Bug#13016).
2496 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2499 point, still provide some default.
2500 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2501 names, since we don't use it right now. Actually return the list.
2502 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2504 2012-12-07 Chong Yidong <cyd@gnu.org>
2506 * novice.el (disabled-command-function): Remove a spurious help
2507 xref (Bug#13043). Suggested by Kelly Dean.
2509 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2510 syntax is specified (Bug#13025).
2512 * info.el (Info-set-mode-line): Remove the file extension from
2513 Info-current-file if there is one (Bug#13016).
2515 2012-12-07 Glenn Morris <rgm@gnu.org>
2517 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2518 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2519 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2520 and rmail-mime-decoded. (Bug#9841)
2522 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2523 (batch-unrmail, unrmail): Doc fixes.
2524 (unrmail): Respect unrmail-mbox-format.
2525 * mail/rmail.el (rmail-mbox-format): New option.
2526 (rmail-show-message-1): Respect rmail-mbox-format.
2528 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2532 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2534 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2535 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2536 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2537 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2538 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2539 (cl-progv): Don't rely on dynamic scoping to find the body.
2540 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2541 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2542 (cl-declaim): Use backquotes.
2543 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2544 Use "cl--" prefix for the object's tag.
2546 * ses.el: Use advice-add/remove.
2547 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2548 (copy-region-as-kill, yank): Use advice-add.
2549 (ses-unload-function): Use advice-remove.
2551 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2553 * button.el: Make them work in header-lines (bug#12817).
2554 (button-map): Add bindings for header-line and mode-line use.
2555 (button-get, button-put, button-label): `button' may now be a string.
2556 (button-activate): Don't make it a defsubst.
2557 (button--area-button-p, button--area-button-string): New functions.
2558 (make-text-button): Fix the return value when `beg' was a string.
2559 (push-button): Handle the mode-line case.
2561 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2564 (sql-signum): Remove. Use `cl-signum' instead.
2565 (sql-read-passwd): Remove; use read-passwd instread.
2566 (sql-get-login-ext): Use read-string.
2567 (sql-get-login): Use dolist and pcase.
2568 (sql--completion-table): Rename from sql-try-completion.
2569 Use complete-with-action.
2570 (sql-mode): Don't change abbrev-all-caps globally.
2571 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2572 (sql-postgres-completion-object): Initialize vars in their `let'.
2573 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2574 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2575 (sql-comint-interbase): Use a single append, without setq.
2576 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2578 * hi-lock.el: Rework the default face and the serialize regexp code.
2579 (hi-lock--auto-select-face-defaults): Remove.
2580 (hi-lock-string-serialize-serial): Remove.
2581 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2583 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2585 (hi-lock-set-pattern): Adjust accordingly.
2586 (hi-lock--regexps-at-point): Simplify accordingly.
2587 (hi-lock--auto-select-face-defaults): Remove.
2588 (hi-lock--last-face): New var to replace it.
2589 (hi-lock-read-face-name): Rewrite (bug#11095).
2590 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2592 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2594 * net/tramp.el (tramp-replace-environment-variables):
2595 Hide compiler warning.
2596 (tramp-file-name-for-operation): Remove `executable-find',
2597 `start-process', `call-process' and `call-process-region'.
2599 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2601 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2604 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2606 2012-12-06 Chong Yidong <cyd@gnu.org>
2608 * ffap.el (ffap-replace-file-component): Fix typo.
2610 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2613 fix open-paren-like token test (bug#12785).
2615 2012-12-06 Glenn Morris <rgm@gnu.org>
2617 * mail/rmailsum.el (rmail-new-summary): Tweak for
2618 rmail-maybe-display-summary changing buffer. (Bug#13066)
2620 2012-12-06 Juri Linkov <juri@jurta.org>
2622 * info.el (Info-fontify-node): Don't hide the last newline.
2625 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2627 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2628 so as to enable message-read-from-minibuffer to expand mail aliases.
2630 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2632 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2633 the `intangible' property.
2634 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2636 2012-12-05 Deniz Dogan <deniz@dogan.se>
2638 * net/rcirc.el (rcirc-urls): Update documentation.
2639 (rcirc-condition-filter): New function.
2640 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2641 and exclude consecutive duplicate URLs (Bug#6082).
2643 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2645 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2646 Check return code of copy command.
2648 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2649 Use group `tramp'. Add version.
2651 2012-12-05 Chong Yidong <cyd@gnu.org>
2653 * ffap.el (ffap-url-regexp): Don't require matching at front of
2655 (ffap-url-p): If only a substring matches, return that.
2656 (ffap-url-at-point): Use the return value of ffap-url-p.
2657 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2658 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2659 (ffap-guess-file-name-at-point): Likewise.
2660 (ffap-replace-file-component): Fix typo.
2662 * info.el (info-display-manual): Add existing Info buffers, whose
2663 files may not be in Info-directory-list, to the completion.
2664 (info--manual-names): New helper function.
2666 2012-12-05 Glenn Morris <rgm@gnu.org>
2668 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2669 New functions, for detecting and resolving conflicts. (Bug#10709)
2671 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2673 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2674 (hi-lock-auto-select-face-defaults): New buffer local variable.
2675 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2676 (hi-lock-unface-buffer): Prompt user with useful defaults.
2677 With prefix arg, unhighlight all hi-lock patterns in buffer.
2679 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2683 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2685 * Makefile.in (TRAMP_SRC):
2686 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2688 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2690 * net/tramp-adb.el: New package.
2692 2012-12-04 Chong Yidong <cyd@gnu.org>
2694 * terminal.el: Move to obsolete/.
2696 * longlines.el: Move to obsolete/.
2698 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2699 Remove code referring to longlines mode.
2701 2012-12-03 Juri Linkov <juri@jurta.org>
2703 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2705 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2707 * textmodes/ispell.el (ispell-init-process)
2708 (ispell-start-process, ispell-internal-change-dictionary):
2709 Make sure personal dictionary name is expanded after initial
2710 `default-directory' value. Use expanded strings for
2711 keep/restart checks and for value (Bug#13019).
2713 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2715 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2717 2012-12-03 Leo Liu <sdl.web@gmail.com>
2719 * files.el (dir-locals-read-from-file): Check file non-empty
2720 before reading. (Bug#13038)
2722 2012-12-03 Glenn Morris <rgm@gnu.org>
2724 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2725 Remove any version extension before checking filename. (Bug#13006)
2726 (jka-compr-compression-info-list): Belated :version bump.
2728 2012-12-03 Chong Yidong <cyd@gnu.org>
2730 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2732 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2733 (buffer-menu): Doc fix (Bug#12294).
2735 2012-12-03 Roland Winkler <winkler@gnu.org>
2737 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2738 of diary-show-all-entries in the diary buffer (Bug#12994).
2740 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2742 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2743 "<STDIN>". This is binary safe.
2745 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2747 * calc/calc-forms.el (math-absolute-from-iso-dt)
2748 (math-date-to-iso-dt, math-parse-iso-date-validate)
2749 (math-iso-dt-to-date): New functions.
2750 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2751 (math-fd-isoweekday): New variables.
2752 (calc-date-notation, math-parse-standard-date, math-format-date)
2753 (math-format-date-part): Add support for more formatting codes.
2755 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2757 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2758 current buffer's file name when called interactively (Bug#12488).
2760 2012-12-02 Juri Linkov <juri@jurta.org>
2762 * info.el (info-display-manual): Don't clobber an existing Info
2763 buffer (Bug#10770). Add completion (Bug#10771).
2765 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2767 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2768 before using it for comparison (Bug#5297).
2770 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2772 * textmodes/css-mode.el (css-current-defun-name): New function.
2775 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2776 (html-mode): Use it.
2778 2012-12-01 Chong Yidong <cyd@gnu.org>
2780 Modularize add-log-current-defun (Bug#2224).
2781 Suggested by Jari Aalto.
2783 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2784 (add-log-current-defun): Move mode-specific code to other files.
2785 (add-log-lisp-like-modes, add-log-c-like-modes)
2786 (add-log-tex-like-modes): Variables deleted.
2788 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2789 (lisp-mode-variables): Use it.
2791 * progmodes/cc-mode.el (c-common-init):
2792 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2793 add-log-current-defun-function.
2795 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2798 * progmodes/perl-mode.el (perl-current-defun-name): New.
2799 (perl-mode): Use it.
2801 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2802 Use lisp-current-defun-name.
2804 * textmodes/tex-mode.el (tex-current-defun-name): New.
2805 (tex-common-initialization): Use it.
2807 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2808 (texinfo-mode): Use it.
2810 2012-12-01 Chong Yidong <cyd@gnu.org>
2812 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2813 * progmodes/autoconf.el (autoconf-mode):
2814 * progmodes/js.el (js-mode):
2815 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2816 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2817 * progmodes/perl-mode.el (perl-mode):
2818 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2819 * textmodes/css-mode.el (css-mode):
2820 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2821 (sgml-tags-invisible, sgml-guess-indent):
2822 * textmodes/tex-mode.el (tex-common-initialization)
2823 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2824 (doctex-mode, plain-tex-mode, latex-mode):
2825 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2827 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2829 * vc/vc-hg.el (vc-hg-next-revision):
2830 Ensure use of default "tip" output format. (Bug#6968)
2832 2012-12-01 Kim F. Storm <storm@cua.dk>
2834 * startup.el (fancy-startup-tail): Add a clickable link
2837 2012-12-01 Chong Yidong <cyd@gnu.org>
2839 * startup.el (fancy-startup-tail): Improve the message about
2840 auto-save files (Bug#2176).
2842 * files.el (recover-session): Improve the descriptive message, and
2843 use substitute-command-keys.
2845 2012-12-01 Glenn Morris <rgm@gnu.org>
2847 * ido.el (ido-file-internal):
2848 Handle other-window, other-frame for dired. (Bug#13036)
2850 2012-11-30 Glenn Morris <rgm@gnu.org>
2852 * icomplete.el (icomplete-separator): Fix :version.
2854 2012-11-30 Chong Yidong <cyd@gnu.org>
2856 * shell.el (shell): For C-u M-x shell, use an inactive shell
2857 buffer as the default (Bug#1975).
2858 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2859 (shell-mode): Use them to reapply ansi colorization if Shell mode
2862 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2864 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2866 2012-11-30 Samuel Bronson <naesten@gmail.com>
2868 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2869 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2871 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2873 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2874 by move-to-column (Bug#3234).
2876 2012-11-30 Chong Yidong <cyd@gnu.org>
2878 * longlines.el (longlines-wrap-line, longlines-encode-region):
2879 Preserve text properties (Bug#1425).
2881 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2883 * vc/vc.el (vc-register): Allow registering a file which is
2884 already registered with a different backend (Bug#10589).
2886 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2887 Stefan Monnier <monnier@iro.umontreal.ca>
2889 * icomplete.el: Change separator; add ido-style commands.
2890 (icomplete-show-key-bindings): Remove custom var.
2891 (icomplete-get-keys): Remove function.
2892 (icomplete-forward-completions, icomplete-backward-completions):
2894 (icomplete-minibuffer-map): New var.
2895 (icomplete-minibuffer-setup): Use it.
2896 (icomplete-exhibit): Don't delay if the list of completions is known.
2897 (icomplete-separator): New custom.
2898 (icomplete-completions): Use it.
2899 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2900 (minibuffer-force-complete-and-exit): New command.
2901 (minibuffer--complete-and-exit): New function extracted from
2902 minibuffer-complete-and-exit.
2903 (minibuffer-complete-and-exit): Use it.
2905 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2906 error message when the file doesn't exist (bug#12974).
2908 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2910 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2912 2012-11-29 Glenn Morris <rgm@gnu.org>
2914 * files.el (hack-dir-local-variables): Warn if try to set
2915 coding via dir-locals, since it doesn't work. (Bug#7169)
2917 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2918 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2919 Set buffer-local value of desktop-save-buffer.
2920 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2922 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2923 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2925 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2926 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2928 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2931 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2933 * calc/calc-forms.el (calc-date-notation): Fix regexp
2934 used to find time codes. Fix symbol for seconds.
2936 2012-11-27 Glenn Morris <rgm@gnu.org>
2938 * emacs-lisp/derived.el (derived-mode-make-docstring):
2939 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2941 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2944 lexically scoped variables (bug#13005).
2946 2012-11-27 Glenn Morris <rgm@gnu.org>
2948 * vc/vc-hooks.el (vc-mistrust-permissions):
2949 Default to t, to avoid data-loss. (Bug#11490)
2951 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2953 * progmodes/python.el (python-indent-guess-indent-offset):
2954 If indentation is guessed make python-indent-offset buffer-local.
2956 Fix Imenu regression.
2957 * progmodes/python.el (python-nav-beginning-of-defun):
2958 Fix forward movement when statement(s) separates point from defun.
2959 (python-imenu-prev-index-position): New function.
2961 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2963 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2965 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2966 Don't set buffer-file-type. Return nil. (Bug#12989)
2968 2012-11-27 Glenn Morris <rgm@gnu.org>
2970 * hippie-exp.el (hippie-expand-try-functions-list):
2971 Re-autoload it. (Bug#12982)
2973 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2975 * descr-text.el (describe-char-padded-string):
2976 Call internal-char-font only on GUI frames. (Bug#11964)
2978 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2980 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2981 and obsoletion message.
2983 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2986 the constructs to keep outside of the `cl-block' (bug#12977).
2988 2012-11-27 Chong Yidong <cyd@gnu.org>
2990 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2991 keep reading until we get the up-event anyway, in order to process
2992 the up-event for mouse-1-click-follows-link (Bug#12971).
2994 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2997 base function is not yet defined (bug#12965).
2998 (ad-activate-advised-definition): Use ad-compile-function.
2999 (ad-activate): Use cond.
3001 2012-11-25 Leo Liu <sdl.web@gmail.com>
3003 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3006 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3008 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3009 reftex-section-info-function in order to be compatible with
3010 Texinfo integration.
3012 * textmodes/reftex.el (reftex-section-pre-regexp)
3013 (reftex-section-post-regexp, reftex-section-info-function):
3015 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3016 reftex-section-post-regexp, and reftex-section-info-function in order
3017 to be compatible with Texinfo integration.
3019 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3020 use reftex-section-pre-regexp variable in order to be compatible with
3021 Texinfo integration.
3023 2012-11-25 Chong Yidong <cyd@gnu.org>
3025 * faces.el: Make face-spec-set more analogous to setq.
3026 (face-spec-set): Change the third arg to specify whether this
3027 function is being called via defface, customize, or a third party.
3028 Set the appropriate symbol properties. Clear the override spec if
3029 setting via Custom. Initialize face if necessary. (Bug#4988)
3030 (face-spec-recalc): Allow theme faces to completely replace the
3031 defface spec, in the same way as custom faces (Bug#8454).
3033 * cus-face.el (custom-declare-face): Move face initialization to
3035 (custom-theme-set-faces): Don't initialize the face name here, as
3036 that is now done in face-spec-set.
3038 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3039 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3040 Simplify by using the new arg to face-spec-set.
3042 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3043 reset face-override-spec too, and use custom-declare-face.
3045 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3047 * term/ns-win.el (ns-initialize-window-system): Move creation of
3048 fontsets here (Bug#11964).
3050 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3052 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3055 2012-11-24 Chong Yidong <cyd@gnu.org>
3057 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3060 * custom.el (custom-theme-set-variables): Use a topological sort
3061 for ordering by custom dependencies (Bug#12952).
3062 (custom--sort-vars, custom--sort-vars-1): New functions.
3064 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3067 lexical-binding (bug#12938).
3069 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3071 * image-mode.el (image-transform-check-size): Use assertions only
3072 for images of type imagemagick.
3074 Otherwise no error, image-transform-fit-to-{width,height} is
3075 silently ignored, as before. Doc fix.
3077 2012-11-24 Chong Yidong <cyd@gnu.org>
3079 * faces.el (color-defined-p): Doc fix (Bug#12853).
3081 2012-11-24 Juri Linkov <juri@jurta.org>
3083 * dired.el (dired-mark): Add optional arg `interactive'.
3084 Check for `use-region-p' if `interactive' is non-nil.
3085 (dired-unmark, dired-flag-file-deletion): Add optional arg
3086 `interactive'. Call `dired-mark' with the arg `interactive'.
3089 * wdired.el: Revert 2012-10-17 change partly and replace it with
3090 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3091 (wdired-finish-edit): Add marks for new file names to
3092 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3093 after `revert-buffer'.
3094 (wdired-do-renames): Remove calls to `dired-remove-file',
3095 `dired-add-file', `dired-add-entry'. (Bug#11795)
3097 2012-11-24 Alan Mackenzie <acm@muc.de>
3099 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3101 Fix bugs in the state cache. Enhance a debugging mechanism.
3102 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3103 "brace at column zero" strategy for C++.
3104 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3105 (c-parse-state-point): New variable.
3106 (c-record-parse-state-state): Record old parse state with
3107 `copy-tree'. Record previous value of point.
3108 (c-debug-parse-state-double-cons): New debugging function.
3109 (c-debug-parse-state): Call the above new function.
3110 (c-toggle-parse-state-debug): Output a confirmatory message.
3112 * progmodes/cc-mode.el (c-before-change, c-after-change):
3113 Call c-invalidate-state-cache from `c-before-change' instead of
3116 2012-11-23 Chong Yidong <cyd@gnu.org>
3118 * find-cmd.el (find-constituents): Add executable, ipath,
3119 readable, samefile, writable, daystart, regextype (Bug#12856).
3121 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3125 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3127 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3128 definition. This fixes a bootstrap failure.
3129 (calc-gregorian-switch): In menu, put dates before regions.
3130 This is easier to follow, lines up better in the menu, and lets us
3131 coalesce regions that switch at the same time. Give country
3132 names, not "Vatican", as that's better for non-expert users.
3133 Use names that are stable between the date of switch and now, e.g.,
3134 Bohemia and Moravia (which existed then and now) and not
3135 Czechoslovakia (which didn't exist then and doesn't exist now).
3136 What is now the U.S. mostly did not switch at the same time as
3137 Britain, so omit the U.S. Correct spelling of "Britain".
3138 Catholic Switzerland was too much of a mess, so omit it.
3140 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3142 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3143 after the variable is changed.
3145 2012-11-21 Daniel Colascione <dancol@dancol.org>
3147 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3148 in SQL declarations for font-lock.
3149 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3151 2012-11-21 Glenn Morris <rgm@gnu.org>
3153 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3154 (face-italic-p): Add optional argument "inherit".
3156 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3157 Remove -p suffix from names, for consistency with other set-face-*.
3158 (set-face-inverse-video): Fix interactive spec.
3159 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3160 * textmodes/table.el (table--update-cell-face):
3161 Use set-face-inverse-video rather than now obsolete alias.
3163 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3165 * simple.el (line-move): Don't call line-move-partial if
3166 scroll-conservatively is in effect. (Bug#12927)
3168 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3170 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3171 Fallback on completion-at-point rather than
3172 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3173 (eshell-cmpl-initialize): Setup completion-at-point.
3175 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3177 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3179 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3181 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3182 are remote, check out-of-band property for both.
3184 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3189 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3191 More minor time fixes.
3192 * calendar/time-date.el: Commentary fix.
3193 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3194 too much other code depends on (0 0) time stamps.
3195 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3196 Add a couple of FIXME comments.
3198 Minor cleanup for times as lists of four integers.
3199 * files.el (dir-locals-directory-cache):
3200 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3202 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3203 * ps-bdf.el (bdf-file-newer-than-time):
3204 Process four-integers time stamps, not two. Doc fixes.
3206 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * uniquify.el (uniquify-managed): Use defvar-local.
3209 (rename-buffer, create-file-buffer): Advise with advice-add.
3210 (uniquify-unload-function): Unadvise accordingly.
3212 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3213 (trace-buffer): Don't purecopy.
3214 (trace-entry-message, trace-exit-message): Add `context' arg.
3215 (trace--timer): New var.
3216 (trace-make-advice): Adjust for use in nadvice.
3217 Add `context' argument. Delay `display-buffer' via a timer.
3218 (trace-function-internal): Use advice-add.
3219 (trace--read-args): New function.
3220 (trace-function-foreground, trace-function-background): Use it.
3221 (trace-function): Rename to trace-function-foreground and redefine as
3222 an alias to that new name.
3223 (untrace-function, untrace-all): Adjust to the use of nadvice.
3225 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3227 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3229 * subr.el (called-interactively-p-functions): New var.
3230 (internal--called-interactively-p--get-frame): New macro.
3231 (called-interactively-p, interactive-p): Rewrite in Lisp.
3232 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3233 (called-interactively-p-functions): Use it.
3234 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3235 (called-interactively-p-functions): Use it.
3236 * allout.el (allout-called-interactively-p): Don't assume
3237 called-interactively-p is a subr.
3239 2012-11-20 Glenn Morris <rgm@gnu.org>
3241 * profiler.el (profiler-report-mode-map): Add a menu.
3242 No need to bind `q' because we derive from special-mode.
3243 (profiler-report-find-entry): Handle calls from the menu-bar.
3245 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3247 * emacs-lisp/byte-run.el (defun-declarations-alist):
3248 Allow a compiler-macro to be a lambda expression.
3250 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3252 (python-syntax-context): Add compiler-macro.
3253 (python-font-lock-keywords): Simplify with De Morgan.
3255 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3257 * files.el (load-file): Require match in minibuffer selection, as was
3258 the case in Emacs-20 before we changed the spec to allow .elc files
3261 * json.el: Don't require cl since we don't use it.
3262 * color.el: Don't require cl.
3263 (color-complement): `caddr' -> `nth 2'.
3265 * calendar/time-date.el (time-to-seconds): De-obsolete.
3267 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3269 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3271 (math-date-to-julian-dt): Adjust the initial approximation for the
3272 year to deal with the new definition of the DATE.
3274 2012-11-19 Daniel Colascione <dancol@dancol.org>
3276 * term/w32-win.el (cygwin-convert-path-from-windows):
3277 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3279 2012-11-18 Chong Yidong <cyd@gnu.org>
3281 * filecache.el (file-cache--read-list): New function.
3282 (file-cache-add-directory-list, file-cache-add-file-list)
3283 (file-cache-delete-file-list, file-cache-delete-directory-list):
3284 Use it to read a list of files or directories (Bug#12846).
3285 (file-cache-add-file, file-cache-add-directory)
3286 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3287 (file-cache-delete-directory): Print an message.
3289 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3291 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3292 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3294 2012-11-18 Glenn Morris <rgm@gnu.org>
3296 * image.el (insert-image, insert-sliced-image): Doc fix.
3298 2012-11-18 Chong Yidong <cyd@gnu.org>
3300 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3303 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3305 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3306 response when the target file is in a subdirectory (Bug#12757).
3308 2012-11-18 Chong Yidong <cyd@gnu.org>
3310 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3312 2012-11-18 Glenn Morris <rgm@gnu.org>
3314 * emacs-lisp/cl-lib.el (face-underline-p):
3315 Use set-face-underline rather than the alias set-face-underline-p.
3317 * window.el (with-temp-buffer-window): Doc fix.
3318 * subr.el (with-output-to-temp-buffer):
3319 Add doc xref to with-temp-buffer-window.
3321 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3323 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3324 * calc/calc.el (math-format-date-cache): Declare.
3326 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3328 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3329 It also uses January 1, 1 AD as its day number 1.
3330 * calc/calc-forms.el (math-julian-date-beginning)
3331 (math-julian-date-beginning-int): Implement this.
3333 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3335 * descr-text.el (quail-find-key):
3336 * dired.el (desktop-file-name):
3337 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3338 * generic-x.el (comint-mode, comint-exec):
3339 * image-dired.el (widget-forward):
3340 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3341 (speedbar-change-expand-button-char)
3342 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3343 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3344 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3345 (widget-field-action, widget-value-set):
3346 * speedbar.el (imenu--make-index-alist):
3347 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3348 (ring-length, ring-insert):
3349 * vcursor.el (compare-windows-skip-whitespace):
3350 * woman.el (dired-get-filename):
3353 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3355 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3357 * calc/calc.el (calc-gregorian-switch): New variable.
3359 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3360 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3361 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3362 (math-leap-year-p): Add option to distinguish between Julian
3363 and Gregorian calendars.
3364 (math-day-number): Use `math-day-in-year' to do the computations.
3365 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3366 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3367 to do the computations.
3368 (math-date-to-dt): Use `math-date-to-julian-dt' and
3369 `math-date-to-gregorian-dt' to do the computations.
3370 (calcFunc-weekday, math-format-date-part): Use the new version of
3371 the DATE to determine the weekday.
3372 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3375 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3377 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3378 Cygwin; otherwise use 'file:'. (Bug#12914)
3379 (cygwin-convert-path-from-windows): Declare, to avoid
3380 byte-compiler warnings.
3382 2012-11-17 Andreas Politz <politza@fh-trier.de>
3384 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3385 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3386 prefix and negative numeric prefix args (Bug#12795).
3388 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3390 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3391 Don't signal an error with a score that is too low to add to the
3392 list of top scores. (Bug#12779)
3394 2012-11-17 Chong Yidong <cyd@gnu.org>
3396 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3398 * filecache.el (file-cache-add-file): Handle relative file name in
3399 the argument (Bug#12694).
3401 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3403 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3405 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3409 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3411 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3413 * window.el (enlarge-window, shrink-window): Don't mention return
3414 value in doc-string (Bug#12896).
3415 (window--display-buffer): Don't resize frames - it won't work
3416 with all window managers and defeat pop-up-frame-alist.
3417 (display-buffer-alist): In doc-string explain that CONDITION can
3418 be a function and which arguments are passed to it (Bug#12854).
3419 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3420 expressions (Bug#12854).
3421 (display-buffer): Pass ACTION argument to
3422 display-buffer-assq-regexp.
3424 2012-11-16 Glenn Morris <rgm@gnu.org>
3426 * window.el (fit-frame-to-buffer-bottom-margin)
3427 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3429 * faces.el (face-underline-p): Use face-attribute-specified-or.
3431 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3433 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3435 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3439 2012-11-16 Glenn Morris <rgm@gnu.org>
3441 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3442 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3444 * faces.el (face-underline-p): Doc fix. Handle :underline being
3445 things other than `t' (a string, a list).
3446 (face-inverse-video-p): Doc fix.
3447 (set-face-underline): Rename it back from set-face-underline-p.
3448 Doc fix. Allow interactive input of values other than t.
3449 (read-face-attribute): Apply formatting to :underline,
3450 since like :box and :stipple it can take list values.
3452 * term.el (ansi-term): Don't let C-x escape-char binding
3453 clobber the more standard C-c binding. (Bug#12842)
3455 * subr.el (set-temporary-overlay-map): Doc fix.
3457 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3459 * window.el (record-window-buffer)
3460 (display-buffer-record-window): When copying the markers to
3461 window-point preserve window-point-insertion-type. (Bug#12588)
3463 2012-11-16 Glenn Morris <rgm@gnu.org>
3465 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3466 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3467 Use new names for hooks rather than obsolete aliases.
3469 2012-11-15 Daniel Colascione <dancol@dancol.org>
3471 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3472 prefix instead of "file:" so that when FILE-NAME begins with "//",
3473 as it does when the target file is on a network share, url-handler
3476 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3479 a preactivated advice from an old advice.el; they're not compatible!
3481 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3483 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3484 Fix string-spec case.
3486 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3488 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3491 (advice--buffer-local-function-sample): New var.
3492 (advice--set-buffer-local, advice--buffer-local): New functions.
3493 (add-function, remove-function): Use them.
3495 2012-11-15 Drew Adams <drew.adams@oracle.com>
3497 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3499 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3502 potential binding of print-gensym to t, and prettify (back)quotes in
3503 case they appear in args's default values (bug#12884).
3505 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3508 (advice-eval-interactive-spec): New function.
3509 (advice--make-interactive-form): Support around advice (bug#12844).
3511 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3513 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3514 more strict. Add docstring.
3515 (ruby-expression-expansion-re): Extract from
3516 `ruby-match-expression-expansion'.
3517 (ruby-syntax-propertize-function): After everything else, search
3518 for expansions in string literals, mark their insides as
3519 whitespace syntax and save match data for font-lock.
3520 (ruby-font-lock-keywords): Use the 2nd group from expression
3522 (ruby-match-expression-expansion): Use the match data saved to the
3523 text property in ruby-syntax-propertize-function.
3525 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3527 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3530 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3532 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3533 start/end keyword a bit harder. Works with different values of N.
3535 (ruby-end-of-block): Update accordingly.
3537 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * woman.el (woman-file-name): Don't mess with unread-command-events
3542 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3543 Remove out of date self-require hack.
3544 (ad-do-advised-functions): Use simple `dolist'.
3545 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3546 (ad-advice-definition): Redefine as functions.
3547 (ad-advice-classes): Move before first use.
3548 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3549 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3550 (ad--defalias-fset): Remove functions.
3551 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3552 (ad-get-orig-definition): Rewrite.
3553 (ad-make-advised-definition-docstring): Change base docstring.
3554 (ad-real-orig-definition): Rewrite.
3555 (ad-map-arglists): Change name of called function.
3556 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3557 (ad-make-advised-definition): Simplify.
3558 (ad-assemble-advised-definition): Tweak for new calling context.
3559 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3560 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3561 function and call ad-activate if needed.
3562 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3563 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3564 (ad-compile-function): Compile ad-Advice-*.
3565 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3566 (ad-start-advice, ad-stop-advice): Remove.
3568 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3570 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3571 period before class method names, not after. Remove handling of
3572 one impossible case. Add comments.
3574 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3576 * emacs-lisp/advice.el: Remove support for freezing.
3577 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3578 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3579 Remove support for `freeze'.
3581 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3582 override the default.
3583 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3585 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3588 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3590 (advice--strip-macro): New function.
3591 (advice--defalias-fset): Use them to handle macros.
3592 (advice-add): Use them.
3593 (advice-member-p): Correctly handle macros.
3595 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3598 Never font-lock the beginning of singleton class as heredoc.
3600 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3604 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3606 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3607 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3608 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3610 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3612 Fix end-of-defun misbehavior.
3613 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3614 python-beginning-of-defun-function. Handle nested defuns
3616 (python-nav-end-of-defun): Rename from
3617 python-end-of-defun-function. Ensure forward movement.
3618 (python-info-current-defun): Reimplement to work as intended
3619 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3620 parent defuns as soon as possible.
3622 2012-11-13 Glenn Morris <rgm@gnu.org>
3624 * progmodes/flymake.el (flymake-error-bitmap)
3625 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3626 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3628 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3630 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3631 backward, always stop at indentation. Reverts the change from
3632 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3634 2012-11-13 Glenn Morris <rgm@gnu.org>
3636 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3637 Add ibuffer-filter-by-derived-mode.
3639 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3640 the same name shadowing each other.
3642 * window.el (with-temp-buffer-window): Doc tweak.
3644 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3646 * help.el (temp-buffer-max-height):
3647 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3648 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3650 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3652 * emacs-lisp/nadvice.el: New package.
3653 * subr.el (special-form-p): New function.
3654 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3655 (elp-all-instrumented-list): Remove var.
3656 (elp-not-profilable): Remove elp-wrapper.
3657 (elp-profilable-p): Use autoloadp and special-form-p.
3658 (elp--advice-name): New const.
3659 (elp-instrument-function): Use advice-add.
3660 (elp--instrumented-p): New predicate.
3661 (elp-restore-function): Use advice-remove.
3662 (elp-restore-all, elp-reset-all): Use mapatoms.
3663 (elp-set-master): Use elp--instrumented-p.
3664 (elp--make-wrapper): Rename from elp-wrapper, return a function
3665 suitable for advice-add. Use cl-inf.
3666 (elp-results): Use mapatoms+elp--instrumented-p.
3667 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3668 (debug-function-list): Remove var.
3669 (debug): Rename arg, and then let-bind it explicitly inside.
3670 (debugger-setup-buffer): Rename arg.
3671 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3672 (debugger-frame-number): Adjust to new debug-on-entry setup.
3673 (debug--implement-debug-on-entry): Rename from
3674 implement-debug-on-entry, add argument.
3675 (debugger-special-form-p): Remove, use special-form-p instead.
3676 (debug-on-entry): Use advice-add.
3677 (debug--function-list): New function.
3678 (cancel-debug-on-entry): Use it, along with advice-remove.
3679 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3680 (debugger-list-functions): Use debug--function-list instead of
3681 debug-function-list.
3682 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3683 (ad-special-form-p): Remove, use special-form-p instead.
3684 (ad-set-advice-info): Use add-function and remove-function.
3685 (ad--defalias-fset): Adjust accordingly.
3687 2012-11-10 Glenn Morris <rgm@gnu.org>
3689 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3690 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3691 (report-emacs-bug-create-existing-bugs-buffer)
3692 (report-emacs-bug-parse-query-results)
3693 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3695 * term.el (term-default-fg-color, term-default-bg-color):
3696 Make obsolete, rather than just saying "deprecated" in the doc.
3698 * term.el (term): Rename from `term-face'.
3699 (term-current-face, ansi-term-color-vector)
3700 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3703 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3705 * server.el (server-create-window-system-frame): Handle Nextstep
3706 specially (Bug#12780).
3708 2012-11-10 Glenn Morris <rgm@gnu.org>
3710 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3711 Unautoload, and make obsolete. (Bug#7449)
3713 2012-11-10 Chong Yidong <cyd@gnu.org>
3715 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3716 rename from diff-remove-trailing-whitespace (Bug#12831).
3718 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3721 miscompilation of trace.el.
3723 2012-11-10 Glenn Morris <rgm@gnu.org>
3725 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3727 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3732 2012-11-10 Chong Yidong <cyd@gnu.org>
3734 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3735 a defcustom with an appropriate :set function.
3736 (minibuffer-default--in-prompt-regexps): New function.
3738 2012-11-10 Glenn Morris <rgm@gnu.org>
3740 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3741 (define-modify-macro): Doc fixes.
3743 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3744 (gv-define-simple-setter): Update doc of `fix-return'.
3746 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3748 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3749 twice when `fix-return' is set (bug#12813).
3751 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3752 gv-define-simple-setter (bug#12812).
3754 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3757 2012-11-10 Glenn Morris <rgm@gnu.org>
3759 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3761 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3762 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3763 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3764 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3766 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3768 2012-11-10 Leo Liu <sdl.web@gmail.com>
3770 * ido.el (ido-set-matches-1): Improve flex matching performance by
3771 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3773 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3775 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3776 (ad--defalias-fset): New function.
3777 (ad-safe-fset): Remove.
3778 (ad-make-freeze-definition): Use cl-letf*.
3780 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3782 * subr.el (dolist): Don't bind VAR in RESULT.
3784 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3785 (fset, documentation): Don't save real def since we don't advise.
3786 (ad-do-advised-functions): Remove problematic `result-form'.
3787 (ad-safe-fset): `ad-real-fset' => `fset'.
3788 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3789 uses CL's dolist internally.
3790 (ad-arglist): Remove unused arg `name'.
3791 (ad-docstring, ad-make-advised-docstring):
3792 `ad-real-documentation' => `documentation'.
3793 (warning-suppress-types): Declare.
3794 (ad-set-arguments): Simple CSE.
3795 (ad-recover-normality): Sanity check.
3797 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3798 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3800 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3802 * ses.el: symbol to coordinate mapping is made by symbol property
3803 `ses-cell'. This means that the same mapping is done for all SES
3804 sheets. That is good enough for cells with standard A1 names, but
3805 not for named cell. So a hash map is added for the latter.
3806 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3807 (ses-sym-rowcol): Use hashmap for named cell.
3808 (ses-is-cell-sym-p): New defun.
3809 (ses-decode-cell-symbol): New defun.
3810 (ses-create-cell-variable): Add cell to hashmap when name is not
3812 (ses-rename-cell): Check that cell new name is not already in
3813 spreadsheet with the use of ses-is-cell-sym-p
3814 (ses-rename-cell): Use hash map for named cells, but accept also
3815 renaming back to A1-like.
3817 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * emacs-lisp/advice.el: Use new dynamic docstrings.
3820 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3821 Use dynamic-docstring-function instead of ad-advice-info.
3822 (ad--make-advised-docstring): New function extracted from
3823 ad-make-advised-docstring.
3824 (ad-make-advised-docstring): Use it.
3825 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3827 (sql-help): Use it with dynamic-docstring-function.
3829 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3831 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3833 * files.el (hack-one-local-variable--obsolete): New function.
3834 (hack-one-local-variable): Use it for obsolete settings.
3836 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3839 * progmodes/js.el (js--filling-paragraph): New var.
3840 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3841 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3844 2012-11-08 Julien Danjou <julien@danjou.info>
3846 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3847 `auto-mode-alist' (Bug#12835).
3849 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3852 (perl--prettify-symbols-alist): New const.
3853 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3855 (perl-font-lock-keywords-2): Use them.
3856 (perl-electric-noindent-p): New function.
3857 (perl-mode): Use it to set up electric-indent-mode.
3858 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3859 (perl-mode-map): Remove bindings for them.
3860 (perl-imenu-generic-expression, perl-outline-level):
3861 Match functions&packages in column>0.
3863 * env.el (env--substitute-vars-regexp): New const.
3864 (substitute-env-vars): Use it. Add `only-defined' arg.
3865 * net/tramp.el (tramp-replace-environment-variables): Use it.
3867 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3868 Byte-compile *before* eval in eval-and-compile.
3869 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3870 (byte-compile-file-form-autoload): Don't hide actual definition.
3871 (byte-compile-maybe-guarded): Accept `functionp' as well.
3873 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3875 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3877 * notifications.el (notifications-get-server-information-method):
3879 (notifications-get-capabilities): Fix docstring.
3880 (notifications-get-server-information): New defun.
3882 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3884 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3887 * textmodes/ispell.el: Experimental support for support debugging.
3888 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3890 (ispell-print-if-debug): New function to print stuff to
3891 `ispell-debug-buffer' if debugging is enabled.
3892 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3893 show some debugging info.
3894 (ispell-buffer-with-debug): New function that creates a debugging
3895 buffer and calls `ispell-buffer' with debugging enabled.
3897 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3898 comment in autoconf mode. (Bug#12768)
3900 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3902 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3903 frame-first-window, frame-root-window, frame-selected-window,
3904 minibuffer-selected-window, minibuffer-window,
3905 window-absolute-pixel-edges, window-at, window-body-height,
3906 window-body-width, window-display-table, window-combination-limit,
3907 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3908 window-inside-edges, window-inside-pixel-edges, window-left-child,
3909 window-left-column, window-margins, window-next-buffers,
3910 window-next-sibling, window-new-normal, window-new-total,
3911 window-normal-size, window-parameter, window-parameters, window-parent,
3912 window-pixel-edges, window-point, window-prev-buffers,
3913 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3914 window-start, window-text-height, window-top-child, window-top-line,
3915 window-total-height, window-total-width and window-use-time to the list
3916 of functions without side-effects.
3917 (toplevel): Add window-valid-p to the list of error-free functions
3918 without side-effects.
3920 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3922 * textmodes/ispell.el (ispell-program-name):
3923 Update spellchecker parameters when customized.
3925 2012-11-04 Glenn Morris <rgm@gnu.org>
3927 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3929 2012-11-04 Chong Yidong <cyd@gnu.org>
3931 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3932 same-window-* variables.
3934 2012-11-04 Juri Linkov <juri@jurta.org>
3936 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3937 (isearch-describe-key, isearch-describe-mode): Use a display
3938 action instead of binding same-window-* variables (Bug#10040).
3940 2012-11-03 Glenn Morris <rgm@gnu.org>
3942 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3943 Rename handler properties back from cl-- to cl-. (Bug#12788)
3945 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3947 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3949 * term/pc-win.el: Don't load term/internal from here.
3951 * loadup.el: Load term/internal from here.
3953 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3955 * progmodes/python.el (inferior-python-mode): Fix hang in
3956 jit-lock (Bug#12645).
3958 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3960 * window.el (switch-to-visible-buffer)
3961 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3963 2012-11-03 Glenn Morris <rgm@gnu.org>
3965 * emacs-lisp/cl-lib.el (cl--random-time):
3966 Rename from cl-random-time. (Bug#12773)
3967 (cl--gensym-counter, cl--random-state): Update callers.
3968 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3970 2012-11-03 Chong Yidong <cyd@gnu.org>
3972 * cus-start.el: Make cursor-type customizable (Bug#11633).
3974 2012-11-02 Glenn Morris <rgm@gnu.org>
3976 * filecache.el: No need to load find-lisp when compiling.
3977 (find-lisp-find-files): Autoload it.
3978 (file-cache-add-directory-recursively): Don't require find-lisp.
3980 * image.el (image-type-from-file-name): Trivial simplification.
3982 * emacs-lisp/bytecomp.el (byte-compile-eval):
3983 Decouple "noruntime" and "cl-functions" warnings.
3985 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3987 * play/gomoku.el (gomoku-display-statistics): Update mode line
3988 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3990 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3992 * window.el (quit-restore-window): If the window has been
3993 created on an existing frame and ended up as the sole window on
3994 that frame, do not delete it (Bug#12764).
3996 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3999 Rename from sh--inside-arithmetic-expression, handle more cases
4002 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4003 (sh-font-lock-open-heredoc): Use it (bug#12770).
4005 2012-10-30 Glenn Morris <rgm@gnu.org>
4007 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4009 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4011 2012-10-29 Chong Yidong <cyd@gnu.org>
4013 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4014 function key is stored in a keyboard macro (Bug#4894).
4016 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4018 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4022 (diff-unified->context, diff-context->unified)
4023 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4025 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4027 * files.el (find-alternate-file): Only ask one question (bug#12487).
4029 2012-10-29 Chong Yidong <cyd@gnu.org>
4031 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4032 Suggested by Dan Nicolaescu (Bug#6326).
4034 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4036 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4038 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4040 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4042 * face-remap.el (face-remap-add-relative): Handle the case where a
4043 face-remapping-alist entry is a cons cell (Bug#12762).
4045 2012-10-29 Kevin Ryde <user42@zip.com.au>
4047 * woman.el (woman-parse-numeric-value): Handle picas correctly
4050 2012-10-29 Glenn Morris <rgm@gnu.org>
4052 * emacs-lisp/cl.el (defsetf): Doc fix.
4054 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4056 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4057 syntax to the matching opener, if any (bug#12547).
4058 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4059 matching open as a "case-(".
4060 (sh-smie-rc-grammar): Add a corresponding rule for it.
4062 2012-10-28 Daniel Hackney <dan@haxney.org>
4064 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4065 "PKGNAME-autoloads.el" in case we created it.
4067 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4070 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4071 (completion--twq-all): Disable too-strict assertions.
4073 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4075 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4077 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4078 text to match the real keybindings.
4080 2012-10-27 Juri Linkov <juri@jurta.org>
4082 * wdired.el (wdired-keep-marker-rename): New defcustom.
4083 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4086 * dired.el (dired-keep-marker-rename): Add reference to
4087 `wdired-keep-marker-rename' in the docstring.
4088 Add default character value ?R to display initially in
4089 Customization UI instead of ?@.
4091 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4093 * window.el (display-buffer): In doc-string describe
4094 window-height and window-width alist entries.
4096 * time.el (display-time-world): Restore fit-window-to-buffer
4099 2012-10-27 Chong Yidong <cyd@gnu.org>
4101 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4103 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4105 * minibuffer.el (completion-category-overrides): New completion
4106 category `bookmark' (bug#11131).
4108 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4111 Silence bogus compiler warnings for ad-do-it.
4113 * bookmark.el (bookmark-completing-read): Set the completion category
4114 to `bookmark' (bug#11131).
4116 2012-10-26 Bastien <bzg@altern.org>
4117 Stefan Monnier <monnier@iro.umontreal.ca>
4119 * face-remap.el: Use lexical-binding.
4120 (text-scale-adjust): Improve docstring. Use itself for the temporary
4121 overlay-map bindings, so as to repeat the "Use..." message each time.
4123 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * emacs-lisp/macroexp.el (macroexp--expand-all):
4126 Obey byte-compile-warning-enabled-p (bug#12486).
4128 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4129 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4131 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4133 * mouse.el (mouse-drag-line): Move last form into preceding when
4136 * help.el (resize-temp-buffer-window): Fix doc-string.
4138 2012-10-25 David Engster <deng@randomsample.de>
4140 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4141 Remove. This feature is already integrated in imenu.
4143 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4144 always loaded. Require `speedbar' unconditionally.
4146 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4148 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4150 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4152 * net/ldap.el (ldap-search-internal): The official ldif format starts
4153 with a "version: 1" header (bug#12724).
4155 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4158 2012-10-25 Glenn Morris <rgm@gnu.org>
4160 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4162 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * minibuffer.el (minibuffer-force-complete): Use one more marker
4165 for the temporary-overlay-map command (bug#12619).
4167 2012-10-24 Chong Yidong <cyd@gnu.org>
4169 * time.el (display-time-world-mode): Derive from special-mode.
4170 (display-time-world): Use display-buffer (Bug#12708).
4171 (display-time-world-mode-map): Variable deleted.
4172 (display-time-world-display): Wrap the final delete-char inside
4175 2012-10-24 Chong Yidong <cyd@gnu.org>
4177 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4180 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4182 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * minibuffer.el (completion--all-sorted-completions-location): New var.
4185 (completion--cache-all-sorted-completions)
4186 (completion--flush-all-sorted-completions): Use it.
4187 (completion-in-region, completion-in-region--postch)
4188 (completion-at-point, completion-help-at-point): Use markers in
4189 completion-in-region--data (bug#12619).
4191 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4193 * progmodes/compile.el (compilation-start): Try to handle common
4194 quoting of `cd' argument (bug#12640).
4196 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4199 2012-10-23 Glenn Morris <rgm@gnu.org>
4201 * progmodes/gud.el (gud-menu-map):
4202 Check gdb-active-process is bound. (Bug#12358)
4204 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * repeat.el (repeat): Set real-this-command (bug#12232).
4208 * htmlfontify.el (hfy-post-html-hook):
4209 * filesets.el (filesets-cache-fill-content-hook):
4210 * arc-mode.el (archive-extract-hook):
4211 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4212 * net/rcirc.el (rcirc-sentinel-functions)
4213 (rcirc-receive-message-functions, rcirc-activity-functions)
4214 (rcirc-print-functions):
4215 * net/dbus.el (dbus-event-error-functions):
4216 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4217 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4218 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4219 * term/sun.el (sun-raw-prefix-hooks):
4220 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4222 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4224 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4225 Set `tramp-chunksize' to 1. This improves the performance.
4226 (tramp-smb-wait-for-output): Add timeout to
4227 `tramp-accept-process-output' calls.
4229 2012-10-23 Chong Yidong <cyd@gnu.org>
4231 * faces.el (font-list-limit): Define as an obsolete variable.
4233 * startup.el (command-line):
4234 * cus-start.el: Don't refer to font-list-limit.
4236 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4238 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4240 * subr.el (internal-temp-output-buffer-show): Rename from
4241 temp-output-buffer-show, since previously compiled files expect this name.
4243 2012-10-23 Glenn Morris <rgm@gnu.org>
4245 * image.el (image-type-from-file-name): If multiple types match,
4246 return the first one that is supported. (Bug#9045)
4248 2012-10-22 Glenn Morris <rgm@gnu.org>
4250 * image.el (imagemagick-enabled-types): Doc fix.
4252 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4254 * progmodes/which-func.el (which-func-current): The hash-table may have
4255 an explicit nil (bug#12338).
4257 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * electric.el (electric-pair-delete-selection-self-insert-function):
4260 Rename to electric-pair-will-use-region, return a boolean.
4261 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4263 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4264 (delete-selection-pre-hook): Use use-region-p.
4265 (delete-selection-self-insert-function): Remove.
4266 (self-insert-command): Obey self-insert-uses-region-functions.
4267 (self-insert-iso): Revert to previous setting, since we don't actually
4268 know what that command does.
4269 (delete-selection-self-insert-hooks): Remove.
4271 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4273 * delsel.el (delete-selection-helper): New function, extracted from
4274 delete-selection-pre-hook.
4275 (delete-selection-pre-hook): Use it.
4276 (delete-selection-self-insert-function): New function.
4277 (delete-selection-self-insert-hooks): New hook.
4278 (self-insert-command, self-insert-iso): Use it.
4279 * electric.el (electric-pair-syntax): New function, extracted from
4280 electric-pair-post-self-insert-function.
4281 (electric-pair-post-self-insert-function): Use it.
4282 (electric-pair-delete-selection-self-insert-function): New function.
4283 (electric-pair-mode): Require delsel and setup
4284 delete-selection-self-insert-hooks (bug#11520).
4286 2012-10-20 Chong Yidong <cyd@gnu.org>
4288 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4289 no changes to show (Bug#12586).
4291 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4292 list explicitly (Bug#12571).
4294 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4296 * progmodes/flymake.el (flymake-create-temp-inplace):
4299 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4301 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4303 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4305 * calc/calc-units.el (math-extract-units): Properly extract powers
4308 2012-10-20 Daniel Colascione <dancol@dancol.org>
4310 * frame.el (make-frame): Set x-display-name as we used to in order
4311 to unbreak creating an X11 frame from an Emacs daemon started
4314 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4317 the same completion-field (bug#12221).
4319 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4321 * emacs-lisp/debug.el (debug): Record height of debugger window
4322 also when debugger will be back (Bug#8789).
4324 2012-10-18 Chong Yidong <cyd@gnu.org>
4326 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4327 Convert to defcustom.
4328 (gdb-get-source-file): Don't bind pop-up-windows.
4330 * progmodes/gud.el (gud-display-line): Don't specially re-use
4331 other frames for the gdb-mi case (Bug#12648).
4333 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/advice.el: Clean up commentary a bit.
4336 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4337 (byte-code-function-p): Never redefine.
4339 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4341 2012-10-18 Glenn Morris <rgm@gnu.org>
4343 * dired.el (dired-sort-toggle): Some ls implementations only allow
4344 a single option string. (Bug#12666)
4346 * minibuffer.el (completion-cycle-threshold): Doc fix.
4348 2012-10-17 Kenichi Handa <handa@gnu.org>
4350 * international/mule.el (set-keyboard-coding-system):
4351 Recover input meta mode when the new coding system doesn not use 8-bit.
4352 Supply TERMINAL arg to set-input-meta-mode.
4354 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4356 * wdired.el (wdired-old-marks): New variable.
4357 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4358 (wdired-do-renames): Move point with renamed file and don't lose
4359 mark status (Bug#11795).
4361 2012-10-16 Juri Linkov <juri@jurta.org>
4363 * replace.el (query-replace-help): Mention multi-buffer replacement
4364 keys in the Help message. (Bug#12655)
4366 2012-10-15 Chong Yidong <cyd@gnu.org>
4368 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4370 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4372 * window.el (display-buffer): Doc fix.
4374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4375 Adjust the msft regexp to the output of Studio 2010, and move msft
4376 before edg-1. See the discussion on emacs-devel,
4377 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4380 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4383 (oset): Move uses of object-class-fast macro after its definition.
4385 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4387 2012-10-13 Chong Yidong <cyd@gnu.org>
4389 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4390 enabled, re-enable it (Bug#11963).
4392 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4394 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4395 non-nil, restore window configuration (Bug#12623).
4397 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4399 * help-fns.el (describe-variable, describe-function-1):
4400 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4402 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4404 2012-10-12 Glenn Morris <rgm@gnu.org>
4406 * mail/rmailsum.el (rmail-header-summary):
4407 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4409 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4411 * progmodes/python.el (python-mode-map):
4412 Replace subtitute-key-definition with proper command remapping.
4413 (python-nav--up-list): Fix behavior for blocks on the same level.
4415 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4419 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4420 changes to the format of load-history.
4422 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4423 completion-ignore-case in case that var is buffer-local (bug#12615).
4425 2012-10-11 Kenichi Handa <handa@gnu.org>
4427 * international/eucjp-ms.el: Re-generated.
4429 2012-10-10 Kenichi Handa <handa@gnu.org>
4431 * select.el (xselect--encode-string): If a coding is specified for
4432 selection, and that is compatible with COMPOUND_TEXT, use it.
4434 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4436 * window.el (switch-to-buffer-preserve-window-point): New option.
4438 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4440 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4443 Don't document nil as a useful value (bug#12583).
4445 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4447 * net/tramp.el (tramp-debug-message):
4448 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4449 (with-tramp-progress-reporter): Rename from
4450 `tramp-with-progress-reporter'.
4451 (with-tramp-file-property, with-tramp-connection-property):
4452 Move from tramp-cache.el, rename from `with-file-property' and
4453 `with-connection-property', respectively.
4455 * net/tramp-cache.el: Remove `with-file-property' and
4456 `with-connection-property'.
4459 * net/tramp-gvfs.el:
4461 * net/tramp-smb.el: Adapt callees.
4463 * net/trampver.el: Update release number.
4465 2012-10-09 Glenn Morris <rgm@gnu.org>
4467 * w32-fns.el (set-message-beep):
4468 * term/w32-win.el (set-message-beep): Update declarations.
4470 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4473 (mode-line-widen, mode-line-input-method-map)
4474 (mode-line-coding-system-map, mode-line-remote)
4475 (mode-line-unbury-buffer, mode-line-bury-buffer)
4476 (mode-line-next-buffer, mode-line-previous-buffer):
4477 Replace save-selected-window+select-window => with-selected-window.
4479 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4480 * progmodes/cc-vars.el (bq-process): Remove, unused.
4482 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4484 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4486 Implemented `backward-up-list'-like navigation.
4487 * progmodes/python.el (python-nav-up-list)
4488 (python-nav-backward-up-list): New functions.
4489 (python-mode-map): Define substitute key for backward-up-list to
4490 python-nav-backward-up-list.
4492 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4494 * progmodes/python.el (python-fill-paragraph): Rename from
4495 python-fill-paragraph-function. Fixed fill-paragraph for
4496 decorators (Bug#12605).
4498 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4500 * progmodes/python.el (python-shell-output-filter): Handle extra
4501 carriage return in OSX (Bug#12409).
4503 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4505 Fix shell handling of unbalanced quotes and parens in output.
4506 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4507 (python-syntax-propertize-function): Use it.
4508 (python-shell-output-syntax-table): New var.
4509 (inferior-python-mode): Prevent unbalanced parens/quotes from
4510 previous output mess with current input context.
4512 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4514 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4515 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4517 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4519 * ffap.el (ffap-replace-file-component): Support Tramp file name
4520 syntax, not only ange-ftp's one.
4522 2012-10-08 Glenn Morris <rgm@gnu.org>
4524 * cus-start.el (message-log-max): Set :version.
4526 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4528 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4530 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4531 the minibuffer window (Bug#10851).
4533 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4535 Enhancements on forward-sexp movement.
4536 * progmodes/python.el (python-nav-beginning-of-statement)
4537 (python-nav-end-of-statement): Return point-marker.
4538 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4539 (python-info-current-symbol)
4540 (python-info-statement-starts-block-p): Rename from
4541 python-info-beginning-of-block-p.
4542 (python-info-statement-ends-block-p): Rename from
4543 python-info-end-of-block-p.
4544 (python-info-beginning-of-statement-p)
4545 (python-info-end-of-statement-p)
4546 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4549 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4551 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4552 frame-selected-windows.
4554 2012-10-08 Daniel Colascione <dancol@dancol.org>
4556 * battery.el (battery-status-function): Check for
4557 w32-battery-status itself, not system-time windows-nt.
4559 * frame.el: Require cl-lib.
4560 (display-format-alist): New variable mapping frame types to
4561 functions that initialize them.
4562 (window-system-for-display): New function: interprets
4563 display-format-alist.
4564 (make-frame-on-display): Remove existing display-selection logic
4565 and just forward to make-frame, which will now DTRT.
4566 (make-frame): Restructure to use window-system-for-display to
4567 figure out how to create a frame on a given display.
4568 (display-mouse-p): Look for frame-type w32, not a particular
4571 * loadup.el: Load w32 lisp code when we have the w32 feature.
4573 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4574 system-type windows-nt.
4576 * server.el (server-create-window-system-frame): Look for window
4578 (server-proces-filter): Only force a window system when windows-nt
4579 _and_ w32. Explain why.
4581 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4582 of window systems we configure for the mode.
4584 * startup.el (command-line): Mark window system is initialized
4585 after we've done it.
4587 * common-win.el (x-select-text): Look for w32, not windows-nt.
4589 * ns-win.el: Require cl-lib. Add ourselves to
4590 display-format-alist.
4591 (ns-initialize-window-system): Assert we're not initialized twice.
4593 * w32-win.el: Enable lexical binding; require cl-lib; add
4594 ourselves to display-format-alist.
4595 (w32-handle-dropped-file): Convert incoming dropped files from
4596 Windows paths to Cygwin ones before passing them on to the rest of
4598 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4599 (w32-initialize-window-system): Assert we're not initialized twice.
4601 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4602 (x-initialize-window-system): Assert we're not initialized twice.
4604 * w32-common-fns.el: New File.
4605 (w32-version, w32-using-nt, w32-get-clipboard-data)
4606 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4607 (w32-charset-info-alist, x-last-selected, text)
4608 (x-get-selection-value, x-selection-value): Move here.
4610 * w32-fns.el: Require w32-common-fns.
4611 (w32-version, w32-using-nt, w32-get-clipboard-data)
4612 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4613 (w32-charset-info-alist, x-last-selected, text)
4614 (x-get-selection-value, x-selection-value): Move to
4618 (w32-allow-system-shell, w32-system-shells): Define only in
4621 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4624 (read-passwd): Remove a few more potential sources of leaks.
4626 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4628 * progmodes/python.el (inferior-python-mode)
4629 (python-shell-make-comint): Fix initialization of local
4630 variables copied from parent buffer.
4632 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4634 * term/ns-win.el (ns-read-file-name): Update declaration to match
4636 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4637 it is set when font is acted upon.
4639 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4641 Enhancements to indentation.
4642 * progmodes/python.el (python-indent-context): Give priority to
4643 inside-string context. Make comments indentation markers.
4644 (python-indent-region): Do not mess with strings, unless it's the
4645 enclosing set of quotes.
4647 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4649 * window.el (internal--before-save-selected-window)
4650 (internal--after-save-selected-window): New functions extracted from
4651 save-selected-window. Make sure we return the `alist' we construct.
4652 (save-selected-window): Use them.
4654 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4655 Use with-selected-window.
4657 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4658 forms that define macros (bug#12593).
4660 2012-10-07 Kenichi Handa <handa@gnu.org>
4662 * international/mule-conf.el (compound-text-with-extensions):
4663 Add :mime-charset property as x-ctext.
4665 2012-10-07 Stefan Merten <smerten@oekonux.de>
4667 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4668 (rst-indent-literal-normal, rst-indent-literal-minimized)
4669 (rst-indent-comment): Correct :version tag.
4670 (rst-official-cvs-rev): Correct version string.
4672 2012-10-07 Glenn Morris <rgm@gnu.org>
4674 * mail/rmailmm.el (rmail-mime-process-multipart):
4675 Do not confuse a multipart message with an epilogue
4676 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4678 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4680 Fix shell output retrieval and comint-prompt-regexp init.
4681 * progmodes/python.el (inferior-python-mode):
4682 (python-shell-make-comint): Fix initialization of
4683 comint-prompt-regexp from copied file local variables.
4684 (python-shell-fetched-lines): Remove var.
4685 (python-shell-output-filter-in-progress): Rename from
4686 python-shell-fetch-lines-in-progress.
4687 (python-shell-output-filter-buffer): Rename from
4688 python-shell-fetch-lines-string.
4689 (python-shell-fetch-lines-filter): Delete function.
4690 (python-shell-output-filter): New function.
4691 (python-shell-send-string-no-output): Use them.
4693 2012-10-07 Glenn Morris <rgm@gnu.org>
4695 * hi-lock.el (hi-lock-process-phrase):
4696 Try to make it less fragile. (Bug#7161)
4698 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4700 2012-10-06 Glenn Morris <rgm@gnu.org>
4702 * ehelp.el (electric-help-mode): Use help-mode rather than
4703 non-existent mode `help'.
4704 (electric-help-map): Use button-buffer-map. (Bug#10917)
4706 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4707 (reftex-create-bibtex-footer): Fix custom types.
4709 * progmodes/sh-script.el (sh-indent-after-continuation):
4710 Add explicit :group.
4712 * textmodes/rst.el (rst-preferred-decorations)
4713 (rst-shift-basic-offset): Clarify obsolescence versions.
4715 * profiler.el (profiler): Add missing group :version tag.
4716 * avoid.el (mouse-avoidance-banish-position):
4717 * proced.el (proced-renice-command):
4718 * calc/calc.el (calc-ensure-consistent-units):
4719 * calendar/icalendar.el (icalendar-import-format-uid):
4720 * net/tramp.el (tramp-save-ad-hoc-proxies):
4721 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4722 * progmodes/flymake.el (flymake-error-bitmap)
4723 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4724 * progmodes/sh-script.el (sh-indent-after-continuation):
4725 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4726 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4727 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4728 (vhdl-array-index-record-field-in-sensitivity-list)
4729 (vhdl-indent-comment-like-next-code-line):
4730 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4731 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4732 (reftex-cite-key-separator, reftex-create-bibtex-header)
4733 (reftex-create-bibtex-footer):
4734 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4735 (rst-indent-literal-normal, rst-indent-literal-minimized)
4736 (rst-indent-comment): Add missing custom :version tags.
4738 * calendar/timeclock.el (timeclock-modeline-display):
4739 Add missing obsolete alias for renamed user option.
4741 * strokes.el (strokes-modeline-string):
4742 * emulation/crisp.el (crisp-mode-modeline-string):
4743 * eshell/esh-mode.el (eshell-status-in-modeline):
4744 Aliases to defcustoms must come before the defcustom.
4746 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4747 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4748 (cal-tex-cursor-week-monday): Doc fixes.
4749 (cal-tex-cursor-week2-summary): Doc fix.
4750 Rename from cal-tex-cursor-week-at-a-glance.
4752 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4753 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4755 * calendar/calendar.el (calendar-mode-map):
4756 Add cal-tex-cursor-week2-summary.
4758 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4762 * subr.el (read-passwd-map): New var.
4763 (read-passwd): Use `read-string' again.
4764 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4766 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4768 * register.el (append-to-register, prepend-to-register):
4769 Deactivate mark, as does `copy-to-register' (bug#12389).
4771 2012-10-06 Chong Yidong <cyd@gnu.org>
4773 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4775 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4777 * international/characters.el: Fix simple mistake ((car chars) ->
4778 elt), delete duplicated code.
4780 2012-10-06 Glenn Morris <rgm@gnu.org>
4782 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4784 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4786 * color.el (color-hsl-to-rgb): Fix incorrect results for
4787 small and large hue values. (Bug#12559)
4789 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4791 Enhancements to docstring formatting when filling paragraphs.
4792 * progmodes/python.el (python-fill-docstring-style): Rename from
4793 python-fill-string-style. Added new style.
4794 (python-fill-string): Use new style. Better checks for
4797 2012-10-05 Glenn Morris <rgm@gnu.org>
4799 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4801 * color.el (color-name-to-rgb, color-rgb-to-hex)
4802 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4803 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4804 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4805 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4807 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4809 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4811 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4812 to get the correct size across symlinks.
4814 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4816 2012-10-04 Juri Linkov <juri@jurta.org>
4818 * replace.el (query-replace-interactive): Declare obsolete.
4819 (query-replace-read-from): Add the last incremental search string
4820 to the list of default values accessible via M-n.
4821 (map-query-replace-regexp): Use `read-regexp'.
4822 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4823 (map-query-replace-regexp, replace-string, replace-regexp):
4824 Fix docstrings to replace mentions of `query-replace-interactive'
4825 with alternatives. (Bug#12526)
4827 2012-10-04 Juri Linkov <juri@jurta.org>
4829 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4830 (dired-pop-to-buffer): Declare obsolete.
4831 (dired-mark-pop-up): Doc fix.
4833 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4835 Allow user to set docstring style for fill-paragraph.
4836 * progmodes/python.el
4837 (python-fill-comment-function, python-fill-string-function)
4838 (python-fill-decorator-function, python-fill-paren-function):
4839 Remove :safe for defcustoms.
4840 (python-fill-string-style): New defcustom
4841 (python-fill-paragraph-function): Enhance context detection.
4842 (python-fill-string): Honor python-fill-string-style settings.
4844 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4846 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4847 after setting its buffer (Bug#10805).
4849 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4851 Fix cornercase for string syntax.
4852 * progmodes/python.el (python-syntax-propertize-function):
4853 Simplify and enhance the regexp for unescaped quotes. Now it also
4854 matches quotes in weird situations like the single quote in
4856 (python-syntax-stringify): Simplify num-quotes detecting code.
4858 2012-10-03 Glenn Morris <rgm@gnu.org>
4860 * help-macro.el (three-step-help):
4861 Revert 2012-09-29 change. (Bug#12567)
4863 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4865 * menu-bar.el (kill-this-buffer): Don't do anything when
4866 `menu-frame' is not alive or visible (Bug#8184).
4868 * emacs-lisp/debug.el (debug): When quitting the debugger window
4869 restore current buffer (Bug#12502).
4871 2012-10-02 Chong Yidong <cyd@gnu.org>
4873 * progmodes/hideif.el (hif-lookup, hif-defined):
4874 Handle semantic-c-takeover-hideif.
4876 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4878 Change sampling interval units from ms to ns.
4879 * profiler.el (profiler-sampling-interval): Change units
4880 from ms to ns, multiplying the default by 1000000 so that
4882 (profiler-report-cpu-line-format): Give enough room for
4883 the maximum counters on 64-bit hosts.
4884 (profiler-report-render-calltree-1): Call them "CPU samples",
4885 not "Time (ms)", since they are not milliseconds now (and
4888 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4890 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4891 Fix querying BBDB for entries without a last name (Bug#11580).
4893 2012-10-02 Chong Yidong <cyd@gnu.org>
4895 * emacs-lisp/eieio.el: Restore Version header.
4897 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * vc/diff-mode.el (diff--auto-refine-data): New var.
4900 (diff-hunk): Use it to delay refinement.
4901 (diff-mode): Remove overlays when we turn off font-lock.
4903 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4904 (table-initialize-table-fixed-width-mode)
4905 (table-set-table-fixed-width-mode): Remove functions.
4906 (table-command-list): Move initialization into declaration.
4907 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4908 (table-with-cache-buffer): Use `declare'.
4909 (table-span-cell): Simplify via CSE.
4910 (table-fixed-width-mode): Use define-minor-mode.
4911 (table-call-interactively, table-funcall, table-apply): Remove.
4912 (table-function): New function, to replace them.
4914 * bookmark.el (bookmark-search-pattern): Remove var.
4915 (bookmark-read-search-input): Remove function.
4916 (bookmark-bmenu-search): Reimplement using a minibuffer.
4918 * faces.el (modeline): Remove obsolete face name.
4920 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4921 and give a non-nil default value.
4922 (add-change-log-entry): Simplify accordingly.
4924 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4926 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4927 (vc-git-log-edit-toggle-amend): New function.
4928 (vc-git-log-edit-toggle-signoff): New function.
4929 (vc-git-log-edit-mode): New major mode.
4930 (vc-git-log-edit-mode-map): Keymap for it.
4931 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4933 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4935 (log-edit-toggle-header): New function.
4936 (log-edit-extract-headers): Accept function values in HEADERS alist.
4938 2012-10-01 David Engster <deng@randomsample.de>
4940 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4941 from symbol property and change message to be more consistent with
4943 (eieio-describe-generic): Add filename for each implementation.
4944 Fix indices for generic and normal methods.
4945 (eieio-method-def, eieio-class-def): New buttons.
4946 (eieio-help-find-method-definition)
4947 (eieio-help-find-class-definition): New functions.
4948 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4949 class, constructor and method definitions.
4951 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4952 information in symbol property.
4953 (scoped-class): Remove.
4954 (eieio-slot-name-index, call-next-method): Check if it is bound.
4956 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4958 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4959 (eieio-custom-mode): New major mode.
4960 (eieio-customize-object): Use it.
4962 2012-10-01 Eric Ludlam <zappo@gnu.org>
4964 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4965 specifying the expected class, and whether subclassing is allowed.
4966 (eieio-persistent-convert-list-to-object):
4967 (eieio-persistent-validate/fix-slot-value)
4968 (eieio-persistent-slot-type-is-class-p): New functions.
4969 (eieio-named::slot-missing): Doc fix.
4971 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4972 Stop using unused publd variable.
4974 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4975 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4976 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4977 (eieio-speedbar-handle-click): Do not specify a class for the
4978 method. Fixes method invocation order problems with EDE.
4980 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4982 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4983 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4985 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4987 * bookmark.el (bookmark-version-control): Give tags in the
4988 :type choices (Bug#12309), and improve doc string.
4989 (bookmark-write-file): Bind `print-circle' to `t' to allow
4990 circular custom bookmark types. (Bug#12503)
4992 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4994 Revert the FOLLOW-SYMLINKS change for file-attributes.
4995 * files.el (remote-file-name-inhibit-cache, after-find-file):
4996 * time.el (display-time-file-nonempty-p): Undo last change.
4998 * profiler.el (profiler-sampling-interval): Change default back to 1.
4999 See Stefan Monnier in
5000 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5002 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5004 Shell output catching a la gud-gdb.
5005 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5006 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5008 (python-shell-fetch-lines-filter): New function.
5009 (python-shell-send-string-no-output): Use them.
5011 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5013 * profiler.el (profiler-sampling-interval): Rename from
5014 profiler-sample-interval.
5015 (profiler-sampling-interval): Default to 10.
5016 (profiler-find-profile): New command (was profiler-find-log).
5017 (profiler-find-profile-other-window): New command.
5018 (profiler-find-profile-other-frame): New command.
5019 (profiler-profile): Introduce API-level data structure.
5021 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5023 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5024 * files.el (remote-file-name-inhibit-cache):
5025 * time.el (display-time-file-nonempty-p): Use it.
5026 * files.el (after-find-file): Don't chase links before calling
5027 file-exists-p, as file-exists-p already does the right thing.
5029 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5031 Merge from standalone RefTeX repository.
5033 The following ChangeLog entries are shortened versions of the
5034 original ones with file paths adapted. A not so strongly edited
5035 version of the original ChangeLog can be found in the commit log.
5037 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5038 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5039 Correctly handle new value type returned by `reftex-citation'.
5041 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5042 that entries with whitespace at various places are found.
5043 Doc fix. Include entries that are cross-referenced from cited entries.
5044 Include @String definitions in the resulting bib file. Add header
5045 and footer defined in `reftex-create-bibtex-header' and
5046 `reftex-create-bibtex-footer'.
5047 (reftex-do-citation): Make it possible again to insert
5048 non-existent entries. Save match data when asking for optional
5049 arguments. Return all keys, not just the first one.
5050 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5051 all citations in the same line.
5052 (reftex-parse-bibtex-entry): Accept additional optional argument
5053 `raw' and keep quotes or braces if it is non-nil. Match fields
5054 containing hyphens besides word constituents.
5055 (reftex-get-string-refs): New function.
5056 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5057 and ask if it should be reread in case it did.
5058 (reftex-pop-to-bibtex-entry)
5059 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5060 entries with spaces or tabs in front of arguments.
5061 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5062 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5063 Match entries containing numbers and symbol constituents.
5064 (reftex-do-citation, reftex-figure-out-cite-format):
5065 Use `reftex-cite-key-separator'.
5067 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5068 (reftex-mouse-view-crossref): Explain why point is set.
5070 * textmodes/reftex-global.el: Whitespace changes.
5072 * textmodes/reftex-index.el: Move provide statement to end of
5074 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5075 (reftex-index-visit-phrases-buffer): Set marker when visiting
5076 buffer. This allows for returning from the phrases file to the
5077 file one was just editing instead of the file where the last
5078 phrases was added from.
5079 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5080 punctuation syntax as it usually is not used as string quote in
5081 TeX-related modes and may occur unmatched. The change also
5082 prevents fontification of quoted content.
5083 (reftex-index-phrases-mode): Use it.
5085 * textmodes/reftex-parse.el (reftex-parse-from-file):
5086 Move backward one char if a `\' was matched after a section macro.
5087 (reftex-parse-from-file): Use beginning of match instead of end as
5090 * textmodes/reftex-ref.el: Adapt creation of
5091 `reftex-<package>-<macro>' functions to new structure of
5092 `reftex-ref-style-alist'.
5093 (reftex-reference): Use `reftex-ref-style-list' function.
5094 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5095 reference macro if `reftex-ref-macro-prompt' is non-nil.
5096 (reftex-reference): Pass refstyle to `reftex-format-special'.
5097 Determine reference macro by looking at
5098 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5099 Use only one special format function.
5100 (reftex-varioref-vref, reftex-fancyref-fref)
5101 (reftex-fancyref-Fref): Remove definitions. The functions are now
5102 generated from `reftex-ref-style-alist'.
5103 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5105 (reftex-format-special): New function.
5107 * textmodes/reftex-sel.el
5108 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5109 of `reftex-ref-style-alist'. Remove code for testing macro type.
5110 (reftex-select-toggle-varioref)
5111 (reftex-select-toggle-fancyref): Remove.
5112 (reftex-select-cycle-ref-style-internal)
5113 (reftex-select-cycle-ref-style-forward)
5114 (reftex-select-cycle-ref-style-backward): New functions.
5115 (reftex-select-label-map): Use `v' and `V' for general cycling
5116 through reference styles. Add `p' for switching between number
5117 and page reference types.
5119 * textmodes/reftex-toc.el (reftex-re-enlarge):
5120 Call `enlarge-window' only if there is something to do because in Emacs
5121 the horizontal version throws an error even if the parameter is 0.
5123 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5124 (reftex-plug-into-AUCTeX): Doc fix.
5125 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5126 string. Adapt to new name.
5127 (reftex-ref-style-alist): Change structure so that it is not
5128 possible to use multiple different package names within a style.
5129 Remove the symbols for symbols for macro type distinction.
5130 Add characters for macro selection.
5131 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5132 (reftex-create-bibtex-footer): New variables.
5133 (reftex-format-ref-function): Mention third argument of special
5135 (reftex-ref-style-alist, reftex-ref-style-default-list):
5137 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5138 to new implementation. Mark as obsolete. Add compatibility code
5139 for honoring the variable values in case they are set.
5140 (reftex-cite-format-builtin, reftex-bibliography-commands):
5141 Add support for ConTeXt.
5142 (reftex-format-ref-function, reftex-format-cite-function):
5144 (reftex-cite-key-separator): New variable.
5146 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5147 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5148 `reftex-syntax-table' because parens have to retain their paren
5149 syntax in order for parsing of BibTeX entries like @book(...) to
5151 (reftex-in-comment): Do not error out if `comment-start-skip' is
5152 not set. Deal correctly with escaped comment characters.
5153 (reftex-tie-multifile-symbols): Add doc string.
5154 Initialize `reftex-ref-style-list'.
5155 (reftex-untie-multifile-symbols): Add doc string.
5156 (reftex-add-index-macros): Doc fix.
5157 (reftex-ref-style-activate, reftex-ref-style-toggle)
5158 (reftex-ref-style-list): New functions.
5159 (reftex-mode-menu): Use them. Adapt to new structure of
5160 `reftex-ref-style-alist'.
5161 (reftex-select-with-char): Kill the RefTeX Select buffer when
5163 (reftex-remove-if): New function.
5164 (reftex-erase-all-selection-and-index-buffers)
5165 (reftex-mode-menu): Reference styles are now computed from
5166 `reftex-ref-style-alist'. Fix typo.
5167 (reftex-report-bug): New function.
5168 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5169 algorithms with O(n log n). Introduce optional argument SORT (not
5172 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5174 Enhancements for triple-quote string syntax.
5175 * progmodes/python.el (python-syntax-propertize-function):
5176 Match both quote cases in one regexp.
5177 (python-syntax-stringify): Handle matches properly.
5179 2012-09-30 Juri Linkov <juri@jurta.org>
5181 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5182 to nil around the call to `insert' to prevent
5183 directory time modification by lock_file. (Bug#2295)
5184 * tar-mode.el (tar-summarize-buffer): Idem.
5186 2012-09-30 Juri Linkov <juri@jurta.org>
5188 * facemenu.el (list-colors-sort): Add option "Luminance".
5189 (list-colors-sort-key): Implement it.
5191 * vc/diff-mode.el (diff-refine-removed):
5192 * vc/ediff-init.el (ediff-fine-diff-A):
5193 * vc/smerge-mode.el (smerge-refined-removed):
5194 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5196 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5198 * term/ns-win.el (x-file-dialog): New function.
5200 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5202 * ido.el (ido-max-directory-size): Default to nil; the current
5203 default is small for POSIX systems, and impractical on Windows 7
5204 now that lstat returns directory sizes for NTFS.
5206 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5208 In buffer display functions handle window-height/window-width
5209 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5210 * window.el (window--display-buffer): New argument ALIST.
5211 Obey window-height and window-width alist entries.
5212 (window--try-to-split-window): New argument ALIST.
5213 Bind window-combination-limit to t when the window's size shall be
5214 changed and window-combination-limit equals `window-size'.
5215 (display-buffer-in-atom-window)
5216 (display-buffer-in-major-side-window)
5217 (display-buffer-in-side-window, display-buffer-same-window)
5218 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5219 (display-buffer-pop-up-window, display-buffer-below-selected)
5220 (display-buffer-at-bottom, display-buffer-in-previous-window)
5221 (display-buffer-use-some-window): Adjust all callers of
5222 window--display-buffer and window--try-to-split-window.
5223 (fit-frame-to-buffer): New option.
5224 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5226 (display-buffer-in-major-side-window): Evaluate window-height /
5227 window-width alist entries.
5229 * help.el (temp-buffer-resize-frames)
5230 (temp-buffer-resize-regexps): Remove options.
5231 (temp-buffer-resize-mode): Adjust doc-string.
5232 (resize-temp-buffer-window): Don't consult
5233 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5234 temp-buffer-resize-frames.
5236 * dired.el (dired-mark-pop-up):
5237 Call display-buffer-below-selected with a fit-window-to-buffer alist
5240 2012-09-30 Chong Yidong <cyd@gnu.org>
5242 * server.el (server-host): Document the security implications.
5243 (server-auth-key): Doc fix.
5245 * startup.el (initial-buffer-choice): Doc fix.
5247 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5249 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5252 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5254 * help-fns.el (help-fns--obsolete): Fix last change.
5256 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5259 (minor-mode-map-alist): Remove redundant code.
5261 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5262 visited in a buffer.
5263 (cvs-insert-visited-file): New function.
5264 (find-file-hook): Use it.
5266 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5268 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5270 (log-edit-empty-buffer-p): Don't require a space after a header.
5272 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5274 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5276 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5277 a proper minor-mode.
5279 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5281 2012-09-29 Glenn Morris <rgm@gnu.org>
5283 * winner.el (winner-mode): Remove variable (let define-minor-mode
5285 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5287 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5288 (winner-mode): Use define-minor-mode.
5290 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5291 the full definition in loaddefs, rather than duplicating it.
5293 * help-macro.el (three-step-help): No need to autoload defcustom.
5295 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5296 (inferior-lisp-program, inferior-lisp-load-command)
5297 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5298 No need to autoload defcustoms.
5300 * hippie-exp.el (hippie-expand-try-functions-list)
5301 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5302 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5303 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5304 (hippie-expand-only-buffers): No need to autoload defcustoms.
5305 * progmodes/vhdl-mode.el (vhdl-line-expand):
5306 Explicitly load hippie-exp, so it does not get autoloaded
5307 while hippie-expand-try-functions-list is let-bound.
5309 2012-09-28 Glenn Morris <rgm@gnu.org>
5311 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5313 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5314 Only "cl.el" counts as cl these days.
5316 2012-09-28 Juri Linkov <juri@jurta.org>
5318 Display archive errors in the echo area instead of inserting
5321 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5322 to STDERR-TEST that can be a regexp matching a successful output.
5323 Create a temporary file and redirect stderr to it. Search for
5324 STDERR-TEST in the stderr output and display it in the echo area
5325 if no match is found.
5326 (archive-extract-by-file): New function like
5327 `archive-extract-by-stdout' but extracting archives to files
5328 and looking for successful matches in stdout. Function body is
5329 mostly copied from `archive-rar-extract'.
5330 (archive-rar-extract): Use `archive-extract-by-file'.
5331 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5333 2012-09-28 Leo Liu <sdl.web@gmail.com>
5335 * pcomplete.el (pcomplete-show-completions):
5336 Use minibuffer-message to make pcomplete usable in minibuffer.
5338 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5340 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * type-break.el: Use lexical-binding.
5343 (type-break-mode): Use define-minor-mode.
5345 * emacs-lisp/pcase.el (pcase--mark-used): New.
5346 (pcase--u1): Use it (bug#12512).
5348 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5349 in load-history with the right file name.
5351 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5353 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5354 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5355 (doc-view-get-bounding-box): Make bounding box slicing work for
5356 ODF and DVI documents.
5358 2012-09-28 Glenn Morris <rgm@gnu.org>
5360 * type-break.el (type-break-mode, type-break-interval)
5361 (type-break-good-rest-interval, type-break-keystroke-threshold):
5362 No need to autoload.
5363 (type-break-good-rest-interval, type-break-keystroke-threshold):
5366 2012-09-28 Chong Yidong <cyd@gnu.org>
5368 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5371 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5373 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5375 2012-09-27 Glenn Morris <rgm@gnu.org>
5377 * faces.el (x-display-name): Declare (for without-x builds).
5379 * linum.el (linum-format): Don't autoload it. Improve :type.
5381 * progmodes/tcl.el: Don't require outline when compiling.
5382 (outline-regexp, outline-level): Declare.
5383 * textmodes/sgml-mode.el: Don't require outline when compiling.
5384 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5386 * term.el (term-ansi-reset):
5387 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5389 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5390 files for RCS and SCCS. (Bug#9781)
5392 2012-09-27 Chong Yidong <cyd@gnu.org>
5394 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5395 change; value should be t.
5397 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5399 * image-mode.el: Use lexical-binding.
5400 (image-mode-winprops): Use t to stand for the window of
5401 a buffer that's not displayed.
5402 * doc-view.el (doc-view-new-window-function): Handle the new
5404 (doc-view-enlarge): Make it a real nop if the size is not changed.
5405 (doc-view-display): Handle the case where the buffer is not (yet?)
5406 displayed in any window.
5407 (doc-view-saved-settings): New var.
5408 (doc-view-mode): Use it.
5409 (doc-view-fallback-mode): Set it.
5411 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5412 Set lexical-binding.
5413 (minibuffer-eldef-shorten-default): New var.
5414 (minibuffer-default-in-prompt-regexps): Use it for new default.
5415 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5417 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5419 * international/uni-bidi.el:
5420 * international/uni-category.el:
5421 * international/uni-name.el:
5422 * international/uni-numeric.el: Regenerate.
5424 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5425 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * profiler.el: New file.
5429 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5432 (testcover-reinstrument): Simplify with CSE.
5434 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5436 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5438 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5440 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5441 (verilog-auto-input, verilog-auto-insert-lisp)
5442 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5443 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5444 (verilog-auto-unused, verilog-auto-wire)
5445 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5446 newline. Reported by Andrew Jones.
5447 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5448 Reported by Brad Dobbie.
5449 (verilog-batch-delete-trailing-whitespace):
5450 Create verilog-batch-delete-trailing-whitespace.
5451 Reported by Brad Dobbie.
5452 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5453 parameters from another module. Reported by Dan Katz.
5454 (verilog-auto, verilog-auto-assign-modport)
5455 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5456 AUTOINOUTMODPORT for UVM interface module shell generation.
5457 Reported by Brad Dobbie.
5458 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5460 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5461 Reported by Matt Martin.
5463 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5465 * window.el (window--resize-child-windows): When resizing child
5466 windows proportionally, process them in reverse order to
5467 preserve the "when splitting a window the new one gets the odd
5469 (window--resize-root-window-vertically): When resizing the
5470 minibuffer window try to affect only windows at the bottom of the
5473 2012-09-25 Chong Yidong <cyd@gnu.org>
5475 * subr.el (declare): Doc fix.
5477 * help-fns.el (help-fns--obsolete): Handle macros properly.
5479 2012-09-25 Chong Yidong <cyd@gnu.org>
5481 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5482 this function obsolete.
5484 * calendar/cal-x.el (calendar-two-frame-setup)
5485 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5486 * calendar/calendar.el (american-calendar, european-calendar)
5487 (calendar-for-loop):
5488 * comint.el (comint-dynamic-simple-complete)
5489 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5490 * desktop.el (desktop-load-default):
5491 * dired-x.el (dired-omit-here-always)
5492 (dired-hack-local-variables, dired-default-directory):
5493 * emacs-lisp/derived.el (derived-mode-class):
5494 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5495 * emacs-lock.el (toggle-emacs-lock):
5496 * epa.el (epa-display-verify-result):
5497 * epg.el (epg-sign-keys, epg-start-sign-keys)
5498 (epg-passphrase-callback-function):
5499 * eshell/esh-util.el (eshell-for):
5500 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5501 (eshell-add-to-window-buffer-names):
5502 * files.el (locate-file-completion):
5503 * imenu.el (imenu-example--create-c-index)
5504 (imenu-example--create-lisp-index)
5505 (imenu-example--lisp-extract-index-name)
5506 (imenu-example--name-and-position):
5507 * international/mule-cmds.el (princ-list):
5508 * international/mule-diag.el (decode-codepage-char):
5509 * international/mule-util.el (detect-coding-with-priority):
5510 * iswitchb.el (iswitchb-read-buffer):
5511 * mail/mailalias.el (mail-complete):
5512 * mail/sendmail.el (mail-sent-via):
5513 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5514 (mouse-major-mode-menu):
5515 * password-cache.el (password-read-and-add):
5516 * pcomplete.el (pcomplete-parse-comint-arguments):
5517 * progmodes/sh-script.el (sh-maybe-here-document):
5518 * replace.el (query-replace-regexp-eval):
5519 * savehist.el (savehist-load):
5520 * simple.el (choose-completion-delete-max-match):
5521 * term.el (term-dynamic-simple-complete):
5522 * vc/ediff-init.el (ediff-check-version):
5523 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5524 * vc/vc.el (vc-diff-switches-list):
5525 * view.el (view-return-to-alist-update): Likewise.
5527 * subr.el (eval-next-after-load, makehash, insert-string)
5528 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5530 (mode-line-inverse-video): Variable deleted.
5532 * international/mule-util.el (string-to-sequence): Remove.
5534 * calendar/calendar.el (calendar-version):
5535 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5536 (icalendar-convert-diary-to-ical):
5537 * cus-edit.el (custom-mode):
5538 * ansi-color.el (ansi-color-unfontify-region):
5539 * international/latin1-disp.el (latin1-char-displayable-p):
5540 * progmodes/cwarn.el (turn-on-cwarn-mode):
5541 * progmodes/which-func.el (which-func-update-1):
5542 Use define-obsolete-function-alias.
5544 * net/newst-backend.el (newsticker-cache-filename):
5545 * net/newst-treeview.el (newsticker-groups-filename):
5546 Fix incorrect obsolescence declaration.
5548 * allout.el (allout-passphrase-hint-string): Likewise.
5549 (allout-init): Use a declare form to mark obsolete.
5551 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5552 this applies to functions.
5554 * iswitchb.el (iswitchb-read-buffer): Move code of
5555 iswitchb-define-mode-map here, and delete that obsolete function.
5557 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5558 font-lock-reference-face.
5560 2012-09-25 Glenn Morris <rgm@gnu.org>
5562 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5565 * eshell/em-term.el (eshell-term-name):
5566 Default to term-term-name. (Bug#12485)
5568 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5570 * progmodes/python.el (python-shell-send-buffer): Better handling
5571 of "if __name__ == '__main__':" conditionals when sending the buffer.
5573 2012-09-24 Glenn Morris <rgm@gnu.org>
5575 * eshell/esh-cmd.el (eshell-find-alias-function):
5576 Tighten up file-name regexp. (Bug#12499)
5578 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5580 Enhancements for triple-quote string syntax.
5581 * progmodes/python.el (python-quote-syntax): Remove.
5582 (python-syntax-propertize-function): New value.
5583 (python-syntax-count-quotes, python-syntax-stringify):
5586 2012-09-24 Chong Yidong <cyd@gnu.org>
5588 * mail/supercite.el (sc-version): Remove obsolete function.
5589 (sc-describe): Don't mark as obsolete, since it is bound.
5590 (sc-submit-bug-report): Remove.
5592 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5593 (cvs-commit-buffer-require-final-newline): Remove.
5594 (log-edit-require-final-newline)
5595 (log-edit-changelog-full-paragraphs): Default to t.
5597 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5598 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5599 * vc/vc.el (vc-checkout-carefully): Likewise.
5601 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5602 (emerge-version): Remove.
5604 * progmodes/compile.el (compile-internal): Remove.
5605 (compilation-parse-errors-function): Fix typo.
5607 * international/mule.el (set-char-table-default): Remove.
5608 (set-coding-priority, make-coding-system, generic-char-p)
5609 (charset-list, charset-bytes, charset-id): Use declare to mark
5610 functions as obsolete.
5612 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5613 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5614 * vc/vc-hooks.el (vc-default-registered): Don't use
5615 vc-master-templates.
5617 * font-lock.el (font-lock-reference-face):
5618 Use define-obsolete-variable-alias.
5620 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5621 * calendar/calendar.el (calendar-font-lock-keywords):
5622 * calendar/diary-lib.el (diary-font-lock-keywords)
5623 (diary-fancy-font-lock-keywords):
5624 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5625 * textmodes/reftex-index.el (reftex-insert-index):
5626 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5628 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5629 * progmodes/prolog.el (prolog-font-lock-keywords):
5630 * progmodes/idlwave.el (idlwave-idl-keywords):
5631 * progmodes/ada-mode.el (ada-font-lock-keywords):
5632 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5634 2012-09-24 Glenn Morris <rgm@gnu.org>
5636 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5638 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5640 * progmodes/python.el (python-indent-line): More consistent cursor
5643 2012-09-23 Stefan Merten <smerten@oekonux.de>
5645 * textmodes/rst.el: Fix compiler warning.
5647 2012-09-23 Roland Winkler <winkler@gnu.org>
5649 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5650 Transcribe also LaTeX hyphenation.
5651 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5652 bibtex-reformat-previous-options.
5654 2012-09-23 Roland Winkler <winkler@gnu.org>
5656 * proced.el (proced-renice-command): New variable.
5657 (proced-marked-processes): New function.
5658 (proced-with-processes-buffer): New macro.
5659 (proced-send-signal): Use them.
5660 (proced-renice): New command bound to r.
5662 2012-09-23 Roland Winkler <winkler@gnu.org>
5664 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5665 ibuffer-saved-filter-groups has one element, shortcut the call of
5666 completing-read. (Bug#12331)
5668 2012-09-23 Chong Yidong <cyd@gnu.org>
5670 * bindings.el (mode-line-toggle-read-only):
5671 * bs.el (bs-toggle-readonly):
5672 * buff-menu.el (Buffer-menu-toggle-read-only):
5673 * dired.el (dired-toggle-read-only):
5674 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5676 2012-09-23 Chong Yidong <cyd@gnu.org>
5678 * image.el (image-type-available-p): Adapt to init-image-library
5681 2012-09-22 Juri Linkov <juri@jurta.org>
5683 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5684 `dired-toggle-read-only'. (Bug#12462)
5686 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5688 * subr.el (temp-output-buffer-show): New function.
5689 (with-output-to-temp-buffer): Call temp-output-buffer-show
5690 instead of internal-temp-output-buffer-show.
5692 2012-09-22 Chong Yidong <cyd@gnu.org>
5694 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5697 * repeat.el (repeat): Doc fix (Bug#12348).
5699 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5702 * simple.el (shell-command-on-region): Doc fix.
5703 (read-only-mode): Doc fix.
5705 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5707 * emacs-lisp/timer.el (run-with-idle-timer)
5708 (timer-activate-when-idle): Warn against reinvoking an idle timer
5709 from within its own timer action. (Bug#12447)
5711 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5713 * cus-start.el (window-combination-limit): Add new optional
5715 * window.el (temp-buffer-window-show)
5716 (window--try-to-split-window): Handle new values of
5717 window-combination-limit (Bug#1806).
5718 (split-window): Test window-combination-limit for t instead of
5720 (display-buffer-at-bottom): New buffer display action function.
5721 * help.el (temp-buffer-resize-regexps): New option.
5722 (temp-buffer-resize-mode): Rewrite doc-string.
5723 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5724 Don't resize reused window. Suggested by Glenn Morris.
5726 2012-09-22 Stefan Merten <smerten@oekonux.de>
5728 * textmodes/rst.el: Revamp section title faces.
5729 (rst-official-version)
5730 (rst-package-emacs-version-alist): Sync with official version
5732 (rst-faces-defaults, rst-set-level-default)
5733 (rst-level-face-max, rst-level-face-base-color)
5734 (rst-level-face-base-light, rst-level-face-format-light)
5735 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5736 (rst-adornment-faces-alist): Match new setup.
5737 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5738 (rst-level-5, rst-level-6): New faces.
5740 2012-09-22 Chong Yidong <cyd@gnu.org>
5742 * simple.el (undo): Handle indirect buffers (Bug#8207).
5744 2012-09-21 Leo Liu <sdl.web@gmail.com>
5746 IDO: Disable match re-ordering for buffer switching.
5747 * ido.el (ido-buffer-disable-smart-matches): New variable.
5748 (ido-set-matches-1): Use it. (Bug#2042)
5750 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5752 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5753 Fix 2011-05-17 change. (Bug#12418)
5755 2012-09-21 Leo Liu <sdl.web@gmail.com>
5757 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5759 2012-09-21 Glenn Morris <rgm@gnu.org>
5761 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5762 Be more robust about locating simple.el.
5764 2012-09-21 Glenn Morris <rgm@gnu.org>
5766 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5768 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5770 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5772 2012-09-20 Juri Linkov <juri@jurta.org>
5774 * replace.el (query-replace-read-from): Use `read-regexp' instead
5775 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5776 (occur-read-primary-args): Use `read-regexp' instead of
5778 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5779 `read-from-minibuffer'.
5780 * isearch.el (isearch-occur): Use `read-regexp' instead of
5782 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5783 `read-from-minibuffer'.
5784 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5785 of `read-string'. (Bug#7567)
5787 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5788 and allow accepting a list of strings prepended to a list of
5789 standard default values. Doc fix. (Bug#12321)
5791 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5793 * replace.el (read-regexp): Don't add ": " when PROMPT already
5794 ends with a colon and space. (Bug#12321)
5796 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5798 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5801 2012-09-20 Stefan Merten <smerten@oekonux.de>
5803 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5804 Fixes feature request bug#11711.
5805 (rst-mode): Create `imenu-create-index-function'.
5806 (rst-get-stripped-line): Delete after refactoring.
5807 (rst-section-tree, rst-section-tree-rec)
5808 (rst-section-tree-point): Refactor and document properly.
5809 (rst-imenu-find-adornments-for-position)
5810 (rst-imenu-convert-cell, rst-imenu-create-index):
5813 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5815 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5816 (macroexp--expand-all): Use it.
5817 (macroexp--funcall-and-return): Remove by folding it into its sole
5818 caller (macroexp--warn-and-return).
5819 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5820 Use macroexp--obsolete-warning.
5822 * calc/calc.el: Fix last change by removing the whole chunk, since it
5823 was only needed back when Calc was not bundled.
5825 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5827 * emacs-lisp/debug.el (debug): Restore assignment to
5828 debugger-old-buffer removed on 2012-09-08.
5830 2012-09-20 Juri Linkov <juri@jurta.org>
5832 * dired-aux.el (dired-diff): Remove (require 'diff) since
5833 `diff-latest-backup-file' is now autoloaded.
5835 2012-09-20 Chong Yidong <cyd@gnu.org>
5837 * vc/diff.el (diff-latest-backup-file): Autoload.
5839 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5841 * calc/calc.el: Remove redundant autoload shape check.
5842 (sel-mode): Don't defvar.
5843 (calc-get-stack-element): Add `sel-mode' arg instead.
5844 (calc-top, calc-top-list): Pass it this additional argument.
5845 * calc/calc-store.el (calc-store-map):
5846 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5847 (calc-map-equation, calc-outer-product, calc-inner-product):
5848 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5850 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5852 2012-09-19 Juri Linkov <juri@jurta.org>
5854 * dired-aux.el (dired-diff): Add (require 'diff) because
5855 `diff-latest-backup-file' is not autoloaded.
5856 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5857 of `dired-get-filename' to t to not report error when there is
5858 no default file on the current line.
5860 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5863 macroexp--eval-if-compile.
5864 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5865 (macroexp--expand-all): Use them (bug#12371).
5867 * doc-view.el (doc-view-guess-paper-size)
5868 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5870 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5872 New feature: set optimal slice from BoundingBox information.
5873 * doc-view.el (doc-view-mode-map): Add keybinding.
5874 (doc-view-menu): Add menu entry.
5875 (doc-view-set-slice): Adapt docstring.
5876 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5877 (doc-view-scale-bounding-box)
5878 (doc-view-set-slice-from-bounding-box): New functions.
5879 (doc-view-paper-sizes): New defvar.
5881 2012-09-19 Glenn Morris <rgm@gnu.org>
5883 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5884 (byte-compile-log-warning): Autoload. (Bug#12371)
5886 * calendar/calendar.el (calendar-american-month-header)
5887 (calendar-european-month-header, calendar-iso-month-header)
5888 (calendar-month-header): New options.
5889 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5890 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5892 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5894 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5896 2012-09-18 Juri Linkov <juri@jurta.org>
5898 * dired-aux.el (dired-diff): Restore original functionality of
5899 getting the default value, but keep new feature of using the
5900 latest existing backup file (`diff-latest-backup-file').
5902 2012-09-18 Juri Linkov <juri@jurta.org>
5904 * dired.el (dired-mark): If the region is active in Transient Mark
5905 mode, mark all files in the active region. Doc fix.
5906 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5907 Doc fix. (Bug#10624)
5909 2012-09-18 Juri Linkov <juri@jurta.org>
5911 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5912 attributes for M-n are pulled from the file at point.
5913 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5914 Suggested by Drew Adams. (Bug#10624)
5916 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5918 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5919 whitespace after "end".
5920 (ruby-do-end-to-brace): Collapse block to one line if it fits
5923 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5925 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5927 (debug): Don't remove debugger window when debugger is expected
5930 2012-09-18 Chong Yidong <cyd@gnu.org>
5932 * custom.el (defface): Doc fix.
5934 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5936 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5938 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5939 to initialize query-on-exit; then test that instead (bug#12288).
5941 2012-09-17 Stefan Merten <smerten@oekonux.de>
5943 * textmodes/rst.el: Add support for `testcover'.
5944 (rst-defcustom-testcover, rst-testcover-add-compose)
5945 (rst-testcover-add-1value): New functions.
5946 (rst-portable-mark-active-p): Replace by `use-region-p'.
5947 (rst-update-section, rst-classify-adornment)
5948 (rst-find-title-line): Mark `1value' forms.
5949 (rst-classify-adornment): Remove superfluous form.
5950 (rst-update-section, rst-get-adornments-around)
5951 (rst-adornment-complete-p, rst-get-next-adornment)
5952 (rst-adjust, rst-promote-region)
5953 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5954 (rst-find-pfx-in-region, rst-section-tree-rec)
5955 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5956 (rst-toc-node, rst-toc, rst-forward-section)
5957 (rst-iterate-leftmost-paragraphs)
5958 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5959 (rst-bullet-list-region)
5960 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5961 (rst-compile-find-conf, rst-compile)
5962 (rst-repeat-last-character): Fix style.
5964 2012-09-17 Chong Yidong <cyd@gnu.org>
5966 * comint.el (comint--complete-file-name-data): Don't add a space
5967 if the status is `sole'; that adds a gratuitous space in the
5968 completion-cycling case (Bug#12092).
5970 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5972 2012-09-17 Richard Stallman <rms@gnu.org>
5974 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5975 only in the mime-shown mode, not in raw mode.
5976 (rmail-mime): Toggle off mime by displaying the message without
5977 mime processing. (Bug#12305)
5979 * mail/rmail.el (rmail-retry-failure):
5980 Turn off mime processing first. (Bug#12037)
5982 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5984 2012-09-17 Chong Yidong <cyd@gnu.org>
5986 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5987 (shell-dynamic-complete-functions): Convert to defcustom.
5988 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5990 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5991 * comint.el (comint-prompt-read-only):
5992 * custom.el (defcustom):
5993 * hi-lock.el (hi-lock-mode):
5994 * ibuffer.el (ibuffer-formats):
5995 * ielm.el (ielm-prompt-read-only):
5996 * novice.el (disable-command):
5997 * saveplace.el (toggle-save-place):
5998 * speedbar.el (speedbar-supported-extension-expressions):
5999 * startup.el (auto-save-list-file-prefix, init-file-user)
6000 (after-init-hook, inhibit-startup-echo-area-message):
6001 * strokes.el (strokes-help):
6002 * time-stamp.el (time-stamp):
6003 * calendar/calendar.el (calendar, diary-file):
6004 * calendar/diary-lib.el (diary-mail-entries, diary)
6005 (diary-list-entries-hook):
6006 * calendar/holidays.el (holidays, calendar-holidays):
6007 * calendar/lunar.el (lunar-phases):
6008 * calendar/solar.el (sunrise-sunset):
6009 * emulation/edt.el (edt-load-keys):
6010 * emulation/viper.el (viper-mode):
6011 * eshell/em-alias.el (eshell-command-aliases-list):
6012 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6013 * international/ogonek.el (ogonek-information):
6014 * net/tramp-cmds.el (tramp-bug):
6015 * net/quickurl.el (quickurl-reread-hook-postfix):
6016 * play/decipher.el (decipher-font-lock-keywords):
6017 * progmodes/cc-styles.el (c-set-style):
6018 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6019 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6020 * progmodes/octave-mod.el (octave-mode):
6021 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6022 * progmodes/verilog-mode.el (verilog-read-defines):
6023 * textmodes/two-column.el (2C-mode): Likewise.
6025 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6027 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6028 that holds many addresses.
6030 2012-09-16 Chong Yidong <cyd@gnu.org>
6032 * align.el (align-areas): Call the indication function with
6033 positions instead of markers for arguments (Bug#12343).
6035 * files.el (parse-colon-path): Use split-string (Bug#12351).
6037 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6038 (display-buffer-function): Mark as obsolete.
6040 * progmodes/compile.el (compilation-parse-errors): Accept list
6041 values similar to font-lock-keywords (Bug#12136).
6042 Suggested by Oleksandr Manzyuk.
6043 (compilation-error-regexp-alist): Doc fix.
6045 2012-09-15 Glenn Morris <rgm@gnu.org>
6047 * version.el (emacs-bzr-version-bzr): New function.
6048 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6050 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6051 checkouts, check the parent dirstate matches the branch.
6052 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6055 * version.el (emacs-bzr-version): Doc fix.
6056 (emacs-bzr-version-dirstate): New function.
6057 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6058 is local try and check that it matches the branch. If not, just
6059 use dirstate information. (Bug#12441)
6061 2012-09-14 Juri Linkov <juri@jurta.org>
6063 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6066 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6070 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6071 Remove obsolete byte-compiler hack that tried to silence some warnings.
6072 (edebug-submit-bug-report): Remove.
6073 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6074 Remove aliases, use the un-prefixed name instead.
6075 (edebug-pop-to-buffer): Consider other frames.
6076 (edebug-original-read):: Make it more obvious that it's always defined.
6077 (edebug--make-form-data-entry, edebug--form-data-name)
6078 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6079 single-dashed name, and implement with cl-defstruct.
6080 (edebug-set-form-data-entry): Use the standard accessors.
6081 (edebug-make-top-form-data-entry): Use push.
6082 (edebug-no-match): Drop useless `funcall'.
6083 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6085 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6086 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6087 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6088 (easy-menu-define, with-custom-print): Remove redundant specs.
6089 (edebug-outside-overriding-local-map)
6090 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6091 (edebug--display): Bind unread-command-events directly to nil rather
6092 than binding it to unread-command-events and later setting it to nil.
6093 (edebug--display): Kill edebug-eval-buffer here...
6094 (edebug--recursive-edit): ...rather than here.
6095 Bind standard-output and standard-input.
6096 (edebug-eval): Check cl-macroexpand-all is fboundp.
6097 (edebug-temp-display-freq-count): Fix last change.
6099 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6100 * subr.el (noreturn, 1value): Add `debug' spec.
6101 * emacs-lisp/advice.el: Require cl-lib.
6102 (ad-copy-tree): Remove, use copy-tree instead.
6103 (ad-dolist): Remove use dolist or cl-dolist instead.
6104 (ad-do-return): Remove, use cl-return instead.
6105 (defadvice): Add `debug' spec.
6107 2012-09-13 Juri Linkov <juri@jurta.org>
6109 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6112 2012-09-13 Glenn Morris <rgm@gnu.org>
6114 * calc/calc.el (math-compose-expr):
6115 * calc/calc-ext.el (math-compose-expr):
6116 * progmodes/cc-defs.el (cl-macroexpand-all):
6117 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6118 (cl-macroexpand-all): Update declarations.
6120 * vc/vc.el: No need to require ediff.
6121 (ediff-load-version-control): Declare.
6122 (ediff-vc-internal): Fix declaration.
6123 (vc-version-ediff): Require ediff.
6125 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6127 Use a more backwards-compatible timer format (Bug#12430).
6128 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6129 being right after USECS, as that better supports old code that
6130 inadvisedly looked directly at the timer vector.
6132 2012-09-13 Kenichi Handa <handa@gnu.org>
6134 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6135 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6136 `coding-priority' property of these language environment.
6138 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6140 Fix glitches caused by addition of psec to timers (Bug#12430).
6141 * image.el (image-animate-timer):
6142 * time.el (display-time-world-timer):
6143 Use timer--function and timer--args rather than raw access to
6146 2012-09-13 Glenn Morris <rgm@gnu.org>
6148 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6149 If not compiling a file, try using load-file-name.
6151 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6155 (edebug-update-eval-list): Use `push'.
6157 * emacs-lisp/edebug.el: Use lexical-binding.
6158 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6159 Mark unused args with underscore.
6160 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6161 (edebug-form-data): Use defvar-local.
6162 (edebug-make-before-and-after-form, edebug-make-after-form):
6164 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6165 Not dynamically scoped any more.
6166 (edebug--enter-trace): Add arguments `function' and `args'.
6167 Rename from edebug-enter-trace.
6168 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6169 (edebug--update-coverage): Add `after-index' and `value' args.
6170 Rename from edebug-update-coverage.
6171 (edebug-slow-after): Call it accordingly.
6172 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6173 edebug-recursive-edit.
6174 (edebug--display): Call it accordingly. Add args `value',
6175 `offset-index', and `arg-mode'. Rename from edebug-display.
6176 (edebug-debugger, edebug): Call it accordingly.
6177 (edebug-eval-display-list): Use dolist.
6179 2012-09-12 Juri Linkov <juri@jurta.org>
6181 * info.el (Info-search): Don't check for isearch-mode and
6182 isearch-regexp before let-binding search-spaces-regexp to
6183 Info-search-whitespace-regexp.
6184 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6185 search-whitespace-regexp if isearch-lax-whitespace or
6186 isearch-regexp-lax-whitespace is non-nil.
6187 (Info-mode): Don't set local variable search-whitespace-regexp.
6188 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6190 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6193 (debugger-env-macro): Remove support for unread-command-char.
6195 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6196 the temporary map re-appearing on emulation-mode-map-alists.
6198 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6201 * ehelp.el (with-electric-help): Accept functions in
6202 electric-help-form-to-execute.
6203 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6204 And replace unread-command-char -> unread-command-events.
6206 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6208 Sync with Tramp 2.2.6.
6210 * net/tramp.el (tramp-accept-process-output): Don't use
6211 JUST-THIS-ONE in the XEmacs case.
6213 * net/trampver.el: Update release number.
6215 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6217 * emacs-lisp/debug.el (debugger-previous-window-height):
6219 (debug): When debugger-jumping-flag is non-nil try to restore
6220 height of debugger window. (Bug#8789)
6222 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6225 overriding-local-map and pre/post-command-hook here.
6226 (edebug-recursive-edit): Do it here instead (bug#12345).
6227 (edebug-outside-unread-command-char): Remove all uses of
6228 unread-command-char.
6230 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6231 inhibit-debugger is bound instead.
6233 2012-09-11 Bastien Guerry <bzg@gnu.org>
6235 * subr.el (set-temporary-overlay-map): Add a docstring.
6238 2012-09-11 Bastien Guerry <bzg@gnu.org>
6240 * minibuffer.el (completion-table-subvert): Fix docstring.
6243 2012-09-11 Bastien Guerry <bzg@gnu.org>
6245 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6247 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6249 * progmodes/sql.el: Version 3.1
6250 (sql-db2-escape-newlines): New variable.
6251 (sql-escape-newlines-filter): Use it.
6253 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6255 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6257 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6259 * vc/diff-mode.el (diff-mode-menu):
6260 Bind diff-remove-trailing-whitespace.
6262 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6264 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6265 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6266 (emacs-lisp-byte-code-mode): New functions.
6267 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6268 (eval-defun-2): Remove bogus interactive spec.
6269 (lisp-indent-line): Remove redundant whole-exp code, now done in
6270 indent-according-to-mode.
6271 (save-match-data): Remove redundant indent data.
6273 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6276 2012-09-09 Juri Linkov <juri@jurta.org>
6278 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6279 (replace-lax-whitespace, query-replace-regexp)
6280 (query-replace-regexp-eval, replace-regexp): Doc fix.
6281 (perform-replace, replace-highlight): Let-bind
6282 isearch-lax-whitespace to replace-lax-whitespace and
6283 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6285 * isearch.el (isearch-query-replace): Let-bind
6286 replace-lax-whitespace to isearch-lax-whitespace and
6287 replace-regexp-lax-whitespace to
6288 isearch-regexp-lax-whitespace. (Bug#10885)
6290 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6292 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6294 2012-09-09 Alan Mackenzie <acm@muc.de>
6296 * progmodes/cc-engine.el (c-state-cache-init):
6297 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6298 (c-record-parse-state-state):
6299 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6301 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6303 * register.el (register-separator): Rename from
6304 separator-register. All uses changed. Doc fix.
6305 (register): Fix version.
6307 2012-09-09 Chong Yidong <cyd@gnu.org>
6309 * replace.el (query-replace-map): Bind four new symbols for
6310 requesting window scrolling.
6312 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6313 query-replace-map (Bug#8948).
6315 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6317 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6318 since they are now in query-replace-map.
6320 * window.el (scroll-other-window-down): Make the arg optional.
6322 2012-09-09 Chong Yidong <cyd@gnu.org>
6324 * files.el (hack-local-variables-confirm): Use quit-window to kill
6325 the *Local Variables* buffer.
6327 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6329 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6330 not just expect to be at its beginning. Adjust callees.
6331 Succeed when do-end block has no space before the pipe character.
6332 (ruby-brace-to-do-end): When the original block is one-liner,
6333 convert to multiline. Reindent the result.
6335 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6337 * register.el (register): New group.
6338 (separator-register): New user option.
6339 (increment-register): Route it to `append-to-register', if
6340 register contains text. Implication is that `C-x r +' can now be
6341 used for appending to a text register (bug#12217).
6342 (append-to-register, prepend-to-register): Add separator based on
6343 `separator-register'.
6345 2012-09-08 Alan Mackenzie <acm@muc.de>
6347 AWK Mode: make auto-newline work when there's "==" in the pattern.
6348 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6350 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6351 Test more rigorously for "=" token.
6353 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6355 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6356 Only fail when reached LIMIT.
6358 2012-09-08 Chong Yidong <cyd@gnu.org>
6360 * dired.el (dired-mode-map): Don't bind M-=.
6362 * dired-aux.el (dired-diff): Use backup file as default.
6364 2012-09-08 Drew Adams <drew.adams@oracle.com>
6366 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6368 2012-09-08 Chong Yidong <cyd@gnu.org>
6370 * subr.el (syntax-after, syntax-class): Doc fix.
6372 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6374 * window.el (display-buffer-in-previous-window): New buffer
6375 display action function.
6377 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6378 (debugger-previous-window): New variable.
6379 (debug): Rewrite using display-buffer-in-previous-window,
6380 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6382 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6386 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6388 * progmodes/python.el (python-shell-send-string):
6389 When default-directory is remote, create temp file on remote
6391 (python-shell-send-file): When file is remote, pass local view of
6392 file paths to remote Python interpreter. (Bug#12340)
6394 2012-09-07 Chong Yidong <cyd@gnu.org>
6396 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6398 * files.el (after-find-file): Don't fail on a read-only buffer if
6399 require-final-newline is `visit' or `visit-save' (Bug#11156).
6401 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6403 * userlock.el (ask-user-about-supersession-threat):
6404 Use read-char-choice (Bug#12093).
6406 2012-09-07 Chong Yidong <cyd@gnu.org>
6408 * subr.el (buffer-narrowed-p): New function.
6410 * ses.el (ses-widen):
6411 * simple.el (count-words--buffer-message):
6412 * net/browse-url.el (browse-url-of-buffer): Use it.
6414 * simple.el (count-words-region): Don't signal an error if there
6415 is a non-nil prefix arg and the mark is not set.
6417 * help.el (describe-key-briefly): Allow the message to be seen
6418 when invoked from the minibuffer (Bug#7014).
6420 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6422 * progmodes/ruby-mode.el (ruby-end-of-defun)
6423 (ruby-beginning-of-defun): Simplify, allow indentation before
6424 block beginning and end keywords.
6425 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6426 (ruby-end-of-defun): Expect that the point is at the beginning of
6429 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6431 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6433 (cl--make-usage-args): Strip _ from argument names.
6435 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6437 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6438 obsolete alias speedbar-key-map.
6439 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6440 (vhdl-index-menu-init): Don't use obsolete variable
6441 font-lock-maximum-size.
6443 2012-09-06 Chong Yidong <cyd@gnu.org>
6445 * frame.el (window-system-version): Mark as obsolete.
6447 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6448 of obsolete variable speedbar-key-map.
6450 2012-09-06 Juri Linkov <juri@jurta.org>
6452 * replace.el (replace-lax-whitespace): New defcustom.
6453 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6454 (replace-string, replace-regexp): Mention it in docstrings.
6455 (perform-replace, replace-highlight): Let-bind
6456 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6457 to the values of replace-lax-whitespace and regexp-flag.
6458 Don't let-bind search-whitespace-regexp. (Bug#10885)
6460 * isearch.el (isearch-query-replace): Let-bind
6461 replace-lax-whitespace instead of let-binding
6462 replace-search-function and replace-re-search-function.
6463 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6464 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6465 (isearch-toggle-symbol): Set isearch-regexp to nil
6466 in isearch-word mode (like in isearch-toggle-word).
6468 2012-09-06 Juri Linkov <juri@jurta.org>
6470 * replace.el (replace-search-function)
6471 (replace-re-search-function): Set default values to nil.
6472 (perform-replace): Let-bind isearch-related variables based on
6473 replace-related values, call `isearch-search-fun' and let-bind
6474 the result to `search-function'. Remove code that sets
6475 `search-function' and `search-string' separately for
6477 (replace-highlight): Add new argument `delimited-flag' and
6478 rename other arguments to the names used in `perform-replace'.
6479 Let-bind `isearch-word' to the argument `delimited-flag'.
6480 (Bug#10885, bug#10887)
6482 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6484 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6485 ruby-beginning-of-indent, simplify, allow all keywords to have
6486 indentation before them.
6487 (ruby-beginning-of-indent): Adjust for above. Search until the
6488 found point is not inside a string or comment.
6489 (ruby-font-lock-keywords): Allow symbols to start with "@"
6490 character, give them higher priority than variables.
6491 (ruby-syntax-propertize-function)
6492 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6493 matchers. Expression expansions are not comments when inside a
6494 string, and there comment syntax status is irrelevant.
6495 (ruby-match-expression-expansion): New function. Check that
6496 expression expansion is inside a string, and it's not escaped.
6497 (ruby-font-lock-keywords): Use it.
6499 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6501 * help.el (temp-buffer-max-height): New default value.
6502 (temp-buffer-resize-frames): New option.
6503 (resize-temp-buffer-window): Optionally resize frame.
6505 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6506 (fit-frame-to-buffer): New function.
6508 2012-09-05 Glenn Morris <rgm@gnu.org>
6510 * emulation/cua-rect.el (cua--init-rectangles):
6511 * textmodes/picture.el (picture-mode-map):
6512 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6513 like forward-char and backward-char. (Bug#12317)
6515 2012-09-05 Leo Liu <sdl.web@gmail.com>
6517 * progmodes/flymake.el (flymake-warning-re): New variable.
6518 (flymake-parse-line): Use it.
6520 2012-09-05 Glenn Morris <rgm@gnu.org>
6522 * calendar/holidays.el (holiday-christian-holidays):
6523 Rename an entry. (Bug#12289)
6525 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6530 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * loadup.el: Load macroexp. Remove hack.
6533 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6534 (macroexp--expand-all): Use it to get better warnings.
6535 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6536 (internal-macroexpand-for-load): New functions.
6537 (macroexp--pending-eager-loads): New var.
6538 (emacs-startup-hook): New hack to replace one in loadup.el.
6539 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6540 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6541 (cl-psetf): Simplify.
6542 (cl-defstruct): Add indent rule.
6544 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6546 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6547 over `user-mail-address' for the SMTP MAIL FROM envelope.
6548 (smtpmail-via-smtp): Ditto.
6550 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6552 * progmodes/ruby-mode.el: Clean up keybindings.
6553 (ruby-mode-map): Don't bind ruby-electric-brace,
6554 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6555 backward-kill-word, reindent-then-newline-and-indent.
6556 (ruby-mark-defun): Remove.
6557 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6558 (ruby-mode): Set local beginning-of-defun-function and
6559 end-of-defun-function values.
6561 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6563 * window.el (temp-buffer-window-setup-hook)
6564 (temp-buffer-window-show-hook): New hooks.
6565 (temp-buffer-window-setup, temp-buffer-window-show)
6566 (with-temp-buffer-window): New functions.
6567 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6568 (special-display-popup-frame): Make sure the window used shows BUFFER.
6570 * help.el (temp-buffer-resize-mode): Fix doc-string.
6571 (resize-temp-buffer-window): New optional argument WINDOW.
6573 * files.el (recover-file, save-buffers-kill-emacs):
6574 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6576 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6578 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6579 remote definition of `default-directory', ensure we can connect.
6581 2012-09-02 Juri Linkov <juri@jurta.org>
6583 Toggle whitespace matching mode with M-s SPC.
6584 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6586 * isearch.el (search-whitespace-regexp): Doc fix.
6587 Remove cons cell customization.
6588 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6589 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6591 (isearch-forward, isearch-forward-regexp): Doc fix.
6592 (isearch-toggle-lax-whitespace): New command.
6593 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6594 (re-search-forward-lax-whitespace)
6595 (re-search-backward-lax-whitespace): New functions.
6596 (isearch-whitespace-regexp): Remove function.
6597 (isearch-query-replace): Let-bind replace-search-function and
6598 replace-re-search-function.
6599 (isearch-occur): Let-bind search-spaces-regexp according to the
6600 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6601 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6602 condition for C-q SPC.
6603 (isearch-search-fun-default): Use new functions mentioned above.
6604 (isearch-search-forward, isearch-search-backward): Remove functions.
6605 (isearch-search): Don't let-bind search-spaces-regexp.
6606 (isearch-lazy-highlight-space-regexp): Remove variable.
6607 (isearch-lazy-highlight-lax-whitespace)
6608 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6609 (isearch-lazy-highlight-new-loop): Use them.
6610 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6612 2012-09-02 Chong Yidong <cyd@gnu.org>
6614 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6616 2012-09-02 Glenn Morris <rgm@gnu.org>
6618 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6620 2012-09-01 Glenn Morris <rgm@gnu.org>
6622 * term.el: Tidy up menu definitions.
6623 (term-mode-map): Use easymenu for In/Out, Complete menus.
6624 (term-pager-break-map): Initialize in the defvar.
6625 (term-terminal-menu, term-signals-menu): Define with easymenu.
6626 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6627 (term-pager-menu): New, extracted from term-process-pager.
6628 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6629 (term-update-mode-line): Propertize line/char and page items.
6630 (term-process-pager): Move keymap initialization elsewhere.
6632 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6634 * window.el (switch-to-prev-buffer): Handle additional values of
6635 BURY-OR-KILL argument. Don't switch in minibuffer window.
6636 (switch-to-next-buffer): Don't switch in minibuffer window.
6637 (quit-restore-window): New function based on quit-window.
6638 Handle additional values of former KILL argument.
6639 (quit-window): Call quit-restore-window with appropriate
6640 interpretation of KILL argument.
6641 (display-buffer-below-selected): New buffer display action
6644 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * minibuffer.el (completion-at-point-functions): Complete docstring
6649 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6651 Better seed support for (random).
6652 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6653 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6654 * play/mpuz.el, play/tetris.el, play/zone.el:
6655 * calc/calc-comb.el (math-init-random-base):
6656 * play/blackbox.el (bb-init-board):
6657 * play/life.el (life):
6658 * server.el (server-use-tcp):
6659 * type-break.el (type-break):
6660 Remove unnecessary call to (random t).
6661 * net/sasl.el (sasl-unique-id-function):
6662 Change (random t) to (random), now that the latter is more random.
6663 * play/life.el (life-initialized): Remove no-longer-needed var.
6665 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6667 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6668 Consider frame's buffer predicate when choosing the buffer.
6671 2012-08-30 Richard Stallman <rms@gnu.org>
6673 * simple.el (special-mode-map): Delete binding for `z'.
6675 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6677 * progmodes/compile.el (compilation-always-kill): Doc fix.
6679 2012-08-30 Chong Yidong <cyd@gnu.org>
6681 * window.el (display-buffer-reuse-frames): Make the obsolescence
6682 message more informative.
6684 2012-08-30 Glenn Morris <rgm@gnu.org>
6686 * paren.el (show-paren-delay):
6687 Add a :set function. Doc fix. (Bug#12297)
6689 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6691 * progmodes/compile.el (compilation-always-kill): New var.
6692 (compilation-start): Use it.
6694 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6697 * files.el (read-only-mode): Move to simple.el.
6699 * files.el (read-only-mode): New minor mode.
6700 (toggle-read-only): Use it and mark obsolete.
6701 (find-file--read-only):
6702 * vc/vc.el (vc-next-action, vc-checkout):
6703 * vc/vc-cvs.el (vc-cvs-checkout):
6704 * obsolete/vc-mcvs.el (vc-mcvs-update):
6705 * ffap.el (ffap--toggle-read-only): Update callers.
6707 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6709 * eshell/esh-ext.el (eshell-external-command): Do not examine
6710 remote shell scripts.
6711 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6713 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6716 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6720 2012-08-28 Leo Liu <sdl.web@gmail.com>
6722 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6723 completion-at-point. (Bug#12220)
6725 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6727 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6729 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6732 be buffer-local; add delete-trailing-whitespace (bug#12259).
6734 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6736 * progmodes/hideif.el (hif-compress-define-list):
6737 Fix typo. (Bug#11951)
6739 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6741 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6742 buffer local setting.
6744 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6745 rcirc-encode-coding-system.
6747 2012-08-28 Leo Liu <sdl.web@gmail.com>
6749 * net/rcirc.el (rcirc-split-message): New function.
6750 (rcirc-send-message): Use it. (Bug#12051)
6752 2012-08-28 Juri Linkov <juri@jurta.org>
6754 * info.el (Info-fontify-node): Hide empty lines at the end of
6755 the node. (Bug#12272)
6757 2012-08-27 Drew Adams <drew.adams@oracle.com>
6759 * dired.el (dired-pop-to-buffer): Make window start at beginning
6760 of buffer (Bug#12281).
6762 2012-08-26 Chong Yidong <cyd@gnu.org>
6764 * window.el (special-display-regexps, special-display-frame-alist)
6765 (special-display-buffer-names, special-display-function)
6766 (display-buffer-reuse-frames): Mark as obsolete.
6768 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6770 * help.el (help-print-return-message): Don't treat
6771 display-buffer-reuse-frames specially.
6773 2012-08-26 Chong Yidong <cyd@gnu.org>
6775 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6776 New variable, replacing gdb-frame-parameters.
6777 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6778 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6779 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6780 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6781 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6782 the functions directly with gdb-display-buffer-other-frame-action.
6783 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6784 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6785 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6786 (gdb-display-registers-buffer): Define directly.
6787 (def-gdb-display-buffer): Macro deleted.
6788 (gdb-display-buffer): Remove second and third args, callers don't
6789 use them. Defer to the default display-buffer behavior, apart
6790 from making windows dedicated.
6791 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6793 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6795 * window.el (display-buffer-pop-up-frame): Handle a
6796 pop-up-frame-parameters alist entry.
6797 (display-buffer): Document it.
6799 2012-08-26 Chong Yidong <cyd@gnu.org>
6801 * isearch.el (search-whitespace-regexp): Make string and nil
6802 values apply to both ordinary and regexp search. Allow a cons
6803 cell value to distinguish between the two.
6804 (isearch-whitespace-regexp, isearch-search-forward)
6805 (isearch-search-backward): New functions.
6806 (isearch-occur, isearch-search-fun-default, isearch-search)
6807 (isearch-lazy-highlight-new-loop): Use them.
6808 (isearch-forward, isearch-forward-regexp): Doc fix.
6810 2012-08-26 Chong Yidong <cyd@gnu.org>
6812 * faces.el (help-argument-name): Always inherit from italic
6815 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6817 * window.el (window--even-window-heights): Even heights when
6818 WINDOW and the selected window form a vertical combination.
6819 (display-buffer-use-some-window): Provide that window used gets
6820 sized back by quit-window. (Bug#11880) and (Bug#12091)
6822 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6824 Fix file time stamp problem with bzr and CVS (Bug#12001).
6825 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6826 in the file's time stamp, since the version control system loses
6829 2012-08-22 Juri Linkov <juri@jurta.org>
6831 * info.el (Info-fontify-node): Hide the suffix of the
6832 Info file name in the header line. (Bug#12187)
6834 2012-08-22 Glenn Morris <rgm@gnu.org>
6836 * calendar/cal-tex.el (cal-tex-weekly-common):
6837 Restore leading blank page.
6839 2012-08-22 Le Wang <l26wang@gmail.com>
6841 * misc.el (forward-to-word, backward-to-word): Activate or extend
6842 the region under `shift-select-mode'. (Bug#12231)
6844 2012-08-22 Bastien Guerry <bzg@gnu.org>
6846 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6847 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6848 gives details on why the space is never needed.
6850 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6852 * window.el (walk-window-tree, window-with-parameter):
6853 New optional argument MINIBUF to control whether these functions
6854 should run on the minibuffer window.
6855 (window-at-side-list): Don't operate on minibuffer window.
6856 (window-in-direction): Simplify and rewrite doc-string.
6857 (window--size-ignore): Rename to window--size-ignore-p.
6859 (display-buffer-in-atom-window, window--major-non-side-window)
6860 (window--major-side-window, display-buffer-in-major-side-window)
6861 (delete-side-window, display-buffer-in-side-window):
6863 (window--side-check, window-deletable-p, delete-window)
6864 (delete-other-windows, split-window): Handle side windows and
6865 atomic windows appropriately.
6866 (window--display-buffer): Call display-buffer-record-window also
6867 when the window buffer did not change.
6869 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6871 * help-fns.el (help-fns--key-bindings):
6872 Abbreviate non-symbol remap targets. (Bug#12174)
6874 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6876 * dired.el (dired-mark-remembered): Don't clobber point.
6879 2012-08-22 Glenn Morris <rgm@gnu.org>
6881 * progmodes/bug-reference.el (bug-reference): New custom group.
6882 (bug-reference-bug-regexp): Make it a defcustom.
6884 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6886 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6887 (js-paren-indent-offset, js-square-indent-offset)
6888 (js-curly-indent-offset): Add :safe (Bug#12257).
6890 2012-08-22 Edward O'Connor <hober0@gmail.com>
6892 * json.el (json-key-format): Add error properties.
6893 (json-encode-key): New function.
6894 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6895 Use json-encode-key.
6897 2012-08-22 Glenn Morris <rgm@gnu.org>
6899 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6900 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6901 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6902 Update for above change.
6904 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6906 * cus-face.el (custom-face-attributes): Fix customize type for the
6907 :underline attribute. (Bug#11805)
6909 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6911 * window.el (window-point-1, set-window-point-1): Remove.
6912 (window-in-direction, record-window-buffer)
6913 (set-window-buffer-start-and-point, split-window-below)
6914 (window--state-get-1, display-buffer-record-window):
6915 Replace calls to window-point-1 and set-window-point-1 by calls to
6916 window-point and set-window-point respectively.
6918 2012-08-21 Glenn Morris <rgm@gnu.org>
6920 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6921 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6924 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6925 (cal-tex-shortday): New function.
6926 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6927 (cal-tex-cursor-filofax-daily): Use the above.
6929 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6931 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6932 (cal-tex-cursor-filofax-week): Use them.
6934 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6936 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6937 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6939 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6940 (cal-tex-end-document): Don't rely on buffer name.
6942 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6944 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6945 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6946 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6949 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6950 (cal-tex-cursor-week, cal-tex-cursor-week2)
6951 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6952 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6953 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6954 (cal-tex-insert-preamble, cal-tex-b-document)
6955 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6956 Improve cal-tex-cmd usage.
6958 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6959 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6960 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6961 (cal-tex-weekly-paper): New function.
6962 (cal-tex-cursor-week, cal-tex-cursor-week2)
6963 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6964 (cal-tex-cursor-day): Use it.
6966 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6967 (cal-tex-cursor-filofax-week): Remove leading blank page.
6969 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6970 Add autoload cookie. For now at least, don't use color, since
6971 no other cal-tex function does.
6973 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6974 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6975 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6977 2012-08-21 Juri Linkov <juri@jurta.org>
6979 * info.el (Info-file-attributes): New variable.
6980 (info-insert-file-contents): Add file attributes to
6981 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6982 `Info-toc-nodes' when previous modtime of the Info file is less
6984 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6985 of info.el. (Bug#12230)
6987 2012-08-20 Glenn Morris <rgm@gnu.org>
6989 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6990 * calendar/holidays.el (calendar-holiday-list):
6991 Report errors with display-warning rather than beep'n'sleep.
6993 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6995 * net/tramp.el (tramp-accept-process-output): Accept only output
6996 from PROC. Otherwise, process filters and sentinels might be
6997 confused. (Bug#12145)
6999 2012-08-20 Chong Yidong <cyd@gnu.org>
7001 * descr-text.el (describe-text-properties-1): Use overlays-in to
7002 report on empty overlays (Bug#3322).
7004 2012-08-20 Glenn Morris <rgm@gnu.org>
7006 * mail/rmailout.el (rmail-output-read-file-name):
7007 Trap and report errors in rmail-output-file-alist elements.
7009 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7010 since most non-font-lock faces are not also variables).
7012 2012-08-20 Edward Reingold <reingold@iit.edu>
7014 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7015 New function. (Bug12160)
7017 2012-08-19 Glenn Morris <rgm@gnu.org>
7019 * mail/rmailout.el (rmail-output-read-file-name):
7020 Fix previous change (when the alist is nil or does not match).
7022 2012-08-19 Chong Yidong <cyd@gnu.org>
7024 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7027 2012-08-18 Chong Yidong <cyd@gnu.org>
7029 * simple.el (yank-handled-properties): New defcustom.
7030 (yank-excluded-properties): Add font-lock-face and category.
7033 * subr.el (remove-yank-excluded-properties):
7034 Obey yank-handled-properties. The special handling of font-lock-face
7035 and category is now done this way, instead of being hard-coded.
7036 (insert-for-yank-1): Remove font-lock-face handling.
7037 (yank-handle-font-lock-face-property)
7038 (yank-handle-category-property): New function.
7040 2012-08-17 Glenn Morris <rgm@gnu.org>
7042 * mail/rmailout.el (rmail-output-read-file-name):
7043 Check rmail-output-file-alist against the full message body
7044 in the correct rmail buffer. (Bug#12214)
7046 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7048 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7049 Eliminate superfluous prompt. (Bug#12203)
7051 2012-08-17 Chong Yidong <cyd@gnu.org>
7053 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7054 font spec, set the font directly (Bug#3228).
7056 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7058 * window.el (delete-window): Fix last fix.
7060 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7062 * window.el (window-valid-p): Move to window.c.
7063 (window-child, window-child-count, window-last-child)
7064 (window-normalize-window, window-combined-p)
7065 (window-combinations, window-atom-root, window-min-size)
7066 (window-sizable, window-sizable-p, window-size-fixed-p)
7067 (window-min-delta, window-max-delta, window--resizable)
7068 (window--resizable-p, window-resizable, window-total-size)
7069 (window-full-height-p, window-full-width-p, window-body-size)
7070 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7071 (minimize-window, window-deletable-p, delete-window)
7072 (delete-other-windows, set-window-buffer-start-and-point)
7073 (next-buffer, previous-buffer, split-window, balance-windows-2)
7074 (set-window-text-height, window-buffer-height)
7075 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7076 (truncated-partial-width-window-p): Minor code adjustments.
7077 In doc-strings state whether the argument window has to denote a
7078 live, valid or any window.
7080 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7082 * progmodes/subword.el (subword-forward-function)
7083 (subword-backward-function, subword-forward-regexp)
7084 (subword-backward-regexp): New variables.
7085 (subword-forward, subword-forward-internal, subword-backward-internal):
7086 Use new variables, eg so that different "word" definitions
7087 can be easily used. (Bug#11411)
7089 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7092 for composite selectors.
7093 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7094 operation just because we can't find a previous revision.
7096 2012-08-15 Chong Yidong <cyd@gnu.org>
7098 * frame.el (set-frame-font): Accept font objects.
7100 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7104 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7106 * man.el (Man-overstrike-face, Man-underline-face)
7107 (Man-reverse-face): Remove variables.
7108 (Man-overstrike, Man-underline, Man-reverse): New faces.
7109 (Man-fontify-manpage): Use them instead of the variables.
7110 (Man-cleanup-manpage): Comment change.
7111 (Man-ansi-color-map): New variable.
7112 (Man-fontify-manpage): Use it.
7113 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7115 Implement ANSI SGR parameters 22-27 (bug#12146).
7116 * ansi-color.el (ansi-colors): Doc fix.
7117 (ansi-color-context, ansi-color-context-region): Doc fix.
7118 (ansi-color--find-face): New function.
7119 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7120 Rename the local variable `face' to `codes' since it is now a list of
7121 ansi codes. Doc fix.
7122 (ansi-color-get-face): Remove.
7123 (ansi-color-parse-sequence): New function, derived from
7124 ansi-color-get-face.
7125 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7128 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * subr.el (read-passwd): Allow use from a minibuffer.
7132 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7134 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7135 inside comments and strings as identifiers.
7137 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7138 expression to evaluate. This allows to evaluate expressions with
7139 embedded whitespace.
7140 (gud-tooltip-tips): Add a blank before the newline in the
7141 message-box text, for the benefit of message-box emulation on
7144 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7145 messages from GDB, pop them up in a tooltip to give feedback to
7147 (gdb-tooltip-print-1): Quote the expression to evaluate.
7148 This allows to evaluate expressions with embedded whitespace.
7149 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7150 if the TTY name is nil or empty (which happens when communicating
7151 with the inferior via pipes, e.g. on MS-Windows).
7152 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7153 don't send that to the GUD buffer.
7155 2012-08-14 Glenn Morris <rgm@gnu.org>
7157 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7158 Optimize away setq-default with no args, as for setq. (Bug#12195)
7160 2012-08-14 Chong Yidong <cyd@gnu.org>
7162 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7164 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7167 2012-08-14 Glenn Morris <rgm@gnu.org>
7169 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7171 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7173 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7174 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7175 Use cached shell name.
7177 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7179 * progmodes/python.el (python-shell-send-string):
7180 (python-shell-send-setup-code): Do not use `format' with `message'.
7182 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7184 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7185 (ruby-percent-literal-beg-re): New constant.
7186 (ruby-syntax-general-delimiters-goto-beg): Rename to
7187 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7188 (ruby-syntax-propertize-general-delimiters): Rename to
7189 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7190 popular term. Adjust comments everywhere.
7191 (ruby-syntax-propertize-percent-literal): Only propertize when not
7192 inside a simple string or comment. When the literal is unclosed,
7193 leave the text after it unpropertized.
7194 (ruby-syntax-methods-before-regexp): New constant.
7195 (ruby-syntax-propertize-function): Use it to recognize regexps.
7196 Don't look at the text after regexp, just use the whitelist.
7198 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7200 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7201 non-nil always load the compiled file if it exists. (Bug#12197)
7203 2012-08-14 Chong Yidong <cyd@gnu.org>
7205 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7206 (hi-lock-set-pattern): When deciding whether to use font lock or
7207 overlays, look at font-lock-mode instead of font-lock-fontified
7209 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7210 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7212 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7214 * subr.el (internal--after-with-selected-window): Fix typo
7217 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7219 Use `completion-table-dynamic' for completion functions.
7220 * progmodes/python.el
7221 (python-shell-completion--do-completion-at-point)
7222 (python-shell-completion--get-completions):
7224 (python-shell-completion-complete-at-point): New function.
7225 (python-completion-complete-at-point): Use it.
7227 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7229 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7230 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7232 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * subr.el (function-get): Refine `autoload' arg so it can also
7235 autoload functions for gv.el (bug#12191).
7236 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7239 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7240 Prefer pcase-let over destructuring-bind.
7241 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7242 Also, remove whitespace as we go, rather than after accumulating the
7245 * subr.el (internal--before-with-selected-window)
7246 (internal--after-with-selected-window): Fix typo seleted->selected.
7247 (with-selected-window): Adjust callers.
7248 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7250 2012-08-13 Bastien Guerry <bzg@gnu.org>
7252 * window.el (special-display-popup-frame): Minor docstring
7253 enhancement. (Bug#12172)
7255 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7257 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7259 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7262 * files.el (hack-local-variables-filter): Remove useless eval.
7264 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7266 * subr.el (with-selected-window): Fix last change.
7268 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * subr.el (internal--before-with-seleted-window)
7271 (internal--after-with-seleted-window): New functions.
7272 (with-selected-window): Use them, to replace dependency on
7275 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7277 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7278 binding for `newline'.
7279 (ruby-move-to-block): When moving backward, stop at block opening,
7281 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7282 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7283 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7284 `ruby-toggle-block'.
7286 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * ibuffer.el (ibuffer-do-toggle-read-only):
7289 * dired.el (dired-toggle-read-only):
7290 * buff-menu.el (Buffer-menu-toggle-read-only):
7291 * bindings.el (mode-line-toggle-read-only):
7292 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7294 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7296 * descr-text.el (describe-char): Put the overlays over the
7297 "displayed as" character.
7299 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7301 * calc/calc-units.el (math-default-units-table): Give an
7303 (math-put-default-units): Add options to put composite units and
7304 unit systems in the default units table.
7305 (calc-convert-units): Send composite units to
7306 `math-put-default-units' when appropriate.
7308 2012-08-11 Glenn Morris <rgm@gnu.org>
7310 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7312 * tutorial.el (help-with-tutorial):
7313 * emacs-lisp/copyright.el (copyright-update-directory):
7314 * emacs-lisp/autoload.el (autoload-find-generated-file)
7315 (autoload-find-file): Disable local eval: (for insurance).
7317 * files.el (hack-local-variables-filter): If an eval: form is not
7318 known to be safe, and enable-local-variables is :safe, then ignore
7319 the form totally, as is done for non-eval forms. (Bug#12155)
7320 This is CVE-2012-3479.
7322 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7325 (rx-form): Simplify.
7327 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7329 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7330 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7331 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7332 (ruby-syntax-propertize-function): Adjust for changes in
7333 `ruby-syntax-propertize-heredoc'.
7335 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7337 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7338 binding (use `M-;' instead).
7339 (ruby-singleton-class-p): New function.
7340 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7342 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7344 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7346 2012-08-10 Chong Yidong <cyd@gnu.org>
7348 * progmodes/python.el (python-shell-get-process-name): Don't mess
7349 with same-window-buffer-names.
7351 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7352 (eshell-remove-from-window-buffer-names): Make obsolete.
7353 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7354 (eshell): Just use pop-to-buffer-same-window instead.
7356 2012-08-10 Chong Yidong <cyd@gnu.org>
7358 * bindings.el: Bind M-= back to count-words-region.
7360 * simple.el (count-words-region): Accept a prefix arg for acting
7361 on the entire buffer.
7362 (count-words--buffer-message): New helper function.
7364 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7366 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7367 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7368 (event-start, event-end): Use posn-at-point to return a more
7370 (posnp): New function.
7371 * mouse.el (popup-menu-normalize-position): Use it.
7373 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7375 * mouse.el (popup-menu-normalize-position): New function.
7376 (popup-menu): Use `popup-menu-normalize-position' to normalize
7377 the form for POSITION argument.
7379 * term/x-win.el (x-menu-bar-open):
7380 Use the value returend from (posn-at-point) as position
7381 passed to `popup-menu'.
7383 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7385 * calc/calccomp.el (math-compose-expr): Add extra argument
7386 indicating that parentheses should be put around products in
7387 denominators. Give multiplication precedence over division during
7390 2012-08-09 Chong Yidong <cyd@gnu.org>
7392 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7393 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7394 (Man-untabify-command, manual-program): Convert to defcustom
7397 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7399 * descr-text.el (describe-char): Don't insert extra newlines
7402 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7403 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7405 * align.el (align-region): Delete temporary markers (Bug#10047).
7406 Plus some code cleanups.
7408 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7410 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7411 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7412 (python-shell-internal-last-output): Use make-local-variable
7413 instead of make-variable-buffer-local.
7415 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7417 * progmodes/python.el: Enhancements to forward-sexp.
7418 (python-nav-forward-sexp): Rename from
7419 python-nav-forward-sexp-function.
7420 (python-nav--forward-sexp, python-nav--backward-sexp):
7423 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7425 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7426 modes and simplification modes.
7428 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7430 * delsel.el (delete-selection-pre-hook): Don't propagate the
7431 file-supersession signals (bug#12161).
7433 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7435 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7436 (cl-map-extents): Add compatibility aliases (bug#12135).
7438 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7440 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7441 tests by `ignore-error'.
7442 (tramp-find-shell): Open also a new shell, when cache is already
7443 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7445 2012-08-08 Juri Linkov <juri@jurta.org>
7447 * bookmark.el: Add `defaults' property to the bookmark record.
7448 (bookmark-current-buffer): Doc fix.
7449 (bookmark-make-record): Add `defaults' property with default values
7450 to the bookmark record.
7451 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7452 with `bookmark-insert-current-bookmark'.
7453 (bookmark-set): Get `defaults' property from the bookmark record
7454 and use it in `read-from-minibuffer'.
7455 (bookmark-insert-current-bookmark): Remove function.
7457 * info.el (Info-bookmark-make-record): Add `defaults' property
7458 with values of canonical Info node name, the current Info file
7459 name and the current Info node name. (Bug#12107)
7461 2012-08-08 Juri Linkov <juri@jurta.org>
7463 * files.el (basic-save-buffer): Use `buffer-name' as the default
7464 of `read-file-name' when buffer is not visiting a file (bug#12128).
7466 2012-08-08 Juri Linkov <juri@jurta.org>
7468 * info.el (Info-isearch-search): Doc fix.
7469 (Info-search): Change search-failed message from "initial node" to
7470 "end of node" (bug#12078).
7471 (Info-isearch-search): Change `isearch-string-state' to
7472 `isearch--state-string'.
7474 2012-08-08 Glenn Morris <rgm@gnu.org>
7476 * language/persian.el: Remove file.
7477 * language/misc-lang.el: Move unique part of persian.el here.
7478 * loadup.el: Remove language/persian.
7480 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7482 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7484 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7486 * progmodes/python.el: Fix defsubst warning.
7487 (python-syntax-context) Rename from python-info-ppss-context.
7488 (python-syntax-context-type): Rename from
7489 python-info-ppss-context-type.
7490 (python-syntax-comment-or-string-p): Rename from
7491 python-info-ppss-comment-or-string-p.
7493 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7495 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7497 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7499 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7500 a defcustom that is quoted with backquote.
7502 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7503 Fix handling of interactive spec when the body uses return.
7504 (math-do-arg-check, math-define-function-body): Use backquote forms.
7505 * calc/calc-ext.el (math-defcache): Likewise.
7506 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7507 * allout.el (allout-new-exposure): Likewise.
7508 * calc/calcalg2.el (math-tracing-integral): Likewise.
7509 * info.el (Info-last-menu-item): Likewise.
7510 * emulation/vip.el (vip-loop): Likewise.
7511 * textmodes/artist.el (artist-funcall): Likewise.
7512 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7513 Construct menu-item directly.
7515 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7518 2012-08-07 Chong Yidong <cyd@gnu.org>
7520 * simple.el (deactivate-mark): Preserve text properties when
7521 saving the primary selection (Bug#8384).
7523 2012-08-07 Kevin Ryde <user42@zip.com.au>
7525 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7526 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7527 and continue processing (Bug#12110).
7529 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7531 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7532 syntax-propertize-function (bug#10095).
7534 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7537 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7538 describe-function-1.
7539 (describe-function-1): Use them. Move compiler macro after sig.
7540 (help-fns--compiler-macro): Use function-get. Assume we're already in
7541 standard-output. Adjust layout to new call order.
7543 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7544 re-binding a symbol that has a symbol-macro (bug#12119).
7546 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7548 * language/persian.el: New file. (Bug#11812)
7549 * loadup.el: Add language/persian.el.
7551 2012-08-06 Chong Yidong <cyd@gnu.org>
7553 * window.el (window--maybe-raise-frame): New function.
7554 (window--display-buffer): Split off from here.
7555 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7556 (display-buffer-pop-up-window, display-buffer-use-some-window):
7557 Obey an inhibit-switch-frame action alist entry.
7558 (display-buffer): Update doc.
7560 * replace.el (occur-after-change-function): Avoid losing focus by
7561 using the inhibit-switch-frame display parameter (Bug#12139).
7563 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7565 Make internal shell process buffer names start with space.
7566 * progmodes/python.el (python-shell-make-comint): Add optional
7568 (run-python-internal): Use it.
7569 (python-shell-internal-get-or-create-process): Check for new
7570 internal buffer names.
7572 2012-08-06 Glenn Morris <rgm@gnu.org>
7574 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7575 Do less getting and setting of environment variables.
7577 2012-08-05 Chong Yidong <cyd@gnu.org>
7579 * proced.el (proced): Add substitution string to docstring to
7580 trigger autoloading of the proced library on C-h f (Bug#1768).
7582 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7583 Don't show defvars which have no second argument (Bug#8638).
7585 * imenu.el (imenu-generic-expression): Move documentation here
7586 from imenu--generic-function.
7587 (imenu--generic-function): Refer to imenu-generic-expression.
7589 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7591 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7592 indentation declaration.
7593 (viper-loop): Add indentation declaration (Bug#7025).
7595 2012-08-05 Chong Yidong <cyd@gnu.org>
7597 * help-fns.el (describe-variable): Add hyperlink for
7598 directory-local variables files. Improve buffer-local and
7599 permanent-local reporting; suggested by MON KEY (Bug#6644).
7601 * help-mode.el (help-dir-local-var-def): New button type.
7603 * files.el (kill-buffer-hook): Provide a defvar.
7605 2012-08-05 Glenn Morris <rgm@gnu.org>
7607 * eshell/esh-ext.el (eshell/addpath):
7608 Also update eshell-path-env. (Bug#12013)
7610 2012-08-05 Chong Yidong <cyd@gnu.org>
7612 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7614 * fringe.el (fringe-styles): Add docstring.
7615 (fringe--check-mode): New function.
7616 (set-fringe-mode, set-fringe-style): Use it.
7617 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7619 * files.el (set-auto-mode): Fix invalid setq call.
7621 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * isearch.el: Misc simplification; use defstruct.
7624 (isearch-mode-map): Dense maps now work like sparse ones.
7625 (isearch--state): New defstruct.
7626 (isearch-string-state, isearch-message-state, isearch-point-state)
7627 (isearch-success-state, isearch-forward-state)
7628 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7629 (isearch-wrapped-state, isearch-barrier-state)
7630 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7631 replaced by defstruct's accessors.
7632 (isearch--set-state): Rename from isearch-top-state and change
7634 (isearch-push-state): Use new isearch--get-state.
7635 (isearch-toggle-word): Disable regexp when enabling word.
7636 (isearch-message-prefix): Remove unused arg _c-q-hack.
7637 (isearch-message-suffix): Remove unused arg _ellipsis.
7639 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7641 * simple.el (list-processes--refresh): For a server use :host or
7642 :local as the address.
7643 (list-processes): Doc fix.
7645 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7647 * lisp/mpc.el: Support password in host argument.
7648 (mpc--proc-connect): Parse and use new password element.
7649 Set mpc-proc variable instead of returning process.
7650 (mpc-proc): Adjust accordingly.
7652 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7654 * whitespace.el (whitespace-display-mappings): Use Unicode
7655 codepoints, instead of emacs-mule codepoints. See
7656 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7659 * files.el (file-truename): Don't skip symlink-chasing part on
7660 windows-nt. Incorporate the resolution of 8+3 short aliases on
7661 Windows into the loop that recursively chases symlinks.
7662 Compare directory and its parent case-insensitively on MS-Windows and
7665 2012-08-03 Chong Yidong <cyd@gnu.org>
7667 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7669 * sort.el (sort-regexp-fields): Doc fix.
7671 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7673 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7674 labels regex position point at the expected place.
7676 2012-08-03 MON KEY <monkey@sandpframing.com>
7678 * net/imap.el (imap-interactive-login, imap-authenticate)
7679 (imap-mailbox-lsub, imap-mailbox-list)
7680 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7681 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7682 (imap-parse-response): Doc fix.
7684 2012-08-03 João Távora <joaotavora@gmail.com>
7686 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7687 if sexp scanning does not move point (Bug#5734).
7689 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7691 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7692 Add listings, minted, and ctable packages.
7693 (reftex-label-alist-builtin): Move listings, minted, and ctable
7694 entries before LaTeX.
7695 (reftex-label-alist): Docfix.
7697 2012-08-02 Bastien Guerry <bzg@gnu.org>
7699 * replace.el (occur): Fix docstring (bug#12122).
7701 2012-08-02 Glenn Morris <rgm@gnu.org>
7703 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7705 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7707 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7708 * international/mule-cmds.el: Create
7709 inactivate-current-input-method-function as an obsolete alias for
7710 deactivate-current-input-method-function. See Katsumi Yamaoka in
7711 <http://bugs.gnu.org/10150#46>.
7713 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7715 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7718 2012-08-01 Glenn Morris <rgm@gnu.org>
7720 * progmodes/autoconf.el (autoconf-definition-regexp):
7721 Add AH_TEMPLATE, adjust submatch numbering.
7722 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7723 (autoconf-current-defun-function): Update for above change.
7724 (autoconf-current-defun-function): First skip to end of current word.
7726 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7728 * calendar/cal-html.el (cal-html-insert-agenda-days):
7729 Fix typo. (Bug#12018)
7731 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7733 Shell processes: enhancements to startup and CEDET compatibility.
7734 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7735 (python-shell-make-comint): accept-process-output at startup.
7736 (run-python-internal): Set inferior-python-mode-hook to nil.
7737 (python-shell-internal-get-or-create-process): call sit-for.
7738 (python-preoutput-result): Add obsolete alias.
7739 (python-shell-internal-send-string): Use it.
7740 (python-shell-send-setup-code): Remove call to
7741 accept-process-output.
7743 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7745 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7748 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7750 * calc-mode.el (calc-basic-simplification-mode): Rename from
7751 `calc-limited-simplification-mode'.
7752 (calc-alg-simplification-mode): New function.
7753 (calc-set-simplify-mode): Adjust message.
7755 * calc.el (calc-set-mode-line): Adjust mode line display for
7756 basic simplification mode.
7758 * calc-help.el (calc-m-prefix-help): Update help message.
7760 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7761 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7763 2012-07-31 Bastien Guerry <bzg@gnu.org>
7765 * man.el (man): Fix comment. (bug#12101)
7767 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7769 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7770 Don't return a non-nil value when no suitable buffer was found.
7772 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7774 * progmodes/python.el (run-python-internal): Disable font lock for
7777 2012-07-30 Stefan Merten <smerten@oekonux.de>
7779 * textmodes/rst.el: Silence `checkdoc-ispell'.
7780 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7781 (rst-official-version, rst-official-cvs-rev)
7782 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7783 (rst-mode-map): New key binding.
7785 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7787 Update .PHONY listings in makefiles.
7788 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7789 autoloads, update-subdirs, updates, bzr-update, update-authors,
7790 compile-onefile, compile-calc, backup-compiled-files,
7791 compile-after-backup, compile-one-process, mh-autoloads,
7792 bootstrap-clean, distclean, maintainer-clean.
7794 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7796 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7797 (calc-set-mode-line): Don't display "AlgSimp ".
7799 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7800 (calc-lim-simplify-mode): New function.
7801 (calc-set-simplify-mode): Default to 'alg.
7802 (calc-default-simplify-mode): Make algebraic simplifications
7805 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7806 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7808 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7809 indicate new simplification modes.
7811 * calc/README: Mention new default simplification mode.
7813 * calc/calc.el (math-normalize-error): New variable.
7814 (math-normalize): Set `math-normalize-error' to t
7815 when there's an error.
7817 * calc/calc-alg.el (math-simplify): Don't simplify when
7818 `math-normalize' returns an error.
7820 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7822 * international/mule-cmds.el (set-locale-environment): Revert last
7823 change, since display-graphic-p returns nil when this function is
7824 called during startup. Instead...
7826 * term/w32console.el (terminal-init-w32console): ...setup the
7827 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7829 2012-07-29 Juri Linkov <juri@jurta.org>
7831 * simple.el (goto-line): Don't display default line number in the
7832 prompt because it should be displayed by `read-number' (bug#9952).
7833 Add the current line number to the defaults of `goto-line' to
7834 allow its easier modification by users with `M-n' (bug#9201).
7836 * subr.el (read-number): Support multiple default values like in
7837 other minibuffer reading functions. Replace `read' with
7838 `string-to-number' for consistency with `number-to-string'.
7840 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7842 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7843 * emulation/viper-init.el (viper-deactivate-input-method-action):
7844 Rename from viper-inactivate-input-method-action.
7845 (viper-deactivate-input-method):
7846 Rename from viper-inactivate-input-method.
7847 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7848 * international/mule-cmds.el (deactivate-input-method):
7849 Rename from inactivate-input-method.
7850 Also run input-method-deactivate-hook.
7851 (deactivate-current-input-method-function):
7852 Rename from inactivate-current-input-method-function.
7853 (input-method-deactivate-hook): New hook.
7854 (input-method-inactivate-hook): Mark obsolete.
7855 (inactivate-input-method): Mark obsolete.
7857 * international/quail.el (quail-activate):
7858 Also run quail-deactivate-hook.
7859 (quail-deactivate): Rename from quail-inactivate.
7860 * international/robin.el (robin-activate):
7861 Also run robin-deactivate-hook.
7862 (robin-deactivate): Rename from robin-inactivate.
7864 2012-07-29 Chong Yidong <cyd@gnu.org>
7866 * simple.el (indicate-copied-region): New function.
7867 (kill-ring-save): Split off from here.
7869 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7870 (kill-rectangle): Set deactivate-mark to t on read-only error.
7872 * register.el (copy-to-register, copy-rectangle-to-register):
7873 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7874 (append-to-register, prepend-to-register): Call indicate-copied-region.
7876 2012-07-29 Juri Linkov <juri@jurta.org>
7878 * simple.el (async-shell-command-buffer): New defcustom.
7879 (shell-command): Use it. (Bug#4719)
7881 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7883 * international/mule-cmds.el (set-locale-environment): In a
7884 console session on MS-Windows, set up keyboard and terminal
7885 encoding from the OEM codepage, not the ANSI codepage.
7888 2012-07-28 Chong Yidong <cyd@gnu.org>
7890 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7893 2012-07-28 Leo Liu <sdl.web@gmail.com>
7895 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7896 the alist (bug#12029).
7898 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7900 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7901 (compile-always, compile-first)
7902 ($(lisp)/calendar/cal-loaddefs.el)
7903 ($(lisp)/calendar/diary-loaddefs.el)
7904 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7905 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7906 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7907 instead of on update-subdirs.
7908 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7910 2012-07-28 Chong Yidong <cyd@gnu.org>
7912 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7913 directory if vc-deduce-backend returns nil (Bug#7350).
7915 * simple.el (delete-trailing-lines): New option.
7916 (delete-trailing-whitespace): Obey it (Bug#11879).
7918 2012-07-28 David Engster <deng@randomsample.de>
7920 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7921 Explanation of new 'symbol-qnames feature in doc-strings.
7922 (xml-maybe-do-ns): Return expanded names as plain symbols if
7923 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7924 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7926 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7928 Consistent completion in inferior python with emacs -nw.
7929 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7930 binding in inferior-python-mode-map with "\t".
7931 (python-shell-completion-complete-at-point)
7932 (python-completion-complete-at-point): Remove interactive spec.
7934 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7936 * calc/calccomp.el (math-compose-expr): Undo previous change.
7938 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7940 * progmodes/python.el (python-mode-map): Add keybinding for
7942 (python-shell-make-comint): Fix pop-to-buffer call.
7943 (run-python): Autoload. New arg SHOW.
7944 (python-shell-get-or-create-process): Do not pop python process
7947 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7949 * notifications.el (notifications-on-action-signal)
7950 (notifications-on-closed-signal): Use also the bus address for the map.
7951 (notifications-notify, notifications-close-notification)
7952 (notifications-get-capabilities): Add optional argument BUS.
7954 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7956 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7957 Add support for the lstlisting and minted environments, and for the
7959 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7960 labels written in keyvals syntax.
7962 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7964 * calc/calccomp.el (math-compose-expr): Use parentheses when
7965 there is a product in the denominator of a fraction.
7967 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7969 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7970 ($(lisp)/calendar/diary-loaddefs.el)
7971 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7972 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7973 Fixes failures in parallel bootstrap because subdirs.el is being
7974 rewritten while the autoload files are built at the same time,
7975 which needs to load subdirs.el.
7977 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7979 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7980 (mouse-drag-line): Don't exit tracking when a switch-frame or
7981 switch-window event occurs (Bug#12006).
7983 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * mouse.el (popup-menu): Fix last change.
7987 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7989 Autoload from Lisp with more care. Follow aliases when looking for
7990 function properties.
7991 * subr.el (autoloadp): New function.
7992 (symbol-file): Use it.
7993 (function-get): New function.
7994 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7996 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7997 (lisp-indent-function):
7998 * emacs-lisp/gv.el (gv-get):
7999 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8000 * emacs-lisp/byte-opt.el (byte-optimize-form):
8001 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8002 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8004 * emacs-lisp/cl.el: Don't propagate function properties any more.
8006 * speedbar.el (speedbar-add-localized-speedbar-support):
8007 * emacs-lisp/disass.el (disassemble-internal):
8008 * desktop.el (desktop-load-file):
8009 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8010 (describe-function-1):
8011 * emacs-lisp/find-func.el (find-function-noselect):
8012 * emacs-lisp/elp.el (elp-instrument-function):
8013 * emacs-lisp/advice.el (ad-has-proper-definition):
8014 * apropos.el (apropos-safe-documentation, apropos-macrop):
8015 * emacs-lisp/debug.el (debug-on-entry):
8016 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8017 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8018 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8020 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8022 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8023 function, not an obsolete variable (Bug#12046).
8025 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8027 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8029 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8031 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8032 window only if it is still live (Bug#12034).
8034 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8036 * subr.el (redirect-frame-focus): Add advertised calling
8037 convention (Bug#12030).
8039 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8041 Prefer typical American spelling for "acknowledgment".
8042 * vc/add-log.el (change-log-acknowledgment): Rename from
8043 change-log-acknowledgement, with an alias for the old name.
8045 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8047 * calc-alg.el (math-simplify-divide): Don't cross multiply
8048 in an equation when the lhs is a variable.
8050 2012-07-24 Julien Danjou <julien@danjou.info>
8052 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8055 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8057 * startup.el (command-line): Don't display an empty user name in
8058 the error message about non-existent home directory, when
8059 init-file-user was set to an empty string. See
8060 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8061 for the details and context.
8063 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8065 * ses.el (ses-cell-formula-aset): New macro.
8066 (ses-cell-references-aset): New macro.
8067 (ses-cell-p): New function.
8068 (ses-rename-cell): Do no longer rely on complex operations like
8069 ses-cell-set-formula or ses-set-cell to change the cell and handle
8070 the undo at the same time, but rather use lower level new macros
8071 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8072 the undo directly. Refresh the mode line.
8074 2012-07-21 Leo Liu <sdl.web@gmail.com>
8076 * progmodes/cc-cmds.el (c-defun-name):
8077 Use match-string-no-properties instead for consistency.
8079 2012-07-20 Leo Liu <sdl.web@gmail.com>
8081 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8084 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8086 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8089 * progmodes/bug-reference.el, misearch.el: Provide themselves
8092 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8093 of narrowed buffer (bug#11966).
8095 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8097 * ses.el (ses-rename-cell): Set new name also in reference list of
8098 cells of which the renamed cell depends.
8100 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8102 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8103 to check whether menu-bar is shown or not. If not shown,
8104 show the menu-bar as a popup menu instead of using tmm.
8105 * mouse.el (popup-menu): Accept `point' as `position' argument.
8107 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8109 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8110 up inside string symbol literal (bug#11923).
8112 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8114 * startup.el (fancy-startup-text): Read the whole tutorial, not
8115 just its first 256 bytes. Prevents gibberish in display of the
8118 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8120 Drop idle buffer compaction due to an absence of the
8122 * compact.el: Remove.
8124 2012-07-19 Sam Steingold <sds@gnu.org>
8126 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8127 vc-bzr-pull & vc-bzr-merge-branch.
8128 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8129 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8130 for consistency with compilation-error-regexp-alist.
8131 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8132 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8133 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8134 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8136 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * emacs-lisp/chart.el: Use lexical-binding.
8139 (chart-emacs-storage): Don't hardcode the list of entries.
8141 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8143 Next round of tweaks caused by Fgarbage_collect changes.
8144 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8146 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8148 Compact buffers when idle.
8149 * compact.el: New file.
8151 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8153 * subr.el (eventp): Presume that if it looks vaguely like an event,
8154 it's an event (bug#10190).
8156 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8158 Enhancements to ppss related code (thanks Stefan).
8159 * progmodes/python.el (python-indent-context)
8160 (python-indent-calculate-indentation, python-indent-dedent-line)
8161 (python-indent-electric-colon, python-nav-forward-block)
8162 (python-mode-abbrev-table)
8163 (python-info-assignment-continuation-line-p): Simplify checks
8165 (python-info-continuation-line-p): Cleanup.
8166 (python-info-ppss-context): Do not catch 'quote.
8167 (python-info-ppss-context-type)
8168 (python-info-ppss-comment-or-string-p): Simplify.
8170 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8172 * progmodes/python.el: Enhancements to eldoc support.
8173 (python-info-current-symbol): New function.
8174 (python-eldoc-at-point): Use python-info-current-symbol.
8175 (python-info-current-defun): Fix cornercase on first defun scan.
8176 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8177 and signal error when no inferior python process is available.
8179 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8181 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8182 assume it's always t.
8183 (vc-git-registered): Remove caching, the function is only called
8185 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8187 2012-07-18 Chong Yidong <cyd@gnu.org>
8189 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8191 * simple.el (count-words): Report on narrowing (Bug#9959).
8193 * bindings.el: Bind M-= to count-words.
8195 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8197 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8199 * progmodes/sh-script.el (sh-imenu-generic-expression):
8200 Capture a function with `function' keyword and without parentheses
8201 like "function FOO" (bug#11856).
8203 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8205 * window.el (split-window-sensibly): Make WINDOW argument
8208 2012-07-18 Chong Yidong <cyd@gnu.org>
8210 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8212 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8213 and make C-x 8 RET exit isearch (Bug#11439).
8215 * international/iso-transl.el: Move isearch-mode-map key
8216 definitions to isearch.el.
8218 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8221 (eieio-defclass): Use gv-define-setter when possible.
8223 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8225 Reflect recent changes in Fgarbage_collect.
8226 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8227 reflect new format of data returned by Fgarbage_collect.
8229 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8231 New utility functions + python-info-ppss-context fix (Bug#11910).
8232 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8233 (python-info-ppss-comment-or-string-p): New functions.
8234 (python-info-ppss-context): Small fix for string check.
8236 2012-07-17 Juri Linkov <juri@jurta.org>
8238 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8239 (dired-do-async-shell-command): Don't add `*' at the end of the
8240 command (Bug#11815).
8241 (dired-do-shell-command): Doc fix.
8242 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8243 Join the individual commands using either "&" or ";" as the
8244 separator depending on the values of these trailing characters.
8245 At the end re-add the trailing "&". (Bug#10598)
8247 * simple.el (async-shell-command): Sync the interactive spec with
8248 `shell-command'. Doc fix.
8249 (shell-command): Doc fix.
8251 2012-07-17 Juri Linkov <juri@jurta.org>
8253 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8255 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8257 Final renames and doc fixes for movement commands (bug#11899).
8258 * progmodes/python.el (python-nav-beginning-of-statement):
8259 Rename from python-nav-statement-start.
8260 (python-nav-end-of-statement): Rename from
8261 python-nav-statement-end.
8262 (python-nav-beginning-of-block): Rename from
8263 python-nav-block-start.
8264 (python-nav-end-of-block): Rename from python-nav-block-end.
8266 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8268 * progmodes/python.el (python-shell-send-string-no-output):
8269 Allow accept-process-output to quit, keeping shell process ready for
8270 future interactions (Bug#11868).
8272 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8274 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8276 * emacs-lisp/elint.el (elint-find-args-in-code):
8277 Use help-function-arglist, so as to handle lexical byte-code.
8279 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8282 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8285 Avoid spuriously marking the buffer as modified because of c-is-sws.
8287 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8288 as not-a-comment (bug#11946).
8290 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8291 for uninterned vars.
8293 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8294 Use read-event since we don't really want to read chars but bytes.
8296 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8297 $$..$$ but also $..$ using regexps (bug#11953).
8298 Use tex-verbatim for \url and \path.
8299 (tex-font-lock-keywords): Define as defconst like the others.
8300 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8302 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8304 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8305 alias for insert-char.
8307 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8309 * progmodes/python.el: Simplified imenu implementation.
8310 (python-nav-jump-to-defun): Remove command.
8311 (python-mode-map): Use `imenu' instead.
8312 (python-nav-list-defun-positions-cache)
8313 (python-imenu-include-defun-type, python-imenu-make-tree)
8314 (python-imenu-subtree-root-label, python-imenu-index-alist):
8316 (python-nav-list-defun-positions, python-nav-read-defun)
8317 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8318 (python-imenu-make-tree, python-imenu-create-index):
8320 (python-mode): Update to interact with imenu by setting
8321 `imenu-extract-index-name-function' only.
8323 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8325 * progmodes/python.el: Enhancements to navigation commands.
8326 (python-nav-backward-sentence)
8327 (python-nav-forward-sentence): Remove.
8328 (python-nav-backward-statement, python-nav-forward-statement)
8329 (python-nav-statement-start, python-nav-statement-end)
8330 (python-nav-backward-block, python-nav-forward-block)
8331 (python-nav-block-start, python-nav-block-end)
8332 (python-nav-forward-sexp-function)
8333 (python-info-current-line-comment-p)
8334 (python-info-current-line-empty-p): New functions.
8335 (python-indent-context): Use `python-nav-statement-start'.
8337 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8339 * eshell/em-ls.el (eshell/ls): Use `apply'.
8341 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8342 multi-hops, instead of Tramp internals.
8344 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8346 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8347 when F1 and F2 are located on different hosts.
8349 2012-07-14 Chong Yidong <cyd@gnu.org>
8351 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8352 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8353 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8354 (xterm-mouse--read-event-sequence-1000)
8355 (xterm-mouse--read-event-sequence-1006): New functions. For old
8356 mouse protocol, handle M-mouse-X events correctly.
8357 (xterm-mouse-event): New arg specifying mouse protocol.
8358 (turn-on-xterm-mouse-tracking-on-terminal)
8359 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8360 sequence to toggle extended coordinates on newer XTerms.
8361 This appears to be harmless on terminals which do not support this.
8363 2012-07-14 Leo Liu <sdl.web@gmail.com>
8365 Add fringe bitmap indicators for flymake. (Bug#11253)
8366 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8367 (flymake-make-overlay): New arg BITMAP.
8368 (flymake-error-bitmap, flymake-warning-bitmap)
8369 (flymake-fringe-indicator-position): New user variables.
8371 * fringe.el: New bitmap exclamation-mark.
8373 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8375 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8378 2012-07-14 Chong Yidong <cyd@gnu.org>
8380 * electric.el (electric-pair-post-self-insert-function): Fix pair
8381 insertion in empty-region case (Bug#11520).
8383 2012-07-14 Chong Yidong <cyd@gnu.org>
8385 * bindings.el: Consolidate ctl-x-r-map bindings.
8386 Bind copy-rectangle-as-kill to C-x r w.
8388 * rect.el, register.el: Move bindings to bindings.el.
8390 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8392 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8394 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8396 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8398 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8400 * bindings.el (top): Use `mapc' instead of `mapcar'.
8402 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8404 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8406 * progmodes/sql.el (sql-comint): Suppress the check for program on
8407 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8410 2012-07-13 Chong Yidong <cyd@gnu.org>
8412 * bindings.el: Assign a non-nil permanent-local property to
8413 per-buffer variables which lack a default value (Bug#11930).
8415 * help-fns.el (describe-variable): In the "automatically becomes
8416 local" notice, take note of permanent-local variables.
8418 2012-07-13 Chong Yidong <cyd@gnu.org>
8420 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8421 to allow printing the message when called from Lisp.
8423 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8424 Remove toggle-read-only.
8426 * bs.el (bs-toggle-readonly):
8427 * buff-menu.el (Buffer-menu-toggle-read-only):
8428 Remove with-no-warnings around toggle-read-only.
8430 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8431 Remove with-no-warnings around toggle-read-only.
8432 (ffap-read-only, ffap-read-only-other-window)
8433 (ffap-read-only-other-frame): Callers changed.
8435 * help-mode.el: Don't require view package.
8436 (help-mode-finish): Set buffer-read-only instead of calling
8439 * bindings.el (mode-line-toggle-read-only):
8440 * dired.el (dired-toggle-read-only):
8441 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8442 with non-nil second arg.
8444 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8445 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8448 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8450 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8453 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8455 More CL cleanups and reduction of use of cl.el.
8456 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8457 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8458 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8459 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8460 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8461 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8462 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8463 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8464 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8465 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8466 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8467 * eshell/em-cmpl.el, eshell/em-banner.el:
8468 * calendar/parse-time.el: Use cl-lib.
8469 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8470 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8471 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8472 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8473 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8474 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8475 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8476 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8477 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8478 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8479 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8480 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8481 `lambda' rather than with `quote'.
8482 (eshell-do-opt): Adjust accordingly.
8483 (eshell-process-option): Simplify.
8484 * eshell/esh-var.el:
8485 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8486 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8487 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8488 to `pcase--dontcare'.
8489 * emacs-lisp/cl.el (labels): Mark obsolete.
8490 (cl--letf, letf): Move to cl-lib.
8491 (cl--letf*, letf*): Remove.
8492 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8493 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8494 (cl-progv): Rewrite.
8495 (cl--letf, cl-letf): Move from cl.el.
8496 (cl-letf*): New macro.
8497 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8499 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8501 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8503 2012-07-11 Chong Yidong <cyd@gnu.org>
8505 * vc/log-edit.el (log-edit-vc-backend): New variable.
8506 (log-edit): Doc fix.
8508 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8509 argument of log-edit to set up all local variables.
8510 (vc-start-logentry): New optional arg specifying VC backend.
8512 * vc/vc.el (vc-checkin): Use it.
8513 (vc-deduce-fileset): Handle Log Edit buffers.
8514 (vc-diff): Make first argument optional too.
8516 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8518 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8520 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8521 command, just in case. The function is not needed anymore.
8522 (eshell-external-command): Do not call `eshell-remote-command'.
8524 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8526 Reduce use of (require 'cl).
8527 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8528 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8529 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8530 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8531 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8532 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8533 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8534 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8535 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8536 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8537 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8538 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8539 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8540 (byte-compile-unfold-bcf, byte-compile-check-variable):
8541 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8542 (byte-compile-nilconstp):
8543 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8544 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8546 * emacs-lisp/gv.el (cond): Make it a valid place.
8547 (if): Simplify slightly.
8549 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8550 (pcase--self-quoting-p): New function.
8551 (pcase--u1): Use it.
8553 2012-07-10 Glenn Morris <rgm@gnu.org>
8555 * emacs-lisp/authors.el (authors-fixed-entries):
8556 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8558 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8560 Rename configure.in to configure.ac (Bug#11603).
8561 * emacs-lisp/authors.el (authors-canonical-file-name):
8562 * progmodes/autoconf.el (autoconf-mode):
8563 Prefer configure.ac to configure.in.
8565 2012-07-08 Chong Yidong <cyd@gnu.org>
8567 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8568 Implement the mouse-1-click-follows-link handling properly.
8570 * info.el (Info-link-keymap): Use follow-link mechanism for
8571 header-line links (Bug#374).
8573 * simple.el (deactivate-mark): Do not set the primary selection
8574 if another program has acquired it (Bug#11772).
8576 2012-07-07 Kevin Ryde <user42@zip.com.au>
8578 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8579 (woman-decode-region): Replace escaped-escapes without destroying
8580 bold or underline (Bug#11552).
8581 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8583 2012-07-07 Chong Yidong <cyd@gnu.org>
8585 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8586 (interprogram-cut-function, interprogram-paste-function):
8587 Mention that we typically mean the clipboard.
8589 2012-07-06 Glenn Morris <rgm@gnu.org>
8591 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8593 * files.el (toggle-read-only): Restrict message to interactive use.
8595 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8597 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8599 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8601 2012-07-06 Glenn Morris <rgm@gnu.org>
8603 * Makefile.in (compile-one-process): Rename from "recompile".
8605 * Makefile.in (bzr-update): "compile" is the same as "recompile
8606 autoloads", but parallelizable, so use that instead.
8608 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8610 * window.el (quit-window): Always restore window height when
8611 it's saved in quit-restore parameter (Bug#11810).
8613 2012-07-06 Glenn Morris <rgm@gnu.org>
8615 * simple.el (kill-whole-line): Doc tweak.
8617 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8619 * files.el (file-relative-name): Compare file names
8620 case-insensitively if on MS-Windows or MS-DOS, or if
8621 read-file-name-completion-ignore-case is non-nil. Don't use
8622 case-fold-search for this purpose. (Bug#11827)
8624 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8626 * calendar/cal-dst.el (calendar-current-time-zone):
8627 Return calendar-current-time-zone-cache if non-nil.
8629 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8630 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8632 * calendar/cal-dst.el (calendar-current-time-zone):
8633 Return calendar-current-time-zone-cache if non-nil.
8635 2012-07-06 Glenn Morris <rgm@gnu.org>
8637 * Makefile.in (cvs-update): Remove old alias.
8639 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8641 Sync with Tramp 2.2.6-pre.
8643 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8644 compatible declaration.
8646 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8647 Protect `list-load-path-shadows' call.
8649 * net/tramp-compat.el (top): Require packages, which aren't
8650 autoloaded anymore for XEmacs. Protect call of
8651 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8652 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8653 it hurts at least for SXEmacs.
8654 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8655 standard-value for `temporary-file-directory'.
8657 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8658 Redirect stderr to /dev/null.
8659 (tramp-sh-handle-write-region): uid and gid can be floats.
8660 Reported by Russell Sim <russell.sim@gmail.com>.
8661 (tramp-sh-handle-vc-registered): Hide errors.
8662 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8663 and `start-file-process'.
8664 (tramp-maybe-open-connection): Check also whether `non-essential'
8667 2012-07-04 Chong Yidong <cyd@gnu.org>
8669 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8670 (xml-parse-tag): Likewise, and avoid changing entity tables.
8671 (xml-syntax-table): Define from scratch, making sure not to give
8672 x2000 and other Unicode spaces whitespace syntax, since those are
8674 (xml-parse-fragment): Delete unused function.
8675 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8676 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8677 (xml-entity-ref, xml-pe-reference-re)
8678 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8679 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8680 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8681 (xml-entity-value-re): Use syntax references in regexps where
8682 possible; no need to define inside a let-binding.
8683 (xml-parse-dtd): Use xml-pe-reference-re.
8684 (xml-entity-or-char-ref-re): New defconst.
8685 (xml-parse-string, xml-substitute-special): Use it.
8687 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8690 (find-file--read-only): New function.
8691 (find-file-read-only, find-file-read-only-other-window)
8692 (find-file-read-only-other-frame): Use it.
8693 (insert-file-contents-literally): Don't `fset'.
8694 (get-free-disk-space): Use locate-dominating-file.
8696 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8697 function is already compiled.
8699 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8701 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8703 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8704 files on the same host.
8706 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8708 * help-fns.el (describe-function-1): Only call
8709 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8711 2012-07-03 Chong Yidong <cyd@gnu.org>
8713 * xml.el: Protect parser against XML bombs.
8714 (xml-entity-expansion-limit): New variable.
8715 (xml-parse-string, xml-substitute-special): Use it.
8716 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8718 2012-07-03 Glenn Morris <rgm@gnu.org>
8720 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8721 Allow linking to specific messages in debbugs reports (eg 123#5).
8723 2012-07-02 Chong Yidong <cyd@gnu.org>
8725 * xml.el: Fix entity and character reference expansion, allowing
8726 them to expand into markup as per XML spec.
8727 (xml-default-ns): New variable.
8728 (xml-entity-alist): Use XML spec definitions for lt and amp.
8729 (xml-parse-region): Make first two arguments optional.
8730 Discard text properties.
8731 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8732 All callers changed.
8733 (xml-parse-tag): Call xml-parse-tag-1. For backward
8734 compatibility, this function should not modify buffer contents.
8735 (xml-parse-tag-1): Fix opening-tag regexp.
8736 (xml-parse-string): Rewrite, handling entity and character
8737 references properly.
8738 (xml--entity-replacement-text): Signal an error if a parameter
8739 entity is undefined.
8741 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8743 * comint.el (comint-output-filter): Filter out repeated prompts.
8745 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8746 and file-name-absolute-p.
8747 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8750 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8753 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8754 Rename from byte-compile--refiy-function. All uses changed.
8756 2012-07-01 Chong Yidong <cyd@gnu.org>
8758 * xml.el (xml--parse-buffer): New function. Move most of
8759 xml-parse-region here.
8760 (xml-parse-region): Copy region into a temporary buffer, since
8761 parameter entity substitution requires changing buffer contents.
8762 Use xml--parse-buffer.
8763 (xml-parse-file): Use xml--parse-buffer.
8764 (xml-parse-dtd): Make parameter entity substitution work right.
8765 Use proper regexps for ELEMENT declarations (Bug#7172).
8767 2012-06-30 Glenn Morris <rgm@gnu.org>
8769 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8771 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8772 Remove outdated and unnecessary dbus declarations.
8774 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8776 * emacs-lisp/timer.el (timer-until): Subtract results of
8777 float-time, instead of taking float-time of the result of
8778 time-subtract, since float-time signals an error for negative time
8781 2012-06-30 Chong Yidong <cyd@gnu.org>
8783 * xml.el (xml-*-re): Convert defvars into defconsts, and
8784 eval-and-compile them so eval-and-compile works on derivatives.
8785 (xml--entity-replacement-text): Use eval-and-comple.
8787 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8789 * vc/vc-git.el (vc-git-registered): Use cache property
8791 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8792 `vc-git-working-revision' in order to benefit from the cache.
8793 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8795 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8797 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8798 removed (likely outside Emacs). (Bug#11757)
8800 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8802 * emacs-lisp/cl-lib.el: Require macroexp.
8804 2012-06-30 Chong Yidong <cyd@gnu.org>
8806 * xml.el: Implement XML parameter entities.
8807 (xml-parameter-entity-alist): New variable.
8808 (xml-parse-region, xml-parse-fragment): Preserve previous values
8809 of xml-entity-alist and xml-parameter-entity-alist, so that
8810 repeated calls on different documents do not change them.
8811 (xml-parse-tag): Fix doctype regexp.
8812 (xml--entity-replacement-text): New function.
8813 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8814 properly requires url retrieval which is unimplemented.
8815 (xml-escape-string): Doc fix.
8817 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8819 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8821 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8823 * fringe.el (fringe-mode): Doc fix.
8825 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8827 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8829 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8830 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8832 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8834 * calendar/cal-dst.el (calendar-current-time-zone):
8835 Return calendar-current-time-zone-cache if non-nil.
8837 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8839 * progmodes/which-func.el (which-func-format):
8840 Add mouse-face. (Bug#11698)
8842 2012-06-29 Leo Liu <sdl.web@gmail.com>
8844 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8846 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * minibuffer.el (minibuffer-confirm-exit-commands):
8849 Add completion-at-point (bug#11725).
8851 2012-06-29 Glenn Morris <rgm@gnu.org>
8853 * progmodes/f90.el (f90-font-lock-keywords-2):
8854 Add some preprocessor elements. (Bug#10499)
8856 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8858 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8859 Use syntax-propertize (bug#11739).
8861 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8863 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8865 2012-06-28 Julien Danjou <julien@danjou.info>
8867 * term.el (term-handle-colors-array): Use a set of new faces to
8868 color the terminal. Also uses :inverse-video property.
8869 (term-default-fg-color): Set to nil by default, deprecate in favor
8871 (term-default-bg-color): Set to nil by default, deprecate in favor
8873 (term-current-face): Use `term-face' by default.
8874 (term-bold-attribute): Variable deleted.
8876 2012-06-28 Glenn Morris <rgm@gnu.org>
8878 * simple.el (completion-list-mode-finish):
8879 Don't use toggle-read-only. (Since completion-list-mode has
8880 a special mode-class, it wasn't doing anything extra anyway.)
8882 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8884 Make inlining of other-mode interpreted functions work (bug#11799).
8885 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8886 (byte-compile): Use it to fix compilation of lexical-binding closures.
8887 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8888 function, if needed.
8890 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * help-mode.el (help-make-xrefs): Don't just withstand
8893 cyclic-variable-indirection but any error in documentation-property.
8895 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8897 * bindings.el (bindings--define-key): New function.
8898 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8899 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8900 * bindings.el: Use it to purecopy define-key bindings.
8902 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8904 * emacs-lisp/cl.el (flet): Mark obsolete.
8905 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8906 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8907 * progmodes/js.el (js-c-fill-paragraph):
8908 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8909 (ebrowse-switch-member-buffer-to-derived-class):
8910 * play/5x5.el (5x5-solver): Use cl-flet.
8912 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8913 (cl--symbol-function): New macro.
8914 (cl--letf, cl--letf*): Use it.
8916 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8917 Strip "toggle-" if any.
8919 2012-06-27 Glenn Morris <rgm@gnu.org>
8921 * info.el (Info-default-directory-list): Move here from paths.el.
8922 * paths.el: Remove file, which is now empty.
8923 * loadup.el: No longer load "paths".
8925 * custom.el (custom-initialize-delay): Doc fix.
8927 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8928 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8929 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8930 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8931 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8932 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8933 * eshell/eshell.el (eshell-defgroup): Remove alias.
8935 2012-06-27 Chong Yidong <cyd@gnu.org>
8937 * help.el (help-enable-auto-load): New variable.
8939 * help-fns.el (help-fns--autoloaded-p): New function.
8940 (describe-function-1): Refer to a function as "autoloaded" if it
8941 was autoloaded at any time in the past. Perform autoloading if
8942 help-enable-auto-load is non-nil.
8944 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8946 * makefile.w32-in (compile, compile-always): Depend on
8947 update-subdirs, not on subdirs.el. Otherwise, several different
8948 sub-targets of 'bootstrap' running in parallel could
8949 simultaneously write to subdirs.el, producing a garbled file.
8951 2012-06-26 Sam Steingold <sds@gnu.org>
8953 * files.el (file-name-base): New convenience function.
8954 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8955 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8956 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8957 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8958 * textmodes/ispell.el, textmodes/reftex-ref.el:
8959 * textmodes/tex-mode.el: Use it.
8960 Did not touch cedet and org because they are maintained elsewhere.
8962 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8964 * calendar/calendar.el (calendar-exit): Don't try to delete or
8965 iconify last frame. See:
8966 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8968 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8970 * server.el (server-process-filter): Remember dir in the
8971 process's `server-client-directory' properties.
8973 2012-06-24 Chong Yidong <cyd@gnu.org>
8975 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8978 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8980 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8982 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * help-fns.el (describe-variable): Don't croak when doc is not found.
8985 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8986 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8987 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8988 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8989 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8991 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8993 2012-06-23 Chong Yidong <cyd@gnu.org>
8995 * info.el (Info-mouse-follow-link): Accept symbol values of
8996 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8997 (Info-fontify-node): Use Info-link-keymap for all navigation
8998 buttons, with link-args property to perform the desired action.
8999 (Info-link-keymap): Doc fix.
9000 (Info-next-link-keymap, Info-prev-link-keymap)
9001 (Info-up-link-keymap): Delete now-unused keymaps.
9003 2012-06-23 Chong Yidong <cyd@gnu.org>
9005 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9007 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9010 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9012 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9017 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9018 the requote function doesn't work properly (bug#11714).
9020 2012-06-23 Glenn Morris <rgm@gnu.org>
9022 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9024 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9026 Further GV/CL cleanups.
9027 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9029 (gv--defun-declaration): New function.
9030 (defun-declarations-alist): Use it.
9031 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9032 (gv-place): Autoload.
9033 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9034 original definition of dotimes and dolist.
9035 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9036 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9037 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9038 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9039 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9040 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9041 to the function's definition.
9042 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9046 * env.el: Don't use CL.
9048 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9050 Support higher-resolution time stamps (Bug#9000).
9052 * calendar/time-date.el (with-decoded-time-value): New arg
9053 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9054 (encode-time-value): New optional arg PICO. New type 3.
9055 (time-to-seconds) [!float-time]: Support the new picoseconds
9056 component if it's used.
9057 (seconds-to-time, time-subtract, time-add):
9058 Support ps-resolution time stamps as well.
9060 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9061 (timerp): Timer vectors now have length 9, not 8.
9062 (timer--time): Support new-style (4-part) time stamps.
9063 (timer-next-integral-multiple-of-time): Time stamps now have
9064 picosecond resolution, so take a bit more care about rounding.
9065 (timer-relative-time, timer-inc-time): New optional arg psecs.
9066 (timer-set-time-with-usecs): Set psecs to 0.
9067 (timer--activate): Check psecs component, too.
9069 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9071 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9073 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9074 Move the non-essential binding to the post/pre-command-hook where it is
9075 more obviously correct.
9077 * subr.el (read-passwd): Don't use a history at all.
9078 * savehist.el (savehist-save): Remove password saved accidentally
9079 because of the above bug.
9081 2012-06-22 Bastien Guerry <bzg@gnu.org>
9083 * files.el (toggle-read-only): Display a message telling whether
9084 the buffer is read-only or not (bug#11726).
9086 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9088 * emacs-lisp/gv.el: New file.
9089 * subr.el (push, pop): Extend to generalized variables.
9090 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9091 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9092 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9093 gv-define-simple-setter, and gv-define-expander.
9094 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9095 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9096 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9097 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9098 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9100 (cl-defstruct): Don't define setf-method any more.
9101 * emacs-lisp/cl.el (flet): Don't autoload.
9102 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9103 (define-setf-expander, defsetf, define-modify-macro)
9104 (cl-struct-setf-expander): Move from cl-lib.el.
9105 * emacs-lisp/syntax.el:
9106 * emacs-lisp/ewoc.el:
9107 * emacs-lisp/smie.el:
9108 * emacs-lisp/cconv.el:
9109 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9110 (timer--time): Use gv-define-simple-setter.
9111 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9112 to avoid coding-system problems in subr.el. Adjust all users.
9113 (macroexp--maxsize, macroexp-small-p): New functions.
9114 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9115 * scroll-bar.el (scroll-bar-mode):
9116 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9117 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9118 * winner.el (winner-configuration, winner-make-point-alist)
9119 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9120 * files.el (locate-file-completion-table): Avoid list*.
9122 2012-06-22 Chong Yidong <cyd@gnu.org>
9124 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9125 (dired-create-files): Doc fix (Bug#11329).
9126 (dired-do-copy): Doc fix (Bug#11334).
9127 (dired-mark-read-string): Doc fix (Bug#11553).
9129 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9130 Doc fix (Bug#11326).
9131 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9132 (dired-dwim-target): Doc fix.
9134 * wdired.el (wdired-mode): Doc fix.
9136 2012-06-22 Glenn Morris <rgm@gnu.org>
9138 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9139 (pcmpl-rpm-cache-stamp-file): New constant.
9140 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9141 (pcmpl-rpm-packages): Optionally cache list of packages.
9143 * pcmpl-rpm.el (pcmpl-rpm): New group.
9144 (pcmpl-rpm-query-options): New option.
9145 (pcmpl-rpm-packages): No need to inline it.
9146 Use pcmpl-rpm-query-options.
9148 * calendar/calendar.el (calendar-in-read-only-buffer):
9149 Avoid some needless mode changes.
9151 2012-06-21 Chong Yidong <cyd@gnu.org>
9153 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9154 (desktop-path): Remove . from the default value (Bug#10977).
9155 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9157 2012-06-20 Chong Yidong <cyd@gnu.org>
9159 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9161 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9163 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9166 2012-06-20 Chong Yidong <cyd@gnu.org>
9168 * term.el (term-window-width): Handle the case of a missing right
9170 (term-check-size): Use window-text-height (Bug#5445).
9171 (term-mode): Use define-derived-mode. Minor cleanups.
9172 Set font-lock-defaults (Bug#7692).
9173 (term-move-columns, term-insert-char, term-emulate-terminal)
9174 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9176 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9178 * net/ange-ftp.el (ange-ftp-get-passwd):
9179 Bind `enable-recursive-minibuffers'.
9180 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9182 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9184 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9186 2012-06-19 Glenn Morris <rgm@gnu.org>
9188 * progmodes/python.el (python-mode): Derive from prog-mode.
9190 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9192 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9193 (edt-user-menu-bar-update-buffers): New functions.
9194 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9196 2012-06-19 Chong Yidong <cyd@gnu.org>
9198 * subr.el (with-selected-window): Preserve the selected window's
9199 terminal's top-frame (Bug#4702).
9201 * window.el (save-selected-window): Likewise.
9203 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * progmodes/python.el (python-rx-constituents): Move backquote.
9206 (python-skeleton-define, python-define-auxiliary-skeleton):
9209 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9211 * minibuffer.el (read-file-name-default): Revert the patch from
9214 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9217 (pcase--u1, pcase--q1): Don't use apply-partially.
9219 2012-06-18 Glenn Morris <rgm@gnu.org>
9221 * progmodes/python.el (python-proc, python-buffer)
9222 (python-send-receive, python-send-string): Fix obsolete versions.
9224 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9226 * window.el (special-display-p): Completely remove stringp
9227 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9229 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9231 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9233 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9235 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9236 * net/tramp-sh.el (tramp-maybe-open-connection):
9237 Throw if `non-essential' is non-nil.
9239 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9241 * window.el (special-display-p): Signal an error if BUFFER-NAME
9242 is not a string (Bug#11713).
9244 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9246 * progmodes/python.el (python-info-beginning-of-backslash):
9247 Rename from python-info-beginning-of-backlash, as a spelling fix.
9249 2012-06-17 Chong Yidong <cyd@gnu.org>
9251 * term.el (term-emulate-terminal): If term-check-size is called,
9252 move point to the process mark without resetting point (Bug#4635).
9254 2012-06-17 Glenn Morris <rgm@gnu.org>
9256 * international/mule-cmds.el (mule-menu-keymap)
9257 (set-language-environment, set-locale-environment): Doc tweaks.
9259 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9261 * cus-face.el (custom-face-attributes): Add wave-style underline
9263 * faces.el (set-face-attribute): Update docstring to describe
9264 wave-style underline attribute.
9266 2012-06-16 Chong Yidong <cyd@gnu.org>
9268 * term/xterm.el (terminal-init-xterm): Discard input before
9269 querying background mode (Bug#10959).
9271 2012-06-16 Stefan Merten <smerten@oekonux.de>
9273 * textmodes/rst.el: Added and corrected some comments.
9274 (rst-re-alist-def): Improve symbol syntax.
9275 (rst-mode-syntax-table): Correct syntax entries.
9276 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9277 (rst-official-version, rst-official-cvs-rev): Update version
9280 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9282 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9283 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9285 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9287 * progmodes/python.el: New python.el merge.
9288 (python-guess-indent): Obsolete var.
9289 (python-indent-guess-indent-offset): New defcustom.
9290 (python-indent): Obsolete var.
9291 (python-indent-offset): New defcustom.
9292 (python-python-command, python-jython-command): Delete var.
9293 (python-shell-interpreter): New defcustom.
9294 (python-pdbtrack-do-tracking-p): Delete var.
9295 (python-pdbtrack-activate): New defcustom.
9296 (python-use-skeletons): Obsolete var.
9297 (python-skeleton-autoinsert): New defcustom.
9298 (inferior-python-filter-regexp, python-continuation-offset)
9299 (python-honour-comment-indentation, python-indent-string-contents)
9300 (python-jython-packages, python-mode-hook)
9301 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9302 (python-shell-prompt-alist)
9303 (python-source-modes): Delete defcustoms.
9304 (python-check-buffer-name, python-eldoc-setup-code)
9305 (python-eldoc-string-code, python-ffap-setup-code)
9306 (python-ffap-string-code, python-fill-comment-function)
9307 (python-fill-decorator-function, python-fill-paren-function)
9308 (python-fill-string-function, python-imenu-include-defun-type)
9309 (python-imenu-make-tree, python-imenu-subtree-root-label)
9310 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9311 (python-shell-compilation-regexp-alist)
9312 (python-shell-completion-module-string-code)
9313 (python-shell-completion-pdb-string-code)
9314 (python-shell-completion-setup-code)
9315 (python-shell-completion-string-code)
9316 (python-shell-enable-font-lock, python-shell-exec-path)
9317 (python-shell-extra-pythonpaths)
9318 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9319 (python-shell-process-environment)
9320 (python-shell-prompt-block-regexp)
9321 (python-shell-prompt-output-regexp)
9322 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9323 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9324 (python-shell-virtualenv-path): New defcustoms.
9325 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9326 (inferior-python-mode-syntax-table, python--prompt-regexp)
9327 (python-buffer, python-command python-python-command)
9328 (python-default-template, python-imports, python-indent-index)
9329 (python-indent-list, python-indent-list-length)
9330 (python-mode-running, python-pdbtrack-is-tracking-p)
9331 (python-preoutput-continuation, python-preoutput-leftover)
9332 (python-preoutput-result, python-preoutput-skip-next-prompt)
9333 (python-prev-dir/file, python-recursing)
9334 (python-saved-check-command, python-version-checked)
9335 (python-which-func-length-limit)
9336 (view-return-to-alist): Delete vars.
9337 (python-check-custom-command, python-dotty-syntax-table)
9338 (python-imenu-index-alist, python-indent-current-level)
9339 (python-indent-dedenters, python-indent-levels)
9340 (python-nav-beginning-of-defun-regexp)
9341 (python-nav-list-defun-positions-cache)
9342 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9343 (python-shell-internal-buffer)
9344 (python-skeleton-available): New vars.
9345 (def-python-skeleton): Delete macro.
9346 (python-skeleton-define): New macro.
9347 (python-define-auxiliary-skeleton, python-rx): New macros.
9348 (python-insert-class): Delete command.
9349 (python-skeleton-class): New command.
9350 (python-insert-def): Delete command.
9351 (python-skeleton-def): New command.
9352 (python-insert-for): Delete command.
9353 (python-skeleton-for): New command.
9354 (python-insert-if): Delete command.
9355 (python-skeleton-if): New command.
9356 (python-insert-try/except, python-insert-try/finally): Delete commands.
9357 (python-skeleton-try): New command.
9358 (python-insert-while): Delete command.
9359 (python-skeleton-while): New command.
9360 (python-backspace): Delete command.
9361 (python-indent-dedent-line-backspace): New command.
9362 (python-electric-colon): Delete command.
9363 (python-indent-electric-colon): New command.
9364 (python-guess-indent): Delete command.
9365 (python-indent-guess-indent-offset): New command.
9366 (python-shift-left): Delete command.
9367 (python-indent-shift-left): New command.
9368 (python-shift-right): Delete command.
9369 (python-indent-shift-right): New command.
9370 (python-find-function): Delete command.
9371 (python-nav-jump-to-defun): New command.
9372 (python-next-statement): Delete command.
9373 (python-nav-forward-sentence): New command.
9374 (python-previous-statement): Delete command.
9375 (python-nav-backward-sentence): New command.
9376 (python-fill-paragraph): Delete command.
9377 (python-fill-paragraph-function): New command.
9378 (python-send-buffer): Delete command.
9379 (python-shell-send-buffer): New command.
9380 (python-send-defun): Delete command.
9381 (python-shell-send-defun): New command.
9382 (python-send-region, python-send-region-and-go): Delete commands.
9383 (python-shell-send-region)
9384 (python-shell-switch-to-shell): New commands.
9385 (python-send-string): Delete command.
9386 (python-shell-send-string): New command.
9387 (python-switch-to-python): Delete command.
9388 (python-shell-switch-to-shell): New command.
9389 (python-describe-symbol): Delete command.
9390 (python-eldoc-at-point): New command.
9391 (python--set-prompt-regexp, python-args-to-list)
9392 (python-after-info-look, python-check-version)
9393 (python-check-comint-prompt, python-find-imports)
9394 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9395 (python-unload-function, python-expand-template)
9396 (python-maybe-jython, python-preoutput-filter)
9397 (python-pdbtrack-get-source-buffer)
9398 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9399 (python-pdbtrack-toggle-stack-tracking)
9400 (python-pdbtrack-track-stack-file, python-initial-text)
9401 (python-first-word, python-comment-line-p, python-send-command)
9402 (python-setup-brm, python-sentinel, python-set-proc)
9403 (python-skip-out, python-input-filter, python-outdent-p)
9404 (python-outline-level, python-backslash-continuation-line-p)
9405 (python-end-of-block, python-end-of-statement, python-mark-block)
9406 (python-beginning-of-block, python-beginning-of-statement)
9407 (python-blank-line-p, python-beginning-of-string)
9408 (python-open-block-statement-p): Delete functions.
9409 (python-indent-line, python-indent-line-1): Delete functions.
9410 (python-indent-line): New function.
9411 (python-indentation-levels): Delete function.
9412 (python-indent-calculate-levels): New function.
9413 (python-proc): Delete function.
9414 (python-shell-get-process): New function.
9415 (python-send-receive): Delete function.
9416 (python-shell-send-string-no-output): New function.
9417 (python-module-path): Delete function.
9418 (python-ffap-module-path): New function.
9419 (python-completion-at-point)
9420 (python-symbol-completions): Delete functions.
9421 (python-completion-complete-at-point): New function.
9422 (python-load-file): Delete function.
9423 (python-shell-send-file): New function.
9424 (python-calculate-indentation): Delete function.
9425 (python-indent-calculate-indentation): New function.
9426 (python-skip-comments/blanks): Delete function.
9427 (python-util-forward-comment): New function.
9428 (python-continuation-line-p): Delete function.
9429 (python-info-continuation-line-p): New function.
9430 (python-which-func, python-current-defun): Delete function.
9431 (python-info-current-defun): New function.
9432 (python-beginning-of-defun): Delete function.
9433 (python-nav-beginning-of-defun): New function.
9434 (python-close-block-statement-p)
9435 (python-block-end-p): Delete function.
9436 (python-info-closing-block): New function.
9437 (python-comint-output-filter-function)
9438 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9439 (python-fill-comment, python-fill-decorator, python-fill-paren)
9440 (python-fill-string, python-imenu-make-element-tree)
9441 (python-imenu-make-tree, python-imenu-tree-assoc)
9442 (python-indent-context, python-indent-dedent-line)
9443 (python-indent-line-function)
9444 (python-indent-post-self-insert-function)
9445 (python-indent-toggle-levels)
9446 (python-info-assignment-continuation-line-p)
9447 (python-info-beginning-of-backlash)
9448 (python-info-block-continuation-line-p)
9449 (python-info-closing-block-message)
9450 (python-info-line-ends-backslash-p)
9451 (python-info-looking-at-beginning-of-defun)
9452 (python-info-ppss-context, python-info-ppss-context-type)
9453 (python-nav-list-defun-positions, python-nav-read-defun)
9454 (python-nav-sentence-end, python-nav-sentence-start)
9455 (python-pdbtrack-comint-output-filter-function)
9456 (python-pdbtrack-set-tracked-buffer)
9457 (python-shell-calculate-exec-path)
9458 (python-shell-calculate-process-environment)
9459 (python-shell-completion--do-completion-at-point)
9460 (python-shell-completion--get-completions)
9461 (python-shell-completion-complete-at-point)
9462 (python-shell-completion-complete-or-indent)
9463 (python-shell-get-or-create-process)
9464 (python-shell-get-process-name)
9465 (python-shell-internal-get-or-create-process)
9466 (python-shell-internal-get-process-name)
9467 (python-shell-internal-send-string, python-shell-make-comint)
9468 (python-shell-parse-command, python-shell-send-setup-code)
9469 (python-skeleton-add-menu-items)
9470 (python-util-clone-local-variables, python-util-position)
9471 (run-python-internal, python-indentation-levels)
9472 (python-nav-beginning-of-defun)
9473 (python-completion-complete-at-point): New functions.
9474 (run-python): Change arguments. New API requirements.
9476 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9478 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9481 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9482 (macroexp--expand-all): Use it.
9484 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9485 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9486 Use `cl-function' instead.
9488 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9490 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9491 Suggested by Stefan Monnier while discussing bug#11657.
9493 2012-06-14 Sam Steingold <sds@gnu.org>
9495 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9497 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9499 * play/doctor.el (doctor-doc): Remove parameter and use
9500 doctor-sent instead of sent.
9501 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9503 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9505 * files.el: Require cl-lib.
9506 (file-name-non-special): Replace case -> cl-case.
9508 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9510 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9511 mapping from #' to function*.
9513 2012-06-13 Chong Yidong <cyd@gnu.org>
9515 * mouse.el (mouse-drag-track): Do not set the mark if the user
9516 releases the mouse without selecting anything (Bug#11588).
9518 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9521 as well (bug#11646).
9523 * loadup.el: Count byte-code functions as well.
9525 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9526 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9528 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9529 (bug#11649). Add cl-defun and cl-defmacro.
9531 2012-06-13 Drew Adams <drew.adams@oracle.com>
9533 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9536 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9538 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9539 Otherwise, it blocks in batch mode.
9541 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9543 * help-mode.el (bookmark-make-record-default): Declare.
9545 2012-06-13 Chong Yidong <cyd@gnu.org>
9547 * emacs-lisp/package.el (list-packages): Compute a list of
9548 packages that are newly-available since the last list-packages
9550 (package-menu--new-package-list): New var.
9551 (package-menu--generate, package-menu--print-info)
9552 (package-menu--status-predicate, package-menu-mark-install):
9553 Handle new status label "new".
9555 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9558 conversion to backquotes.
9560 2012-06-12 Chong Yidong <cyd@gnu.org>
9562 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9563 Rename from gud-inhibit-global-bindings.
9565 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9567 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9568 hook from nxml-glyph-set-hook.
9570 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9573 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9575 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9576 Convert to defcustom.
9578 2012-06-12 Drew Adams <drew.adams@oracle.com>
9580 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9582 (help-mode): Use them.
9584 2012-06-11 Glenn Morris <rgm@gnu.org>
9586 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9587 Use preprocessor face for directives.
9588 (fortran-directive-re): Doc fix.
9590 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9593 conversion to backquotes (bug#11652).
9595 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9596 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9597 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9598 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9599 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9600 (cl-ninth, cl-tenth): Mark them as inlinable.
9601 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9602 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9603 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9604 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9605 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9606 (cl-list*, cl-adjoin): Don't put an autoload manually.
9607 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9608 (cl--compiler-macro-list*): Add autoload cookie.
9609 (cl--compiler-macro-cXXr): New function.
9611 * help-fns.el (help-fns--compiler-macro): New function extracted from
9612 describe-function-1; follow aliases and use `compiler-macro' property.
9613 (describe-function-1): Use it.
9615 2012-06-11 Chong Yidong <cyd@gnu.org>
9617 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9618 is uninstalled, if imagemagick is installed.
9620 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * emacs-lisp/cl-lib.el: Use lexical-binding.
9623 (cl-map-extents, cl-maclisp-member): Remove.
9624 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9625 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9626 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9627 * emacs-lisp/cl-extra.el: Use lexical-binding.
9628 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9629 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9630 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9631 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9632 * emacs-lisp/cl-seq.el: Use lexical-binding.
9633 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9634 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9635 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9636 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9637 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9640 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9642 Sync with Tramp 2.2.6-pre.
9644 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9645 `print-length' and `print-level' to nil, in order to avoid
9646 truncation. Reported by Christopher Schmidt
9647 <christopher@ristopher.com>.
9649 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9651 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9653 (tramp-compat-copy-directory): Add optional argument
9654 COPY-CONTENTS. It is not handled yet.
9656 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9657 (tramp-ftp-file-name-p): Simplify.
9659 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9660 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9663 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9664 (tramp-methods): Do not use `tramp-password-end-of-line'.
9665 (tramp-completion-function-alist-putty): Handle UNIX case.
9666 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9667 (tramp-do-file-attributes-with-stat)
9668 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9669 gid as real numbers. They could run out of integer range on cygwin.
9670 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9671 (tramp-sh-handle-expand-file-name): Handle hops.
9672 (tramp-open-connection-setup-interactive-shell):
9673 Use `tramp-cleanup'. Move check for busyboxes ...
9674 (tramp-find-shell): ... here. Simplify implementation.
9675 Set "remote-shell" property also for alternative shells.
9676 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9677 If failing, a regular file would be written otherwise.
9678 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9679 (tramp-find-inline-encoding): Cache the coding commands in the
9680 process cache. Apply test command on the remote side, if defined.
9681 (tramp-find-inline-compress): Cache the compress commands in the
9683 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9684 when requested. Handle hops.
9685 (tramp-current-connection): New defvar.
9686 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9687 Throw `suppress', if there was a failed connection shortly before.
9688 Handle user interrupt. (Bug#10187)
9689 (tramp-get-inline-compress, tramp-get-inline-coding):
9690 Read connection properties from the process cache.
9692 * net/tramp-smb.el (tramp-smb-server-version)
9693 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9695 (tramp-smb-prompt): Extend for powershell prompt.
9696 (tramp-smb-file-name-handler-alist): Add handlers for
9697 `process-file', `shell-command' and `start-file-process'.
9698 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9699 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9700 (tramp-smb-file-name-p): Simplify.
9701 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9702 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9703 (tramp-smb-shell-quote-argument): New defuns.
9704 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9705 Implement using "tar". By this, time-stamps are preserved.
9706 (tramp-smb-handle-copy-file): Handle also the case of directories.
9707 (tramp-smb-do-file-attributes-with-stat)
9708 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9709 Use `tramp-get-connection-buffer').
9710 (tramp-smb-handle-rename-file): Use "rename", when source and
9711 target are on the same share.
9712 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9713 Use `tramp-smb-server-version'.
9714 (tramp-smb-wait-for-output): Remove prompt.
9716 * net/tramp.el (top): Require 'cl.
9717 (tramp-methods, tramp-rsh-end-of-line):
9718 Remove `tramp-password-end-of-line' from docstring.
9719 (tramp-save-ad-hoc-proxies): New defcustom.
9720 (tramp-completion-function-alist): Adapt docstring.
9721 (tramp-default-password-end-of-line): Remove defcustom.
9722 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9723 (tramp-user-regexp, tramp-file-name-regexp-unified)
9724 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9725 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9726 (tramp-remote-file-name-spec-regexp): New defconst.
9727 (tramp-file-name-structure): Extend structure for hops.
9728 (tramp-get-method-parameter): Move up.
9729 (tramp-file-name-p, tramp-dissect-file-name)
9730 (with-parsed-tramp-file-name): Handle hops.
9731 (tramp-file-name-hop): New defun.
9732 (tramp-make-tramp-file-name): New optional arg HOP.
9733 (tramp-message-show-progress-reporter-message): New defvar.
9734 (tramp-with-progress-reporter): Use it. We cannot use
9735 `tramp-message-show-message' here, because this suppresses also
9737 (tramp-error-with-buffer): Suppress buffer view, if
9738 `tramp-message-show-message' is nil.
9739 Use `tramp-get-connection-buffer'.
9740 (tramp-cleanup): New defun.
9741 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9742 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9744 (tramp-completion-handle-file-name-all-completions): Handle hops.
9745 Fix an error when called from ido.
9746 (tramp-completion-dissect-file-name): Use better local variable
9747 name. Add hop to the vector.
9748 (tramp-handle-insert-file-contents): Use progress-reporter for the
9750 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9752 (tramp-check-for-regexp): Simplify search.
9753 (tramp-enter-password): Remove it. Move implementation ...
9754 (tramp-action-password): ... here.
9755 (tramp-mode-string-to-int, tramp-local-host-p)
9756 (tramp-make-tramp-temp-file, tramp-read-passwd)
9757 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9758 Set tramp-autoload cookie.
9760 * net/trampver.el: Update release number.
9762 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9763 Michael Albinus <michael.albinus@gmx.de>
9765 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9766 (tramp-parse-group, tramp-parse-file)
9767 (tramp-parse-shostkeys-sknownhosts): New defuns.
9768 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9769 (tramp-parse-shosts-group, tramp-parse-sconfig)
9770 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9771 (tramp-parse-sknownhosts, tramp-parse-hosts)
9772 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9774 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9775 (tramp-parse-putty-group): Don't narrow.
9776 (tramp-parse-putty): Make a loop.
9777 (tramp-file-name-handler): Catch the `suppress' signal.
9779 2012-06-11 Chong Yidong <cyd@gnu.org>
9781 * image.el (imagemagick-register-types): Put the ImageMagick entry
9782 at the end of image-type-file-name-regexps.
9784 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9786 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9787 (pcase, pcase-let*, pcase-dolist): Use them.
9789 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * emacs-lisp/pcase.el (pcase--let*): New function.
9792 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9793 (pcase--expand): Use macroexp-let².
9795 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9797 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9798 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9799 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9800 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9801 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9802 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9804 2012-06-10 Glenn Morris <rgm@gnu.org>
9806 * mail/rmail.el (rmail-yank-current-message): Leave point at
9807 correct position. (Bug#11660)
9809 2012-06-10 Chong Yidong <cyd@gnu.org>
9811 * allout-widgets.el: Fix code header.
9813 2012-06-10 Chong Yidong <cyd@gnu.org>
9815 * cus-edit.el (customize-changed-options-previous-release):
9818 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9820 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9822 2012-06-09 Chong Yidong <cyd@gnu.org>
9824 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9826 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9828 * window.el (special-display-popup-frame): Don't use
9829 window--display-buffer (Bug#11651).
9831 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9833 Fix parallel builds: make sure loaddefs.el is not being written
9834 while Lisp files are compiled.
9835 (compile): Don't depend on 'mh-autoloads'.
9836 (compile-CMD, compile-SH): Depend on 'autoloads'.
9837 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9839 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9841 2012-06-09 Chong Yidong <cyd@gnu.org>
9843 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9844 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9845 Doc fixes (Bug#11225).
9847 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9850 a function if there's a clear indication that it has a compiler-macro.
9851 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9852 (macro-declarations-alist): Add arglist to declaration functions.
9853 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9854 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9855 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9856 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9857 Also add autoload to find the compiler macro.
9858 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9859 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9860 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9861 (cl--compiler-macro-get): New functions, replacing calls to
9862 cl-define-compiler-macro.
9863 (cl-typep) [compiler-macro]: Use macroexp-let².
9865 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9867 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9868 string properly, fixes Bug#11473.
9870 2012-06-08 Chong Yidong <cyd@gnu.org>
9872 * faces.el (set-face-attribute): Doc fix.
9873 (modify-face): Don't use :bold and :italic.
9874 (error, warning, success): Tweak definitions.
9876 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9877 (custom-modified, custom-set, custom-changed, custom-themed)
9878 (custom-saved, custom-button, custom-button-mouse)
9879 (custom-button-pressed, custom-state, custom-comment-tag)
9880 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9881 (custom-group-subtitle): Use new-style face specs.
9882 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9883 (custom-set-face, custom-changed-face, custom-saved-face)
9884 (custom-button-face, custom-button-pressed-face)
9885 (custom-documentation-face, custom-state-face)
9886 (custom-comment-face, custom-comment-tag-face)
9887 (custom-variable-tag-face, custom-variable-button-face)
9888 (custom-face-tag-face, custom-group-tag-face-1)
9889 (custom-group-tag-face): Remove obsolete face alias.
9891 * epa.el (epa-validity-high, epa-validity-medium)
9892 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9893 (epa-field-name, epa-field-body):
9894 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9895 (font-lock-keyword-face, font-lock-builtin-face)
9896 (font-lock-function-name-face, font-lock-variable-name-face)
9897 (font-lock-type-face, font-lock-constant-face):
9898 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9899 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9900 * speedbar.el (speedbar-button-face, speedbar-file-face)
9901 (speedbar-directory-face, speedbar-tag-face)
9902 (speedbar-selected-face, speedbar-highlight-face)
9903 (speedbar-separator-face):
9904 * whitespace.el (whitespace-newline, whitespace-space)
9905 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9906 (whitespace-line, whitespace-space-before-tab)
9907 (whitespace-space-after-tab, whitespace-indentation)
9909 * emulation/cua-base.el (cua-global-mark):
9910 * eshell/em-prompt.el (eshell-prompt):
9911 * net/newst-plainview.el (newsticker-new-item-face)
9912 (newsticker-old-item-face, newsticker-immortal-item-face)
9913 (newsticker-obsolete-item-face, newsticker-date-face)
9914 (newsticker-statistics-face, newsticker-default-face):
9915 * net/newst-reader.el (newsticker-feed-face)
9916 (newsticker-extra-face, newsticker-enclosure-face):
9917 * net/newst-treeview.el (newsticker-treeview-face)
9918 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9919 (newsticker-treeview-immortal-face)
9920 (newsticker-treeview-obsolete-face)
9921 (newsticker-treeview-selection-face):
9922 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9923 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9924 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9925 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9926 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9927 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9928 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9930 * progmodes/vera-mode.el (vera-font-lock-number)
9931 (vera-font-lock-function, vera-font-lock-interface):
9932 * textmodes/table.el (table-cell): Use new-style face specs, and
9933 don't use the old :bold and :italic attributes.
9935 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9936 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9937 (ebrowse-member-class, ebrowse-progress): Likewise.
9938 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9939 (ebrowse-file-name-face, ebrowse-default-face)
9940 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9941 (ebrowse-progress-face): Remove obsolete faces.
9943 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9944 Inherit from error and warning faces respectively.
9946 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9948 (flyspell-incorrect-face, flyspell-duplicate-face):
9949 Remove obsolete aliases.
9951 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9953 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9956 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * startup.el (argv, argi): Make lexically scoped.
9959 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9960 * emacs-lisp/cl-macs.el: Use lexical-binding.
9961 Rename cl-bind-* to cl--bind-*.
9962 * files.el: Don't require `cl' since it doesn't use it.
9963 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9965 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9967 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9968 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9969 instead of calling external sort utility.
9970 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9972 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9974 * descr-text.el (describe-char): Mention how to insert the
9975 character, if the current input method doesn't support it.
9976 See the discussion in this thread for the details:
9977 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9979 2012-06-08 Sam Steingold <sds@gnu.org>
9981 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9982 XF86Back to previous-buffer.
9983 (minibuffer-local-map): Bind them to next-history-element and
9984 previous-history-element respectively.
9985 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9986 help-go-back respectively.
9987 * info.el (Info-mode-map): Bind them to Info-history-forward and
9988 Info-history-back respectively.
9989 These are the keys next to Up on the ThinkPad keyboard.
9991 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9993 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9994 * emacs-lisp/cl-macs.el: Provide itself.
9995 (cl--labels-convert-cache): New var.
9996 (cl--labels-convert): New function.
9997 (cl-flet, cl-labels): New implementation with new semantics, relying on
9999 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10000 (cl-closure-vars, cl--function-convert-cache)
10001 (cl--function-convert): Move from cl-macs.el.
10002 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10003 rename by removing the "cl-" prefix.
10004 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10006 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10008 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10009 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10010 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10011 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10012 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10013 (cl-hash-table-count): Add old compatibility aliases.
10015 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10016 Use macroexpand-all-environment instead.
10017 (cl--old-macroexpand): New var.
10018 (cl--sm-macroexpand): New function.
10019 (cl-symbol-macrolet): Use it during macro expansion.
10020 (cl--function-convert-cache): New var.
10021 (cl--function-convert): New function, extracted from
10022 cl-macroexpand-all.
10023 (cl-lexical-let): Use it.
10025 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10026 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10027 (cl-member): Remove old alias.
10029 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10030 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10031 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10032 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10033 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10034 (cl-macroexpand-cmacs): Remove var.
10035 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10036 Use macroexpand-all instead.
10038 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10041 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10042 (macroexp-copyable-p): New functions and macros.
10043 * emacs-lisp/edebug.el (edebug-unwrap):
10044 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10045 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10046 (pcase--let*): Remove.
10047 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10048 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10049 macroexp-const-p instead.
10050 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10052 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10053 instead of "cl-" for internal definitions. Use macroexp-const-p.
10054 (cl-old-bc-file-form): Remove var.
10055 (cl-const-exprs-p): Remove fun.
10056 (cl-labels, cl-macrolet): Use backquote.
10057 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10058 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10059 (cl-define-setf-expander): Rename from cl-define-setf-method.
10060 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10062 * international/mule-cmds.el: Don't require CL.
10063 (view-hello-file): Don't use `letf'.
10065 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * tmm.el (tmm-prompt): Use string-prefix-p.
10068 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10069 (tmm-add-prompt): Use minibuffer-completion-help.
10070 (tmm-delete-map): Remove.
10072 * subr.el (kbd): Make it its own function.
10074 2012-06-07 Stefan Merten <smerten@oekonux.de>
10076 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10077 Silence compiler warnings. Fix versions.
10078 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10079 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10080 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10081 (rst-package-emacs-version-alist): Correct Emacs version to
10082 represent major merge with upstream.
10083 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10085 2012-06-06 Glenn Morris <rgm@gnu.org>
10087 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10088 Only print environment variables if set.
10090 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10093 (macroexp--cons): Rename from maybe-cons.
10094 (macroexp--accumulate): Rename from macroexp-accumulate.
10095 (macroexp--all-forms): Rename from macroexpand-all-forms.
10096 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10097 (macroexp--expand-all): Rename from macroexpand-all-1.
10099 2012-06-06 Sam Steingold <sds@gnu.org>
10101 * calendar/calendar.el (calendar-in-read-only-buffer):
10102 Call `special-mode' to enable the standard read-only keybindings.
10104 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10106 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10107 with "loading" messages (bug#11635).
10109 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10111 * files.el (enable-remote-dir-locals): New option.
10112 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10114 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10115 Ensure, that the temp directory is local.
10117 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10118 `temporary-file-directory'.
10120 * progmodes/python.el (python-send-region): Ensure, that the
10121 temporary file is created also in the remote case.
10123 2012-06-06 Glenn Morris <rgm@gnu.org>
10125 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10126 (vc-rcs-update-changelog): Use it.
10128 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10130 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10131 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10132 (vc-sccs-diff): Replace use of the external vcdiff script.
10134 2012-06-05 Glenn Morris <rgm@gnu.org>
10136 * ledit.el: Move to obsolete/.
10138 2012-06-05 Sam Steingold <sds@gnu.org>
10140 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10143 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10145 * emacs-lisp/cust-print.el: Move to obsolete.
10147 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10148 compiler-macro expansion.
10150 Add native compiler-macro support.
10151 * emacs-lisp/macroexp.el (macroexpand-all-1):
10152 Support compiler-macros directly. Properly follow aliases and apply
10153 the compiler macros more thoroughly.
10154 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10155 macroexpand now properly follows aliases.
10156 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10157 (cl-compiler-macroexpand): Use new prop.
10158 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10160 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10162 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10164 * window.el (get-lru-window, get-mru-window, get-largest-window):
10165 New argument NOT-SELECTED to avoid picking the selected window.
10166 (window--display-buffer-1, window--display-buffer-2): Replace by
10167 new function window--display-buffer
10168 (display-buffer-same-window, display-buffer-reuse-window)
10169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10170 Use window--display-buffer.
10171 (display-buffer-use-some-window): Remove temporary dedication
10172 hack by calling get-lru-window and get-largest-window with
10173 NOT-SELECTED argument non-nil. Call window--display-buffer.
10175 2012-06-05 Glenn Morris <rgm@gnu.org>
10177 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10178 Replace external vcdiff script.
10180 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10182 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10184 2012-06-04 Chong Yidong <cyd@gnu.org>
10186 * image.el (imagemagick-types-inhibit): Revert last change.
10188 (imagemagick-enabled-types): Remove CIN and EPS*.
10190 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10192 * emacs-lisp/cl-lib.el: Rename from cl.el.
10193 * emacs-lisp/cl.el: New compatibility file.
10194 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10195 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10196 to obey the "cl-" prefix.
10197 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10199 2012-06-03 Glenn Morris <rgm@gnu.org>
10201 * emacs-lisp/authors.el (authors-aliases): Addition.
10203 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10206 2012-06-03 Stefan Merten <smerten@oekonux.de>
10208 * textmodes/rst.el: Add comments.
10209 (rst-transition, rst-adornment): New faces.
10210 (rst-adornment-faces-alist): Make default safe to reevaluate.
10212 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10213 Improve customization tags.
10214 (rst-define-level-faces): Clarify meaning.
10216 2012-06-03 Chong Yidong <cyd@gnu.org>
10218 * progmodes/compile.el (compilation-mode-line-fail)
10219 (compilation-mode-line-run, compilation-mode-line-exit):
10221 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10223 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10225 * progmodes/which-func.el (which-func-update-ediff-windows):
10226 New function. Use it in ediff-select-hook (Bug#11478).
10228 2012-06-03 Chong Yidong <cyd@gnu.org>
10230 * bindings.el: Remove explicit help text from format-mode-line.
10231 It is now supplied by mode-line-default-help-echo.
10232 (mode-line-front-space, mode-line-end-spaces)
10233 (mode-line-misc-info): New variables.
10234 (mode-line-modes, mode-line-position): Move the default value to
10235 the variable definition.
10236 (mode-line-default-help-echo): New defcustom.
10237 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10238 (mode-line-modified-help-echo): New functions.
10239 (mode-line-mule-info, mode-line-modified): Use them.
10240 (mode-line-eol-desc, propertized-buffer-identification):
10241 Consistency fixes for help text.
10242 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10243 set-buffer-file-coding-system (Bug#289).
10244 (mode-line-mule-info-help-echo): Update help text.
10246 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10248 * simple.el (execute-extended-command): Set real-this-command
10251 2012-06-02 Chong Yidong <cyd@gnu.org>
10253 Remove incorrect uses of "modeline" in comments, docstrings, and
10254 function/variable names (Bug#10329).
10256 * cus-edit.el (mode-line):
10257 * dframe.el (dframe-mouse-hscroll):
10258 * emacs-lisp/re-builder.el:
10259 * emacs-lisp/easy-mmode.el (define-minor-mode):
10260 * frame.el (set-frame-name):
10261 * help.el (lookup-minor-mode-from-indicator):
10262 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10263 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10264 (c-toggle-hungry-state):
10265 * progmodes/antlr-mode.el (antlr-language-alist):
10266 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10267 * progmodes/vhdl-mode.el (vhdl-mode):
10268 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10269 * term/ns-win.el (ns-face-at-pos):
10270 * term/sup-mouse.el (sup-mouse-report):
10271 * textmodes/flyspell.el (flyspell-mode-line-string):
10272 * textmodes/ispell.el (ispell-highlight-face):
10273 * textmodes/reftex-global.el:
10274 * vc/vc-arch.el (vc-arch-mode-line-string):
10275 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10276 * vc/vc-git.el (vc-git-mode-line-string):
10277 * vc/vc-hooks.el (vc-display-status)
10278 (vc-default-mode-line-string):
10279 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10281 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10283 * dired.el (dired-sort-set-mode-line): Rename from
10284 dired-sort-set-modeline. All callers changed.
10286 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10287 eshell-status-in-modeline.
10289 * foldout.el (foldout-mode-line-string): Rename from
10290 foldout-modeline-string. All callers changed.
10291 (foldout-update-mode-line): Rename from foldout-update-modeline.
10293 * subr.el (redraw-modeline): Make into obsolete alias.
10295 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10296 timeclock-modeline-display. Make old name an alias.
10297 (timeclock-update-mode-line): Likewise. All callers changed.
10298 (timeclock-mode-line-display): No need to check before using
10300 (timeclock-relative, timeclock-day-over-hook)
10301 (timeclock-use-elapsed, timeclock-mode-string)
10302 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10304 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10305 crisp-mode-modeline-string.
10307 * play/solitaire.el (solitaire-build-mode-line): Rename from
10308 solitaire-build-modeline. All callers changed.
10310 * play/zone.el (zone-hiding-mode-line): Rename from
10311 zone-hiding-modeline. All callers changed.
10312 (zone): Remove unusued `modeline-hidden-level' property.
10314 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10315 xscheme-modeline-initialize. All callers changed.
10317 * strokes.el (strokes-lighter): Rename from
10318 strokes-modeline-string.
10320 * textmodes/sgml-mode.el (html-face-tag-alist)
10321 (html-tag-face-alist): Use mode-line face instead of obsolete
10324 2012-06-02 Stefan Merten <smerten@oekonux.de>
10326 * textmodes/rst.el: Always require `cl'.
10327 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10329 2012-06-02 Chong Yidong <cyd@gnu.org>
10331 * image.el (imagemagick-enabled-types): Rename from
10332 imagemagick-types-enable. Add many more types.
10333 (imagemagick-types-inhibit): Change default to nil.
10334 (imagemagick-filter-types): Caller changed.
10336 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10338 * emacs-lisp/cl-macs.el: Use backquotes.
10339 (cl-transform-function-property): Use eval-and-compile rather than
10341 (defstruct): Use declare-function instead of with-no-warnings.
10343 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10344 (byte-compile-output-docform): Re-add the print-circle bindings.
10345 (byte-compile-fix-header): Use #$ just because it's shorter.
10346 (byte-compile-output-file-form): Remove defun/defmacro.
10348 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10350 * simple.el (choose-completion): Remove now obsolete binding for
10353 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10355 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10356 in order to avoid "Stack overflow in regexp matcher".
10358 2012-05-31 Glenn Morris <rgm@gnu.org>
10360 * image.el: For clarity, call imagemagick-register-types at
10361 top-level, rather than relying on a custom :initialize.
10362 (imagemagick-types-enable): New option. (Bug#11557)
10363 (imagemagick-filter-types): New function. (Bug#7406)
10364 (imagemagick-register-types): Use imagemagick-filter-types.
10365 If disabling support, remove elements altogether rather
10366 than using an impossible regexp.
10367 (imagemagick-types-inhibit): Give it the default init function.
10369 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10371 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10372 Handle arbitrary file name lengths (Bug#11585).
10374 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10376 * desktop.el (desktop-read): Clear previous and next buffers for
10377 all windows and bury *Messages* buffer (bug#11556).
10379 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10381 Add `declare' for `defun'. Align `defmacro's with it.
10382 * emacs-lisp/easy-mmode.el (define-minor-mode)
10383 (define-globalized-minor-mode): Don't autoload the var definitions.
10384 * emacs-lisp/byte-run.el: Use lexical-binding.
10385 (defun-declarations-alist, macro-declarations-alist): New vars.
10386 (defmacro, defun): Use them.
10387 (make-obsolete, define-obsolete-function-alias)
10388 (make-obsolete-variable, define-obsolete-variable-alias):
10390 (macro-declaration-function): Mark obsolete.
10391 * emacs-lisp/autoload.el: Use lexical-binding.
10392 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10394 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10396 * textmodes/ispell.el (ispell-with-no-warnings):
10398 (ispell-kill-ispell, ispell-change-dictionary):
10399 Use `called-interactively-p' for Emacs instead of obsolete
10402 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10404 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10405 (macro-declaration-function): Move var from C code.
10406 (macro-declaration-function): Define function with defalias.
10407 * emacs-lisp/macroexp.el (macroexpand-all-1):
10408 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10409 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10410 defun/defmacro any more.
10411 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10412 Provide fallback for unknown arglist.
10413 (byte-compile-arglist-warn): Change calling convention.
10414 (byte-compile-output-file-form): Move print-vars binding.
10415 (byte-compile-output-docform): Simplify accordingly.
10416 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10417 (byte-compile-defmacro-declaration): Remove.
10418 (byte-compile-file-form-defmumble): Generalize to defalias.
10419 (byte-compile-output-as-comment): Return byte-positions.
10420 Simplify callers accordingly.
10421 (byte-compile-lambda): Use `assert'.
10422 (byte-compile-defun, byte-compile-defmacro): Remove.
10423 (byte-compile-file-form-defalias):
10424 Use byte-compile-file-form-defmumble.
10425 (byte-compile-defalias-warn): Remove.
10427 2012-05-29 Stefan Merten <smerten@oekonux.de>
10429 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10430 possible. Fix authors. Improve comments. Improve loading of `cl'.
10432 (rst-mode-abbrev-table): Merge definition.
10433 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10434 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10436 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10438 * calendar/icalendar.el
10439 (icalendar-export-region): Export UID properly.
10441 2012-05-29 Leo Liu <sdl.web@gmail.com>
10442 * calendar/icalendar.el (icalendar-import-format):
10443 Add `icalendar-import-format-uid' (Bug#11525).
10444 (icalendar-import-format-uid): New.
10445 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10448 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10451 different alternative patterns.
10452 (pcase-codegen): Be more careful to preserve identity.
10453 (pcase--u1): Don't forget to mark vars as used.
10455 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10456 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10457 (byte-compile-from-buffer): ...rather than here.
10459 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10460 functions from byte-compile-function-environment.
10462 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10464 * window.el (window-deletable-p): Avoid deleting the root window
10465 of a frame with an active minibuffer.
10467 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10469 * simple.el (choose-completion): Use quit-window (Bug#11567).
10471 2012-05-29 Chong Yidong <cyd@gnu.org>
10473 * whitespace.el (whitespace-cleanup): Fix usage of
10474 whitespace-empty-at-bob-regexp (Bug#11492).
10476 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10478 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10479 revert (Bug#11488).
10481 2012-05-29 Juri Linkov <juri@jurta.org>
10483 * isearch.el (isearch-mode-map): Bind `M-s _' to
10484 `isearch-toggle-symbol'. Bind `M-s c' to
10485 `isearch-toggle-case-fold'.
10486 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10487 (isearch-forward): Add `M-s _' to the docstring.
10488 (isearch-forward-symbol, isearch-toggle-case-fold)
10489 (isearch-symbol-regexp): New functions. (Bug#11381)
10491 2012-05-29 Juri Linkov <juri@jurta.org>
10493 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10494 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10495 a function, call it to get the regexp.
10496 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10497 property `isearch-message-prefix' instead of the string "word ".
10498 (isearch-search-fun-default): For the case of `isearch-word',
10499 return a lambda that calls re-search-forward/re-search-backward
10500 with a regexp returned by `word-search-regexp' or by the function
10503 2012-05-29 Juri Linkov <juri@jurta.org>
10505 * isearch.el (isearch-search-fun-default): New function.
10506 (isearch-search-fun): Move default part to the new function
10507 `isearch-search-fun-default'.
10508 (isearch-search-fun-function): Set the default value to
10509 `isearch-search-fun-default'. (Bug#11381)
10511 * comint.el (comint-history-isearch-end):
10512 Use `isearch-search-fun-default'.
10513 (comint-history-isearch-search): Use `isearch-search-fun-default'
10514 and remove spacial case for `isearch-word'.
10515 (comint-history-isearch-wrap): Remove spacial case for
10518 * hexl.el (hexl-isearch-search-function):
10519 Use `isearch-search-fun-default'.
10521 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10522 Use `word-search-regexp' for `isearch-word'.
10524 * misearch.el (multi-isearch-search-fun):
10525 Use `isearch-search-fun-default'.
10527 * simple.el (minibuffer-history-isearch-search):
10528 Use `isearch-search-fun-default' and remove spacial case for
10530 (minibuffer-history-isearch-wrap): Remove spacial case for
10533 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10534 Remove spacial case for `isearch-word'.
10535 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10537 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10539 Decrease XEmacs incompatibilities.
10540 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10541 Use `string-match'.
10542 (flyspell-delete-region-overlays): Use alternative definition for
10544 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10545 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10546 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10547 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10548 `define-obsolete-face-alias' under XEmacs, but old method.
10550 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10551 `with-no-warnings' definition or Emacs alias.
10552 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10553 (ispell-word): Do not use `region-p' if XEmacs.
10555 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10557 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10558 Check for `ispell-dictionary-base-alist' instead of full
10559 `ispell-dictionary-alist'.
10560 (ispell-init-process): Show spellchecker when starting new Ispell
10563 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10565 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10566 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10568 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10570 * version.el (motif-version-string, gtk-version-string)
10571 (ns-version-string): Declare.
10573 2012-05-27 Juri Linkov <juri@jurta.org>
10575 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10576 after the `eval-defun-1' specialcaseing
10577 like in `edebug-eval-defun' (bug#10181).
10579 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10580 like in `eval-defun-1'.
10582 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10584 * mail/sendmail.el (mail-yank-region):
10585 Recognize rmail-yank-current-message in addition to insert-buffer.
10586 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10587 a *mail* buffer created through rmail-start-mail with sendmail as
10590 2012-05-27 Chong Yidong <cyd@gnu.org>
10592 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10593 Default to 256 (Bug#11267).
10595 * help.el (describe-mode): Doc fix.
10597 2012-05-26 Glenn Morris <rgm@gnu.org>
10599 * w32-fns.el (w32-init-info): Remove.
10600 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10602 * info.el (info-initialize): For self-contained NS builds, put the
10603 included info/ directory at the front. (Bug#2791)
10605 * paths.el (Info-default-directory-list): Make it a defcustom,
10606 mainly so that we can use custom-initialize-delay.
10608 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * subr.el (buffer-has-markers-at): Mark obsolete.
10612 * subr.el (lambda): Use declare.
10614 * emacs-lisp/lisp-mode.el (lambda):
10615 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10617 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10619 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10621 2012-05-26 Glenn Morris <rgm@gnu.org>
10623 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10625 2012-05-25 Glenn Morris <rgm@gnu.org>
10627 * paths.el: Remove no-byte-compile.
10628 * loadup.el: No need to load paths.el uncompiled.
10630 * image.el (imagemagick-types-inhibit): Doc fix.
10632 * version.el: Remove no-byte-compile and associated formatting.
10633 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10634 is ancient code from when there was an "inc-vers.el".
10636 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10638 * progmodes/gdb-mi.el: Minor style changes.
10639 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10640 Turn into minor modes.
10641 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10642 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10643 (gdb-shell): Remove unneeded let-binding.
10644 (gdb-get-many-fields): Eliminate O(n²) behavior.
10646 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10648 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10649 platforms that don't link in fontset.c.
10651 2012-05-25 Juri Linkov <juri@jurta.org>
10653 Use the same diff color scheme as in modern VCSes (bug#10181).
10655 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10656 to avoid confusion with `diff-added' that now uses green colors.
10657 (diff-removed): Use shades of red.
10658 (diff-added): Use shades of green.
10659 (diff-changed): Leave just the yellow color.
10660 (diff-use-changed-face): New variable.
10661 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10662 how to highlight context diff changes.
10663 (diff-refine-change): Use shades of yellow.
10664 (diff-refine-removed): New face that uses shades of red.
10665 (diff-refine-added): New face that uses shades of green.
10666 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10667 `diff-refine-removed' in the call to `smerge-refine-subst'
10668 depending on the value of `diff-use-changed-face'.
10670 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10671 (smerge-other): Use shades of green.
10672 (smerge-base): Use shades of yellow.
10673 (smerge-refined-change): Empty face.
10674 (smerge-refined-removed): New face that uses shades of red.
10675 (smerge-refined-added): New face that uses shades of green.
10676 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10677 args `props-r' and `props-a', and use them. Doc fix.
10678 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10679 on its value use different faces `smerge-refined-change',
10680 `smerge-refined-removed', `smerge-refined-added' in the call to
10681 `smerge-refine-subst'.
10683 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10684 Add face condition `min-colors 88' with shades of red.
10685 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10686 `min-colors 88' with shades of green.
10687 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10688 `min-colors 88' with shades of yellow.
10690 2012-05-24 Glenn Morris <rgm@gnu.org>
10692 * paths.el (prune-directory-list, remote-shell-program): Move to...
10693 * files.el (prune-directory-list, remote-shell-program): ...here.
10694 For the latter, delay initialization, prefer ssh, just search PATH.
10696 * paths.el (term-file-prefix): Move to faces.el (the only user).
10697 * faces.el (term-file-prefix): Move here, make it a defcustom.
10699 * paths.el (news-directory, news-path, news-inews-program):
10700 Move to gnus/nnspool.el.
10702 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10704 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10705 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10706 Make the latter a defcustom, with a delayed initialization.
10708 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10709 These were deleted from Gnus itself late 2010.
10711 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10713 * progmodes/which-func.el (which-func-ff-hook):
10714 Check against user-error, not error.
10716 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10717 cl-specs.el, which no longer exists.
10719 2012-05-22 Glenn Morris <rgm@gnu.org>
10721 * info.el (info-emacs-bug): New command.
10722 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10723 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10725 2012-05-21 Glenn Morris <rgm@gnu.org>
10727 * makefile.w32-in (update-subdirs-SH):
10728 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10730 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10732 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10734 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10735 Simplify Maven regexp, and make sure the file can't start with a space
10738 2012-05-21 Glenn Morris <rgm@gnu.org>
10740 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10741 Scrap superfluous subshells.
10743 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10746 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10748 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10750 * calc/calc.el (calc-ensure-consistent-units): New variable.
10752 * calc/calc-units.el (math-consistent-units-p)
10753 (math-check-unit-consistency): New functions.
10754 (calc-quick-units, calc-convert-units):
10755 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10757 (calc-extract-units): Fix typo.
10759 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10761 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10763 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10764 (flyspell-default-deplacement-commands): Don't spell check after
10765 repeated window/frame switches (e.g. triggered by mouse-movement).
10766 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10767 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10768 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10769 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10770 Remove unused vars.
10771 (flyspell-get-casechars, flyspell-get-not-casechars):
10772 Simplify; Don't bother removing a ] just to add it back.
10773 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10775 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10777 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10779 (math-function-table): Add support for more C functions.
10781 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10783 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10784 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10785 Protect delay handling for otherchars against empty otherchars.
10787 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10790 their respective macro declarations.
10791 * skeleton.el (define-skeleton):
10792 * progmodes/compile.el (define-compilation-mode):
10793 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10794 (define-ibuffer-filter):
10795 * emacs-lisp/generic.el (define-generic-mode):
10796 * emacs-lisp/easy-mmode.el (define-minor-mode)
10797 (define-globalized-minor-mode):
10798 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10799 * emacs-lisp/byte-run.el (defsubst):
10800 * custom.el (deftheme): Add doc-string metadata.
10802 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10806 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10810 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10811 * emacs-lisp/cl-macs.el: Idem.
10812 * emacs-lisp/cl-specs.el: Remove.
10814 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10816 Minor renaming of internal CL functions and variables.
10817 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10818 (cl--position): Rename from cl-position.
10819 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10820 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10821 (cl--random-state): Rename from *random-state*.
10823 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10826 parens around the arg list (bug#11499).
10828 2012-05-17 Juri Linkov <juri@jurta.org>
10830 * isearch.el (word-search-regexp, word-search-backward)
10831 (word-search-forward, word-search-backward-lax)
10832 (word-search-forward-lax): Move functions from search.c
10833 (bug#10145, bug#11381).
10835 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10837 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10838 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10839 Delay for otherchars as for normal word components.
10841 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * minibuffer.el (completion--sifn-requote): Fix last change.
10844 (minibuffer-local-must-match-filename-map):
10845 Move define-obsolete-variable-alias before its var.
10847 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10849 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10851 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10853 (completion--string-equal-p): New function.
10854 (completion--twq-all): Use it to get better assertion failure data.
10856 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10857 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10858 (shell--requote-argument): New functions.
10859 (shell-completion-vars): Use them.
10860 (shell--parse-pcomplete-arguments): Rename from
10861 shell-parse-pcomplete-arguments.
10862 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10863 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10864 Obey comint-file-name-quote-list.
10866 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10867 (smie-indent-keyword): Use it.
10869 2012-05-14 Stefan Merten <smerten@oekonux.de>
10871 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10873 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10875 * net/rlogin.el (rlogin-mode-map): Fix last change.
10877 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10879 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10880 the following \r\n using a single `process-send-string', since the
10881 Lotus SMTP server refuses to accept any commands if they are sent
10882 with two `process-send-string's (Bug#11444).
10884 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * shell.el (shell-parse-pcomplete-arguments):
10887 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10889 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10891 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10892 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10893 (image-transform-width, image-transform-fit-width): New functions.
10894 (image-transform-properties): Use them.
10895 (image-transform-check-size): New function.
10896 (image-toggle-display-image): Use it (for testing).
10897 (image-transform-set-rotation): Reduce angle mod 360.
10898 Delete obsolete comment.
10900 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10902 * image-mode.el: Fix scaling (bug#11399).
10903 (image-transform-resize): Doc fix.
10904 (image-transform-properties): Default scale is 1 and height should
10907 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10909 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10910 than hard-coding `car', to fix misbehavior when moving forward.
10912 2012-05-13 Chong Yidong <cyd@gnu.org>
10914 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10915 (tabulated-list-entries, tabulated-list-padding)
10916 (tabulated-list-sort-key): Make permanent-local.
10918 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10919 (electric-buffer-list): Put electric buffer menu
10920 command descriptions in this docstring, instead of the docstring
10921 of electric-buffer-menu-mode. Code cleanups.
10922 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10923 Electric-buffer-menu-mode.
10924 (electric-buffer-update-highlight): Minor code cleanup.
10926 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10928 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10931 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10933 Move define-obsolete-variable-alias before the var's definition.
10934 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10935 * tooltip.el (tooltip-hook):
10936 * textmodes/reftex-toc.el (reftex-toc-map):
10937 * textmodes/reftex-sel.el (reftex-select-label-map)
10938 (reftex-select-bib-map):
10939 * textmodes/reftex-index.el (reftex-index-map)
10940 (reftex-index-phrases-map):
10941 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10942 * progmodes/meta-mode.el (meta-mode-map):
10943 * novice.el (disabled-command-hook):
10944 * loadhist.el (unload-hook-features-list):
10945 * frame.el (blink-cursor):
10946 * files.el (find-file-not-found-hooks, write-file-hooks)
10947 (write-contents-hooks):
10948 * emulation/tpu-edt.el (GOLD-map):
10949 * emacs-lock.el (emacs-lock-from-exiting):
10950 * emacs-lisp/generic.el (generic-font-lock-defaults):
10951 * emacs-lisp/chart.el (chart-map):
10952 * dos-fns.el (register-name-alist):
10953 * dired-x.el (dired-omit-files-p):
10954 * desktop.el (desktop-enable):
10955 * cus-edit.el (custom-mode-hook):
10956 * buff-menu.el (buffer-menu-mode-hook):
10957 * bookmark.el (bookmark-read-annotation-text-func)
10958 (bookmark-exit-hooks):
10959 * allout.el (allout-mode-deactivate-hook)
10960 (allout-exposure-change-hook, allout-structure-added-hook)
10961 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10962 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10963 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10964 comes before the corresponding variable's definition.
10966 2012-05-12 Chong Yidong <cyd@gnu.org>
10968 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10969 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10970 (Buffer-menu-mode-map): Bind it.
10971 (Buffer-menu--pretty-name): Add a mouse-face property.
10973 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10976 (prolog-upper-case-string, prolog-lower-case-string)
10977 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10978 (prolog-use-smie, prolog-smie-grammar): New vars.
10979 (prolog-smie-forward-token, prolog-smie-backward-token)
10980 (prolog-smie-rules): New funs.
10981 (prolog-comment-indent): Remove.
10982 (prolog-mode-variables): Use default comment indentation instead.
10984 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10985 (prolog-mode): Don't call them any more.
10986 (prolog-electric-colon, prolog-electric-dash)
10987 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10989 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10991 * minibuffer.el (completion--twq-all): Again, allow case differences.
10993 * term.el: Move keymap initialization code to be more idiomatic.
10994 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10995 (term-terminal-menu): Move initialization into declaration.
10996 (term-escape-char): Let the user set it in her .emacs.
10998 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10999 Provide SMIE-based indentation (not enabled by default yet).
11000 (sh-mode-map): Don't bind electric keys.
11001 Use electric-pair-mode instead of skeleton-pair.
11002 (sh-assignment-regexp): Fit within 80 columns.
11003 (sh-indent-supported): Specify actual shell name instead of boolean.
11004 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11005 (sh-maybe-here-document): Use it. Make obsolete.
11006 (sh-electric-here-document-mode) New minor mode.
11007 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11008 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11009 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11010 (sh-smie-rc-grammar, sh-use-smie): New vars.
11011 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11012 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11013 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11014 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11015 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11016 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11017 (sh-set-shell): Use smie-setup if requested.
11019 * term.el (term-set-escape-char): Properly set term-escape-char.
11020 See http://stackoverflow.com/questions/10524656.
11022 2012-05-10 Chong Yidong <cyd@gnu.org>
11024 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11025 Use url-generic-parse-url, and handle host names and Windows
11026 filenames properly.
11027 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11028 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11029 URL schemes to work on.
11030 (ffap--toggle-read-only): New function.
11031 (ffap-read-only, ffap-read-only-other-window)
11032 (ffap-read-only-other-frame): Use it.
11033 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11034 necessary for ffap-url-unwrap-remote.
11036 2012-05-10 Dave Abrahams <dave@boostpro.com>
11038 * cus-start.el (create-lockfiles): Add it.
11040 2012-05-09 Chong Yidong <cyd@gnu.org>
11042 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11043 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11045 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11049 2012-05-09 Chong Yidong <cyd@gnu.org>
11051 * ansi-color.el (ansi-color-process-output): Check for validity of
11052 comint-last-output-start before using it. This avoids a bad
11053 interaction with gdb-mi's input/output buffer.
11055 2012-05-09 Glenn Morris <rgm@gnu.org>
11057 * files.el (dir-locals-read-from-file):
11058 Mention dir-locals in any error message.
11060 2012-05-09 Chong Yidong <cyd@gnu.org>
11062 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11063 package (Bug#11410).
11065 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11066 variables into description.
11068 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11071 shell-delimiter-argument-list (bug#11348).
11072 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11074 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11076 * textmodes/rst.el: Silence byte-compiler warnings.
11077 (rst-re-alist, rst-reset-section-caches): Move around.
11078 (rst-re): Use `characterp', not `char-valid-p'.
11079 (font-lock-beg, font-lock-end): Declare.
11081 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11082 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11084 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11086 2012-05-08 Glenn Morris <rgm@gnu.org>
11088 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11090 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11092 * vc/log-edit.el: Add GNU coding standards highlighting.
11093 (log-edit-font-lock-gnu-style)
11094 (log-edit-font-lock-gnu-keywords): New vars.
11095 (log-edit-font-lock-keywords): New fun.
11096 (log-edit-mode): Don't fold case in font-lock.
11097 (log-edit-font-lock-keywords): Do not assume case-folding.
11099 * imenu.el: Misc cleanup. Make docstrings out of comments.
11100 Use lexical-binding.
11101 (imenu--index-alist, imenu--last-menubar-index-alist)
11102 (imenu-menubar-modified-tick): Use defvar-local.
11103 (imenu--split-menu): Remove unused var.
11104 (imenu--cleanup-seen): Declare as global.
11105 (imenu--cleanup): Use dolist.
11107 * subr.el (defvar-local): Add debug spec and doc-string position.
11109 2012-05-08 Glenn Morris <rgm@gnu.org>
11111 * language/burmese.el, language/cham.el, language/czech.el:
11112 * language/english.el, language/georgian.el, language/greek.el:
11113 * language/japanese.el, language/khmer.el, language/korean.el:
11114 * language/lao.el, language/misc-lang.el, language/romanian.el:
11115 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11116 * language/thai.el, language/utf-8-lang.el:
11117 Remove no-byte-compile setting.
11119 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11121 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11123 * progmodes/make-mode.el (makefile-browse):
11124 Remove unnecessary interactive. (Bug#11324)
11126 2012-05-07 Glenn Morris <rgm@gnu.org>
11128 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11130 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11132 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11134 * loadup.el: Preload newcomment.el.
11135 * newcomment.el: Move autoload-only code to toplevel.
11137 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11138 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11139 Handle new :right-align column property.
11140 (tabulated-list-print-col): Idem, plus use `display' text-property to
11141 try and preserve alignment for variable pitch fonts.
11143 2012-05-07 Chong Yidong <cyd@gnu.org>
11145 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11146 (tabulated-list-use-header-line): New var.
11147 (tabulated-list-init-header): Use it.
11148 (tabulated-list-print-fake-header): New function.
11149 (tabulated-list-print): Use it.
11150 (tabulated-list-sort-button-map): Add non-header-line commands.
11151 (tabulated-list-init-header): Add column name property to basic
11153 (tabulated-list-col-sort): Handle non-header-line button case.
11154 (tabulated-list--sort-by-column-name): Fix a corner case.
11156 * buff-menu.el (list-buffers--refresh):
11157 Handle Buffer-menu-use-header-line.
11159 2012-05-06 Chong Yidong <cyd@gnu.org>
11161 * buff-menu.el: Convert to Tabulated List mode.
11162 (Buffer-menu-buffer+size-width): Make obsolete.
11163 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11164 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11165 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11166 documentation into docstring of buffer-menu.
11167 (Buffer-menu-toggle-files-only): Add an informative message.
11168 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11169 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11170 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11171 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11172 (Buffer-menu-execute, Buffer-menu-select)
11173 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11174 (Buffer-menu-bury): Use Tabulated List machinery.
11175 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11176 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11178 (list-buffers--refresh): New function.
11179 (list-buffers-noselect): Use it.
11180 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11181 (Buffer-menu--pretty-file-name): New helper functions.
11183 * loadup.el: Preload tabulated-list.
11185 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11186 tabulated-list-sort-column.
11187 (tabulated-list-init-header): Add the initial aligning space even
11188 if tabulated-list-padding is zero.
11190 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11192 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11193 whose cdr is not a cons cell correctly (bug#11038).
11195 2012-05-06 Chong Yidong <cyd@gnu.org>
11197 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11198 Accept additional plist in column descriptors.
11199 (tabulated-list-init-header): Obey it.
11200 (tabulated-list-get-entry): New function.
11201 (tabulated-list-put-tag): Use it. Use string-width instead of
11203 (tabulated-list--column-number): New function.
11204 (tabulated-list-print): Use it.
11205 (tabulated-list-print-col): New function.
11206 Set `tabulated-list-column-name' property on each column's text.
11207 (tabulated-list-print-entry): Use it.
11208 (tabulated-list-delete-entry, tabulated-list-set-col):
11210 (tabulated-list-sort-column): New command (Bug#11337).
11212 * buff-menu.el (list-buffers): Move C-x C-b binding from
11213 buff-menu.el to bindings.el.
11215 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11216 :advertised-binding feature.
11218 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11220 * progmodes/compile.el (compilation-internal-error-properties):
11221 Calculate start position correctly when end-col is set but
11222 end-line is not (Bug#11382).
11224 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11226 * man.el (Man-unindent): Use text-property-default-nonsticky to
11227 prevent untabify from inheriting face properties (Bug#11408).
11229 2012-05-05 Stefan Merten <smerten@oekonux.de>
11231 * textmodes/rst.el: Major merge with upstream development up to
11232 Docutils SVN r7399 / rst.el V1.2.1.
11234 Clarify maintainership and authors.
11236 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11237 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11238 (rst-official-version, rst-official-cvs-rev, rst-version)
11239 (rst-package-emacs-version-alist): New functions and variables
11240 for version information.
11242 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11243 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11244 (rst-mode-syntax-table, rst-mode): New and corrected functions
11245 and variables representing reStructuredText features.
11247 (rst-re): New function for reStructuredText regexes. Use in
11250 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11251 (rst-mode-map): Rebind keys.
11253 (rst-mode-lazy, rst-font-lock-keywords)
11254 (rst-font-lock-extend-region)
11255 (rst-font-lock-extend-region-internal)
11256 (rst-font-lock-extend-region-extend)
11257 (rst-font-lock-find-unindented-line-limit)
11258 (rst-font-lock-find-unindented-line-match)
11259 (rst-adornment-level, rst-font-lock-adornment-level)
11260 (rst-font-lock-adornment-match)
11261 (rst-font-lock-handle-adornment-pre-match-form)
11262 (rst-font-lock-handle-adornment-matcher): Major revision of
11263 font-locking. Integrate with other code. Use `jit-lock-mode'.
11265 (rst-preferred-adornments, rst-adjust-hook)
11266 (rst-new-adornment-down, rst-preferred-bullets)
11267 (rst-preferred-bullets, rst-indent, rst-indent-width)
11268 (rst-indent-field, rst-indent-literal-normal)
11269 (rst-indent-literal-minimized, rst-indent-comment): Change,
11270 extend and improve customization.
11272 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11273 (rst-normalize-cursor-position, rst-get-decoration)
11274 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11275 (rst-rstrip, rst-toc-insert-find-delete-contents)
11276 (rst-shift-fill-region, rst-compute-bullet-tabs)
11277 (rst-debug-print-tabs, rst-debug-mark-found)
11278 (rst-shift-region-guts, rst-shift-region-right)
11279 (rst-shift-region-left, rst-use-char-classes)
11280 (rst-font-lock-keywords-function)
11281 (rst-font-lock-indentation-point)
11282 (rst-font-lock-find-unindented-line-begin)
11283 (rst-font-lock-find-unindented-line-end)
11284 (rst-font-lock-find-unindented-line)
11285 (rst-font-lock-adornment-point, rst-font-lock-level)
11286 (rst-adornment-level-alist): Remove functions and variables.
11288 (rst-compare-adornments, rst-get-adornment-match)
11289 (rst-suggest-new-adornment, rst-get-adornments-around)
11290 (rst-adornment-complete-p, rst-get-next-adornment)
11291 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11292 (rst-straighten-adornments): Standardize function names to
11293 use "adornment" instead of "decoration". Correct callers.
11294 Similar standardizing in many places.
11296 (rst-update-section, rst-adjust, rst-promote-region)
11297 (rst-enumerate-region, rst-bullet-list-region)
11298 (rst-repeat-last-character): Correct use of `interactive'.
11300 (rst-classify-adornment, rst-find-all-adornments)
11301 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11302 (rst-find-leftmost-column, rst-repeat-last-character):
11303 Refactor functions.
11305 (rst-find-title-line, rst-reset-section-caches)
11306 (rst-get-adornments-around, rst-adjust-adornment-work)
11307 (rst-arabic-to-roman, rst-roman-to-arabic)
11308 (rst-insert-list-pos, rst-insert-list-new-item)
11309 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11312 (rst-all-sections, rst-section-hierarchy)
11313 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11316 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11317 configuration instead of only buffer. Change where necessary.
11319 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11320 (rst-shift-region, rst-adaptive-fill): New functions for
11321 indentation and filling.
11323 (rst-comment-line-break, rst-comment-indent)
11324 (rst-comment-insert-comment, rst-comment-region)
11325 (rst-uncomment-region): New functions for handling comments.
11327 (rst-compile): Quote shell arguments.
11329 (rst-compile-pdf-preview, rst-compile-slides-preview):
11330 Delete temporary files after use.
11332 2012-05-05 Glenn Morris <rgm@gnu.org>
11334 * calendar/cal-html.el: Optionally include holidays in the output.
11335 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11336 (cal-html-holidays): New option.
11337 (cal-html-css-default): Add holiday entry.
11338 (holiday-in-range): Autoload it.
11339 (cal-html-htmlify-entry): Add optional class argument.
11340 (cal-html-htmlify-list): Add optional holidays argument.
11341 (cal-html-insert-agenda-days): Include holidays in the output.
11342 (cal-html-one-month): Maybe include holidays.
11344 * calendar/holidays.el (holiday-in-range):
11345 Move here from cal-tex-list-holidays.
11346 * calendar/cal-tex.el (cal-tex-list-holidays):
11347 Make it an obsolete alias for holiday-in-range. Update all callers.
11349 2012-05-05 Chong Yidong <cyd@gnu.org>
11351 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11354 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11356 * files.el (file-auto-mode-skip): New var.
11357 (set-auto-mode-1): Use it.
11359 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * repeat.el: Use lexical-binding.
11362 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11363 (repeat-undo-count): Remove.
11365 * progmodes/octave-mod.el (octave-abbrev-start):
11366 * progmodes/f90.el (f90-abbrev-start):
11367 * face-remap.el (text-scale-adjust):
11368 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11370 * emacs-lisp/pcase.el (pcase--let*): New function.
11371 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11373 (pcase--split-pred): Be more clever about ruling out overlap between
11374 a predicate and some constant pattern.
11375 (pcase--q1): Use `null' instead of (eq foo nil).
11377 * subr.el (setq-local, defvar-local): New macros.
11378 (kbd): Redefine as an alias.
11379 (with-selected-window): Leave unrelated frames alone.
11380 (set-temporary-overlay-map): New function.
11382 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11384 * subr.el (user-error): New function.
11385 * window.el (switch-to-buffer):
11386 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11387 (smerge-match-conflict):
11388 * simple.el (previous-matching-history-element)
11389 (next-matching-history-element, goto-history-element, undo-more)
11391 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11392 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11393 (next-file, tags-loop-scan, list-tags, complete-tag):
11394 * progmodes/compile.el (compilation-loop):
11395 * mouse.el (mouse-minibuffer-check):
11396 * man.el (Man-bgproc-sentinel, Man-goto-page):
11397 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11398 (Info-history-forward, Info-follow-reference, Info-menu)
11399 (Info-extract-menu-item, Info-extract-menu-counting)
11400 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11401 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11402 (Info-next-reference, Info-prev-reference, Info-index)
11403 (Info-index-next, Info-follow-nearest-node)
11404 (Info-copy-current-node-name):
11405 * imenu.el (imenu--make-index-alist)
11406 (imenu-default-create-index-function, imenu-add-to-menubar):
11407 * files.el (basic-save-buffer, recover-file):
11408 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11409 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11410 (checkdoc-message-text, checkdoc-defun):
11411 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11412 * cus-edit.el (customize-changed-options, customize-rogue)
11413 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11414 (custom-variable-mark-to-reset-standard)
11415 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11417 * completion.el (check-completion-length):
11418 * comint.el (comint-search-arg)
11419 (comint-previous-matching-input-string-position)
11420 (comint-previous-matching-input)
11421 (comint-replace-by-expanded-history-before-point, comint-send-input)
11422 (comint-copy-old-input, comint-backward-matching-input)
11423 (comint-goto-process-mark, comint-set-process-mark):
11424 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11425 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11427 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * dabbrev.el (dabbrev--ignore-case-p): New function.
11430 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11433 * files.el (automount-dir-prefix): Mark as obsolete.
11435 2012-05-04 Glenn Morris <rgm@gnu.org>
11437 * patcomp.el, play/bruce.el: Move to obsolete/.
11439 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11441 Fix minor Y10k bugs.
11442 * arc-mode.el (archive-unixdate):
11443 * autoinsert.el (auto-insert-alist):
11444 * calc/calc-forms.el (math-this-year):
11445 * emacs-lisp/copyright.el (copyright-current-year)
11446 (copyright-update-year, copyright):
11447 * tar-mode.el (tar-clip-time-string):
11448 * time.el (display-time-update):
11449 Don't assume years have 4 digits.
11451 2012-05-04 Chong Yidong <cyd@gnu.org>
11453 * dos-w32.el (file-name-buffer-file-type-alist)
11454 (direct-print-region-use-command-dot-com):
11455 * ffap.el (ffap-menu-regexp):
11456 * find-file.el (ff-special-constructs):
11457 * follow.el (follow-debug):
11458 * forms.el (forms--debug):
11459 * iswitchb.el (iswitchb-all-frames):
11460 * ido.el (ido-all-frames):
11461 * emacs-lisp/timer.el (timer-max-repeats):
11462 * mail/feedmail.el (feedmail-mail-send-hook)
11463 (feedmail-mail-send-hook-queued):
11464 * mail/footnote.el (footnote-signature-separator):
11465 * mail/mailabbrev.el (mail-alias-separator-string)
11466 (mail-abbrev-mode-regexp):
11467 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11468 * progmodes/idlwave.el (idlwave-libinfo-file)
11469 (idlwave-default-completion-case-is-down)
11470 (idlwave-library-routines): Convert defvars to defcustoms.
11472 * mail/rmail.el (rmail-decode-mime-charset):
11473 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11474 (idlwave-shell-fix-inserted-breaks)
11475 (idlwave-shell-activate-alt-keybindings)
11476 (idlwave-shell-use-breakpoint-glyph):
11477 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11479 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11483 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11485 * progmodes/verilog-mode.el (font-lock-keywords):
11486 Fix mis-highligting auto. Reported by Craig Barner.
11487 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11488 defines from global name space. Reported by Dan Dever.
11489 (verilog-auto-reset, verilog-auto-reset-widths)
11490 (verilog-auto-tieoff): Support using unbased numbers for
11491 AUTORESET and AUTOTIEOFF.
11492 (verilog-submit-bug-report): Update variable list.
11493 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11494 parenthesis from not matching. Reported by Michael Rytting.
11495 (verilog-auto-template-lint): Fix hash error when linting modules
11496 with no used templates.
11497 (verilog-warn, verilog-warn-error)
11498 (verilog-warn-fatal): When non-interactive report multiple
11499 warnings before exiting. Suggested by Brad Dobbie.
11500 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11501 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11502 to report unused template errors. Reported by Brad Dobbie.
11503 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11504 nets, bug438. Reported by Vns Blore.
11505 (verilog-auto-inout-module, verilog-auto-reg)
11506 (verilog-read-decls, verilog-read-sub-decls-sig)
11507 (verilog-signals-edit-wire-reg, verilog-signals-with):
11508 Fix passing of Verilog data types in ANSI input/output ports
11509 such as "output logic" into the AUTOs. Special case "wire" and
11510 "reg" for backwards compatibility presuming Verilog 2001.
11511 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11512 (verilog-preprocess): Fix replication of preprocess output.
11513 Reported by Brad Dobbie.
11514 (verilog-auto-inst-interfaced-ports):
11515 Create verilog-auto-inst-interfaced-ports, bug429.
11516 Reported by Julian Gorfajn.
11517 (verilog-after-save-font-hook)
11518 (verilog-before-save-font-hook): New variable.
11519 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11520 (verilog-save-font-mods): Wrap disabling fontification, reported
11522 (verilog-do-indent, verilog-pretty-declarations-auto)
11523 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11524 Reported by Pierre-David Pfister.
11525 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11526 of class declarations, bug292. Reported by Kevin Heilman.
11527 (verilog-read-decls): Fix 'parameter type' not appearing in
11528 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11529 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11530 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11531 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11532 Reported by David Kravitz.
11534 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11536 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11537 assignment with tests in ifs and for loops.
11538 (verilog-extended-complete-re, verilog-complete-reg): Change so
11539 that DPI inport functions don't look like fuction declarations.
11540 (verilog-pretty-expr): Don't line up assignment
11541 operations to the test and increment in if and for loops
11542 (verilog-extended-complete-re, verilog-complete-reg): Change so
11543 that DPI inport functions don't look like fuction declarations.
11545 2012-05-03 Kenichi Handa <handa@m17n.org>
11547 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11548 decoding, and show a warning message without signaling an error
11551 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11553 * emacs-lisp/bytecomp.el
11554 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11555 since cconv.el might have introduced :fun-body, internal-make-closure,
11556 and friends for bytecomp to handle (bug#11391).
11557 * custom.el (defcustom): Avoid ((λ ..) ..).
11559 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11561 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11563 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11565 * notifications.el (dbus-debug):
11566 * term/linux.el (gpm-mouse-enable):
11567 * term/screen.el (xterm-register-default-colors): Declare.
11569 2012-05-02 Chong Yidong <cyd@gnu.org>
11571 * cus-start.el (gc-cons-percentage, exec-suffixes)
11572 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11573 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11574 (make-cursor-line-fully-visible, void-text-area-pointer)
11575 (font-list-limit): Add customization data.
11577 * allout.el (allout-exposure-change-functions)
11578 (allout-structure-added-functions)
11579 (allout-structure-deleted-functions)
11580 (allout-structure-shifted-functions): Rename abnormal hooks from
11581 *-hook, and convert to defcustoms.
11582 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11583 Convert to defcustoms.
11584 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11586 * allout-widgets.el: Hook callers changed.
11588 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11590 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11591 the yanked message in preference to the default value of
11592 buffer-file-coding-system.
11594 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11596 * window.el (display-buffer--action-function-custom-type):
11599 2012-05-02 Alan Mackenzie <acm@muc.de>
11601 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11603 2012-05-01 Glenn Morris <rgm@gnu.org>
11605 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11607 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11609 * cus-edit.el (custom-variable-documentation): Simplify with format.
11611 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11612 Stefan Monnier <monnier@iro.umontreal.ca>
11614 * simple.el (suggest-key-bindings, execute-extended-command):
11615 Move from keyboard.c.
11617 2012-05-01 Chong Yidong <cyd@gnu.org>
11619 * follow.el: Eliminate advice.
11620 (set-process-filter, process-filter, sit-for): Advice deleted.
11621 (follow-mode-off-hook): Obsolete hook removed.
11622 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11624 (follow-auto): Use a :set function.
11625 (follow-mode): Rewritten. Don't advise process filters.
11626 (follow-switch-to-current-buffer-all, follow-scroll-up)
11627 (follow-scroll-down): Assume follow-mode is bound.
11628 (follow-comint-scroll-to-bottom)
11629 (follow-align-compilation-windows): New functions.
11630 (follow--window-sorter): New function.
11631 (follow-all-followers): Use it to explicitly sort windows by their
11632 positions; don't make assumptions about next-window order.
11633 (follow-windows-start-end, follow-delete-other-windows-and-split)
11634 (follow-calc-win-start): Doc fix.
11635 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11636 vertical-motion unnecessarily.
11637 (follow-adjust-window): New function.
11638 (follow-post-command-hook): Use it.
11639 (follow-call-set-process-filter, follow-call-process-filter)
11640 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11641 (follow-stop-intercept-process-output, follow-generic-filter):
11643 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11644 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11645 New functions, replacing advice on scroll-bar-* commands.
11646 (follow-mwheel-scroll): New function (Bug#4112).
11648 * comint.el (comint-adjust-point): New function.
11649 (comint-postoutput-scroll-to-bottom): Use it.
11650 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11652 2012-05-01 Glenn Morris <rgm@gnu.org>
11654 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11655 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11656 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11657 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11658 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11659 Remove no-byte-compile setting.
11661 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11663 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11664 all-completions code to not return a number in the last cdr.
11666 2012-04-30 Leo Liu <sdl.web@gmail.com>
11668 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11671 2012-04-29 Chong Yidong <cyd@gnu.org>
11673 * follow.el (follow-calc-win-end): Rewrite to handle partial
11674 screen lines correctly (Bug#8390).
11675 (follow-avoid-tail-recenter): Minor cleanup.
11677 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11679 Avoid the obsolete `assoc' package.
11680 * speedbar.el (speedbar-refresh): Avoid adelete.
11681 (speedbar-file-lists): Simplify and avoid aput.
11682 * man.el (Man--sections, Man--refpages): New vars, replacing
11683 Man-sections-alist and Man-refpages-alist.
11684 (Man-build-section-alist, Man-build-references-alist):
11685 Use them; avoid aput.
11686 (Man--last-section, Man--last-refpage): New vars.
11687 (Man-follow-manual-reference): Use them.
11688 Use the `default' arg of completing-read.
11689 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11691 2012-04-27 Chong Yidong <cyd@gnu.org>
11693 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11695 * startup.el (x-apply-session-resources): New function.
11697 * term/ns-win.el (ns-initialize-window-system):
11698 * term/w32-win.el (w32-initialize-window-system):
11699 * term/x-win.el (x-initialize-window-system): Use it to properly
11700 set menu-bar-mode and other vars from X resources, even if the
11701 initial frame is not a window-system frame (Bug#2299).
11703 * subr.el (read-key): Avoid running filter function when setting
11704 up temporary tool bar entries (Bug#9922).
11706 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11708 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11711 2012-04-27 Chong Yidong <cyd@gnu.org>
11713 * select.el (xselect--encode-string): New function, split from
11714 xselect-convert-to-string.
11715 (xselect-convert-to-string): Use it.
11716 (xselect-convert-to-filename, xselect-convert-to-os)
11717 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11718 returned strings are properly encoded (Bug#11315).
11720 2012-04-27 Chong Yidong <cyd@gnu.org>
11722 * simple.el (delete-active-region): Move to killing custom group.
11724 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11726 * progmodes/which-func.el (which-func-current): Quote %
11727 characters for mode-line processing.
11729 2012-04-27 Chong Yidong <cyd@gnu.org>
11731 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11732 reaching eob (Bug#11286).
11734 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11736 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11737 (gdb): Make it buffer-local and init to zero.
11738 (gdb-control-commands-regexp): New variable.
11739 (gdb-send): Don't wrap in "-interpreter-exec console" if
11740 gdb-control-level is positive. Increment gdb-control-level
11741 whenever the command matches gdb-control-commands-regexp, and
11742 decrement it each time the command is "end". (Bug#11279)
11744 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11746 * window.el (adjust-window-trailing-edge, enlarge-window)
11747 (shrink-window, window-resize):
11748 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11749 windows (Bug#11276).
11751 2012-04-27 Chong Yidong <cyd@gnu.org>
11753 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11754 fix "missing prefix" warning. All callers changed.
11756 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11758 * emacs-lisp/assoc.el: Move to obsolete/.
11760 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11764 * term/ns-win.el (ns-define-service):
11765 * progmodes/pascal.el (pascal-goto-defun):
11766 * progmodes/js.el (js--read-tab):
11767 * progmodes/etags.el (tags-lazy-completion-table):
11768 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11769 * emacs-lisp/ewoc.el (ewoc--wrap):
11770 * emacs-lisp/assoc.el (aput, adelete, amake):
11771 * doc-view.el (doc-view-convert-current-doc):
11772 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11774 2012-04-26 Chong Yidong <cyd@gnu.org>
11776 * image.el (image-type-from-buffer): Only return supported image
11779 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11780 value, for symmetry with diff-end-of-hunk.
11781 (diff-split-hunk, diff-find-source-location)
11782 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11783 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11784 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11785 compute the relevant hunk or file properly (Bug#6005).
11786 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11788 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11797 * vc/vc.el: Replace lexical-let by lexical-binding.
11798 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11799 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11800 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11802 2012-04-26 Chong Yidong <cyd@gnu.org>
11804 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11805 (diff-mode-shared-map): Bind it to / and [remap undo].
11807 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11808 (ediff-window-setup-function): Use it as the default, to set up
11809 windows based on whether the current frame is graphical (Bug#2138).
11810 (ediff-choose-window-setup-function-automatically): Make obsolete.
11812 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11814 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * ffap.el: Remove old code for obsolete package.
11817 (ffap-complete-as-file-p): Remove.
11819 Use completion-table-with-quoting for comint and pcomplete.
11820 * comint.el (comint--unquote&requote-argument)
11821 (comint--unquote-argument, comint--requote-argument): New functions.
11822 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11823 (comint-quote-filename): Use regexp-opt-charset.
11824 (comint--common-suffix, comint--common-quoted-suffix)
11825 (comint--table-subvert): Remove.
11826 (comint-unquote-function, comint-requote-function): New vars.
11827 (comint--complete-file-name-data): Use them with
11828 completion-table-with-quoting.
11829 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11830 * pcomplete.el (pcomplete-arg-quote-list)
11831 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11832 (pcomplete-unquote-argument-function): Default to non-nil.
11833 (pcomplete-unquote-argument): Simplify.
11834 (pcomplete--common-quoted-suffix): Remove.
11835 (pcomplete-requote-argument-function): New var.
11836 (pcomplete--common-suffix): New function.
11837 (pcomplete-completions-at-point): Use completion-table-with-quoting
11838 and completion-table-subvert.
11840 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11841 (minibuffer--double-dollars): Preserve properties.
11842 (completion--sifn-requote): New function.
11843 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11845 * minibuffer.el: Add support for completion of quoted/escaped data.
11846 (completion-table-with-quoting, completion-table-subvert): New funs.
11847 (completion--twq-try, completion--twq-all): New functions.
11848 (completion--nth-completion): New function.
11849 (completion-try-completion, completion-all-completions): Use it.
11851 2012-04-25 Leo Liu <sdl.web@gmail.com>
11853 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11854 Use compilation-message if available to find real filename.
11856 2012-04-25 Chong Yidong <cyd@gnu.org>
11858 * vc/diff-mode.el (diff-setup-whitespace): New function.
11859 (diff-mode): Use it.
11861 * vc/diff.el (diff-sentinel):
11862 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11863 Whitespace mode variables based on diff style (Bug#8612).
11865 2012-04-25 Leo Liu <sdl.web@gmail.com>
11867 * progmodes/python.el (python-send-region): Add suffix .py to the
11870 * files.el (auto-mode-alist): Use javascript-mode instead.
11872 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11874 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11876 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11877 (soap-resolve-references-for-array-type): Hack to prevent self
11878 references, see Bug#9.
11879 (soap-parse-envelope): Report the contents of the 'detail' node
11880 when receiving a fault reply.
11881 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11883 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11884 (soap-inspect-simple-type): New function.
11886 * net/soap-client.el (soap-simple-type): New struct.
11887 (soap-default-xsd-types, soap-default-soapenc-types)
11888 (soap-decode-basic-type, soap-encode-basic-type):
11889 support unsignedInt and double basic types.
11890 (soap-resolve-references-for-simple-type)
11891 (soap-parse-simple-type, soap-encode-simple-type): New function.
11892 (soap-parse-schema): Parse xsd:simpleType declarations.
11894 * net/soap-client.el (soap-default-xsd-types)
11895 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11896 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11897 the local name of "soapenc:Array".
11898 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11899 decoding integer, byte and anyURI xsd types.
11901 2012-04-25 Chong Yidong <cyd@gnu.org>
11903 * cus-edit.el (custom-buffer-create-internal): Update header text.
11905 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11907 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11908 settings on 'system-type', not on 'window-system'. On MS-Windows,
11909 set interactive-mode on in GDB.
11911 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11913 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11914 (ruby-syntax-propertize-regexp): Remove.
11915 (ruby-syntax-propertize-function): Split regexp into chunks.
11916 Match following code directly.
11918 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11920 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11921 (ruby-syntax-propertize-regexp): New function.
11922 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11923 by a special keyword.
11925 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11926 (ruby-syntax-general-delimiters-goto-beg)
11927 (ruby-syntax-propertize-general-delimiters): New functions.
11928 (ruby-syntax-propertize-function): Use them to handle GDL.
11929 (ruby-font-lock-keywords): Move old handling of GDL...
11930 (ruby-font-lock-syntactic-keywords): .. to here.
11931 (ruby-calculate-indent): Adjust indentation for GDL.
11933 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11935 * notifications.el (top): Remove unneeded declarations.
11936 (notifications-specification-version): Change to "1.2".
11937 (notifications-interface, notifications-notify-method)
11938 (notifications-close-notification-method): Fix docstring.
11939 (notifications-get-capabilities-method): New defconst.
11940 (notifications-notify): Add :action-items, :resident and
11941 :transient hints. Change "image_data" to "image-data" and
11942 "image_path" to "image-path".
11943 (notifications-get-capabilities): New defun.
11945 2012-04-24 Leo Liu <sdl.web@gmail.com>
11947 * progmodes/python.el: Move hideshow setup to the end.
11949 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11951 * window.el (handle-select-window): Clear echo area since this is
11952 no more done by read_char (Bug#11304).
11954 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11956 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11957 and `/ M' to filter-derived-mode.
11958 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11959 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11960 (ibuffer-mark-by-mode): Use default rather than initial-input.
11961 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11963 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11965 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11966 (ibuffer-filter-by-derived-mode): New filter.
11967 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11969 2012-04-23 Andreas Politz <politza@fh-trier.de>
11971 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11973 2012-04-23 Chong Yidong <cyd@gnu.org>
11975 * cus-edit.el (customize-apropos, customize-apropos-options):
11976 Disable matching of non-option variables (Bug#11176).
11977 (customize-option, customize-option-other-window)
11978 (customize-changed-options): Doc fix.
11979 (customize-apropos-options, customize-apropos-faces)
11980 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11982 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11983 Fix word list splitting (Bug#11132).
11984 (apropos-symbol, apropos-keybinding, apropos-label)
11985 (apropos-property, apropos-function-button)
11986 (apropos-variable-button, apropos-misc-button): New faces.
11987 (apropos-symbol-face, apropos-keybinding-face)
11988 (apropos-label-face, apropos-property-face, apropos-match-face):
11989 Variables removed (Bug#8396).
11990 (apropos-library-button, apropos-format-plist, apropos-print)
11991 (apropos-print-doc, apropos-describe-plist): Callers changed.
11993 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11995 * net/xesam.el (xesam-mode-map): Use let-bound map in
11996 initialization. (Bug#11292)
11998 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12000 Preserve ispell session localwords when switching back to
12003 * textmodes/ispell.el (ispell-buffer-session-localwords):
12004 New buffer-local variable to hold buffer session localwords.
12005 (ispell-kill-ispell): Add option 'clear to delete session
12007 (ispell-command-loop, ispell-change-dictionary)
12008 (ispell-buffer-local-words): Preserve session localwords when
12011 * textmodes/flyspell.el (flyspell-process-localwords)
12012 (flyspell-do-correct): Preserve session localwords when needed.
12014 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12016 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12017 using obsolete `translation-table-for-input'.
12018 (ispell-word, ispell-process-line, ispell-complete-word):
12019 Use plain `insert' instead of removed `ispell-insert-word'.
12021 2012-04-22 Chong Yidong <cyd@gnu.org>
12023 * cus-edit.el (custom-variable-menu)
12024 (custom-variable-reset-saved, custom-face-menu)
12025 (custom-face-reset-saved): If there is no saved value, make the
12026 "reset-saved" operation bring back the default (Bug#9509).
12027 (custom-face-state): Properly detect themed faces.
12029 * faces.el (face-spec-set): Stop supporting deprecated form of
12032 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12034 Move functions from C to Lisp. Make non-blocking method calls
12035 the default. Implement further D-Bus standard interfaces.
12037 * net/dbus.el (dbus-message-internal): Declare function.
12038 Remove unneeded function declarations.
12039 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12040 (dbus-message-type-method-return, dbus-message-type-error)
12041 (dbus-message-type-signal): Declare variables. Remove local
12043 (dbus-interface-dbus, dbus-interface-peer)
12044 (dbus-interface-introspectable, dbus-interface-properties)
12045 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12047 (dbus-interface-objectmanager): New defconst.
12048 (dbus-call-method, dbus-call-method-asynchronously)
12049 (dbus-send-signal, dbus-method-return-internal)
12050 (dbus-method-error-internal, dbus-register-service)
12051 (dbus-register-signal, dbus-register-method): New defuns, moved
12053 (dbus-call-method-handler, dbus-setenv)
12054 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12056 (dbus-call-method-non-blocking): Make it an obsolete function.
12057 (dbus-unregister-object, dbus-unregister-service)
12058 (dbus-handle-event, dbus-register-property)
12059 (dbus-property-handler): Obey the new structure of
12060 `bus-registered-objects'.
12061 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12062 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12063 Use `dbus-call-method'.
12065 2012-04-22 Chong Yidong <cyd@gnu.org>
12067 * cus-edit.el (custom-commands, custom-reset-menu)
12068 (Custom-reset-standard): Tweak labels.
12069 (custom-reset-button-menu): Change default to t.
12070 (custom-buffer-create-internal): For the custom-reset-button-menu
12071 case, put the revert button first.
12072 (custom-group-subtitle): New face.
12073 (custom-group-value-create): Align docstring to a specific column.
12075 * wid-edit.el (widget-documentation-link-add): Don't handle
12076 indentation in this function.
12077 (widget-documentation-string-indent-to): New function.
12078 (widget-documentation-string-value-create): Use it.
12080 * autorevert.el (auto-revert):
12081 * epg-config.el (epg):
12082 * ibuffer.el (ibuffer):
12085 * eshell/eshell.el (eshell):
12086 * net/ange-ftp.el (ange-ftp):
12087 * progmodes/ebnf2ps.el (postscript):
12088 * progmodes/flymake.el (flymake):
12089 * progmodes/prolog.el (prolog):
12090 * progmodes/verilog-mode.el (verilog-mode):
12091 * progmodes/which-func.el (which-func):
12092 * term/xterm.el (xterm):
12093 * textmodes/picture.el (picture):
12094 * textmodes/tildify.el (tildify):
12095 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12096 customization buffers.
12098 2012-04-22 Alan Mackenzie <acm@muc.de>
12100 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12101 Adding a ) can hide the resulting (..) from searches. Fix it.
12102 Bound the backward search to the position of the existing (.
12104 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12106 * progmodes/verilog-mode.el (verilog-mode): Check whether
12107 which-func-modes is t before adding verilog-mode.
12108 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12110 2012-04-21 Leo Liu <sdl.web@gmail.com>
12112 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12114 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12116 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12117 filling of the last column of a table (Bug#5635).
12118 (woman-find-next-control-line): New arg, specifying an additional
12119 regexp component for the control line.
12120 (woman2-roff-buffer): Use it.
12121 (woman-break-table): New function.
12122 (woman2-TS): Use it.
12124 2012-04-21 Chong Yidong <cyd@gnu.org>
12126 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12127 (woman-horizontal-escapes, woman-negative-vertical-space)
12128 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12129 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12131 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12133 * minibuffer.el (completion-file-name-table): Complete user names.
12135 2012-04-20 Leo Liu <sdl.web@gmail.com>
12137 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12140 2012-04-20 Chong Yidong <cyd@gnu.org>
12142 * server.el (server-execute): Respect initial-buffer-choice if it
12143 is a string and there are no files to open (Bug#2825).
12144 (server-create-window-system-frame, server-create-tty-frame):
12145 Don't switch buffers here.
12146 (server-process-filter): Only try to open a window system frame if
12147 compiled with graphical support (Bug#8314).
12149 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12151 * battery.el (battery-echo-area-format): Display remaining time
12152 for sysfs backend too (Bug#11269).
12153 (battery-linux-sysfs): Fix conditional for the charge.
12155 2012-04-20 Chong Yidong <cyd@gnu.org>
12157 * progmodes/gdb-mi.el (gdb): Revert previous change.
12158 (gdb-inferior-io--init-proc): New function.
12159 (gdb-init-1): Use it.
12160 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12161 responsible for allocating a new pty and hooking it to gdb when
12162 the old pty gets an EIO due to process exit.
12163 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12164 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12165 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12167 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12169 * window.el (window-min-size, window-sizable, window-min-delta)
12170 (window-max-delta, window--resizable, window-resizable)
12171 (window-total-size, window-full-height-p, window-full-width-p)
12172 (window-in-direction, window--resize-mini-window, window-resize)
12173 (window--resize-child-windows-normal)
12174 (window--resize-child-windows, window--resize-siblings)
12175 (window--resize-this-window, adjust-window-trailing-edge)
12176 (enlarge-window, shrink-window): Doc fixes.
12178 2012-04-20 Chong Yidong <cyd@gnu.org>
12180 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12181 New function to call delete-process on the gdb-inferior buffer's pty.
12182 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12183 pty process (Bug#11273).
12184 (gdb-update): New arg to suppress talking to the gdb process.
12185 (gdb-done-or-error): Use it.
12186 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12187 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12188 sentinel not being called.
12190 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12192 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12194 2012-04-20 Glenn Morris <rgm@gnu.org>
12196 * net/network-stream.el (open-network-stream): Doc fix.
12198 2012-04-20 Chong Yidong <cyd@gnu.org>
12200 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12202 2012-04-20 Alan Mackenzie <acm@muc.de>
12204 Ensure searching for keywords is case sensitive.
12206 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12207 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12208 (c-defun-name, c-mark-function, c-cpp-define-name)
12209 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12210 (c-context-line-break): Bind case-fold-search to nil.
12212 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12213 Bind case-fold-search to nil.
12215 2012-04-20 Chong Yidong <cyd@gnu.org>
12217 * mail/sendmail.el (mail-bury): Call return action with the right
12218 Rmail buffer (Bug#11242).
12220 * server.el (server-process-filter): Handle corner case where both
12221 tty and nowait options are present (Bug#11102).
12223 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12225 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12226 (top level): Put into the executable the ident-style '$Id:' tag on
12227 windows-nt as well.
12229 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12231 * electric.el (electric-indent-post-self-insert-function): Check that
12232 electric-indent-mode is enabled in current buffer.
12234 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12236 * imenu.el (imenu-progress-message): Restore; it is "used" in
12237 erc/erc-imenu.el and net/snmp-mode.el.
12239 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12241 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12242 (mouse-avoidance-nudge-mouse): Remove unused binding.
12244 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12246 * descr-text.el (describe-char):
12247 * progmodes/python.el (python-describe-symbol):
12248 Don't call `toggle-read-only', set `buffer-read-only'.
12250 * imenu.el (imenu-default-goto-function): Mark unused args.
12251 (imenu-progress-message): Remove obsolete macro; all callers changed.
12253 * subr.el (keymap-canonicalize): Remove unused binding.
12254 (read-passwd): Mark unused arg.
12256 * tutorial.el (tutorial--display-changes): Remove unused binding.
12257 (tutorial--save-tutorial-to): Remove unused variable.
12259 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12260 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12261 (package-generate-autoloads, package-menu--generate)
12262 (package-menu--find-upgrades): Remove unused bindings.
12264 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12265 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12266 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12267 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12268 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12269 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12270 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12271 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12272 (cua-delete-char-rectangle): Mark unused args.
12273 (cua-align-rectangle): Remove unused binding.
12275 * mail/rmail.el (compilation--message->loc)
12276 (epa--find-coding-system-for-mime-charset): Declare.
12278 * net/dbus.el (dbus-register-service): Declare.
12279 (dbus-name-owner-changed-handler): Remove unused binding.
12281 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12282 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12283 (nxml-scan-backward-within): Mark unused arg.
12284 (nxml-dynamic-markup-word): Remove unused binding.
12286 * mouse.el (mouse-menu-major-mode-map):
12287 * emacs-lisp/authors.el (authors-scan-change-log)
12288 (authors-add-to-author-list):
12289 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12290 * emacs-lisp/smie.el (smie-auto-fill):
12291 * mail/sendmail.el (mail-bury):
12292 * mail/unrmail.el (unrmail):
12293 * net/tls.el (open-tls-stream):
12294 * textmodes/picture.el (picture-mouse-set-point):
12295 Remove unused bindings.
12297 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12299 * net/tramp.el (tramp-action-password): Let-bind
12300 `enable-recursive-minibuffers' to t.
12302 2012-04-18 Sam Steingold <sds@gnu.org>
12304 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12305 instead of 'string to accommodate values like [f11].
12306 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12307 * progmodes/gdb-mi.el: Likewise.
12309 2012-04-18 Leo Liu <sdl.web@gmail.com>
12311 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12313 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12316 2012-04-18 Chong Yidong <cyd@gnu.org>
12318 * simple.el (line-move): Use forward-line if in batch mode
12321 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12323 * files.el (after-find-file): Do not try to add a final newline if
12324 the buffer is read-only (Bug#11156).
12326 2012-04-17 Richard Stallman <rms@gnu.org>
12328 * mail/rmail.el (rmail-start-mail):
12329 Pass (rmail-mail-return...) for the return-action.
12330 Pass (rmail-yank-current-message...) for the yank-action.
12331 (rmail-yank-current-message): New function.
12332 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12333 (rmail-reply): Likewise.
12334 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12336 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12337 buffer, not the last. Reject temp buffers. Use the rmail-mode
12338 buffer, not newbuf.
12340 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12342 * server.el (server-ensure-safe-dir): Simplify.
12344 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * emacs-lisp/smie.el: Provide smarter auto-filling.
12347 (smie-auto-fill): New function.
12348 (smie-setup): Use it.
12350 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12352 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12354 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12355 (comment-indent): Use it.
12357 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12359 * ses.el: The overall change is to add cell renaming, that is
12360 setting fancy names for cell symbols other than name matching
12361 "\\`[A-Z]+[0-9]+\\'" regexp .
12362 (ses-localvars): Add ses--renamed-cell-symb-list.
12363 (ses-create-cell-variable): New defun.
12364 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12365 (ses-relocate-formula): Relocate formulas only for cells the
12366 symbols of which are not renamed, i.e. symbols whose names do not
12367 match regexp "\\`[A-Z]+[0-9]+\\'".
12368 (ses-relocate-all): Relocate values only for cells the symbols of
12369 which are not renamed.
12370 (ses-load): Create cells variables as the (ses-cell ...) are read,
12371 in order to check row col consistency with cell symbol name only
12372 for cells that are not renamed.
12373 (ses-replace-name-in-formula): New defun.
12374 (ses-rename-cell): New defun.
12376 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12378 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12379 New option (bug#11118).
12380 (perl-calculate-indent): Respect it.
12382 2012-04-17 Glenn Morris <rgm@gnu.org>
12384 * dired-aux.el (dired-mark-read-string): Doc fix.
12386 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12388 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12389 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12391 2012-04-17 Glenn Morris <rgm@gnu.org>
12393 * mouse.el (mouse-drag-track):
12394 * speedbar.el (speedbar-frame-mode):
12395 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12397 2012-04-16 Leo Liu <sdl.web@gmail.com>
12399 * progmodes/python.el: Trivial cleanup.
12401 2012-04-16 Glenn Morris <rgm@gnu.org>
12403 * vc/vc.el (vc-string-prefix-p):
12404 * vc/pcvs-util.el (cvs-string-prefix-p):
12405 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12406 * mpc.el (mpc-string-prefix-p):
12407 Make all of these into obsolete aliases for string-prefix-p.
12409 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12411 * textmodes/two-column.el: Move custom options to the start.
12412 (frame-width): Remove compat definition.
12413 (2C-associate-buffer, 2C-dissociate):
12414 Use with-current-buffer rather than save-excursion.
12415 (2C-dissociate): Force a mode-line update.
12416 (2C-autoscroll): Use ignore-errors.
12418 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12421 * emacs-lisp/cl-extra.el (*random-state*):
12422 Remove unnecessary declaration.
12424 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12426 * play/cookie1.el (cookie-snarf):
12427 Give an explicit error if input file cannot be read.
12429 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12431 * progmodes/perl-mode.el (c-macro-expand):
12432 Remove unnecessary autoload (it is in loaddefs.el).
12434 * textmodes/picture.el (picture-desired-column)
12435 (picture-update-desired-column): Convert comments to doc-strings.
12436 (picture-substitute): Remove function.
12437 (picture-mode-map): Initialize in the defvar.
12439 * woman.el: Remove eval-after-load for tar-mode.
12440 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12441 (woman-tar-extract-file): Autoload it.
12443 * frame.el (automatic-hscrolling): Make this alias obsolete.
12445 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12447 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12448 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12449 (ispell-dictionary-base-alist): Revert to original XEmacs
12450 friendly version for default. [:alpha:] will be added in
12451 `ispell-set-spellchecker-params' if needed.
12453 2012-04-16 Chong Yidong <cyd@gnu.org>
12455 * image.el (imagemagick--file-regexp): New variable.
12456 (imagemagick-register-types): Use it.
12457 (imagemagick-types-inhibit): Add :set function. Allow new value
12458 of t to inhibit all types.
12460 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12461 so we can preload it.
12463 * loadup.el (fboundp): Preload regexp-opt, needed by
12464 imagemagick-register-types.
12466 2012-04-15 Chong Yidong <cyd@gnu.org>
12468 * frame.el (scrolling): Remove nearly unused customization group.
12470 * scroll-all.el (scroll-all-mode): Move to windows group.
12472 2012-04-15 Chong Yidong <cyd@gnu.org>
12474 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12476 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12478 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12479 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12481 2012-04-15 Glenn Morris <rgm@gnu.org>
12483 * simple.el (process-file-side-effects): Doc fix.
12485 2012-04-15 Glenn Morris <rgm@gnu.org>
12487 * international/mule-cmds.el (set-language-environment): Doc fix.
12489 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12491 * server.el (server-auth-key, server-generate-key): Doc fixes.
12492 (server-get-auth-key): Doc fix. Use `string-match-p'.
12493 (server-start): Reflow docstring.
12495 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12497 * server.el (server-generate-key): `called-interactively-p'
12498 requires a parameter.
12500 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12502 * server.el (server-auth-key): New variable.
12503 (server-generate-key, server-get-auth-key): New function.
12504 (server-start): Use the new variable and functions to allow
12505 setting a permanent server key (bug#9423).
12507 2012-04-14 Leo Liu <sdl.web@gmail.com>
12509 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12511 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12514 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12515 Emacs uses American spelling.
12517 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12519 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12520 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12521 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12522 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12524 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12526 * progmodes/which-func.el (which-func-modes): Change default.
12528 2012-04-14 Kim F. Storm <storm@cua.dk>
12530 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12531 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12533 2012-04-14 Chong Yidong <cyd@gnu.org>
12535 * custom.el (custom-theme-set-variables): Doc fix.
12537 2012-04-14 Glenn Morris <rgm@gnu.org>
12539 * international/mule.el (set-auto-coding-for-load): Doc fix.
12541 2012-04-14 Alan Mackenzie <acm@muc.de>
12543 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12544 imenu work again for Objective C Mode. Correct the *-index values,
12545 these having been disturbed by a previous change in 2011-08.
12547 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12548 Correct two search limits.
12550 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12552 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12554 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12556 * international/characters.el: Fix sorting.
12558 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12560 * international/characters.el: Add more missing Latin case pairs.
12562 2012-04-14 Glenn Morris <rgm@gnu.org>
12564 * files.el (dir-locals-set-class-variables): Doc fix.
12566 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12568 * international/characters.el: Add set-case-syntax-pair call for
12569 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12570 counterpart. (Bug#11209)
12572 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12574 2012-04-14 Glenn Morris <rgm@gnu.org>
12576 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12578 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12580 * textmodes/ispell.el (ispell-dictionary-base-alist):
12581 Add data for Hebrew.
12583 2012-04-14 Chong Yidong <cyd@gnu.org>
12585 * net/rcirc.el (rcirc-cmd-quit):
12586 Revert 2012-03-18 change (Bug#11192).
12588 2012-04-14 Glenn Morris <rgm@gnu.org>
12590 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12592 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12594 * minibuffer.el (completion-in-region-mode-map):
12595 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12597 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12599 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12601 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12603 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12604 to allow `C-M-f' and `C-M-b' to move to the nearest path
12605 separator (bug#9511).
12607 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12609 * avoid.el: Require cl when compiling. And also move the
12610 `provide' to the end.
12612 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12614 * avoid.el (mouse-avoidance-banish-position): New variable.
12615 (mouse-avoidance-banish-destination): Use it (bug#10165).
12617 2012-04-13 Leo Liu <sdl.web@gmail.com>
12619 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12621 2012-04-13 Ken Brown <kbrown@cornell.edu>
12623 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12624 this is no longer needed now that cygstart understands file:// URLs.
12625 (browse-url-filename-alist): For the same reason, don't modify
12626 file:// URLs on Cygwin.
12628 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12630 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12631 the region on shift if the binding is already shifted (bug#11221).
12633 2012-04-12 Glenn Morris <rgm@gnu.org>
12635 * mail/mailpost.el: Move to obsolete/.
12637 2012-04-12 Drew Adams <drew.adams@oracle.com>
12639 * imenu.el (imenu--generic-function): Ignore invisible definitions
12642 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12644 * hexl.el (hexl-bits): New variable.
12645 (hexl-options): Mention the variable in the doc string.
12646 (hexl-rulerise, hexl-line-displen): New functions.
12647 (hexl-mode): Mention the new variable.
12648 (hexl-mode, hexl-current-address, hexl-current-address):
12650 (hexl-ascii-start-column): New function.
12651 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12652 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12654 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12656 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12657 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12658 the encoding, as expected by hunspell.
12660 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12662 * battery.el (battery--linux-sysfs-regexp): New const.
12663 (battery-status-function): Use it. Remove yeeloong special case.
12664 (battery-yeeloong-sysfs): Remove.
12665 (battery-echo-area-format): Remove yeeloong special case.
12667 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12670 Reported by Noah Friedman.
12672 * subr.el (read-passwd): Use read-string.
12674 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12676 * vcursor.el (vcursor-move): Increase the priority of the overlay
12679 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12681 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12682 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12684 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12686 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12687 define-minor-mode (bug#10760).
12689 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12691 * progmodes/grep.el (rgrep): Tweak the find command line so
12692 that directories matching `grep-find-ignored-files' won't be
12693 pruned (bug#10351).
12695 2012-04-11 Chong Yidong <cyd@gnu.org>
12697 * startup.el (command-line): Remove support for long-obsolete
12698 variable font-lock-face-attributes.
12700 2012-04-11 Glenn Morris <rgm@gnu.org>
12702 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12704 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12706 * window.el (window--state-get-1): Obey window-point-insertion-type.
12708 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12710 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12711 to previous function when point is on the first character of a
12712 function. Take care of that in `narrow-to-defun' (bug#6157).
12714 2012-04-11 Glenn Morris <rgm@gnu.org>
12716 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12717 not just file-errors.
12719 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12720 (vc-bzr-sha1): Use internal sha1.
12722 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12724 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12726 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12728 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12729 that start in the middle of the line (bug#10496).
12731 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12733 * battery.el (battery-linux-proc-acpi): Only one battery is
12734 discharged at a time, but that seems to confuse battery.el when
12735 computing `rate-type' for the battery not being discharged
12738 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12740 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12742 * international/quail.el: Use dolist and simplify.
12743 (quail-define-package, quail-update-keyboard-layout)
12744 (quail-define-rules): Use dolist.
12745 (quail-insert-kbd-layout, quail-get-translation): CSE.
12747 * tmm.el: Use dolist, remove left over hook.
12748 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12750 (calendar-load-hook): Don't mess with it.
12752 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12753 Use derived-mode-p. Run the diff asynchronously.
12755 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12757 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12759 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12761 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12762 (list-dynamic-libraries--loaded): New function.
12763 (list-dynamic-libraries--refresh): Use it.
12765 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12767 * progmodes/python.el (python-fill-paragraph):
12768 Make python-fill-region in a multiline string work when font-lock is
12769 disabled (bug#7018).
12771 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12773 * language/european.el (cp775): Add oem/legacy (en)coding on
12774 DOS/MS Windows for the Baltic languages. There are still plenty
12775 of texts written in this encoding/codepage (bug#6519).
12777 2012-04-10 Glenn Morris <rgm@gnu.org>
12779 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12780 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12782 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12784 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12785 next-line "n" and previous-line "p" in order to make recentf more
12786 consistent with ibuffer, dired or org-mode (bug#9387).
12788 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790 * image.el (put-image): Return the overlay created instead of the
12791 optional input string (bug#7834). Note that this may break code
12792 that is (for some reason or other) depending on `put-image'
12793 returning the string.
12795 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12797 * simple.el (zap-to-char): Allow zapping using input methods
12800 * textmodes/fill.el (fill-region): Leave point and mark where they
12801 were before filling (bug#5399).
12803 2012-04-09 Glenn Morris <rgm@gnu.org>
12805 * version.el (emacs-bzr-get-version):
12806 Handle lightweight checkouts of local branches.
12808 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12810 * international/characters.el: Recover lost case pairs. (Bug#11209)
12812 2012-04-09 Chong Yidong <cyd@gnu.org>
12814 * custom.el (custom-variable-p): Return nil for non-symbol
12815 arguments instead of signaling an error.
12816 (user-variable-p): Obsolete alias for custom-variable-p.
12818 * apropos.el (apropos-variable):
12819 * files-x.el (read-file-local-variable):
12820 * simple.el (set-variable):
12821 * woman.el (woman-mini-help):
12822 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12824 2012-04-09 Glenn Morris <rgm@gnu.org>
12826 * startup.el (normal-top-level): Don't look for leim-list.el
12827 in places where it will not be found. (Bug#910)
12829 * international/mule-cmds.el (set-default-coding-systems):
12830 * files.el (normal-mode):
12831 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12832 This function was removed with ucs-tables.el in 2008.
12834 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12836 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12837 ispell-encoding8-command to "-i", without a trailing space.
12838 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12839 separate command-line arguments, to specify the encoding, since
12840 that's how hunspell expects it.
12842 2012-04-08 Glenn Morris <rgm@gnu.org>
12844 * loadup.el: Load bindings before cus-start.
12845 This reduces somewhat the number of "rogue" settings in emacs -Q.
12847 2012-04-07 Glenn Morris <rgm@gnu.org>
12849 * version.el (emacs-bzr-get-version): New function.
12850 (emacs-bzr-version): New variable.
12851 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12852 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12854 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12856 * international/uni-bidi.el, international/uni-category.el:
12857 * international/uni-combining.el, international/uni-decimal.el:
12858 * international/uni-decomposition.el, international/uni-digit.el:
12859 * international/uni-lowercase.el, international/uni-mirrored.el:
12860 * international/uni-name.el, international/uni-numeric.el:
12861 * international/uni-titlecase.el, international/uni-uppercase.el:
12862 Update for Unicode 6.1.
12864 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12866 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12868 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12870 * window.el (shrink-window): Mention the `window-min-height'
12871 variable in the doc string.
12873 2012-04-05 Bastien Guerry <bzg@altern.org>
12875 * color.el (color-lighten-name): Fix typo.
12877 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * server.el (server--on-display-p): New function.
12880 (server--on-display-p): Use it.
12882 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12884 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12887 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12889 * comint.el (comint--common-quoted-suffix): Check string boundary
12890 before comparing (bug#11158).
12891 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12893 2012-04-04 Chong Yidong <cyd@gnu.org>
12895 * minibuffer.el (completion-extra-properties): Doc fix.
12897 * subr.el (delayed-warnings-hook): Doc fix.
12899 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12901 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12902 selection (Bug#11159).
12903 (epa-insert-keys): Inform that the default public key will be
12904 exported if no key is selected.
12906 2012-04-04 Richard Stallman <rms@gnu.org>
12908 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12910 2012-04-03 Chong Yidong <cyd@gnu.org>
12912 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12913 mail-insert-file, not its obsolete alias mail-attach-file.
12915 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12917 * notifications.el (notifications-notify): Fix docstring.
12919 2012-04-02 Glenn Morris <rgm@gnu.org>
12921 * emacs-lisp/authors.el (authors-aliases): Another addition.
12923 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12925 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12926 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12927 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12929 2012-04-01 Chong Yidong <cyd@gnu.org>
12931 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12932 Handle root directory properly.
12933 (copy-directory): Caller changed.
12935 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12936 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12938 2012-03-31 Glenn Morris <rgm@gnu.org>
12940 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12942 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12944 * calendar/calendar.el (calendar-window-list)
12945 (calendar-hide-window): Restore. (Bug#11140)
12946 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12948 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12950 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12952 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12953 Check if file is a symlink (Bug#10489).
12955 * files.el (copy-directory): Likewise.
12957 2012-03-30 Chong Yidong <cyd@gnu.org>
12959 * image.el (imagemagick-types-inhibit)
12960 (imagemagick-register-types): Doc fix.
12962 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12964 * textmodes/ispell.el (ispell-get-extended-character-mode):
12965 Disable extended-char-mode for hunspell. hunspell does not support it
12966 and treats ~word as ordinary words in pipe mode.
12968 2012-03-30 Glenn Morris <rgm@gnu.org>
12970 * tutorial.el (help-with-tutorial): Ensure local variables don't
12971 happen to make the buffer read-only. (Bug#11127)
12973 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12976 (perl-calculate-indent): Return `noindent' in strings.
12978 2012-03-28 Sam Steingold <sds@gnu.org>
12980 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12981 instead of the broken adhockery which does not prevent calendar
12982 buffers from being displayed at random after exit.
12983 (calendar-window-list, calendar-hide-window): Remove the broken
12986 2012-03-28 Glenn Morris <rgm@gnu.org>
12988 * replace.el (query-replace-map): Doc fix.
12990 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12992 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12993 contents. (Bug#11109)
12995 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12997 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12999 (avl-tree--check, avl-tree--check-node): New funs.
13001 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13003 * window.el (switch-to-visible-buffer): New option.
13004 (switch-to-prev-buffer, switch-to-next-buffer):
13005 Observe switch-to-visible-buffer. Make sure that checking for a window
13006 showing a buffer already is done on the same frame.
13008 2012-03-27 Glenn Morris <rgm@gnu.org>
13010 * startup.el (mail-host-address): Doc fix.
13012 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13014 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13015 than 197 variables.
13017 2012-03-26 Ami Fischman <ami@fischman.org>
13019 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13021 2012-03-26 Glenn Morris <rgm@gnu.org>
13023 * files.el (save-buffers-kill-emacs): Doc fix.
13025 * startup.el (normal-top-level, command-line, command-line-1):
13026 Give them doc strings.
13028 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13030 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13031 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13033 2012-03-25 Chong Yidong <cyd@gnu.org>
13035 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13036 theme if it was previously enabled before (Bug#11031).
13038 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13039 spec with custom-face-get-current-spec if its :shown-value is not
13040 determined yet (Bug#9337).
13041 (customize-create-theme, custom-theme-revert): Doc fixes.
13043 * button.el (button-at): Minor addition to docstring.
13045 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13047 * vc/vc.el (vc-merge): Fix a prompt.
13049 2012-03-24 Chong Yidong <cyd@gnu.org>
13051 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13054 * button.el (button-at): Minor addition to docstring.
13056 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13058 * newcomment.el (comment-choose-indent): No space after BOL.
13060 2012-03-22 Sam Steingold <sds@gnu.org>
13062 * window.el (switch-to-prev-buffer): Revert last patch because the
13063 bug turned out to be an advertised feature (Elisp manual 28.14).
13065 2012-03-22 Glenn Morris <rgm@gnu.org>
13067 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13068 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13070 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13072 * net/network-stream.el (network-stream-open-starttls): Make error
13073 message under Windows be less misleading.
13075 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13077 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13078 understands (bug#9942).
13080 2012-03-22 Chong Yidong <cyd@gnu.org>
13082 * simple.el (end-of-visible-line): Handle return value of
13083 next-single-property-change properly (Bug#9371).
13085 2012-03-22 Kenichi Handa <handa@m17n.org>
13087 * international/quail.el (quail-insert-kbd-layout): Fix previous
13088 change. To avoid unwanted bidi reordering, use
13089 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13091 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13093 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13094 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13095 (ruby-beginning-of-indent): Be more careful with the difference
13096 between word-boundary and symbol boundary.
13097 (ruby-mode-syntax-table): Make : a symbol constituent.
13099 2012-03-21 Andreas Politz <politza@fh-trier.de>
13101 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13103 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * progmodes/etags.el (tags-completion-at-point-function):
13108 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13110 2012-03-21 Sam Steingold <sds@gnu.org>
13112 * progmodes/etags.el (tags-completion-at-point-function):
13113 Avoid the error when point is inside the pattern.
13115 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13117 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13120 2012-03-21 Drew Adams <drew.adams@oracle.com>
13122 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13124 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13126 * ido.el (ido-set-current-directory, ido-read-internal)
13127 (ido-choose-completion-string, ido-completion-help): Handle nil
13128 value of ido-completion-buffer (Bug#11008).
13130 2012-03-21 Sam Steingold <sds@gnu.org>
13132 * window.el (switch-to-prev-buffer): Do not switch to a visible
13133 window previous buffer, just like with the frame previous buffers.
13135 2012-03-21 Chong Yidong <cyd@gnu.org>
13137 * faces.el (make-face, make-empty-face, copy-face):
13138 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13141 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13143 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13144 (widget-complete): Remove broken use of it.
13146 2012-03-20 Chong Yidong <cyd@gnu.org>
13148 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13149 Use string-width and truncate-string-width to handle arbitrary
13152 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13154 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13155 to draw rectangles, not squares. (Regression introduced by revno
13156 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13158 2012-03-18 Chong Yidong <cyd@gnu.org>
13160 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13161 it is not yet defined (for temacs).
13163 2012-03-18 Leo Liu <sdl.web@gmail.com>
13165 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13168 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13170 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13171 (ispell-choices-win-default-height, ispell-silently-savep)
13172 (ispell-dictionary-alist, ispell-encoding8-command)
13173 (ispell-check-version, ispell-aspell-find-dictionary)
13174 (ispell-valid-dictionary-list, ispell-words-keyword)
13175 (ispell-get-word, ispell-internal-change-dictionary)
13176 (ispell-region, ispell-skip-region-list)
13177 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13178 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13179 (ispell-message-text-end, ispell-message)
13180 (ispell-buffer-local-parsing): Doc fix.
13182 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13184 * htmlfontify.el: Add support for code block fontification for ODT
13185 export (Bug #9914).
13186 (hfy-optimisations): Define new option
13188 (hfy-fontify-buffer): Honor above setting.
13189 (hfy-begin-span, hfy-end-span): New routines factored out form
13190 `hfy-fontify-buffer'.
13191 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13192 that permit insertion of custom tags.
13193 (hfy-fontify-buffer): Use above handlers.
13194 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13195 (hfy-face-to-css): Re-defined to be a variable.
13196 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13197 over multiple runs. This is made possible by having the caller let
13198 bind a special variable `hfy-user-sheet-assoc'.
13199 (htmlfontify-string): New defun.
13200 (hfy-compile-face-map): Make sure that the last char in the
13201 buffer is correctly fontified.
13202 (hfy-face-resolve-face): Whitespace only change.
13204 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13206 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13207 message more clear.
13209 2012-03-16 Leo Liu <sdl.web@gmail.com>
13211 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13213 2012-03-16 Alan Mackenzie <acm@muc.de>
13215 Further optimize the handling of large macros.
13217 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13218 limit to a call of `c-literal-limits'.
13219 (c-determine-+ve-limit): New function.
13220 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13221 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13222 In CASE 5B, restrict a search limit to 500.
13223 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13225 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13226 Restrict macro bounds to +-500 from after-change's BEG END.
13228 2012-03-16 Leo Liu <sdl.web@gmail.com>
13230 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13232 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13234 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13235 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13237 2012-03-16 Glenn Morris <rgm@gnu.org>
13239 * view.el (view-buffer, view-buffer-other-window)
13240 (view-buffer-other-frame): Doc fixes re special mode-class.
13242 * subr.el (eval-after-load): If named feature is provided not from
13243 a file, run after-load forms. (Bug#10946)
13245 * calendar/calendar.el (calendar-insert-at-column):
13246 Handle non-unit-width characters a bit better. (Bug#10978)
13248 2012-03-15 Chong Yidong <cyd@gnu.org>
13250 * emacs-lisp/ring.el (ring-extend): New function.
13251 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13253 * comint.el (comint-read-input-ring)
13254 (comint-add-to-input-history): Grow comint-input-ring lazily.
13256 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13258 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13259 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13261 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13262 (imenu-add-to-menubar): Don't add a redundant index.
13263 (imenu-update-menubar): Handle a dynamically composed keymap.
13265 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13267 * mail/sendmail.el (mail-encode-header):
13268 Bind rfc2047-encode-encoded-words to nil.
13270 2012-03-13 Glenn Morris <rgm@gnu.org>
13272 * calendar/calendar.el (calendar-string-spread):
13273 Handle non-unit-width characters a bit better. (Bug#10978)
13275 2012-03-13 Leo Liu <sdl.web@gmail.com>
13277 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13278 directory and file as argument (Bug#10822).
13280 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13282 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13283 For dynamically generated code, follow $PC.
13284 (gdb-disassembly-handler-custom): Handle no function name case.
13286 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13288 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13289 * emulation/ws-mode.el (ws-query-replace):
13290 * sort.el (sort-regexp-fields):
13291 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13293 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13295 * dabbrev.el: Fix cycle completion order (bug#10963).
13296 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13297 (dabbrev-completion): Don't use an obarray; provide
13298 a cycle-sort-function.
13300 2012-03-12 Leo Liu <sdl.web@gmail.com>
13302 * simple.el (kill-new): Use equal-including-properties for comparison.
13303 (kill-do-not-save-duplicates): Doc fix.
13305 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * dabbrev.el: Fix cycle completion (bug#10963).
13308 Use lexical binding and wrap to 80 columns.
13309 (dabbrev-completion): Delay computing the list of completions.
13311 2012-03-12 Kenichi Handa <handa@m17n.org>
13313 * international/quail.el (quail-insert-kbd-layout): Surround each
13314 row by LRO and PDF instead of inserting many LRMs. Pad the left
13315 and right of each non-spacing marks. Insert invisible space
13316 between lower and upper characters to prevent composition.
13318 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * minibuffer.el (minibuffer-complete): Don't get confused when the
13321 function is run twice via different commands (bug#10958).
13322 (complete-with-action): Fix docstring.
13324 2012-03-12 Chong Yidong <cyd@gnu.org>
13326 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13327 (nxml-completion-at-point-function): New function.
13328 (nxml-mode): Use it.
13329 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13331 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13332 Load generated autoloads file before byte compiling (Bug#10970).
13333 (package--make-autoloads-and-compile): New helper fun.
13335 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13337 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13339 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13341 * autorevert.el (auto-revert-handler): Ensure, that
13342 file-readable-p is applied only for local files or in
13343 auto-revert-tail-mode.
13345 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13347 * server.el (server-eval-at): Handle non-tcp connections.
13348 Decode result string.
13350 * server.el (server-msg-size): New constant.
13351 (server-reply-print): New function.
13352 (server-eval-and-print): Use it.
13353 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13354 Handle -print-nonl.
13356 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13358 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13361 2012-03-11 Chong Yidong <cyd@gnu.org>
13363 * simple.el (goto-line): Doc fix (Bug#9938).
13365 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13367 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13368 when finished (Bug#10963).
13370 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13372 * window.el (split-window-below): Fix bug in case where
13373 split-window-keep-point is nil (Bug#10971).
13375 2012-03-11 Juri Linkov <juri@jurta.org>
13377 * replace.el (replace-highlight): Set isearch-word to nil
13378 unconditionally. (Bug#10887)
13380 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13382 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13383 mairix-replace-illegal-chars; all callers changed. Don't remove
13384 ^, ~, and = characters: they are meaningful in mairix search specs.
13385 (mairix-widget-create-query): Add usage information about mairix
13386 search forms: negating words, searching for substrings, etc.
13388 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13390 * international/fontset.el (font-encoding-alist): Add an entry for
13391 ksx1001 (Bug#5667).
13393 2012-03-10 Richard Stallman <rms@gnu.org>
13395 * mail/sendmail.el (mail-encode-header):
13396 Set rfc2047-encode-encoded-words.
13398 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13400 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13401 view buffer means not swapped.
13402 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13403 (rmail-write-region-annotate): Error if real text has disappeared.
13405 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13407 2012-03-10 Chong Yidong <cyd@gnu.org>
13409 * emulation/cua-rect.el (cua--init-rectangles):
13410 * emulation/cua-base.el (cua--init-keymaps):
13411 Add delete-forward-char to remappings (Bug#9666).
13413 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13415 * speedbar.el (speedbar-unhighlight-one-tag-line):
13416 Avoid unhighlighting due to frame switching (Bug#10275).
13418 2012-03-10 Chong Yidong <cyd@gnu.org>
13420 * minibuffer.el (completion-in-region, completion-help-at-point):
13421 Give the completion field overlay a high priority (Bug#6830).
13423 * dired.el (dired-goto-file): Recognize absolute file name
13424 listings (Bug#7126).
13425 (dired-goto-file-1): New helper function.
13426 (dired-toggle-read-only): Inhibit warnings.
13428 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13430 * net/dbus.el (dbus-property-handler): Return empty array if
13431 there are no properties.
13433 2012-03-09 Leo Liu <sdl.web@gmail.com>
13435 * savehist.el (savehist-printable): Stricter check for string
13438 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13440 * mail/smtpmail.el (smtpmail-send-it):
13441 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13444 2012-03-09 Glenn Morris <rgm@gnu.org>
13446 * files.el (dir-locals-find-file):
13447 Don't check result is regular, readable.
13448 (dir-locals-read-from-file): Demote errors.
13450 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13452 * international/quail.el (quail-insert-kbd-layout):
13453 Insert invisible LRM characters before each character in a keyboard
13454 layout cell, to prevent their reordering by bidi display engine.
13455 For details, see the discussion in
13456 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13458 2012-03-08 Alan Mackenzie <acm@muc.de>
13460 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13461 the starting position; make it extend the marked region when
13462 invoked repeatedly - all under appropriate circumstances.
13463 Fixes bugs #5525, #10906.
13465 2012-03-08 Glenn Morris <rgm@gnu.org>
13467 * files.el (locate-dominating-file, dir-locals-find-file):
13468 Undo 2012-03-06 change.
13470 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13472 * international/quail.el (quail-help):
13473 Force bidi-paragraph-direction be left-to-right. See discussion in
13474 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13477 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13479 Avoid superfluous registering of signals. (Bug#10807)
13481 * notifications.el (notifications-on-action-object)
13482 (notifications-on-close-object): New defvars.
13483 (notifications-on-action-signal, notifications-on-closed-signal):
13484 Unregister the signal if not needed any longer.
13485 (notifications-notify): Register `notifications-action-signal' or
13486 `notifications-closed-signal', if :on-action or :on-close has been
13487 passed as argument.
13489 2012-03-07 Chong Yidong <cyd@gnu.org>
13491 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13494 2012-03-06 Glenn Morris <rgm@gnu.org>
13496 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13497 (x-disown-selection-internal, x-get-selection-internal):
13498 Doc fix (add arglist signatures). (Bug#10783)
13500 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13502 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13503 Handle breakpoints with no "type".
13505 2012-03-06 Glenn Morris <rgm@gnu.org>
13507 * files.el (locate-dominating-file): Add optional predicate argument.
13508 (dir-locals-find-file): Make use of above change.
13510 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13512 * info.el (Info-insert-dir): Also try "dir.gz".
13514 2012-03-06 Glenn Morris <rgm@gnu.org>
13516 * files.el (dir-locals-find-file):
13517 Ignore non-readable or non-regular files. (Bug#10928)
13519 * files.el (locate-dominating-file): Doc fix.
13521 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13523 * calendar/calendar.el (calendar-set-mode-line):
13524 `getenv' returns a string. (Bug#10951)
13526 2012-03-05 Leo Liu <sdl.web@gmail.com>
13528 * simple.el (backward-delete-char-untabify): Constrain point to
13531 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13533 2012-03-05 Chong Yidong <cyd@gnu.org>
13535 * simple.el (count-words): If called from Lisp, return the word
13536 count, for symmetry with `count-lines'. Arglist changed.
13537 (count-words--message): Args changed. Consolidate counting code
13538 from count-words and count-words-region.
13539 (count-words-region): Caller changed.
13540 (count-lines-region): Make it an obsolete alias.
13542 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13544 * saveplace.el (save-place-to-alist)
13545 (save-place-ignore-files-regexp): Allow value nil to disable this
13548 2012-03-04 Chong Yidong <cyd@gnu.org>
13550 * faces.el (face-spec-reset-face): For the default face, reset the
13551 attributes to default values (Bug#10748).
13553 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13555 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13556 previous patch: Check `message-send-mail-function', and not the
13557 default function (bug#10897).
13559 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13561 * notifications.el (notifications-on-action-signal)
13562 (notifications-on-closed-signal): Check for unique service name of
13563 incoming event. Fix error in removing entry.
13564 (top): Register for signals with wildcard service name.
13565 (notifications-notify): Use daemon unique service name for map entries.
13567 2012-03-04 Chong Yidong <cyd@gnu.org>
13569 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13571 2012-03-04 Glenn Morris <rgm@gnu.org>
13573 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13574 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13575 (expand-abbrev, define-abbrev-table): Doc fixes.
13577 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13579 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13580 `message-default-send-mail-function' and not `send-mail-function'
13581 when doing the prompting for `sendmail-query-once' before sending
13582 in Message buffers (bug#10897).
13584 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13585 This is inconsistent with all the other stream functions, which leave
13586 the setting up to the higher levels (if so wanted) (bug#10931).
13588 2012-03-02 Alan Mackenzie <acm@muc.de>
13590 Depessimize the handling of very large macros.
13592 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13593 (c-macro-cache-syntactic): New variables to implement a one
13594 element macro cache.
13595 (c-invalidate-macro-cache): New function.
13596 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13597 Adapt to use the new cache.
13598 (c-state-safe-place): Use better the cache of safe positions.
13599 (c-state-semi-nonlit-pos-cache)
13600 (c-state-semi-nonlit-pos-cache-limit):
13601 New variables for...
13602 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13603 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13604 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13605 Use c-state-semi-safe-place.
13607 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13608 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13610 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13612 * jka-compr.el (jka-compr-call-process):
13613 Apply `file-accessible-directory-p' only when the default directory is
13616 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13618 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13619 access of FILE2, if FILE1 does not exist.
13621 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13622 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13624 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13625 Add "PAGER=" to `process-environment'.
13627 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13629 * progmodes/sql.el: Bug fix
13630 (sql-get-login-ext): Save login values in globals.
13631 (sql-get-login): Use new version of `sql-get-login-ext'.
13632 (sql-interactive-mode): Set global `sql-connection' to nil.
13633 (sql-connect): Set global values for connection.
13634 (sql-product-interactive): Save global values as buffer local.
13636 2012-02-29 Leo Liu <sdl.web@gmail.com>
13638 * abbrev.el (define-abbrevs): Reset sys to nil.
13640 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13642 * files.el (file-equal-p): Rename from `files-equal-p'.
13643 Return nil when one or both files don't exist.
13644 (file-subdir-of-p): Now only top directory must exists,
13645 return nil if it doesn't.
13646 (copy-directory): No need to test with `file-subdir-of-p' after
13648 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13651 2012-02-28 Glenn Morris <rgm@gnu.org>
13653 * shell.el (shell-mode):
13654 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13655 * play/landmark.el (landmark-font-lock-face-O):
13656 * play/handwrite.el (handwrite):
13657 * play/gomoku.el (gomoku-O):
13658 * net/browse-url.el (browse-url-browser-display):
13659 * international/mule.el (define-charset):
13660 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13661 * filesets.el (filesets-find-file-delay):
13662 * eshell/em-xtra.el (eshell-xtra):
13663 * eshell/em-unix.el (eshell-grep):
13664 * emulation/viper.el (viper-mode):
13665 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13666 * emacs-lisp/easymenu.el (easy-menu-define):
13667 * calendar/timeclock.el (timeclock-use-display-time):
13669 * bookmark.el (bookmark-save-flag):
13670 Doc fix (standardize possessive apostrophe usage).
13672 2012-02-27 Chong Yidong <cyd@gnu.org>
13674 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13675 Fix key-binding lookup for ESC key (Bug#9146).
13677 * font-lock.el (font-lock-specified-p): Rename from
13678 font-lock-spec-present. Callers changed.
13680 2012-02-27 Daniel Hackney <dan@haxney.org>
13682 * emacs-lisp/package.el (package-compute-transaction):
13683 Handle holding a package version to t in package-load-list.
13685 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13687 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13688 (tramp-get-inode, tramp-get-device): Use cached values.
13690 2012-02-26 Alan Mackenzie <acm@muc.de>
13692 Check there is a font-lock specification before doing initial
13695 * font-core.el (font-lock-mode): Move the conditional from
13696 :after-hook to font-lock-initial-fontify.
13697 (font-lock-default-function): Move the check for a specification
13698 to font-lock-spec-present.
13700 * font-lock.el (font-lock-initial-fontify): Call ...
13701 (font-lock-spec-present): New function.
13703 2012-02-26 Jim Blandy <jimb@red-bean.com>
13705 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13706 (gdb-send): Apply it to the operand of the '-interpreter-exec
13707 console' command, so that we can pass arguments with (say) quotes
13708 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13710 2012-02-26 Chong Yidong <cyd@gnu.org>
13712 * help-fns.el (describe-function-1): Clarify description of
13713 remapping (Bug#10844).
13715 * files.el (files-equal-p): Doc fix.
13716 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13717 and quit the loop once a mismatch is found.
13719 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13721 * bs.el (bs--show-with-configuration): Don't throw an error
13722 if the window cannot be split; otherwise, subsequent calls to
13723 bs-show fail, restoring a stale window config. (Bug#10882)
13725 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13727 * term/ns-win.el (global-map): Bind ns-drag-file to
13728 ns-find-file (Bug#5855, Bug#10050).
13730 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13732 * calendar/parse-time.el (parse-time-string): Allow extractor to
13735 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13737 * net/tramp.el (tramp-file-name-for-operation):
13738 Add `files-equal-p' and `file-subdir-of-p'.
13740 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13741 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13742 Add COPY-CONTENTS argument.
13744 2012-02-25 Chong Yidong <cyd@gnu.org>
13746 Add custom groups for VC backends, for consistency with vc-bzr.
13748 * vc/vc-arch.el (vc-arch):
13749 * vc/vc-cvs.el (vc-cvs):
13750 * vc/vc-git.el (vc-git):
13751 * vc/vc-hg.el (vc-hg):
13752 * vc/vc-mtn.el (vc-mtn):
13753 * vc/vc-rcs.el (vc-rcs):
13754 * vc/vc-sccs.el (vc-sccs):
13755 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13756 All relevant defcustoms reassigned.
13758 2012-02-25 Chong Yidong <cyd@gnu.org>
13760 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13762 * term/x-win.el (x-initialize-window-system): Reduce default for
13763 x-selection-timeout to 5 seconds (Bug#8869).
13765 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13767 * files.el (files-equal-p, file-subdir-of-p): New functions.
13768 (copy-directory): Error when trying to copy a directory on itself.
13769 Add missing copy-contents arg to tramp handler.
13770 * dired-aux.el (dired-copy-file-recursive): Same.
13771 (dired-create-files): Modify destination when source is equal to
13772 dest when copying files.
13773 Return also when dest is a subdir of source. (Bug#10489)
13775 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13777 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13780 2012-02-23 Alan Mackenzie <acm@muc.de>
13782 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13783 parameter "after-hook:" to allow the expansion to run code after
13784 the execution of the mode hooks.
13786 * font-lock.el (font-lock-initial-fontify): New function extracted
13787 from font-lock-mode-internal.
13789 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13792 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13794 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13795 (completion--cache-all-sorted-completions): New function.
13796 (completion-all-sorted-completions): Use it.
13797 (completion--do-completion, minibuffer-force-complete):
13798 Use it to re-instate the flush hook.
13800 * icomplete.el (icomplete-completions): Replace last fix with a better
13803 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13805 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13806 when it might call us back infinitely (bug#10797).
13808 2012-02-23 Glenn Morris <rgm@gnu.org>
13810 * minibuffer.el (completion-category-overrides): Doc fix.
13812 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13814 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13815 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13817 2012-02-23 Glenn Morris <rgm@gnu.org>
13819 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13820 (authors-obsolete-files-regexps, authors-ignored-files)
13821 (authors-ambiguous-files, authors-renamed-files-alist):
13824 2012-02-23 Juri Linkov <juri@jurta.org>
13826 * isearch.el (isearch-occur): Sync interactive spec with occur's
13827 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13829 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13831 2012-02-22 Juri Linkov <juri@jurta.org>
13833 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13834 (ucs-insert): Doc fix. Check for hex digits in the string.
13835 Don't display `nil' in the error message. (Bug#10857)
13837 2012-02-22 Alan Mackenzie <acm@muc.de>
13839 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13841 2012-02-22 Glenn Morris <rgm@gnu.org>
13843 * ffap.el (ffap-c-path):
13844 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13846 2012-02-22 Chong Yidong <cyd@gnu.org>
13848 * custom.el (load-theme): Doc fix.
13850 2012-02-22 Glenn Morris <rgm@gnu.org>
13852 * dired-x.el (dired-guess-shell-alist-default):
13853 Remove escape sequences from nroff output. (Bug#172)
13855 2012-02-21 Glenn Morris <rgm@gnu.org>
13857 * vc/emerge.el (emerge-defvar-local):
13858 Set `permanent-local' property rather than unused `preserved'.
13860 * textmodes/picture.el (picture-delete-char): New alias.
13861 (picture-mode-map): Use it. (Bug#10860)
13862 (picture-mode): Doc fix.
13864 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13866 * newcomment.el (uncomment-region-default): Remove unused binding.
13868 2012-02-21 Glenn Morris <rgm@gnu.org>
13870 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13871 (picture-self-insert, picture-tab-chars): Doc fix.
13872 (picture-mode-map): Fix C-a, C-e.
13874 2012-02-20 Glenn Morris <rgm@gnu.org>
13876 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13878 2012-02-20 Leo Liu <sdl.web@gmail.com>
13880 * icomplete.el (icomplete-completions): Check FROM arg before
13881 passing to substring (Bug#10850).
13883 2012-02-19 Chong Yidong <cyd@gnu.org>
13885 * comint.el: Require ansi-color.
13886 (comint-output-filter-functions): Add ansi-color-process-output.
13888 * ansi-color.el: Don't set comint-output-filter-functions; it is
13889 now in the initial value defined in comint.el.
13890 (ansi-color-apply-face-function): New variable.
13891 (ansi-color-apply-on-region): Use it.
13892 (ansi-color-apply-overlay-face): New function.
13894 * shell.el (shell): No need to require ansi-color.
13895 (shell-mode): Use ansi-color-apply-face-function to highlight
13896 color escapes using font-lock-face property (Bug#10835).
13898 2012-02-19 Chong Yidong <cyd@gnu.org>
13900 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13901 mode-line formats (Bug#10839).
13903 2012-02-18 Glenn Morris <rgm@gnu.org>
13905 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13907 * mail/undigest.el (unforward-rmail-message): Doc fix.
13909 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13911 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13913 * international/characters.el (script-list): Sync with the latest
13914 Unicode Character Database.
13916 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13918 * international/titdic-cnv.el: Remove duplicate coding tag.
13919 * language/cham.el: Likewise.
13920 * language/tai-viet.el: Likewise.
13922 2012-02-18 Glenn Morris <rgm@gnu.org>
13924 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13925 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13926 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13927 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13928 * calendar/holidays.el (holiday-bahai-holidays)
13929 (calendar-holidays, list-holidays):
13930 Use utf-8 Bahá'í in doc-strings, menus, etc.
13932 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13934 * saveplace.el (save-place-ignore-files-regexp): New variable
13935 allowing for excluding files from saving their location of point.
13936 The default value matches the temporary commit message editing
13937 files from Git, SVN, Bazaar, and Mercurial.
13938 (save-place-to-alist): Use it.
13940 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13941 Stefan Monnier <monnier@iro.umontreal.ca>
13943 * newcomment.el (uncomment-region-default): Don't leave extra space
13944 when an arg is provided (bug#8150).
13946 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13948 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13950 2012-02-17 Glenn Morris <rgm@gnu.org>
13952 * net/socks.el: Require network-stream. (Bug#10599)
13954 2012-02-17 Kenichi Handa <handa@m17n.org>
13956 * international/charprop.el:
13957 * international/uni-name.el:
13958 * international/uni-old-name.el:
13959 * international/uni-comment.el: Regenerate.
13961 2012-02-16 Glenn Morris <rgm@gnu.org>
13963 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13964 Interactively in calendar buffer, give an error if not on a date.
13966 2012-02-15 Glenn Morris <rgm@gnu.org>
13968 * shell.el (shell-delimiter-argument-list):
13969 Revert 2011-02-17 change. (Bug#8027)
13971 2012-02-15 Chong Yidong <cyd@gnu.org>
13973 * minibuffer.el (completion-at-point-functions): Doc fix.
13975 * custom.el (defcustom): Doc fix; note use of defvar.
13977 2012-02-15 Glenn Morris <rgm@gnu.org>
13979 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13982 2012-02-14 Glenn Morris <rgm@gnu.org>
13984 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13986 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13988 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13989 way the ports list is computed.
13990 (smtpmail-query-smtp-server): Prompt the user for a port number if
13991 we can't connect to any of the standard ports (bug#10810).
13993 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13995 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13997 2012-02-13 Glenn Morris <rgm@gnu.org>
13999 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14001 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14003 * net/gnutls.el (gnutls-trustfiles): New variable.
14004 (gnutls-negotiate): Use it.
14006 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14008 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14009 does its stuff if Gnus is running.
14011 2012-02-13 Alan Mackenzie <acm@muc.de>
14013 Fix a loop in c-set-fl-decl-start.
14015 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14016 c-backward-syntactic-ws actually moves backwards.
14018 2012-02-13 Leo Liu <sdl.web@gmail.com>
14020 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14021 beginning so that all \C-o chars are removed.
14023 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14025 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14027 2012-02-12 Alan Mackenzie <acm@muc.de>
14029 Fix infinite loop with long macros.
14030 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14032 2012-02-12 Chong Yidong <cyd@gnu.org>
14034 * window.el (display-buffer): Doc fix (Bug#10785).
14036 2012-02-12 Glenn Morris <rgm@gnu.org>
14038 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14039 (x-disown-selection-internal, x-get-selection-internal):
14040 Sync docs with the xselect.c versions.
14042 * allout-widgets.el: Add missing license notice.
14044 2012-02-11 Glenn Morris <rgm@gnu.org>
14046 * select.el (x-get-selection-internal, x-own-selection-internal)
14047 (x-disown-selection-internal):
14048 * x-dnd.el (x-get-selection-internal): Update declarations.
14050 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14052 * window.el (window-sides-slots):
14053 * tool-bar.el (tool-bar-position):
14054 * term/xterm.el (xterm-extra-capabilities):
14055 * ses.el (ses-self-reference-early-detection):
14056 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14057 (verilog-auto-wire-type)
14058 (verilog-auto-delete-trailing-whitespace)
14059 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14060 (verilog-auto-tieoff-declaration):
14061 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14062 (sql-oracle-statement-starters, sql-oracle-scan-on):
14063 * progmodes/prolog.el (prolog-align-comments-flag)
14064 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14065 (prolog-left-indent-regexp, prolog-paren-indent-p)
14066 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14067 (prolog-types, prolog-mode-specificators)
14068 (prolog-determinism-specificators, prolog-directives)
14069 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14070 (prolog-electric-dot-flag)
14071 (prolog-electric-dot-full-predicate-template)
14072 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14073 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14074 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14075 (prolog-program-switches, prolog-prompt-regexp)
14076 (prolog-debug-on-string, prolog-debug-off-string)
14077 (prolog-trace-on-string, prolog-trace-off-string)
14078 (prolog-zip-on-string, prolog-zip-off-string)
14079 (prolog-use-standard-consult-compile-method-flag)
14080 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14081 (prolog-imenu-max-lines, prolog-info-predicate-index)
14082 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14083 (prolog-char-quote-workaround):
14084 * progmodes/cc-vars.el (c-defun-tactic):
14085 * net/tramp.el (tramp-encoding-command-interactive)
14086 (tramp-local-end-of-line):
14087 * net/soap-client.el (soap-client):
14088 * net/netrc.el (netrc-file):
14089 * net/gnutls.el (gnutls):
14090 * minibuffer.el (completion-category-overrides)
14091 (completion-cycle-threshold)
14092 (completion-pcm-complete-word-inserts-delimiters):
14093 * man.el (Man-name-local-regexp):
14094 * mail/feedmail.el (feedmail-display-full-frame):
14095 * international/characters.el (glyphless-char-display-control):
14096 * eshell/em-ls.el (eshell-ls-date-format):
14097 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14098 (lisp-lambda-list-keyword-parameter-indentation)
14099 (lisp-lambda-list-keyword-parameter-alignment):
14100 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14101 * dired-x.el (dired-omit-verbose):
14102 * cus-theme.el (custom-theme-allow-multiple-selections):
14103 * calc/calc.el (calc-highlight-selections-with-faces)
14104 (calc-lu-field-reference, calc-lu-power-reference)
14105 (calc-note-threshold):
14106 * battery.el (battery-mode-line-limit):
14107 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14108 (archive-7z-update):
14109 * allout.el (allout-prefixed-keybindings)
14110 (allout-unprefixed-keybindings)
14111 (allout-inhibit-auto-fill-on-headline)
14112 (allout-flattened-numbering-abbreviation):
14113 * allout-widgets.el (allout-widgets-auto-activation)
14114 (allout-widgets-icons-dark-subdir)
14115 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14116 (allout-widgets-theme-dark-background)
14117 (allout-widgets-theme-light-background)
14118 (allout-widgets-item-image-properties-emacs)
14119 (allout-widgets-item-image-properties-xemacs)
14120 (allout-widgets-run-unit-tests-on-load)
14121 (allout-widgets-time-decoration-activity)
14122 (allout-widgets-hook-error-post-time)
14123 (allout-widgets-track-decoration):
14124 Add missing :version tags to new defcustoms and defgroups.
14126 * progmodes/sql.el (sql-ansi-statement-starters)
14127 (sql-oracle-statement-starters): Add custom type.
14129 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14130 (prolog-system-version): Give it a type.
14132 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14134 * term/pc-win.el (x-select-text, x-selection-owner-p)
14135 (x-own-selection-internal, x-disown-selection-internal)
14136 (x-get-selection-internal): Sync doc strings and argument lists
14137 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14139 2012-02-11 Leo Liu <sdl.web@gmail.com>
14141 * progmodes/python.el (python-end-of-statement): Fix infinite
14144 2012-02-10 Glenn Morris <rgm@gnu.org>
14146 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14147 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14149 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14151 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14152 about SMTP before checking the From header.
14154 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14155 into own function for reuse by emacsbug.el.
14157 2012-02-10 Leo Liu <sdl.web@gmail.com>
14159 * subr.el (condition-case-unless-debug): Rename from
14160 condition-case-no-debug. All callers changed.
14161 (with-demoted-errors): Fix caller.
14163 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14164 * nxml/rng-valid.el (rng-do-some-validation):
14165 * emacs-lisp/package.el (package-refresh-contents)
14166 (package-menu-execute):
14167 * desktop.el (desktop-create-buffer):
14168 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14170 2012-02-10 Glenn Morris <rgm@gnu.org>
14172 * textmodes/bibtex.el:
14173 Add missing :version tags for new/changed defcustoms.
14175 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14177 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14179 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14180 (smtpmail-via-smtp): Use it, or fall back on the From address.
14181 (smtpmail-send-it): Ditto.
14183 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14186 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14187 (byte-compile-tmp-var): New const.
14188 (byte-compile-defvar): Use it to minimize .elc size.
14189 Just use `defvar' rather than simulate it (bug#10761).
14191 2012-02-09 Glenn Morris <rgm@gnu.org>
14193 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14195 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14198 * progmodes/compile.el (compilation-error-screen-columns)
14199 (compilation-first-column, compilation-filter-start): Doc fixes.
14201 * vc/log-view.el (log-view-toggle-entry-display):
14202 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14204 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14205 (report-emacs-bug-can-use-xdg-email):
14206 (report-emacs-bug-insert-to-mailer): Doc fixes.
14207 (report-emacs-bug): Message fix.
14209 * net/browse-url.el (browse-url-can-use-xdg-open)
14210 (browse-url-xdg-open): Doc fixes.
14212 * electric.el (electric-indent-mode, electric-pair-mode)
14213 (electric-layout-rules, electric-layout-mode): Doc fixes.
14214 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14216 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14218 * server.el (server-unselect-display): Don't inadvertently kill
14219 the current buffer. (Bug#10729)
14221 2012-02-08 Glenn Morris <rgm@gnu.org>
14223 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14224 (sql-list-table): Doc fixes.
14226 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14227 Comment out (does nothing).
14229 * completion.el (dynamic-completion-mode):
14230 * dirtrack.el (dirtrack-debug-mode):
14231 * electric.el (electric-layout-mode):
14232 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14233 * face-remap.el (text-scale-mode, buffer-face-mode):
14234 * iimage.el (iimage-mode):
14235 * image-mode.el (image-transform-mode):
14236 * minibuffer.el (completion-in-region-mode):
14237 * scroll-lock.el (scroll-lock-mode):
14238 * simple.el (next-error-follow-minor-mode):
14239 * tar-mode.el (tar-subfile-mode):
14240 * tooltip.el (tooltip-mode):
14241 * vcursor.el (vcursor-use-vcursor-map):
14242 * wid-browse.el (widget-minor-mode):
14243 * emulation/tpu-edt.el (tpu-edt-mode):
14244 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14245 * international/iso-ascii.el (iso-ascii-mode):
14246 * language/thai-util.el (thai-word-mode):
14247 * mail/supercite.el (sc-minor-mode):
14248 * net/goto-addr.el (goto-address-mode):
14249 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14250 * progmodes/cwarn.el (cwarn-mode):
14251 * progmodes/flymake.el (flymake-mode):
14252 * progmodes/glasses.el (glasses-mode):
14253 * progmodes/hideshow.el (hs-minor-mode):
14254 * progmodes/pascal.el (pascal-outline-mode):
14255 * textmodes/enriched.el (enriched-mode):
14256 * vc/smerge-mode.el (smerge-mode):
14257 Doc fixes (minor mode argument).
14259 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14261 * ls-lisp.el (ls-lisp-sanitize): New function.
14262 (ls-lisp-insert-directory): Use it to fix or remove any elements
14263 in file-alist with missing attributes. (Bug#4673)
14265 2012-02-07 Alan Mackenzie <acm@muc.de>
14267 Fix spurious recognition of c-in-knr-argdecl.
14269 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14270 putative K&R region.
14272 2012-02-07 Alan Mackenzie <acm@muc.de>
14274 * progmodes/cc-engine.el (c-forward-objc-directive):
14275 Prevent looping in "#pragma mark @implementation".
14277 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14279 * notifications.el (notifications-on-closed-signal): Make `reason'
14280 optional. (Bug#10744)
14282 2012-02-07 Glenn Morris <rgm@gnu.org>
14284 * emacs-lisp/easy-mmode.el (define-minor-mode):
14285 Doc fixes for the macro and the mode it defines.
14287 * image.el (imagemagick-types-inhibit): Doc fix.
14289 * cus-start.el (imagemagick-render-type): Add it.
14291 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14293 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14294 Set the default at load time, too, so that `font-lock-fontify-buffer'
14295 can be called without setting up the entire mode first. This fixes
14296 a bug in `mm-inline-text' with C MIME parts.
14298 2012-02-06 Chong Yidong <cyd@gnu.org>
14300 * simple.el (list-processes--refresh): Delete exited processes
14303 * comint.el (comint-next-prompt): next-single-char-property-change
14304 and prev-single-char-property-change never return nil (Bug#8657).
14306 * custom.el (defcustom): Doc fix (Bug#9711).
14308 2012-02-05 Chong Yidong <cyd@gnu.org>
14310 * cus-edit.el (custom-variable-reset-backup): Quote the value
14311 before storing it in the customized-value property (Bug#6712).
14312 (custom-display): Add a customization type tag.
14313 (custom-buffer-create-internal): Improve tooltip message.
14315 * wid-edit.el (widget-field-value-get): New optional arg to
14316 suppress trailing whitespace truncation.
14317 (character): Use it (Bug#2689).
14319 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14321 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14322 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14324 2012-02-05 Chong Yidong <cyd@gnu.org>
14326 * cus-edit.el (custom-variable-value-create): For mismatched
14327 types, show the current value (Bug#7600).
14329 * custom.el (defcustom): Doc fix.
14331 2012-02-05 Glenn Morris <rgm@gnu.org>
14333 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14335 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14337 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14338 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14339 (pp-last-sexp): Use `looking-at-p'.
14341 2012-02-04 Glenn Morris <rgm@gnu.org>
14343 * files.el (revert-buffer):
14344 Doc fix (mention revert-buffer-in-progress-p).
14346 * emacs-lisp/ert-x.el (ert-simulate-command):
14347 Check deferred-action-list (which is obsolete) is bound.
14349 * subr.el (with-wrapper-hook): Doc fixes.
14351 * simple.el (filter-buffer-substring-functions)
14352 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14354 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14356 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14357 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14359 2012-02-04 Leo Liu <sdl.web@gmail.com>
14361 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14363 2012-02-04 Glenn Morris <rgm@gnu.org>
14365 * image.el (image-extension-data): Add obsolete alias.
14367 * isearch.el (isearch-update): Doc fix.
14369 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14371 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14373 2012-02-03 Glenn Morris <rgm@gnu.org>
14375 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14376 (image-animate-timeout): Doc fix.
14378 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14380 2012-02-02 Glenn Morris <rgm@gnu.org>
14382 * server.el (server-auth-dir): Doc fix.
14383 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14385 * subr.el (run-mode-hooks): Doc fix.
14387 2012-02-02 Juri Linkov <juri@jurta.org>
14389 * image-mode.el (image-toggle-display-image): Remove tautological
14390 `major-mode' from the `derived-mode-p' test.
14392 2012-02-02 Kenichi Handa <handa@m17n.org>
14394 * composite.el (compose-region): Cancel previous change.
14396 2012-02-02 Kenichi Handa <handa@m17n.org>
14398 * composite.el (compose-region, compose-string): Signal error for
14399 a null string component (Bug#6988).
14401 2012-02-01 Chong Yidong <cyd@gnu.org>
14403 * view.el (view-buffer-other-window, view-buffer-other-frame):
14404 Handle special modes like view-buffer (Bug#10650).
14405 (view-buffer): Simplify.
14407 * frame.el (set-frame-font): Tweak meaning of third argument.
14409 * dynamic-setting.el (font-setting-change-default-font):
14410 Use set-frame-font (Bug#9982).
14412 2012-02-01 Glenn Morris <rgm@gnu.org>
14414 * progmodes/compile.el (compilation-internal-error-properties):
14415 Respect compilation-first-column in the "*compilation*" buffer.
14417 * emacs-lisp/easy-mmode.el (define-minor-mode):
14418 Relax :variable's test for a named function.
14420 2012-01-31 Alan Mackenzie <acm@muc.de>
14422 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14425 2012-01-31 Chong Yidong <cyd@gnu.org>
14427 * frame.el (set-frame-font): New arg ALL-FRAMES.
14429 * menu-bar.el (menu-set-font): Use set-frame-font.
14431 * faces.el (face-spec-reset-face): Don't apply unspecified
14432 attribute values to the default face.
14434 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14436 * progmodes/cwarn.el (cwarn): Remove dead link.
14437 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14438 Remove * from defcustom docstrings.
14439 (turn-on-cwarn-mode): Make obsolete.
14440 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14441 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14443 2012-01-31 Glenn Morris <rgm@gnu.org>
14445 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14446 Fix :variable handling of mode a symbol not equal to modefun.
14447 Allow named functions to be used as the cdr of :variable.
14449 2012-01-30 Glenn Morris <rgm@gnu.org>
14451 * emacs-lisp/authors.el (authors-fixed-entries):
14452 Remove reference to deleted file rnewspost.el.
14454 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14456 * window.el (window-with-parameter): Remove unused variable `windows'.
14457 (window--side-check): Remove unused variable `code'.
14458 (window--resize-siblings): Remove unused variable `first'.
14459 (adjust-window-trailing-edge): Remove unused variable `failed'.
14460 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14461 Use `let', not `let*'.
14462 (balance-windows-2): Remove unused variable `found'.
14463 (window--state-put-2): Remove unused variable `splits'.
14464 (window-state-put): Remove unused variable `selected'.
14465 (same-window-p): Use `string-match-p'.
14466 (display-buffer-assq-regexp): Remove unused variable `value'.
14467 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14468 Mark argument ALIST as ignored.
14469 (pop-to-buffer): Remove unused variable `old-window'.
14471 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14473 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14474 and .lzma compressed files.
14476 2012-01-29 Chong Yidong <cyd@gnu.org>
14478 * frame.el (window-system-default-frame-alist): Doc fix.
14480 * dynamic-setting.el (font-setting-change-default-font): Don't
14481 change the default face if SET-FONT argument is non-nil (Bug#9982).
14483 2012-01-29 Samuel Bronson <naesten@gmail.com>
14485 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14487 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14489 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14490 breakpoints in files outside current directory (Bug#6098).
14492 2012-01-29 Chong Yidong <cyd@gnu.org>
14494 * progmodes/python.el: Require ansi-color at top-level.
14496 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14497 Define and use in Emacs Lisp mode (Bug#9360).
14498 (lisp-mode-abbrev-table): Add doc.
14499 (lisp-mode-variables): Don't set local-abbrev-table.
14500 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14502 2012-01-28 Roland Winkler <winkler@gnu.org>
14504 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14506 2012-01-28 Roland Winkler <winkler@gnu.org>
14508 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14509 (bibtex-set-dialect): Use it. Either set global values of
14510 dialect-dependent variables or bind these variables buffer-locally
14512 (bibtex-mode): Call bibtex-set-dialect via
14513 hack-local-variables-hook.
14514 (bibtex-dialect): Update docstring.
14515 Add safe-local-variable predicate.
14516 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14517 bibtex-set-dialect.
14518 (bibtex-mode-map): Define menu for each dialect.
14519 (bibtex-entry): Fix docstring.
14521 2012-01-28 Chong Yidong <cyd@gnu.org>
14523 * eshell/esh-arg.el (eshell-quote-argument): New function.
14525 * eshell/esh-ext.el (eshell-invoke-batch-file):
14526 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14527 first arg to eshell-parse-command (Bug#10523).
14529 2012-01-28 Drew Adams <drew.adams@oracle.com>
14531 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14532 `default-directory' is non-nil.
14534 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14536 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14537 line that displays system-configuration-options. (Bug#9924)
14539 2012-01-28 Drew Adams <drew.adams@oracle.com>
14541 * descr-text.el (describe-char): Show information about POS, in
14542 addition to information about the character at POS. Improve and
14543 update the doc string. Change "code point" to "code point in
14544 charset", to avoid confusion with the character's Unicode code
14545 point shown above that. (Bug#10129)
14547 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14549 * descr-text.el (describe-char): Show the raw character, not only
14550 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14551 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14554 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14556 * emacs-lisp/package.el (package-install):
14557 Run package-refresh-contents if there is no archive yet (Bug#9798).
14559 2012-01-28 Chong Yidong <cyd@gnu.org>
14561 * emacs-lisp/package.el (package-maybe-load-descriptor):
14562 New function, split from package-maybe-load-descriptor.
14563 (package-maybe-load-descriptor): Use it.
14564 (package-download-transaction): Fully load required packages
14565 inside the loop, so that `require' calls work (Bug#10593).
14566 (package-install): No need to call package-initialize now.
14568 2012-01-28 Chong Yidong <cyd@gnu.org>
14570 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14572 * tooltip.el (tooltip-mode): Doc fix.
14573 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14575 * frame.el (set-cursor-color): Doc fix (Bug#352).
14577 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14578 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14580 * cus-edit.el (custom-buffer-create-internal): Fix search button
14581 action (Bug#10542).
14582 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14584 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14586 * dired.el (dired-mark-files-regexp):
14587 Include any subdirectory components. (Bug#10445)
14589 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14591 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14592 Handle [host]:port syntax. (Bug#10533)
14594 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14596 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14598 2012-01-26 Glenn Morris <rgm@gnu.org>
14600 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14601 * term.el (term-raw-escape-map): Use Control-X-prefix.
14602 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14604 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14606 * window.el (window-state-get, window--state-get-1): Don't deal
14607 with fixed-sizeness of windows. Simplify code.
14609 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14611 * window.el (window--state-get-1, window--state-put-2):
14612 Don't save and restore the mark.
14614 2012-01-25 Chong Yidong <cyd@gnu.org>
14616 * custom.el (custom-variable-p): Doc fix.
14618 2012-01-25 Glenn Morris <rgm@gnu.org>
14620 * dired.el (dired-goto-file): Handle some of the more common
14621 characters that `ls -b' escapes. (Bug#10596)
14623 * progmodes/compile.el (compilation-next-error-function):
14624 Respect compilation-first-column in the "*compilation*" buffer.
14625 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14627 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14629 2012-01-24 Glenn Morris <rgm@gnu.org>
14631 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14633 2012-01-24 Julien Danjou <julien@danjou.info>
14635 * color.el (color-rgb-to-hsl): Fix value computing.
14636 (color-hue-to-rgb): New function.
14637 (color-hsl-to-rgb): New function.
14638 (color-clamp, color-saturate-hsl, color-saturate-name)
14639 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14640 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14642 2012-01-24 Glenn Morris <rgm@gnu.org>
14644 * vc/vc-rcs.el (vc-rcs-create-tag):
14645 * vc/vc-sccs.el (vc-sccs-create-tag):
14646 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14648 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14650 * eshell/esh-util.el (eshell-read-hosts-file):
14651 Skip comment lines. (Bug#10549)
14653 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14655 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14657 * subr.el (display-delayed-warnings): Doc fix.
14658 (collapse-delayed-warnings): New function to collapse identical
14660 (delayed-warnings-hook): Add it.
14662 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14664 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14666 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14667 (tramp-default-user-alist): Don't add "pscp".
14668 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14669 property "login-as", if set. (Bug#10530)
14671 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14673 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14674 "plink1" and "psftp". (Bug#10530)
14676 2012-01-21 Kenichi Handa <handa@m17n.org>
14678 * international/mule-cmds.el (prefer-coding-system): Show a
14679 warning message if the default value of file-name-coding-system
14682 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14684 * windmove.el (windmove-reference-loc):
14685 Fix windmove-reference-loc miscalculation.
14687 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14689 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14692 2012-01-21 Glenn Morris <rgm@gnu.org>
14694 * international/mule.el (auto-coding-alist): Add .tbz.
14696 * files.el (local-enable-local-variables): Doc fix.
14697 (inhibit-local-variables-regexps): Rename from
14698 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14699 Doc fix. Add some extensions from auto-coding-alist.
14700 (inhibit-local-variables-suffixes):
14701 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14702 (inhibit-local-variables-p):
14703 New function, extracted from set-auto-mode-1.
14704 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14705 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14706 (hack-local-variables): Doc fix. Make the mode-only case
14707 respect enable-local-variables and friends.
14708 Respect inhibit-local-variables-regexps for file-locals, but
14709 not for directory-locals.
14710 (set-visited-file-name):
14711 Take account of inhibit-local-variables-regexps.
14712 Whether it applies may change as the file name is changed.
14713 * jka-cmpr-hook.el (jka-compr-install):
14714 * jka-compr.el (jka-compr-uninstall):
14715 Update for inhibit-first-line-modes-suffixes name change.
14717 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14719 * help-macro.el (make-help-screen): Temporarily restore original
14720 binding for minor-mode-map-alist (Bug#10454).
14722 2012-01-19 Julien Danjou <julien@danjou.info>
14724 * color.el (color-name-to-rgb): Use the white color to find the max
14725 color component value and return correctly computed values.
14726 (color-name-to-rgb): Add missing float conversion for max value.
14728 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14730 * window.el (window--state-get-1, window-state-get): Do not use
14731 special state value for window-persistent-parameters.
14732 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14733 (window--state-put-2): Reset all window parameters to nil before
14734 assigning values of persistent parameters.
14736 2012-01-18 Alan Mackenzie <acm@muc.de>
14738 Eliminate sluggishness and hangs in fontification of "semicolon
14741 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14742 Change value 10000 -> 3000.
14743 (c-state-safe-place): Reformulate so it doesn't stack up an
14744 infinite number of wrong entries in c-state-nonlit-pos-cache.
14745 (c-determine-limit-get-base, c-determine-limit): New functions to
14746 determine backward search limits disregarding literals.
14747 (c-find-decl-spots): Amend commenting.
14748 (c-cheap-inside-bracelist-p): New function which detects "={".
14750 * progmodes/cc-fonts.el
14751 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14753 (c-font-lock-declarations): Fix an occurrence of point being
14754 undefined. Check additionally for point being in a bracelist or
14755 near a macro invocation without a semicolon so as to avoid a
14756 fruitless time consuming search for a declarator. Give a more
14757 precise search limit for declarators using the new
14760 2012-01-18 Glenn Morris <rgm@gnu.org>
14762 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14763 (set-auto-mode): Doc fixes.
14765 2012-01-17 Glenn Morris <rgm@gnu.org>
14767 * isearch.el (search-nonincremental-instead): Fix doc typo.
14769 * dired.el (dired-insert-directory): Handle newlines in directory name.
14770 (dired-build-subdir-alist): Unescape newlines in directory name.
14772 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14774 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14775 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14776 (tramp-action-terminal): Use it. (Bug#10530)
14778 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14780 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14782 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14784 * window.el (window-state-ignored-parameters): Remove variable.
14785 (window--state-get-1): Rename argument MARKERS to IGNORE.
14786 Handle persistent window parameters. Make copy of clone-of
14787 parameter only if requested. (Bug#10348)
14788 (window--state-put-2): Install a window parameter only if it has
14789 a non-nil value or an existing parameter shall be overwritten.
14791 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14793 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14795 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14797 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14798 don't pass the (nil) value of `upnode' to string-match.
14800 2012-01-14 Chong Yidong <cyd@gnu.org>
14802 * startup.el (command-line): Fix X resource class for cursorColor.
14803 Fix values recognized by the cursorBlink resource.
14805 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14807 * epg.el (epg--make-temp-file): Avoid permission race condition
14808 when running on old Emacs versions (bug#10403).
14810 2012-01-14 Glenn Morris <rgm@gnu.org>
14812 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14814 2012-01-13 Alan Mackenzie <acm@muc.de>
14816 Fix filling for when filladapt mode is enabled.
14818 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14819 c-mask-paragraph, pass in `fill-paragraph' rather than
14820 `fill-region-as-paragraph'. (This is a reversion of a previous
14822 * progmodes/cc-mode.el (c-basic-common-init):
14823 Make fill-paragraph-handle-comment buffer local and set it to nil.
14825 2012-01-13 Glenn Morris <rgm@gnu.org>
14827 * dired.el (dired-switches-escape-p): New function.
14828 (dired-insert-directory): Use dired-switches-escape-p.
14829 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14831 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14833 2012-01-12 Glenn Morris <rgm@gnu.org>
14835 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14836 changes in adaptive-fill-regexp. (Bug#10276)
14838 2012-01-11 Alan Mackenzie <acm@muc.de>
14840 Fix Emacs bug #10463 - put `widen's around the critical spots.
14842 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14843 widen around each invocation of c-state-pp-to-literal. Remove an
14844 unused let variable.
14846 2012-01-11 Glenn Morris <rgm@gnu.org>
14848 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14851 2012-01-10 Chong Yidong <cyd@gnu.org>
14853 * net/network-stream.el (network-stream-open-starttls):
14854 Avoid emitting a confusing error message when the server gives a bad
14855 response to the capability command.
14857 2012-01-10 Glenn Morris <rgm@gnu.org>
14859 * mail/unrmail.el (unrmail): Tweak previous change.
14861 2012-01-09 Chong Yidong <cyd@gnu.org>
14863 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14865 2012-01-08 Alan Mackenzie <acm@muc.de>
14867 Optimize font locking in long enum definitions.
14869 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14870 arm to a cond form to handle enums.
14871 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14872 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14874 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14876 * files.el (move-file-to-trash): Preserve default file modes on error.
14879 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14881 * faces.el (set-face-attribute): Clarify the meaning of the nil
14884 * subr.el (with-selected-frame): Mention that the selected frame
14885 is restored (bug#9980).
14887 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14890 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14891 (password-read): Don't autoload unused function.
14893 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14895 * progmodes/which-func.el (which-func-mode): Turn into a
14896 non-interactive function and mark as obsolete (bug#10428).
14898 2012-01-06 Chong Yidong <cyd@gnu.org>
14900 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14901 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14902 functions, along with 1 and -1.
14904 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14906 * time.el (display-time-load-average)
14907 (display-time-default-load-average): Doc fixes. See the thread
14909 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14912 2012-01-06 Glenn Morris <rgm@gnu.org>
14914 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14915 has no messages. (Bug#10377)
14917 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14918 than Info-edit. (Bug#10385)
14920 * time.el (display-time-load-average, display-time-next-load-average):
14923 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14924 local setting of buffer-read-only to the input buffer. (Bug#10419)
14926 * calendar/calendar.el (calendar-mode):
14927 Locally set scroll-margin to 0. (Bug#10379)
14929 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14931 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14933 2012-01-05 Glenn Morris <rgm@gnu.org>
14935 * eshell/em-unix.el (diff-no-select): Autoload it.
14936 (eshell/diff): Use diff-no-select. (Bug#10420)
14938 2012-01-05 Chong Yidong <cyd@gnu.org>
14940 * shell.el (shell-dynamic-complete-functions): Revert last change.
14941 (shell-command-completion-function): New function.
14942 (shell-completion-vars): Use it to implement
14943 shell-completion-execonly (Bug#10417).
14945 * custom.el (enable-theme): Don't set custom-safe-themes.
14947 * cus-theme.el (custom-theme-merge-theme):
14948 Ignore custom-enabled-themes and custom-safe-themes.
14950 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14952 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14953 first prompt in `sql-interacive-mode'.
14954 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14956 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14957 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14958 context of original buffer. Invoke `sql-login-hook'.
14960 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14962 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14963 letters in cite-prefix.
14965 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14969 2012-01-03 Chong Yidong <cyd@gnu.org>
14971 * shell.el (shell-dynamic-complete-functions):
14972 Put pcomplete-completions-at-point, so as to try
14973 comint-filename-completion first (Bug#10417).
14975 2012-01-02 Richard Stallman <rms@gnu.org>
14977 * battery.el (battery-status-function):
14978 Detect when to use battery-yeeloong-sysfs.
14979 (battery-echo-area-format): Add string for Yeeloong.
14980 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14981 (battery-yeeloong-sysfs): New function.
14983 2012-01-02 Chong Yidong <cyd@gnu.org>
14985 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14986 (dirtrack): Merge code for handling relative filenames in prompt
14987 from shell-dir-cookie-watcher.
14988 (dirtrack-debug-message): New arg to avoid excess format calls.
14990 * shell.el (shell-dir-cookie-re): Variable deleted.
14991 (shell-dir-cookie-watcher): Function deleted.
14992 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14993 with dirtrack-mode.
14995 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14997 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14998 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15001 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15003 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15005 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15007 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15008 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15010 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15012 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15013 also for alternative shells.
15014 (tramp-open-connection-setup-interactive-shell): Check, whether
15015 the shell is a busybox.
15016 (tramp-send-command): Don't suppress multiple prompts for
15017 busyboxes, it hurts.
15019 2011-12-28 Chong Yidong <cyd@gnu.org>
15021 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15022 (gdb-get-source-file): Move mode line update to
15023 gdb-get-source-file (Bug#10087).
15025 2011-12-25 Chong Yidong <cyd@gnu.org>
15027 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15028 gud-gdb-marker-filter without taking it as an argument.
15029 (gud-gdb-run-command-fetch-lines): Caller changed.
15030 (gud-gdb-completion-function): New variable.
15031 (gud-gdb-completion-at-point): Use it.
15032 (gud-gdb-completions-1): Split from gud-gdb-completions.
15034 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15035 function as separate arguments.
15036 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15037 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15038 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15039 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15040 (gdb-stopped, def-gdb-auto-update-trigger)
15041 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15042 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15044 (gud-gdbmi-completions): New function.
15045 (gdb): Use it for generating the completion table.
15047 2011-12-24 Alan Mackenzie <acm@muc.de>
15049 Introduce a mechanism to widen the region used in context font
15050 locking. Use this to protect declarations from losing their contexts.
15052 * progmodes/cc-langs.el (c-before-font-lock-functions):
15053 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15054 (c-before-context-fontification-functions): New defvar, a list of
15055 functions to be run just before context (etc.) font locking.
15057 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15058 New, functionality extracted from
15059 c-neutralize-syntax-in-and-mark-CPP.
15060 (c-in-after-change-fontification): New variable.
15061 (c-after-change): Set c-in-after-change-fontification.
15062 (c-set-fl-decl-start): Rejig its interface, so it can be called
15063 from both after-change and context fontifying.
15064 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15066 (c-standard-font-lock-fontify-region-function): New variable.
15067 (c-font-lock-fontify-region): New function.
15069 2011-12-24 Juri Linkov <juri@jurta.org>
15071 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15074 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15076 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15077 existence of source file. (Bug#10325)
15079 2011-12-23 Alan Mackenzie <acm@muc.de>
15081 Fix unstable fontification inside templates.
15083 * progmodes/cc-langs.el (c-before-font-lock-functions):
15084 Newly created from the singular version. The (c c++ objc) entry now
15085 additionally has c-set-fl-decl-start. The other languages (apart
15086 from AWK) have that as a single entry.
15088 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15089 The functionality for "local" declarations has been extracted to
15090 c-set-fl-decl-start.
15092 * progmodes/cc-mode.el (c-common-init, c-after-change):
15093 Changes due to pluralisation of c-before-font-lock-functions.
15094 (c-set-fl-decl-start): New function, extracted from
15095 c-font-lock-enclosing-decls and enhanced.
15097 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15099 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15101 2011-12-22 Juri Linkov <juri@jurta.org>
15103 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15105 2011-12-22 Chong Yidong <cyd@gnu.org>
15107 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15109 2011-12-21 Drew Adams <drew.adams@oracle.com>
15111 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15113 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15115 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15117 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15119 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15120 highlighting and support. Fix up comments for capitalization.
15121 (cfengine-mode-debug): New var.
15122 (cfengine3-mode): Change the modeline indicator to "CFE3".
15123 (cfengine3-font-lock-keywords): Improve defun highlighting.
15124 (cfengine2-actions): Rename from `cfengine-actions'.
15125 (cfengine2-font-lock-keywords): Rename from
15126 `cfengine-font-lock-keywords'.
15127 (cfengine2-imenu-expression): Rename from
15128 `cfengine-imenu-expression'.
15129 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15130 (cfengine2-beginning-of-defun): Rename from
15131 `cfengine-beginning-of-defun'.
15132 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15133 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15134 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15135 modeline indicator to "CFE2".
15136 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15137 (cfengine-mode-abbrevs): Mark obsolete.
15139 2011-12-21 Chong Yidong <cyd@gnu.org>
15141 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15144 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15146 * window.el (window-normalize-buffer-to-display): Remove.
15147 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15149 2011-12-19 Chong Yidong <cyd@gnu.org>
15151 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15152 Don't signal an error in a predicate function; return non-nil.
15153 (vc-dir-mark-file): Move the error here.
15154 (vc-dir-mark-unmark): If acting on the region, keep going if one
15155 of the entries cannot be marked/unmarked.
15156 (vc-dir-mark-all-files): If current entry is a directory, mark
15157 only child files, as documented.
15159 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15161 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15162 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15165 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15167 * term/ns-win.el (ns-get-selection-internal)
15168 (ns-store-selection-internal): Declare.
15169 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15170 Declare as obsolete.
15171 (ns-get-pasteboard, ns-paste-secondary):
15172 Use ns-get-selection-internal.
15173 (ns-set-pasteboard, ns-copy-including-secondary):
15174 Use ns-store-selection-internal.
15176 2011-12-17 Chong Yidong <cyd@gnu.org>
15178 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15179 (vc-deduce-fileset): Doc fix.
15181 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15183 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15185 2011-12-13 Sam Steingold <sds@gnu.org>
15187 * man.el (Man-getpage-in-background): When running under a
15188 window-system, ignore $MANWIDTH and $COLUMNS.
15190 2011-12-15 Kenichi Handa <handa@m17n.org>
15192 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15193 (setup-ethiopic-environment-internal): Comment out key-binding for
15194 ethio-toggle-punctuation.
15196 2011-12-13 Alan Mackenzie <acm@muc.de>
15198 Add the switch statement to AWK Mode.
15200 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15201 "default" to the keywords regexp.
15203 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15204 expression as the rest.
15205 (c-nonlabel-token-key): Allow string literals for AWK.
15206 Refactor for the other modes.
15208 Large brace-block initialisation makes CC Mode slow: Fix.
15209 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15210 routines. Limit backward searching in c-font-lock-enclosing.decl.
15212 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15213 pp-state and literal type in addition to the limits.
15214 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15215 (c-state-literal-at): Use the above new defun.
15216 (c-slow-in-literal, c-fast-in-literal): Remove.
15217 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15219 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15220 being in a literal. Add a limit for backward searching.
15222 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15225 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15227 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15229 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15231 * window.el (delete-other-windows): Use correct frame in call to
15232 window-with-parameter.
15234 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15236 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15237 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15238 (makefile-gmake-statements, makefile-makepp-statements):
15239 Use it and add new makepp keywords.
15240 (makefile-makepp-font-lock-keywords): Add new patterns.
15241 (makefile-match-function-end): Match new [...] and [[...]].
15243 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15245 * ses.el (ses-call-printer-return, ses-cell-property-get)
15246 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15247 (ses-create-cell-variable, ses-reset-header-string)
15248 (ses-cell-set-formula, ses-repair-cell-reference-all)
15249 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15250 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15251 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15252 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15253 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15254 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15255 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15256 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15257 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15258 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15259 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15260 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15262 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15264 * ses.el: The overall change is to add cell renaming, that is
15265 setting fancy names for cell symbols other than name matching
15266 "\\`[A-Z]+[0-9]+\\'" regexp .
15267 (ses-create-cell-variable): New defun.
15268 (ses-relocate-formula): Relocate formulas only for cells the
15269 symbols of which are not renamed, i.e. symbols whose names do not
15270 match regexp "\\`[A-Z]+[0-9]+\\'".
15271 (ses-relocate-all): Relocate values only for cells the symbols of
15272 which are not renamed.
15273 (ses-load): Create cells variables as the (ses-cell ...) are read,
15274 in order to check row col consistency with cell symbol name only
15275 for cells that are not renamed.
15276 (ses-replace-name-in-formula): New defun.
15277 (ses-rename-cell): New defun.
15279 2011-12-11 Chong Yidong <cyd@gnu.org>
15281 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15282 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15284 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15286 * window.el (other-window): Fix docstring.
15288 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15290 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15291 `from' or `to' address before taking its substring.
15292 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15293 encoded name is chopped in the middle of the encoded string, and
15294 thus displayed encoded.
15296 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15298 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15300 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15302 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15303 to use texinfo-update-node and commands that call it if the
15304 Texinfo file uses @node lines without next/prev/up pointers.
15305 Correct outdated description about texinfo-master-menu.
15306 (texinfo-all-menus-update, texinfo-master-menu)
15307 (texinfo-update-node, texinfo-every-node-update)
15308 (texinfo-multiple-files-update): Doc fix. Warn against updating
15309 all the @node lines.
15310 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15311 argument is numeric. Explain better in the doc string what the
15312 function really does.
15313 (texinfo-insert-master-menu-list): Improve the error message
15314 displayed if there's no menu in the Top node.
15315 (Bug#2975) See also this thread:
15316 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15318 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15320 * speedbar.el (speedbar-supported-extension-expressions):
15321 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15323 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15325 * printing.el (pr-mode-alist):
15326 * simple.el (filter-buffer-substring-functions)
15327 (completion-list-insert-choice-function):
15328 * window.el (window-with-parameter, window-atom-root)
15329 (window-sides-slots, window-size-fixed, window-min-delta)
15330 (window-max-delta, window--resize-mini-window)
15331 (window--resize-child-windows-normal, window-tree)
15332 (delete-other-windows, quit-window, split-window)
15333 (display-buffer-record-window, special-display-buffer-names)
15334 (special-display-regexps, special-display-popup-frame)
15335 (same-window-p, split-window-sensibly)
15336 (display-buffer-overriding-action, display-buffer-alist)
15337 (display-buffer-base-action, display-buffer, switch-to-buffer)
15338 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15339 (fit-window-to-buffer, recenter-positions)
15340 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15341 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15342 and remove unneeded backslashes in docstrings.
15344 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15346 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15348 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15349 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15351 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15352 when reading the makefile (bug#10116).
15354 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15356 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15359 2011-12-06 Glenn Morris <rgm@gnu.org>
15361 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15363 2011-12-06 Chong Yidong <cyd@gnu.org>
15365 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15367 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15369 * textmodes/table.el (table-shorten-cell): Fix typo.
15371 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15373 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15375 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15377 * descr-text.el (describe-char): Fix display of strong
15378 right-to-left characters and directional embeddings and overrides.
15380 * simple.el (what-cursor-position): Fix display of codepoints of
15381 strong right-to-left characters.
15383 2011-12-05 Chong Yidong <cyd@gnu.org>
15385 * faces.el (read-color): Doc fix.
15387 2011-12-05 Glenn Morris <rgm@gnu.org>
15389 * align.el (align--set-marker): Add doc-string.
15390 Don't try to move something that is not a marker. (Bug#10216)
15392 2011-12-04 Glenn Morris <rgm@gnu.org>
15394 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15395 overly zealous deletion of trailing whitespace.
15397 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15399 * server.el (server-delete-client): On Windows, do not try to delete
15401 (server-process-filter): On Windows, treat requests for a tty frame as
15402 if they were for a GUI frame if the running server is in GUI mode.
15404 2011-12-03 Glenn Morris <rgm@gnu.org>
15406 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15408 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * electric.el: Streamline electric-indent's hook.
15411 (electric-indent-chars): Revert to simple list.
15412 (electric-indent-functions): New var.
15413 (electric-indent-post-self-insert-function): Use it.
15415 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15416 there's no inferior buffer (bug#10196).
15417 (prolog-consult-compile): Don't use toggle-read-only.
15419 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15421 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15422 interrupt. (Bug#10187)
15424 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15426 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15429 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15432 2011-12-02 Juri Linkov <juri@jurta.org>
15434 * info.el (Info-search): Display "end of manual" when Isearch
15435 reaches the end of single-file Info manual. (Bug#9918)
15437 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15439 * isearch.el (isearch-message-prefix): Run the input method part
15440 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15442 2011-12-02 Juri Linkov <juri@jurta.org>
15444 * isearch.el (isearch-occur): Use `word-search-regexp' for
15446 (isearch-search-and-update): Add condition for `isearch-word' and
15447 call `word-search-regexp'. (Bug#10145)
15449 2011-12-01 Glenn Morris <rgm@gnu.org>
15451 * eshell/em-hist.el (eshell-hist-initialize):
15452 Handle eshell-history-size nil and HISTSIZE set or unset.
15453 (eshell-history-file-name, eshell-history-size): Fix custom type.
15455 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15457 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15459 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15461 * progmodes/verilog-mode.el (verilog-pretty-expr):
15462 Rework verilog-pretty-expr to handle new assignment operators in system
15463 verilog, such as += *= and the like.
15464 (verilog-assignment-operator-re): Regular expression to find the
15465 assigment operator in a verilog assignment.
15466 (verilog-assignment-operation-re): Regular expression to find an
15467 assignment statement for pretty-expr.
15468 (verilog-in-attribute-p): Query returns true if point is in an
15469 attribute context; used to skip these for expression line up from
15471 (verilog-in-parameter-p): Query returns true if point is in an
15472 parameter definition context; used to skip these for expression
15473 line up from pretty-expr.
15474 (verilog-in-parenthesis-p): Query returns true if point is in a
15475 parenthetical expression, specifically ( ) but not [ ] or { };
15476 used by pretty-expr.
15477 (verilog-just-one-space): If there is no space, don't add one.
15478 (verilog-get-lineup-indent-2): Specifically skip just attribute
15479 contexts for expression lineup, rather than skipping all
15480 parenthetical expressions.
15481 (verilog-calculate-indent): Fix comment, and fix indent.
15482 (verilog-do-indent): Indent declarations in lists (suggested by
15484 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15486 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15489 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15491 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15492 parameters with embedded comments. Reported by Ray Stevens.
15493 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15494 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15495 Reported by Tim Holt.
15496 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15497 instantiated by upper module causing wrong expansion until AUTOed a
15498 second time. Reported by K C Buckenmaier.
15499 (verilog-diff-auto): Fix showing .* as a difference when
15500 `verilog-auto-star-save' off. Reported by Dan Dever.
15501 (verilog-auto-reset, verilog-read-always-signals)
15502 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15503 temporary signals in reset list if
15504 verilog-auto-reset-blocking-in-non is nil, and match assignment
15505 style to each signal's assignment type, bug381.
15506 Reported by Thomas Esposito.
15507 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15508 (verilog-uvm-statement-re): Support UVM indentation and
15509 highlighting, with old OVM keywords only.
15510 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15511 Support AUTOTIEOFF creating non-wire data types.
15512 Suggested by Jonathan Greenlaw.
15513 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15514 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15515 (verilog-inject-sense, verilog-read-inst-pins)
15516 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15517 Fix mismatching parenthesis inside commented out code when deleting
15518 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15519 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15520 non-numeric vector width. Reported by Alex Reed.
15521 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15522 detecting signals with parameter widths. Reported by Alex Reed.
15523 (verilog-auto-delete-trailing-whitespace):
15524 With `verilog-auto-delete-trailing-whitespace' remove trailing
15525 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15526 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15527 Fix verilog-scan-cache corruption when running user AUTO expansion
15528 hooks that call indentation routines.
15529 (verilog-simplify-range-expression): Fix typo ignoring lower case
15531 (verilog-delete-auto): Fix delete-autos to also remove user created
15532 automatics, as long as they start with AUTO.
15533 (verilog-batch-diff-auto, verilog-diff-auto)
15534 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15535 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15536 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15537 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15538 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15539 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15540 is disabled and its cache will get corrupt, causing AUTOS not to
15541 expand. Instead use only -quick functions.
15542 (verilog-scan-region): Fix scanning over escaped quotes.
15543 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15544 (verilog-re-search-backward-quick)
15545 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15546 related functions now ignore strings, to fix misparsing of strings
15547 with magic comments embedded in them.
15548 (verilog-read-auto-template):
15549 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15550 Reported by Brad Dobbie.
15551 (verilog-read-auto-template):
15552 Fix 'verilog-auto-inst-template-numbers' with comments.
15553 Reported by Brad Dobbie.
15554 (verilog-auto-inst, verilog-auto-inst-param)
15555 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15556 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15557 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15558 debugging templates without merge conflicts, bug357.
15559 Reported by Brad Dobbie.
15560 (verilog-read-auto-template):
15561 Fix verilog-auto-inst-template-numbers with multiple templates.
15562 Reported by Brad Dobbie.
15563 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15564 abbrevs so user won't be asked to save.
15565 (verilog-read-auto-lisp-present): Fix to start at beginning of
15566 buffer in case called outside of verilog-auto.
15567 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15568 to "X-2". Reported by Matthew Myers.
15569 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15570 all inputs from module templates. Reported by Leith Johnson.
15571 (verilog-module-inside-filename-p): Fix locating programs as with
15573 (verilog-auto-inst-port): Fix vl-width expressions when using
15574 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15575 (verilog-decls-get-regs, verilog-decls-get-signals,
15576 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15577 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15578 verilog-read-decls): Combine reg and wire structures into one var
15579 structure to represent SystemVerilog concepts.
15580 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15581 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15582 (verilog-auto-wire-type, verilog-insert-definition):
15583 Add verilog-auto-wire-type and AUTOLOGIC to support using
15584 SystemVerilog "logic" keyword instead of "wire"/"reg".
15585 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15586 to declares outputs that also have assignments (presumably in an
15587 ifdef or generate if so there's not a driver conflict).
15588 Reported by Matthew Myers.
15589 (verilog-auto-declare-nettype, verilog-insert-definition):
15590 Add verilog-auto-declare-nettype to fix declarations using
15591 `default_nettype none. Reported by Julian Gorfajn.
15592 (verilog-read-always-signals-recurse, verilog-read-decls)
15593 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15594 malformed end statement, bug325. Reported by Joshua Wise and
15596 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15597 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15598 when expanding .* in interfaces, bug320.
15599 Reported by Pierre-David Pfister.
15600 (verilog-read-module-name): Fix import statements between module
15601 name and open parenthesis, bug317.
15602 Reported by Pierre-David Pfister.
15603 (verilog-simplify-range-expression): Fix simplification of
15604 multiplications inside AUTOWIRE connections, bug303.
15605 (verilog-auto-inst-port): Support parameter expansion in
15606 multidimensional arrays.
15607 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15608 after "assert property". Reported by Julian Gorfajn.
15609 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15610 with multiplication, bug303.
15611 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15612 Reported by Jan Frode Lonnum.
15614 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15616 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15617 (hfy-shell-file-name, hfy-shell):
15618 * international/fontset.el (x-decompose-font-name): Fix typos.
15620 2011-11-29 Ken Brown <kbrown@cornell.edu>
15622 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15623 (gdb-version): Remove defvar.
15624 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15625 (gdb-gud-context-command, gdb-non-stop-handler)
15626 (gdb-current-context-command, gdb-stopped): Use it.
15627 (gdb-init-1): Enable pretty printing here.
15628 (gdb-non-stop-handler): Don't enable pretty-printing here.
15629 Check to see if the target supports non-stop mode; if not, turn off
15630 non-stop mode. Use the following.
15631 (gdb-check-target-async): New defun.
15632 (gud-watch, gdb-stopped): Fix whitespace.
15633 (gdb-get-source-file): Don't try to display the source file if
15634 `gdb-main-file' is nil.
15636 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15638 * align.el: Try to generate fewer markers (bug#10047).
15639 (align--set-marker): New macro.
15640 (align-region): Use it.
15642 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15646 2011-11-29 Chong Yidong <cyd@gnu.org>
15648 * indent.el (indent-for-tab-command, indent-according-to-mode):
15650 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15652 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15654 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15655 aware of remote file names. (Bug#10124)
15657 2011-11-29 Chong Yidong <cyd@gnu.org>
15659 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15661 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15663 * files.el (find-file): Don't use force-same-window (bug#10144).
15664 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15665 use pop-to-buffer if the selected window can't be used.
15666 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15668 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15670 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15673 2011-11-28 Chong Yidong <cyd@gnu.org>
15675 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15677 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15679 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15680 gdb-get-source-file-list on gdb-create-source-file-list.
15682 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15684 * whitespace.el (whitespace-newline): Use a different foreground
15685 color for 16-color light-background displays.
15687 2011-11-24 Chong Yidong <cyd@gnu.org>
15689 * window.el (display-buffer--special-action): Doc fix.
15691 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15693 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15694 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15695 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15696 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15697 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15698 (avl-tree-stack-first):
15699 * emacs-lisp/cconv.el (cconv--analyse-use):
15700 * net/gnutls.el (gnutls-negotiate): Fix typos.
15702 2011-11-24 Glenn Morris <rgm@gnu.org>
15704 * lpr.el (lpr-windows-system, lpr-lp-system):
15705 * mail/binhex.el (binhex-begin-line):
15706 * progmodes/grep.el (grep-history, grep-find-history):
15707 * textmodes/flyspell.el:
15708 * vc/pcvs-defs.el (cvs-global-menu):
15709 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15710 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15711 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15713 * net/tls.el: Fix case of "GnuTLS".
15715 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15717 * version.el (emacs-build-system): Give it a doc-string.
15719 2011-11-24 Juri Linkov <juri@jurta.org>
15721 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15723 2011-11-24 Glenn Morris <rgm@gnu.org>
15725 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15726 if called on a non-mime message just toggle the headers. (Bug#8006)
15728 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15730 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15731 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15732 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15733 (allout-rebullet-heading, allout-open-sibtopic)
15734 (allout-toggle-current-subtree-encryption)
15735 (allout-toggle-subtree-encryption, allout-encrypt-string)
15736 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15737 (allout-distinctive-bullets-string, allout-auto-activation):
15738 * window.el (window-normalize-buffer-to-display):
15739 * progmodes/verilog-mode.el (verilog-batch-indent):
15740 * textmodes/bibtex.el (bibtex-field-braces-opt)
15741 (bibtex-field-strings-opt):
15742 * vc/cvs-status.el (cvs-tree-merge):
15745 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15747 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15748 `non-essential' to t, in order to avoid remote connections.
15750 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15752 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15753 On MS-DOS and MS-Windows, compare with loaddefs.el
15754 case-insensitively.
15756 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15758 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15760 2011-11-23 Glenn Morris <rgm@gnu.org>
15762 * paths.el (rmail-file-name): Reformat the doc-string so that it
15765 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15766 (rmail-auto-file): Ignore case in the "special" field names,
15767 as mail-fetch-field does for all others.
15769 * mail/rmail.el (rmail-forward):
15770 * mail/rmailkwd.el (rmail-set-label):
15771 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15772 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15774 * mail/rmail.el (rmail-current-message): Doc fix.
15776 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15778 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15780 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15782 2011-11-22 Glenn Morris <rgm@gnu.org>
15784 * mail/rmailmm.el (test-rmail-mime-handler)
15785 (test-rmail-mime-bulk-handler)
15786 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15788 2011-11-21 Juri Linkov <juri@jurta.org>
15790 * calc/calc.el (calc-read-key-sequence):
15791 Let-bind `input-method-function' to nil. (Bug#10018)
15793 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15795 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15796 Tell the caller that the next line needs recomputation, even
15797 though it doesn't start a sexp (bug#10094).
15799 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15801 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15803 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15805 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15806 Use force-same-window.
15808 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15810 * descr-text.el (describe-char-unicode-data):
15811 * json.el (json-string-escape):
15812 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15813 (Footnote-unicode, Footnote-style-p):
15814 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15816 2011-11-20 Chong Yidong <cyd@gnu.org>
15818 * window.el (replace-buffer-in-windows): Restore interactive spec.
15820 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15822 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15824 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15825 (byte-compile-global-not-obsolete-vars): New var.
15826 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15828 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15830 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15832 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15833 * progmodes/pascal.el (electric-pascal-equal):
15834 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15835 * xml.el (xml-substitute-special): Fix typos.
15837 2011-11-20 Glenn Morris <rgm@gnu.org>
15839 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15840 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15842 (rmail-decode-mime-charset): Mark as obsolete.
15844 * mail/rmailsum.el (rmail-message-regexp-p-1):
15845 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15846 Before using mime functions, check they are set. (Bug#10077)
15848 2011-11-19 Juri Linkov <juri@jurta.org>
15850 * info.el (Info-finder-find-node): Use `package--builtins' instead
15851 of `package-alist'. Use node names formed by the pattern "Keyword "
15852 and the keyword name.
15854 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15856 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15858 2011-11-19 Juri Linkov <juri@jurta.org>
15860 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15861 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15862 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15863 `old-history', `old-history-forward'. Add let-binding
15864 `window-selected'. Remove calls to `kill-buffer',
15865 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15866 before calling `Info-find-node', so `Info-find-node-2' will reread
15867 the Info file. Restore window positions only when `window-selected'
15870 2011-11-19 Juri Linkov <juri@jurta.org>
15872 * isearch.el (isearch-lazy-highlight-new-loop):
15873 Remove condition `(not isearch-error)'. (Bug#9918)
15875 * misearch.el (multi-isearch-search-fun): Add condition
15876 `(not bound)' to ignore lazy-highlighting search.
15877 Add the search-failed message "end of multi" when the end of
15878 multi-sequence is reached. Uncapitalize the search-failed
15879 message "Repeat for next buffer".
15881 * info.el (Info-search): Add the search-failed message
15882 "end of the manual" when the end of the manual is reached
15885 2011-11-19 Juri Linkov <juri@jurta.org>
15887 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15888 Use non-destructive `remove' instead of `delete' because
15889 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15890 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15892 2011-11-19 Juri Linkov <juri@jurta.org>
15894 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15895 to nil instead of binding `search-ring' and `regexp-search-ring'.
15898 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15900 * simple.el (line-move): Force movement by logical lines for any
15901 hscrolled window, not only when auto-hscroll-mode is on.
15902 (line-move-visual): Update doc string to that effect. (Bug#10076)
15904 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15906 * language/european.el (macintosh): Define as alias for mac-roman.
15908 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15910 * mail/rmailmm.el (rmail-mime-display-header)
15911 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15912 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15913 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15914 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15915 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15917 (rmail-mime-entity-segment): To get past the tagline, move forward
15918 2 more lines, to account for the 2 empty lines that precede and
15919 follow the line with the buttons.
15920 (rmail-mime-update-tagline): Move one more line, to get past the
15921 empty line that follows the buttons in the tagline. (Bug#9520)
15923 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15925 * window.el (window-max-delta-1, window-min-delta-1)
15926 (window-min-size-1, window-state-get-1, window-state-put-1)
15927 (window-state-put-2): Use "window--" prefix.
15929 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15931 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15932 (smie-warning-count): New var.
15933 (smie-set-prec2tab): Use it.
15934 (smie-bnf->prec2): Improve warnings. Add docstring.
15935 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15936 (smie-bnf--set-class): New function.
15937 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15940 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15941 (compilation-error-properties, compilation-move-to-column):
15942 Handle compilation-first-column while in the target buffer.
15944 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15945 Don't hardcode point-min==1.
15947 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15948 (eshell-rewrite-for-command): Remove workaround.
15949 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15950 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15951 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15953 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15955 2011-11-17 Glenn Morris <rgm@gnu.org>
15957 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15958 Ignore buffer-local generated-autoload-file if it is the same
15959 as the global value. (Bug#10049)
15961 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15963 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15964 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15965 (reftex-toc-previous-heading, reftex-toc-max-level)
15966 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15967 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15968 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15969 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15970 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15971 (reftex-toc-rename-label, reftex-toc-visit-location)
15972 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15973 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15974 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15975 leaving "*toc*" only for references to the buffer.
15977 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15979 * window.el (window-resize, delete-window, split-window):
15980 Replace window-splits by window-combination-resize.
15981 * cus-start.el (window-splits): Replace by window-combination-resize.
15983 2011-11-17 Glenn Morris <rgm@gnu.org>
15985 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15986 Make bash entry derive from sh entry, not shell entry.
15988 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15990 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15993 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15995 * menu-bar.el (menu-bar-file-menu):
15996 * printing.el (pr-ps-utility):
15997 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15998 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15999 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16000 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16001 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16002 (icalendar--convert-cyclic-to-ical)
16003 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16004 (icalendar--convert-ical-to-diary)
16005 (icalendar--convert-recurring-to-diary)
16006 (icalendar--convert-non-recurring-all-day-to-diary)
16007 (icalendar-import-format-sample):
16008 * progmodes/idlw-shell.el (idlwave-shell-mode):
16009 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16010 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16011 (vhdl-ps-print-init): Fix typos.
16013 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16015 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16016 FSF and collapse date sequence, obscure author/maintainer email address
16017 better, remove extra version line, track relocation of author's webpage.
16019 * progmodes/python.el (python-pdbtrack-input-prompt)
16020 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16021 regular python pdb prompts. Adjustments shamelessly taken exactly as
16022 suggested in EmacsWiki page (tiny change):
16023 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16025 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16027 * expand.el (expand-pos, expand-index, expand-point):
16028 Remove redundant info from docstring.
16029 (expand-add-abbrevs): Doc fix.
16030 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16031 (expand-sample-perl-mode-expand-list): Fix typos.
16033 * net/dbus.el (dbus-event-member-name):
16034 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16035 * term/pc-win.el (msdos-create-frame-with-faces):
16036 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16038 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16040 * window.el (split-window, window-state-get-1)
16041 (window-state-put-1, window-state-put-2): Rename occurrences of
16042 window-nest to window-combination-limit.
16043 * cus-start.el (window-nest): Rename to window-combination-limit.
16045 2011-11-16 Chong Yidong <cyd@gnu.org>
16047 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16048 regexp (Bug#10033).
16050 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16052 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16053 `completing-read' will remove *Completions* and will preserve
16054 current-buffer for us.
16055 (tmm-add-prompt): Users of *Completions* will always (re)set its
16057 (tmm-old-comp-map): Remove.
16059 2011-11-16 Glenn Morris <rgm@gnu.org>
16061 * mail/rmailedit.el: Require rmailmm when compiling.
16062 (rmail-old-mime-state): New declaration.
16063 (rmail-edit-current-message): If editing a mime message,
16064 edit the "raw" message from the mbox buffer.
16065 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16067 2011-11-15 Glenn Morris <rgm@gnu.org>
16069 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16070 which wasn't being used. Add optional arg to force given state.
16071 (rmail-mime): Add optional arg to force given state.
16073 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16075 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16076 * frame.el (display-mm-dimensions-alist):
16077 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16078 (outline-move-subtree-down):
16079 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16080 (newsticker--treeview-do-get-node):
16081 * net/quickurl.el (quickurl-list-buffer-name):
16082 * progmodes/dcl-mode.el (dcl-mode):
16083 * progmodes/gdb-mi.el (gdb-mapcar*):
16084 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16086 2011-11-15 Glenn Morris <rgm@gnu.org>
16088 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16089 in a boolean sense, so just make it a boolean, and fix the doc.
16090 (rmail-show-mime-function, rmail-mime-feature)
16091 (rmail-require-mime-maybe): Doc fixes.
16092 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16094 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16096 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16098 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16099 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16100 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16101 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16103 2011-11-15 Glenn Morris <rgm@gnu.org>
16105 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16106 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16107 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16108 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16109 (rmail-mime, rmail-show-mime): Doc fixes.
16111 * term/ns-win.el (mode-line-frame-identification):
16112 Leave it alone. (Bug#10051)
16114 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16116 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16117 Handle empty buffers. (Bug#9978)
16119 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16121 * international/mule.el (define-charset):
16122 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16123 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16124 * progmodes/verilog-mode.el (verilog-backward-token):
16125 * textmodes/ispell.el (lookup-words):
16126 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16128 2011-11-14 Glenn Morris <rgm@gnu.org>
16130 * progmodes/executable.el
16131 (executable-make-buffer-file-executable-if-script-p):
16132 Handle file-modes returning nil.
16134 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16135 message - not necessary, and causes problems. (Bug#9831)
16137 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16139 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16141 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16142 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16143 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16145 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16147 * window.el (window-resize, delete-window): Use window-splits
16148 variable instead of function.
16149 (window-state-get-1, window-state-put-2, window-state-put):
16150 Don't deal with windows' splits status.
16152 2011-11-12 Glenn Morris <rgm@gnu.org>
16154 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16155 (apropos-documentation): Doc fixes.
16157 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16159 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16160 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16162 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16164 * electric.el (electric-indent-post-self-insert-function): Make it
16165 possible for a char to only indent in some circumstances.
16166 (electric-indent-mode): Simplify.
16168 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16170 * window.el (windows-with-parameter): Remove unused function.
16171 (windows-at-side): Rename to window-at-side-list.
16172 (window-check, window-atom-check, window-atom-check-1)
16173 (window-side-check, window-size-ignore, window-size-fixed-1)
16174 (window-in-direction-2): Prefix with "window--".
16175 (window-tree-1): Rename to window--subtree, fix doc-string.
16177 2011-11-11 Glenn Morris <rgm@gnu.org>
16179 * subr.el (eval-after-load): If FILE is already loaded,
16180 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16182 2011-11-10 Glenn Morris <rgm@gnu.org>
16184 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16185 Call svn via vc-svn-command rather than vc-do-command.
16186 (vc-svn-command): Add --non-interactive. (Bug#9993)
16187 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16190 Add toggle-read-only. (Bug#7292)
16191 * files.el (toggle-read-only): Mention that it should only
16192 be used interactively. (Bug#10006)
16194 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16197 Adjust regexp for OCaml warnings.
16199 * electric.el (electric-pair-post-self-insert-function): Let user
16200 turn it off buffer-locally (bug#9932).
16202 * progmodes/python.el (python-beginning-of-statement):
16203 Rewrite (bug#2703).
16205 * progmodes/compile.el: Better handle TABs (bug#9749).
16206 (compilation-internal-error-properties)
16207 (compilation-next-error-function): Obey the target buffer's
16208 compilation-error-screen-columns.
16210 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16212 * progmodes/meta-mode.el: Remove obsolete comments.
16213 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16214 Fix typos in docstrings.
16216 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16218 * window.el (window-size-fixed-p): Rewrite doc-string.
16219 (window-resizable-p): Rename to window--resizable-p. Update callers.
16220 (window--resizable): New function. Make all callers of
16221 window-resizable call window--resizable instead.
16222 (window-resizable): Rewrite in terms of window--resizable.
16224 2011-11-08 Glenn Morris <rgm@gnu.org>
16226 * progmodes/delphi.el (delphi-mode-syntax-table):
16227 Let define-derived-mode define a proper syntax table. (Bug#9994)
16229 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16231 * window.el: Stay away from defsubst.
16232 (window-list-no-nils): Remove.
16233 (window-state-get-1, window-state-get): Use backquote instead.
16235 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16237 * emacs-lisp/find-func.el (find-function-read):
16238 Fix incorrect use of default argument in `completing-read'.
16240 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16242 * window.el (display-buffer-function, special-display-function):
16243 Mention display-buffer-record-window but do not mention
16244 help-setup parameter in doc-strings.
16245 (window-min-delta): Fix doc-string typo.
16247 2011-11-08 Chong Yidong <cyd@gnu.org>
16249 * window.el (window-total-height, window-total-width): Doc fix.
16250 (window-body-size): Move from C.
16251 (window-body-height, window-body-width): Move to C.
16253 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16255 * window.el: Make special-display like display-buffer-alist (bug#9532).
16256 (display-buffer--special-action): New function, morphed
16257 from display-buffer--special.
16258 (display-buffer): Use it to handle special-display-buffers at higher
16259 priority (just after display-buffer-alist).
16260 (display-buffer-fallback-action, display-buffer--other-frame-action)
16261 (pop-to-buffer-same-window): Remove display-buffer--special.
16263 2011-11-07 Glenn Morris <rgm@gnu.org>
16265 * calendar/cal-menu.el (cal-menu-set-date-title):
16266 Do nothing if not in a calendar. (Bug#9976)
16268 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16270 * files.el (find-file): Always use selected-window.
16272 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16274 * window.el (window-combinations): Make WINDOW argument
16275 mandatory. Rewrite doc-string.
16276 (walk-window-subtree, window-atom-check, window-min-delta)
16277 (window-max-delta, window--resize-this-window)
16278 (window--resize-root-window-vertically, window-tree)
16279 (balance-windows, window-state-put): Rewrite doc-strings as to
16280 not mention the term "subwindow".
16281 (window--resize-subwindows-skip-p): Rename to
16282 window--resize-child-windows-skip-p.
16283 (window--resize-subwindows-normal): Rename to
16284 window--resize-child-windows-normal.
16285 (window--resize-subwindows): Rename to
16286 window--resize-child-windows.
16287 (window-or-subwindow-p): Rename to window--in-subtree-p.
16289 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16291 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16292 Ensure that mbox format messages end in two newlines (Bug#9974).
16294 2011-11-06 Chong Yidong <cyd@gnu.org>
16296 * window.el (window-combination-p): Function deleted; its
16297 side-effect is not used in any existing code.
16298 (window-combinations, window-combined-p): Call window-*-child
16301 2011-11-05 Chong Yidong <cyd@gnu.org>
16303 * window.el (window-valid-p): Rename from window-any-p.
16304 (window-size-ignore, window-state-get): Callers changed.
16305 (window-normalize-window): Rename from window-normalize-any-window.
16306 New arg LIVE-ONLY, replacing window-normalize-live-window.
16307 (window-normalize-live-window): Delete.
16308 (window-combination-p, window-combined-p, window-combinations)
16309 (walk-window-subtree, window-atom-root, window-min-size)
16310 (window-sizable, window-sizable-p, window-size-fixed-p)
16311 (window-min-delta, window-max-delta, window-resizable)
16312 (window-resizable-p, window-full-height-p, window-full-width-p)
16313 (window-current-scroll-bars, window-point-1, set-window-point-1)
16314 (window-at-side-p, window-in-direction, window-resize)
16315 (adjust-window-trailing-edge, maximize-window, minimize-window)
16316 (window-deletable-p, delete-window, delete-other-windows)
16317 (record-window-buffer, unrecord-window-buffer)
16318 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16319 (quit-window, split-window, window-state-put)
16320 (set-window-text-height, fit-window-to-buffer)
16321 (shrink-window-if-larger-than-buffer): Callers changed.
16323 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16325 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16326 rfc2047-decode-string.
16327 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16330 * window.el (window-body-height, window-body-width): Mention in
16331 the doc string that the return values are in frame's canonical
16334 2011-11-03 Alan Mackenzie <acm@muc.de>
16336 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16337 change in cc-engine.el.
16339 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16341 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16343 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16345 * window.el (quit-window): Call unrecord-window-buffer after
16346 showing another buffer in the window. (Bug#9937)
16347 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16349 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16351 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16352 Accept status with more than 9 shelves. (Bug#9935)
16353 Reported by Colin D Bennett <colin@gibibit.com>.
16355 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16357 * help.el (with-help-window): Don't reference
16358 temp-buffer-show-specifiers in doc-string.
16360 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16362 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16365 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16367 * whitespace.el: New version 13.2.2.
16368 (whitespace-newline-mode): Disable properly. Reported by Sarah
16371 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16373 * net/newst-treeview.el: Remove "Time-stamp".
16374 (newsticker--group-manage-orphan-feeds): Do not call
16375 newsticker--treeview-tree-update.
16376 (newsticker-treeview-update, newsticker-treeview):
16377 Call newsticker--treeview-tree-update if necessary.
16379 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16381 * window.el (window-iso-combination-p, window-iso-combined-p)
16382 (window-iso-combinations): Remove "iso-" infix.
16383 Suggested by Chong Yidong.
16384 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16385 (window-max-delta-1, window-resize, window--resize-siblings)
16386 (window--resize-this-window, adjust-window-trailing-edge)
16387 (split-window, balance-windows-1)
16388 (shrink-window-if-larger-than-buffer):
16389 * calendar/calendar.el (calendar-generate-window):
16390 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16392 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16394 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16395 in place (bug#9907).
16396 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16397 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16398 (eshell-structure-basic-command, eshell-rewrite-while-command)
16399 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16400 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16401 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16402 (eshell-do-pipelines-synchronously, eshell-eval-command):
16403 Use backquotes and prefer setq to set.
16404 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16405 (eshell-macrop): Use functionp.
16406 (eshell-do-eval): Handle multiple expressions in `while' body.
16408 2011-10-30 Chong Yidong <cyd@gnu.org>
16410 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16411 instead of set-mark (Bug#9810).
16413 2011-10-30 Chong Yidong <cyd@gnu.org>
16415 * window.el (split-window-below, split-window-right): Rename from
16416 split-window-above-each-other and split-window-side-by-side
16417 respectively. All callers changed.
16418 (split-window-sensibly, split-window-sensibly): Use them.
16419 (split-window-keep-point): Doc fix.
16421 * isearch.el: Add isearch-scroll property to split-window-below
16422 and split-window-right.
16424 * follow.el (follow-mode):
16425 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16426 * progmodes/ada-xref.el (ada-gdb-application):
16427 * emulation/vip.el (vip-buffer-in-two-windows):
16428 * image-dired.el (image-dired-dired-with-window-configuration):
16429 * dired-x.el (dired-do-find-marked-files):
16430 * dired.el (dired-pop-to-buffer):
16431 * bs.el (bs--show-with-configuration):
16432 * vc/emerge.el (emerge-setup-windows):
16433 * textmodes/two-column.el (2C-two-columns):
16434 * textmodes/reftex-toc.el (reftex-toc):
16435 * progmodes/gdb-mi.el (gdb-setup-windows):
16436 * progmodes/fortran.el (fortran-window-create):
16437 * net/newst-treeview.el (newsticker--treeview-window-init):
16438 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16439 * emulation/tpu-edt.el (tpu-gold-map):
16440 * emulation/crisp.el (crisp-mode-map):
16441 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16443 2011-10-29 Chong Yidong <cyd@gnu.org>
16445 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16447 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16449 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16450 forged Ispell output (Bug#7904).
16452 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16454 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16456 * doc-view.el: Avoid ugly errors about not finding nil.
16457 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16458 (doc-view-dvipdf-program, doc-view-unoconv-program)
16459 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16460 Avoid nil or absolute file name as default value.
16461 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16463 2011-10-28 Alan Mackenzie <acm@muc.de>
16465 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16467 2011-10-28 Alan Mackenzie <acm@muc.de>
16469 Amend the handling of c-beginning/end-of-defun in nested declaration
16472 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16473 cc-langs.el. Change it to a defcustom.
16475 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16478 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16479 Prevent "class foo : bar" being spuriously recognized as a label.
16481 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16482 Add parameter `inclusive' (to include enclosing braces in the region).
16483 (c-widen-to-enclosing-decl-scope): New function.
16484 (c-while-widening-to-decl-block): New macro.
16485 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16486 outward for defun boundaries, and correspondingly change symbol
16487 `respect-enclosure' to `go-outward'.
16488 (c-declaration-limits): Change algorithm to report only the "innermost"
16489 defun's boundaries.
16491 2011-10-28 Deniz Dogan <deniz@dogan.se>
16493 * net/rcirc.el (rcirc-mode): Use hard newlines.
16495 2011-10-28 Alan Mackenzie <acm@muc.de>
16497 Amend to indent and fontify macros "which include their own semicolon"
16498 correctly, using the "virtual semicolon" mechanism.
16500 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16503 Recode to scan one line at a time rather than having \n and \r
16504 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16505 (c-forward-label): Amend for virtual semicolons.
16506 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16508 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16509 of the new C macros.
16511 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16512 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16513 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16514 (c-opt-cpp-macro-define): Make into a full language variable.
16515 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16516 AWK Mode (including \n, \r) removed, no longer needed.
16518 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16519 Invoke c-make-macro-with-semi-re.
16521 * progmodes/cc-vars.el (c-macro-with-semi-re):
16522 (c-macro-names-with-semicolon): New variables.
16523 (c-make-macro-with-semi-re): New function.
16525 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16527 * vc/log-edit.el: Fill empty field rather than adding new one.
16528 (log-edit-add-field): New function.
16529 (log-edit-insert-changelog): Use it.
16531 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16533 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16535 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16537 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16538 (gdb--check-interpreter): New function.
16541 2011-10-27 Glenn Morris <rgm@gnu.org>
16543 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16544 (least-positive-float, least-negative-float)
16545 (least-positive-normalized-float, least-negative-normalized-float)
16546 (float-epsilon, float-negative-epsilon):
16547 Remove unnecessary declarations.
16549 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16550 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16551 (least-positive-float, least-negative-float)
16552 (least-positive-normalized-float, least-negative-normalized-float)
16553 (float-epsilon, float-negative-epsilon): Add doc-strings,
16554 based on those in cl.texi.
16556 * files.el (set-visited-file-name): If the major-mode changed,
16557 reload the local variables. (Bug#9796)
16559 2011-10-27 Chong Yidong <cyd@gnu.org>
16561 * subr.el (change-major-mode-after-body-hook): New hook.
16562 (run-mode-hooks): Run it.
16564 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16565 Use change-major-mode-before-body-hook.
16567 * simple.el (fundamental-mode):
16568 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16569 change introducing fundamental-mode-hook.
16571 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16573 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16575 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16577 * ido.el (ido-file-name-all-completions-1): Do not require
16578 tramp.el explicitly. (Bug#7583)
16580 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16582 * progmodes/octave-mod.el:
16583 * progmodes/octave-inf.el: Update maintainer.
16585 2011-10-26 Chong Yidong <cyd@gnu.org>
16587 * subr.el (with-wrapper-hook): Rewrite doc.
16589 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16591 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16592 filenames "/method:foo:". (Bug#9793)
16594 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16596 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16599 2011-10-24 Glenn Morris <rgm@gnu.org>
16601 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16603 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16605 * notifications.el: Add the requirement of a running D-Bus session
16606 bus to the Commentary.
16608 2011-10-24 Juri Linkov <juri@jurta.org>
16610 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16611 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16614 2011-10-24 Juri Linkov <juri@jurta.org>
16616 * info.el (Info-following-node-name-re): Add newline to the list
16617 of allowed characters for leading space. (Bug#9824)
16619 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16621 * progmodes/octave-inf.el (inferior-octave-mode-map):
16622 Fix C-c C-h binding.
16623 * progmodes/octave-mod.el (octave-help): Remove.
16625 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16627 Sync with Tramp 2.2.3.
16629 * net/tramp-cache.el (top): Pacify byte-compiler using
16630 `init-file-user' and `site-run-file'.
16632 * net/trampver.el: Update release number.
16634 2011-10-23 Chong Yidong <cyd@gnu.org>
16636 * files.el (toggle-read-only): Remove obsolete comment about
16639 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16640 for toggle-read-only. Note that this hasn't called vc-next-action
16641 since 2008-05-02, though it wasn't documented at the time.
16643 * vc/ediff-init.el (ediff-toggle-read-only-function):
16644 Use toggle-read-only.
16646 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16648 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16651 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16652 correct faulty logical expression.
16653 (c-parse-state-state, c-record-parse-state-state):
16654 (c-replay-parse-state-state): New defvar/defuns.
16655 (c-debug-parse-state): Use new functions.
16657 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16659 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16660 last fix. Use window-in-direction correctly.
16662 2011-10-21 Chong Yidong <cyd@gnu.org>
16664 * progmodes/idlwave.el (idlwave-mode):
16665 * progmodes/vera-mode.el (vera-mode): No need to set
16666 require-final-newline; that's done in prog-mode.
16667 Suggested by Stefan Monnier.
16669 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16671 * mouse.el (mouse-drag-window-above)
16672 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16673 (mouse-drag-mode-line-1, mouse-drag-header-line)
16674 (mouse-drag-vertical-line-rightward-window): Remove.
16675 (mouse-drag-line): New function.
16676 (mouse-drag-mode-line, mouse-drag-header-line)
16677 (mouse-drag-vertical-line): Call mouse-drag-line.
16678 * window.el (window-at-side-p, windows-at-side): New functions.
16680 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16682 * tar-mode.el (tar-grind-file-mode):
16683 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16685 2011-10-21 Chong Yidong <cyd@gnu.org>
16687 * progmodes/idlwave.el (idlwave-mode):
16688 * progmodes/vera-mode.el (vera-mode):
16689 Use mode-require-final-newline.
16691 2011-10-20 Glenn Morris <rgm@gnu.org>
16693 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16695 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16697 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16699 2011-10-20 Chong Yidong <cyd@gnu.org>
16701 * emulation/cua-base.el (cua-mode):
16702 * mail/footnote.el (footnote-mode):
16703 * mail/mailabbrev.el (mail-abbrevs-mode):
16704 * net/xesam.el (xesam-minor-mode):
16705 * progmodes/bug-reference.el (bug-reference-mode):
16706 * progmodes/cap-words.el (capitalized-words-mode):
16707 * progmodes/compile.el (compilation-minor-mode)
16708 (compilation-shell-minor-mode):
16709 * progmodes/gud.el (gud-tooltip-mode):
16710 * progmodes/hideif.el (hide-ifdef-mode):
16711 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16712 * progmodes/subword.el (subword-mode):
16713 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16714 * progmodes/which-func.el (which-function-mode):
16715 * term/tvi970.el (tvi970-set-keypad-mode):
16716 * term/vt100.el (vt100-wide-mode):
16717 * textmodes/flyspell.el (flyspell-mode):
16718 * textmodes/ispell.el (ispell-minor-mode):
16719 * textmodes/nroff-mode.el (nroff-electric-mode):
16720 * textmodes/paragraphs.el (use-hard-newlines):
16721 * textmodes/refill.el (refill-mode):
16722 * textmodes/reftex.el (reftex-mode):
16723 * textmodes/rst.el (rst-minor-mode):
16724 * textmodes/sgml-mode.el (html-autoview-mode)
16725 (sgml-electric-tag-pair-mode):
16726 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16727 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16728 * emulation/crisp.el (crisp-mode):
16729 * emacs-lisp/eldoc.el (eldoc-mode):
16730 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16731 minor mode behavior.
16733 2011-10-19 Juri Linkov <juri@jurta.org>
16735 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16736 the list of hard-coded chars with escape-glyph face.
16738 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16740 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16742 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16744 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16747 2011-10-19 Glenn Morris <rgm@gnu.org>
16749 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16750 Ignore ignored files. (Bug#9726)
16752 2011-10-19 Chong Yidong <cyd@gnu.org>
16754 Doc fix for minor modes, stating that an omitted argument enables
16755 the mode unconditionally when called from Lisp.
16757 * abbrev.el (abbrev-mode):
16758 * allout.el (allout-mode):
16759 * autoinsert.el (auto-insert-mode):
16760 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16761 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16762 (global-auto-revert-mode):
16763 * battery.el (display-battery-mode):
16764 * composite.el (global-auto-composition-mode)
16765 (auto-composition-mode):
16766 * delsel.el (delete-selection-mode):
16767 * desktop.el (desktop-save-mode):
16768 * dired-x.el (dired-omit-mode):
16769 * dirtrack.el (dirtrack-mode):
16770 * doc-view.el (doc-view-minor-mode):
16771 * double.el (double-mode):
16772 * electric.el (electric-indent-mode, electric-pair-mode):
16773 * emacs-lock.el (emacs-lock-mode):
16774 * epa-hook.el (auto-encryption-mode):
16775 * follow.el (follow-mode):
16776 * font-core.el (font-lock-mode):
16777 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16778 * help.el (temp-buffer-resize-mode):
16779 * hilit-chg.el (highlight-changes-mode)
16780 (highlight-changes-visible-mode):
16781 * hi-lock.el (hi-lock-mode):
16782 * hl-line.el (hl-line-mode, global-hl-line-mode):
16783 * icomplete.el (icomplete-mode):
16784 * ido.el (ido-everywhere):
16785 * image-file.el (auto-image-file-mode):
16786 * image-mode.el (image-minor-mode):
16787 * iswitchb.el (iswitchb-mode):
16788 * jka-cmpr-hook.el (auto-compression-mode):
16789 * linum.el (linum-mode):
16790 * longlines.el (longlines-mode):
16791 * master.el (master-mode):
16792 * mb-depth.el (minibuffer-depth-indicate-mode):
16793 * menu-bar.el (menu-bar-mode):
16794 * minibuf-eldef.el (minibuffer-electric-default-mode):
16795 * mouse-sel.el (mouse-sel-mode):
16796 * msb.el (msb-mode):
16797 * mwheel.el (mouse-wheel-mode):
16798 * outline.el (outline-minor-mode):
16799 * paren.el (show-paren-mode):
16800 * recentf.el (recentf-mode):
16801 * reveal.el (reveal-mode, global-reveal-mode):
16802 * rfn-eshadow.el (file-name-shadow-mode):
16803 * ruler-mode.el (ruler-mode):
16804 * savehist.el (savehist-mode):
16805 * scroll-all.el (scroll-all-mode):
16806 * scroll-bar.el (scroll-bar-mode):
16807 * server.el (server-mode):
16808 * shell.el (shell-dirtrack-mode):
16809 * simple.el (auto-fill-mode, transient-mark-mode)
16810 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16811 (line-number-mode, column-number-mode, size-indication-mode)
16812 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16813 * strokes.el (strokes-mode):
16814 * time.el (display-time-mode):
16815 * t-mouse.el (gpm-mouse-mode):
16816 * tool-bar.el (tool-bar-mode):
16817 * tooltip.el (tooltip-mode):
16818 * type-break.el (type-break-mode-line-message-mode)
16819 (type-break-query-mode):
16820 * view.el (view-mode):
16821 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16822 (global-whitespace-mode, global-whitespace-newline-mode):
16823 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16825 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16826 Fix autogenerated docstring.
16828 2011-10-19 Juri Linkov <juri@jurta.org>
16830 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16831 by checking environment variables "DESKTOP_SESSION" and
16832 "XDG_CURRENT_DESKTOP". (Bug#9779)
16834 2011-10-19 Juri Linkov <juri@jurta.org>
16836 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16837 (browse-url-chromium-program, browse-url-chromium-arguments):
16839 (browse-url-default-browser): Check for `browse-url-chromium' and
16840 call `browse-url-chromium-program'.
16841 (browse-url-chromium): New command. (Bug#9779)
16843 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16845 * facemenu.el (list-colors-duplicates): On Windows, detect more
16846 duplicates by assuming that only colors matching "^System" are
16847 special "system colors". (Bug#9722)
16849 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16851 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16852 to distinguish the author from the committer.
16854 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16856 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16858 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16860 * international/mule.el (sgml-html-meta-auto-coding-function):
16861 Add support for detecting encoding in HTML5 specified only as
16862 <meta charset="UTF-8">. Implementation just makes http-equiv and
16863 content-type parts from HTML4 encoding string optional. (Bug#9716)
16865 2011-10-18 Glenn Morris <rgm@gnu.org>
16867 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16869 2011-10-18 Chong Yidong <cyd@gnu.org>
16871 * faces.el (cursor): Doc fix.
16873 2011-10-17 Chong Yidong <cyd@gnu.org>
16875 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16877 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16879 * dirtrack.el (dirtrack): Support shell buffers with path
16880 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16882 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16884 * json.el: Bump version to 1.3 and note change in History.
16885 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16887 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16889 * comint.el (comint-insert-input, comint-send-input)
16890 (comint-get-old-input-default, comint-backward-matching-input)
16891 (comint-next-prompt): Use nil instead of `input' for field property of
16892 past user input (bug#114).
16894 * minibuffer.el (completion--replace): Inherit surrounding properties
16896 (minibuffer-complete-and-exit): Use it.
16898 * comint.el (comint--table-subvert): Quote the all-completions output
16901 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16903 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16905 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16906 window on right of selected. (Bug#9350) Reword other window
16907 entries and separate them from frame entries.
16909 2011-10-15 Glenn Morris <rgm@gnu.org>
16911 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16914 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16916 * net/network-stream.el (network-stream-open-starttls):
16917 Improve detection of failure due to lack of TLS support.
16919 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16920 putting the input text in front and in bold.
16922 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16924 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16926 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16929 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16930 unread-command-events rather than pushing yet-another event.
16932 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16934 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16935 the explanation of the possible choices. Make the options passed
16936 to completing-read shorter.
16938 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16940 * textmodes/flyspell.el (flyspell-large-region): Make sure
16941 extended character mode is used if defined (Bug#1339).
16943 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16945 * simple.el (what-cursor-position): Fix the display of the
16946 character info for LRE, LRO, RLE, and RLO characters by appending
16949 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16951 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16952 even in case of error; add debug spec; simplify data flow.
16953 (with-timeout-handler): Remove.
16955 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16957 Fix Bug#6019, Bug#9315.
16959 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16960 complete `buffer-file-name', the local file name part could look
16961 remotely (for example on VMS).
16963 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16964 `tramp-run-real-handler'.
16965 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16966 already quoted by '"'.
16968 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16969 Let `file-name-handler-alist' be nil, the local file name part
16970 could look remotely (for example on VMS).
16972 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16976 (flyspell-post-command-hook): ...to here.
16978 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16980 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16982 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16983 using completion. Protect against "slow" callers.
16984 Remove the "message hack".
16986 2011-10-11 Juri Linkov <juri@jurta.org>
16988 * isearch.el (isearch-lazy-highlight-word): New variable.
16989 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16992 2011-10-11 Glenn Morris <rgm@gnu.org>
16994 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16995 like f90-previous-statement does.
16997 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16999 * eshell/eshell.el (eshell-command): History should be saved
17000 only in interactive use, to avoid error.
17002 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17004 * minibuffer.el (completion-file-name-table): Fix last change,
17005 i.e. ignore normal errors but not the other ones.
17007 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17009 * window.el (special-display-buffer-names)
17010 (special-display-regexps): Remove some remnants of earlier
17011 changes from doc-strings.
17012 (quit-windows-on): New function.
17014 * vc/vc.el (vc-revert, vc-rollback):
17015 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17016 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17017 (Bug#6183) (Bug#7074) (Bug#7447)
17019 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17021 * window.el (frame-auto-hide-function): Add version tag.
17024 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17026 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17029 2011-10-09 Leo Liu <sdl.web@gmail.com>
17031 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17034 2011-10-08 Glenn Morris <rgm@gnu.org>
17036 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17037 before the first code statement zero indent. (Bug#9690)
17039 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17041 * simple.el (count-words-region): Always count in the region.
17042 Report the number of lines and characters too.
17043 (count-words): New command, which counts in the buffer if the
17044 region is inactive, as count-words-region used to.
17045 (count-words--message): New function. Handle plurals.
17046 (count-lines-region): Make it an alias for count-words-region.
17048 * bindings.el (esc-map): Replace count-lines-region with
17049 count-words-region.
17051 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17053 * window.el (window--delete): Delete dedicated frame
17054 unconditionally when argument KILL is non-nil. (Bug#9699)
17055 (switch-to-buffer): Fix doc-string typo.
17057 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17059 * eshell/eshell.el (eshell-command): Avoid using hooks.
17061 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17063 * bindings.el ([M-left],[M-right]): Bind to left-word and
17064 right-word respectively.
17066 2011-10-07 Glenn Morris <rgm@gnu.org>
17068 * cus-start.el (debug-on-quit): Fix custom type.
17070 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17072 * subr.el (define-key-after): Clarify that the function is not
17073 useful for non-menu keymaps.
17075 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17077 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17079 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17080 in current minibuffer (Fix bug with recursive minibuffers).
17082 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17084 * progmodes/gdb-mi.el (gdb): Doc fix.
17086 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17088 * window.el (frame-auto-hide-function): New option replacing
17089 frame-auto-delete. Suggested by Stefan Monnier.
17090 (window--delete): Call frame-auto-hide-function instead of
17091 investigating frame-auto-delete.
17092 (window-point-1, set-window-point-1): New functions.
17093 (window-in-direction, record-window-buffer, window-state-get-1)
17094 (display-buffer-record-window): Use window-point-1 instead of
17096 (set-window-buffer-start-and-point): Use set-window-point-1.
17098 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17100 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17102 2011-10-05 Glenn Morris <rgm@gnu.org>
17104 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17105 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17107 2011-10-05 Leo Liu <sdl.web@gmail.com>
17109 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17110 works with buffer object.
17112 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * mpc.el (mpc-tool-bar-map): Add labels.
17116 2011-10-04 Glenn Morris <rgm@gnu.org>
17118 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17120 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17122 * window.el (window--delete): New function.
17123 (frame-auto-delete): Resuscitate option.
17124 (bury-buffer, replace-buffer-in-windows)
17125 (quit-window): Rewrite using window--delete.
17126 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17127 Pass display-buffer-mark-dedicated to window--display-buffer-2
17130 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17132 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17133 returns a list (bug#9554). Add remote file name completion.
17134 * comint.el (comint--table-subvert): Curry and get quote&unquote
17135 functions as arguments.
17136 (comint--complete-file-name-data): Adjust call accordingly.
17137 * pcomplete.el (pcomplete--table-subvert): Remove.
17138 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17140 * minibuffer.el (completion-table-case-fold): Use currying.
17141 (completion--styles-type, completion--cycling-threshold-type):
17143 (completion-styles, completion-category-overrides)
17144 (completion-cycle-threshold): Use them.
17145 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17146 completion-table-case-fold.
17148 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17150 * minibuffer.el (completion-category-overrides): Fix type of styles
17151 and add more user friendly tags (bug#9660).
17153 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17155 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17156 (mule-input-method-string): New widget.
17157 (default-input-method, language-info-custom-alist): Use it.
17159 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17161 * pcomplete.el: Require comint.
17162 (pcomplete--common-suffix): Remove.
17163 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17164 (pcomplete--table-subvert): Sync with comint--table-subvert.
17165 (pcomplete--entries): Use comint-completion-file-name-table.
17166 * comint.el (comint-unquote-filename): Simplify.
17167 (comint-completion-file-name-table): New function (bug#9616).
17168 (comint--complete-file-name-data): Use it.
17170 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17171 (pcmpl-gnu-tar-buffer): Remove.
17172 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17173 around. Make sure pcomplete-suffix-list is only changed temporarily.
17174 Don't look inside the tar's file if it's too large.
17176 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17178 * cus-edit.el (custom-mode-map):
17179 * epa.el (epa-key-list-mode-map):
17180 * man.el (Man-mode-map):
17181 * startup.el (splash-screen-keymap):
17182 * simple.el (special-mode-map): Use scroll-up-command and
17183 scroll-down-command.
17185 * progmodes/idlw-help.el (idlwave-help-mode-map):
17186 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17187 * net/newst-plainview.el (newsticker-mode-map):
17188 * emulation/ws-mode.el (wordstar-mode-map):
17189 * emulation/vi.el (vi-com-map):
17190 * calc/calc-graph.el (calc-graph-show-dumb):
17191 * term/sun.el (terminal-init-sun):
17192 * term/ns-win.el (global-map):
17193 * progmodes/grep.el (grep-mode-map):
17194 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17195 * mail/rmail.el (rmail-mode-map):
17196 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17198 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17199 custom-safe-themes as special.
17201 2011-10-01 Julien Danjou <julien@danjou.info>
17203 * notifications.el (notifications-notify): Fix docstring.
17205 2011-10-01 Per Starbäck <per@starback.se>
17207 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17209 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17211 * startup.el (command-line-1): Fix last fix by inserting
17212 initial-scratch-message into *scratch* before displaying it.
17213 (Bug#9605) and (Bug#9636)
17215 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17217 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17218 window is hscrolled, move by logical lines. (Bug#9607)
17219 (line-move-visual): Update the doc string to the above effect.
17221 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17223 * window.el (display-buffer-record-window): When WINDOW is the
17224 selected window use `point' instead of `window-point'. (Bug#9626)
17226 * startup.el (command-line-1): Use insert-before-markers when
17227 inserting initial-scratch-message. (Bug#9605)
17229 * help.el (help-window): Remove variable.
17231 2011-09-29 Glenn Morris <rgm@gnu.org>
17233 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17235 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17237 * descr-text.el (describe-char-categories): Accept category
17238 descriptions more than one line long.
17240 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17242 * simple.el (delete-trailing-whitespace): Fix last change.
17244 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17245 Don't confuse "y => 3" as the beginning of a `y' operation.
17247 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17248 object has more than 4 slots (bug#9613).
17250 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17252 * subr.el (with-output-to-temp-buffer):
17253 * net/quickurl.el (quickurl, quickurl-browse-url):
17254 Fix typos in docstrings.
17256 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17258 * minibuffer.el (completion-styles)
17259 (completion-category-overrides): Cross reference each other in doc
17262 2011-09-27 Glenn Morris <rgm@gnu.org>
17264 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17265 to split-string. (Bug#9606)
17267 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17269 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17272 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17274 * emacs-lisp/package.el (list-packages): Fix echo area message.
17276 2011-09-27 Leo Liu <sdl.web@gmail.com>
17278 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17280 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17282 * net/dbus.el (dbus-unregister-object): Don't release services for
17283 registered signals. (Bug#9581)
17285 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17287 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17288 function that picks between cfengine 2 and 3 support
17289 automatically. Update docs accordingly.
17291 2011-09-22 Kenichi Handa <handa@m17n.org>
17293 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17295 (indian-itrans-v5-table-for-tamil): New variable.
17296 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17298 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17300 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17301 that's true if the current command involved collapsing of text.
17302 It's reset to false at the beginning of the next command.
17303 (allout-post-command-business): Move the cursor to the beginning
17304 of entry if the cursor is hidden and collapsing activity just
17307 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17309 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17310 tracking (Bug#9541).
17312 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17314 * net/newst-reader.el (newsticker-html-renderer)
17315 (newsticker-show-news): Automatically load html rendering package
17316 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17317 because w3m-fill-column is let-bound" and the error "Symbol's value
17318 as variable is void: w3m-fill-column".
17320 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17322 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17323 Release services only if they are defined. (Bug#9581)
17325 2011-09-23 Richard Stallman <rms@gnu.org>
17327 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17328 distinguish start of paragraph from start of its text.
17330 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17332 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17333 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17334 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17336 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17338 * international/mule-diag.el (mule-diag): Insert a newline after
17339 each fontset description.
17341 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17343 * simple.el (delete-trailing-whitespace):
17344 Document last change; simplify.
17346 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17348 * simple.el (delete-trailing-whitespace): Also delete
17349 extra newlines at the end of the buffer.
17351 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17352 (picture-newline): Use forward-line so as to ignore fields.
17354 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17356 * subr.el (with-wrapper-hook): Fix edebug spec.
17358 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17360 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17363 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17365 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17366 Fix nasty bug using wrong cached values.
17368 2011-09-23 Alan Mackenzie <acm@muc.de>
17370 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17372 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17374 * window.el (pop-to-buffer): Ensure right window is selected if we
17375 chose another frame.
17377 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17379 * simple.el (what-cursor-position): Use get-char-property-change
17380 and next-single-char-property-change, to be able to show display
17381 properties that come from overlays as well as text properties.
17383 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17385 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17387 * cmuscheme.el (run-scheme, switch-to-scheme):
17388 * cus-edit.el (customize-group, custom-buffer-create)
17389 (customize-browse):
17391 * shell.el (shell):
17392 * mail/sendmail.el (mail):
17393 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17395 2011-09-22 Richard Stallman <rms@gnu.org>
17397 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17398 move back only to line beg, don't move back over blank lines.
17400 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17402 * files.el (copy-directory): Set directory attributes only in case
17403 they could be retrieved from the source directory. (Bug#9565)
17405 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17407 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17408 (hs-find-block-beginning, hs-hide-level-recursive):
17409 Ignore strings as well as comments. (Bug#9502)
17411 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17413 * progmodes/sql.el (sql-comint-postgres):
17414 Convert port number to a string. (Bug#9566)
17416 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17418 * window.el (quit-window): Undedicate window when switching to
17419 previous buffer. Reported by Thierry Volpiatto
17420 <thierry.volpiatto@gmail.com>.
17421 (special-display-popup-frame): When popping up a new frame reset
17422 its previous buffers to nil. Simplify code.
17424 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17426 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17427 and process filter, as done also in `shell-command'.
17429 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17431 * window.el (set-window-buffer-start-and-point):
17432 Call set-window-start with NOFORCE argument t.
17433 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17434 (quit-window): Reword doc-string. Handle new format of
17435 quit-restore parameter. Don't delete window if it has a
17436 previous buffer we can show instead of the present one.
17437 (display-buffer-record-window): Rewrite using a new format for
17438 the quit-restore window parameter
17439 (special-display-popup-frame, display-buffer-same-window)
17440 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17441 (display-buffer-pop-up-window, display-buffer-use-some-window):
17442 Adapt symbol passed to display-buffer-record-window.
17443 * help.el (help-window-setup): Handle new format of quit-restore
17446 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17448 * faces.el (face-list): Fix docstring (bug#9564).
17450 * window.el (display-buffer--action-function-custom-type):
17451 Don't include internal functions in the Custom interface.
17453 2011-09-20 Juri Linkov <juri@jurta.org>
17455 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17456 (Info-forward-node, Info-backward-node, Info-next-preorder)
17457 (Info-last-preorder): Use it. (Bug#9528)
17459 2011-09-20 Juri Linkov <juri@jurta.org>
17461 * info.el (Info-last-preorder): Visit last menu item only when
17462 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17464 2011-09-20 Julien Danjou <julien@danjou.info>
17466 * password-cache.el (password-cache-remove): Remove entries even if the
17467 value is nil, so that password with a nil value (negative caching) is
17468 possible to invalidate.
17470 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17472 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17473 all whitespace around breakpoint. (Bug#9553)
17474 (f90-find-breakpoint): Only break at whitespace inside a comment.
17476 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17478 * minibuffer.el (completion-file-name-table): Keep track of errors.
17479 (completion-table-with-predicate): Handle the case where pred1 is nil.
17480 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17482 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17485 (debugger-return-value): Signal an error if the debugging context does
17486 not await any return value.
17488 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17489 * image-mode.el (image-toggle-display-text)
17490 (image-toggle-display-image): Stay away from evil `intangible'.
17492 2011-09-19 Leo Liu <sdl.web@gmail.com>
17494 * replace.el (occur-revert-arguments): Make it permanent-local.
17495 (occur-mode): Don't call font-lock-defontify.
17497 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17499 * net/ldap.el (ldap-search-internal): Don't push empty search
17502 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17504 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17506 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17508 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17509 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17511 2011-09-18 Juri Linkov <juri@jurta.org>
17513 * buff-menu.el (Buffer-menu-mode-map):
17514 * dired.el (dired-mode-map):
17515 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17516 (lisp-interaction-mode-map):
17517 * emacs-lisp/package.el (package-menu-mode-map):
17518 * epa.el (epa-key-list-mode-map):
17519 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17520 (menu-bar-options-menu):
17521 * outline.el (outline-mode-menu-bar-map):
17522 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17523 * vc/vc-dir.el (vc-dir-menu-map):
17524 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17525 Capitalize non-function content words in menu item strings.
17527 * dired.el (dired-mode-map): Add menu item for
17528 `image-dired-dired-toggle-marked-thumbs'.
17530 2011-09-18 Juri Linkov <juri@jurta.org>
17532 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17533 to `isearch-case-fold-search' and restore its original value
17534 after the `isearch-mode' call.
17536 2011-09-18 Juri Linkov <juri@jurta.org>
17538 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17539 because `zgrep' returns 1 for successful matches (bug#9226).
17541 2011-09-18 Juri Linkov <juri@jurta.org>
17543 * info.el (Info-extract-menu-node-name): Check the second match
17544 for empty string (second test-case of bug#9528).
17545 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17546 intermediate nodes to the history (first test-case of bug#9528).
17548 2011-09-18 Juri Linkov <juri@jurta.org>
17550 * info.el (Info-mode-syntax-table): New variable.
17551 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17553 2011-09-18 Juri Linkov <juri@jurta.org>
17555 * info.el (Info-file-supports-index-cookies):
17556 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17557 outputs one more line for long file names (bug#4142).
17559 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17561 * newcomment.el (comment-normalize-vars): If prompting for
17562 comment-start, set comment-start-skip too (Bug#8424).
17564 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17566 * icomplete.el: Fix previous fix of Bug#5849.
17567 (icomplete-mode): Don't set completion-show-inline-help.
17568 (icomplete-minibuffer-setup): Set completion-show-inline-help
17569 locally during icompletion.
17571 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17573 * woman.el (woman2-process-escapes): Don't delete unrecognized
17574 escapes (Bug#7843).
17576 * files.el (inhibit-first-line-modes-regexps): Add image files.
17577 (hack-local-variables-prop-line): Return nil for malformed
17578 prop-lines (Bug#9044).
17580 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17582 * net/tramp.el (top): Don't require 'shell.
17583 (tramp-methods): Fix docstring.
17584 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17585 Return complete remote file name. Handle "smb" case.
17586 Use `tramp-tmpdir', if defined for the respective method.
17587 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17589 * net/tramp-compat.el (top): Require 'shell.
17591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17592 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17593 `tramp-current-host'.
17594 (tramp-get-remote-tmpdir): Remove.
17596 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17597 `tramp-tmpdir' entries.
17598 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17599 (tramp-smb-handle-file-attributes): Ignore errors.
17600 (tramp-smb-wait-for-output): Check also for process end.
17602 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17604 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17605 when sending QUIT (bug#9312).
17607 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17609 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17610 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17611 occur-mode-display-occurrence.
17612 (occur-edit-mode): Add usage message.
17613 (occur-cease-edit): New command.
17614 (occur-after-change-function): Use text properties to find the
17615 position of the prefix text.
17616 (occur-engine): Set stickiness of prefix text properties.
17618 2011-09-17 Glenn Morris <rgm@gnu.org>
17620 * progmodes/etags.el (complete-tag):
17621 Fix call to completion-in-region. (Bug#9526)
17623 2011-09-17 Juri Linkov <juri@jurta.org>
17625 * textmodes/ispell.el (ispell-word): Add to the error message
17626 the word, ispell program name and current dictionary (bug#9121).
17627 (ispell-tex-arg-end): Capitalize "error" in the error message.
17629 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17631 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17634 2011-09-17 Juri Linkov <juri@jurta.org>
17636 * window.el (window-safe-min-height, window-safe-min-width):
17637 Fix typos (followup to bug#9522).
17639 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17641 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17643 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17645 * simple.el (line-move): If goal-column is set, move by logical
17646 lines, not by display lines. (Bug#971)
17647 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17648 to reflect the above change.
17650 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17652 * image.el (imagemagick-register-types): Use regexp-opt.
17654 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17656 * window.el (display-buffer-base-action): Rename from
17657 display-buffer-default-action. Make default value empty.
17658 (display-buffer-overriding-action): Convert to defvar.
17659 (display-buffer-fallback-action): New var.
17661 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17663 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17665 (package--add-to-archive-contents): If there is a duplicate entry
17666 with an older version, remove it.
17667 (package-menu-mark-delete, package-menu-mark-install)
17668 (package-menu-mark-unmark): Make unused args optional.
17669 (package-menu-mark-obsolete-for-deletion):
17670 Use package-menu-get-status instead of a regexp search.
17671 (package-menu-get-status): Use tabulated-list-entry.
17672 (package-menu-mark-upgrades): New command.
17673 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17674 (package-menu-execute): Do installation before deletion.
17675 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17676 instead of checking major-mode.
17677 (package-menu--find-upgrades): New function.
17679 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17681 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17682 passwords in the log buffer.
17683 (smtpmail-process-filter): Update the process marker so that the
17684 "broken by peer" status message is inserted in the right place.
17686 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17688 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17689 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17690 bibtex-completion-at-point-function.
17691 (bibtex-completion-at-point-function): Use them.
17693 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17695 * mpc.el (mpc-constraints-tag-lookup): New function.
17696 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17697 also to browser "album|playlist".
17699 2011-09-14 Juri Linkov <juri@jurta.org>
17701 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17702 (isearch-edit-string): Use length of `isearch-string' when
17703 `isearch-fail-pos' returns nil.
17704 (isearch-message): Remove duplicate code and call
17705 `isearch-fail-pos' with arg `t'.
17707 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17709 * replace.el (occur-mode-goto-occurrence): Don't force using other
17712 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17714 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17716 * window.el (display-buffer-window): Remove.
17717 (display-buffer-record-window): Use help-setup window parameter
17718 instead of variable display-buffer-window.
17719 (display-buffer-function, special-display-buffer-names)
17720 (special-display-function): Mention help-setup parameter instead
17721 of display-buffer-window in doc-string.
17722 * help.el (help-window-setup): New argument help-window.
17723 Use help-window-setup parameter instead of display-buffer-window.
17724 Reword some messages.
17725 (with-help-window): Pass window used for displaying the buffer
17726 to help-window-setup. Don't set display-buffer-window.
17728 2011-09-13 Glenn Morris <rgm@gnu.org>
17730 * emacs-lisp/debug.el (debugger-make-xrefs):
17731 Preserve point. (Bug#9462)
17733 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17735 * window.el (window-deletable-p): Use next-frame.
17737 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17739 * window.el (window-auto-delete): Remove.
17740 (window-deletable-p): Remove argument FORCE. Don't deal with
17741 dedication and previous buffers.
17742 (switch-to-prev-buffer): Don't delete window.
17743 (delete-windows-on): Delete a window's frame if and only if the
17744 window is dedicated.
17745 (replace-buffer-in-windows): Delete buffer's window or frame if
17746 and only if window is dedicated.
17747 (quit-window): Handle quit-restore as before last change.
17748 (bury-buffer): Delete window only if window-deletable-p returns t.
17750 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17752 * window.el (window-deletable-p): Never delete the last frame on a
17755 2011-09-13 Glenn Morris <rgm@gnu.org>
17757 * help.el (describe-key-briefly): Copy previous standard-output change.
17759 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17761 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17763 2011-09-13 Glenn Morris <rgm@gnu.org>
17765 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17766 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17768 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17770 * dired-aux.el (dired-mark-read-string): Don't return default
17771 value on empty input (Bug#9361).
17772 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17773 Omit initial minibuffer contents.
17774 (dired-do-chmod): Signal an error on empty input.
17775 (dired-mark-read-string): Don't return default on empty input.
17777 * files.el (file-modes-symbolic-to-number): Doc fix.
17779 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17781 * international/mule-cmds.el (ucs-completions): Remove.
17782 (read-char-by-name): Use complete-with-action instead; add metadata.
17784 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17786 * window.el (display-buffer--action-function-custom-type)
17787 (display-buffer--action-custom-type): New vars.
17788 (display-buffer-alist, display-buffer-default-action)
17789 (display-buffer-overriding-action): Add defcustom types.
17791 * frame.el (delete-other-frames): Doc fix (Bug#276).
17793 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17795 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17797 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17799 Change modes that used same-window-* vars to use switch-to-buffer.
17801 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17802 Use switch-to-buffer.
17804 * cus-edit.el (customize-group, custom-buffer-create)
17805 (customize-browse, custom-buffer-create-other-window):
17806 Use switch-to-buffer or switch-to-buffer-other-window.
17808 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17809 (Info-prev, Info-up, Info-speedbar-goto-node)
17810 (info-display-manual): Use switch-to-buffer.
17811 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17813 * mail/sendmail.el (mail): Use switch-to-buffer.
17814 (mail-recover): Use switch-to-buffer-other-window.
17816 * cmuscheme.el (run-scheme, switch-to-scheme):
17818 * shell.el (shell):
17819 * net/rlogin.el (rlogin):
17820 * net/telnet.el (telnet, rsh):
17821 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17823 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17825 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17827 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17829 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17830 so don't mention it (bug#9301).
17831 (dired-sort-toggle-or-edit): Clarify string further.
17833 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17834 match `x', `w32' and `ns', like the manual says (bug#9029).
17836 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17837 (process-kill-buffer-query-function): Mention the buffer name in
17840 * image-mode.el (image-next-line): The line parameter is mandatory
17843 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17844 which can be useful (bug#9301).
17846 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17848 * subr.el (match-string): Mention that the current buffer should
17849 be the same as the search was done in (bug#9282).
17851 * facemenu.el: Disable the remove-* commands if the mark isn't
17854 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17856 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17858 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17860 * replace.el (occur-mode-goto-occurrence)
17861 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17862 and display-buffer.
17864 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17867 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17868 special-display and same-window variables.
17869 (mail-other-window): Use switch-to-buffer-other-window.
17870 (mail-other-frame): USe switch-to-buffer-other-frame.
17872 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17873 Use display-buffer-other-frame.
17874 (gdb-display-gdb-buffer): Use pop-to-buffer.
17876 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17878 * progmodes/python.el: Don't set same-window-buffer-names.
17880 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17882 * window.el (display-buffer-alist): Add *Python*.
17884 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17886 * window.el (display-buffer-alist): Add entry for buffers
17887 previously handled same-window-*.
17888 (display-buffer-alist, display-buffer-default-action)
17889 (display-buffer-overriding-action): Mark as risky.
17890 (display-buffer-alist): Document action function changes.
17891 (display-buffer--same-window-action)
17892 (display-buffer--other-frame-action): New variables.
17893 (switch-to-buffer, display-buffer-other-frame): Use them.
17894 (display-buffer): Rename reuse-frame entry to reusable-frames.
17895 (display-buffer-reuse-selected-window): Function deleted.
17896 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17897 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17898 (display-buffer-special): New function.
17899 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17900 display-buffer-reuse-or-pop-window. Split off special-display
17901 part into display-buffer-special.
17902 (display-buffer-use-some-window): Don't perform any special
17903 pop-up-frames handling.
17904 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17905 (display-buffer--maybe-same-window): Rename from
17906 display-buffer-maybe-same-window.
17908 * info.el: Don't set same-window-regexps.
17909 (info-setup): New function.
17910 (info-other-window, info): Call it.
17912 * cus-edit.el: Don't set same-window-regexps.
17913 (customize-group): New argument.
17914 (customize-group-other-window): Use it.
17915 (customize-face, customize-face-other-window): Likewise.
17916 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17920 * progmodes/gud.el: Don't set same-window-regexps.
17925 * mail/sendmail.el:
17926 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17928 2011-09-10 Juri Linkov <juri@jurta.org>
17930 * isearch.el (isearch-edit-string): Remove obsolete mention of
17931 `C-w' (`isearch-yank-word-or-char') from docstring.
17932 (isearch-query-replace): Fix typo in docstring (bug#9466).
17934 2011-09-10 Juri Linkov <juri@jurta.org>
17936 * paren.el (show-paren-function): Don't show escaped parens.
17937 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17939 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17941 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17942 (mm-default-file-encoding): Remove autoload forms, they are
17943 replaced with autoload cookies in mml.el and mm-encode.el.
17944 (mail-add-attachment): New command.
17945 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17946 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17948 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17950 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17952 * simple.el (count-words-region): Use buffer if there's no region
17955 2011-09-09 Juri Linkov <juri@jurta.org>
17957 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17958 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17959 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17961 2011-09-09 Alan Mackenzie <acm@muc.de>
17963 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17964 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17966 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17968 Fix for Savannah bug#9392.
17969 * simple.el (mail-encode-mml): New defvar.
17971 * mail/rmail.el (mail-encode-mml): Add a defvar.
17972 (rmail-enable-mime-composing): Default to t.
17973 (rmail-forward): Use MIME method of forwarding only if both
17974 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17975 Set mail-encode-mml non-nil if the MIME method was used.
17977 * mail/sendmail.el (mml-to-mime): Add autoload form.
17978 (mail-encode-mml): Add a defvar.
17979 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17981 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17982 message through mml-to-mime, and reset mail-encode-mml to nil.
17984 2011-09-09 Glenn Morris <rgm@gnu.org>
17986 * woman.el (woman-if-body): When processing an .el block,
17987 do not delete the next .el block as well. (Bug#9447)
17988 (woman-special-characters): Add oq, cq, and hy characters.
17990 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17992 * window.el (window-deletable-p): Make sure window is live before
17993 invoking window-prev-buffers.
17995 2011-09-08 Leo Liu <sdl.web@gmail.com>
17997 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17999 2011-09-08 Juri Linkov <juri@jurta.org>
18001 * progmodes/compile.el (compilation-environment): Make it
18002 a defcustom (bug#8340).
18004 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18006 * window.el (frame-auto-delete): Rename to window-auto-delete.
18007 Make it control auto-deletion of windows and/or frames.
18008 (window-deletable-p): New argument FORCE. Rewrite conditions
18009 for deleting window/frame. (Bug#9419)
18010 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18011 Rewrite handling of case when window/frame can be deleted.
18012 (delete-windows-on): Call window-deletable-p with new FORCE
18013 argument t. (Bug#9456)
18015 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18017 * help-mode.el (help-mode): Restore autoload.
18019 2011-09-07 Juri Linkov <juri@jurta.org>
18021 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18022 `compilation-environment'. Set buffer-local
18023 `compilation-environment' to `thisenv' later after (funcall mode).
18026 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18027 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18028 instead of replacing its value. (Bug#8340)
18030 2011-09-07 Juri Linkov <juri@jurta.org>
18032 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18033 based on text properties put by `grep-filter' instead of matching
18035 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18036 to the value of `grep-error-screen-columns' (bug#9438).
18038 2011-09-07 Juri Linkov <juri@jurta.org>
18040 * simple.el (next-error-highlight, next-error-highlight-no-select):
18041 Doc fix (bug#9432).
18043 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18046 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18048 2011-09-07 Leo Liu <sdl.web@gmail.com>
18050 * net/rcirc.el (rcirc-mode): Conditionally initialize
18053 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18055 * emacs-lisp/find-func.el (find-function-C-source): Only set
18056 find-function-C-source-directory after checking that we found a source
18057 file there (bug#9440).
18059 2011-09-06 Alan Mackenzie <acm@muc.de>
18061 * isearch.el (isearch-other-meta-char): Wherever a key list is
18062 unread, "unread" the prefix arg, too. This fixes bug #8901.
18064 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18066 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18068 2011-09-05 Juri Linkov <juri@jurta.org>
18070 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18072 2011-09-05 Juri Linkov <juri@jurta.org>
18074 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18075 keeping point where processing of grep matches begins, and
18076 continue to delete remaining escape sequences from the same point.
18077 (grep-filter): Make leading zero optional in "0?1;31m" because
18078 git-grep emits "\033[1;31m" escape sequences unlike expected
18079 "\033[01;31m" as GNU Grep does (bug#9408).
18080 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18082 2011-09-05 Juri Linkov <juri@jurta.org>
18084 * subr.el (y-or-n-p): Capitalize "yes".
18086 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18088 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18089 `tramp-cache-unload-hook' where appropriate.
18090 (tramp-methods): Rename `tramp-remote-sh' to
18091 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18092 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18094 * net/tramp-sh.el (top): Don't require 'shell.
18095 (tramp-methods): Add `tramp-remote-shell' and
18096 `tramp-remote-shell-args' entries.
18097 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18098 (tramp-sh-handle-shell-command): Remove.
18099 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18100 Use `tramp-remote-shell'.
18102 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18104 * mail/sendmail.el (sendmail-query-once-function): Delete.
18105 (sendmail-query-once): Save directly to send-mail-function.
18106 Update message-send-mail-function too.
18108 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18110 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18112 * progmodes/python.el (python-mode-map): Use correct function to
18113 start python interpreter from menu-bar (as reported by Geert
18115 (inferior-python-mode-map): Fix typo.
18116 (python-shell-map): Remove.
18118 2011-09-03 Deniz Dogan <deniz@dogan.se>
18120 * net/rcirc.el (rcirc-print): Simplify code for
18121 rcirc-scroll-show-maximum-output. There is no need to walk
18122 through all windows to find the right one.
18124 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18126 * help.el (help-return-method): Doc fix.
18128 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18130 * window.el (window-deletable-p): Don't return a non-nil value
18131 when there's a buffer that was shown in the window before.
18133 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18134 Set window's previous buffers to nil.
18136 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18138 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18139 newline before and after the tag line, so it doesn't interfere
18140 with determining the paragraph direction of bidirectional text.
18142 2011-09-03 Leo Liu <sdl.web@gmail.com>
18144 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18146 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18148 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18149 (pop-to-buffer): Change interactive spec. Pass second argument
18150 directly to display-buffer.
18151 (display-buffer): Fix interactive spec. Use functionp to
18152 distinguish between a function and a list of functions.
18154 * abbrev.el (edit-abbrevs):
18155 * arc-mode.el (archive-extract):
18156 * autoinsert.el (auto-insert):
18157 * bookmark.el (bookmark-bmenu-list):
18158 * files.el (find-file):
18159 * view.el (view-buffer):
18160 * progmodes/compile.el (compilation-goto-locus):
18161 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18163 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18165 * window.el (display-buffer-alist): Doc fix.
18166 (display-buffer): Add docstring. Don't treat
18167 display-buffer-default specially.
18168 (display-buffer-reuse-selected-window)
18169 (display-buffer-same-window, display-buffer-maybe-same-window)
18170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18171 (display-buffer-pop-up-window)
18172 (display-buffer-reuse-or-pop-window)
18173 (display-buffer-use-some-window): New functions.
18174 (display-buffer-default-action): Use them.
18175 (display-buffer-default): Delete.
18176 (pop-to-buffer-1): Fix choice of actions.
18178 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * minibuffer.el (completion--insert-strings): Don't get confused by
18181 completion entries that end with an LF char.
18183 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18185 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18187 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18189 * window.el (display-buffer): Restore interactive spec.
18190 (display-buffer-same-window, display-buffer-other-window):
18192 (pop-to-buffer-1): New function. Use the above.
18193 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18194 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18196 * view.el (view-buffer-other-window, view-buffer-other-frame):
18197 Just use pop-to-buffer.
18199 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18201 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18203 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18205 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18207 2011-08-31 Richard Stallman <rms@gnu.org>
18209 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18210 of the separation of rmail-view-buffer from rmail-buffer.
18211 If you say no to "replace original", the decrypt is in the
18212 view buffer. If you say yes, the decrypt goes into the
18215 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18217 * window.el (display-buffer-window): Rewrite doc-string.
18218 (display-buffer-record-window): New function.
18219 (display-buffer-macro-specifiers)
18220 (display-buffer-even-window-sizes, display-buffer-set-height)
18221 (display-buffer-set-width, display-buffer-in-window)
18222 (display-buffer-reuse-window, display-buffer-split-specifiers)
18223 (display-buffer-side-specifiers, display-buffer-split-window-1)
18224 (display-buffer-split-window, display-buffer-split-atom-window)
18225 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18226 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18227 (display-buffer-other-window-means-other-frame)
18228 (display-buffer-normalize-special)
18229 (display-buffer-normalize-default)
18230 (display-buffer-normalize-argument)
18231 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18232 (display-buffer-normalize-specifiers, display-buffer-frame)
18233 (display-buffer-same-window, display-buffer-same-frame)
18234 (display-buffer-other-window)
18235 (display-buffer-same-frame-other-window)
18236 (display-buffer-other-frame, pop-to-buffer-same-window)
18237 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18238 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18239 (switch-to-buffer-same-frame)
18240 (switch-to-buffer-other-window-same-frame)
18241 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18242 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18243 (display-buffer-alist-set): Remove.
18244 (display-buffer-function, special-display-buffer-names)
18245 (special-display-regexps, special-display-function):
18246 In doc-string refer to display-buffer-window and quit-restore
18248 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18249 (special-display-frame-alist, special-display-popup-frame)
18250 (same-window-buffer-names, same-window-regexps, same-window-p)
18251 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18252 (split-window-preferred-function, split-height-threshold)
18253 (split-width-threshold, window-splittable-p)
18254 (split-window-sensibly, window--try-to-split-window)
18255 (window--frame-usable-p, even-window-heights)
18256 (window--even-window-heights, window--display-buffer-1)
18257 (window--display-buffer-2, display-buffer-other-frame):
18258 Restore old Emacs 23 code, order and doc-strings where applicable.
18259 (display-buffer-default, display-buffer-assq-regexp): New functions.
18260 (display-buffer-alist): Rewrite doc-string.
18261 (display-buffer-default-action)
18262 (display-buffer-overriding-action): New variables.
18263 (display-buffer, switch-to-buffer): Rewrite.
18264 (pop-to-buffer): Restore Emacs 23 behavior but use
18265 window-normalize-buffer-to-display.
18266 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18267 Restore Emacs 23 behavior but use
18268 window-normalize-buffer-to-switch-to.
18269 (pop-to-buffer-same-window): Rewrite.
18270 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18271 Rewrite using Emacs 23 options.
18273 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18275 * net/tramp.el (tramp-root-regexp): Remove.
18276 (tramp-completion-file-name-regexp-unified)
18277 (tramp-completion-file-name-regexp-separate)
18278 (tramp-completion-file-name-regexp-url): Don't use leading volume
18279 letter on w32 systems. (Bug#5303, Bug#9311)
18280 (tramp-drop-volume-letter): Simplify definition.
18281 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18283 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18285 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18288 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18290 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18292 2011-08-29 Juri Linkov <juri@jurta.org>
18294 * isearch.el (isearch-done): Don't display message "Mark saved"
18295 when arg `edit' is non-nil to prevent its flicker in the echo area.
18297 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18299 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18300 obsolete packages for deletion.
18302 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18304 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18305 (help-mode): Derive help-mode from special-mode. Don't invoke
18306 view-mode from help-mode.
18307 (help-xref-override-view-map): Remove.
18308 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18309 view-mode is not used anymore.
18311 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18313 * server.el (server-port): Doc fix.
18315 * cus-theme.el (custom-theme-choose-mode): Inherit from
18316 special-mode (Bug#9124).
18317 (custom-theme-choose-mode-map): Add special-mode to parent.
18319 2011-08-28 Alan Mackenzie <acm@muc.de>
18321 * progmodes/cc-fonts.el
18322 (c-make-font-lock-BO-decl-search-function): New function.
18323 (c-basic-matchers-after - "Fontify the clauses after various
18324 keywords"): Extract the three keyword lists for the 3 erroneous
18325 constructs from the list of four, and use the new function above
18326 in place of an old one.
18328 2011-08-28 Deniz Dogan <deniz@dogan.se>
18330 * net/rcirc.el (rcirc-insert-prev-input)
18331 (rcirc-insert-next-input): Remove unused argument.
18333 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18335 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18337 2011-08-27 Alan Mackenzie <acm@muc.de>
18339 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18340 handle function pointer parameters properly.
18342 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18344 * window.el (display-buffer-reuse-window): Fix case where
18345 selected window was reused with non-nil OTHER-WINDOW argument.
18348 2011-08-27 Deniz Dogan <deniz@dogan.se>
18350 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18351 oftc's NickServ messages.
18353 2011-08-27 Glenn Morris <rgm@gnu.org>
18355 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18357 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18359 * emacs-lisp/package.el (package-install): Call package-initialize
18360 if called interactively.
18362 2011-08-26 Leo Liu <sdl.web@gmail.com>
18364 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18366 2011-08-25 Juri Linkov <juri@jurta.org>
18368 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18369 `search-whitespace-regexp' (bug#9364).
18371 2011-08-25 Juri Linkov <juri@jurta.org>
18373 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18374 `regexp-search-ring' to their global values to protect from
18375 updating by `read-from-minibuffer' (bug#9185).
18377 2011-08-25 Juri Linkov <juri@jurta.org>
18379 * textmodes/ispell.el (ispell-command-loop): Add newline
18380 at the end of the "Use option `i'..." line.
18382 2011-08-25 Juri Linkov <juri@jurta.org>
18384 * battery.el (display-battery-mode): If `battery-status-function'
18385 or `battery-mode-line-format' is nil, display the message and set
18386 `display-battery-mode' to nil (bug#9363).
18388 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18390 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18391 bidi-string-mark-left-to-right; they are unnecessary now.
18393 2011-08-25 Deniz Dogan <deniz@dogan.se>
18395 * net/quickurl.el: Documentation typo fixes.
18397 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18399 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18401 2011-08-25 Glenn Morris <rgm@gnu.org>
18403 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18405 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18406 (smtpmail-via-smtp): Handle nil response from smtp.
18408 2011-08-24 Juri Linkov <juri@jurta.org>
18410 * proced.el (proced-marked): Inherit from `error' instead of
18411 `font-lock-warning-face'.
18413 * ibuffer.el (ibuffer-marked-face): Change default face from
18414 `font-lock-warning-face' to `warning'.
18415 (ibuffer-deletion-face): Change default face from
18416 `font-lock-type-face' to `error'.
18418 * battery.el (battery-update): Use the face `error' instead of
18419 `font-lock-warning-face' (bug#6117).
18421 2011-08-24 Juri Linkov <juri@jurta.org>
18423 * faces.el (success): Change face color from "Green3" to
18424 "ForestGreen" on light background (bug#9353).
18426 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18428 * window.el (quit-window): Rename from quit-restore-window.
18429 Use same arglist as old quit-window.
18430 (frame-auto-delete): Doc fix.
18432 * view.el (view-mode-exit): Use quit-window.
18434 2011-08-24 Juri Linkov <juri@jurta.org>
18436 * isearch.el (isearch-ring-adjust1): Start visiting previous
18437 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18438 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18439 for empty search string (when the last search string is reused
18440 automatically) to adjust the isearch ring to the last element and
18441 prepare the correct index for further M-p commands (bug#9185).
18443 2011-08-24 Kenichi Handa <handa@m17n.org>
18445 * international/ucs-normalize.el: If decomposition property of
18446 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18448 (nfd, nfkd): Likewise.
18450 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18452 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18453 from process filters aren't reliably transmitted to the surrounding
18454 accept-process-output.
18455 (mpc-proc-check): New function.
18456 (mpc-proc-sync): Use it (bug#8293)
18458 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18460 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18461 Add compatibility functions (bug#9313).
18463 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18465 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18467 * international/uni-bidi.el: Regenerate.
18469 2011-08-23 Kenichi Handa <handa@m17n.org>
18471 * international/charprop.el:
18472 * international/uni-bidi.el:
18473 * international/uni-category.el:
18474 * international/uni-combining.el:
18475 * international/uni-comment.el:
18476 * international/uni-decimal.el:
18477 * international/uni-decomposition.el:
18478 * international/uni-digit.el:
18479 * international/uni-lowercase.el:
18480 * international/uni-mirrored.el:
18481 * international/uni-name.el:
18482 * international/uni-numeric.el:
18483 * international/uni-old-name.el:
18484 * international/uni-titlecase.el:
18485 * international/uni-uppercase.el: Regenerate.
18487 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18489 * help.el (help-window-setup): Fix message displayed when other
18490 window is reused. (Bug#9341)
18492 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18494 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18495 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18497 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18499 * shell.el (shell-parse-pcomplete-arguments): New function.
18500 (shell-completion-vars): Use it instead (bug#9160).
18502 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18505 strings and comments (bug#9333).
18507 * emacs-lisp/debug.el (debug-arglist): New function.
18508 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18509 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18511 2011-08-22 Juri Linkov <juri@jurta.org>
18513 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18514 Revert regexp that highlights output switches to its old
18515 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18517 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18518 to check for empty output (bug#9226).
18520 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18522 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18523 symbol-constituent as the default, as that stops font-lock from
18524 working properly (Bug#8843).
18526 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18528 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18529 `coding-system-for-*' around the process open call to avoid
18530 auth-source side effects.
18531 (smtpmail-try-auth-methods): Expand the secret password.
18532 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18535 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18537 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18539 * emacs-lisp/find-func.el (find-function-noselect): New arg
18542 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18543 signal an error for built-in functions (Bug#6664).
18545 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18547 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18548 (smtpmail-try-auth-methods): Use it.
18550 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18552 * font-lock.el (font-lock-fontify-region)
18553 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18554 (font-lock-default-unfontify-buffer)
18555 (font-lock-default-fontify-region)
18556 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18558 * progmodes/compile.el (compilation-error-properties):
18559 Fix confusion between file struct and message struct (Bug#9319).
18560 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18563 * net/browse-url.el (browse-url-firefox): Don't call
18564 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18566 2011-08-20 Glenn Morris <rgm@gnu.org>
18568 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18570 * tutorial.el (tutorial--default-keys): Update some default bindings.
18572 * files.el (hack-local-variables): Fully ignore case for "mode:".
18574 2011-08-20 Alan Mackenzie <acm@muc.de>
18576 Resolve invalid use of a regexp in regexp-opt.
18578 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18579 detection for a java annotation.
18581 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18582 detection for a java annotation.
18584 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18586 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18588 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18590 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18593 2011-08-20 Alan Mackenzie <acm@muc.de>
18595 Fontify CPP expressions correctly when starting in the middle of
18596 such a construct. Mainly for when jit-lock etc. starts a chunk
18599 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18601 (c-make-font-lock-search-form): New function, extracted from
18602 c-make-font-lock-search-function.
18603 (c-make-font-lock-search-function): Use the above function.
18604 (c-make-font-lock-context-search-function): New function.
18605 (c-cpp-matchers): Enhance the preprocessor expression case with
18607 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18608 which takes an expression.
18610 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18612 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18614 * window.el (display-buffer-reuse-window)
18615 (display-buffer-pop-up-window): Don't reuse or split a side
18618 2011-08-19 Glenn Morris <rgm@gnu.org>
18620 * files.el (hack-local-variables-prop-line, hack-local-variables):
18621 Downcase "Mode:". (Bug#9331)
18623 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18625 * international/characters.el: Add L and R categories.
18627 * subr.el (bidi-string-mark-left-to-right): Rename from
18628 string-mark-left-to-right. Use category search.
18630 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18632 2011-08-18 Juri Linkov <juri@jurta.org>
18634 * faces.el (error, warning, success): New faces with definitions
18635 copied from old default values of `font-lock-warning-face',
18636 `compilation-warning', `compilation-info' (bug#6117).
18638 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18640 * progmodes/compile.el (compilation-error): Inherit from `error'.
18641 (compilation-warning): Inherit from `warning'.
18642 (compilation-info): Inherit from `success'.
18644 * dired.el (dired-marked): Inherit from `warning'.
18645 (dired-flagged): Inherit from `error'.
18647 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18649 * mail/smtpmail.el (auth-source): Require to avoid problems with
18650 binding variables (bug#9298). Also clean up some unused
18653 * net/network-stream.el (network-stream-open-starttls):
18654 Support using starttls.el without using gnutls-cli.
18656 2011-08-17 Juri Linkov <juri@jurta.org>
18658 * progmodes/grep.el (rgrep): Handle the case when
18659 `grep-find-command' is a cons cell (bug#9278).
18661 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18663 * window.el (display-buffer-pop-up-frame): Run frame creation
18664 function with BUFFER current (as special-display-popup-frame
18665 does). Reported by Drew Adams.
18667 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18669 * epa-mail.el: Simplify GnuPG group expansion using
18671 (epa-mail-group-alist, epa-mail-group-modtime)
18672 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18673 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18674 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18677 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18679 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18681 2011-08-16 Alan Mackenzie <acm@muc.de>
18683 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18684 Correct, to avoid the inside of macros.
18686 2011-08-16 Richard Stallman <rms@gnu.org>
18688 * epa-mail.el: Handle GnuPG group definitions.
18689 (epa-mail-group-alist, epa-mail-group-modtime)
18690 (epa-mail-gnupg-conf-file): New variables.
18691 (epa-mail-parse-groups, epa-mail-sync-groups)
18692 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18693 (epa-mail-expand-recipients): New functions.
18694 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18696 * mail/rmail.el (rmail-epa-decrypt): New command.
18698 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18699 Don't bind buffer-read-only, just inhibit-read-only.
18700 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18701 (epa-decrypt-armor-in-region): Make error message clearer.
18703 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18705 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18706 and "a2b" to "ab" for `prefix'.
18708 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18710 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18712 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18713 Fourquet (Bug#8804).
18715 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18717 * startup.el (argi): Declare as global variable (bug#9275).
18719 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18721 * subr.el (string-mark-left-to-right): Search the entire string
18722 for RTL script, not just the terminating character. Doc fix.
18724 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18726 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18728 (js--regexp-literal, js-syntax-propertize-function): Remove.
18729 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18730 (js-mode-map): Don't rebind electric keys.
18731 (js-insert-and-indent): Remove.
18732 (js-mode): Setup electric-layout and electric-indent instead.
18734 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18736 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18738 * epa.el (epa-progress-callback-function): Fix the logic of
18739 displaying progress.
18740 * epa-file.el (epa-file-insert-file-contents): Make progress
18741 display more user-friendly.
18742 (epa-file-write-region): Ditto.
18744 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18746 * subr.el (string-mark-left-to-right): New function.
18748 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18749 Use string-mark-left-to-right.
18750 (list-buffers-noselect): Caller changed.
18752 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18753 Use string-mark-left-to-right.
18754 (tabulated-list-print): Recenter after moving point.
18756 2011-08-10 Juri Linkov <juri@jurta.org>
18758 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18759 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18760 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18762 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18764 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18767 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18769 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18770 character. (Bug#6594)
18772 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18774 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18775 (image-dired--with-db-file): New macro.
18776 (image-dired-write-tags, image-dired-remove-tag)
18777 (image-dired-create-gallery-lists, image-dired-write-comments)
18778 (image-dired-get-comment, image-dired-mark-tagged-files)
18779 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18780 (image-dired-gallery-generate): Use insert-file-contents.
18782 * time.el (display-time-world-list, display-time-world-display):
18783 * time-stamp.el (time-stamp-string):
18784 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18785 set-time-zone-rule (Bug#7337).
18787 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18789 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18790 (epg-error-to-string, epg-errors-to-string): New function.
18791 (epg-wait-for-completion): Reverse errors list.
18792 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18793 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18794 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18795 (epg-sign-keys, epg-generate-key-from-file)
18796 (epg-generate-key-from-string): Format errors by using
18797 epg-errors-to-string (bug#9255).
18798 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18800 2011-08-07 Juri Linkov <juri@jurta.org>
18802 * faces.el (list-faces-display): Remove extra angle bracket
18803 from `help-mode-map'.
18805 * info.el (Info-history-toc-nodes): Doc fix.
18807 * longlines.el (longlines-mode): Doc fix.
18809 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18811 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18812 of statements and in a few more cases (bug#9183).
18814 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18816 (cl-transform-lambda): Use them (bug#9239).
18818 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18820 * window.el (display-buffer-same-window)
18821 (display-buffer-same-frame, display-buffer-other-window)
18822 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18823 (pop-to-buffer-other-window)
18824 (pop-to-buffer-same-frame-other-window)
18825 (pop-to-buffer-other-frame): Make them defuns.
18826 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18828 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18830 * subr.el (make-composed-keymap): Move from C. Change calling
18831 convention, and improve docstring to bring attention to a subtle point.
18832 * minibuffer.el (completing-read-default): Adjust accordingly.
18834 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18836 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18837 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18839 * net/trampver.el: Update release number.
18841 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18843 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18846 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18848 * mail/sendmail.el (sendmail-query-once): Restore the current
18849 buffer after querying (bug#9074).
18851 * dired.el (dired-flagged): Use different faces for marked and
18852 flagged files (bug#6117).
18854 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18857 * ido.el (ido-mode): Switch off the message if called
18860 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18861 before 587, since it appears that that's more likely to work for
18864 * cus-edit.el (custom-file): When running under emacs -q, always
18865 refuse to save the customizations, even if the .emacs file doesn't
18868 * info.el: Remove the `Info-beginning-of-buffer' function
18871 * net/network-stream.el (network-stream-open-starttls):
18872 Use `starttls-available-p' to see whether starttls.el can be used.
18874 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18876 * window.el (display-buffer-in-window): Don't set dedicated status
18877 of window here (Bug#9215).
18878 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18879 (display-buffer-pop-up-side-window)
18880 (display-buffer-in-side-window): Set dedicated status of window here.
18882 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18884 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18885 before binding generated-autoload-file.
18887 2011-08-01 Deniz Dogan <deniz@dogan.se>
18889 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18891 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18893 Sync with Tramp 2.2.2.
18895 * net/trampver.el: Update release number.
18897 2011-07-30 Juri Linkov <juri@jurta.org>
18899 * dired-aux.el (dired-touch-initial): Remove function.
18900 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18901 current time, and `default' to the last modification time of the
18902 current marked file (bug#6887).
18904 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18906 * simple.el (goto-line): Use string-to-number to provide a
18907 numeric argument to read-number (bug#9163).
18909 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18911 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18912 connection process, it could be nil.
18914 2011-07-27 Leo Liu <sdl.web@gmail.com>
18916 Simplify url handling in rcirc-mode.
18918 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18919 (rcirc-browse-url-at-mouse): Remove.
18920 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18922 2011-07-26 Alan Mackenzie <acm@muc.de>
18924 Fontify bitfield declarations properly.
18926 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18927 (c-symbol-chars): Now exported as a lang variable.
18928 (c-not-primitive-type-keywords): New lang variable.
18930 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18931 QT keyword "more" to prevent "more slots: ...." being spuriously
18932 parsed as a bitfield declaration.
18934 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18935 Refactor and enhance to handle bitfield declarations.
18936 (c-punctuation-in): New function.
18937 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18938 declarations properly.
18940 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18942 * calendar/icalendar.el (icalendar--all-events): Take care of
18943 multiple vcalendars in a single file.
18944 (icalendar--convert-float-to-ical): Checkdoc fixes.
18946 2011-07-25 Deniz Dogan <deniz@dogan.se>
18948 * image.el (insert-image): Clarifying docstring.
18950 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18952 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18953 `tramp-send-command-and-check' if there is no error.
18954 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18956 2011-07-22 Alan Mackenzie <acm@muc.de>
18958 Prevent cc-langs.elc being loaded at run time.
18960 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18963 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18964 "(require 'cc-langs)". Quote a form so it will evaluate at
18965 (cc-mode's) compilation time.
18967 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18969 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18970 loading. (Bug#9114)
18972 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18974 * window.el (display-buffer-pop-up-window)
18975 (display-buffer-pop-up-side-window)
18976 (display-buffer-in-side-window): Call display-buffer-set-height
18977 and display-buffer-set-width after setting the new window's
18978 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18980 2011-07-20 Sam Steingold <sds@gnu.org>
18982 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18983 (etags-tags-included-tables): Call `convert-standard-filename' on
18984 the file names contained in TAGS so that windows Emacs can handle
18985 TAGS files created by cygwin ctags.
18987 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18989 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18990 which apparently didn't work.
18992 2011-07-19 Roland Winkler <winkler@gnu.org>
18994 * proced.el (proced-send-signal): For *Marked Processes* buffer
18995 put point at beginning of buffer.
18997 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18999 * proced.el (proced-format): Make header lines align with the text
19002 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19004 * view.el (view-buffer): Allow running in `special' modes if we're
19005 visiting a file (bug#8615).
19007 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19009 * window.el (display-buffer-alist-of-strings-p)
19010 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19012 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19015 2011-07-18 Alan Mackenzie <acm@muc.de>
19017 Fontify declarators properly when, e.g., a jit-lock chunk begins
19018 inside a declaration.
19020 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19022 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19024 (c-complex-decl-matchers): Insert reference to
19025 c-font-lock-enclosing-decls.
19027 * progmodes/cc-engine.el (c-backward-single-comment):
19028 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19029 to nil around calls to (forward-comment -1).
19031 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19033 * image.el (put-image): Doc typo fix.
19035 * progmodes/etags.el (tags-search): Doc typo fix.
19037 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19038 password if we get errors 550 to 554.
19040 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19042 * net/gnutls.el (gnutls-log-level): Remove.
19044 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19045 indentation character (bug#6380).
19047 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19049 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19050 to clarify what the problem is (bug#4291).
19052 * simple.el (current-kill): Clarify what
19053 `interprogram-paste-function' does (bug#7500).
19054 (auto-fill-mode): Document `auto-fill-function' in relation to
19055 `auto-fill-mode' (bug#2470).
19057 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19059 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19060 method if slot is read-only (bug#9035).
19062 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19064 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19065 * window.el (pop-to-buffer): Select window used even if it was
19066 selected before, see discussion of (Bug#8615), (Bug#6954).
19067 Pass argument NORECORD on to select-frame-set-input-focus.
19069 2011-07-15 Glenn Morris <rgm@gnu.org>
19071 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19074 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19076 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19077 (gnutls-negotiate): Use it.
19079 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19081 * net/gnutls.el (gnutls-negotiate):
19082 Upcase `gnutls-algorithm-priority'.
19084 2011-07-15 Glenn Morris <rgm@gnu.org>
19086 * jka-compr.el (jka-compr-verbose): Move from here...
19087 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19088 Add missing :version tag.
19089 * info.el: No need to require jka-compr when compiling.
19091 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19093 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19094 (gnutls-negotiate): Use it.
19096 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19098 * info.el (Info-beginning-of-buffer): New command.
19099 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19100 announcing `b' as the key (bug#8325).
19101 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19103 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19105 * international/mule-cmds.el
19106 (describe-specified-language-support): Make the error message
19107 clearer (bug#8905).
19109 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19111 * isearch.el (isearch-barrier): Add a doc string, since it's
19112 mentioned in a function doc string (bug#8678).
19114 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19116 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19117 buffer argument (Bug#9083) and self-identifying label argument.
19119 2011-07-15 Glenn Morris <rgm@gnu.org>
19121 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19123 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19125 * man.el (Man-fontify-manpage): Fix message when formatting the
19126 man page (bug#7929).
19128 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19130 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19131 argument LRM; if non-nil, append an invisible LRM character to the
19133 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19134 last argument non-nil, when formatting buffer names.
19135 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19136 paragraph direction.
19138 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19140 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19141 the man page name (bug#7929).
19143 * image.el (put-image): Mention the `put-image' overlay property
19146 * scroll-bar.el (set-scroll-bar-mode): Mention that
19147 `scroll-bar-mode' lists the values (bug#7772).
19149 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19150 command (bug#7729).
19152 * rect.el (apply-on-rectangle): Return the point after the last
19154 (string-rectangle): Go to the point after the last operation
19157 * printing.el (pr-toggle-region): Clarify the documentation
19158 slightly (bug#7493).
19160 * time.el (display-time-update):
19161 Allow `display-time-mail-function' to return nil (bug#7158).
19162 Fix suggested by Detlev Zundel.
19164 * vc/diff.el (diff): Clarify the order the file names are read
19167 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19168 the doc string (bug#7015).
19170 * font-lock.el (font-lock-maximum-decoration): Mention what
19171 numeric levels mean (bug#6935).
19173 * startup.el (initial-buffer-choice): Don't mention the `none'
19174 selection, which is against policy.
19176 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19178 * window.el (display-buffer-normalize-special):
19179 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19181 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19183 * subr.el (version<, version<=, version=): Mention "-CVS" and
19184 "-12345" alpha version numbers.
19186 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19188 * bindings.el: Add advertised binding for set-mark-command
19191 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19193 * bindings.el (mode-line-other-buffer):
19194 * bookmark.el (bookmark-bmenu-2-window):
19195 * bs.el (bs-cycle-next, bs-cycle-previous):
19196 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19199 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19202 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19204 * follow.el (follow-debug-message, follow-redisplay):
19205 * jka-cmpr-hook.el (with-auto-compression-mode):
19206 Fix typos in docstrings.
19208 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19210 * subr.el (with-silent-modifications): Clarify somewhat what the
19211 macro inhibits (bug#6525).
19213 * simple.el (eval-expression): Note what it does if called
19214 interactively (bug#6495).
19216 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19218 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19219 Use pop-to-buffer buffer-or-name if it is nil.
19221 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19222 Remove switch-to-buffer.
19224 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19226 * files.el (make-directory): Clarify that an error will be raised
19227 if there's an error (bug#6397).
19229 * startup.el (initial-buffer-choice): Add `none' as a choice
19232 * subr.el (add-hook): Clarify section about buffer-local hooks
19235 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19237 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19239 * tabify.el (untabify): Preserve the current column so that point
19240 doesn't move (bug#6032).
19242 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19244 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19245 Rewrite to avoid awkward possessive "s" (bug#5986).
19247 2011-07-13 Glenn Morris <rgm@gnu.org>
19249 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19250 (dired-insert-directory): Give a message the first time
19251 if ls is found not to support --dired.
19253 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19255 * simple.el (toggle-truncate-lines): Clarify what is toggled
19256 (bug#5580). Text by Drew Adams.
19258 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19260 * simple.el (blink-matching-open): Make the error message from the
19261 last change less verbose.
19263 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19265 * font-lock.el (font-lock-comment-face): Use the high contrast
19266 "yellow" color for font-lock-comment-face on low color terminals
19267 using a dark background color (bug#4221).
19269 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19271 * dired.el (dired-insert-set-properties): Make the doc string
19272 reflect what it does now (bug#5325).
19274 * simple.el (blink-matching-open): Say that we were unable to find
19275 the match within the limit, if we're limited (bug#5122).
19277 * international/mule-cmds.el (prefer-coding-system): Add an
19278 example (bug#4869).
19280 * progmodes/etags.el (tags-search): Document `file-list-form'
19283 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19285 * net/browse-url.el (browse-url-default-browser)
19286 (browse-url-browser-function): Make the default browser choice a
19287 bit more logical (bug#4300). Also clean up the doc string.
19289 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19291 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19292 binary endings (bug#4440).
19294 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19296 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19297 which can be pretty annoying (bug#8971).
19299 * jka-compr.el (jka-compr-verbose): New variable, and use
19300 throughout (bug#8971).
19302 * info.el (Info-find-file): Fall back on the installation
19303 directory if we can't find the info node anywhere else.
19305 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19307 * vc/vc.el (vc-revert-file):
19308 Don't set file time-stamp in the past. (Bug#5181)
19310 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19312 * files.el (after-find-file): Give a better error message when
19313 trying to find a symlink that points to a file that doesn't exist
19316 * progmodes/cc-vars.el: Remove (probably) misleading comment
19319 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19321 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19323 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19325 * mouse-sel.el: Hack restoring functionality, while keeping
19326 compatibility with 2010-07-03 changes to mouse selection.
19327 (mouse-sel-primary-overlay): New var.
19328 (mouse-sel-selection-alist): Use it.
19329 (mouse-sel-mode): Doc fix; remove points that are default features
19332 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19335 Fix previous fix (bug#2490).
19337 2011-07-12 Roland Winkler <winkler@gnu.org>
19339 * textmodes/bibtex.el (bibtex-initialize):
19340 Use pop-to-buffer-same-window.
19341 (bibtex-search-entries): Fix interactive call.
19343 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19345 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19346 Fontise bytecomp Error lines more correctly (bug#2490).
19347 Fix suggested by Johan Bockgård.
19349 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19351 * dired-x.el (dired-guess-default): Use `delete-dups'.
19353 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19355 * dired.el (dired-mark-prompt):
19356 * dired-aux.el (dired-read-shell-command): Doc fix.
19358 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19360 * mail/sendmail.el (sendmail-query-once):
19361 Use `customize-save-variable' unconditionally, now that it works under
19364 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19366 * cus-edit.el (custom-file): Take an optional no-error variable.
19367 (customize-save-variable): Set the variable, and give a warning if
19368 running under "emacs -q".
19370 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19372 * loadhist.el (unload-feature-special-hooks):
19373 Add `auto-coding-functions', `fill-nobreak-predicate' and
19374 `find-directory-functions' (bug#5327).
19376 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19378 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19380 * cus-edit.el (custom-guess-name-alist): -alist variables should
19381 use the `alist' type (bug#3120). Suggested by Drew Adams.
19383 * printing.el: Add documentation to all the `pr-toggle-' commands.
19385 2011-07-11 Leo Liu <sdl.web@gmail.com>
19387 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19388 backends where it makes sense (bug#2623).
19390 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19392 * dired-x.el (dired-guess-default): Remove duplicate shell command
19393 entries (bug#2028).
19394 (dired-guess-default): Fix grammar in doc string (bug#2028).
19395 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19397 * subr.el (remove-duplicates): New conveniency function.
19399 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19401 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19404 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19406 * window.el (display-buffer-normalize-default): Don't invert
19407 meaning of even-window-heights. Reported by Eli Zaretskii
19410 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19412 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19414 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19416 * window.el (display-buffer): Fix arguments to
19417 display-buffer-reuse-window in last change.
19419 * faces.el (link): Use a less saturated blue on light backgrounds.
19421 * startup.el (fancy-startup-text, fancy-about-text)
19422 (fancy-startup-tail): Use font-lock faces, for background safety.
19424 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19426 * emulation/viper-cmd.el (viper-change-state-to-vi):
19427 Limit triggering of abbrev expansion (Bug#9038).
19429 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19431 * window.el (display-buffer-default-specifiers): Remove.
19432 (display-buffer-macro-specifiers): Remove default specifiers.
19433 (display-buffer-alist): Default to nil.
19434 (display-buffer-reuse-window): New optional argument other-window.
19435 (display-buffer-pop-up-window): Allow splitting internal
19436 windows. Check whether a live window was created.
19437 (display-buffer-other-window-means-other-frame)
19438 (display-buffer-normalize-arguments): Rename to
19439 display-buffer-normalize-argument and rewrite. Set the
19440 other-window specifier.
19441 (display-buffer-normalize-special): New function.
19442 (display-buffer-normalize-options): Rename to
19443 display-buffer-normalize-default and rewrite.
19444 (display-buffer-normalize-options-inhibit): Remove.
19445 (display-buffer-normalize-specifiers): Rewrite.
19446 (display-buffer): Process other-window specifier and call
19447 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19449 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19450 (display-buffer-alist-set): Don't handle 'unset default values.
19451 (display-buffer-in-window, display-buffer-alist-set):
19452 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19453 <tassilo@member.fsf.org>.
19455 2011-07-09 Leo Liu <sdl.web@gmail.com>
19457 * register.el (insert-register): Restore accidental change on
19458 2011-06-26. (Bug#9028)
19460 2011-07-09 Glenn Morris <rgm@gnu.org>
19462 * subr.el (remq): Handle the empty list. (Bug#9024)
19464 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19466 * mail/sendmail.el (send-mail-function): No longer delay custom
19468 * custom.el (custom-initialize-delay): Doc fix.
19470 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19472 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19474 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19476 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19477 human-friendly prompt.
19479 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19481 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19482 provided by a particular plugin.
19484 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19486 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19487 save customizations (with "emacs -Q"), just set the variable
19488 instead of erroring out.
19490 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19492 2011-07-08 Juri Linkov <juri@jurta.org>
19494 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19495 (archive-zip-update-case): Use 7z if found by `executable-find'.
19496 The order of searching the available programs is the same as in
19497 `archive-zip-extract' (bug#8968).
19499 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19501 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19502 (menu-bar-options-menu): Tweak descriptions.
19504 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19506 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19507 menu items into verb phrases (bug#1421). Also refill to fit under
19510 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19512 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19513 (Info-read-node-name): Doc fix (Bug#1084).
19515 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19516 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19517 (end-of-sexp, beginning-of-sexp)
19518 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19519 (forward-symbol, forward-same-syntax, word-at-point)
19520 (sentence-at-point): Doc fix (Bug#1144).
19522 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19524 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19525 should cover it (bug#1281).
19527 * cus-edit.el (custom-show): Mark as obsolete.
19529 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19530 negotiation fails, then possibly try again with a non-encrypted
19531 connection (bug#9017).
19533 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19536 2011-07-07 Richard Stallman <rms@gnu.org>
19538 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19539 property, and handle its changed format.
19540 Look for the correct line number.
19541 Use file's line contents (but not past first =) to find
19542 correct line in message.
19544 2011-07-07 Kenichi Handa <handa@m17n.org>
19546 * international/characters.el (build-unicode-category-table):
19548 (unicode-category-table): Set it by unicode-property-table-internal.
19550 * international/mule-cmds.el (char-code-property-alist): Move to
19552 (get-char-code-property): Call unicode-property-table-internal to
19553 load a file. Call get-unicode-property-internal where necessary.
19554 (put-char-code-property): Call unicode-property-table-internal to
19555 load a file. Call put-unicode-property-internal where necessary.
19556 put-unicode-property-internal where necessary.
19557 (char-code-property-description):
19558 Call unicode-property-table-internal to load a file.
19560 * international/charprop.el:
19561 * international/uni-bidi.el:
19562 * international/uni-category.el:
19563 * international/uni-combining.el:
19564 * international/uni-comment.el:
19565 * international/uni-decimal.el:
19566 * international/uni-decomposition.el:
19567 * international/uni-digit.el:
19568 * international/uni-lowercase.el:
19569 * international/uni-mirrored.el:
19570 * international/uni-name.el:
19571 * international/uni-numeric.el:
19572 * international/uni-old-name.el:
19573 * international/uni-titlecase.el:
19574 * international/uni-uppercase.el: Regenerate.
19576 * loadup.el: Load international/charprop.el before
19577 international/characters.
19579 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19581 * window.el (next-buffer, previous-buffer): Signal an error if
19582 called from a minibuffer window.
19584 * bindings.el: Revert 2011-07-04 change.
19586 2011-07-06 Richard Stallman <rms@gnu.org>
19588 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19589 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19590 Treat markers like ints.
19591 (rmail-mime-entity): Doc fix.
19593 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19595 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19596 defcustom again for backwards compatibility.
19598 * simple.el (shell-command-on-region): Fill.
19600 * dired-aux.el (dired-kill-line): Add a doc string.
19602 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19603 to "\\sw\\|\\s_" (bug#358).
19605 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19606 (dired-unmark-backward): Ditto.
19607 (dired-flag-backup-files): Ditto.
19609 * dired-x.el (dired-mark-sexp): Ditto.
19611 2011-07-06 Richard Stallman <rms@gnu.org>
19613 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19614 (rmail-mime-entity): New arg TRUNCATED.
19615 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19617 (rmail-mime-save): Warn if entity is truncated.
19618 (rmail-mime-toggle-hidden): Likewise, for showing.
19619 (rmail-mime-process-multipart): Record when an entity is truncated.
19621 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19622 if ENTITY is a string.
19624 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19626 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19627 of faces when `M-C-x'-ing their definitions (bug#8378).
19628 Also clean up the code slightly.
19630 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19631 because that makes the colors go away.
19633 * mail/sendmail.el (send-mail-function): Change the default to
19634 `sendmail-query-once'.
19635 (sendmail-query-once): Add an autoload cookie.
19637 * net/network-stream.el (network-stream-open-starttls): Try using
19638 a plain connection even if the server offered STARTTLS, and we
19639 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19640 capability. This should make smtpmail.el work in slightly more
19643 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19645 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19647 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19649 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19651 * progmodes/sql.el: Version 3.0
19652 (sql-product-alist): Add product :completion-object,
19653 :completion-column, and :statement attributes.
19654 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19655 (sql-mode-syntax-table): Mark all punctuation.
19656 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19658 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19659 (sql-mode-oracle-font-lock-keywords): Improve.
19660 (sql-oracle-show-reserved-words): New function for development.
19661 (sql-product-font-lock): Simplify for source code buffers.
19662 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19664 (sql-highlight-product): Set product specific syntax table.
19665 (sql-mode-map): Add statement movement functions.
19666 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19668 (sql-statement-regexp, sql-beginning-of-statement)
19669 (sql-end-of-statement, sql-signum): New functions.
19670 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19671 (sql-show-sqli-buffer): Bug fix.
19672 (sql-interactive-mode): Store connection data as buffer local.
19673 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19674 with sql-interactive-mode.
19675 (sql-save-connection): Save buffer local settings.
19676 (sql-connection-menu-filter): Change menu entry name.
19677 (sql-product-interactive): Bug fix.
19678 (sql-preoutput-hold): New variable.
19679 (sql-interactive-remove-continuation-prompt): Bug fixes.
19680 (sql-debug-redirect): New variable.
19681 (sql-str-literal): New function.
19682 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19684 (sql-oracle-save-settings, sql-oracle-restore-settings)
19685 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19686 (sql-completion-object, sql-completion-column)
19687 (sql-completion-sqlbuf): New variables.
19688 (sql-build-completions-1, sql-build-completions)
19689 (sql-try-completion): New functions.
19690 (sql-read-table-name): Use them.
19691 (sql-contains-names): New buffer local variable.
19692 (sql-list-all, sql-list-table): Use it.
19693 (sql-oracle-completion-types): New variable.
19694 (sql-oracle-completion-object, sql-sqlite-completion-object)
19695 (sql-postgres-completion-object): New functions.
19697 2011-07-06 Glenn Morris <rgm@gnu.org>
19699 * window.el (pop-to-buffer): Doc fix.
19701 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19703 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19705 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19707 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19709 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19711 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19713 * button.el (button): Inherit from link face. Suggested by Dan
19716 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19718 * progmodes/gdb-mi.el: Fit in 80 columns.
19719 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19722 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19723 if imenu is simply not configured (bug#8941).
19725 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19727 * allout.el (allout-post-undo-hook): New allout outline-change
19728 event hook to signal undo activity.
19729 (allout-post-command-business): Run allout-post-undo-hook if an
19730 undo just occurred.
19731 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19732 * allout-widgets.el (allout-widgets-after-undo-function):
19733 Ensure the integrity of the current item's decoration after it has been
19734 in the vicinity of an undo.
19735 (allout-widgets-mode): Include allout-widgets-after-undo-function
19736 on the new allout-post-undo-hook.
19738 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19740 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19741 Let define-derived-mode define it.
19742 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19743 cycles of abbrev-table inheritance (bug#8998).
19745 2011-07-05 Roland Winkler <winkler@gnu.org>
19747 * textmodes/bibtex.el: Add support for biblatex.
19748 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19749 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19750 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19751 (bibtex-entry-alist, bibtex-field-alist): New variables.
19752 (bibtex-entry-field-alist): Obsolete alias for
19753 bibtex-BibTeX-entry-alist.
19754 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19755 (bibtex-set-dialect): New command.
19756 (bibtex-entry-type, bibtex-entry-head)
19757 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19758 Bind via bibtex-set-dialect.
19759 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19760 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19761 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19762 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19763 Define via bibtex-set-dialect.
19764 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19765 Obey bibtex-no-opt-remove-re.
19766 (bibtex-vec-push, bibtex-vec-incr): New functions.
19767 (bibtex-format-entry, bibtex-field-list)
19768 (bibtex-print-help-message, bibtex-validate)
19769 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19771 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19773 * progmodes/compile.el (compilation-goto-locus):
19774 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19775 * bs.el (bs-cycle-next, bs-cycle-previous):
19776 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19777 * bindings.el (mode-line-other-buffer):
19778 * autoinsert.el (auto-insert):
19779 * arc-mode.el (archive-extract):
19780 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19782 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19784 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19785 Fix check of `emacs-lock-unlockable-modes'.
19786 Coerce true values of `emacs-lock--try-unlocking' to t.
19788 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19790 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19791 * emacs-lock.el: New file.
19793 2011-07-05 Julien Danjou <julien@danjou.info>
19795 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19796 than `boundp' to check if face is set.
19798 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19800 * register.el (registerv-make):
19801 * window.el (window-min-height): Fix typos in docstrings.
19803 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19805 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19808 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19810 * server.el (server-execute): Catch quit and call
19811 `server-return-error' to pass the error back to emacsclient and
19812 close the connection (bug#8942).
19814 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19816 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19817 insecure exception for current topic. Also note that auto-saves
19818 are handled differently.
19820 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19821 State variables for tracking auto-save inhibition situation.
19823 (allout-write-contents-hook-handler): Rename from
19824 'allout-write-file-hook-handler', and describe how it depends on
19825 write-contents-functions sensitivity to non-nil value to prevent
19828 (allout-auto-save-hook-handler): Remove. auto-save does not check
19829 this in individual buffers, only in the starting buffer, so this
19830 is not the right way for us to inhibit auto-save in a buffer
19831 according to its condition.
19833 (allout-mode): Use new allout-write-contents-hook-handler, and
19834 only with write-contents-functions. Remove auto-save provisions -
19835 they're implemented elsewhere.
19837 (allout-before-change-handler): If undo is in progress, note that
19838 for attention of allout-post-command-business.
19840 (allout-post-command-business): If the command we're following was
19841 an undo, check for change in the status of encrypted items and
19842 adjust auto-save inhibitions accordingly.
19844 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19845 according to whether there are or aren't any plain-text topics
19846 pending encryption.
19848 (allout-inhibit-auto-save-info-for-decryption):
19849 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19850 if there are plain-text topics pending encryption.
19852 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19853 buffer-saved-size and some allout state to not inhibit auto-saves
19854 if there are no longer any plain-text topics pending encryption.
19856 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19857 No longer provide for exemption of the current topic.
19859 2011-07-04 Juri Linkov <juri@jurta.org>
19861 Add 7z operations to delete and save changed members (bug#8968).
19862 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19864 (archive-7z-write-file-member): New function.
19865 (archive-7z-summarize): Fix the number of dashes in the
19868 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19870 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19873 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19875 * bindings.el: Ignore next-buffer and previous-buffer in
19876 minibuffer-local-map.
19878 * font-lock.el (font-lock-builtin-face): Change light background
19879 color to dark slate blue (Bug#6693).
19881 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19883 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19885 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19887 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19888 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19889 Add switch-to-buffer.
19891 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19893 * isearch.el (isearch-search-fun-function): Clarify further the
19894 meaning of the function returned.
19896 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19898 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19900 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19901 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19903 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19904 `tramp-default-remote-path' does not exist.
19905 (tramp-send-command-and-read): New optional argument NOERROR.
19906 (tramp-open-connection-setup-interactive-shell)
19907 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19908 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19909 (tramp-process-sentinel): Flush also process' connection property.
19910 (tramp-sh-handle-start-file-process): Do not set process
19911 sentinel. It is done now ...
19912 (tramp-maybe-open-connection): ... here. (Bug#8929)
19914 2011-07-04 MON KEY <monkey@sandpframing.com>
19916 * play/animate.el (animate-string): Doc fixes and allow changing
19917 the buffer name (bug#5417).
19919 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19921 * play/animate.el (animation-buffer-name): Rename from *animate*.
19923 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19925 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19926 This is simpler and helps future-proof the code.
19927 (timer-until): Use time-subtract and float-time.
19928 (timer--time-less-p): Use time-less-p.
19930 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19932 * type-break.el (timep): Use the value of `float-time' to avoid a
19933 byte-compiler warning.
19935 * server.el (server-eval-and-print): Return any result, even nil.
19937 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19939 * type-break.el: Accept time formats that the builtins accept.
19940 (timep, type-break-time-difference): Accept any format that
19941 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19942 This is simpler and helps future-proof the code.
19943 (type-break-time-difference): Round rather than ignoring
19944 subseconds components.
19946 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948 * info.el (Info-apropos-matches): Make non-interactive, since it
19949 doesn't seem to do anything useful as a command (bug#8829).
19951 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19953 * frame.el (frame-background-mode, frame-set-background-mode):
19954 Move from faces.el.
19955 (frame-default-terminal-background): New function.
19957 * custom.el (custom-push-theme): Don't record faces in `changed'
19958 theme; this doesn't work correctly for per-frame face settings.
19959 (disable-theme): Use face-set-after-frame-default to reset faces.
19960 (custom--frame-color-default): New function.
19962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19964 * dired.el (dired-flagging-regexp): Remove unused variable
19967 2011-03-29 Kevin Ryde <user42@zip.com.au>
19969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19970 `perl-Test2' extend to match possible "fail #N" rep count
19973 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19975 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19976 `smtpmail-via-smtp' now returns the error instead of nil.
19978 * isearch.el (isearch-search-fun-function): Clarify the doc string
19981 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19983 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19984 unnecessary spaces (bug#8987).
19986 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19988 * net/network-stream.el (open-network-stream): Use the
19989 :end-of-capability command thoughout.
19991 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19993 * net/network-stream.el (open-network-stream): Add the
19994 :end-of-capability command parameter, used by pop3.el.
19996 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19998 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20000 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20001 for list)" (bug#6475).
20003 * files.el (file-expand-wildcards): Ignore non-readable
20004 sub-directories while trying to find matches instead of signaling
20005 an error (bug#6297).
20007 * man.el (Man-reference-regexp): Allow matching possible
20008 word-wrapped references (bug#6289).
20010 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20011 for consistency with the other vc buffers (bug#6197).
20012 (vc-checkin): Ditto.
20014 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20016 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20018 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20020 * custom.el (defcustom): Clarify that :set is only used in the
20021 Customize user interface (bug#6089).
20023 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20024 associated with a file, refuse to run instead of erroring out
20027 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20028 the doc string, since it appears that using `fill-column' always
20029 controls the width (bug#7845).
20031 * simple.el (shell-command-on-region): Say where the error output
20032 went if `shell-command-default-error-buffer' is set (bug#6857).
20034 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20036 * allout.el (allout-yank-processing): Adjust cursor position for
20037 backwards-deleted space.
20039 (allout-rebullet-heading): Register changes with
20040 allout-exposure-changed-hook, so the modified topic is properly
20043 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20045 * minibuffer.el (completion-in-region): Document PREDICATE
20048 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20049 of keyword/argument pairs (bug#6904).
20051 * replace.el (multi-occur):
20052 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20054 2011-07-02 Drew Adams <drew.adams@oracle.com>
20056 * dired.el (dired-mark-if): Make the message about whether it's
20057 marking or unmarking clearer (bug#8523).
20059 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20061 * disp-table.el (display-table-print-array): New function.
20062 (describe-display-table): Use it to print the vectors more pretty
20065 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20067 * window.el (window-state-get-1): Don't assign clone numbers.
20068 Add clone-of item to list of window parameters.
20069 (window-state-put-2): Don't process clone numbers.
20070 (display-buffer-alist): Fix doc-string.
20072 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20074 * subr.el (remq): Don't allocate if it's not needed.
20075 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20076 (keymap--merge-bindings): New functions.
20077 (keymap-canonicalize): Use them to refine the canonicalization.
20078 * minibuffer.el (minibuffer-local-completion-map)
20079 (minibuffer-local-must-match-map): Move initialization from C.
20080 (minibuffer-local-filename-completion-map): Move initialization from C;
20081 don't inherit from anything here.
20082 (minibuffer-local-filename-must-match-map): Make obsolete.
20083 (completing-read-default): Use make-composed-keymap to combine
20084 minibuffer-local-filename-completion-map with either
20085 minibuffer-local-must-match-map or
20086 minibuffer-local-filename-completion-map.
20088 2011-07-01 Glenn Morris <rgm@gnu.org>
20090 * type-break.el (type-break-time-sum): Use dolist.
20092 * textmodes/flyspell.el (flyspell-word-search-backward):
20093 Replace CL function.
20095 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20097 * mouse.el (mouse--strip-first-event): New function.
20098 (function-key-map): Use it to map fringe clicks to normal clicks
20101 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20102 (vc-bzr-revision-completion-table): Add support for annotate and date.
20104 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20105 inherit from parent.
20107 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20109 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20110 (dired-show-file-type): Doc fixup (bug#8818).
20112 * dired.el (dired-mode): Fix up the doc string as suggested by
20113 Drew Adams (bug#8817).
20115 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20116 cookie, since the manual says that it should be possible to add
20117 this function to `find-file-hook' (bug#8709).
20119 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20121 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20122 here. Noted Ted Zlatanov as the maintainer.
20123 (cfengine-common-settings, cfengine-common-syntax): New functions
20124 to set up common things between `cfengine-mode' and
20126 (cfengine3-mode): New mode.
20127 (cfengine3-defuns cfengine3-defuns-regex
20128 (cfengine3-class-selector-regex cfengine3-category-regex)
20129 (cfengine3-vartypes cfengine3-font-lock-keywords)
20130 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20131 (cfengine3-indent-line): Add from cfengine3.el.
20133 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20135 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20137 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20139 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20141 * window.el (same-window-buffer-names, same-window-regexps)
20142 (same-window-p, special-display-frame-alist)
20143 (special-display-popup-frame, special-display-function)
20144 (special-display-buffer-names, special-display-regexps)
20145 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20146 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20147 (split-window-preferred-function, split-height-threshold)
20148 (split-width-threshold, even-window-heights)
20149 (display-buffer-mark-dedicated, window-splittable-p)
20150 (split-window-sensibly, window-safely-shrinkable-p):
20152 (display-buffer): Don't spread args with function specifier
20153 because special-display-popup-frame won't like it.
20155 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20157 Time-stamp simplifications and fixes.
20158 These improve accuracy slightly, and future-proof the code
20159 against some potential changes to current-time format.
20161 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20162 by using time-since and float-time.
20164 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20165 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20166 + NNN microseconds".
20168 * type-break.el (type-break-time-sum): Rewrite using time-add.
20170 * play/hanoi.el (hanoi-current-time-float): Remove.
20171 All uses replaced by float-time.
20173 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20174 This yields a more-accurate answer.
20175 (rng-time-to-float): Remove; no longer needed.
20177 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20179 * calendar/timeclock.el (timeclock-seconds-to-time):
20180 Defalias to seconds-to-time, since they're the same thing.
20182 * emacs-lisp/elp.el (elp-elapsed-time):
20183 * emacs-lisp/benchmark.el (benchmark-elapse):
20184 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20186 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20188 * window.el (bury-buffer): Don't iconify the only frame.
20189 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20190 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20192 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20194 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20195 Add mouse-yank-primary.
20197 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20199 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20201 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20203 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20204 (find-library-name): Use it to find relative load names when provided
20205 absolute file name (bug#8803).
20207 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20209 * textmodes/flyspell.el (flyspell-word): Consider words that
20210 differ only in case as potential doublons (bug#5687).
20212 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20213 Remove two rather uninteresting debugging-like messages to make
20214 debbugs.el more silent.
20216 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20217 a password-like phrase.
20219 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20221 * progmodes/cc-guess.el: New file.
20223 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20225 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20226 derived from `c-basic-common-init'.
20228 * progmodes/cc-mode.el (top-level): Require cc-guess.
20229 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20231 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20233 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20235 2011-06-30 Alan Mackenzie <acm@muc.de>
20237 * progmodes/cc-engine.el (c-guess-continued-construct):
20238 Correct the handling of template-args-cont, particularly for when font
20239 lock is disabled. Name this case as "CASE G".
20241 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20243 * allout.el (allout-yank-processing): Fix injection of extra space
20244 between bullet and non-whitespace character in first topic when
20245 pasting, ensuring that the actual spacing in the pasted topic
20246 following the bullet char is preserved. This extra space was
20247 causing pasted encrypted topics to get a decrypted status even
20248 when the content was actually still encrypted. Now the decryption
20249 status from before the paste is preserved.
20251 (allout-flag-region): Set all allout overlays so they evaporate
20252 when reduced to zero length (evanescent), to prevent overlay
20255 2011-06-30 Glenn Morris <rgm@gnu.org>
20257 * w32-fns.el (w32-charset-info-alist): Declare.
20259 * find-dired.el (find-grep-options): Simplify.
20261 * term/ns-win.el (ns-set-resource): Declare.
20263 * ses.el (row, col): Declare dynamic variables honestly.
20265 * textmodes/reftex-parse.el (index-tags): Declare.
20267 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20269 * cus-edit.el (customize-push-and-save): New function.
20271 * files.el (hack-local-variables-confirm): Use it.
20273 * custom.el (load-theme): New arg NO-CONFIRM.
20274 Use customize-push-and-save (Bug#8720).
20275 (custom-enabled-themes): Doc fix.
20277 * cus-theme.el (customize-create-theme)
20278 (custom-theme-merge-theme): Callers to load-theme changed.
20280 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20282 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20283 short URLs have at least one dot in them (bug #7614).
20285 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20286 nil, because using a pty is apparently too slow (bug #895).
20288 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20290 * mail/sendmail.el (sendmail-query-once): New function.
20291 (sendmail-query-once-function): New variable.
20293 2011-06-29 Glenn Morris <rgm@gnu.org>
20295 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20297 * ses.el (top-level): Require cl when compiling.
20298 (ses-set-localvars): Fix error statement.
20299 Call it at compile time to silence a storm of warnings.
20301 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20303 * window.el (normalize-live-buffer): Rename to
20304 window-normalize-buffer.
20305 (normalize-live-frame): Rename to window-normalize-frame.
20306 (normalize-any-window): Rename to window-normalize-any-window.
20307 (normalize-live-window): Rename to window-normalize-live-window.
20308 (make-window-atom): Rename to window-make-atom.
20309 (window-resize-reset): Rename to window--resize-reset.
20310 (window-resize-reset-1): Rename to window--resize-reset-1.
20311 (resize-mini-window): Rename to window--resize-mini-window.
20312 (resize-subwindows-skip-p): Rename to
20313 window--resize-subwindows-skip-p.
20314 (resize-subwindows-normal): Rename to
20315 window--resize-subwindows-normal.
20316 (resize-subwindows): Rename to window--resize-subwindows.
20317 (resize-other-windows): Rename to window--resize-siblings.
20318 (resize-this-window): Rename to window--resize-this-window.
20319 (resize-root-window): Rename to window--resize-root-window.
20320 (resize-root-window-vertically): Rename to
20321 window--resize-root-window-vertically.
20322 (normalize-buffer-to-display): Rename to
20323 window-normalize-buffer-to-display.
20324 (normalize-buffer-to-switch-to): Rename to
20325 window-normalize-buffer-to-switch-to.
20326 Correspondingly update all callers of the functions listed
20328 (display-buffer-alist, display-buffer-normalize-arguments)
20329 (display-buffer-normalize-options, display-buffer)
20330 (display-buffer-alist-set): Use "function" instead of
20333 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20335 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20336 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20337 debbugs.gnu.org. Mention acknowledgment email.
20339 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20341 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20342 buffer multibyteness, since it shouldn't matter.
20344 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20346 * window.el (display-buffer-in-side-window): Handle dedicated
20347 windows as in display-buffer-reuse-window.
20348 (display-buffer-normalize-alist): Use value of override
20350 (display-buffer-normalize-specifiers): Use value of
20351 other-window-means-other-frame specifier.
20352 (display-buffer-alist): Rewrite some texts in widgets.
20353 (display-buffer): Spread arguments when calling function
20354 specified by fun-with-args.
20356 2011-06-28 Deniz Dogan <deniz@dogan.se>
20358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20361 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20362 selectors (Bug#5732).
20363 (css-proprietary-nmstart-re): Use `regexp-opt'.
20365 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20367 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20368 (eshell-ls-date-format): New defcustom.
20369 (eshell-ls-file): Use it.
20371 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20373 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20375 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20377 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20378 (ange-ftp-make-tmp-name): New arg.
20379 (ange-ftp-file-local-copy): Use it.
20381 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20383 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20384 no-conversion (Bug#8870).
20386 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20388 * window.el (window-right, window-left, window-child)
20389 (window-child-count, window-last-child)
20390 (window-iso-combination-p, walk-window-tree-1)
20391 (window-atom-check-1, window-tree-1, delete-window)
20392 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20393 new naming conventions - window-vchild, window-hchild,
20394 window-next and window-prev are now called window-top-child,
20395 window-left-child, window-next-sibling and window-prev-sibling
20397 (resize-window-reset): Rename to window-resize-reset.
20398 (resize-window-reset-1): Rename to window-resize-reset-1.
20399 (resize-window): Rename to window-resize.
20400 (window-min-height, window-min-width)
20401 (resize-mini-window, resize-this-window, resize-root-window)
20402 (resize-root-window-vertically, adjust-window-trailing-edge)
20403 (enlarge-window, shrink-window, maximize-window)
20404 (minimize-window, delete-window, quit-restore-window)
20405 (split-window, balance-windows, balance-windows-area-adjust)
20406 (balance-windows-area, window-state-put-2)
20407 (display-buffer-even-window-sizes, display-buffer-set-height)
20408 (display-buffer-set-width, set-window-text-height)
20409 (fit-window-to-buffer): Rename all "resize-window" prefixed
20410 calls to use the "window-resize" prefix convention.
20411 (display-buffer-alist): Fix symbol for label specifier.
20412 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20413 corresponding specifier.
20414 Reported by Juanma Barranquero <lekktu@gmail.com>.
20416 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20418 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20420 (ses-call-printer): Does not pass an empty string to formatter when the
20421 cell is empty to keep from barking printer Calc math-format-value.
20423 2011-06-27 Richard Stallman <rms@gnu.org>
20425 * battery.el (battery-mode-line-limit): New variable.
20426 (battery-update): Handle it.
20428 * mail/rmailmm.el (rmail-mime-process-multipart):
20429 Handle truncated messages.
20431 2011-06-27 Glenn Morris <rgm@gnu.org>
20433 * progmodes/flymake.el (flymake-err-line-patterns):
20434 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20436 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20438 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20439 (ses--clean-!, ses--clean-_): New functions.
20440 (ses-range): Add configurability of readout order, and conversion
20443 * ses.el (ses-repair-cell-reference-all): New function.
20444 (ses-cell-symbol): Set macro as safe, so that it can be used in
20447 * ses.el: Update cycle detection algorithm.
20448 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20449 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20450 (ses-set-localvars): New function.
20451 (ses-make-cell): Add property-list as a cell element.
20452 (ses-cell-property-get-fun, ses-cell-property-get)
20453 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20454 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20456 (ses-cell-property-set, ses-cell-property-pop)
20457 (ses-cell-property-get-handle): New macro.
20458 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20459 New aliases, used for code readability.
20460 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20462 (ses-self-reference-early-detection): New defcustom.
20463 (ses-formula-references): Robustify against self-referring cells.
20464 (ses-mode): Use ses-set-localvars.
20465 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20466 before lauching the update processing.
20467 (ses-initialize-Dijkstra-attempt): New function.
20468 (ses-recalculate-cell): Update for cycle detection based on
20469 Dijkstra algorithm.
20471 * ses.el: Fix commenting and indenting convention.
20473 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20475 * bs.el (bs-cycle-next): Complete last change.
20477 2011-06-27 Drew Adams <drew.adams@oracle.com>
20479 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20481 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20483 * net/network-stream.el (network-stream-open-starttls):
20484 Don't re-get capabilities unless we've reestablished connection.
20485 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20487 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20488 to binary to possibly avoid line encoding issues on Windows (among
20491 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20493 * net/network-stream.el (open-network-stream): Return an :error
20494 saying what the problem was, if possible.
20496 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20499 * net/network-stream.el (network-stream-open-starttls): If we
20500 wanted to use STARTTLS, and the server offered it, but we weren't
20501 able to because we had no STARTTLS support, then close the connection.
20502 (open-network-stream): Return an :error element, if present.
20504 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20506 * hl-line.el (hl-line-sticky-flag): Doc fix.
20507 (global-hl-line-sticky-flag): New option (Bug#8323).
20508 (global-hl-line-highlight): Obey it.
20510 * vc/vc.el (vc-revert-show-diff): Default to t.
20512 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20514 * allout-widgets.el (allout-widgets-post-command-business):
20515 Stop decorating intermediate isearch matches. They're not being
20516 undecorated when an isearch is continued past, and isearch
20517 automatically collapses them. This leads to "widget leaks", where
20518 decorated items accumulate in collapsed areas. Lines with lots of
20519 hidden widgets can slow down cursor travel, substantially.
20520 Too much complicated machinery would be needed to ensure undecoration,
20521 so we're doing without this nicety.
20523 (allout-widgets-tally-string): Don't try to do a hash-table-count
20524 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20525 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20526 *Messages* when allout-widgets-maintain-tally is t.
20528 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20530 * window.el (display-buffer-normalize-argument): Rename to
20531 display-buffer-normalize-arguments. Handle special meaning of
20532 LABEL argument. Respect special-display-function when popping up
20533 a new frame. Fix code searching for a window showing the buffer
20535 (display-buffer-normalize-specifiers):
20536 Call display-buffer-normalize-arguments.
20537 (display-buffer-in-window): Don't undedicate the window if its
20538 buffer remains the same.
20539 Reported by Drew Adams <drew.adams@oracle.com>.
20540 (display-buffer-alist): Add choice for same-window macro
20542 (display-buffer): Mention special meaning of LABEL argument in
20543 doc-string. Fix quoting. Don't pop up a new frame even as
20546 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20548 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20549 avoid deleting the current window in some cases (bug#8911).
20551 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20553 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20556 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20558 * net/network-stream.el (network-stream-open-starttls):
20559 Use built-in TLS support if `gnutls-available-p' is true.
20560 (network-stream-open-tls): Ditto.
20562 2011-06-26 Leo Liu <sdl.web@gmail.com>
20564 * register.el (registerv): New struct.
20565 (registerv-make): New function.
20566 (jump-to-register, describe-register-1, insert-register):
20567 Support the jump-func, print-func and insert-func slot of a registerv
20570 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20572 * vc/vc.el (vc-revert-show-diff): New defcustom.
20573 (vc-diff-internal): New arg specifying diff buffer.
20574 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20575 reuse an existing *vc-diff* buffer (Bug#8927).
20577 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20579 2011-06-26 Glenn Morris <rgm@gnu.org>
20581 * progmodes/f90.el (f90-critical-indent): New option.
20582 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20583 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20584 (f90-mode): Doc fix.
20585 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20586 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20587 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20588 (f90-match-end): Handle block, critical.
20590 2011-06-25 Glenn Morris <rgm@gnu.org>
20592 * calendar/diary-lib.el (diary-included-files): Doc fix.
20593 (diary-include-files): New function, extracted from
20594 diary-include-other-diary-files and diary-mark-included-diary-files.
20595 (diary-include-other-diary-files, diary-mark-included-diary-files):
20596 Just call diary-include-files.
20597 (diary-mark-entries): Reset diary-included-files on first call.
20599 * calendar/diary-lib.el (diary-mark-entries)
20600 (diary-mark-included-diary-files):
20601 Visit included diary-files in temp buffers.
20603 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20604 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20605 (f90-start-block-re, f90-imenu-generic-expression)
20606 (f90-looking-at-program-block-start, f90-no-block-limit):
20607 Add support for submodules.
20609 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20610 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20612 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20614 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20615 buffer-file-type before setting its value, to avoid disastrous
20616 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20618 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20620 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20622 * ses.el (ses-unload-function):
20623 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20625 * proced.el (proced-unload-function):
20626 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20628 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20630 * server.el (server-create-window-system-frame): Add parameters arg.
20631 (server-process-filter): Doc fix. Handle frame-parameters.
20633 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20635 Fix bug#8730, bug#8781.
20637 * loadhist.el (unload--set-major-mode): New function.
20638 (unload-feature): Use it.
20640 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20641 (python-unload-function): New function.
20643 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20645 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20647 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20649 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20650 the candidates list.
20652 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20654 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20656 2011-06-23 Richard Stallman <rms@gnu.org>
20658 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20659 (rmail-variables): Set next-error-move-function.
20660 (rmail-what-message): Take argument POS.
20661 (rmail-next-error-move): New function.
20663 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20665 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20666 messages for adjacent non-terminals.
20668 2011-06-23 Richard Stallman <rms@gnu.org>
20670 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20671 (rmail-show-message-1): Preserve buffer modified flag.
20672 (rmail-start-mail): Don't specify use of rmail-mail-return;
20673 that's done by mail-bury now.
20674 (rmail-mail-return): Handle arg NEWBUF.
20676 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20678 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20681 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20683 * window.el (get-lru-window, get-mru-window)
20684 (get-largest-window): Never return a minibuffer window.
20685 (display-buffer-pop-up-window): Fix a bug that could lead to
20686 reusing the minibuffer window.
20687 (display-buffer): Pass original specifier argument to
20688 display-buffer-function instead of the normalized one.
20689 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20691 2011-06-22 Leo Liu <sdl.web@gmail.com>
20693 * minibuffer.el (completing-read-function)
20694 (completing-read-default): Move from minibuf.c.
20696 2011-06-22 Richard Stallman <rms@gnu.org>
20698 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20699 to Rmail even if not started by a special Rmail command.
20701 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20702 Copy the buffer currently showing just one message.
20704 2011-06-22 Roland Winkler <winkler@gnu.org>
20706 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20707 (bibtex-clean-entry): First delete the old key so that a
20708 customized algorithm for generating the new key does not get
20709 confused by the old key.
20710 (bibtex-url): Obey regexp of first step.
20711 (bibtex-search-entries): Do not use add-to-list with local
20714 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20716 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20717 stored a user name, then query for the password first, instead of
20718 waiting for SMTP to give an error message and the trying again.
20720 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20722 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20723 BUFFER in call-process.
20725 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20727 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20729 (smtpmail-try-auth-methods): Require user name and password from
20732 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20734 * window.el (display-buffer-default-specifiers)
20735 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20736 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20737 (split-window): Normalize SIDE argument (Bug#8916).
20739 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20740 (special-display-frame-alist, special-display-popup-frame):
20741 Remove duplicate declarations. These are now in window.el.
20743 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20745 * mail/smtpmail.el (smtpmail-via-smtp):
20746 Set :use-starttls-if-possible so that we always use STARTTLS if the
20747 server supports it. SMTP servers that support STARTTLS commonly
20750 * net/network-stream.el (network-stream-open-starttls): Support
20751 upgrading to STARTTLS always, even if we don't have built-in support.
20752 (open-network-stream): Add the :always-query-capabilities keyword.
20754 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20755 upgrades with `open-network-stream', and rely solely on
20756 auth-source for all credentials. Big changes throughout the file,
20758 (smtpmail-auth-credentials): Remove.
20759 (smtpmail-starttls-credentials): Remove.
20760 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20763 * net/network-stream.el (network-stream-open-starttls):
20764 Provide support for client certificates both for external and built-in
20766 (auth-source): Require.
20767 (open-network-stream): Document the :client-certificate keyword.
20768 (network-stream-certificate): Change cert-cert to cert and
20771 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20773 * net/tramp-cache.el (top): Don't load the persistency file when
20774 "emacs -Q" has been called.
20776 2011-06-21 Tim Harper <timcharper@gmail.com>
20778 * term/ns-win.el (ns-initialize-window-system):
20779 Set application-specific `ApplePressAndHoldEnabled' system
20780 resource to NO as it is not yet supported by the NS port.
20782 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20784 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20785 (list-dynamic-libraries): ...not here.
20787 2011-06-21 Leo Liu <sdl.web@gmail.com>
20789 * subr.el (sha1): Implement sha1 using secure-hash.
20791 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20793 * window.el (display-buffer-alist): In default value do not
20794 enforce searching a window on any but the selected frame.
20795 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20796 (display-buffer-select-window): Remove function.
20797 (display-buffer-in-window): When a window on another frame gets
20798 reused, do not select it any more but just raise its frame if
20799 necessary (Bug#8851) and (Bug#8856).
20800 (display-buffer-normalize-options): Handle pop-up-frames related
20801 options more faithfully.
20802 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20803 window if it is on another frame.
20804 (display-buffer-alist, display-buffer-default-specifiers):
20805 Don't make new frame unsplittable by default.
20806 (display-buffer-normalize-argument): Fix doc-string typo and use
20807 'same-frame-other-window instead of 'other-window when associating
20808 with display-buffer-macro-specifiers.
20810 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20812 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20814 (5x5-mode-map, 5x5-mode-menu): Bind them.
20815 (5x5-draw-grid): Tweak the solver's rendering.
20817 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20819 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20820 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20822 2011-06-21 Drew Adams <drew.adams@oracle.com>
20824 * menu-bar.el: Use function variable instead of switch-to-buffer.
20825 (menu-bar-select-buffer-function): New variable.
20826 (menu-bar-update-buffers): Use it (bug#8876).
20828 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20830 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20833 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20835 * x-dnd.el (x-dnd-version-from-flags)
20836 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20837 and long as number (Bug#8899).
20838 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20840 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20842 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20843 (completion-try-completion, completion-all-completions): Compute the
20844 metadata argument if it's missing; make it optional (bug#8795).
20846 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20847 (widget-complete): Use new :completion-function property.
20848 (widget-completions-at-point): New function.
20849 (default): Use :completion-function instead of :complete.
20850 (widget-default-completions): Rename from widget-default-complete;
20852 (widget-string-complete, widget-file-complete, widget-color-complete):
20854 (file, symbol, function, variable, coding-system, color):
20855 * international/mule-cmds.el (default-input-method, charset)
20856 (language-info-custom-alist):
20857 * cus-edit.el (face): Use new property :completions.
20859 * progmodes/pascal.el (pascal-completions-at-point): New function.
20860 (pascal-mode): Use it.
20861 (pascal-mode-map): Use completion-at-point.
20862 (pascal-toggle-completions): Make obsolete.
20863 (pascal-complete-word, pascal-show-completions):
20864 * progmodes/octave-mod.el (octave-complete-symbol):
20865 Redefine as obsolete alias.
20866 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20867 Signal absence of completion info for old Octave,
20868 (inferior-octave-complete): Redefine as obsolete alias.
20869 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20870 (meta-completions-at-point): Rename from meta-complete-symbol and
20871 adapt it for use on completion-at-point-functions.
20872 (meta-common-mode): Use it.
20873 (meta-looking-at-backward, meta-match-buffer): Remove.
20874 (meta-complete-symbol): Redefine as obsolete alias.
20875 (meta-common-mode-map): Use completion-at-point.
20876 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20877 (makefile-mode-map): Use completion-at-point.
20878 (makefile-completions-at-point): Rename from makefile-complete and
20879 adapt it for use on completion-at-point-functions.
20880 (makefile-mode): Use it.
20881 (makefile-complete): Redefine as obsolete alias.
20883 2011-06-20 Deniz Dogan <deniz@dogan.se>
20885 * net/rcirc.el: Delete trailing whitespaces once and for all.
20887 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20889 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20891 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20893 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20895 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20897 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20899 * window.el (display-buffer-other-window-means-other-frame):
20900 Call display-buffer-normalize-alist.
20901 (display-buffer-normalize-specifiers-1): Rename to
20902 display-buffer-normalize-argument. New argument other-frame.
20904 (display-buffer-normalize-specifiers-2): Rename to
20905 display-buffer-normalize-options.
20906 (display-buffer-normalize-alist-1): New function.
20907 (display-buffer-normalize-specifiers-3): Rename to
20908 display-buffer-normalize-alist.
20909 Call display-buffer-normalize-alist-1.
20910 (display-buffer-normalize-options-inhibit): New variable.
20911 (display-buffer-normalize-specifiers): Rewrite calling
20912 display-buffer-normalize-alist,
20913 display-buffer-normalize-argument, and
20914 display-buffer-normalize-options. Don't call the latter if
20915 display-buffer-normalize-options-inhibit is non-nil.
20916 (frame-auto-delete): New option.
20917 (window-deletable-p): Use frame-auto-delete.
20918 (window-list-no-nils, window-state-ignored-parameters)
20919 (window-state-get-1, window-state-get, window-state-put-list)
20920 (window-state-put-1, window-state-put-2, window-state-put):
20922 (display-buffer-normalize-options): Move special-display-p group
20923 after pop-up-frame group (Bug#8851) and (Bug#8856).
20925 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20927 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20929 (rx-submatch-n): New function.
20932 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20935 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20937 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20939 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20940 anytime existing face settings are present (Bug#8889).
20942 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20943 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20944 Remove unused argument.
20946 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20948 * window.el (display-buffer-default-specifiers):
20949 Remove pop-up-frame. Add pop-up-window-min-height,
20950 pop-up-window-min-width, and another reuse-window specifier
20951 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20952 (display-buffer-normalize-specifiers-2):
20953 Handle split-height-threshold and split-width-threshold also when
20954 pop-up-windows is unset. Add a reuse-window specifier for the
20955 case popping up a new window fails.
20956 (special-display-popup-frame): Remove double quoting.
20957 (display-buffer-normalize-specifiers-1): Fix thinko.
20959 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20961 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20962 according to comint-completion-addsuffix.
20964 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20965 (pcomplete-suffix-list): Mark as obsolete.
20966 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20967 pcomplete-seen in the closure.
20968 (pcomplete-comint-setup): Setup completion-at-point as well.
20969 (pcomplete--entries): New function.
20970 (pcomplete--env-regexp): New var.
20971 (pcomplete-entries): Rewrite to work with partial-completion and
20972 without relying on pcomplete-suffix-list.
20973 (pcomplete-pare-list): Remove, unused.
20975 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20977 * window.el (display-buffer-alist): Set pop-up-window-min-height
20978 and pop-up-window-min-width in default value. Reported by
20979 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20980 other-window-means-other-frame.
20981 (display-buffer-macro-specifiers): Comment out entry for
20982 other-window specifier.
20983 (display-buffer-other-window-means-other-frame): New function.
20984 (display-buffer-normalize-specifiers-1): New arguments
20985 buffer-name and label. Treat other-window case specially.
20986 (display-buffer-normalize-specifiers-2): Treat other-window case
20988 (display-buffer-normalize-specifiers-3): New function.
20989 (display-buffer-normalize-specifiers):
20990 Call display-buffer-normalize-specifiers-3.
20992 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20994 * window.el (same-window-p): Fix two typos introduced when
20995 adding with-no-warnings.
20996 (display-buffer-normalize-specifiers-1): Don't check
20997 pop-up-frames for 'unset initialization.
20998 (display-buffer-normalize-specifiers-2): Major rewrite using
20999 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21000 (pop-up-frames, display-buffer-reuse-frames)
21001 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21002 Suggested by David Engster <deng@randomsample.de>.
21003 (even-window-heights): Initialize to 'unset.
21004 (display-buffer-alist-set): Handle new 'unset initializations.
21005 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21008 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21010 * window.el (display-buffer-normalize-specifiers-1):
21011 Respect current value of pop-up-frames for most reasonable values of
21012 second argument of display-buffer (Bug#8865).
21013 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21014 (switch-to-buffer-other-window-same-frame)
21015 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21017 (display-buffer): Don't check noninteractive when calling
21018 display-buffer-pop-up-frame.
21019 (display-buffer-pop-up-frame): Never pop up a frame in
21020 noninteractive mode (Bug#8857).
21021 (enlarge-window, shrink-window): Don't report an error when the
21022 window can't be resized as requested (Bug#8862).
21024 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21026 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21028 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21030 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21032 2011-06-15 Alan Mackenzie <acm@muc.de>
21034 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21035 for declarators, disable knr checking to speed up for normal files.
21036 2: Refactor, replacing a sequence of nested if forms by a cond form.
21038 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21040 * net/network-stream.el (open-network-stream): Add the keyword
21041 :always-query-capabilities for the case where you want to force a
21042 `plain' network connection, but the protocol still requires the
21043 capabilitiy command (i.e., SMTP and EHLO).
21045 * subr.el (process-live-p): Rename from `process-alive-p' for
21046 consistency with other `-live-p' functions.
21048 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21050 * window.el (same-window-buffer-names, same-window-regexps)
21051 (special-display-frame-alist, special-display-popup-frame)
21052 (special-display-function, special-display-buffer-names)
21053 (special-display-regexps, pop-up-frame-alist)
21054 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21055 (pop-up-windows, split-window-preferred-function)
21056 (split-height-threshold, split-width-threshold, even-window-heights)
21057 (display-buffer-mark-dedicated): Don't encourage the use of
21058 display-buffer-alist from Elisp code.
21060 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21062 * progmodes/python.el (python-mode): Derive from prog-mode.
21063 * progmodes/ps-mode.el (ps-mode):
21064 * progmodes/mixal-mode.el (mixal-mode):
21065 * progmodes/cfengine.el (cfengine-mode):
21066 * progmodes/ld-script.el (ld-script-mode): Likewise.
21068 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21070 * window.el (display-buffer-alist): Trim default value to avoid
21071 popping up a new frame (Bug#8857) or reusing an arbitrary window
21073 (display-buffer): Do not fall back on popping up a new frame in
21074 batch mode (Bug#8857).
21076 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21078 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21079 (custom-theme-summary): New function.
21080 (customize-themes): Use it.
21082 2011-06-13 Glenn Morris <rgm@gnu.org>
21084 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21086 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21088 * help.el (help-window): Remove variable.
21089 (help-window-point-marker, temp-buffer-max-height)
21090 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21091 (help-print-return-message): Don't set help-window.
21092 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21093 (help-window-setup-finish): Remove.
21094 (help-window-display-message, help-window-setup)
21095 (with-help-window): Major rewrite based on new
21096 display-buffer-window variable.
21098 * help-mode.el (help-mode-finish): Remove help-window related
21101 * view.el (view-exits-all-viewing-windows): Remove reference to
21102 view-return-to-alist in doc-string.
21103 (view-return-to-alist): Make obsolete.
21104 (view-buffer): Call pop-to-buffer-same-window and remove
21106 (view-buffer-other-window): Call pop-to-buffer-other-window and
21107 simplify code. Ignore second argument.
21108 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21109 simplify code. Ignore second argument.
21110 (view-return-to-alist-update): Make obsolete.
21111 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21112 Rewrite using quit-restore window parameters.
21113 (view-mode-exit): Rename second argument to EXIT-ONLY.
21114 Rewrite using quit-restore-window.
21115 (View-exit, View-exit-and-edit, View-leave, View-quit)
21116 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21117 appropriate arguments.
21118 (view-end-message): Use quit-restore window parameter.
21120 * window.el (display-buffer-function): Rewrite doc-string.
21121 (display-buffer-window, display-buffer-alist): New variables.
21122 (display-buffer-split-specifiers)
21123 (display-buffer-side-specifiers)
21124 (display-buffer-macro-specifiers): New constants.
21125 (display-buffer-even-window-sizes, display-buffer-set-height)
21126 (display-buffer-set-width, display-buffer-select-window)
21127 (display-buffer-in-window, display-buffer-reuse-window)
21128 (display-buffer-split-window-1, display-buffer-split-window)
21129 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21130 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21131 (display-buffer-in-side-window, normalize-buffer-to-display)
21132 (display-buffer-normalize-specifiers-1)
21133 (display-buffer-normalize-specifiers-2)
21134 (display-buffer-normalize-specifiers, display-buffer-frame):
21136 (display-buffer): Major rewrite.
21137 (display-buffer-other-window, display-buffer-other-frame)
21138 (pop-to-buffer, switch-to-buffer-other-window)
21139 (switch-to-buffer-other-frame): Rewrite.
21140 (display-buffer-same-window, display-buffer-same-frame)
21141 (display-buffer-same-frame-other-window)
21142 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21143 (pop-to-buffer-other-window)
21144 (pop-to-buffer-same-frame-other-window)
21145 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21146 (switch-to-buffer-other-window-same-frame): New functions.
21147 (same-window-p, special-display-p): Rewrite disabling warnings.
21149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21150 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21152 (same-window-buffer-names, same-window-regexps)
21153 (special-display-frame-alist, special-display-popup-frame)
21154 (special-display-function, special-display-buffer-names)
21155 (special-display-regexps, pop-up-frame-alist)
21156 (pop-up-frame-function, split-window-preferred-function)
21157 (split-height-threshold, split-width-threshold)
21158 (even-window-heights): Make obsolete.
21160 2011-06-12 Glenn Morris <rgm@gnu.org>
21162 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21163 Misc simplifications.
21165 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21167 * window.el (window-safely-shrinkable-p): Restore function which
21168 was inadvertently removed in change from 2011-06-11. Declare as
21171 * calendar/calendar.el (calendar-generate-window):
21172 Use window-iso-combined-p instead of combination of one-window-p and
21173 window-safely-shrinkable-p.
21175 2011-06-12 Glenn Morris <rgm@gnu.org>
21177 * progmodes/fortran.el (fortran-mode-syntax-table):
21178 * progmodes/f90.el (f90-mode-syntax-table):
21179 Set % to punctuation. (Bug#8820)
21180 (f90-find-tag-default): Remove, no longer needed.
21182 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21184 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21186 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21188 * image.el (image-animated-p): Return animation delay in seconds.
21189 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21190 (image-animate-timeout): Remove DELAY argument. Don't assume
21191 every subimage has the same delay; get it from image-animated-p.
21192 (image-animate): Caller changed.
21194 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21196 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21197 to ignored backtrace functions.
21199 2011-06-11 Glenn Morris <rgm@gnu.org>
21201 * calendar/appt.el (appt-disp-window-function): Doc fix.
21202 (appt-check): Handle overlapping appointments. (Bug#8337)
21204 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21206 * window.el (window-tree-1, window-tree): New functions, moving
21207 the latter to window.el.
21208 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21209 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21210 (bw-refresh-edges): Remove.
21211 (balance-windows-1, balance-windows-2): New functions.
21212 (balance-windows): Rewrite in terms of window tree functions,
21213 balance-windows-1 and balance-windows-2.
21214 (bw-adjust-window): Remove.
21215 (balance-windows-area-adjust): New function with functionality of
21216 bw-adjust-window but using resize-window.
21217 (set-window-text-height): Rewrite doc-string.
21218 Use normalize-live-window and resize-window.
21219 (enlarge-window-horizontally, shrink-window-horizontally):
21220 Rename argument to DELTA.
21221 (window-buffer-height): New function.
21222 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21223 Rewrite using new window resize routines.
21224 (kill-buffer-and-window, mouse-autoselect-window-select):
21225 Use ignore-errors instead of condition-case.
21226 (quit-window): Call delete-frame instead of delete-windows-on
21227 for the only buffer on frame.
21229 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21231 * loadup.el (top-level): Load window before files for the sake
21232 of replace-buffer-in-windows.
21234 * files.el (read-buffer-to-switch)
21235 (switch-to-buffer-other-window)
21236 (switch-to-buffer-other-frame, display-buffer-other-frame):
21239 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21240 (previous-buffer): Move to window.el.
21242 * bindings.el (unbury-buffer): Move to window.el.
21244 * window.el (delete-other-windows-vertically): Move after
21245 definition of delete-other-windows.
21246 (other-window, delete-windows-on, replace-buffer-in-windows):
21247 Move here from window.c.
21248 (record-window-buffer, unrecord-window-buffer)
21249 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21250 (switch-to-next-buffer): New functions.
21251 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21252 from simple.el. Call switch-to-next-buffer.
21253 (previous-buffer): Move here from simple.el.
21254 Call switch-to-prev-buffer.
21255 (bury-buffer): Move here from buffer.c. Switch to previous
21256 buffer when window cannot be deleted.
21257 (unbury-buffer): Move here from bindings.el.
21258 (ctl-x-map): Move binding for other-window from window.c to
21260 (read-buffer-to-switch, switch-to-buffer-other-window)
21261 (switch-to-buffer-other-frame): Move here from files.el.
21262 (normalize-buffer-to-switch-to): New functions.
21263 (switch-to-buffer): Move here from buffer.c.
21264 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21266 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21268 * window.el (window-min-height, window-min-width): Move here
21269 from window.c. Add defcustoms and rewrite doc-strings.
21270 (resize-mini-window, resize-window): New functions.
21271 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21272 Move here from window.c.
21273 (maximize-window, minimize-window): New functions.
21274 (delete-window, delete-other-windows, split-window): Move here
21276 (window-split-min-size): New function.
21277 (split-window-keep-point): Mention split-window-above-each-other
21278 instead of split-window-vertically.
21279 (split-window-above-each-other, split-window-vertically):
21280 Rename split-window-vertically to split-window-above-each-other
21281 and provide defalias for old definition.
21282 (split-window-side-by-side, split-window-horizontally):
21283 Rename split-window-horizontally to split-window-side-by-side
21284 and provide defalias for the old definition.
21285 (ctl-x-map): Move bindings for delete-window,
21286 delete-other-windows and enlarge-window here from window.c.
21287 Replace bindings for split-window-vertically and
21288 split-window-horizontally by bindings for
21289 split-window-above-each-other and split-window-side-by-side.
21291 * cus-start.el (all): Remove entries for window-min-height and
21292 window-min-width. Add entries for window-splits and
21295 2011-06-09 Glenn Morris <rgm@gnu.org>
21297 * calendar/appt.el (appt-mode-line): New function.
21298 (appt-check, appt-disp-window): Use it.
21300 * files.el (hack-one-local-variable-eval-safep):
21301 Allow minor-modes with explicit +/-1 arguments.
21303 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21305 * term/xterm.el (xterm): Add defgroup.
21306 (xterm-extra-capabilities): Add defcustom to supply known xterm
21307 capabilities, skip querying them, or query them (default).
21308 (terminal-init-xterm): Use it.
21309 (terminal-init-xterm-modify-other-keys): New function to set up
21310 modifyOtherKeys support to simplify `terminal-init-xterm'.
21312 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21314 * window.el (resize-window-reset, resize-window-reset-1)
21315 (resize-subwindows-skip-p, resize-subwindows-normal)
21316 (resize-subwindows, resize-other-windows, resize-this-window)
21317 (resize-root-window, resize-root-window-vertically)
21318 (window-deletable-p, window-or-subwindow-p)
21319 (frame-root-window-p): New functions.
21321 2011-06-09 Glenn Morris <rgm@gnu.org>
21323 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21324 (ange-ftp-get-files): Use it.
21326 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21328 * mail/sendmail.el (mail-recover-1, mail-recover):
21329 * files.el (recover-file, recover-session):
21330 Handle dired-listing-switches not being just a single short option.
21332 2011-06-09 Glenn Morris <rgm@gnu.org>
21334 * calendar/appt.el (appt-display-message, appt-disp-window):
21335 Handle lists of appointments.
21337 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21339 * window.el (one-window-p): Move down in code.
21340 Rewrite doc-string.
21341 (window-current-scroll-bars): Rewrite doc-string.
21342 Normalize live window argument.
21343 (walk-windows, get-window-with-predicate, count-windows):
21344 Rewrite doc-string. Use window-list-1.
21345 (window-in-direction-2, window-in-direction, get-mru-window):
21348 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21350 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21351 Doc fix (Bug#8713).
21353 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21355 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21357 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21359 * loadhist.el (unload-feature-special-hooks):
21360 Add `comint-output-filter-functions'.
21362 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21364 * calendar/appt.el (appt-check): Move some initializations into the let.
21366 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21368 * window.el (window-height): Defalias to window-total-height.
21369 (window-width): Defalias to window-body-width.
21371 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21373 * image-mode.el (image-toggle-animation): New command.
21374 (image-mode-map): Bind it to RET.
21375 (image-mode): Update message.
21376 (image-toggle-display-image): Avoid a spurious cache flush.
21377 (image-transform-rotation): Doc fix.
21378 (image-transform-properties): Return quickly in the normal case.
21379 (image-animate-loop): Rename from image-animate-max-time.
21381 * image.el (image-animate-max-time): Move to image-mode.el.
21382 (create-animated-image): Remove unnecessary function.
21383 (image-animate): Rename from image-animate-start. New arg.
21384 (image-animate-stop): Remove; just use image-animate-timer.
21385 (image-animate-timer): Use car-safe.
21386 (image-animate-timeout): Rename argument.
21388 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21390 * window.el (get-lru-window, get-largest-window): Move here from
21391 window.c. Rename first argument to ALL-FRAMES.
21392 Rephrase doc-strings.
21393 (get-buffer-window-list): Rewrite using window-list-1.
21394 Rephrase doc-string.
21395 (window-safe-min-height, window-safe-min-width): New constants.
21396 (window-size-ignore, window-min-size, window-min-size-1)
21397 (window-sizable, window-sizable-p, window-size-fixed-1)
21398 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21399 (window-max-delta-1, window-max-delta, window-resizable)
21400 (window-resizable-p, window-total-height, window-total-width)
21401 (window-body-width): New functions.
21402 (window-full-height-p, window-full-width-p): Rewrite using
21404 (window-body-height): Rewrite using window-body-size.
21406 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21408 * window.el (window-right, window-left, window-child)
21409 (window-child-count, window-last-child, window-any-p)
21410 (normalize-live-buffer, normalize-live-frame)
21411 (normalize-any-window, normalize-live-window)
21412 (window-iso-combination-p, window-iso-combined-p)
21413 (window-iso-combinations)
21414 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21415 (windows-with-parameter, window-with-parameter)
21416 (window-atom-root, make-window-atom, window-atom-check-1)
21417 (window-atom-check, window-side-check, window-check):
21419 (ignore-window-parameters, window-sides, window-sides-vertical)
21420 (window-sides-slots): New variables.
21421 (window-size-fixed): Move down in code. Minor doc-string fix.
21423 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21425 * comint.el (comint-dynamic-complete-as-filename)
21426 (comint-dynamic-complete-filename): Correctly call
21427 completion-in-region.
21429 2011-06-05 Deniz Dogan <deniz@dogan.se>
21431 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21434 2011-06-05 Deniz Dogan <deniz@dogan.se>
21436 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21437 (rcirc): Use it to prompt for encryption.
21439 2011-06-05 Roland Winkler <winkler@gnu.org>
21441 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21442 (bibtex-search-entries): New command bound to C-c C-a.
21443 (bibtex-display-entries): New function.
21445 2011-06-05 Roland Winkler <winkler@gnu.org>
21447 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21448 (bibtex-insert-kill): After yanking insert newline if necessary.
21449 (bibtex-initialize): Call bibtex-string-files-init only once.
21450 (bibtex-mode): Do not call easy-menu-add.
21451 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21452 (bibtex-yank): Set arg properly if nil.
21454 2011-06-05 Roland Winkler <winkler@gnu.org>
21456 * textmodes/bibtex.el (bibtex-search-entry-globally):
21458 (bibtex-search-entry): Use it.
21460 2011-06-05 Roland Winkler <winkler@gnu.org>
21462 * textmodes/bibtex.el (bibtex-entry-format): New option
21464 (bibtex-format-entry, bibtex-reformat): Honor this option.
21465 (bibtex-parse-entry): Return fields in proper order.
21467 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21469 * doc-view.el (doc-view-remove-if): Move computation of result out
21470 of `dolist' to silence misleading lexical-binding warning.
21472 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21474 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21475 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21477 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21479 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21482 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21484 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21485 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21486 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21487 (tramp-parse-putty):
21488 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21489 (tramp-completion-function-alist-ssh)
21490 (tramp-completion-function-alist-telnet)
21491 (tramp-completion-function-alist-su)
21492 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21495 * net/tramp-ftp.el:
21497 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21498 load "tramp.el" `tramp-set-completion-function'.
21500 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21502 * shell.el: Require and use pcomplete.
21503 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21504 (shell-completion-vars): Set pcomplete-default-completion-function.
21506 2011-06-04 Deniz Dogan <deniz@dogan.se>
21508 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21511 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21513 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21515 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21517 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21518 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21519 * vc/log-view.el (log-view-beginning-of-defun):
21520 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21521 (smerge-refine-forward, smerge-refine-chopup-region):
21522 Silence warning for unused `dotimes' counter variables.
21524 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21526 * net/tramp.el (tramp-with-progress-reporter): Rename from
21527 with-progress-reporter. Use `declare'.
21528 * net/tramp-smb.el:
21530 * net/tramp-gvfs.el: Update all uses.
21532 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21534 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21535 buffer isn't killed before making it current.
21537 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21539 Silence various byte-compiler warnings.
21540 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21541 `access-type' and new obsolescence format.
21542 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21544 (byte-compile-check-variable): New `access-type' argument.
21545 Only warn if the access-type is obsolete.
21546 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21547 (byte-compile-variable-set): Adjust callers.
21548 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21549 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21550 setting it as obsolete.
21551 * simple.el (minibuffer-completing-symbol):
21552 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21553 access as obsolete.
21554 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21556 * international/quail.el (quail-mouse-choose-completion): Remove unused
21557 code referring to obsolete var.
21558 (quail-choose-completion-string): Remove.
21559 * server.el (server-clients-with, server-kill-buffer-query-function)
21560 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21561 * proced.el (proced-send-signal):
21562 * emacs-lisp/lisp.el (lisp-complete-symbol):
21563 Replace completion-annotate-function with completion-extra-properties.
21565 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21567 * simple.el (goto-line): Use read-number.
21568 (overriding-map-is-bound): Remove.
21569 (saved-overriding-map): Change default.
21570 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21571 Take the map as argument.
21572 (universal-argument, negative-argument, digit-argument): Use it.
21573 (restore-overriding-map): Adjust.
21574 (do-auto-fill): Use fill-forward-paragraph.
21575 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21577 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21578 (minibuffer-inactive-mode): New major mode.
21579 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21580 the *Messages* buffer" hack.
21581 (mouse-popup-menubar): Don't burp if the event is a normal key.
21583 Miscellaneous tweaks.
21584 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21585 lexical scoping as in subr.el's dolist and dotimes.
21586 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21587 Silence compiler warning.
21588 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21589 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21590 * international/ccl.el (ccl-compile): Trivial simplification.
21591 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21592 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21593 `printflag' argument.
21594 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21595 Purecopy the whole obsolescence data.
21597 2011-06-01 Leo Liu <sdl.web@gmail.com>
21599 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21600 improve doc-string as suggested by Marco Pessotto
21601 <melmothx@gmail.com>.
21602 (rcirc-print): Fix last change.
21604 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21606 * minibuffer.el (complete-with-action): Return nil for the metadata and
21607 boundaries of non-functional tables.
21608 (completion-table-dynamic): Return nil for the metadata.
21609 (completion-table-with-terminator): Add default case, using
21610 complete-with-action.
21611 (completion--metadata): New function.
21612 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21613 to try and avoid pathological performance problems.
21614 (completion--embedded-envvar-table): Return `category' metadata.
21616 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21618 * subr.el (process-alive-p): New tiny convenience function.
21620 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21622 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21623 content but also its previous major mode.
21625 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21627 * emacs-lisp/debug.el (debug): Restore the previous content of the
21628 *Backtrace* buffer when we exit with C-M-c.
21630 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21632 * minibuffer.el: Add metadata method to completion tables.
21633 (completion-category-overrides): New defcustom.
21634 (completion-metadata, completion--field-metadata)
21635 (completion-metadata-get, completion--styles)
21636 (completion--cycle-threshold): New functions.
21637 (completion-try-completion, completion-all-completions):
21638 Add `metadata' argument to choose completion-styles.
21639 (completion--do-completion): Use metadata to choose cycling.
21640 (completion-all-sorted-completions): Use metadata for sorting.
21641 Remove :completion-cycle-penalty which is not needed any more.
21642 (completion--try-word-completion): Add `metadata' argument.
21643 (minibuffer-completion-help): Check metadata for annotation function
21645 (completion-file-name-table): Return `category' metadata.
21646 (minibuffer-completing-file-name): Make obsolete.
21647 * simple.el (minibuffer-completing-symbol): Make obsolete.
21648 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21649 completion-try-completion.
21651 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21653 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21655 2011-05-30 Leo Liu <sdl.web@gmail.com>
21657 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21658 (rcirc-print): Decode all incoming messages (bug#8744).
21659 (rcirc-decode-coding-system): Allow value nil for automatic coding
21662 2011-06-01 Glenn Morris <rgm@gnu.org>
21664 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21666 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21668 * image.el (image-animate-max-time): Allow nil and t values.
21670 (create-animated-image): Doc fix.
21671 (image-animate-start): Remove second arg; just use
21672 image-animate-max-time.
21673 (image-animate-timeout): Doc fix. Args changed.
21675 * image-mode.el (image-toggle-display-image): Ensure that the
21676 image spec passed to the animate timer is the same object as in
21677 the buffer's display property (Bug#6981).
21678 (image-transform-properties): Doc fix.
21680 * image.el (image-animate-max-time): Default to nil.
21682 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21684 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21685 entire buffer list (Bug#8184).
21687 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21689 * image.el (imagemagick-types-inhibit)
21690 (imagemagick-register-types): Doc fix.
21692 2011-05-29 Deniz Dogan <deniz@dogan.se>
21694 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21697 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21699 * select.el: Don't perform clipboard-manager saving in hooks;
21700 leave the hooks empty.
21702 2011-05-28 Leo Liu <sdl.web@gmail.com>
21704 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21705 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21706 (occur-edit-mode): New major mode (Bug#8463).
21707 (occur-after-change-function): New function.
21708 (occur-engine): Give Occur tags a read-only property.
21710 2011-05-28 Kevin Ryde <user42@zip.com.au>
21712 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21714 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21716 * bindings.el (help-echo): Make the initial non-indicator dash
21717 empty on graphical terminals (Bug#7295).
21719 * files.el (auto-mode-alist): Move config rule after the
21720 in-stripping one (Bug#8547).
21722 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21724 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21725 setting (Bug#8740).
21727 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21729 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21730 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21733 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21735 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21737 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21739 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21740 (hs-hide-block-at-point, hs-find-block-beginning)
21741 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21744 2011-05-28 Glenn Morris <rgm@gnu.org>
21746 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21748 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21750 * help-fns.el (describe-function-1): If the function is a derived
21751 major mode, print the parent mode.
21753 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21754 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21756 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21758 * minibuffer.el (completion--capf-wrapper): Check applicability before
21759 returning non-nil for non-exclusive completion data.
21760 * progmodes/etags.el (tags-completion-at-point-function):
21761 * info-look.el (info-lookup-completions-at-point): Mark as
21763 (info-complete): Adjust accordingly.
21765 * info-look.el: Convert to lexical-binding and completion-at-point.
21766 (info-lookup-completions-at-point): New function.
21767 (info-complete): Use it and completion-in-region.
21769 2011-05-28 Drew Adams <drew.adams@oracle.com>
21771 * isearch.el: Let M-e start with point at the first mismatched char.
21772 (isearch-fail-pos): New function.
21773 (isearch-edit-string): Use it.
21775 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21777 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21779 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21781 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21782 traversal functions for avl-trees.
21783 (avl-tree--stack): New struct.
21784 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21785 (avl-tree-enter): Add optional `updatefun' arg.
21786 (avl-tree--do-enter): Add optional `updatefun' arg.
21787 Change return value.
21788 (avl-tree-delete): Add optional `test' and `nilflag' args.
21789 (avl-tree--do-delete): Add `test' and `nilflag' args.
21790 Change return value.
21791 (avl-tree-member): Add optional `nilflag'
21792 (avl-tree-member-p): New function.
21793 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21794 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21795 (avl-tree-stack-empty-p): New functions.
21797 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21798 avl-tree--del-balance1 and make it work both ways.
21799 (avl-tree--del-balance2): Remove.
21800 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21801 make it work both ways.
21802 (avl-tree--enter-balance2): Remove.
21803 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21805 (avl-tree--mapc, avl-tree-map): Add direction argument.
21807 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21809 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21811 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21813 * select.el: Support clipboard managers with built-in function
21814 x-clipboard-manager-save, via delete-frame-functions and
21816 (xselect-convert-to-targets): Add MULTIPLE target to list.
21817 (xselect-convert-to-save-targets): New function.
21819 2011-05-27 Kenichi Handa <handa@m17n.org>
21821 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21822 let-binding rfc2047-encode-encoded-words to nil.
21824 2011-05-27 Glenn Morris <rgm@gnu.org>
21826 * mail/emacsbug.el: Don't require url-util.
21828 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21830 * files.el (set-auto-mode):
21831 Also respect mode: entries at the end of the file. (Bug#8586)
21833 2011-05-26 Glenn Morris <rgm@gnu.org>
21835 * files.el (hack-local-variables-prop-line, hack-local-variables):
21836 Downcase mode names, as seems to be traditional.
21837 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21839 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21840 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21842 2011-05-25 Julien Danjou <julien@danjou.info>
21844 * textmodes/rst.el (rst-define-level-faces): Do not define face
21845 symbol if it is already defined.
21847 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21849 * play/5x5.el (5x5-new-game, 5x5-randomize):
21850 Reset 5x5-solver-output to nil when a new grid is cast.
21851 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21852 these debugging traces, as defmacro breaks the compiled code.
21854 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21856 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21858 2011-05-24 Leo Liu <sdl.web@gmail.com>
21860 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21861 (vc-bzr-sha1): Adapt.
21863 * sha1.el: Remove. Function `sha1' is now builtin.
21865 * bindings.el: Provide sha1 feature.
21867 2011-05-24 Kenichi Handa <handa@m17n.org>
21869 * mail/sendmail.el: Require `rfc2047'.
21870 (mail-insert-from-field): Do not perform RFC2047 encoding.
21871 (mail-encode-header): New function.
21872 (sendmail-send-it): Set buffer-file-coding-system of the work
21873 buffer to the return value of select-message-coding-system.
21874 Call mail-encode-header.
21876 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21878 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21880 * mail/supercite.el (sc-default-cite-frame):
21881 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21883 2011-05-24 Glenn Morris <rgm@gnu.org>
21885 * progmodes/python.el (brm-menu): Declare.
21887 * emulation/viper.el (viper-set-hooks): Declare.
21889 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21890 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21891 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21892 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21893 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21894 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21896 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21898 Add an :exit-function for completion-at-point.
21900 * minibuffer.el (completion--done): New fun.
21901 (completion--do-completion): Use it. New arg `expect-exact'.
21902 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21903 since completion--do-completion does it for us now.
21904 (minibuffer-force-complete): Use completion--done and
21905 completion--replace. Handle sole-completion case with more care.
21906 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21907 (completion-extra-properties): New var.
21908 (completion-annotate-function): Make obsolete.
21909 (minibuffer-completion-help): Adjust accordingly.
21910 Use completion-list-insert-choice-function.
21911 (completion-at-point, completion-help-at-point):
21912 Bind completion-extra-properties.
21913 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21914 * simple.el (completion-list-insert-choice-function): New var.
21915 (completion-setup-function): Preserve it.
21916 (choose-completion): Pay attention to it, shuffle the code a bit.
21917 (choose-completion-string): New arg `insert-function'.
21919 * textmodes/bibtex.el: Convert to lexical binding.
21920 (bibtex-mode-map): Use completion-at-point.
21921 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21922 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21923 (bibtex-complete): Define as obsolete alias.
21924 (bibtex-complete-internal): Remove.
21925 (bibtex-format-entry): Remove unused sub-group in regexp.
21926 * shell.el (shell--command-completion-data)
21927 (shell-environment-variable-completion):
21928 * pcomplete.el (pcomplete-completions-at-point):
21929 * comint.el (comint--complete-file-name-data): Use :exit-function
21930 instead of completion-table-with-terminator so it also works for
21933 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21935 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21937 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21940 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21942 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21944 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21945 customization variable and implement: If non-nil, auto-fill will
21946 be inhibited while on topic's header line.
21948 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21950 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21951 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21952 always have a solution in grid size = 5 cases.
21953 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21954 (5x5-solver-output, 5x5-log-buffer): New vars.
21955 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21956 Make these variables buffer local to achieve 5x5 multi-session-ness.
21957 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21958 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21959 (5x5-solve-suggest): New funs.
21960 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21961 randomize a grid so that we ensure that there is always a solution.
21962 (5x5-make-random-grid): Allow other movement than flipping.
21964 2011-05-23 Kevin Ryde <user42@zip.com.au>
21966 * emacs-lisp/advice.el (ad-read-advised-function):
21967 Use `function-called-at-point' as the default, if it has
21968 advice and passes PREDICATE.
21970 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21972 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21973 byte-compile-lambda if it's actually a lambda.
21975 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21976 Fix function quoting. Use backquote better.
21978 2011-05-22 Yuanle Song <sylecn@gmail.com>
21980 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21981 matching (Bug#8516).
21983 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21985 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21986 different face (Bug#8178).
21988 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21990 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21991 defface (Bug#8144).
21993 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21995 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21996 funcall as well (bug#8712). Warn when performing those conversions.
21997 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21999 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22001 2011-05-22 Glenn Morris <rgm@gnu.org>
22003 * files.el (hack-local-variables-prop-line): Small simplifications.
22004 (hack-local-variables, hack-local-variables-prop-line):
22005 If MODE-ONLY, return the mode, rather than just `t'.
22007 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22009 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22011 2011-05-21 Glenn Morris <rgm@gnu.org>
22013 * files.el (hack-local-variables-prop-line, hack-local-variables):
22014 If only interested in the mode, don't bother doing the other stuff.
22016 * image-mode.el (image-after-revert-hook):
22017 Redraw all frames on which the image is visible. (Bug#8567)
22019 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22021 * wid-edit.el (widget-checklist-match-inline):
22022 Fix 2011-04-19 change. (Bug#8649)
22024 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22026 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22027 Also allow singlespace after single-letter capitals followed by a dot.
22029 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22030 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22032 2011-05-20 Nix <nix@esperi.org.uk>
22034 * files.el (basic-save-buffer-2):
22035 Fix handling of break-hardlink-on-save with non-existent files.
22037 2011-05-19 Deniz Dogan <deniz@dogan.se>
22039 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22040 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22042 2011-05-19 Glenn Morris <rgm@gnu.org>
22044 * progmodes/f90.el (f90-type-def-re):
22045 Handle "type, bind(c)". (Bug#8691)
22047 * emacs-lisp/autoload.el (batch-update-autoloads):
22048 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22050 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22052 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22053 property for the correct connection in case of multihops.
22055 2011-05-18 Glenn Morris <rgm@gnu.org>
22057 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22058 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22060 Rationalize calendar handling of day and month abbrev-arrays.
22061 * calendar/calendar.el (calendar-customized-p): New function.
22062 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22063 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22065 (calendar-abbrev-length, calendar-day-abbrev-array)
22066 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22067 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22068 Elements may no longer be nil.
22069 (calendar-day-name, calendar-month-name):
22070 Update for changed nature of abbrev arrays.
22071 * calendar/diary-lib.el (diary-name-pattern):
22072 Update for changed nature of abbrev arrays.
22073 (diary-mark-entries-1): Update calendar-make-alist calls.
22074 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22075 * calendar/cal-html.el (cal-html-day-abbrev-array):
22076 Simply inherit from calendar-day-abbrev-array.
22078 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22080 * progmodes/grep.el (grep-mode): Disable default
22081 compilation-directory-matcher setting (bug#8684).
22083 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22085 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22086 instead of "head" and "tail". There were problems with SunOS 5.9,
22087 and it performs better.
22089 2011-05-17 Glenn Morris <rgm@gnu.org>
22091 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22093 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22094 Replace obsolete function.
22096 * shell.el (pcomplete-parse-arguments-function): Declare.
22098 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22099 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22100 (appt-check): Doc fixes.
22101 (appt-disp-window-function, appt-delete-window-function):
22102 Remove needless special case in custom :type.
22103 (appt-display-count): Default to 0, not nil.
22104 (appt-check): Reset appt-display-count to 0, not nil.
22106 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22108 * progmodes/python.el (python-font-lock-keywords):
22109 Add the Python 3.X keyword "nonlocal" (bug#8639).
22111 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22113 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22115 2011-05-16 Kevin Ryde <user42@zip.com.au>
22117 * info-look.el (makefile-automake-mode): New setups, looking in
22118 automake manual, then makefile-mode.
22119 (makefile-mode): Remove automake manual, have it just in
22120 makefile-automake-mode since there's various things different or
22121 not relevant to plain make.
22122 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22123 believe a hypothetical automake-mode would go to makefile-mode,
22124 not the other way around.
22126 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22128 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22129 hunk-end tags (Bug#8672).
22131 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22132 vc-annotate-show-diff-revision-at-line (Bug#8671).
22134 2011-05-14 Glenn Morris <rgm@gnu.org>
22136 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22137 in the middle of an existing one with multiple authors. (Bug#8645)
22138 (change-log-font-lock-keywords): Also handle multiple author lines
22139 with leading tabs. (Bug#8644)
22141 * calendar/appt.el (appt-check): Rename some local variables.
22142 Some simplification/reordering.
22144 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22145 (feedmail-sendmail-f-doesnt-sell-me-out)
22146 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22147 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22148 (feedmail-queue-runner-message-sender): Set :version.
22149 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22150 (bbdb-dwim-net-address, vm-mail): Declare.
22151 (feedmail-binmail-gnulinuxish-template):
22152 Rename from feedmail-binmail-linuxish-template.
22153 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22154 Use insert-buffer-substring.
22156 2011-05-14 Bill Carpenter <bill@carpenter.org>
22158 * mail/feedmail.el (feedmail-patch-level): Increase.
22159 (feedmail-debug): New custom group.
22160 (feedmail-confirm-outgoing-timeout)
22161 (feedmail-sendmail-f-doesnt-sell-me-out)
22162 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22163 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22164 (feedmail-sender-line, feedmail-from-line)
22165 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22166 (feedmail-spray-this-address)
22167 (feedmail-spray-address-fiddle-plex-list)
22168 (feedmail-queue-use-send-time-for-date)
22169 (feedmail-queue-use-send-time-for-message-id)
22170 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22171 (feedmail-buffer-eating-function):
22173 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22174 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22175 (feedmail-message-action-scroll-down): New functions.
22176 (feedmail-queue-directory, feedmail-queue-draft-directory):
22177 Use expand-file-name.
22178 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22179 Remove C-v help entry.
22180 (feedmail-queue-buffer-file-name): New variable.
22181 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22182 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22183 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22184 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22185 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22186 (feedmail-message-action-toggle-spray)
22187 (feedmail-run-the-queue-no-prompts)
22188 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22189 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22190 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22191 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22192 (feedmail-envelope-deducer, feedmail-fiddle-from)
22193 (feedmail-fiddle-sender, feedmail-default-date-generator)
22194 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22195 (feedmail-fiddle-spray-address)
22196 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22197 (feedmail-fiddle-list-of-fiddle-plexes)
22198 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22199 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22200 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22201 Change default. Doc fix.
22202 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22203 (feedmail-binmail-linuxish-template): New constant.
22204 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22205 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22206 (feedmail-send-it): Add debug call.
22207 Use feedmail-queue-buffer-file-name, and
22208 feedmail-send-it-immediately-wrapper.
22209 (feedmail-message-action-send): Add debug call.
22210 Use feedmail-send-it-immediately-wrapper.
22211 (feedmail-queue-express-to-queue): Add debug call.
22212 Run feedmail-queue-express-hook.
22213 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22214 (feedmail-message-action-help-blat):
22215 Rename from feedmail-queue-send-edit-prompt-help-first.
22216 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22217 Check line-endings. Handle errors better.
22218 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22219 Doc fix. Add debug call.
22220 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22221 Use feedmail-queue-send-edit-prompt-inner.
22222 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22223 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22224 from feedmail-queue-send-edit-prompt.
22225 (feedmail-queue-send-edit-prompt-help)
22226 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22227 (feedmail-tidy-up-slug): Add debug call.
22228 Respect feedmail-queue-slug-suspect-regexp.
22229 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22230 (feedmail-dump-message-to-queue): Add debug call.
22231 Expand queue-directory.
22232 (feedmail-dump-message-to-queue): Change message slightly.
22233 Use feedmail-say-chatter.
22234 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22235 (feedmail-send-it-immediately-wrapper): New function.
22236 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22237 Insert empty string rather than newline. Handle full-frame case.
22238 Use catch/throw. Use feedmail-say-chatter.
22239 (feedmail-fiddle-from): Try mail-host-address.
22240 (feedmail-default-message-id-generator): Doc fix.
22241 Bind system-time-locale. Handle missing end.
22242 (feedmail-fiddle-x-mailer): Add debug call.
22243 Handle feedmail-x-mailer-line being nil.
22244 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22245 Add debug call. Use buffer-substring-no-properties.
22246 (feedmail-say-debug, feedmail-say-chatter): New functions.
22247 (feedmail-find-eoh): Give an explicit error.
22249 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22251 * net/newst-treeview.el (newsticker-treeview-face): Change default
22252 family from helvetica to sans.
22253 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22254 etc/images/newsticker.
22256 * net/newst-reader.el (newsticker-feed-face): Change default
22257 family from helvetica to sans.
22259 * net/newst-plainview.el (newsticker-new-item-face)
22260 (newsticker-old-item-face, newsticker-immortal-item-face)
22261 (newsticker-obsolete-item-face, newsticker-date-face)
22262 (newsticker-statistics-face): Change default family from
22264 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22265 etc/images/newsticker.
22267 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22268 (newsticker--process-auto-mark-filter-match): Tell user about
22271 2011-05-13 Didier Verna <didier@xemacs.org>
22273 Common Lisp indentation improvements on defmethod and lambda-lists.
22274 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22276 (lisp-lambda-list-keyword-parameter-indentation)
22277 (lisp-lambda-list-keyword-parameter-alignment)
22278 (lisp-lambda-list-keyword-alignment): New customizable user options.
22279 (lisp-indent-defun-method): Improve docstring.
22280 (extended-loop-p): Fix comment.
22281 (lisp-indent-lambda-list-keywords-regexp): New variable.
22282 (lisp-indent-lambda-list): New function.
22283 (lisp-indent-259): Use it.
22284 (lisp-indent-defmethod): Support for more than one
22285 method qualifier and properly indent methods lambda-lists.
22286 (defgeneric): Provide a missing common-lisp-indent-function property.
22288 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22290 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22291 bounds for the empty string (bug#8667).
22293 2011-05-13 Glenn Morris <rgm@gnu.org>
22295 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22297 * mail/sendmail.el (sendmail-program): Try executable-find first.
22298 (sendmail-send-it): `sendmail-program' cannot be unbound.
22300 * calendar/appt.el (appt-make-list): Simplify.
22301 (appt-time-msg-list): Doc fix.
22302 (appt-check): Change mode-line message at the time of the appointment.
22304 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22306 * progmodes/ld-script.el (ld-script-keywords)
22307 (ld-script-builtins): Update keywords list.
22309 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22311 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22313 * shell.el (shell-completion-vars): New function.
22315 * simple.el (read-shell-command): Use it.
22316 (blink-matching-open): No need for " [...]" in minibuffer-message.
22318 2011-05-12 Glenn Morris <rgm@gnu.org>
22320 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22321 (appt-check): Simplify.
22323 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22325 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22326 literal "/dev/null".
22328 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22330 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22333 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22335 * progmodes/which-func.el (which-function):
22336 Use add-log-current-defun instead of add-log-current-defun-function,
22337 which might not be defined (Bug#8260).
22339 2011-05-12 Glenn Morris <rgm@gnu.org>
22341 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22342 Let byte-compile-initial-macro-environment always take precedence.
22344 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22346 * net/rcirc.el: Add support for SSL/TLS connections.
22347 (rcirc-server-alist): New field `encryption'.
22348 (rcirc): Check `encryption' settings.
22349 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22350 Merge make-local-variable into `set'.
22351 (rcirc--connection-open-p): New function.
22352 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22353 the process is not a network process (e.g. running gnutls-cli).
22354 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22355 Make rcirc-(en|de)code-coding-system local here.
22356 (rcirc-mode): Merge make-local-variable into `set'.
22357 (rcirc-parent-buffer): Make permanent buffer-local.
22358 (rcirc-multiline-minor-mode): Don't do it here.
22359 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22360 there's no server buffer.
22362 2011-05-11 Glenn Morris <rgm@gnu.org>
22364 * newcomment.el (comment-kill): Prefix "unused" local.
22366 * term/w32console.el (get-screen-color): Declare.
22368 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22369 Handle symbol elements of byte-compile-initial-macro-environment.
22371 2011-05-10 Leo Liu <sdl.web@gmail.com>
22373 * bookmark.el (bookmark-bmenu-mode-map):
22374 Bind bookmark-bmenu-search to `/'.
22376 * mail/footnote.el: Convert to utf-8 encoding.
22377 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22378 (Footnote-unicode): New function.
22379 (footnote-style-alist): Add unicode style to the list.
22380 (footnote-style): Doc fix.
22382 2011-05-10 Jim Meyering <meyering@redhat.com>
22384 Fix doubled-word typos.
22385 * international/quail.el (quail-insert-kbd-layout): and and -> and
22386 * kermit.el: and and -> and
22387 * net/ldap.el (ldap-search-internal): to to -> to
22388 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22389 * progmodes/js.el (js-mode): and and -> and
22390 * textmodes/artist.el (artist-move-to-xy): at at -> at
22391 (artist-draw-region-trim-line-endings): if if -> if
22392 And Safetyc -> Safety.
22393 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22395 2011-05-10 Glenn Morris <rgm@gnu.org>
22396 Stefan Monnier <monnier@iro.umontreal.ca>
22398 * files.el (hack-one-local-variable-eval-safep):
22399 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22401 2011-05-10 Glenn Morris <rgm@gnu.org>
22403 * calendar/diary-lib.el (diary-list-entries-hook)
22404 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22405 (diary-nongregorian-marking-hook, diary-list-entries)
22406 (diary-include-other-diary-files, diary-mark-entries)
22407 (diary-mark-included-diary-files): Doc fixes.
22409 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22411 * misc.el: Require tabulated-list.el during compilation.
22413 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22415 * progmodes/compile.el (compilation-start):
22416 Run compilation-filter-hook for the async case too.
22417 (compilation-filter-hook): Doc fix.
22419 2011-05-09 Deniz Dogan <deniz@dogan.se>
22421 * wdired.el: Remove outdated installation comment. Fix usage
22424 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22426 * misc.el: Implement new command `list-dynamic-libraries'.
22427 (list-dynamic-libraries--loaded-only-p): New variable.
22428 (list-dynamic-libraries--refresh): New function.
22429 (list-dynamic-libraries): New command.
22431 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22434 Fix the ant regexp to handle end-line and end-column info from jikes.
22435 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22436 higher priority to avoid clobbering by gnu.
22438 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22440 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22441 if the face has existing theme settings (Bug#8454).
22443 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22445 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22446 Only match variables declared via `my' or `our' (Bug#8261).
22448 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22449 special file names `.' and `..' (Bug#8259).
22451 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22453 * progmodes/grep.el (grep-mode-font-lock-keywords):
22454 Remove buffer-changing entries.
22455 (grep-filter): New function.
22456 (grep-mode): Add it to compilation-filter-hook.
22458 * progmodes/compile.el (compilation-filter-hook)
22459 (compilation-filter-start): New defvars.
22460 (compilation-filter): Call compilation-filter-hook prior to
22461 updating the process mark.
22463 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22465 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22467 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22469 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22470 mailclient-send-it even if window-system is nil. (Bug#8595)
22472 * term/w32console.el (terminal-init-w32console):
22473 Call get-screen-color and use its output to set the frame
22474 background-mode. (Bug#8597)
22476 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22478 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22479 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22481 (defgeneric, eieio--defmethod): Use them.
22482 (eieio-defgeneric): Remove.
22483 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22485 2011-05-07 Glenn Morris <rgm@gnu.org>
22487 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22488 Use let rather than let*.
22489 (timeclock-find-discrep): Remove unused local.
22491 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22493 * calendar/appt.el (appt-time-msg-list): Doc fix.
22495 2011-05-06 Noah Friedman <friedman@splode.com>
22497 * apropos.el (apropos-print-doc): Only use
22498 emacs-lisp-docstring-fill-column when it is bound to an integer,
22499 per that variable's documentation.
22501 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22503 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22504 and warnings are not silently discarded (e.g. use -d instead of -P).
22506 2011-05-06 Glenn Morris <rgm@gnu.org>
22508 * calendar/appt.el (appt-message-warning-time): Doc fix.
22509 (appt-warning-time-regexp): New option.
22510 (appt-make-list): Respect appt-message-warning-time.
22512 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22514 (diary-add-to-list): Strip comments from the displayed string.
22515 (diary-mode): Set comment-start and comment-end.
22517 * vc/diff-mode.el (smerge-refine-subst): Declare.
22518 (diff-refine-hunk): Don't require smerge-mode when compiling.
22520 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22522 * simple.el (list-processes): Return nil as the docstring says.
22524 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22526 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22528 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22529 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22530 determining of binary transfer. (Bug#7383)
22532 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22535 Fix port computation bug. (Bug#8618)
22537 2011-05-05 Glenn Morris <rgm@gnu.org>
22539 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22541 * simple.el (shell-dynamic-complete-functions)
22542 (comint-dynamic-complete-functions): Declare.
22544 * net/network-stream.el (gnutls-negotiate):
22545 * simple.el (tabulated-list-print): Fix declarations.
22547 * progmodes/gud.el (syntax-symbol, syntax-point):
22548 Remove unnecessary and incorrect declarations.
22550 * emacs-lisp/check-declare.el (check-declare-scan):
22551 Handle byte-compile-initial-macro-environment in bytecomp.el.
22553 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22555 Fix earlier half-done eieio-defmethod change (bug#8338).
22556 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22557 Streamline and change calling convention.
22558 (defmethod): Adjust accordingly and simplify.
22559 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22560 new eieio--defmethod.
22561 (slot-boundp): Minor CSE simplification.
22563 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22565 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22566 (glasses-make-readable): Use glasses-separate-capital-groups.
22568 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22570 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22571 (warning-series): Doc fix.
22572 (display-warning): Don't try to create the buffer if we just found it.
22574 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22576 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22577 (autoload-find-generated-file): New function.
22578 (generate-file-autoloads): Bind generated-autoload-file to
22580 (update-file-autoloads, update-directory-autoloads):
22581 Use autoload-find-generated-file. If called interactively, prompt for
22582 output file (Bug#7989).
22583 (batch-update-autoloads): Doc fix.
22585 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22587 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22589 2011-05-04 Glenn Morris <rgm@gnu.org>
22591 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22592 function, so it follows changes in calendar-date-style.
22593 (diary-fancy-date-matcher): New function.
22594 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22595 (diary-fancy-font-lock-fontify-region-function):
22596 Use diary-fancy-date-pattern as a function.
22598 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22599 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22601 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22603 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22604 instead of positional arguments. Allow :keylist and :crlfiles
22606 (open-gnutls-stream): Call it.
22608 * net/network-stream.el (network-stream-open-starttls): Adjust to
22609 call `gnutls-negotiate' with :process and :hostname arguments.
22611 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22613 * minibuffer.el (completion--message): New function.
22614 (completion--do-completion, minibuffer-complete)
22615 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22616 (completion--do-completion): Don't ignore completion-auto-help when in
22619 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22620 internal encoding (e.g. tibetan zero is not whitespace).
22621 (global-whitespace-mode): Prefer save-current-buffer.
22622 (whitespace-trailing-regexp): Remove useless save-match-data.
22623 (whitespace-empty-at-bob-regexp): Minor simplification.
22625 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22627 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22629 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22631 * textmodes/ispell.el (ispell-add-per-file-word-list):
22632 Use `concat' to create string for insertion.
22634 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22636 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22637 Avoid open-line which runs post-self-insert-hook.
22638 (bibtex-fill-entry): Remove unused `end' var.
22640 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22642 * textmodes/ispell.el (ispell-add-per-file-word-list):
22643 Protect against `nil' value of `comment-start' (Bug#8579).
22645 2011-05-03 Leo Liu <sdl.web@gmail.com>
22647 * isearch.el (isearch-yank-pop): New command.
22648 (isearch-mode-map): Bind it to `M-y'.
22649 (isearch-forward): Mention it.
22651 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22653 * simple.el (minibuffer-complete-shell-command): Remove.
22654 (minibuffer-local-shell-command-map): Use completion-at-point.
22655 (read-shell-command): Setup completion vars here instead.
22656 (read-expression-map): Bind TAB to symbol completion.
22658 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22659 error directly rather via storing it into `results'.
22661 2011-05-02 Leo Liu <sdl.web@gmail.com>
22663 * vc/diff.el: Fix description.
22665 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22667 * server.el (server-eval-at): New function.
22669 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22671 * net/network-stream.el (open-network-stream): Take a :nowait
22672 parameter and pass it on to `make-network-process'.
22673 (network-stream-open-plain): Ditto.
22675 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22677 * faces.el (face-spec-set-match-display): Don't match toolkit
22678 options on terminal frames.
22680 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22682 * progmodes/pascal.el: Use lexical binding.
22683 (pascal-mode-map): Remove author preferences.
22685 * pcomplete.el (pcomplete-std-complete): Don't abuse
22686 completion-at-point.
22688 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22690 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22691 removing code that has been dead since 1991 or so.
22693 * startup.el (command-line): When warning about "_emacs", use a
22694 delayed warning to allow the user to filter it out.
22696 2011-04-28 Deniz Dogan <deniz@dogan.se>
22698 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22699 user has not joined.
22701 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22703 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22704 aren't any completions at point.
22706 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22708 * subr.el (display-delayed-warnings): New function.
22709 (delayed-warnings-hook): New variable.
22711 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22713 * minibuffer.el (completion-at-point, completion-help-at-point):
22714 Don't presume that a given completion-at-point-function will always
22715 use the same calling convention.
22717 * pcomplete.el (pcomplete-completions-at-point):
22718 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22719 pcomplete-seen is non-nil.
22720 (pcomplete-comint-setup): Also recognize the new comint/shell
22721 completion functions.
22722 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22723 pcomplete-seen is non-nil.
22725 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22727 * calendar/icalendar.el (diary-lib): Add require statement.
22728 (icalendar--create-uid): Read out a uid from a text-property on
22729 the first character in the entry. This allows for code to add its
22730 own uid to the entry.
22731 (icalendar--convert-float-to-ical): Add export of
22732 `diary-float'-entries save for those with the optional DAY
22735 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22737 * subr.el (shell-quote-argument): Use alternate escaping strategy
22738 when we spot a variable reference in a string.
22740 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22742 * cus-start.el (all): Define customization for debug-on-event.
22744 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22746 * subr.el (shell-quote-argument): Escape correctly under Windows.
22748 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22750 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22752 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22754 * net/tramp.el (tramp-process-actions): Add POS argument.
22755 Delete region between POS and (pos).
22757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22758 Use `nil' position in `tramp-process-actions' call.
22759 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22761 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22762 position in `tramp-process-actions' call.
22764 * net/trampver.el: Update release number.
22766 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22768 * custom.el (defcustom): Obey lexical-binding.
22770 Fix octave-inf completion problems reported by Alexander Klimov.
22771 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22772 Inherit from octave-mode-syntax-table.
22773 (inferior-octave-mode): Set info-lookup-mode.
22774 (inferior-octave-completion-at-point): New function.
22775 (inferior-octave-complete): Use it and completion-in-region.
22776 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22777 comint-filename-completion.
22778 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22779 symbol elements which shouldn't be word elements.
22780 (octave-font-lock-keywords, octave-beginning-of-defun)
22781 (octave-function-header-regexp): Adjust regexps accordingly.
22782 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22784 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22786 * net/gnutls.el (gnutls-errorp): Declare before first use.
22788 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22790 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22791 verify-error, and verify-hostname-error parameters. Check whether
22792 default trustfile exists before going to use it. Add missing
22793 argument to gnutls-message-maybe call. Return value.
22794 Reported by Claudio Bley <claudio.bley@gmail.com>.
22795 (open-gnutls-stream): Add usage example.
22797 * net/network-stream.el (network-stream-open-starttls): Give host
22798 parameter to `gnutls-negotiate'.
22799 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22800 * subr.el (shell-quote-argument): Escape correctly under Windows.
22802 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22805 Use correct match group (bug#8438).
22807 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22809 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22810 (package-menu--generate): New arg specifying packages to show.
22811 (package-menu-refresh, package-menu-execute, list-packages):
22813 (package-show-package-list): New function, replacing deleted
22814 package--list-packages (renamed because it is non-internal).
22816 * finder.el (finder-list-matches): Use package-show-package-list
22817 instead of deleted package--list-packages.
22819 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22820 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22821 (vc-annotate-mode-map): Bind it to RET.
22823 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22825 * progmodes/etags.el (next-file): Don't use set-buffer to change
22826 buffers (Bug#8478).
22828 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22830 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22832 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22833 (apropos-accumulator): Doc fix.
22834 (apropos-function, apropos-macro, apropos-command)
22835 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22836 (apropos-plist): Add face property.
22837 (apropos-symbols-internal): Fix indentation.
22838 (apropos-print): Simplify help, and recognize apropos-multi-type.
22839 (apropos-print-doc): Use button-type-get to extract the button's
22840 face property. Fill docstring (Bug#8352).
22842 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22844 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22846 * play/mpuz.el (mpuz-silent): Doc fix.
22847 (mpuz-mode-map): Use mapc.
22848 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22849 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22850 Fix typos in docstrings.
22852 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22853 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22855 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22857 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22859 * minibuffer.el (completion--do-completion): Avoid the "Next char
22860 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22862 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22863 mouse-2 into unread-command-events, it is interpreted correctly.
22865 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22866 (image-toggle-display): Doc fix.
22868 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22870 * textmodes/page.el (what-page): Use line-number-at-pos to
22871 calculate line number (Bug#6825).
22873 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22875 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22876 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22877 Pass argument NO-DEFAULT to `find-tag-interactive'.
22879 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22881 Lexical-binding cleanup.
22883 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22884 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22885 * progmodes/ada-prj.el (ada-prj-initialize-values)
22886 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22887 (ada-prj-show-value):
22888 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22889 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22890 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22891 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22892 * progmodes/bug-reference.el (bug-reference-push-button):
22893 * progmodes/fortran.el (fortran-line-length):
22894 * progmodes/glasses.el (glasses-change):
22895 * progmodes/octave-mod.el (octave-fill-paragraph):
22896 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22897 (python-pdbtrack-grub-for-buffer, python-sentinel):
22898 * progmodes/sql.el (sql-save-connection):
22899 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22900 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22901 Mark unused parameters.
22903 * progmodes/compile.el (compilation--flush-directory-cache)
22904 (compilation--flush-parse, compile-internal): Mark unused parameters.
22905 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22906 (compilation-next-error-function): Remove unused variable `timestamp'.
22908 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22909 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22911 * progmodes/dcl-mode.el (dcl-end-of-command):
22912 Remove unused variable `start'.
22913 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22914 (dcl-option-value-basic, dcl-option-value-offset)
22915 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22916 Mark unused parameters.
22917 (dcl-save-local-variable): Remove unused variable `val'.
22920 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22921 Mark unused parameters.
22922 (delphi-ignore-changes): Move before first use.
22923 (delphi-charset-token-at): Remove unused variable `start'.
22924 (delphi-else-start): Remove unused variable `if-count'.
22925 (delphi-comment-block-start, delphi-comment-block-end):
22926 Remove unused variable `kind'.
22927 (delphi-indent-line): Remove unused variable `new-point'.
22929 * progmodes/ebrowse.el (ebrowse-files-list)
22930 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22931 Mark unused parameters. Don't quote `lambda'.
22932 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22933 Don't quote `lambda'.
22934 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22935 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22936 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22937 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22938 Use `ignore-errors'.
22939 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22940 (ebrowse-view/find-file-and-search-pattern)
22941 (ebrowse-view/find-member-declaration/definition):
22942 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22943 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22944 Rename parameter PREFIX-ARG to PREFIX.
22945 (ebrowse-tags-read-name): Remove unused variables `start' and
22947 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22950 * progmodes/etags.el (local-find-tag-hook): Declare.
22951 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22952 Mark unused parameters.
22954 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22955 (executable-interpret): Mark unused parameter.
22957 * progmodes/flymake.el (flymake-process-sentinel)
22958 (flymake-after-change-function)
22959 (flymake-create-temp-with-folder-structure)
22960 (flymake-get-include-dirs-dot): Mark unused parameters.
22961 (flymake-safe-delete-directory): Remove unused variable `err'.
22963 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22964 (speedbar-timer-fn, speedbar-line-text)
22965 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22966 (speedbar-center-buffer-smartly): Declare functions.
22967 (gdb-find-watch-expression): Remove unused variable `array'.
22968 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22969 (gdb-starting): Mark unused parameters.
22970 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22971 (gdb-table-string): Remove unused variable `res'.
22972 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22973 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22974 (gdb-display-buffer): Remove unused variable `cur-size'.
22976 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22977 allow lexical-binding compilation.
22978 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22979 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22980 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22981 Mark unused parameters.
22982 (gud-gdb-marker-filter): Remove unused variable `match'.
22983 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22984 lambda expressions and funcall them, instead of using `fset'.
22986 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22987 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22989 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22990 variable `header-beg'; use `let'.
22992 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22993 `restart', `last-sexp' and `at-do'.
22995 * progmodes/js.el (js--debug): Mark unused parameter.
22996 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22997 (js--splice-into-items): Remove unused variable `item'.
22998 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23000 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23001 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23002 (makefile-complete): Remove unused variable `try'.
23003 (makefile-fill-paragraph, makefile-match-function-end):
23004 Mark unused parameters.
23006 * progmodes/octave-inf.el (inferior-octave-complete):
23007 Remove unused variable `proc'.
23008 (inferior-octave-output-digest): Mark unused parameter.
23010 * progmodes/perl-mode.el (perl-calculate-indent):
23011 Remove unused variable `err'.
23013 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23014 (prolog-indent-line): Mark unused parameters.
23015 (prolog-indent-line): Remove unused variable `beg'.
23017 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23018 (reporter-dont-compact-list): Declare.
23020 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23021 Remove unused variable `char'.
23022 (sh-debug): Mark unused parameter.
23023 (sh-get-indent-info): Remove unused variable `start'.
23024 (sh-calculate-indent): Remove unused variable `var'.
23026 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23027 (simula-electric-keyword): Remove unused variable `null'.
23028 (simula-search-backward, simula-search-forward): Remove unused
23029 variables `begin' and `end'.
23031 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23032 Remove unused variable `pos'.
23033 (vera-electric-tab, vera-comment-uncomment-region):
23034 Mark unused parameters.
23035 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23037 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23039 * emacs-lisp/package.el (package--builtins, package-alist)
23040 (package-load-descriptor, package-built-in-p, package-activate)
23041 (define-package, package-installed-p)
23042 (package-compute-transaction, package-buffer-info)
23043 (package--push): Doc fix. Distinguish more clearly between
23044 version strings and version lists.
23046 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23048 Lexical-binding cleanup.
23050 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23051 (5x5-make-mutate-best):
23052 * play/fortune.el (fortune-in-buffer):
23053 * play/gomoku.el (gomoku-init-display):
23054 * play/solitaire.el (solitaire, solitaire-do-check):
23055 * play/tetris.el (tetris-default-update-speed-function):
23056 Mark unused parameters.
23058 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23059 (bubbles--shift): Remove unused variable `char-org'.
23060 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23061 (bubbles--show-images): Remove unused variable `char'.
23063 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23064 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23065 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23066 (decipher-analyze-buffer): Use ?\s.
23067 (decipher-make-checkpoint): Remove unused variable `mapping'.
23069 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23071 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23072 Remove unused variable `result'; use `let'.
23074 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23075 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23076 (gametree-children-shown-p, gametree-compute-reduced-score):
23077 Use `ignore-errors'.
23079 * play/handwrite.el (ps-lpr-switches): Declare.
23080 (handwrite): Remove unused variables `pmin' and `lastp'.
23082 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23084 * play/landmark.el (landmark-init-display)
23085 (landmark-update-naught-weights): Mark unused parameters.
23086 (landmark-y): Remove unused variable `noise'. Simplify.
23087 (landmark-human-plays): Remove unused variable `score'.
23089 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23090 (mpuz-try-proposal): Remove unused variable `game'.
23092 * play/zone.el (life-patterns): Declare.
23094 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23096 * vc/vc.el (ediff-vc-internal): Declare function.
23098 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23100 * shell.el: Use lexical-binding and std completion UI.
23101 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23102 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23103 comint-preoutput-filter-functions rather than on
23104 comint-output-filter-functions.
23105 (shell-command-completion, shell--command-completion-data)
23106 (shell-filename-completion, shell-environment-variable-completion)
23107 (shell-c-a-p-replace-by-expanded-directory): New functions.
23108 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23109 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23110 (shell-dynamic-complete-environment-variable): Use them.
23111 (shell-dynamic-complete-as-environment-variable)
23112 (shell-dynamic-complete-as-command): Remove.
23113 (shell-match-partial-variable): Match past point.
23114 * comint.el: Clean up use of completion-at-point-functions.
23115 (comint-completion-at-point): New function.
23116 (comint-mode): Use it completion-at-point-functions.
23117 (comint-dynamic-complete): Make it obsolete.
23118 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23119 (comint-c-a-p-replace-by-expanded-history): New function.
23120 (comint-dynamic-complete-functions)
23121 (comint-replace-by-expanded-history): Use it.
23122 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23123 termination strings. Try harder to avoid second try-completion.
23124 (completion-in-region-mode-map): Disable bindings that don't work yet.
23126 * comint.el: Use lexical-binding. Require CL.
23127 (comint-dynamic-complete-functions): Use comint-filename-completion.
23128 (comint-completion-addsuffix): Tweak custom type.
23129 (comint-filename-completion, comint--common-suffix)
23130 (comint--common-quoted-suffix, comint--table-subvert)
23131 (comint--complete-file-name-data): New functions.
23132 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23133 (comint-dynamic-list-filename-completions): Use them.
23134 (comint-dynamic-simple-complete): Make obsolete.
23136 * minibuffer.el (completion-in-region-mode):
23137 Keep completion-in-region-mode--predicate global.
23138 (completion-in-region--postch):
23139 Assume completion-in-region-mode--predicate is not null.
23141 * progmodes/flymake.el (flymake-start-syntax-check-process):
23142 Obey `dir'. Simplify.
23144 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23145 we're in VC after all.
23147 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23149 * vc/vc.el (vc-diff-build-argument-list-internal)
23150 (vc-version-ediff, vc-ediff): New commands.
23151 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23153 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23155 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23158 * obsolete/erc-hecomplete.el: Make obsolete.
23159 * obsolete/: Standardize obsolescence info in the header.
23161 2011-04-20 Glenn Morris <rgm@gnu.org>
23163 * calendar/solar.el (solar-horizontal-coordinates):
23164 Use the longitude argument rather than `calendar-longitude'.
23165 (solar-date-next-longitude): Remove unused locals.
23167 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23169 * whitespace.el: New version 13.2.1.
23171 2011-04-20 felix <EmacsWiki> (tiny change)
23173 * whitespace.el (global-whitespace-mode): Keep highlight when
23174 switching between major modes on a file.
23176 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23178 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23179 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23180 multi-line comments as well.
23182 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23184 Lexical-binding cleanup.
23186 * arc-mode.el (archive-mode-revert):
23187 * cmuscheme.el (scheme-interactively-start-process):
23188 * custom.el (custom-initialize-delay):
23189 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23190 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23191 * emacs-lock.el (emacs-lock-clear-sentinel):
23192 * ezimage.el (defezimage):
23193 * follow.el (follow-avoid-tail-recenter):
23194 * fringe.el (set-fringe-mode-1):
23195 * generic-x.el (bat-generic-mode-compile):
23196 * help-mode.el (help-info-variable, help-do-xref)
23197 (help-mode-revert-buffer):
23198 * help.el (view-emacs-todo):
23199 * iswitchb.el (iswitchb-completion-help):
23200 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23201 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23202 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23203 * locate.el (locate-update):
23204 * longlines.el (longlines-encode-region)
23205 (longlines-after-change-function):
23206 * outline.el (outline-isearch-open-invisible):
23207 * ps-def.el (declare-function, charset-dimension, char-width)
23209 * ps-mule.el (ps-mule-plot-string):
23210 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23211 (recentf-edit-list-select, recentf-edit-list-validate)
23212 (recentf-open-files-action):
23213 * rect.el (delete-whitespace-rectangle-line)
23214 (rectangle-number-line-callback):
23215 * register.el (window-configuration-to-register)
23216 (frame-configuration-to-register):
23217 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23218 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23219 (xselect-convert-to-targets, xselect-convert-to-delete)
23220 (xselect-convert-to-filename, xselect-convert-to-charpos)
23221 (xselect-convert-to-lineno, xselect-convert-to-colno)
23222 (xselect-convert-to-os, xselect-convert-to-host)
23223 (xselect-convert-to-user, xselect-convert-to-class)
23224 (xselect-convert-to-name, xselect-convert-to-integer)
23225 (xselect-convert-to-atom, xselect-convert-to-identity):
23226 * subr.el (declare, ignore, process-kill-without-query)
23227 (text-clone-maintain):
23228 * terminal.el (te-get-char, te-tic-sentinel):
23229 * tool-bar.el (tool-bar-make-keymap):
23230 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23231 * type-break.el (type-break-mode, type-break-noninteractive-query):
23232 * view.el (View-back-to-mark):
23233 * wid-browse.el (widget-browse-action, widget-browse-widget)
23234 (widget-browse-widgets, widget-browse-sexp):
23235 * widget.el (define-widget-keywords):
23236 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23237 Mark unused parameters.
23239 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23240 (align-areas): Remove unused variable `look'.
23241 (align-region): Remove unused variables `real-end' and `pos-list'.
23243 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23245 * bindings.el (mode-line-modified, mode-line-remote):
23246 Mark unused parameters.
23247 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23249 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23250 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23252 * comint.el (comint-history-isearch-pop-state)
23253 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23254 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23255 (comint-substitute-in-file-name): Doc fix.
23257 * completion.el (cmpl-statistics-block): Mark unused parameter.
23258 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23259 (save-completions-to-file, load-completions-from-file):
23260 Remove unused local variable `e'.
23262 * composite.el (compose-chars): Remove unused variable `len'.
23263 (lgstring-insert-glyph): Remove unused variable `g'.
23264 (compose-glyph-string): Remove unused variables `ascent',
23265 `descent', `lbearing' and `rbearing'.
23266 (compose-glyph-string-relative): Remove unused variables
23267 `lbearing', `rbearing' and `wadjust'.
23268 (compose-gstring-for-graphic): Remove unused variables `header',
23269 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23270 (compose-gstring-for-terminal): Remove unused variables `header'
23271 and `nchars'. Use `let', not `let*'.
23273 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23274 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23275 (Custom-buffer-done, custom-buffer-create-internal)
23276 (custom-browse-visibility-action, custom-browse-group-tag-action)
23277 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23278 (widget-magic-mouse-down-action, custom-toggle-parent)
23279 (custom-add-parent-links, custom-toggle-hide-variable)
23280 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23281 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23282 (custom-face-menu-create, custom-variable-menu-create, get)
23283 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23284 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23285 (customize-apropos): Remove unused variable `tests'.
23286 (custom-group-value-create): Remove unused variable `hidden-p'.
23287 (sort-fold-case): Declare.
23289 * cus-theme.el (custom-reset-standard-faces-list)
23290 (custom-reset-standard-variables-list): Declare.
23291 (customize-create-theme, custom-theme-revert, custom-theme-write)
23292 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23293 Mark unused parameters.
23295 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23297 * delim-col.el (delimit-columns-max): Move defvar before first use.
23299 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23300 (describe-char): Don't quote `lambda'. Mark unused parameter.
23302 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23303 (auto-insert): Declare.
23304 (desktop-restore-file-buffer): Rename desktop-* parameters;
23306 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23307 (desktop-buffer): Rename desktop-* parameters.
23309 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23310 (dframe-reposition-frame-xemacs, dframe-help-echo)
23311 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23312 Mark unused parameters.
23314 * dired-aux.el (backup-extract-version-start, overwrite-query)
23315 (overwrite-backup-query, rename-regexp-query)
23316 (rename-non-directory-query): Declare.
23317 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23318 (dired-add-entry): Remove unused variable `orig-file-name'.
23319 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23320 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23321 `dired-copy-preserve-time' directly.
23322 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23323 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23325 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23326 (dired-virtual-revert, dired-make-relative-symlink):
23327 Mark unused parameters.
23328 (manual-program): Declare.
23329 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23330 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23331 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23333 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23335 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23337 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23340 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23342 * electric.el (Electric-command-loop): Rename parameter
23343 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23345 * expand.el (expand-in-literal): Remove unused variable `here'.
23347 * facemenu.el (facemenu-add-new-color):
23348 Remove unused variable `docstring'.
23350 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23351 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23352 (face-attr-construct): Mark unused parameter. Doc fix.
23353 (read-color): Remove unused variable `hex-string'.
23355 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23356 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23357 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23358 (display-buffer-other-frame): Remove unused variable `old-window'.
23359 (kill-buffer-hook): Declare.
23360 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23361 Mark unused parameters.
23362 (after-find-file): Pass 1 to `auto-save-mode', not t.
23364 * files-x.el (auto-insert): Declare.
23365 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23367 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23368 variable `buf'. Mark unused parameter.
23369 (find-lisp-insert-directory): Mark unused parameter.
23371 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23372 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23373 (format-common-tail): Remove, unused.
23374 (format-deannotate-region): Remove unused variable `loc'.
23375 (format-annotate-region): Remove unused variable `p'.
23376 (format-annotate-single-property-change): Remove unused variables
23377 `default' and `tail'.
23379 * forms.el (read-file-filter): Declare.
23380 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23382 * frame.el (frame-creation-function-alist): Mark unused parameter.
23383 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23385 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23386 Remove unused parameters.
23387 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23388 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23390 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23391 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23392 (hfy-prepare-tag-map): Mark unused parameters.
23393 (htmlfontify-buffer): Use `called-interactively-p'.
23395 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23396 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23397 (ibuffer-do-occur): Mark unused parameters.
23398 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23399 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23401 * ibuffer.el: Don't quote `lambda'.
23402 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23403 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23404 Mark unused parameters.
23406 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23407 (ido-completing-read): Mark unused parameters.
23408 (ido-copy-current-word): Mark unused parameters;
23409 remove unused variable `name'.
23410 (ido-sort-merged-list): Remove unused parameter `dirs'.
23412 * ielm.el (ielm-input-sender): Mark unused parameter.
23413 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23414 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23415 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23416 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23417 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23419 * image-dired.el (image-dired-display-thumbs): Remove unused
23420 variables `curr-file' and `count'.
23421 (image-dired-remove-tag): Remove unused variable `start'.
23422 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23423 variable `curr-file'
23424 (image-dired-rotate-original): Remove unused variable `temp-file'.
23425 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23426 Remove unused variable `file'.
23427 (image-dired-gallery-generate): Remove unused variable `curr'.
23428 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23430 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23432 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23434 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23436 * isearch.el (minibuffer-history-symbol): Declare.
23437 (isearch-edit-string): Remove unused variable `err'.
23438 (isearch-message-prefix, isearch-message-suffix):
23439 Mark unused parameters.
23441 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23443 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23445 * makesum.el (double-column): Remove unused variable `cnt'.
23447 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23448 (ido-ignore-item-temp-list): Declare.
23450 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23451 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23452 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23453 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23456 * mouse-sel.el (mouse-extend-internal):
23457 Remove unused variable `orig-window-frame'.
23459 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23460 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23461 Move declarations before first use.
23462 (pcomplete-opt): Mark unused parameters; doc fix.
23464 * proced.el (proced-revert): Mark unused parameter.
23465 (proced-send-signal): Remove unused variable `err'.
23467 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23468 Rename parameter PREFIX-ARG to ARG.
23469 (ps-basic-plot-string, ps-basic-plot-whitespace):
23470 Mark unused parameters.
23472 * replace.el (replace-count): Define.
23473 (occur-revert-function): Mark unused parameters.
23474 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23475 (isearch-case-fold-search, isearch-string): Declare.
23476 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23477 bind `case-fold-search'. Remove unused variables `beg' and `end',
23479 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23480 COUNT and bind `replace-count'.
23481 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23484 * savehist.el (print-readably, print-string-length): Declare.
23486 * shadowfile.el (shadow-expand-cluster-in-file-name):
23487 Remove unused variable `cluster'.
23488 (shadow-copy-file): Remove unused variable `i'.
23489 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23490 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23491 (shadow-define-literal-group, shadow-define-regexp-group)
23492 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23494 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23495 (shell): Use `called-interactively-p'.
23496 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23498 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23499 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23500 (delete-backward-char): Remove unused variable `ocol'.
23501 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23502 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23503 (event-apply-hyper-modifier, event-apply-shift-modifier)
23504 (event-apply-control-modifier, event-apply-meta-modifier):
23505 Mark unused parameters.
23506 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23507 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23509 * speedbar.el (speedbar-ignored-directory-expressions)
23510 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23511 (speedbar-find-file, speedbar-dir-follow)
23512 (speedbar-directory-buttons-follow, speedbar-tag-find)
23513 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23514 (speedbar-buffers-line-directory, speedbar-buffer-click):
23515 Mark unused parameters.
23516 (speedbar-tag-file): Remove unused variable `mode'.
23517 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23519 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23521 * talk.el (talk): Remove unused variable `display'.
23523 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23524 (tar-write-region-annotate): Mark unused parameter.
23526 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23527 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23528 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23529 warning by another.
23531 * time-stamp.el (time-stamp-string-preprocess):
23532 Remove unused variable `require-padding'.
23534 * tree-widget.el (widget-glyph-enable): Declare.
23535 (tree-widget-action): Mark unused parameter.
23537 * w32-fns.el (x-get-selection): Mark unused parameter.
23538 (autoload-make-program, generated-autoload-file): Declare.
23540 * wdired.el (wdired-revert): Mark unused parameters.
23541 (wdired-xcase-word): Remove unused variable `err'.
23543 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23544 (whitespace-help-scroll): Remove unused variable `data-help'.
23546 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23547 (widget-image-insert, widget-after-change, default)
23548 (widget-default-format-handler, widget-default-notify)
23549 (widget-default-prompt-value, widget-info-link-action)
23550 (widget-url-link-action, widget-function-link-action)
23551 (widget-variable-link-action, widget-file-link-action)
23552 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23553 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23554 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23555 (widget-insert-button-action, widget-delete-button-action, visibility)
23556 (widget-documentation-link-action, widget-documentation-string-action)
23557 (widget-const-prompt-value, widget-regexp-match, symbol)
23558 (widget-coding-system-prompt-value)
23559 (widget-key-sequence-value-to-external, sexp)
23560 (widget-sexp-value-to-internal, character, vector, cons)
23561 (widget-choice-prompt-value, widget-boolean-prompt-value)
23562 (widget-color--choose-action): Mark unused parameters.
23563 (widget-item-match-inline, widget-choice-match-inline)
23564 (widget-checklist-match, widget-checklist-match-inline)
23565 (widget-group-match): Rename parameter VALUES to VALS.
23566 (widget-field-value-set): Remove unused variable `size'.
23567 (widget-color-action): Remove unused variables `value' and `start'.
23569 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23570 variable `dir'. Doc fix.
23571 (windmove-find-other-window): Don't pass it.
23573 * window.el (count-windows): Mark unused parameter.
23574 (bw-adjust-window): Remove unused variable `err'.
23576 * woman.el (woman-file-name): Remove unused variable `default'.
23577 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23578 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23579 (global-font-lock-mode): Declare.
23580 (woman-decode-region): Mark unused parameter.
23581 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23583 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23584 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23585 (x-dnd-handle-moz-url): Remove unused variable `title'.
23586 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23588 * xml.el (xml-parse-tag, xml-parse-attlist):
23589 Remove unused variable `pos'.
23591 2011-04-19 Glenn Morris <rgm@gnu.org>
23593 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23594 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23595 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23596 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23597 * calendar/cal-html.el (cal-html-insert-minical):
23598 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23599 (calendar-mark-date-pattern):
23600 Prefix "unused" locals.
23602 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23603 optional argument `style'.
23605 * calendar/appt.el (appt-make-list):
23606 * calendar/cal-china.el (calendar-chinese-date-string):
23607 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23608 (diary-hebrew-yahrzeit):
23609 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23610 * calendar/calendar.el (calendar-generate-window):
23611 * calendar/time-date.el (time-to-days):
23612 Remove unused local variables.
23614 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23616 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23617 glyphless-char-display table.
23618 (tabulated-list-glyphless-char-display): New var.
23620 2011-04-18 Sam Steingold <sds@gnu.org>
23622 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23623 to acknowledgments.
23625 2011-04-17 Glenn Morris <rgm@gnu.org>
23627 * calendar/diary-lib.el (diary-sexp-entry):
23628 * calendar/holidays.el (holiday-sexp):
23629 Set debug-on-error rather than the removed stack-trace-on-error.
23631 2011-04-16 Glenn Morris <rgm@gnu.org>
23633 * progmodes/f90.el: Use lexical-binding.
23634 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23636 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23638 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23639 (mail-mode): Setup mailalias completion here instead.
23640 * mail/mailalias.el: Use lexical-binding.
23641 (pattern, mailalias-done): Declare dynamic.
23642 (mail-completion-at-point-function): New function, from mail-complete.
23643 (mail-complete): Use it.
23644 (mail-completion-expand): New function.
23645 (mail-get-names): Use it.
23646 (mail-directory, mail-directory-process, mail-directory-stream):
23647 Don't use `pattern' for lexically bound arg.
23649 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23651 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23652 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23653 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23655 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23656 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23657 (byte-interactive-p): Define them again, for use when inlining
23660 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23662 * loadup.el: Use `string-to-number', not `string-to-int'.
23664 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23666 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23667 gud-gdb-complete-command.
23668 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23669 (gud-gdb-completion-at-point): New function.
23670 (gud-gdb-completions): Remove.
23672 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23674 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23675 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23676 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23677 whether `executable-find' is bound.
23679 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23681 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23683 * minibuffer.el (completion-in-region-mode-predicate)
23684 (completion-in-region-mode--predicate): New vars.
23685 (completion-in-region, completion-in-region--postch)
23686 (completion-in-region-mode): Use them.
23687 (completion--capf-wrapper): Also return the hook function.
23688 (completion-at-point, completion-help-at-point):
23689 Adjust and provide a predicate.
23691 Preserve arg names for advice of subr and lexical functions (bug#8457).
23692 * help-fns.el (help-function-arglist): Consolidate the subr and
23693 new-byte-code cases. Add argument `preserve-names' to extract names
23694 from the docstring when needed.
23695 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23696 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23697 (ad-arglist): Use help-function-arglist's new arg.
23698 (ad-definition-type): Use cond.
23700 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23702 * autorevert.el (auto-revert-handler):
23703 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23704 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23705 Don't quote lambda.
23707 * image-mode.el (image-transform-set-scale):
23708 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23710 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23712 * net/network-stream.el (network-stream-open-starttls): Only do
23713 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23714 Upgrades via gnutls-cli are too slow to be done opportunistically.
23716 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23718 * dframe.el (dframe-current-frame): Remove spurious quote.
23720 2011-04-12 Glenn Morris <rgm@gnu.org>
23722 * calendar/cal-tex.el (cal-tex-end-document):
23723 Try to automatically use latin1 input if needed.
23725 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23726 Don't try to cons a mark onto an empty element.
23728 2011-04-11 Leo Liu <sdl.web@gmail.com>
23730 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23732 (ido-kill-buffer-at-head): Support killing virtual buffers.
23734 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23736 * minibuffer.el (completion-show-inline-help): New var.
23737 (completion--do-completion, minibuffer-complete)
23738 (minibuffer-force-complete, minibuffer-complete-word):
23739 Inhibit minibuffer messages if completion-show-inline-help is nil.
23741 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23742 to avoid interference from inline help (Bug#5849).
23744 2011-04-10 Leo Liu <sdl.web@gmail.com>
23746 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23749 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23751 * image-mode.el (image-toggle-display-image): Signal an error if
23753 (image-transform-mode, image-transform-resize)
23754 (image-transform-set-rotation): Doc fix.
23755 (image-transform-set-resize): Delete.
23756 (image-transform-set-scale, image-transform-fit-to-height)
23757 (image-transform-fit-to-width): Handle image-toggle-display-image
23758 and image-transform-resize directly.
23760 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23762 * doc-view.el (doc-view-fit-width-to-window)
23763 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23764 New functions for fitting the shown image to the Emacs window size.
23765 (doc-view-mode-map): Add bindings for the new functions.
23767 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23769 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23770 Fix typo in docstring.
23772 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23774 * files.el (file-size-human-readable): Produce one digit after
23775 decimal, like "ls -lh" does.
23777 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23778 the file size representation.
23780 * simple.el (list-processes): If async subprocesses are not
23781 available, error out with a clear error message.
23783 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23785 * help.el (help-form-show): New function, to be called from C.
23786 Put help-form output in a buffer named differently than *Help*.
23788 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23790 * files.el (file-size-human-readable): New function.
23792 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23793 computing the representation inline. Don't require `cl'.
23795 2011-04-08 Glenn Morris <rgm@gnu.org>
23797 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23799 * net/browse-url.el (browse-url-firefox):
23800 Test system-type, not system-configuration.
23802 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23803 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23804 Use log-edit-empty-buffer-p. (Bug#7598)
23806 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23807 (rlogin-mode-map): Initialize in the defvar.
23808 (rlogin): Use ignore-errors.
23810 * replace.el (occur-mode-map): Some fixes for menu items.
23812 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23814 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23816 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23818 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23819 issuing unused warnings.
23821 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23824 * simple.el: Lisp reimplement of list-processes. Based on an
23825 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23826 (process-menu-mode): New major mode.
23827 (list-processes--refresh, list-processes):
23828 (process-menu-visit-buffer): New functions.
23830 * files.el (save-buffers-kill-emacs): Don't assume any return
23831 value of list-processes, which is undocumented anyway.
23833 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23835 * emacs-lisp/tabulated-list.el: New file.
23837 * emacs-lisp/package.el: Use Tabulated List mode.
23838 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23839 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23840 table format using Tabulated List mode variables.
23841 (package--push): New macro, replacing package-list-maybe-add.
23842 (package-menu--generate): Use package--push. Renamed from
23843 package--generate-package-list.
23844 (package-menu-refresh, list-packages): Use it.
23845 (package-menu--print-info): Rename from package-print-package.
23846 Return insertion data instead of inserting it directly.
23847 (package-menu-describe-package, package-menu-execute):
23848 Use tabulated-list-get-id.
23849 (package-menu-mark-delete, package-menu-mark-install)
23850 (package-menu-mark-unmark, package-menu-backup-unmark)
23851 (package-menu-mark-obsolete-for-deletion):
23852 Use tabulated-list-put-tag.
23853 (package--list-packages, package-menu-revert)
23854 (package-menu-get-package, package-menu-get-version)
23855 (package-menu-sort-by-column): Functions deleted.
23856 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23857 (package-menu--status-predicate, package-menu--version-predicate)
23858 (package-menu--name-predicate)
23859 (package-menu--description-predicate): Handle arguments in the
23860 Tabulated List format.
23861 (package-list-packages-no-fetch): Call list-packages.
23863 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23865 * files.el (after-find-file-from-revert-buffer): Remove variable.
23866 (after-find-file): Don't bind it.
23867 (revert-buffer-in-progress-p): New variable.
23868 (revert-buffer): Bind it.
23869 Pass nil for `after-find-file-from-revert-buffer'.
23871 * saveplace.el (save-place-find-file-hook): Use new variable
23872 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23874 2011-04-06 Glenn Morris <rgm@gnu.org>
23876 * Makefile.in (AUTOGEN_VCS): New variable.
23877 (autoloads): Use $AUTOGEN_VCS.
23879 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23880 * calendar/calendar.el (calendar-mode-map):
23881 Check for toolkit scroll bars. (Bug#8305)
23883 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23885 * minibuffer.el (completion-in-region--postch)
23886 (completion-in-region-mode): Remove unnecessary messages.
23888 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23890 * font-lock.el (font-lock-refresh-defaults):
23891 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23892 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23894 * info.el (Info-directory-list, Info-read-node-name-2)
23895 (Info-split-parameter-string): Doc fixes.
23896 (Info-virtual-nodes): Reflow docstring.
23897 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23898 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23899 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23900 Fix typos in docstrings.
23901 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23902 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23903 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23904 (Info-restore-desktop-buffer): Mark unused parameters.
23905 (Info-directory-find-file, Info-directory-find-node)
23906 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23907 (Info-virtual-index-find-node, Info-apropos-find-file)
23908 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23909 Mark unused parameters; fix typos in docstrings.
23910 (Info-virtual-index): Remove unused local variable `nodename'.
23912 2011-04-05 Deniz Dogan <deniz@dogan.se>
23914 * net/rcirc.el: Update my e-mail address.
23915 (rcirc-mode-map): Remove M-o binding.
23917 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23919 * startup.el (command-line): Save the cursor's theme-face
23920 directly, instead of using face-override-spec.
23922 * custom.el (load-theme): Minor optimization in assigning faces.
23924 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23926 * help-fns.el (describe-variable): Complete all variables having
23927 documentation, including keywords.
23928 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23930 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23932 Convert to lexical-binding.
23934 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23935 (bs--get-marked-string, bs--get-modified-string)
23936 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23937 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23938 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23940 * ehelp.el (electric-help-execute-extended)
23941 (electric-help-ctrl-x-prefix):
23942 * hexl.el (hexl-revert-buffer-function):
23943 * linum.el (linum-after-change, linum-after-scroll):
23944 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23946 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23948 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23955 * epg.el: Use lexical binding.
23957 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23959 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23961 * textmodes/flyspell.el (flyspell-word): Recognize default
23962 dictionary case for flyspell-mark-duplications-exceptions.
23963 Use regexp matching for languages.
23964 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23965 default dictionary (Bug#7926).
23967 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23969 * emacs-lisp/package.el (package--with-work-buffer):
23970 Recognize https URLs.
23972 * net/network-stream.el: Move from gnus/proto-stream.el.
23973 Change prefix to network-stream throughout.
23974 (open-protocol-stream): Merge into open-network-stream, leaving
23975 open-protocol-stream as an alias. Handle nil BUFFER args.
23977 * subr.el (open-network-stream): Move to net/network-stream.el.
23979 2011-04-02 Glenn Morris <rgm@gnu.org>
23981 * find-dired.el (find-exec-terminator): New option.
23982 (find-ls-option): Test for -ls support.
23983 (find-ls-subdir-switches): Test for -b in find-ls-option.
23984 (find-dired, find-grep-dired): Doc fixes.
23985 (find-dired): Use find-exec-terminator.
23987 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23988 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23989 (find-name-arg): Remove purecopy.
23991 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23992 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23993 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23994 accordingly. Don't add the null-device if not needed.
23996 * files.el (save-some-buffers): Doc fix.
23998 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24000 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24002 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24004 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24005 Use `dolist' rather than `mapcar'.
24007 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24009 Add lexical binding.
24011 * subr.el (apply-partially): Use new closures rather than CL.
24012 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24013 (dolist, dotimes): Use slightly different expansion for lexical code.
24014 (functionp): Move to C.
24015 (letrec): New macro.
24016 (with-wrapper-hook): Use it and apply-partially instead of CL.
24017 (eval-after-load): Preserve lexical-binding.
24018 (save-window-excursion, with-output-to-temp-buffer): Turn them
24021 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24023 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24025 (help-add-fundoc-usage): Don't add `Not documented'.
24026 (help-function-arglist): Handle closures, subroutines, and new
24027 byte-code-functions.
24028 (help-make-usage): Remove leading underscores.
24029 (describe-function-1): Handle closures.
24030 (describe-variable): Use special-variable-p for completion.
24032 * files.el (lexical-binding): Declare safe.
24034 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24035 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24036 (pcase): Add `let' pattern.
24037 Change memoization so it actually works.
24038 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24039 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24042 * emacs-lisp/macroexp.el: Use lexical binding.
24043 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24044 Don't convert ' to #' without checking that it's indeed quoting
24047 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24048 Use eval-sexp-add-defvars.
24049 (eval-sexp-add-defvars): New fun.
24051 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24053 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24055 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24056 than the internal `byte-compile-lambda'.
24057 (defmethod): Don't hide code under quotes.
24058 (eieio-defmethod): New `code' argument.
24060 * emacs-lisp/eieio-comp.el: Remove.
24062 * emacs-lisp/edebug.el (edebug-eval-defun)
24063 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24064 (edebug-toggle): Avoid `eval'.
24066 * emacs-lisp/disass.el (disassemble-internal): Handle new
24068 (disassemble-1): Handle new byte codes.
24070 * emacs-lisp/cl.el (pushnew): Silence warning.
24072 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24073 (cl-byte-compile-throw): Remove.
24074 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24076 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24079 * emacs-lisp/cconv.el: New file.
24081 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24082 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24083 (byte-compile-initial-macro-environment):
24084 Handle declare-function here.
24085 (byte-compile--lexical-environment): New var.
24086 (byte-stack-ref, byte-stack-set, byte-discardN)
24087 (byte-discardN-preserve-tos): New lap codes.
24088 (byte-interactive-p): Don't use any more.
24089 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24091 (byte-compile-lapcode): Use them and handle new lap codes.
24092 (byte-compile-obsolete): Remove.
24093 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24094 (byte-compile-arglist-warn): Check late def of inlinable funs.
24095 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24096 since they should have been expanded by now.
24097 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24098 (byte-compile-from-buffer): Remove unused second arg.
24099 (byte-compile-preprocess): New function.
24100 (byte-compile-toplevel-file-form): New function to distinguish
24101 file-form calls from outside from file-form calls from hunk-handlers.
24102 (byte-compile-file-form): Simplify.
24103 (byte-compile-file-form-defsubst): Remove.
24104 (byte-compile-file-form-defmumble): Simplify now that
24105 byte-compile-lambda always returns a byte-code-function.
24106 (byte-compile): Preprocess.
24107 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24108 Remove, not used any more.
24109 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24110 (byte-compile-make-args-desc): New funs.
24111 (byte-compile-lambda): Handle lexical functions. Always return
24112 a byte-code-function.
24113 (byte-compile-reserved-constants): New var, to make up room for
24114 closed-over variables.
24115 (byte-compile-constants-vector): Obey it.
24116 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24117 (byte-compile-macroexpand-declare-function): New function.
24118 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24119 byte-code-functions.
24120 (byte-compile-form): Check obsolescence here.
24121 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24122 (byte-compile-variable-ref): Remove.
24123 (byte-compile-dynamic-variable-op): New fun.
24124 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24125 (byte-compile-variable-set): New funs.
24126 (byte-compile-discard): Add 2 args.
24127 (byte-compile-stack-ref, byte-compile-stack-set)
24128 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24129 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24130 macroexpand-all instead.
24131 (byte-compile-quote-form): Remove.
24132 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24133 (byte-compile-bind, byte-compile-unbind): New funs.
24134 (byte-compile-let): Handle let* and lexical binding.
24135 (byte-compile-let*): Remove.
24136 (byte-compile-catch, byte-compile-unwind-protect)
24137 (byte-compile-track-mouse, byte-compile-condition-case):
24138 Handle a new :fun-body form, used for lexical scoping.
24139 (byte-compile-save-window-excursion)
24140 (byte-compile-with-output-to-temp-buffer): Remove.
24141 (byte-compile-defun): Simplify.
24142 (byte-compile-stack-adjustment): New fun.
24143 (byte-compile-out): Use it.
24144 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24146 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24149 * emacs-lisp/byte-opt.el: Use lexical binding.
24150 (byte-inline-lapcode): Remove (to bytecomp).
24151 (byte-compile-inline-expand): Pay attention to inlining to/from
24152 lexically bound code.
24153 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24155 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24156 any more and don't call compiler-macros.
24157 (byte-compile-splice-in-already-compiled-code): Remove.
24158 (byte-code): Don't inline any more.
24159 (disassemble-offset): Receive `bytes' as argument rather than via
24161 (byte-compile-tag-number): Declare before first use.
24162 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24163 `return' even if make-spliceable.
24164 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24165 obsolete interactive-p.
24166 (byte-optimize-lapcode): Optimize new lap-codes.
24167 Don't trip up on new form of `byte-constant' lap code.
24169 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24171 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24173 * custom.el (custom-initialize-default, custom-declare-variable):
24176 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24178 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24179 (COMPILE_FIRST): Add macroexp and cconv.
24180 * makefile.w32-in: Mirror changes in Makefile.in.
24182 * vc/cvs-status.el:
24186 * vc/smerge-mode.el:
24187 * textmodes/bibtex-style.el:
24188 * textmodes/css-mode.el:
24196 * emacs-lisp/smie.el:
24199 * abbrev.el: Use lexical binding.
24201 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24203 * info.el (info-display-manual): New function.
24205 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24207 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24209 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24211 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24212 an entry for that server in rcirc-authinfo. (Bug#8385)
24214 2011-03-31 Glenn Morris <rgm@gnu.org>
24216 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24218 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24220 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24222 * progmodes/python.el (python-default-interpreter)
24223 (python-python-command-args, python-jython-command-args)
24224 (python-which-shell, python-which-args, python-which-bufname)
24225 (python-file-queue, python-comint-output-filter-function)
24226 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24227 variables and functions.
24229 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24231 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24232 (completion-in-region-mode): New minor mode.
24233 (completion-in-region): Use it.
24234 (completion-in-region--data, completion-in-region-mode-map): New vars.
24235 (completion-in-region--postch): New function.
24236 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24238 (completion--capf-wrapper): New function.
24239 (completion-at-point): Use it to track well-behavedness of
24241 (completion-help-at-point): New command.
24243 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24245 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24246 syntax class to search for whitespace on a single line
24247 (Message-ID: <4D938140.4030905@redhat.com>).
24249 2011-03-30 Leo Liu <sdl.web@gmail.com>
24251 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24253 (edit-abbrevs-map): Bind them here.
24254 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24256 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24258 * allout.el (allout-hide-by-annotation, allout-flag-region):
24259 Reduce possibility of overlay leakage by making them volatile.
24261 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24262 hash is not shared between buffers. Mode initialization is
24263 responsible for giving it a useful starting value.
24264 (allout-item-span): Reduce possibility of overlay leakage by
24265 making them volatile.
24266 (allout-widgets-count-buttons-in-region): Add diagnostic function
24267 for tracking down button overlay leaks.
24269 2011-03-29 Leo Liu <sdl.web@gmail.com>
24271 * ido.el (ido-read-internal): Use the default history var
24272 minibuffer-history if no HISTORY is specified.
24274 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24276 * net/imap.el (imap-shell-open, imap-process-connection-type):
24277 Use imap-process-connection-type for 'shell' streams as well as
24278 Kerberos, SSL, other subprocesses.
24280 2011-03-28 Leo Liu <sdl.web@gmail.com>
24282 * abbrev.el (abbrev-table-empty-p): New function.
24283 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24284 nonempty ones. (Bug#5937)
24286 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24288 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24290 2011-03-27 Leo Liu <sdl.web@gmail.com>
24292 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24293 for foreground and background colors.
24294 (ansi-color-make-color-map): Adapt.
24296 2011-03-25 Leo Liu <sdl.web@gmail.com>
24298 * midnight.el (midnight-time-float): Remove. Note it calculates
24299 the microsecond component incorrectly and seconds-to-time does the
24301 Remove redundant (require 'timer).
24303 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24304 (ido-completions): Remove unused arguments. (Bug#8329)
24306 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24308 * minibuffer.el (completion--flush-all-sorted-completions):
24309 Remove itself from hook.
24310 (completion-at-point): Let the functions perform the completion
24311 immediately and return nil or t.
24312 * comint.el (comint-dynamic-complete-functions): Now identical to
24313 completion-at-point-functions.
24314 (comint-dynamic-list-input-ring): Remove unused var `index'.
24315 (comint--match-partial-filename, comint--unquote&expand-filename):
24316 New funs, split from comint-match-partial-filename.
24317 (comint-dynamic-complete): Use completion-at-point.
24318 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24320 2011-03-24 Drew Adams <drew.adams@oracle.com>
24322 * thingatpt.el: Support `defun'.
24324 2011-03-23 Leo Liu <sdl.web@gmail.com>
24326 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24328 * help-mode.el (help-mode-finish): Tweak regexp.
24330 2011-03-23 Glenn Morris <rgm@gnu.org>
24332 * eshell/esh-opt.el (eshell-eval-using-options):
24333 Do not bind unused local variable `eshell-option-stub'.
24335 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24337 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24339 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24340 keymap variable in `with-no-warnings' to avoid a warning when the
24341 keymap has been already `defconst'ed.
24343 2011-03-22 Leo Liu <sdl.web@gmail.com>
24345 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24346 encode all chars in abbrevs; otherwise use emacs-mule or
24347 utf-8-emacs. (Bug#8308)
24349 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24351 * simple.el (backward-delete-char-untabify):
24352 Avoid warning about using `delete-backward-char'.
24354 * image.el (image-type-file-name-regexps): Make it variable.
24355 `imagemagick-register-types' modifies it, and the user may want
24356 to add new extensions for known image types.
24357 (imagemagick-register-types): Throw error if not using ImageMagick.
24359 2011-03-22 Leo Liu <sdl.web@gmail.com>
24361 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24362 located before rcirc-prompt-end-marker.
24363 (rcirc-complete): Error if point is not after rcirc prompt.
24364 Handle the case when table is nil.
24365 (rcirc-user-authenticated): Define to fix compiler warning.
24367 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24369 * custom.el (custom--inhibit-theme-enable): Make it affect only
24370 custom-theme-set-variables and custom-theme-set-faces.
24371 (provide-theme): Ignore custom--inhibit-theme-enable.
24372 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24373 (custom-enabling-themes): Delete variable.
24374 (enable-theme): Accept only loaded themes as arguments.
24375 Ignore the special custom-enabled-themes variable.
24376 (custom-enabled-themes): Forbid themes from setting this.
24377 Eliminate use of custom-enabling-themes.
24378 (custom-push-theme): Quote "changed" custom var entry.
24380 2011-03-21 Leo Liu <sdl.web@gmail.com>
24382 * ido.el (ido-read-internal): Add ido-selected to history instead
24385 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24387 * subr.el (deferred-action-list, deferred-action-function):
24390 2011-03-21 Leo Liu <sdl.web@gmail.com>
24392 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24393 change on 2011-02-13 (bug#8309).
24395 * minibuffer.el (read-file-name-function): Change default value.
24396 (read-file-name--defaults): Rename from read-file-name-defaults.
24397 (read-file-name-default): Rename from read-file-name.
24398 (read-file-name): Call read-file-name-function.
24400 2011-03-21 Glenn Morris <rgm@gnu.org>
24402 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24405 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24407 * cus-theme.el: Add missing provide statement.
24408 (customize-create-theme): Extract theme value correctly.
24409 (custom-theme-visit-theme): Autoload.
24410 (customize-create-theme): Prompt before inserting default faces.
24412 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24414 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24415 units and musical notes.
24417 2011-03-20 Leo Liu <sdl.web@gmail.com>
24419 * ido.el (ido-read-internal): Use completing-read-default.
24420 (ido-completing-read): Fix compatibility with completing-read.
24422 2011-03-20 Christian Ohler <ohler@gnu.org>
24424 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24425 (ert-delete-all-tests): Use `called-interactively-p' rather than
24427 (ert--make-xrefs-region): Respect END.
24429 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24431 * dired-aux.el (dired-create-directory): Signal an error if the
24432 directory already exists (Bug#8246).
24434 * facemenu.el (list-colors-display): Call list-faces-display
24435 inside with-help-window.
24436 (list-colors-print): Use display property to align the final
24437 column, instead of checking window-width.
24439 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24441 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24442 windows-nt systems.
24443 (emerge-protect-metachars): Quote correctly for ms-dos and
24444 windows-nt systems.
24446 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24448 * info.el (info-initialize): Replace all uses of `:' with
24449 path-separator for compatibility with non-Unix systems.
24450 Cache quoting of path-separator. (Bug#8258)
24452 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24454 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24455 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24456 (mouse-avoidance-mode): Fix typos in docstrings.
24458 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24460 * startup.el (package-subdirectory-regexp): Move from package.el.
24461 Omit \\` and \\', and let callers add them.
24463 * emacs-lisp/package.el (package-strip-version)
24464 (package-load-all-descriptors): Add \\` and \\' to
24465 package-subdirectory-regexp before using it.
24466 (package-untar-buffer): New arg DIR; ensure that file untars only
24467 into this expected directory. Remove superfluous delete-region.
24468 (package-unpack): Caller changed.
24469 (package-tar-file-info): Use package-subdirectory-regexp.
24471 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24473 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24474 diff-mode-shared-map (bug#8284).
24475 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24477 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24479 * calendar/time-date.el (format-seconds): Use assoc instead of
24480 assoc-string, since assoc-string doesn't exist in XEmacs.
24482 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24484 * custom.el (custom-known-themes): Reflow docstring.
24485 (custom-theme-load-path): Fix typo in docstring.
24486 (load-theme): Fix typo in error message.
24487 (custom-available-themes, custom-variable-theme-value):
24488 Use `let', not `let*'.
24490 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24492 * calc/README: Mention inclusion of musical notes.
24494 * calc/calc-units.el (calc-lu-quant): Rename from
24495 `calc-logunits-quantity'.
24496 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24497 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24498 (calc-db): Rename from `calc-dblevel'.
24499 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24500 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24501 (calc-np): Rename from `calc-nplevel'.
24502 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24503 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24504 (calc-lu-plus): Rename from `calc-logunits-add'.
24505 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24506 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24507 (calc-lu-minus): Rename from `calc-logunits-sub'.
24508 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24509 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24510 (calc-lu-times): Rename from `calc-logunits-mul'.
24511 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24512 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24513 (calc-lu-divide): Rename from `calc-logunits-div'.
24514 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24515 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24517 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24518 functions being autoloaded.
24520 * calc/calc.el (calc-lu-power-reference): Rename from
24521 `calc-logunits-power-reference'.
24522 (calc-lu-field-reference): Rename from
24523 `calc-logunits-field-reference'.
24525 * calc/calc-help.el (calc-l-prefix-help):
24526 Mention musical note functions.
24528 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24530 * minibuffer.el (completion-all-sorted-completions):
24531 Use :completion-cycle-penalty text property if present.
24533 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24535 * allout.el (allout-yank-processing): Adjust for new rebulleting
24536 regime so bullet being yanked is used without prompting the user
24539 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24541 * startup.el (command-line): Warn the user that _emacs is deprecated.
24543 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24545 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24546 (delphi-verbose, delphi-comment-face, delphi-string-face)
24547 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24548 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24549 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24550 (delphi-new-comment-line, delphi-font-lock-defaults)
24551 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24552 Fix typos in docstrings.
24554 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24556 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24557 Invert the roles of character and string values for INSTEAD, so a
24558 string is used for the more common case of a defaulting prompt.
24560 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24562 * progmodes/ruby-mode.el (ruby-backward-sexp):
24563 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24564 * play/gamegrid.el (gamegrid-make-face):
24565 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24566 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24567 * notifications.el (notifications-notify):
24568 * net/xesam.el (xesam-search-engines):
24569 * net/quickurl.el (quickurl-list-insert):
24570 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24572 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24574 * startup.el (command-line): Update package subdirectory regexp.
24576 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24578 * allout.el (allout-abbreviate-flattened-numbering)
24579 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24581 * subr.el (read-char-choice): Only show the cursor after the prompt,
24582 not after the answer.
24584 2011-03-15 Kevin Ryde <user42@zip.com.au>
24586 * help-fns.el (variable-at-point): Skip leading quotes, if any
24589 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24591 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24594 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24596 * shell.el (shell): When called interactively, offer to change the
24597 shell file name on remote hosts.
24599 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24601 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24602 integration for LDAP parameters. The host, base, user or binddn,
24603 and secret tokens can be specified in a netrc file, for instance.
24604 This is optional because an `auth-source' parameter must be
24605 specified in the search attributes.
24607 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24609 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24611 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24613 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24614 into declaration. Remove redundant and harmful binding.
24616 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24618 * files.el (file-ownership-preserved-p): Pass `integer' as an
24619 explicit 2nd argument to `file-attributes'. If the file's owner
24620 is the Administrators group on Windows, and the current user is
24621 Administrator, consider that a match.
24623 * server.el (server-ensure-safe-dir): Consider server directory
24624 safe on MS-Windows if its owner is the Administrators group while
24625 the current Emacs user is Administrator. Use `=' to compare
24626 numerical UIDs, since they could be integers or floats.
24628 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24630 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24632 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24634 Sync with Tramp 2.2.1.
24636 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24638 * net/trampver.el: Update release number.
24640 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24642 * progmodes/compile.el (compilation--previous-directory): Fix up
24643 various nil/dead-marker mismatches (bug#8014).
24644 (compilation-directory-properties, compilation-error-properties):
24645 Don't call it at a position past the one we're about to change.
24647 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24648 Disable obsolescence warnings in the file that declares it.
24650 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24652 * allout-widgets.el (allout-widgets-tally):
24653 Initialize allout-widgets-tally as a hash table rather than nil to
24654 prevent mode-line redisplay warnings. Also, clarify the module
24655 description and fix a comment typo.
24657 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24659 * help-fns.el (describe-variable): Don't complete keywords.
24660 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24662 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24664 * emacs-lisp/package.el (package-version-join): Impose a standard
24665 string representation for pre/alpha/beta version lists.
24666 (package-unpack-single): Standardize the directory name by passing
24667 it through package-version-join.
24668 (package-strip-rcs-id): Accept any version string that does not
24669 signal an error in version-to-list.
24671 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24673 * simple.el (delete-trailing-whitespace): Return nil for the
24674 benefit of `write-file-functions'.
24676 2011-03-10 Glenn Morris <rgm@gnu.org>
24678 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24680 * vc/vc-git.el (vc-git-program): New option.
24681 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24682 (vc-git--call): Use it.
24684 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24686 * cus-edit.el (Custom-newline): If no button at point, look
24687 for a subgroup button at start-of-line. (Bug#2298)
24689 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24691 2011-03-10 Julien Danjou <julien@danjou.info>
24693 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24694 `cursor-type' is nil.
24696 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24698 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24700 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24702 * allout.el: Change so yank of distinctive-bullet items
24703 preserves the existing header prefix, rebulleting it if necessary,
24704 rather than replacing it. This is necessary for proper operation
24705 of cooperative addons like allout-widgets.
24706 (allout-make-topic-prefix, allout-rebullet-heading):
24707 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24708 value as alternate bullet to be used, instead of prompting the user
24709 for a bullet character.
24711 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24714 Do not use `tramp-file-name-port', because this returns also
24715 `tramp-default-port'.
24717 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24719 * net/rcirc.el (rcirc-handler-001): Remove useless
24720 with-rcirc-process-buffer.
24721 (rcirc-check-auth-status): Swap arguments to string-match.
24723 2011-03-09 Glenn Morris <rgm@gnu.org>
24725 * shell.el (shell-mode):
24726 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24728 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24729 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24731 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24733 * emacs-lisp/package.el (package-refresh-contents)
24734 (package-menu-execute): Use condition-case-no-debug.
24736 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24738 * simple.el (shell-command-to-string): Use `process-file'.
24740 * emacs-lisp/package.el (package-tar-file-info): Handle also
24743 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24744 Use `equal' for upload base check.
24746 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24748 * textmodes/texinfo.el (texinfo-environments):
24749 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24751 2011-03-08 Glenn Morris <rgm@gnu.org>
24753 * cus-start.el (cursor-in-non-selected-windows):
24754 Fix :set quoting oddness. (Bug#8192)
24756 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24757 in some setf expressions. (Bug#2159)
24759 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24761 * custom.el (custom-available-themes): Return themes in
24762 alphabetical order.
24764 See ChangeLog.15 for earlier changes.
24766 ;; Local Variables:
24770 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24772 This file is part of GNU Emacs.
24774 GNU Emacs is free software: you can redistribute it and/or modify
24775 it under the terms of the GNU General Public License as published by
24776 the Free Software Foundation, either version 3 of the License, or
24777 (at your option) any later version.
24779 GNU Emacs is distributed in the hope that it will be useful,
24780 but WITHOUT ANY WARRANTY; without even the implied warranty of
24781 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24782 GNU General Public License for more details.
24784 You should have received a copy of the GNU General Public License
24785 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.